Advertisement
Guest User

Untitled

a guest
Sep 30th, 2022
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.76 KB | None | 0 0
  1. ERROR: ep-dev-image-eaf-core-usb-update-1.0-r0 do_image_complete: Error executing a python function in exec_func_python() autogenerated:
  2.  
  3. The stack trace of python calls that resulted in this exception/failure was:
  4. File: 'exec_func_python() autogenerated', lineno: 2, function: <module>
  5. 0001:
  6. *** 0002:do_image_complete(d)
  7. 0003:
  8. File: '/home/user/Workspace/Yocto/my-machine/sources/poky/meta/classes/image.bbclass', lineno: 275, function: do_image_complete
  9. 0271: from oe.utils import execute_pre_post_process
  10. 0272:
  11. 0273: post_process_cmds = d.getVar("IMAGE_POSTPROCESS_COMMAND")
  12. 0274:
  13. *** 0275: execute_pre_post_process(d, post_process_cmds)
  14. 0276:}
  15. 0277:do_image_complete[dirs] = "${TOPDIR}"
  16. 0278:SSTATETASKS += "do_image_complete"
  17. 0279:SSTATE_SKIP_CREATION:task-image-complete = '1'
  18. File: '/home/user/Workspace/Yocto/my-machine/sources/poky/meta/lib/oe/utils.py', lineno: 263, function: execute_pre_post_process
  19. 0259: for cmd in cmds.strip().split(';'):
  20. 0260: cmd = cmd.strip()
  21. 0261: if cmd != '':
  22. 0262: bb.note("Executing %s ..." % cmd)
  23. *** 0263: bb.build.exec_func(cmd, d)
  24. 0264:
  25. 0265:# For each item in items, call the function 'target' with item as the first
  26. 0266:# argument, extraargs as the other arguments and handle any exceptions in the
  27. 0267:# parent thread
  28. File: '/home/user/Workspace/Yocto/my-machine/sources/poky/bitbake/lib/bb/build.py', lineno: 256, function: exec_func
  29. 0252: with bb.utils.fileslocked(lockfiles):
  30. 0253: if ispython:
  31. 0254: exec_func_python(func, d, runfile, cwd=adir)
  32. 0255: else:
  33. *** 0256: exec_func_shell(func, d, runfile, cwd=adir)
  34. 0257:
  35. 0258: try:
  36. 0259: curcwd = os.getcwd()
  37. 0260: except:
  38. File: '/home/user/Workspace/Yocto/my-machine/sources/poky/bitbake/lib/bb/build.py', lineno: 507, function: exec_func_shell
  39. 0503: with open(fifopath, 'r+b', buffering=0) as fifo:
  40. 0504: try:
  41. 0505: bb.debug(2, "Executing shell function %s" % func)
  42. 0506: with open(os.devnull, 'r+') as stdin, logfile:
  43. *** 0507: bb.process.run(cmd, shell=False, stdin=stdin, log=logfile, extrafiles=[(fifo,readfifo)])
  44. 0508: except bb.process.ExecutionError as exe:
  45. 0509: # Find the backtrace that the shell trap generated
  46. 0510: backtrace_marker_regex = re.compile(r"WARNING: Backtrace \(BB generated script\)")
  47. 0511: stdout_lines = (exe.stdout or "").split("\n")
  48. File: '/home/user/Workspace/Yocto/my-machine/sources/poky/bitbake/lib/bb/process.py', lineno: 186, function: run
  49. 0182:
  50. 0183: if pipe.returncode != 0:
  51. 0184: if log:
  52. 0185: # Don't duplicate the output in the exception if logging it
  53. *** 0186: raise ExecutionError(cmd, pipe.returncode, None, None)
  54. 0187: raise ExecutionError(cmd, pipe.returncode, stdout, stderr)
  55. 0188: return stdout, stderr
  56. Exception: bb.process.ExecutionError: Execution of '/home/user/Workspace/Yocto/my-machine/build/tmp/work/my-machine-fslc-linux/ep-dev-image-eaf-core-usb-update/1.0-r0/temp/run.eaf_deploy_update_firmware_image.20789' failed with exit code 1
  57.  
  58. ERROR: Logfile of failure stored in: /home/user/Workspace/Yocto/my-machine/build/tmp/work/my-machine-fslc-linux/ep-dev-image-eaf-core-usb-update/1.0-r0/temp/log.do_image_complete.20789
  59. ERROR: Task (/home/user/Workspace/Yocto/my-machine/sources/meta-custom/recipes-custom/images/ep-dev-image-eaf-core-usb-update.bb:do_image_complete) failed with exit code '1'
  60. NOTE: Tasks Summary: Attempted 5648 tasks of which 5632 didn't need to be rerun and 1 failed.
  61. NOTE: Writing buildhistory
  62. NOTE: Writing buildhistory took: 2 seconds
  63.  
  64. Summary: 1 task failed:
  65. /home/user/Workspace/Yocto/my-machine/sources/meta-custom/recipes-custom/images/ep-dev-image-eaf-core-usb-update.bb:do_image_complete
  66. Summary: There was 1 ERROR message shown, returning a non-zero exit code.
  67.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement