DEBUG: Executing python function do_testimage
NOTE: rootfs file: /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-x32/build/build/tmp/work/qemux86_64-poky-linux-gnux32/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-x32/build/build/tmp/work/qemux86_64-poky-linux-gnux32/core-image-sato/1.0-r0/testimage/qemu_boot_log.20160301110950
NOTE: SSH log file: /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-x32/build/build/tmp/work/qemux86_64-poky-linux-gnux32/core-image-sato/1.0-r0/testimage/ssh_target_log.20160301110950
NOTE: Created listening socket for qemu serial console on: 127.0.0.1:40741
NOTE: Created listening socket for qemu serial console on: 127.0.0.1:46031
NOTE: runqemu started, pid is 14065
NOTE: waiting at most 60 seconds for qemu pid
NOTE: qemu started - qemu procces pid is 14204
NOTE: qemu cmdline used:
/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-x32/build/build/tmp/sysroots/x86_64-linux/usr/bin/qemu-system-x86_64-kernel/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-x32/build/build/tmp/deploy/images/qemux86-64/bzImage-qemux86-64.bin-netnic,model=virtio-nettap,vlan=0,ifname=tap0,script=no,downscript=no-cpucore2duo-drivefile=/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-x32/build/build/tmp/work/qemux86_64-poky-linux-gnux32/core-image-sato/1.0-r0/testimage/core-image-sato-qemux86-64-testimage.ext4,if=virtio,format=raw-show-cursor-usb-usbdevicetablet-vgavmware-no-reboot-serialtcp:127.0.0.1:40741-m256-serialtcp:127.0.0.1:46031--appendvga=0 uvesafb.mode_option=640x480-32 root=/dev/vda rw mem=256M ip=192.168.7.2::192.168.7.1:255.255.255.0 oprofile.timer=1 rootfstype=ext4 console=tty1 console=ttyS0,115200n8 printk.time=1
NOTE: Target IP: 192.168.7.2
NOTE: Server IP: 192.168.7.1
NOTE: Starting logging thread
NOTE: Starting thread event loop
NOTE: Connection request received
NOTE: Setting connection established event
NOTE: Output from runqemu:
Please use simplified serial or kvm options instead
Continuing with the following parameters:
KERNEL: [/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-x32/build/build/tmp/deploy/images/qemux86-64/bzImage-qemux86-64.bin]
ROOTFS: [/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-x32/build/build/tmp/work/qemux86_64-poky-linux-gnux32/core-image-sato/1.0-r0/testimage/core-image-sato-qemux86-64-testimage.ext4]
FSTYPE: [ext4]
stty: standard input: Inappropriate ioctl for device
Acquiring lockfile for tap0...
Using preconfigured tap device 'tap0'
If this is not intended, touch /tmp/qemu-tap-locks/tap0.skip to make runqemu skip tap0.
Running qemu-system-x86_64...
/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-x32/build/build/tmp/sysroots/x86_64-linux/usr/bin/qemu-system-x86_64 -kernel /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-x32/build/build/tmp/deploy/images/qemux86-64/bzImage-qemux86-64.bin -net nic,model=virtio -net tap,vlan=0,ifname=tap0,script=no,downscript=no -cpu core2duo -drive file=/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-x32/build/build/tmp/work/qemux86_64-poky-linux-gnux32/core-image-sato/1.0-r0/testimage/core-image-sato-qemux86-64-testimage.ext4,if=virtio,format=raw -show-cursor -usb -usbdevice tablet -vga vmware -no-reboot -serial tcp:127.0.0.1:40741 -m 256 -serial tcp:127.0.0.1:46031 --append "vga=0 uvesafb.mode_option=640x480-32 root=/dev/vda rw mem=256M ip=192.168.7.2::192.168.7.1:255.255.255.0 oprofile.timer=1 rootfstype=ext4 console=tty1 console=ttyS0,115200n8 printk.time=1"
warning: TCG doesn't support requested feature: CPUID.01H:EDX.vme [bit 1]
NOTE: Waiting at most 1500 seconds for login banner
NOTE: Connection from 127.0.0.1:59164
NOTE: Reached login banner
NOTE: Logged as root in serial console
NOTE: Test modules ['oeqa.runtime.ping', 'oeqa.runtime.ssh', 'oeqa.runtime.df', 'oeqa.runtime.date', 'oeqa.runtime.scp', 'oeqa.runtime.syslog', 'oeqa.runtime.connman', 'oeqa.runtime.xorg', 'oeqa.runtime.parselogs', 'oeqa.runtime.smart', 'oeqa.runtime.rpm', 'oeqa.runtime.python', 'oeqa.runtime.x32lib']
NOTE: Found 44 tests
test_ping (oeqa.runtime.ping.PingTest) ... ok
test_ssh (oeqa.runtime.ssh.SshTest) ... ok
test_df (oeqa.runtime.df.DfTest) ... ok
test_date (oeqa.runtime.date.DateTest) ... ok
test_scp_file (oeqa.runtime.scp.ScpTest) ... 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_connmand_help (oeqa.runtime.connman.ConnmanTest) ... ok
test_connmand_running (oeqa.runtime.connman.ConnmanTest) ... ok
test_xorg_running (oeqa.runtime.xorg.XorgTest) ... ok
test_parselogs (oeqa.runtime.parselogs.ParseLogsTest) ... Machine information:
*******************************
Machine name: qemux86-64
CPU: Intel(R) Core(TM)2 Duo CPU T7700 @ 2.40GHz
Arch: x86_64
Physical cores: 1
Logical cores: 1
*******************************
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
test_smart_channel_add dump data stored in /tmp/oe-saved-tests/201603010316_test_smart_channel_add
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) ... skipped 'Testcase dependency not met: test_smart_channel_add'
test_smart_install_dependency (oeqa.runtime.smart.SmartRepoTest) ... skipped 'Testcase dependency not met: test_smart_install'
test_smart_install_from_disk (oeqa.runtime.smart.SmartRepoTest) ... skipped 'Testcase dependency not met: test_smart_channel_add'
test_smart_install_from_http (oeqa.runtime.smart.SmartRepoTest) ... skipped 'Testcase dependency not met: test_smart_channel_add'
test_smart_local_dir (oeqa.runtime.smart.SmartRepoTest) ... FAIL
test_smart_local_dir dump data stored in /tmp/oe-saved-tests/201603010317_test_smart_local_dir
test_smart_reinstall (oeqa.runtime.smart.SmartRepoTest) ... skipped 'Testcase dependency not met: test_smart_install'
test_smart_remote_repo (oeqa.runtime.smart.SmartRepoTest) ... skipped 'Testcase dependency not met: test_smart_channel_add'
test_smart_remove_package (oeqa.runtime.smart.SmartRepoTest) ... skipped 'Testcase dependency not met: test_smart_channel_add'
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
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_x32_file (oeqa.runtime.x32lib.X32libTest) ... ok
======================================================================
FAIL: test_smart_channel_add (oeqa.runtime.smart.SmartRepoTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-x32/build/meta/lib/oeqa/utils/decorators.py", line 106, in wrapped_f
return func(*args, **kwargs)
File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-x32/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-x32/build/meta/lib/oeqa/utils/decorators.py", line 94, in wrapped_f
return f(*args, **kwargs)
File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-x32/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:36230/rpm/all/repodata/repomd.xml
repomd.xml ######################################## [ 16%]
-> http://192.168.7.1:36230/rpm/all/repodata/filelists.xml.gz
filelists.xml.gz ######################################## [ 25%]
-> http://192.168.7.1:36230/rpm/all/repodata/primary.xml.gz
primary.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/libx32/python2.7/site-packages/smart/interface.py", line 53, in run
result = _command.main(self._ctrl, opts)
File "/usr/libx32/python2.7/site-packages/smart/commands/update.py", line 82, in main
failed = not ctrl.reloadChannels(channels, caching=NEVER)
File "/usr/libx32/python2.7/site-packages/smart/control.py", line 388, in reloadChannels
if not channel.fetch(self._fetcher, progress):
File "/usr/libx32/python2.7/site-packages/smart/channels/rpm_md.py", line 242, in fetch
digest = getFileDigest(item.getTargetPath())
File "/usr/libx32/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
Fetching information for 'x86_64_x32'...
-> http://192.168.7.1:36230/rpm/x86_64_x32/repodata/repomd.xml
repomd.xml ######################################## [ 50%]
Unhandled exception in thread started by
sys.excepthook is missing
lost sys.stderr
======================================================================
FAIL: test_smart_local_dir (oeqa.runtime.smart.SmartRepoTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-x32/build/meta/lib/oeqa/utils/decorators.py", line 106, in wrapped_f
return func(*args, **kwargs)
File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-x32/build/meta/lib/oeqa/runtime/smart.py", line 145, in test_smart_local_dir
self.smart('download psplash')
File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-x32/build/meta/lib/oeqa/utils/decorators.py", line 94, in wrapped_f
return f(*args, **kwargs)
File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-x32/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%]
Saving cache...error: psplash-0.1+git0+88343ad23c-r15@x86_64_x32 is not available for downloading
----------------------------------------------------------------------
Ran 44 tests in 366.955s
FAILED (failures=2, skipped=7)
NOTE: Stopping logging thread
NOTE: Stop event received
NOTE: Tearing down logging thread
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