DEBUG: Executing python function do_testimage
DEBUG: Searching for tests in /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-mips-lsb/build/meta-yocto/lib/oeqa/runtime
DEBUG: Searching for tests in /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-mips-lsb/build/build/lib/oeqa/runtime
DEBUG: Searching for tests in /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-mips-lsb/build/meta/lib/oeqa/runtime
DEBUG: Searching for tests in /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-mips-lsb/build/meta-yocto-bsp/lib/oeqa/runtime
DEBUG: Searching for tests in /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-mips-lsb/build/meta-qt3/lib/oeqa/runtime
NOTE: rootfs file: /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-mips-lsb/build/build/tmp/work/qemumips-poky-linux/core-image-lsb/1.0-r0/testimage/core-image-lsb-qemumips-testimage.ext4
NOTE: Qemu log file: /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-mips-lsb/build/build/tmp/work/qemumips-poky-linux/core-image-lsb/1.0-r0/testimage/qemu_boot_log.20150821170637
NOTE: SSH log file: /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-mips-lsb/build/build/tmp/work/qemumips-poky-linux/core-image-lsb/1.0-r0/testimage/ssh_target_log.20150821170637
NOTE: Created listening socket for qemu serial console on: 127.0.0.1:52342
NOTE: Created listening socket for qemu serial console on: 127.0.0.1:57876
NOTE: runqemu started, pid is 21936
NOTE: waiting at most 60 seconds for qemu pid
NOTE: qemu started - qemu procces pid is 21999
NOTE: Target IP: 192.168.7.4
NOTE: Server IP: 192.168.7.3
NOTE: Starting logging thread
NOTE: Starting logging thread
NOTE: Starting thread event loop
NOTE: Connection request received
NOTE: Setting connection established event
NOTE: Waiting at most 1500 seconds for login banner
NOTE: Connection from 127.0.0.1:41419
NOTE: Reached login banner
NOTE: Logged as root in serial console
NOTE: Test modules ['oeqa.runtime.ping', 'oeqa.runtime.buildcvs', 'oeqa.runtime.buildiptables', 'oeqa.runtime.buildsudoku', 'oeqa.runtime.connman', 'oeqa.runtime.date', 'oeqa.runtime.df', 'oeqa.runtime.dmesg', 'oeqa.runtime.gcc', 'oeqa.runtime.kernelmodule', 'oeqa.runtime.ldd', 'oeqa.runtime.logrotate', 'oeqa.runtime.multilib', 'oeqa.runtime.pam', 'oeqa.runtime.parselogs', 'oeqa.runtime.perl', 'oeqa.runtime.python', 'oeqa.runtime.rpm', 'oeqa.runtime.scanelf', 'oeqa.runtime.scp', 'oeqa.runtime.skeletoninit', 'oeqa.runtime.smart', 'oeqa.runtime.ssh', 'oeqa.runtime.syslog', 'oeqa.runtime.systemd', 'oeqa.runtime.vnc', 'oeqa.runtime.x32lib', 'oeqa.runtime.xorg']
NOTE: Found 74 tests
test_ping (oeqa.runtime.ping.PingTest) ... ok
skipped "buildcvs: Image doesn't have tools-sdk in IMAGE_FEATURES"
skipped "buildiptables: Image doesn't have tools-sdk in IMAGE_FEATURES"
skipped "buildsudoku: Image doesn't have tools-sdk in IMAGE_FEATURES"
skipped 'connman: No connman package in image'
test_date (oeqa.runtime.date.DateTest) ... ok
test_df (oeqa.runtime.df.DfTest) ... ok
test_dmesg (oeqa.runtime.dmesg.DmesgTest) ... ok
skipped "gcc: Image doesn't have tools-sdk in IMAGE_FEATURES"
skipped "kernelmodule: Image doesn't have tools-sdk in IMAGE_FEATURES"
skipped "ldd: Image doesn't have tools-sdk in IMAGE_FEATURES"
skipped "multilib: this isn't a multilib:lib32 image"
test_pam (oeqa.runtime.pam.PamBasicTest) ... ok
test_parselogs (oeqa.runtime.parselogs.ParseLogsTest) ... Machine information:
*******************************
Machine name: qemumips
CPU:
Arch: mips
Physical cores:
Logical cores: 1
*******************************
ok
test_perl_exists (oeqa.runtime.perl.PerlTest) ... ok
test_perl_works (oeqa.runtime.perl.PerlTest) ... ok
test_python_exists (oeqa.runtime.python.PythonTest) ... ok
test_python_stdout (oeqa.runtime.python.PythonTest) ... ok
test_python_testfile (oeqa.runtime.python.PythonTest) ... ok
test_rpm_help (oeqa.runtime.rpm.RpmBasicTest) ... ok
test_rpm_query (oeqa.runtime.rpm.RpmBasicTest) ... ok
test_check_rpm_install_removal_log_file_size (oeqa.runtime.rpm.RpmInstallRemoveTest) ... ok
test_rpm_install (oeqa.runtime.rpm.RpmInstallRemoveTest) ... ok
test_rpm_query_nonroot (oeqa.runtime.rpm.RpmInstallRemoveTest) ... ok
test_rpm_remove (oeqa.runtime.rpm.RpmInstallRemoveTest) ... ok
skipped 'scanelf: pax-utils package not installed'
test_scp_file (oeqa.runtime.scp.ScpTest) ... ok
test_smart_help (oeqa.runtime.smart.SmartBasicTest) ... ok
test_smart_info (oeqa.runtime.smart.SmartBasicTest) ... ok
test_smart_query (oeqa.runtime.smart.SmartBasicTest) ... ok
test_smart_search (oeqa.runtime.smart.SmartBasicTest) ... ok
test_smart_stats (oeqa.runtime.smart.SmartBasicTest) ... ok
test_smart_version (oeqa.runtime.smart.SmartBasicTest) ... ok
test_smart_add_rpmdir (oeqa.runtime.smart.SmartRepoTest) ... ok
test_smart_channel (oeqa.runtime.smart.SmartRepoTest) ... ok
test_smart_channel_add (oeqa.runtime.smart.SmartRepoTest) ... FAIL
WARNING: test_smart_channel_add failed: getting data from target and saving into /tmp/oe-saved-tests/201508211719_test_smart_channel_add
test_smart_channel_help (oeqa.runtime.smart.SmartRepoTest) ... WARNING: test_smart_channel_help failed: getting data from target and saving into /tmp/oe-saved-tests/201508211719_test_smart_channel_help
ok
test_smart_channel_list (oeqa.runtime.smart.SmartRepoTest) ... WARNING: test_smart_channel_list failed: getting data from target and saving into /tmp/oe-saved-tests/201508211719_test_smart_channel_list
ok
test_smart_channel_rpmsys (oeqa.runtime.smart.SmartRepoTest) ... WARNING: test_smart_channel_rpmsys failed: getting data from target and saving into /tmp/oe-saved-tests/201508211720_test_smart_channel_rpmsys
ok
test_smart_channel_show (oeqa.runtime.smart.SmartRepoTest) ... WARNING: test_smart_channel_show failed: getting data from target and saving into /tmp/oe-saved-tests/201508211720_test_smart_channel_show
ok
test_smart_install (oeqa.runtime.smart.SmartRepoTest) ... WARNING: test_smart_install failed: getting data from target and saving into /tmp/oe-saved-tests/201508211735_test_smart_install
ok
test_smart_install_dependency (oeqa.runtime.smart.SmartRepoTest) ... WARNING: test_smart_install_dependency failed: getting data from target and saving into /tmp/oe-saved-tests/201508211743_test_smart_install_dependency
ok
test_smart_install_from_disk (oeqa.runtime.smart.SmartRepoTest) ... WARNING: test_smart_install_from_disk failed: getting data from target and saving into /tmp/oe-saved-tests/201508211752_test_smart_install_from_disk
ok
test_smart_install_from_http (oeqa.runtime.smart.SmartRepoTest) ... WARNING: test_smart_install_from_http failed: getting data from target and saving into /tmp/oe-saved-tests/201508211801_test_smart_install_from_http
ok
test_smart_local_dir (oeqa.runtime.smart.SmartRepoTest) ... WARNING: test_smart_local_dir failed: getting data from target and saving into /tmp/oe-saved-tests/201508211807_test_smart_local_dir
ok
test_smart_reinstall (oeqa.runtime.smart.SmartRepoTest) ... WARNING: test_smart_reinstall failed: getting data from target and saving into /tmp/oe-saved-tests/201508211808_test_smart_reinstall
ok
test_smart_remote_repo (oeqa.runtime.smart.SmartRepoTest) ... WARNING: test_smart_remote_repo failed: getting data from target and saving into /tmp/oe-saved-tests/201508211816_test_smart_remote_repo
ok
test_smart_remove_package (oeqa.runtime.smart.SmartRepoTest) ... WARNING: test_smart_remove_package failed: getting data from target and saving into /tmp/oe-saved-tests/201508211824_test_smart_remove_package
ok
test_ssh (oeqa.runtime.ssh.SshTest) ... WARNING: test_ssh failed: getting data from target and saving into /tmp/oe-saved-tests/201508211825_test_ssh
ok
test_syslog_running (oeqa.runtime.syslog.SyslogTest) ... WARNING: test_syslog_running failed: getting data from target and saving into /tmp/oe-saved-tests/201508211825_test_syslog_running
ok
test_syslog_logger (oeqa.runtime.syslog.SyslogTestConfig) ... WARNING: test_syslog_logger failed: getting data from target and saving into /tmp/oe-saved-tests/201508211825_test_syslog_logger
ok
test_syslog_restart (oeqa.runtime.syslog.SyslogTestConfig) ... WARNING: test_syslog_restart failed: getting data from target and saving into /tmp/oe-saved-tests/201508211825_test_syslog_restart
ok
test_syslog_startup_config (oeqa.runtime.syslog.SyslogTestConfig) ... skipped 'Non-busybox syslog'
WARNING: test_syslog_startup_config failed: getting data from target and saving into /tmp/oe-saved-tests/201508211826_test_syslog_startup_config
skipped 'vnc: No x11vnc package in image'
skipped 'x32lib: DEFAULTTUNE is not set to x86-64-x32'
skipped "xorg: target doesn't have x11 in IMAGE_FEATURES"
test_1_logrotate_setup (oeqa.runtime.logrotate.LogrotateTest) ... WARNING: test_1_logrotate_setup failed: getting data from target and saving into /tmp/oe-saved-tests/201508211826_test_1_logrotate_setup
ok
test_2_logrotate (oeqa.runtime.logrotate.LogrotateTest) ... WARNING: test_2_logrotate failed: getting data from target and saving into /tmp/oe-saved-tests/201508211826_test_2_logrotate
ok
test_skeleton_availability (oeqa.runtime.skeletoninit.SkeletonBasicTest) ... FAIL
WARNING: test_skeleton_availability failed: getting data from target and saving into /tmp/oe-saved-tests/201508211826_test_skeleton_availability
test_skeleton_script (oeqa.runtime.skeletoninit.SkeletonBasicTest) ... FAIL
WARNING: test_skeleton_script failed: getting data from target and saving into /tmp/oe-saved-tests/201508211827_test_skeleton_script
skipped "systemd: target doesn't have systemd in DISTRO_FEATURES"
======================================================================
FAIL: test_smart_channel_add (oeqa.runtime.smart.SmartRepoTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-mips-lsb/build/meta/lib/oeqa/utils/decorators.py", line 102, in wrapped_f
return func(*args)
File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-mips-lsb/build/meta/lib/oeqa/runtime/smart.py", line 80, in test_smart_channel_add
self.smart('update')
File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-mips-lsb/build/meta/lib/oeqa/utils/decorators.py", line 90, in wrapped_f
return f(*args)
File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-mips-lsb/build/meta/lib/oeqa/runtime/smart.py", line 22, in smart
self.assertEqual(status, expected, message)
AssertionError: 1 != 0 : smart update
Loading cache...
Updating cache... ######################################## [100%]
Fetching information for 'all'...
-> http://192.168.7.3:50171/rpm/all/repodata/repomd.xml
repomd.xml ######################################## [ 16%]
-> http://192.168.7.3:50171/rpm/all/repodata/primary.xml.gz
primary.xml.gz ######################################## [ 25%]
-> http://192.168.7.3:50171/rpm/all/repodata/filelists.xml.gz
filelists.xml.gz ######################################## [ 33%]
Fetching information for 'mips32r2'...
-> http://192.168.7.3:50171/rpm/mips32r2/repodata/repomd.xml
repomd.xml ######################################## [ 50%]
-> http://192.168.7.3:50171/rpm/mips32r2/repodata/primary.xml.gz
primary.xml.gz ######################################## [ 58%]
-> http://192.168.7.3:50171/rpm/mips32r2/repodata/filelists.xml.gz
filelists.xml.gz ######################################## [ 66%]
Traceback (most recent call last):
File "/usr/bin/smart", line 200, in <module>
main(sys.argv[1:])
File "/usr/bin/smart", line 173, in main
exitcode = iface.run(opts.command, opts.argv)
File "/usr/lib/python2.7/site-packages/smart/interface.py", line 53, in run
result = _command.main(self._ctrl, opts)
File "/usr/lib/python2.7/site-packages/smart/commands/update.py", line 82, in main
failed = not ctrl.reloadChannels(channels, caching=NEVER)
File "/usr/lib/python2.7/site-packages/smart/control.py", line 388, in reloadChannels
if not channel.fetch(self._fetcher, progress):
File "/usr/lib/python2.7/site-packages/smart/channels/rpm_md.py", line 242, in fetch
digest = getFileDigest(item.getTargetPath())
File "/usr/lib/python2.7/site-packages/smart/util/filetools.py", line 34, in getFileDigest
file = open(path)
TypeError: coercing to Unicode: need string or buffer, NoneType found
======================================================================
FAIL: test_skeleton_availability (oeqa.runtime.skeletoninit.SkeletonBasicTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-mips-lsb/build/meta/lib/oeqa/utils/decorators.py", line 90, in wrapped_f
return f(*args)
File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-mips-lsb/build/meta/lib/oeqa/runtime/skeletoninit.py", line 19, in test_skeleton_availability
self.assertEqual(status, 0, msg = "skeleton init script not found. Output:\n%s " % output)
AssertionError: 2 != 0 : skeleton init script not found. Output:
ls: cannot access /etc/init.d/skeleton: No such file or directory
======================================================================
FAIL: test_skeleton_script (oeqa.runtime.skeletoninit.SkeletonBasicTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-mips-lsb/build/meta/lib/oeqa/utils/decorators.py", line 102, in wrapped_f
return func(*args)
File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-mips-lsb/build/meta/lib/oeqa/utils/decorators.py", line 90, in wrapped_f
return f(*args)
File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-mips-lsb/build/meta/lib/oeqa/runtime/skeletoninit.py", line 29, in test_skeleton_script
self.assertEqual(status, 0, msg = "Skeleton script could not be started:\n%s\n%s" % (output1, output2))
AssertionError: 1 != 0 : Skeleton script could not be started:
sh: /etc/init.d/skeleton: No such file or directory
----------------------------------------------------------------------
Ran 48 tests in 4714.546s
FAILED (failures=3, skipped=14)
NOTE: Sending SIGTERM to runqemu
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib64/python2.7/threading.py", line 813, in __bootstrap_inner
self.run()
File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-mips-lsb/build/meta/lib/oeqa/utils/qemurunner.py", line 363, in run
threading.Thread.run(self)
File "/usr/lib64/python2.7/threading.py", line 766, in run
self.__target(*self.__args, **self.__kwargs)
File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-mips-lsb/build/meta/lib/oeqa/utils/qemurunner.py", line 356, in threadtarget
self.eventloop()
File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-mips-lsb/build/meta/lib/oeqa/utils/qemurunner.py", line 416, in eventloop
raise Exception("No data on read ready socket")
Exception: No data on read ready socket
DEBUG: Python function do_testimage finished
ERROR: Function failed: core-image-lsb - FAILED - check the task log and the ssh log