DEBUG: Executing python function do_testimage
WARNING: Test test_syslog_running (oeqa.runtime.syslog.SyslogTest) was declared as @skipUnlessPassed('test_syslog_help') but that test is either not defined or not active. Will run the test anyway.
NOTE: rootfs file:  /tmp/work/qemuppc-poky-linux/core-image-lsb-sdk/1.0-r0/testimage/core-image-lsb-sdk-qemuppc-testimage.ext4
NOTE: Qemu log file:  /tmp/work/qemuppc-poky-linux/core-image-lsb-sdk/1.0-r0/testimage/qemu_boot_log.20160617010742
NOTE: SSH log file:  /tmp/work/qemuppc-poky-linux/core-image-lsb-sdk/1.0-r0/testimage/ssh_target_log.20160617010742
NOTE: Created listening socket for qemu serial console on: 127.0.0.1:55254
NOTE: Created listening socket for qemu serial console on: 127.0.0.1:55344
NOTE: runqemu started, pid is 24681
NOTE: waiting at most 60 seconds for qemu pid
NOTE: qemu started - qemu procces pid is 24745
NOTE: qemu cmdline used:
 /tmp/sysroots/x86_64-linux/usr/bin/qemu-system-ppc-kernel /tmp/deploy/images/qemuppc/vmlinux-qemuppc.bin-netnic,model=pcnet-nettap,vlan=0,ifname=tap1,script=no,downscript=no-cpuG4-Mmac99-drivefile= /tmp/work/qemuppc-poky-linux/core-image-lsb-sdk/1.0-r0/testimage/core-image-lsb-sdk-qemuppc-testimage.ext4,if=virtio,format=raw-no-reboot-show-cursor-usb-usbdevicetablet-no-reboot-serialtcp:127.0.0.1:55254-m256-serialtcp:127.0.0.1:55344-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: [ /tmp/deploy/images/qemuppc/vmlinux-qemuppc.bin]
ROOTFS: [ /tmp/work/qemuppc-poky-linux/core-image-lsb-sdk/1.0-r0/testimage/core-image-lsb-sdk-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...
 /tmp/sysroots/x86_64-linux/usr/bin/qemu-system-ppc -kernel  /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= /tmp/work/qemuppc-poky-linux/core-image-lsb-sdk/1.0-r0/testimage/core-image-lsb-sdk-qemuppc-testimage.ext4,if=virtio,format=raw -no-reboot -show-cursor -usb -usbdevice tablet -no-reboot -serial tcp:127.0.0.1:55254 -m 256 -serial tcp:127.0.0.1:55344 -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:53707
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.buildcvs', 'oeqa.runtime.buildiptables', 'oeqa.runtime.buildsudoku', 'oeqa.runtime.connman', 'oeqa.runtime.gcc', 'oeqa.runtime.kernelmodule', 'oeqa.runtime.ldd', 'oeqa.runtime.pam', 'oeqa.runtime.perl', 'oeqa.runtime.python', 'oeqa.runtime.parselogs', 'oeqa.runtime.smart', 'oeqa.runtime.rpm']
NOTE: Found 55 tests
test_ping (oeqa.runtime.ping.PingTest) ... 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_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_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_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_cvs (oeqa.runtime.buildcvs.BuildCvsTest) ... ok
--2016-06-17 01:49:30--  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%  120K 4s
    50K .......... .......... .......... .......... .......... 20%  240K 2s
   100K .......... .......... .......... .......... .......... 30%  104M 1s
   150K .......... .......... .......... .......... .......... 40%  110M 1s
   200K .......... .......... .......... .......... .......... 50%  241K 1s
   250K .......... .......... .......... .......... .......... 61%  110M 1s
   300K .......... .......... .......... .......... .......... 71%  107M 0s
   350K .......... .......... .......... .......... .......... 81% 91.2M 0s
   400K .......... .......... .......... .......... .......... 91%  243K 0s
   450K .......... .......... .......... .......... .         100% 64.0M=1.0s

2016-06-17 01:49:31 (472 KB/s) - ‘/tmp/iptables-1.4.13.tar.bz2’ saved [502942/502942]

test_iptables (oeqa.runtime.buildiptables.BuildIptablesTest) ... ok
test_sudoku (oeqa.runtime.buildsudoku.SudokuTest) ... ok
test_connmand_help (oeqa.runtime.connman.ConnmanTest) ... ok
test_connmand_running (oeqa.runtime.connman.ConnmanTest) ... 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) ... 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
Machine information: 
*******************************
Machine name: qemuppc
CPU: 
Arch: ppc
Physical cores: 
Logical cores: 1
*******************************

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) ... 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) ... ok
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

======================================================================
FAIL: test_smart_channel_add (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 109, in wrapped_f
    return func(*args, **kwargs)
  File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-ppc-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-ppc-lsb/build/meta/lib/oeqa/utils/decorators.py", line 97, 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 'ppc7400'...
                                                                               
-> http://192.168.7.3:46935/rpm/ppc7400/repodata/repomd.xml
repomd.xml                      ######################################## [ 16%]
                                                                               
-> http://192.168.7.3:46935/rpm/ppc7400/repodata/primary.xml.gz
primary.xml.gz                  ######################################## [ 25%]
                                                                               
-> http://192.168.7.3:46935/rpm/ppc7400/repodata/filelists.xml.gz
filelists.xml.gz                ######################################## [ 33%]
Traceback (most recent call last):
  File "/usr/bin/smart", line 200, in <module>
                                                                                   
Fetching information for 'all'...
                                                                               
-> http://192.168.7.3:46935/rpm/all/repodata/repomd.xml
repomd.xml                      ######################################## [ 50%]
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

----------------------------------------------------------------------
Ran 55 tests in 6363.322s

FAILED (failures=1, skipped=8)
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

Error details

Submitted on:
16/06/16 22:24
Error type:
Recipe
Task:
do_testimage
Recipe:
core-image-lsb-sdk
Recipe version:
1.0-r0
Machine:
qemuppc
Distro:
poky-lsb
Build system:
x86_64-linux
Target system:
powerpc-poky-linux
Host distro:
universal
Branch:
heads/master
Commit:
ce5523bf52799f393a62c164a33e477db507f1a8
View commit
Build:
#17445
Submitter:
production-yocto-autobuilder-opensuse421
Link back:
http://autobuilder.yoctoproject.org/main/builders/nightly-ppc-lsb/builds/810
Similar errors:
0
Open a bug