DEBUG: Executing python function do_testimage
NOTE: rootfs file: /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-ppc-lsb/build/build/tmp/work/qemuppc-poky-linux/core-image-lsb-sdk/1.0-r0/testimage/core-image-lsb-sdk-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-sdk/1.0-r0/testimage/qemu_boot_log.20150922182219
NOTE: SSH log file: /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-ppc-lsb/build/build/tmp/work/qemuppc-poky-linux/core-image-lsb-sdk/1.0-r0/testimage/ssh_target_log.20150922182219
NOTE: Created listening socket for qemu serial console on: 127.0.0.1:56087
NOTE: Created listening socket for qemu serial console on: 127.0.0.1:55522
NOTE: runqemu started, pid is 11266
NOTE: waiting at most 60 seconds for qemu pid
NOTE: qemu started - qemu procces pid is 11400
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 -net nic,model=pcnet -net tap,vlan=0,ifname=tap5,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-sdk/1.0-r0/testimage/core-image-lsb-sdk-qemuppc-testimage.ext4,format=raw -no-reboot -show-cursor -usb -usbdevice wacom-tablet -no-reboot -serial tcp:127.0.0.1:56087 -m 256 -serial tcp:127.0.0.1:55522 --append root=/dev/hda rw console=ttyS0 console=tty ip=192.168.7.12::192.168.7.11:255.255.255.0 mem=256M rootfstype=ext4 console=tty1 console=ttyS0,115200n8
NOTE: Target IP: 192.168.7.12
NOTE: Server IP: 192.168.7.11
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:43177
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.pam', 'oeqa.runtime.parselogs', 'oeqa.runtime.perl', 'oeqa.runtime.python', 'oeqa.runtime.scp', 'oeqa.runtime.smart', 'oeqa.runtime.rpm', 'oeqa.runtime.ssh', 'oeqa.runtime.syslog', 'oeqa.runtime.logrotate']
NOTE: Found 58 tests
test_ping (oeqa.runtime.ping.PingTest) ... ok
converted 'http://ftp.gnu.org/non-gnu/cvs/source/feature/1.12.13/cvs-1.12.13.tar.bz2' (ANSI_X3.4-1968) -> 'http://ftp.gnu.org/non-gnu/cvs/source/feature/1.12.13/cvs-1.12.13.tar.bz2' (UTF-8)
--2015-09-22 11:23:51-- http://ftp.gnu.org/non-gnu/cvs/source/feature/1.12.13/cvs-1.12.13.tar.bz2
Resolving ftp.gnu.org (ftp.gnu.org)... 208.118.235.20, 2001:4830:134:3::b
Connecting to ftp.gnu.org (ftp.gnu.org)|208.118.235.20|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3911104 (3.7M) [application/x-bzip2]
Saving to: '/tmp/cvs-1.12.13.tar.bz2'
0K .......... .......... .......... .......... .......... 1% 311K 12s
50K .......... .......... .......... .......... .......... 2% 611K 9s
100K .......... .......... .......... .......... .......... 3% 57.7M 6s
150K .......... .......... .......... .......... .......... 5% 629K 6s
200K .......... .......... .......... .......... .......... 6% 47.0M 5s
250K .......... .......... .......... .......... .......... 7% 74.2M 4s
300K .......... .......... .......... .......... .......... 9% 59.9M 3s
350K .......... .......... .......... .......... .......... 10% 643K 3s
400K .......... .......... .......... .......... .......... 11% 39.9M 3s
450K .......... .......... .......... .......... .......... 13% 68.1M 3s
500K .......... .......... .......... .......... .......... 14% 69.6M 2s
550K .......... .......... .......... .......... .......... 15% 14.7M 2s
600K .......... .......... .......... .......... .......... 17% 73.1M 2s
650K .......... .......... .......... .......... .......... 18% 673K 2s
700K .......... .......... .......... .......... .......... 19% 74.3M 2s
750K .......... .......... .......... .......... .......... 20% 50.2M 2s
800K .......... .......... .......... .......... .......... 22% 51.4M 2s
850K .......... .......... .......... .......... .......... 23% 41.2M 2s
900K .......... .......... .......... .......... .......... 24% 18.6M 1s
950K .......... .......... .......... .......... .......... 26% 38.7M 1s
1000K .......... .......... .......... .......... .......... 27% 682K 1s
1050K .......... .......... .......... .......... .......... 28% 26.2M 1s
1100K .......... .......... .......... .......... .......... 30% 19.1M 1s
1150K .......... .......... .......... .......... .......... 31% 65.5M 1s
1200K .......... .......... .......... .......... .......... 32% 70.8M 1s
1250K .......... .......... .......... .......... .......... 34% 68.3M 1s
1300K .......... .......... .......... .......... .......... 35% 1.40M 1s
1350K .......... .......... .......... .......... .......... 36% 1.23M 1s
1400K .......... .......... .......... .......... .......... 37% 20.5M 1s
1450K .......... .......... .......... .......... .......... 39% 7.61M 1s
1500K .......... .......... .......... .......... .......... 40% 15.9M 1s
1550K .......... .......... .......... .......... .......... 41% 71.5M 1s
1600K .......... .......... .......... .......... .......... 43% 58.2M 1s
1650K .......... .......... .......... .......... .......... 44% 1.79M 1s
1700K .......... .......... .......... .......... .......... 45% 1.15M 1s
1750K .......... .......... .......... .......... .......... 47% 56.1M 1s
1800K .......... .......... .......... .......... .......... 48% 9.25M 1s
1850K .......... .......... .......... .......... .......... 49% 13.0M 1s
1900K .......... .......... .......... .......... .......... 51% 66.8M 1s
1950K .......... .......... .......... .......... .......... 52% 50.1M 1s
2000K .......... .......... .......... .......... .......... 53% 73.0M 1s
2050K .......... .......... .......... .......... .......... 54% 762K 1s
2100K .......... .......... .......... .......... .......... 56% 14.5M 1s
2150K .......... .......... .......... .......... .......... 57% 41.5M 1s
2200K .......... .......... .......... .......... .......... 58% 6.43M 1s
2250K .......... .......... .......... .......... .......... 60% 49.1M 1s
2300K .......... .......... .......... .......... .......... 61% 26.6M 1s
2350K .......... .......... .......... .......... .......... 62% 29.3M 0s
2400K .......... .......... .......... .......... .......... 64% 50.7M 0s
2450K .......... .......... .......... .......... .......... 65% 788K 0s
2500K .......... .......... .......... .......... .......... 66% 14.2M 0s
2550K .......... .......... .......... .......... .......... 68% 83.3M 0s
2600K .......... .......... .......... .......... .......... 69% 6.44M 0s
2650K .......... .......... .......... .......... .......... 70% 20.2M 0s
2700K .......... .......... .......... .......... .......... 72% 49.6M 0s
2750K .......... .......... .......... .......... .......... 73% 43.0M 0s
2800K .......... .......... .......... .......... .......... 74% 58.9M 0s
2850K .......... .......... .......... .......... .......... 75% 777K 0s
2900K .......... .......... .......... .......... .......... 77% 14.8M 0s
2950K .......... .......... .......... .......... .......... 78% 30.5M 0s
3000K .......... .......... .......... .......... .......... 79% 9.31M 0s
3050K .......... .......... .......... .......... .......... 81% 26.6M 0s
3100K .......... .......... .......... .......... .......... 82% 23.0M 0s
3150K .......... .......... .......... .......... .......... 83% 17.1M 0s
3200K .......... .......... .......... .......... .......... 85% 49.8M 0s
3250K .......... .......... .......... .......... .......... 86% 816K 0s
3300K .......... .......... .......... .......... .......... 87% 11.4M 0s
3350K .......... .......... .......... .......... .......... 89% 22.5M 0s
3400K .......... .......... .......... .......... .......... 90% 22.3M 0s
3450K .......... .......... .......... .......... .......... 91% 14.8M 0s
3500K .......... .......... .......... .......... .......... 92% 16.1M 0s
3550K .......... .......... .......... .......... .......... 94% 53.9M 0s
3600K .......... .......... .......... .......... .......... 95% 21.9M 0s
3650K .......... .......... .......... .......... .......... 96% 43.2M 0s
3700K .......... .......... .......... .......... .......... 98% 798K 0s
3750K .......... .......... .......... .......... .......... 99% 14.5M 0s
3800K .......... ......... 100% 46.7M=1.1s
2015-09-22 11:23:52 (3.29 MB/s) - '/tmp/cvs-1.12.13.tar.bz2' saved [3911104/3911104]
test_cvs (oeqa.runtime.buildcvs.BuildCvsTest) ... ok
converted 'http://netfilter.org/projects/iptables/files/iptables-1.4.13.tar.bz2' (ANSI_X3.4-1968) -> 'http://netfilter.org/projects/iptables/files/iptables-1.4.13.tar.bz2' (UTF-8)
--2015-09-22 11:56:59-- http://netfilter.org/projects/iptables/files/iptables-1.4.13.tar.bz2
Resolving netfilter.org (netfilter.org)... 150.214.142.167
Connecting to netfilter.org (netfilter.org)|150.214.142.167|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 502942 (491K) [application/x-bzip2]
Saving to: '/tmp/iptables-1.4.13.tar.bz2'
0K .......... .......... .......... .......... .......... 10% 107K 4s
50K .......... .......... .......... .......... .......... 20% 107K 4s
100K .......... .......... .......... .......... .......... 30% 106K 3s
150K .......... .......... .......... .......... .......... 40% 219K 2s
200K .......... .......... .......... .......... .......... 50% 213K 2s
250K .......... .......... .......... .......... .......... 61% 214K 1s
300K .......... .......... .......... .......... .......... 71% 213K 1s
350K .......... .......... .......... .......... .......... 81% 214K 1s
400K .......... .......... .......... .......... .......... 91% 214K 0s
450K .......... .......... .......... .......... . 100% 38.5M=2.8s
2015-09-22 11:57:03 (175 KB/s) - '/tmp/iptables-1.4.13.tar.bz2' saved [502942/502942]
test_iptables (oeqa.runtime.buildiptables.BuildIptablesTest) ... ok
converted 'http://downloads.sourceforge.net/project/sudoku-savant/sudoku-savant/sudoku-savant-1.3/sudoku-savant-1.3.tar.bz2' (ANSI_X3.4-1968) -> 'http://downloads.sourceforge.net/project/sudoku-savant/sudoku-savant/sudoku-savant-1.3/sudoku-savant-1.3.tar.bz2' (UTF-8)
--2015-09-22 12:12:45-- http://downloads.sourceforge.net/project/sudoku-savant/sudoku-savant/sudoku-savant-1.3/sudoku-savant-1.3.tar.bz2
Resolving downloads.sourceforge.net (downloads.sourceforge.net)... 216.34.181.59
Connecting to downloads.sourceforge.net (downloads.sourceforge.net)|216.34.181.59|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://iweb.dl.sourceforge.net/project/sudoku-savant/sudoku-savant/sudoku-savant-1.3/sudoku-savant-1.3.tar.bz2 [following]
converted 'http://iweb.dl.sourceforge.net/project/sudoku-savant/sudoku-savant/sudoku-savant-1.3/sudoku-savant-1.3.tar.bz2' (ANSI_X3.4-1968) -> 'http://iweb.dl.sourceforge.net/project/sudoku-savant/sudoku-savant/sudoku-savant-1.3/sudoku-savant-1.3.tar.bz2' (UTF-8)
--2015-09-22 12:12:46-- http://iweb.dl.sourceforge.net/project/sudoku-savant/sudoku-savant/sudoku-savant-1.3/sudoku-savant-1.3.tar.bz2
Resolving iweb.dl.sourceforge.net (iweb.dl.sourceforge.net)... 70.38.0.134, 2607:f748:10:12::5f:2
Connecting to iweb.dl.sourceforge.net (iweb.dl.sourceforge.net)|70.38.0.134|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 236435 (231K) [application/octet-stream]
Saving to: '/tmp/sudoku-savant-1.3.tar.bz2'
0K .......... .......... .......... .......... .......... 21% 128K 1s
50K .......... .......... .......... .......... .......... 43% 321K 1s
100K .......... .......... .......... .......... .......... 64% 322K 0s
150K .......... .......... .......... .......... .......... 86% 640K 0s
200K .......... .......... .......... 100% 51.9M=0.8s
2015-09-22 12:12:47 (296 KB/s) - '/tmp/sudoku-savant-1.3.tar.bz2' saved [236435/236435]
test_sudoku (oeqa.runtime.buildsudoku.SudokuTest) ... ok
test_connmand_help (oeqa.runtime.connman.ConnmanTest) ... ok
test_connmand_running (oeqa.runtime.connman.ConnmanTest) ... ok
test_only_one_connmand_in_background (oeqa.runtime.connman.ConnmanTest) ... ok
test_date (oeqa.runtime.date.DateTest) ... ok
test_df (oeqa.runtime.df.DfTest) ... ok
test_gcc_compile (oeqa.runtime.gcc.GccCompileTest) ... ok
test_gpp2_compile (oeqa.runtime.gcc.GccCompileTest) ... ok
test_gpp_compile (oeqa.runtime.gcc.GccCompileTest) ... ok
test_make (oeqa.runtime.gcc.GccCompileTest) ... ok
test_kernel_module (oeqa.runtime.kernelmodule.KernelModuleTest) ... ok
test_ldd_exists (oeqa.runtime.ldd.LddTest) ... ok
test_ldd_rtldlist_check (oeqa.runtime.ldd.LddTest) ... ok
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_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) ... ok
test_smart_remove_package (oeqa.runtime.smart.SmartRepoTest) ... FAIL
test_smart_remove_package dump data stored in /tmp/oe-saved-tests/201509221327_test_smart_remove_package
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_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'
test_syslog_startup_config dump data stored in /tmp/oe-saved-tests/201509221337_test_syslog_startup_config
test_1_logrotate_setup (oeqa.runtime.logrotate.LogrotateTest) ... ok
test_2_logrotate (oeqa.runtime.logrotate.LogrotateTest) ... ok
======================================================================
FAIL: test_smart_remove_package (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 102, in wrapped_f
return func(*args)
File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-ppc-lsb/build/meta/lib/oeqa/utils/decorators.py", line 90, in wrapped_f
return f(*args)
File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-ppc-lsb/build/meta/lib/oeqa/runtime/smart.py", line 174, in test_smart_remove_package
self.smart('install -y psplash')
File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-ppc-lsb/build/meta/lib/oeqa/utils/decorators.py", line 90, in wrapped_f
return f(*args)
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 install -y psplash
Loading cache...
Updating cache... ######################################## [100%]
Computing transaction...
Installing packages (2):
psplash-0.1+git0+14c8f7b705-r15@ppc7400
psplash-default-0.1+git0+14c8f7b705-r15@ppc7400
30.8kB of package files are needed. 143.3kB will be used.
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/install.py", line 207, in main
ctrl.commitTransaction(trans, confirm=confirm)
File "/usr/lib/python2.7/site-packages/smart/control.py", line 681, in commitTransaction
return self.commitChangeSet(trans.getChangeSet(), caching, confirm)
File "/usr/lib/python2.7/site-packages/smart/control.py", line 749, in commitChangeSet
pmclass().commit(pmcs, pkgpaths)
File "/usr/lib/python2.7/site-packages/smart/backends/rpm/pm.py", line 179, in commit
fd = os.open(path, os.O_RDONLY)
TypeError: coercing to Unicode: need string or buffer, NoneType found
Unhandled exception in thread started by
sys.excepthook is missing
lost sys.stderr
Unhandled exception in thread started by
sys.excepthook is missing
lost sys.stderr
----------------------------------------------------------------------
Ran 58 tests in 8019.105s
FAILED (failures=1, skipped=1)
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-sdk - FAILED - check the task log and the ssh log