Advertisement
Guest User

Untitled

a guest
Feb 9th, 2017
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.61 KB | None | 0 0
  1. ak@kanavin-desktop:~/development/poky/build$ oe-selftest -r wic.Wic.test_iso_image
  2. 2017-02-09 13:40:53,916 - selftest - INFO - Running bitbake -e to get BBPATH
  3. 2017-02-09 13:40:58,357 - selftest - INFO - Checking that everything is in order before running the tests
  4. 2017-02-09 13:41:07,692 - selftest - INFO - Running bitbake -p
  5. 2017-02-09 13:41:13,121 - selftest - INFO - test runner init'ed like unittest
  6. 2017-02-09 13:41:17,718 - selftest - INFO - Loading tests from: oeqa.selftest.wic.Wic.test_iso_image
  7. 2017-02-09 13:41:17,720 - selftest - INFO - Adding: "include selftest.inc" in local.conf
  8. 2017-02-09 13:41:17,721 - selftest - INFO - Adding: "include bblayers.inc" in bblayers.conf
  9. 2017-02-09 13:41:17 - test_iso_image (oeqa.selftest.wic.Wic)
  10. Test creation of hybrid iso image with legacy and EFI boot ... FAIL
  11.  
  12. ======================================================================
  13. FAIL: test_iso_image (oeqa.selftest.wic.Wic)
  14. Test creation of hybrid iso image with legacy and EFI boot
  15. ----------------------------------------------------------------------
  16. Traceback (most recent call last):
  17. File "/home/ak/development/poky/meta/lib/oeqa/utils/decorators.py", line 109, in wrapped_f
  18. return func(*args, **kwargs)
  19. File "/home/ak/development/poky/meta/lib/oeqa/selftest/wic.py", line 159, in test_iso_image
  20. self.assertEqual(0, runCmd(cmd).status)
  21. File "/home/ak/development/poky/meta/lib/oeqa/utils/commands.py", line 121, in runCmd
  22. raise AssertionError("Command '%s' returned non-zero exit status %d:\n%s" % (command, result.status, result.output))
  23. AssertionError: Command 'wic create mkhybridiso --image-name core-image-minimal -o /var/tmp/wic.oe-selftest/' returned non-zero exit status 1:
  24. Checking basic build environment...
  25. Done.
  26.  
  27. Creating image(s)...
  28.  
  29. Traceback (most recent call last):
  30. File "/home/ak/development/poky/scripts/wic", line 325, in <module>
  31. sys.exit(main(sys.argv[1:]))
  32. File "/home/ak/development/poky/scripts/wic", line 320, in main
  33. return hlp.invoke_subcommand(args, parser, hlp.wic_help_usage, subcommands)
  34. File "/home/ak/development/poky/scripts/lib/wic/help.py", line 95, in invoke_subcommand
  35. subcommands.get(args[0], subcommand_error)[0](args[1:], usage)
  36. File "/home/ak/development/poky/scripts/wic", line 253, in wic_create_subcommand
  37. native_sysroot, scripts_path, options)
  38. File "/home/ak/development/poky/scripts/lib/wic/engine.py", line 200, in wic_create
  39. plugin.do_create()
  40. File "/home/ak/development/poky/scripts/lib/wic/plugins/imager/direct.py", line 103, in do_create
  41. self.create()
  42. File "/home/ak/development/poky/scripts/lib/wic/plugins/imager/direct.py", line 255, in create
  43. self.bootimg_dir, self.kernel_dir, self.native_sysroot)
  44. File "/home/ak/development/poky/scripts/lib/wic/partition.py", line 181, in prepare
  45. kernel_dir, rootfs_dir, native_sysroot)
  46. File "/home/ak/development/poky/scripts/lib/wic/plugins/source/isoimage-isohybrid.py", line 295, in do_prepare_partition
  47. initrd = cls._build_initramfs_path(rootfs_dir, cr_workdir)
  48. File "/home/ak/development/poky/scripts/lib/wic/plugins/source/isoimage-isohybrid.py", line 165, in _build_initramfs_path
  49. initrd = glob.glob('%s/%s*%s.%s' % (initrd_dir, image_name, target_arch, image_type))[0]
  50. IndexError: list index out of range
  51.  
  52. ----------------------------------------------------------------------
  53. Ran 1 test in 162.888s
  54.  
  55. FAILED (failures=1)
  56. 2017-02-09 13:44:00,610 - selftest - INFO - Finished
  57. 2017-02-09 13:44:00,610 - selftest - INFO - Removing the include from local.conf
  58. 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