Hi all
These days I setup a autotest server for test.
And I face a problem, maybe a bug.
for example , I create a new job like sleeptest.
it runs OK, so does other tests except KVM.
When I create a job of KVM test.
in Client side it will raise a error like :
/usr/local/autotest/tests/kvm/build.cfg No such
file or dir.
it is because in control file of KVM, there is a line:
kvm_test_dir = os.path.join(os.environ['AUTODIR'],'tests/kvm')
this will cause two problems :
1. the dir in client has changed , mostly in
os.environ['AUTODIR'],'tmp/site_tests/kvm'
2. the file build.cfg/tests.cfg, has not been fetched from the server.
but client has parsed the control file and can't find these files.
So it will cause failure when run the test case.
I will attach the log file, and need any one to fix it :)
09/18 11:19:48 INFO | autoserv:0207| Results placed in
/usr/local/autotest/results/33-debug_user/9.115.251.166
09/18 11:19:48 DEBUG| base_job:0349| Persistent state global_properties.tag
now set to '33-debug_user/9.115.251.166'
09/18 11:19:48 DEBUG| base_job:0349| Persistent state
global_properties.last_boot_tag now set to None
09/18 11:19:48 INFO |server_job:0534| Processing control file
09/18 11:19:48 DEBUG|base_utils:0077| Running
'/usr/local/autotest/conmux/conmux-attach 9.115.251.166 echo 2> /dev/null'
09/18 11:19:49 DEBUG| ssh_host:0114| Running (ssh) 'ls /var/log/kern.log'
09/18 11:19:49 INFO |abstract_s:0616| Starting master ssh connection
'/usr/bin/ssh -a -x -N -o ControlMaster=yes -o
ControlPath=/tmp/_autotmp_foPkRbssh-master/socket -o StrictHostKeyChecking=no
-o UserKnownHostsFile=/tmp/tmpJLjRNt -o BatchMode=yes -o ConnectTimeout=30 -o
ServerAliveInterval=300 -l root -p 22 9.115.251.166'
09/18 11:19:49 DEBUG|base_utils:0077| Running '/usr/bin/ssh -a -x -N -o
ControlMaster=yes -o ControlPath=/tmp/_autotmp_foPkRbssh-master/socket -o
StrictHostKeyChecking=no -o UserKnownHostsFile=/tmp/tmpJLjRNt -o BatchMode=yes
-o ConnectTimeout=30 -o ServerAliveInterval=300 -l root -p 22 9.115.251.166'
09/18 11:19:51 DEBUG|base_utils:0114| [stderr] ls: cannot access
/var/log/kern.log: No such file or directory
09/18 11:19:51 WARNI|logfile_mo:0227| Target 9.115.251.166 is missing expected
remote paths: /var/log/kern.log
09/18 11:19:51 DEBUG| ssh_host:0114| Running (ssh) 'test -f /var/log/messages'
09/18 11:19:51 DEBUG| remote:0185| Found remote path /var/log/messages
09/18 11:19:51 DEBUG| ssh_host:0114| Running (ssh) 'rm -f
/var/tmp/messages.autotest_start'
09/18 11:19:51 DEBUG| ssh_host:0114| Running (ssh) 'cp /var/log/messages
/var/tmp/messages.autotest_start'
09/18 11:19:51 DEBUG| ssh_host:0114| Running (ssh) '/bin/uname -r'
09/18 11:19:51 DEBUG|base_utils:0114| [stdout] 3.4.10+
09/18 11:19:51 INFO |server_job:0117| INFO ---- ---- kernel=3.4.10+
localtime=Sep 18 11:19:51 timestamp=1347967191
09/18 11:19:51 DEBUG|base_utils:0077| Running 'tools/make_clean'
09/18 11:19:52 DEBUG|base_utils:0114| [stdout] Cleaning tracing_microbenchmark
test dir
09/18 11:19:52 DEBUG|base_utils:0114| [stdout] Cleaning monotonic_time test dir
09/18 11:19:52 DEBUG|base_utils:0114| [stdout] Cleaning signaltest test dir
09/18 11:19:52 DEBUG|base_utils:0114| [stdout] Cleaning rtc test dir
09/18 11:19:52 DEBUG|base_utils:0114| [stdout] Cleaning cyclictest test dir
09/18 11:19:52 DEBUG|base_utils:0114| [stdout] Cleaning tsc test dir
09/18 11:19:52 DEBUG|base_utils:0114| [stdout] Cleaning hackbench test dir
09/18 11:19:52 DEBUG|base_utils:0114| [stdout] Cleaning ipv6connect test dir
09/18 11:19:52 DEBUG|base_utils:0114| [stdout] Cleaning iosched_bugs test dir
09/18 11:19:52 DEBUG|base_utils:0114| [stdout] Cleaning synctest test dir
09/18 11:19:52 DEBUG|base_utils:0114| [stdout] Cleaning disktest test dir
09/18 11:19:52 DEBUG|base_utils:0114| [stdout] Cleaning aio_dio_bugs test dir
09/18 11:19:52 DEBUG|base_utils:0114| [stdout] Cleaning rmaptest test dir
09/18 11:19:52 DEBUG| ssh_host:0114| Running (ssh) 'true'
09/18 11:19:53 DEBUG|abstract_s:0456| Host 9.115.251.166 is now up
09/18 11:19:53 INFO |autotest_r:0224| Installing autotest on 9.115.251.166
09/18 11:19:53 DEBUG| ssh_host:0114| Running (ssh) 'test -x
/usr/local/autotest/autotest'
09/18 11:19:53 DEBUG| ssh_host:0114| Running (ssh) 'test -w
/usr/local/autotest'
09/18 11:19:53 DEBUG|autotest_r:0073| Found existing autodir at
/usr/local/autotest
09/18 11:19:53 INFO |autotest_r:0229| Using installation dir /usr/local/autotest
09/18 11:19:53 DEBUG| ssh_host:0114| Running (ssh) 'mkdir -p
/usr/local/autotest'
09/18 11:19:53 DEBUG| ssh_host:0114| Running (ssh) 'rm -rf
/usr/local/autotest/results/*'
09/18 11:19:53 INFO |autotest_r:0249| Could not install autotest using the
packaging system: No repos to install an autotest client from. Trying other
methods
09/18 11:19:53 DEBUG| ssh_host:0114| Running (ssh) 'rsync --version'
09/18 11:19:53 DEBUG|base_utils:0077| Running 'rsync -L --delete --timeout=1800
--rsh='/usr/bin/ssh -a -x -o ControlPath=/tmp/_autotmp_foPkRbssh-master/socket
-o StrictHostKeyChecking=no -o UserKnownHostsFile=/tmp/tmpJLjRNt -o
BatchMode=yes -o ConnectTimeout=30 -o ServerAliveInterval=300 -l root -p 22'
-az /usr/local/autotest/client/optparser.py
/usr/local/autotest/client/config.py /usr/local/autotest/client/autotest
/usr/local/autotest/client/base_utils.py /usr/local/autotest/client/os_dep.pyc
/usr/local/autotest/client/harness_ABAT.py
/usr/local/autotest/client/setup_job_unittest.py
/usr/local/autotest/client/autotest-local
/usr/local/autotest/client/harness_autoserv.py
/usr/local/autotest/client/xen.py /usr/local/autotest/client/common.pyc
/usr/local/autotest/client/local_host_unittest.py
/usr/local/autotest/client/__init__.py /usr/local/autotest/client/fsdev_mgr.py
/usr/local/autotest/client/kernel.pyc /usr/local/autotest/client/package.py
/usr/local/autotest/client/profiler.pyc
/usr/local/autotest/client/kernelexpand.py /usr/local/autotest/client/common.py
/usr/local/autotest/client/partition.pyc /usr/local/autotest/client/config.pyc
/usr/local/autotest/client/os_dep.py /usr/local/autotest/client/local_host.pyc
/usr/local/autotest/client/job_unittest.py
/usr/local/autotest/client/local_host.py
/usr/local/autotest/client/test_config.py /usr/local/autotest/client/virt
/usr/local/autotest/client/kernel_versions_unittest.py
/usr/local/autotest/client/sysinfo.pyc
/usr/local/autotest/client/harness_standalone.py
/usr/local/autotest/client/partition_unittest.py
/usr/local/autotest/client/setup.py /usr/local/autotest/client/harness.py
/usr/local/autotest/client/setup_modules_unittest.py
/usr/local/autotest/client/base_sysinfo.pyc
/usr/local/autotest/client/setup_job.pyc
/usr/local/autotest/client/kernel_config.pyc
/usr/local/autotest/client/kernelexpand_unittest.py
/usr/local/autotest/client/job.pyc /usr/local/autotest/client/profiler.py
/usr/local/autotest/client/optparser.pyc
/usr/local/autotest/client/partition.py /usr/local/autotest/client/test.pyc
/usr/local/autotest/client/sysinfo.py /usr/local/autotest/client/job.py
/usr/local/autotest/client/setup_modules.pyc
/usr/local/autotest/client/fsdev_disks.py /usr/local/autotest/client/xen.pyc
/usr/local/autotest/client/parallel.py /usr/local/autotest/client/tmp
/usr/local/autotest/client/net /usr/local/autotest/client/kvm_control.py
/usr/local/autotest/client/kernel_config.py
/usr/local/autotest/client/base_utils.pyc
/usr/local/autotest/client/kvm_control.pyc
/usr/local/autotest/client/autotest_client /usr/local/autotest/client/utils.pyc
/usr/local/autotest/client/harness_unittest.py /usr/local/autotest/client/TODO
/usr/local/autotest/client/shared /usr/local/autotest/client/autotestd
/usr/local/autotest/client/fsinfo.py /usr/local/autotest/client/results
/usr/local/autotest/client/harness.pyc
/usr/local/autotest/client/package_unittest.py
/usr/local/autotest/client/kernel_unittest.py
/usr/local/autotest/client/fsinfo_unittest.py
/usr/local/autotest/client/client_logging_config.py
/usr/local/autotest/client/fsdev_disks_unittest.py
/usr/local/autotest/client/tools /usr/local/autotest/client/kernel.py
/usr/local/autotest/client/samples /usr/local/autotest/client/setup_modules.py
/usr/local/autotest/client/kernelexpand.pyc
/usr/local/autotest/client/autotest_local.py
/usr/local/autotest/client/harness_simple.py
/usr/local/autotest/client/__init__.pyc /usr/local/autotest/client/cmdparser.py
/usr/local/autotest/client/autotestd_monitor
/usr/local/autotest/client/base_sysinfo.py /usr/local/autotest/client/cpuset.py
/usr/local/autotest/client/utils.py
/usr/local/autotest/client/harness_standalone.pyc
/usr/local/autotest/client/cmdparser.pyc /usr/local/autotest/client/config
/usr/local/autotest/client/kernel_versions.py
/usr/local/autotest/client/LICENSE /usr/local/autotest/client/setup_job.py
/usr/local/autotest/client/client_logging_config.pyc
/usr/local/autotest/client/test.py
/usr/local/autotest/client/autotest_local.pyc
/usr/local/autotest/client/parallel.pyc
/usr/local/autotest/client/deps/grubby/grubby-8.15.tar.bz2
[email protected]:"/usr/local/autotest"'
09/18 11:19:53 DEBUG| ssh_host:0114| Running (ssh) 'mkdir -p
/usr/local/autotest/profilers'
09/18 11:19:53 DEBUG|base_utils:0077| Running 'rsync -L --delete --timeout=1800
--rsh='/usr/bin/ssh -a -x -o ControlPath=/tmp/_autotmp_foPkRbssh-master/socket
-o StrictHostKeyChecking=no -o UserKnownHostsFile=/tmp/tmpJLjRNt -o
BatchMode=yes -o ConnectTimeout=30 -o ServerAliveInterval=300 -l root -p 22'
-az /usr/local/autotest/client/profilers/__init__.py
[email protected]:"/usr/local/autotest/profilers"'
09/18 11:19:53 DEBUG| ssh_host:0114| Running (ssh) 'mkdir -p
'/usr/local/autotest/site_tests';touch
'/usr/local/autotest/site_tests'/__init__.py;mkdir -p
'/usr/local/autotest/tests';touch '/usr/local/autotest/tests'/__init__.py;mkdir
-p '/usr/local/autotest/deps';touch '/usr/local/autotest/deps'/__init__.py'
09/18 11:19:53 DEBUG| ssh_host:0114| Running (ssh) 'mkdir -p
/usr/local/autotest/tmp'
09/18 11:19:53 INFO |autotest_r:0262| Installation of autotest completed
09/18 11:19:53 DEBUG| ssh_host:0114| Running (ssh) 'true'
09/18 11:19:53 DEBUG|abstract_s:0456| Host 9.115.251.166 is now up
09/18 11:19:53 DEBUG|autotest_r:0065| Using existing host autodir:
/usr/local/autotest
09/18 11:19:53 DEBUG| ssh_host:0114| Running (ssh) 'ls
/usr/local/autotest/autotest > /dev/null 2>&1'
09/18 11:19:53 DEBUG| ssh_host:0114| Running (ssh) 'umount
/usr/local/autotest/tmp'
09/18 11:19:53 DEBUG|base_utils:0114| [stderr] umount: /usr/local/autotest/tmp:
not mounted
09/18 11:19:53 DEBUG| ssh_host:0114| Running (ssh) 'umount
/usr/local/autotest/tests/download'
09/18 11:19:53 DEBUG|base_utils:0114| [stderr] umount:
/usr/local/autotest/tests/download: not found
09/18 11:19:53 DEBUG| ssh_host:0114| Running (ssh) 'ls
/usr/local/autotest/autotest > /dev/null 2>&1'
09/18 11:19:53 DEBUG| ssh_host:0114| Running (ssh) 'umount
/usr/local/autotest/tmp'
09/18 11:19:54 DEBUG|base_utils:0114| [stderr] umount: /usr/local/autotest/tmp:
not mounted
09/18 11:19:54 DEBUG| ssh_host:0114| Running (ssh) 'umount
/usr/local/autotest/tests/download'
09/18 11:19:54 DEBUG|base_utils:0114| [stderr] umount:
/usr/local/autotest/tests/download: not found
09/18 11:19:54 DEBUG| ssh_host:0114| Running (ssh) 'rm -f
/usr/local/autotest/control.autoserv;rm -f
/usr/local/autotest/tmp/control.autoserv.state;rm -f
/usr/local/autotest/control;rm -f /usr/local/autotest/tmp/control.state'
09/18 11:19:54 DEBUG| base_job:0349| Persistent state client.sysinfo now set
to {'test': set([sysinfo.command('dmesg -c', 'dmesg', False),
sysinfo.command('df -mP', 'df', False)]), 'boot': set([sysinfo.command('gcc
--version', 'gcc_--version', False), sysinfo.command('ld --version',
'ld_--version', False), sysinfo.logfile('/proc/partitions', 'partitions',
False), sysinfo.logfile('/proc/interrupts', 'interrupts', False),
sysinfo.command('hostname', 'hostname', False), sysinfo.command('mount',
'mount', False), sysinfo.logfile('/proc/cmdline', 'cmdline', True),
sysinfo.logfile('/proc/version', 'version', False), sysinfo.command('lspci
-vvn', 'lspci_-vvn', False), sysinfo.logfile('/proc/slabinfo', 'slabinfo',
False), sysinfo.logfile('/proc/modules', 'modules', False),
sysinfo.logfile('/proc/mounts', 'proc_mounts', False),
sysinfo.logfile('/proc/cpuinfo', 'cpuinfo', False), sysinfo.command('uptime',
'uptime', False), sysinfo.logfile('/proc/pci', 'pci', False),
sysinfo.logfile('/proc/meminfo', 'meminfo', False), sysinfo.command('uname -a',
'uname', True)])}
09/18 11:19:54 DEBUG|base_utils:0077| Running 'rsync -L --timeout=1800
--rsh='/usr/bin/ssh -a -x -o ControlPath=/tmp/_autotmp_foPkRbssh-master/socket
-o StrictHostKeyChecking=no -o UserKnownHostsFile=/tmp/tmpJLjRNt -o
BatchMode=yes -o ConnectTimeout=30 -o ServerAliveInterval=300 -l root -p 22'
-az /usr/local/autotest/tmp/tmp/tmpYTRG9o
[email protected]:"/usr/local/autotest/tmp/control.autoserv.init.state"'
09/18 11:19:54 DEBUG|base_utils:0077| Running 'rsync -L --timeout=1800
--rsh='/usr/bin/ssh -a -x -o ControlPath=/tmp/_autotmp_foPkRbssh-master/socket
-o StrictHostKeyChecking=no -o UserKnownHostsFile=/tmp/tmpJLjRNt -o
BatchMode=yes -o ConnectTimeout=30 -o ServerAliveInterval=300 -l root -p 22'
-az /tmp/autoserv-Ml33lH/tmp2rIX7U
[email protected]:"/usr/local/autotest/control.autoserv"'
09/18 11:19:54 DEBUG| ssh_host:0114| Running (ssh) 'if [ -f
'/proc/sys/kernel/random/boot_id' ]; then cat
'/proc/sys/kernel/random/boot_id'; else echo 'no boot_id available'; fi'
09/18 11:19:54 DEBUG|base_utils:0114| [stdout]
561c6d65-f13f-4894-a2f5-d9c10dfa102a
09/18 11:19:54 INFO |autotest_r:0707| Executing /usr/local/autotest/autotest
/usr/local/autotest/control phase 0
09/18 11:19:54 DEBUG| ssh_host:0114| Running (ssh) 'mkdir -p /tmp'
09/18 11:19:54 DEBUG| ssh_host:0114| Running (ssh) 'mktemp -d
/tmp/autoserv-XXXXXX'
09/18 11:19:54 DEBUG|base_utils:0114| [stdout] /tmp/autoserv-U50CY2
09/18 11:19:54 DEBUG|base_utils:0077| Running 'rsync -L --timeout=1800
--rsh='/usr/bin/ssh -a -x -o ControlPath=/tmp/_autotmp_foPkRbssh-master/socket
-o StrictHostKeyChecking=no -o UserKnownHostsFile=/tmp/tmpJLjRNt -o
BatchMode=yes -o ConnectTimeout=30 -o ServerAliveInterval=300 -l root -p 22'
-az /usr/local/autotest/tmp/tmp/tmpg_XrL5
[email protected]:"/usr/local/autotest/global_config.ini"'
09/18 11:19:54 DEBUG| ssh_host:0114| Running (ssh) 'nohup
/usr/local/autotest/autotestd /tmp/autoserv-U50CY2 -H autoserv --verbose
--hostname=9.115.251.166 --user=debug_user /usr/local/autotest/control.autoserv
>/dev/null 2>/dev/null &'
09/18 11:19:54 DEBUG| ssh_host:0114| Running (ssh)
'/usr/local/autotest/autotestd_monitor /tmp/autoserv-U50CY2 0 0'
09/18 11:19:55 INFO |server_job:0117| START ---- ----
timestamp=1347938380 localtime=Sep 18 03:19:40
09/18 11:19:55 DEBUG| ssh_host:0114| Running (ssh) 'echo B >
/usr/local/autotest/tmp/tmp/_autotmp_09NvsMharness-fifo/autoserv.fifo'
09/18 11:19:55 INFO |server_job:0117| END ABORT ---- ----
timestamp=1347938381 localtime=Sep 18 03:19:41 Unhandled IOError:
[Errno 2] No such file or directory: '/usr/local/autotest/tests/kvm/build.cfg'
09/18 11:19:57 DEBUG| ssh_host:0114| Running (ssh) 'true'
09/18 11:19:57 DEBUG|abstract_s:0456| Host 9.115.251.166 is now up
09/18 11:19:57 DEBUG|base_utils:0077| Running 'rsync --timeout=1800
--rsh='/usr/bin/ssh -a -x -o ControlPath=/tmp/_autotmp_foPkRbssh-master/socket
-o StrictHostKeyChecking=no -o UserKnownHostsFile=/tmp/tmpJLjRNt -o
BatchMode=yes -o ConnectTimeout=30 -o ServerAliveInterval=300 -l root -p 22'
-az [email protected]:"/usr/local/autotest/results/default/"
/usr/local/autotest/results/33-debug_user/9.115.251.166'
09/18 11:19:57 DEBUG| base_job:0245| Importing client.steps from state file
/usr/local/autotest/results/33-debug_user/9.115.251.166/control.autoserv.state
09/18 11:19:57 DEBUG| base_job:0245| Importing client.harness from state file
/usr/local/autotest/results/33-debug_user/9.115.251.166/control.autoserv.state
09/18 11:19:57 DEBUG| base_job:0242| Value of client.sysinfo is unchanged,
skipping import
09/18 11:19:57 DEBUG| base_job:0245| Importing client._record_indent from
state file
/usr/local/autotest/results/33-debug_user/9.115.251.166/control.autoserv.state
09/18 11:19:57 DEBUG| base_job:0242| Value of global_properties.tag is
unchanged, skipping import
09/18 11:19:57 DEBUG| base_job:0242| Value of global_properties.last_boot_tag
is unchanged, skipping import
09/18 11:19:57 DEBUG| base_job:0391| Persistent state client.* deleted
09/18 11:19:57 ERROR|server_job:0543| Exception escaped control file, job
aborting:
Traceback (most recent call last):
File "/usr/local/autotest/server/server_job.py", line 535, in run
self._execute_code(server_control_file, namespace)
File "/usr/local/autotest/server/server_job.py", line 1018, in _execute_code
execfile(code_file, namespace, namespace)
File "/usr/local/autotest/results/33-debug_user/9.115.251.166/control.srv",
line 10, in <module>
job.parallel_simple(run_client, machines)
File "/usr/local/autotest/server/server_job.py", line 437, in parallel_simple
return_results=return_results)
File "/usr/local/autotest/server/subcommand.py", line 92, in parallel_simple
function(arg)
File "/usr/local/autotest/results/33-debug_user/9.115.251.166/control.srv",
line 7, in run_client
at.run(control, host=host)
File "/usr/local/autotest/server/autotest_remote.py", line 343, in run
client_disconnect_timeout)
File "/usr/local/autotest/server/autotest_remote.py", line 424, in _do_run
client_disconnect_timeout=client_disconnect_timeout)
File "/usr/local/autotest/server/autotest_remote.py", line 787, in
execute_control
logger, client_disconnect_timeout)
File "/usr/local/autotest/server/autotest_remote.py", line 732, in
execute_section
raise err
AutotestRunError: client job was aborted
09/18 11:19:57 INFO |server_job:0117| INFO ---- ----
timestamp=1347967197 job_abort_reason=client job was aborted localtime=Sep
18 11:19:57 client job was aborted
09/18 11:19:57 INFO |crashcolle:0021| Collecting crash information...
09/18 11:19:57 DEBUG| ssh_host:0114| Running (ssh) 'true'
09/18 11:19:57 INFO |abstract_s:0616| Starting master ssh connection
'/usr/bin/ssh -a -x -N -o ControlMaster=yes -o
ControlPath=/tmp/_autotmp_E7Q_UTssh-master/socket -o StrictHostKeyChecking=no
-o UserKnownHostsFile=/tmp/tmp5M3QKS -o BatchMode=yes -o ConnectTimeout=30 -o
ServerAliveInterval=300 -l root -p 22 9.115.251.166'
09/18 11:19:57 DEBUG|base_utils:0077| Running '/usr/bin/ssh -a -x -N -o
ControlMaster=yes -o ControlPath=/tmp/_autotmp_E7Q_UTssh-master/socket -o
StrictHostKeyChecking=no -o UserKnownHostsFile=/tmp/tmp5M3QKS -o BatchMode=yes
-o ConnectTimeout=30 -o ServerAliveInterval=300 -l root -p 22 9.115.251.166'
09/18 11:20:02 INFO |crashcolle:0052| 9.115.251.166 already up, collecting
crash info
09/18 11:20:02 INFO |crashcolle:0099| Collecting
/var/tmp/messages.autotest_start...
09/18 11:20:02 DEBUG| ssh_host:0114| Running (ssh) 'rsync --version'
09/18 11:20:02 DEBUG|base_utils:0077| Running 'rsync -L --timeout=1800
--rsh='/usr/bin/ssh -a -x -o ControlPath=/tmp/_autotmp_E7Q_UTssh-master/socket
-o StrictHostKeyChecking=no -o UserKnownHostsFile=/tmp/tmp5M3QKS -o
BatchMode=yes -o ConnectTimeout=30 -o ServerAliveInterval=300 -l root -p 22'
-az [email protected]:"/var/tmp/messages.autotest_start"
/usr/local/autotest/results/33-debug_user/9.115.251.166/crashinfo.9.115.251.166/messages.at_start'
09/18 11:20:02 INFO |crashcolle:0099| Collecting /var/log/messages...
09/18 11:20:02 DEBUG|base_utils:0077| Running 'rsync -L --timeout=1800
--rsh='/usr/bin/ssh -a -x -o ControlPath=/tmp/_autotmp_E7Q_UTssh-master/socket
-o StrictHostKeyChecking=no -o UserKnownHostsFile=/tmp/tmp5M3QKS -o
BatchMode=yes -o ConnectTimeout=30 -o ServerAliveInterval=300 -l root -p 22'
-az [email protected]:"/var/log/messages"
/usr/local/autotest/results/33-debug_user/9.115.251.166/crashinfo.9.115.251.166/messages.raw'
09/18 11:20:02 INFO |crashcolle:0099| Collecting /var/log/monitor-ssh-reboots...
09/18 11:20:02 DEBUG|base_utils:0077| Running 'rsync -L --timeout=1800
--rsh='/usr/bin/ssh -a -x -o ControlPath=/tmp/_autotmp_E7Q_UTssh-master/socket
-o StrictHostKeyChecking=no -o UserKnownHostsFile=/tmp/tmp5M3QKS -o
BatchMode=yes -o ConnectTimeout=30 -o ServerAliveInterval=300 -l root -p 22'
-az [email protected]:"/var/log/monitor-ssh-reboots"
/usr/local/autotest/results/33-debug_user/9.115.251.166/crashinfo.9.115.251.166'
09/18 11:20:03 WARNI|abstract_s:0286| trying scp, rsync failed: Command <rsync
-L --timeout=1800 --rsh='/usr/bin/ssh -a -x -o
ControlPath=/tmp/_autotmp_E7Q_UTssh-master/socket -o StrictHostKeyChecking=no
-o UserKnownHostsFile=/tmp/tmp5M3QKS -o BatchMode=yes -o ConnectTimeout=30 -o
ServerAliveInterval=300 -l root -p 22' -az
[email protected]:"/var/log/monitor-ssh-reboots"
/usr/local/autotest/results/33-debug_user/9.115.251.166/crashinfo.9.115.251.166>
failed, rc=23, Command returned non-zero exit status
* Command:
rsync -L --timeout=1800 --rsh='/usr/bin/ssh -a -x -o ControlPath=/tmp
/_autotmp_E7Q_UTssh-master/socket -o StrictHostKeyChecking=no -o
UserKnownHostsFile=/tmp/tmp5M3QKS -o BatchMode=yes -o ConnectTimeout=30 -o
ServerAliveInterval=300 -l root -p 22' -az [email protected]:"/var/log
/monitor-ssh-reboots" /usr/local/autotest/results/33-debug_user/9.115.251.
166/crashinfo.9.115.251.166
Exit status: 23
Duration: 0.13586306572
stderr:
rsync: link_stat "/var/log/monitor-ssh-reboots" failed: No such file or
directory (2)
rsync error: some files/attrs were not transferred (see previous errors) (code
23) at main.c(1518) [Receiver=3.0.8]
09/18 11:20:03 DEBUG|base_utils:0077| Running 'scp -rq -o
ControlPath=/tmp/_autotmp_E7Q_UTssh-master/socket -o StrictHostKeyChecking=no
-o UserKnownHostsFile=/tmp/tmp5M3QKS -P 22
[email protected]:"/var/log/monitor-ssh-reboots"
'/usr/local/autotest/results/33-debug_user/9.115.251.166/crashinfo.9.115.251.166''
09/18 11:20:03 WARNI|crashcolle:0103| Collection of
/var/log/monitor-ssh-reboots failed
09/18 11:20:03 INFO |crashcolle:0119| Collecting 'dmesg' ...
09/18 11:20:03 DEBUG| ssh_host:0114| Running (ssh) 'dmesg'
09/18 11:20:03 DEBUG| ssh_host:0114| Running (ssh) 'rm -rf
"/tmp/autoserv-U50CY2"'
09/18 11:20:05 ERROR| traceback:0013| Traceback (most recent call last):
09/18 11:20:05 ERROR| traceback:0013| File
"/usr/local/autotest/server/autoserv.py", line 147, in run_autoserv
09/18 11:20:05 ERROR| traceback:0013|
only_collect_crashinfo=collect_crashinfo)
09/18 11:20:05 ERROR| traceback:0013| File
"/usr/local/autotest/server/server_job.py", line 535, in run
09/18 11:20:05 ERROR| traceback:0013|
self._execute_code(server_control_file, namespace)
09/18 11:20:05 ERROR| traceback:0013| File
"/usr/local/autotest/server/server_job.py", line 1018, in _execute_code
09/18 11:20:05 ERROR| traceback:0013| execfile(code_file, namespace,
namespace)
09/18 11:20:05 ERROR| traceback:0013| File
"/usr/local/autotest/results/33-debug_user/9.115.251.166/control.srv", line 10,
in <module>
09/18 11:20:05 ERROR| traceback:0013| job.parallel_simple(run_client,
machines)
09/18 11:20:05 ERROR| traceback:0013| File
"/usr/local/autotest/server/server_job.py", line 437, in parallel_simple
09/18 11:20:05 ERROR| traceback:0013| return_results=return_results)
09/18 11:20:05 ERROR| traceback:0013| File
"/usr/local/autotest/server/subcommand.py", line 92, in parallel_simple
09/18 11:20:05 ERROR| traceback:0013| function(arg)
09/18 11:20:05 ERROR| traceback:0013| File
"/usr/local/autotest/results/33-debug_user/9.115.251.166/control.srv", line 7,
in run_client
09/18 11:20:05 ERROR| traceback:0013| at.run(control, host=host)
09/18 11:20:05 ERROR| traceback:0013| File
"/usr/local/autotest/server/autotest_remote.py", line 343, in run
09/18 11:20:05 ERROR| traceback:0013| client_disconnect_timeout)
09/18 11:20:05 ERROR| traceback:0013| File
"/usr/local/autotest/server/autotest_remote.py", line 424, in _do_run
09/18 11:20:05 ERROR| traceback:0013|
client_disconnect_timeout=client_disconnect_timeout)
09/18 11:20:05 ERROR| traceback:0013| File
"/usr/local/autotest/server/autotest_remote.py", line 787, in execute_control
09/18 11:20:05 ERROR| traceback:0013| logger, client_disconnect_timeout)
09/18 11:20:05 ERROR| traceback:0013| File
"/usr/local/autotest/server/autotest_remote.py", line 732, in execute_section
09/18 11:20:05 ERROR| traceback:0013| raise err
09/18 11:20:05 ERROR| traceback:0013| AutotestRunError: client job was aborted
09/18 11:20:32 INFO | autoserv:0207| Results placed in
/usr/local/autotest/results/33-debug_user/9.115.251.166
09/18 11:20:32 DEBUG| base_job:0349| Persistent state global_properties.tag
now set to ''
09/18 11:20:32 DEBUG| base_job:0349| Persistent state
global_properties.last_boot_tag now set to None
09/18 11:20:32 INFO |server_job:0534| Processing control file
09/18 11:20:32 INFO |server_job:0536| Finished processing control file
09/18 11:19:40 INFO | job:0183| Writing results to
/usr/local/autotest/results/default
09/18 11:19:40 DEBUG| base_job:0245| Importing client.sysinfo from state file
/usr/local/autotest/tmp/control.autoserv.state
09/18 11:19:40 DEBUG| base_job:0245| Importing global_properties.tag from
state file /usr/local/autotest/tmp/control.autoserv.state
09/18 11:19:40 DEBUG| base_job:0245| Importing global_properties.last_boot_tag
from state file /usr/local/autotest/tmp/control.autoserv.state
09/18 11:19:40 DEBUG| job:1012| Initializing the state engine
09/18 11:19:40 DEBUG| base_job:0349| Persistent state client.steps now set to
[]
09/18 11:19:40 DEBUG| base_job:0349| Persistent state client.harness now set
to 'autoserv'
09/18 11:19:40 DEBUG| job:1035| Persistent option harness now set to
autoserv
09/18 11:19:40 DEBUG| job:1035| Persistent option harness_args now set to
None
09/18 11:19:40 DEBUG| harness:0093| Selected harness: autoserv
09/18 11:19:40 INFO | job:0210| START ---- ----
timestamp=1347938380 localtime=Sep 18 11:19:40
09/18 11:19:40 DEBUG| base_job:0349| Persistent state client._record_indent
now set to 1
09/18 11:19:40 DEBUG|base_utils:0077| Running 'ls /usr/local/autotest'
09/18 11:19:40 DEBUG|base_utils:0077| Running 'ls
/usr/local/autotest/packages.checksum'
09/18 11:19:40 INFO |harness_au:0105| Fetching packages.checksum from autoserv
to /usr/local/autotest/packages.checksum
09/18 11:19:40 DEBUG|base_packa:0700| packages.checksum could not be fetched
from autoserv://
09/18 11:19:40 ERROR|base_packa:0705| packages.checksum could not be fetched
from any of the repos ['autoserv://']
09/18 11:19:40 DEBUG| base_job:0349| Persistent state client.steps now set to
[([], 'step_init', (), {})]
09/18 11:19:40 DEBUG| base_job:0349| Persistent state client.steps now set to
[]
09/18 11:19:40 DEBUG| base_job:0349| Persistent state client.steps now set to
[([], 'step0', (), {})]
09/18 11:19:41 DEBUG| base_job:0349| Persistent state client.steps now set to
[]
09/18 11:19:41 ERROR| job:1341| JOB ERROR: Unhandled IOError: [Errno 2]
No such file or directory: '/usr/local/autotest/tests/kvm/build.cfg'
Traceback (most recent call last):
File "/usr/local/autotest/job.py", line 1092, in _run_step_fn
exec('__ret = %s(*__args, **__dargs)' % fn, local_vars, local_vars)
File "<string>", line 1, in <module>
File "/usr/local/autotest/control.autoserv", line 44, in step0
parser.parse_file(os.path.join(kvm_test_dir, "build.cfg"))
File "/usr/local/autotest/shared/cartesian_config.py", line 228, in parse_file
self.node = self._parse(FileReader(filename), self.node)
File "/usr/local/autotest/shared/cartesian_config.py", line 680, in __init__
StrReader.__init__(self, open(filename).read())
IOError: [Errno 2] No such file or directory:
'/usr/local/autotest/tests/kvm/build.cfg'
09/18 11:19:41 INFO | job:0210| END ABORT ---- ----
timestamp=1347938381 localtime=Sep 18 11:19:41 Unhandled IOError:
[Errno 2] No such file or directory: '/usr/local/autotest/tests/kvm/build.cfg'
Traceback (most recent call last):
File "/usr/local/autotest/job.py", line 1092, in _run_step_fn
exec('__ret = %s(*__args, **__dargs)' % fn, local_vars, local_vars)
File "<string>", line 1, in <module>
File "/usr/local/autotest/control.autoserv", line 44, in step0
parser.parse_file(os.path.join(kvm_test_dir, "build.cfg"))
File "/usr/local/autotest/shared/cartesian_config.py", line 228, in
parse_file
self.node = self._parse(FileReader(filename), self.node)
File "/usr/local/autotest/shared/cartesian_config.py", line 680, in __init__
StrReader.__init__(self, open(filename).read())
IOError: [Errno 2] No such file or directory:
'/usr/local/autotest/tests/kvm/build.cfg'
09/18 11:19:41 DEBUG| base_job:0349| Persistent state client._record_indent
now set to 0
_______________________________________________
Autotest-kernel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/autotest-kernel