DEBUG: Executing python function do_testimage
NOTE: Created listening socket for qemu serial console on: 127.0.0.1:41071
NOTE: rootfs file: /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-qa-systemd/build/build/tmp/work/qemux86_64-poky-linux/core-image-sato/1.0-r0/testimage/core-image-sato-qemux86-64-testimage.ext4
NOTE: Qemu log file: /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-qa-systemd/build/build/tmp/work/qemux86_64-poky-linux/core-image-sato/1.0-r0/testimage/qemu_boot_log.20150321132722
NOTE: SSH log file: /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-qa-systemd/build/build/tmp/work/qemux86_64-poky-linux/core-image-sato/1.0-r0/testimage/ssh_target_log.20150321132722
NOTE: runqemu started, pid is 15269
NOTE: waiting at most 60 seconds for qemu pid
NOTE: qemu started - qemu procces pid is 17624
NOTE: Target IP: 192.168.7.2
NOTE: Server IP: 192.168.7.1
NOTE: Waiting at most 1500 seconds for login banner
NOTE: Connection from 127.0.0.1:44450
NOTE: Reached login banner
test_ping (oeqa.runtime.ping.PingTest) ... ok
test_ssh (oeqa.runtime.ssh.SshTest) ... ok
test_df (oeqa.runtime.df.DfTest) ... ok
test_connmand_help (oeqa.runtime.connman.ConnmanTest) ... ok
test_connmand_running (oeqa.runtime.connman.ConnmanTest) ... ok
test_syslog_help (oeqa.runtime.syslog.SyslogTest) ... ok
test_syslog_running (oeqa.runtime.syslog.SyslogTest) ... ok
test_syslog_logger (oeqa.runtime.syslog.SyslogTestConfig) ... ok
test_syslog_restart (oeqa.runtime.syslog.SyslogTestConfig) ... ok
test_syslog_startup_config (oeqa.runtime.syslog.SyslogTestConfig) ... ok
test_xorg_running (oeqa.runtime.xorg.XorgTest) ... ok
test_scp_file (oeqa.runtime.scp.ScpTest) ... ok
test_vnc (oeqa.runtime.vnc.VNCTest) ... ok
test_date (oeqa.runtime.date.DateTest) ... ok
test_rpm_help (oeqa.runtime.rpm.RpmBasicTest) ... ok
test_rpm_query (oeqa.runtime.rpm.RpmBasicTest) ... ok
test_rpm_install (oeqa.runtime.rpm.RpmInstallRemoveTest) ... ok
test_rpm_remove (oeqa.runtime.rpm.RpmInstallRemoveTest) ... 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 modules ['oeqa.runtime.ping', 'oeqa.runtime.ssh', 'oeqa.runtime.df', 'oeqa.runtime.connman', 'oeqa.runtime.syslog', 'oeqa.runtime.xorg', 'oeqa.runtime.scp', 'oeqa.runtime.vnc', 'oeqa.runtime.date', 'oeqa.runtime.rpm', 'oeqa.runtime.smart', 'oeqa.runtime.dmesg', 'oeqa.runtime.python', 'oeqa.runtime.parselogs']
Found 44 tests
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
test_smart_channel_help (oeqa.runtime.smart.SmartRepoTest) ... ok
test_smart_channel_list (oeqa.runtime.smart.SmartRepoTest) ... ok
test_smart_channel_rpmsys (oeqa.runtime.smart.SmartRepoTest) ... ok
test_smart_channel_show (oeqa.runtime.smart.SmartRepoTest) ... ok
test_smart_install (oeqa.runtime.smart.SmartRepoTest) ... FAIL
test_smart_install_dependency (oeqa.runtime.smart.SmartRepoTest) ... FAIL
test_smart_install_from_disk (oeqa.runtime.smart.SmartRepoTest) ... FAIL
test_smart_install_from_http (oeqa.runtime.smart.SmartRepoTest) ... FAIL
test_smart_local_dir (oeqa.runtime.smart.SmartRepoTest) ... FAIL
test_smart_reinstall (oeqa.runtime.smart.SmartRepoTest) ... FAIL
test_smart_remote_repo (oeqa.runtime.smart.SmartRepoTest) ... ok
test_smart_remove_package (oeqa.runtime.smart.SmartRepoTest) ... ok
test_dmesg (oeqa.runtime.dmesg.DmesgTest) ... 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_parselogs (oeqa.runtime.parselogs.ParseLogsTest) ... ok
======================================================================
FAIL: test_smart_channel_add (oeqa.runtime.smart.SmartRepoTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-qa-systemd/build/meta/lib/oeqa/utils/decorators.py", line 97, in wrapped_f
return func(*args)
File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-qa-systemd/build/meta/lib/oeqa/runtime/smart.py", line 78, in test_smart_channel_add
self.smart('update')
File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-qa-systemd/build/meta/lib/oeqa/utils/decorators.py", line 86, in wrapped_f
return f(*args)
File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-qa-systemd/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.1:36372/rpm/all/repodata/repomd.xml
repomd.xml ######################################## [ 16%]
-> http://192.168.7.1:36372/rpm/all/repodata/primary.xml.gz
primary.xml.gz ######################################## [ 25%]
-> http://192.168.7.1:36372/rpm/all/repodata/filelists.xml.gz
filelists.xml.gz ######################################## [ 33%]
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
Unhandled exception in thread started by
sys.excepthook is missing
lost sys.stderr
======================================================================
FAIL: test_smart_install (oeqa.runtime.smart.SmartRepoTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-qa-systemd/build/meta/lib/oeqa/utils/decorators.py", line 86, in wrapped_f
return f(*args)
File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-qa-systemd/build/meta/lib/oeqa/runtime/smart.py", line 98, in test_smart_install
self.smart('install -y psplash-default')
File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-qa-systemd/build/meta/lib/oeqa/utils/decorators.py", line 86, in wrapped_f
return f(*args)
File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-qa-systemd/build/meta/lib/oeqa/runtime/smart.py", line 22, in smart
self.assertEqual(status, expected, message)
AssertionError: 1 != 0 : smart install -y psplash-default
Loading cache...
Updating cache... ######################################## [100%]
error: 'psplash-default' matches no packages
Saving cache...
======================================================================
FAIL: test_smart_install_dependency (oeqa.runtime.smart.SmartRepoTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-qa-systemd/build/meta/lib/oeqa/utils/decorators.py", line 97, in wrapped_f
return func(*args)
File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-qa-systemd/build/meta/lib/oeqa/utils/decorators.py", line 86, in wrapped_f
return f(*args)
File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-qa-systemd/build/meta/lib/oeqa/runtime/smart.py", line 104, in test_smart_install_dependency
self.smart('install -y psplash-default')
File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-qa-systemd/build/meta/lib/oeqa/utils/decorators.py", line 86, in wrapped_f
return f(*args)
File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-qa-systemd/build/meta/lib/oeqa/runtime/smart.py", line 22, in smart
self.assertEqual(status, expected, message)
AssertionError: 1 != 0 : smart install -y psplash-default
Loading cache...
Updating cache... ######################################## [100%]
error: 'psplash-default' matches no packages
Saving cache...
======================================================================
FAIL: test_smart_install_from_disk (oeqa.runtime.smart.SmartRepoTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-qa-systemd/build/meta/lib/oeqa/utils/decorators.py", line 97, in wrapped_f
return func(*args)
File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-qa-systemd/build/meta/lib/oeqa/utils/decorators.py", line 86, in wrapped_f
return f(*args)
File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-qa-systemd/build/meta/lib/oeqa/runtime/smart.py", line 109, in test_smart_install_from_disk
self.smart('remove -y psplash-default')
File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-qa-systemd/build/meta/lib/oeqa/utils/decorators.py", line 86, in wrapped_f
return f(*args)
File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-qa-systemd/build/meta/lib/oeqa/runtime/smart.py", line 22, in smart
self.assertEqual(status, expected, message)
AssertionError: 1 != 0 : smart remove -y psplash-default
Loading cache...
Updating cache... ######################################## [100%]
error: 'psplash-default' matches no packages
======================================================================
FAIL: test_smart_install_from_http (oeqa.runtime.smart.SmartRepoTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-qa-systemd/build/meta/lib/oeqa/utils/decorators.py", line 97, in wrapped_f
return func(*args)
File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-qa-systemd/build/meta/lib/oeqa/utils/decorators.py", line 86, in wrapped_f
return f(*args)
File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-qa-systemd/build/meta/lib/oeqa/runtime/smart.py", line 116, in test_smart_install_from_http
output = self.smart('download --urls psplash-default')
File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-qa-systemd/build/meta/lib/oeqa/utils/decorators.py", line 86, in wrapped_f
return f(*args)
File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-qa-systemd/build/meta/lib/oeqa/runtime/smart.py", line 22, in smart
self.assertEqual(status, expected, message)
AssertionError: 1 != 0 : smart download --urls psplash-default
Loading cache...
Updating cache... ######################################## [100%]
error: 'psplash-default' matches no packages
======================================================================
FAIL: test_smart_local_dir (oeqa.runtime.smart.SmartRepoTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-qa-systemd/build/meta/lib/oeqa/utils/decorators.py", line 97, in wrapped_f
return func(*args)
File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-qa-systemd/build/meta/lib/oeqa/runtime/smart.py", line 139, in test_smart_local_dir
self.smart('download psplash')
File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-qa-systemd/build/meta/lib/oeqa/utils/decorators.py", line 86, in wrapped_f
return f(*args)
File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-qa-systemd/build/meta/lib/oeqa/runtime/smart.py", line 22, in smart
self.assertEqual(status, expected, message)
AssertionError: 1 != 0 : smart download psplash
Loading cache...
Updating cache... ######################################## [100%]
error: 'psplash' matches no packages
Saving cache...
======================================================================
FAIL: test_smart_reinstall (oeqa.runtime.smart.SmartRepoTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-qa-systemd/build/meta/lib/oeqa/utils/decorators.py", line 97, in wrapped_f
return func(*args)
File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-qa-systemd/build/meta/lib/oeqa/utils/decorators.py", line 86, in wrapped_f
return f(*args)
File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-qa-systemd/build/meta/lib/oeqa/runtime/smart.py", line 125, in test_smart_reinstall
self.smart('reinstall -y psplash-default')
File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-qa-systemd/build/meta/lib/oeqa/utils/decorators.py", line 86, in wrapped_f
return f(*args)
File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-qa-systemd/build/meta/lib/oeqa/runtime/smart.py", line 22, in smart
self.assertEqual(status, expected, message)
AssertionError: 1 != 0 : smart reinstall -y psplash-default
Loading cache...
Updating cache... ######################################## [100%]
error: 'psplash-default' matches no packages
----------------------------------------------------------------------
Ran 44 tests in 963.682s
FAILED (failures=7)
NOTE: Sending SIGTERM to runqemu
DEBUG: Python function do_testimage finished
ERROR: Function failed: core-image-sato - FAILED - check the task log and the ssh log