Advertisement
RobertBerger

log.do_clean.46980

Mar 18th, 2021
279
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.78 KB | None | 0 0
  1. DEBUG: Executing python function do_clean
  2. NOTE: Removing /workdir/build/imx6ul-phytec-segin-virt-telegraf-wic-master/tmp/work/armv7at2hf-vfp-resy-linux-gnueabi/github.com-influxdata-telegraf/1.18.0-r0
  3. ERROR: Error executing a python function in exec_python_func() autogenerated:
  4.  
  5. The stack trace of python calls that resulted in this exception/failure was:
  6. File: 'exec_python_func() autogenerated', lineno: 2, function: <module>
  7. 0001:
  8. *** 0002:do_clean(d)
  9. 0003:
  10. File: '/workdir/sources/poky-master/meta/classes/utility-tasks.bbclass', lineno: 29, function: do_clean
  11. 0025:python do_clean() {
  12. 0026: """clear the build and temp directories"""
  13. 0027: dir = d.expand("${WORKDIR}")
  14. 0028: bb.note("Removing " + dir)
  15. *** 0029: oe.path.remove(dir)
  16. 0030:
  17. 0031: dir = "%s.*" % d.getVar('STAMP')
  18. 0032: bb.note("Removing " + dir)
  19. 0033: oe.path.remove(dir)
  20. File: '/workdir/sources/poky-master/meta/lib/oe/path.py', lineno: 158, function: remove
  21. 0154: try:
  22. 0155: os.unlink(name)
  23. 0156: except OSError as exc:
  24. 0157: if recurse and exc.errno == errno.EISDIR:
  25. *** 0158: shutil.rmtree(name)
  26. 0159: elif exc.errno != errno.ENOENT:
  27. 0160: raise
  28. 0161:
  29. 0162:def symlink(source, destination, force=False):
  30. File: '/usr/lib/python3.6/shutil.py', lineno: 486, function: rmtree
  31. 0482: onerror(os.lstat, path, sys.exc_info())
  32. 0483: return
  33. 0484: try:
  34. 0485: if os.path.samestat(orig_st, os.fstat(fd)):
  35. *** 0486: _rmtree_safe_fd(fd, path, onerror)
  36. 0487: try:
  37. 0488: os.rmdir(path)
  38. 0489: except OSError:
  39. 0490: onerror(os.rmdir, path, sys.exc_info())
  40. File: '/usr/lib/python3.6/shutil.py', lineno: 424, function: _rmtree_safe_fd
  41. 0420: onerror(os.open, fullname, sys.exc_info())
  42. 0421: else:
  43. 0422: try:
  44. 0423: if os.path.samestat(orig_st, os.fstat(dirfd)):
  45. *** 0424: _rmtree_safe_fd(dirfd, fullname, onerror)
  46. 0425: try:
  47. 0426: os.rmdir(name, dir_fd=topfd)
  48. 0427: except OSError:
  49. 0428: onerror(os.rmdir, fullname, sys.exc_info())
  50. File: '/usr/lib/python3.6/shutil.py', lineno: 424, function: _rmtree_safe_fd
  51. 0420: onerror(os.open, fullname, sys.exc_info())
  52. 0421: else:
  53. 0422: try:
  54. 0423: if os.path.samestat(orig_st, os.fstat(dirfd)):
  55. *** 0424: _rmtree_safe_fd(dirfd, fullname, onerror)
  56. 0425: try:
  57. 0426: os.rmdir(name, dir_fd=topfd)
  58. 0427: except OSError:
  59. 0428: onerror(os.rmdir, fullname, sys.exc_info())
  60. File: '/usr/lib/python3.6/shutil.py', lineno: 424, function: _rmtree_safe_fd
  61. 0420: onerror(os.open, fullname, sys.exc_info())
  62. 0421: else:
  63. 0422: try:
  64. 0423: if os.path.samestat(orig_st, os.fstat(dirfd)):
  65. *** 0424: _rmtree_safe_fd(dirfd, fullname, onerror)
  66. 0425: try:
  67. 0426: os.rmdir(name, dir_fd=topfd)
  68. 0427: except OSError:
  69. 0428: onerror(os.rmdir, fullname, sys.exc_info())
  70. File: '/usr/lib/python3.6/shutil.py', lineno: 424, function: _rmtree_safe_fd
  71. 0420: onerror(os.open, fullname, sys.exc_info())
  72. 0421: else:
  73. 0422: try:
  74. 0423: if os.path.samestat(orig_st, os.fstat(dirfd)):
  75. *** 0424: _rmtree_safe_fd(dirfd, fullname, onerror)
  76. 0425: try:
  77. 0426: os.rmdir(name, dir_fd=topfd)
  78. 0427: except OSError:
  79. 0428: onerror(os.rmdir, fullname, sys.exc_info())
  80. File: '/usr/lib/python3.6/shutil.py', lineno: 424, function: _rmtree_safe_fd
  81. 0420: onerror(os.open, fullname, sys.exc_info())
  82. 0421: else:
  83. 0422: try:
  84. 0423: if os.path.samestat(orig_st, os.fstat(dirfd)):
  85. *** 0424: _rmtree_safe_fd(dirfd, fullname, onerror)
  86. 0425: try:
  87. 0426: os.rmdir(name, dir_fd=topfd)
  88. 0427: except OSError:
  89. 0428: onerror(os.rmdir, fullname, sys.exc_info())
  90. File: '/usr/lib/python3.6/shutil.py', lineno: 444, function: _rmtree_safe_fd
  91. 0440: else:
  92. 0441: try:
  93. 0442: os.unlink(name, dir_fd=topfd)
  94. 0443: except OSError:
  95. *** 0444: onerror(os.unlink, fullname, sys.exc_info())
  96. 0445:
  97. 0446:_use_fd_functions = ({os.open, os.stat, os.unlink, os.rmdir} <=
  98. 0447: os.supports_dir_fd and
  99. 0448: os.listdir in os.supports_fd and
  100. File: '/usr/lib/python3.6/shutil.py', lineno: 442, function: _rmtree_safe_fd
  101. 0438: finally:
  102. 0439: os.close(dirfd)
  103. 0440: else:
  104. 0441: try:
  105. *** 0442: os.unlink(name, dir_fd=topfd)
  106. 0443: except OSError:
  107. 0444: onerror(os.unlink, fullname, sys.exc_info())
  108. 0445:
  109. 0446:_use_fd_functions = ({os.open, os.stat, os.unlink, os.rmdir} <=
  110. Exception: PermissionError: [Errno 13] Permission denied: 'trace_nongo11.go'
  111.  
  112. DEBUG: Python function do_clean finished
  113.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement