Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ak@kanavin-desktop:~/development/poky/build$ oe-selftest -r wic.Wic.test_iso_image
- 2017-02-09 13:40:53,916 - selftest - INFO - Running bitbake -e to get BBPATH
- 2017-02-09 13:40:58,357 - selftest - INFO - Checking that everything is in order before running the tests
- 2017-02-09 13:41:07,692 - selftest - INFO - Running bitbake -p
- 2017-02-09 13:41:13,121 - selftest - INFO - test runner init'ed like unittest
- 2017-02-09 13:41:17,718 - selftest - INFO - Loading tests from: oeqa.selftest.wic.Wic.test_iso_image
- 2017-02-09 13:41:17,720 - selftest - INFO - Adding: "include selftest.inc" in local.conf
- 2017-02-09 13:41:17,721 - selftest - INFO - Adding: "include bblayers.inc" in bblayers.conf
- 2017-02-09 13:41:17 - test_iso_image (oeqa.selftest.wic.Wic)
- Test creation of hybrid iso image with legacy and EFI boot ... FAIL
- ======================================================================
- FAIL: test_iso_image (oeqa.selftest.wic.Wic)
- Test creation of hybrid iso image with legacy and EFI boot
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/home/ak/development/poky/meta/lib/oeqa/utils/decorators.py", line 109, in wrapped_f
- return func(*args, **kwargs)
- File "/home/ak/development/poky/meta/lib/oeqa/selftest/wic.py", line 159, in test_iso_image
- self.assertEqual(0, runCmd(cmd).status)
- File "/home/ak/development/poky/meta/lib/oeqa/utils/commands.py", line 121, in runCmd
- raise AssertionError("Command '%s' returned non-zero exit status %d:\n%s" % (command, result.status, result.output))
- AssertionError: Command 'wic create mkhybridiso --image-name core-image-minimal -o /var/tmp/wic.oe-selftest/' returned non-zero exit status 1:
- Checking basic build environment...
- Done.
- Creating image(s)...
- Traceback (most recent call last):
- File "/home/ak/development/poky/scripts/wic", line 325, in <module>
- sys.exit(main(sys.argv[1:]))
- File "/home/ak/development/poky/scripts/wic", line 320, in main
- return hlp.invoke_subcommand(args, parser, hlp.wic_help_usage, subcommands)
- File "/home/ak/development/poky/scripts/lib/wic/help.py", line 95, in invoke_subcommand
- subcommands.get(args[0], subcommand_error)[0](args[1:], usage)
- File "/home/ak/development/poky/scripts/wic", line 253, in wic_create_subcommand
- native_sysroot, scripts_path, options)
- File "/home/ak/development/poky/scripts/lib/wic/engine.py", line 200, in wic_create
- plugin.do_create()
- File "/home/ak/development/poky/scripts/lib/wic/plugins/imager/direct.py", line 103, in do_create
- self.create()
- File "/home/ak/development/poky/scripts/lib/wic/plugins/imager/direct.py", line 255, in create
- self.bootimg_dir, self.kernel_dir, self.native_sysroot)
- File "/home/ak/development/poky/scripts/lib/wic/partition.py", line 181, in prepare
- kernel_dir, rootfs_dir, native_sysroot)
- File "/home/ak/development/poky/scripts/lib/wic/plugins/source/isoimage-isohybrid.py", line 295, in do_prepare_partition
- initrd = cls._build_initramfs_path(rootfs_dir, cr_workdir)
- File "/home/ak/development/poky/scripts/lib/wic/plugins/source/isoimage-isohybrid.py", line 165, in _build_initramfs_path
- initrd = glob.glob('%s/%s*%s.%s' % (initrd_dir, image_name, target_arch, image_type))[0]
- IndexError: list index out of range
- ----------------------------------------------------------------------
- Ran 1 test in 162.888s
- FAILED (failures=1)
- 2017-02-09 13:44:00,610 - selftest - INFO - Finished
- 2017-02-09 13:44:00,610 - selftest - INFO - Removing the include from local.conf
- 2017-02-09 13:44:00,611 - selftest - INFO - Removing the include from bblayers.conf
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement