DEBUG: Executing python function do_testimage
NOTE: Created listening socket for qemu serial console on: 127.0.0.1:58848
NOTE: rootfs file: /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-mips/build/build/tmp/work/qemumips-poky-linux/core-image-sato/1.0-r0/testimage/core-image-sato-qemumips-testimage.ext4
NOTE: Qemu log file: /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-mips/build/build/tmp/work/qemumips-poky-linux/core-image-sato/1.0-r0/testimage/qemu_boot_log.20150826223642
NOTE: SSH log file: /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-mips/build/build/tmp/work/qemumips-poky-linux/core-image-sato/1.0-r0/testimage/ssh_target_log.20150826223642
NOTE: runqemu started, pid is 12420
NOTE: waiting at most 60 seconds for qemu pid
NOTE: qemu started - qemu procces pid is 12561
NOTE: Target IP: 192.168.7.32
NOTE: Server IP: 192.168.7.31
NOTE: Waiting at most 1500 seconds for login banner
NOTE: Connection from 127.0.0.1:35616
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_query_nonroot (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 45 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) ... 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) ... 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-mips/build/meta/lib/oeqa/utils/decorators.py", line 97, in wrapped_f
    return func(*args)
  File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-mips/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-mips/build/meta/lib/oeqa/utils/decorators.py", line 86, in wrapped_f
    return f(*args)
  File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-mips/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 'mips32r2'...
                                                                               
-> http://192.168.7.31:42192/rpm/mips32r2/repodata/repomd.xml
repomd.xml                      ######################################## [ 16%]
                                                                               
-> http://192.168.7.31:42192/rpm/mips32r2/repodata/primary.xml.gz
primary.xml.gz                  ######################################## [ 25%]
                                                                               
-> http://192.168.7.31:42192/rpm/mips32r2/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

----------------------------------------------------------------------
Ran 45 tests in 4166.073s

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

Error details

Submitted on:
26/08/15 21:14
Error type:
Recipe
Task:
do_testimage
Recipe:
core-image-sato
Recipe version:
1.0-r0
Machine:
qemumips
Distro:
poky
Build system:
x86_64-linux
Target system:
mips-poky-linux
Host distro:
Fedora-21
Branch:
sgw/fido+
Commit:
ef35b6190ea6576897fba0363f67f034cb15acc8
Build:
#8318
Submitter:
yocto-autobuilder-autogenerated-fedora21.osl.yocto
Link back:
http://autobuilder.yoctoproject.org/main/builders/nightly-mips/builds/472
Similar errors:
6
Open a bug