DEBUG: Executing python function do_testimage
DEBUG: Searching for tests in /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-ppc-lsb/build/meta-yocto/lib/oeqa/runtime
DEBUG: Searching for tests in /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-ppc-lsb/build/build/lib/oeqa/runtime
DEBUG: Searching for tests in /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-ppc-lsb/build/meta/lib/oeqa/runtime
DEBUG: Searching for tests in /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-ppc-lsb/build/meta-yocto-bsp/lib/oeqa/runtime
DEBUG: Searching for tests in /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-ppc-lsb/build/meta-qt3/lib/oeqa/runtime
NOTE: rootfs file: /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-ppc-lsb/build/build/tmp/work/qemuppc-poky-linux/core-image-lsb/1.0-r0/testimage/core-image-lsb-qemuppc-testimage.ext4
NOTE: Qemu log file: /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-ppc-lsb/build/build/tmp/work/qemuppc-poky-linux/core-image-lsb/1.0-r0/testimage/qemu_boot_log.20151221182929
NOTE: SSH log file: /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-ppc-lsb/build/build/tmp/work/qemuppc-poky-linux/core-image-lsb/1.0-r0/testimage/ssh_target_log.20151221182929
NOTE: Created listening socket for qemu serial console on: 127.0.0.1:45002
NOTE: Created listening socket for qemu serial console on: 127.0.0.1:33936
NOTE: runqemu started, pid is 6509
NOTE: waiting at most 60 seconds for qemu pid
NOTE: qemu started - qemu procces pid is 6655
NOTE: qemu cmdline used:
/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-ppc-lsb/build/build/tmp/sysroots/x86_64-linux/usr/bin/qemu-system-ppc-kernel/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-ppc-lsb/build/build/tmp/deploy/images/qemuppc/vmlinux-qemuppc.bin-netnic,model=pcnet-nettap,vlan=0,ifname=tap1,script=no,downscript=no-cpuG4-Mmac99-drivefile=/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-ppc-lsb/build/build/tmp/work/qemuppc-poky-linux/core-image-lsb/1.0-r0/testimage/core-image-lsb-qemuppc-testimage.ext4,if=virtio,format=raw-no-reboot-show-cursor-usb-usbdevicetablet-no-reboot-serialtcp:127.0.0.1:45002-m256-serialtcp:127.0.0.1:33936--appendroot=/dev/vda rw console=ttyS0 console=tty ip=192.168.7.4::192.168.7.3:255.255.255.0 mem=256M rootfstype=ext4 console=tty1 console=ttyS0,115200n8 printk.time=1
NOTE: Target IP: 192.168.7.4
NOTE: Server IP: 192.168.7.3
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-ppc-lsb/build/build/tmp/deploy/images/qemuppc/vmlinux-qemuppc.bin]
ROOTFS: [/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-ppc-lsb/build/build/tmp/work/qemuppc-poky-linux/core-image-lsb/1.0-r0/testimage/core-image-lsb-qemuppc-testimage.ext4]
FSTYPE: [ext4]
stty: standard input: Inappropriate ioctl for device
Acquiring lockfile for tap0...
Acquiring lockfile for tap1...
Using preconfigured tap device 'tap1'
If this is not intended, touch /tmp/qemu-tap-locks/tap1.skip to make runqemu skip tap1.
Running qemu-system-ppc...
/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-ppc-lsb/build/build/tmp/sysroots/x86_64-linux/usr/bin/qemu-system-ppc -kernel /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-ppc-lsb/build/build/tmp/deploy/images/qemuppc/vmlinux-qemuppc.bin -net nic,model=pcnet -net tap,vlan=0,ifname=tap1,script=no,downscript=no -cpu G4 -M mac99 -drive file=/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-ppc-lsb/build/build/tmp/work/qemuppc-poky-linux/core-image-lsb/1.0-r0/testimage/core-image-lsb-qemuppc-testimage.ext4,if=virtio,format=raw -no-reboot -show-cursor -usb -usbdevice tablet -no-reboot -serial tcp:127.0.0.1:45002 -m 256 -serial tcp:127.0.0.1:33936 --append "root=/dev/vda rw console=ttyS0 console=tty ip=192.168.7.4::192.168.7.3:255.255.255.0 mem=256M rootfstype=ext4 console=tty1 console=ttyS0,115200n8 printk.time=1"
NOTE: Waiting at most 1500 seconds for login banner
NOTE: Connection from 127.0.0.1:57193
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.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
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"
test_pam (oeqa.runtime.pam.PamBasicTest) ... ok
test_parselogs (oeqa.runtime.parselogs.ParseLogsTest) ... Machine information:
*******************************
Machine name: qemuppc
CPU:
Arch: ppc
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) ... ok
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) ... ok
test_smart_install_dependency (oeqa.runtime.smart.SmartRepoTest) ... ok
test_smart_install_from_disk (oeqa.runtime.smart.SmartRepoTest) ... ok
test_smart_install_from_http (oeqa.runtime.smart.SmartRepoTest) ... ok
test_smart_local_dir (oeqa.runtime.smart.SmartRepoTest) ... ok
test_smart_reinstall (oeqa.runtime.smart.SmartRepoTest) ... ok
test_smart_remote_repo (oeqa.runtime.smart.SmartRepoTest) ... FAIL
test_smart_remote_repo dump data stored in /tmp/oe-saved-tests/201512211903_test_smart_remote_repo
test_smart_remove_package (oeqa.runtime.smart.SmartRepoTest) ... ok
test_ssh (oeqa.runtime.ssh.SshTest) ... 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) ... skipped 'Non-busybox syslog'
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) ... ok
test_2_logrotate (oeqa.runtime.logrotate.LogrotateTest) ... ok
skipped "multilib: this isn't a multilib:lib32 image"
skipped 'skeletoninit: No service package in image'
skipped "systemd: target doesn't have systemd in DISTRO_FEATURES"
======================================================================
FAIL: test_smart_remote_repo (oeqa.runtime.smart.SmartRepoTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-ppc-lsb/build/meta/lib/oeqa/utils/decorators.py", line 106, in wrapped_f
return func(*args, **kwargs)
File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-ppc-lsb/build/meta/lib/oeqa/utils/decorators.py", line 94, in wrapped_f
return f(*args, **kwargs)
File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-ppc-lsb/build/meta/lib/oeqa/runtime/smart.py", line 136, in test_smart_remote_repo
self.smart('update')
File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-ppc-lsb/build/meta/lib/oeqa/utils/decorators.py", line 94, in wrapped_f
return f(*args, **kwargs)
File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-ppc-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 'qemuppc'...
-> http://192.168.7.3:55590/rpm/qemuppc/repodata/repomd.xml
repomd.xml ######################################## [ 16%]
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
----------------------------------------------------------------------
Ran 45 tests in 2188.099s
FAILED (failures=1, skipped=15)
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-lsb - FAILED - check the task log and the ssh log