On Tue, May 10, 2011 at 1:03 PM, Amos Kong <[email protected]> wrote:
> On Tue, May 10, 2011 at 12:51:54PM +0530, Samir Sahoo wrote:
> > Nitin,
> >
> > Please make sure that patch is installed on your system. As the test o/p
> shows,
> > your test has failed while doing patch. Please install patch and try
> again.
> >
> > You could install patch in the following way:
> > sudo apt-get install patch
> > or
> > sudo apt-get install build-essential
> >
> > Regards,
> > Samir
> >
> > On Tue, May 10, 2011 at 11:51 AM, Nitin Kshirsagar <[email protected]
> >
> > wrote:
>
> try the latest autotest code here: git://
> github.com/autotest/autotest
> ...
>
> > 11:41:58 INFO | Dependency libaio successfuly built
> > 11:41:58 DEBUG| Running 'patch -p1 < ../Makefile.patch'
> > 11:41:58 DEBUG| [stdout] patching file Makefile
> > 11:41:58 DEBUG| [stdout] Hunk #1 FAILED at 2.
> ^^^^
> > 11:41:58 DEBUG| [stdout] Hunk #2 FAILED at 28.
> ^^^^
> > 11:41:58 DEBUG| [stdout] 2 out of 2 hunks FAILED -- saving rejects to
> file
> > Makefile.rej
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> Hi Nitin, this is the output of 'patch' cmd.
>
Nitin>>Yes
>
> > 11:41:58 ERROR| Exception escaping from test:
> > Traceback (most recent call last):
> > File "/usr/local/autotest/common_lib/test.py", line 395, in _exec
> > *p_args, **p_dargs)
> > File "/usr/local/autotest/common_lib/base_utils.py", line 604, in
> > update_version
> > install(*args, **dargs)
> > File "/usr/local/autotest/tests/fio/fio.py", line 24, in setup
> > utils.system('patch -p1 < ../Makefile.patch')
> > File "/usr/local/autotest/common_lib/base_utils.py", line 897, in
> system
> > stdout_tee=TEE_TO_LOGS, stderr_tee=TEE_TO_LOGS).exit_status
> > File "/usr/local/autotest/common_lib/base_utils.py", line 658, in
> run
> > "Command returned non-zero exit status")
> > CmdError: Command <patch -p1 < ../Makefile.patch> failed, rc=1,
> Command
> > returned non-zero exit status
> > * Command:
> > patch -p1 < ../Makefile.patch
> > Exit status: 1
> > Duration: 0.0086510181427
> >
> > stdout:
> > patching file Makefile
> > Hunk #1 FAILED at 2.
> > Hunk #2 FAILED at 28.
> > 2 out of 2 hunks FAILED -- saving rejects to file Makefile.rej
> > 11:41:58 DEBUG| Logging subprocess finished
> > 11:41:58 DEBUG| Logging subprocess finished
> > 11:41:58 DEBUG| Running 'gzip -9
> "/usr/local/autotest/results/default/fio/
> > sysinfo/dmesg"'
> > 11:41:58 DEBUG| Running 'grep MemTotal /proc/meminfo'
> > 11:41:58 DEBUG| Running 'dpkg -l'
> > 11:41:58 ERROR| child process failed
> > 11:41:58 DEBUG| Traceback (most recent call last):
> > File "/usr/local/autotest/bin/parallel.py", line 18, in fork_start
> > l()
> > File "/usr/local/autotest/bin/job.py", line 522, in <lambda>
> > l = lambda : test.runtest(self, url, tag, args, dargs)
> > File "/usr/local/autotest/bin/test.py", line 115, in runtest
> > job.sysinfo.log_after_each_iteration)
> > File "/usr/local/autotest/common_lib/test.py", line 691, in runtest
> > mytest._exec(args, dargs)
> > File "/usr/local/autotest/common_lib/test.py", line 395, in _exec
> > *p_args, **p_dargs)
> > File "/usr/local/autotest/common_lib/base_utils.py", line 604, in
> > update_version
> > install(*args, **dargs)
> > File "/usr/local/autotest/tests/fio/fio.py", line 24, in setup
> > utils.system('patch -p1 < ../Makefile.patch')
> > File "/usr/local/autotest/common_lib/base_utils.py", line 897, in
> system
> > stdout_tee=TEE_TO_LOGS, stderr_tee=TEE_TO_LOGS).exit_status
> > File "/usr/local/autotest/common_lib/base_utils.py", line 658, in
> run
> > "Command returned non-zero exit status")
> > CmdError: Command <patch -p1 < ../Makefile.patch> failed, rc=1,
> Command
> > returned non-zero exit status
> > * Command:
> > patch -p1 < ../Makefile.patch
> > Exit status: 1
> > Duration: 0.0086510181427
> >
> > stdout:
> > patching file Makefile
> > Hunk #1 FAILED at 2.
> > Hunk #2 FAILED at 28.
> > 2 out of 2 hunks FAILED -- saving rejects to file Makefile.rej
> >
> > 11:41:58 INFO | ERROR fio fio
> timestamp=1305007918
> > localtime=May 10 11:41:58 Command <patch -p1 < ../Makefile.patch>
> > failed, rc=1, Command returned non-zero exit status
> > * Command:
> > patch -p1 < ../Makefile.patch
> > Exit status: 1
> > Duration: 0.0086510181427
> >
> > stdout:
> > patching file Makefile
> > Hunk #1 FAILED at 2.
> > Hunk #2 FAILED at 28.
> > 2 out of 2 hunks FAILED -- saving rejects to file Makefile.rej
> > 11:41:58 INFO | END ERROR fio fio
> timestamp=1305007918
> > localtime=May 10 11:41:58
> > 11:41:58 DEBUG| Persistent state client._record_indent now set to 1
> > 11:41:58 DEBUG| Persistent state client.unexpected_reboot deleted
> > 11:41:58 DEBUG| Dropping caches
> > 11:41:58 DEBUG| Running 'sync'
> > 11:41:58 DEBUG| Running 'echo 3 > /proc/sys/vm/drop_caches'
> > 11:41:58 INFO | END GOOD ---- ---- timestamp=1305007918
> > localtime=May 10 11:41:58
> > 11:41:58 DEBUG| Persistent state client._record_indent now set to 0
> > 11:41:58 DEBUG| Logging subprocess finished
> > 11:41:58 DEBUG| Logging subprocess finished
> >
> >
> > --
> > Thanks & Regards
> > Nitin Kshirsagar
> >
> >
> >
> > _______________________________________________
> > Autotest mailing list
> > [email protected]
> > http://test.kernel.org/cgi-bin/mailman/listinfo/autotest
> >
> >
> >
>
> > _______________________________________________
> > Autotest mailing list
> > [email protected]
> > http://test.kernel.org/cgi-bin/mailman/listinfo/autotest
>
> I am not able to get the latest code :
root@kqinfo-VirtualBox:/usr# git clone https://github.com/autotest/autotest
Initialized empty Git repository in /usr/autotest/.git/
error: Couldn't resolve host 'github.com' while accessing
https://github.com/autotest/autotest/info/refs
fatal: HTTP request failed
root@kqinfo-VirtualBox:/usr#
root@kqinfo-VirtualBox:/usr# git clone git://github.com/autotest/autotest
Initialized empty Git repository in /usr/autotest/.git/
fatal: Unable to look up github.com (port 9418) (Name or service not known)
root@kqinfo-VirtualBox:/usr# git clone git://
github.com/autotest/autotest.git
Initialized empty Git repository in /usr/autotest/.git/
fatal: Unable to look up github.com (port 9418) (Name or service not known)
root@kqinfo-VirtualBox:/usr#
--
Thanks & Regards
Nitin Kshirsagar
_______________________________________________
Autotest mailing list
[email protected]
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest