Advertisement
RobertBerger

Untitled

Apr 6th, 2021
252
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.79 KB | None | 0 0
  1. ERROR: github.com-influxdata-telegraf-1.18.0-r0 do_clean: Error executing a python function in exec_python_func() autogenerated:
  2.  
  3. The stack trace of python calls that resulted in this exception/failure was:
  4. File: 'exec_python_func() autogenerated', lineno: 2, function: <module>
  5. 0001:
  6. *** 0002:do_clean(d)
  7. 0003:
  8. File: '/workdir/sources/poky-master/meta/classes/utility-tasks.bbclass', lineno: 29, function: do_clean
  9. 0025:python do_clean() {
  10. 0026: """clear the build and temp directories"""
  11. 0027: dir = d.expand("${WORKDIR}")
  12. 0028: bb.note("Removing " + dir)
  13. *** 0029: oe.path.remove(dir)
  14. 0030:
  15. 0031: dir = "%s.*" % d.getVar('STAMP')
  16. 0032: bb.note("Removing " + dir)
  17. 0033: oe.path.remove(dir)
  18. File: '/workdir/sources/poky-master/meta/lib/oe/path.py', lineno: 158, function: remove
  19. 0154: try:
  20. 0155: os.unlink(name)
  21. 0156: except OSError as exc:
  22. 0157: if recurse and exc.errno == errno.EISDIR:
  23. *** 0158: shutil.rmtree(name)
  24. 0159: elif exc.errno != errno.ENOENT:
  25. 0160: raise
  26. 0161:
  27. 0162:def symlink(source, destination, force=False):
  28. File: '/usr/lib/python3.6/shutil.py', lineno: 486, function: rmtree
  29. 0482: onerror(os.lstat, path, sys.exc_info())
  30. 0483: return
  31. 0484: try:
  32. 0485: if os.path.samestat(orig_st, os.fstat(fd)):
  33. *** 0486: _rmtree_safe_fd(fd, path, onerror)
  34. 0487: try:
  35. 0488: os.rmdir(path)
  36. 0489: except OSError:
  37. 0490: onerror(os.rmdir, path, sys.exc_info())
  38. File: '/usr/lib/python3.6/shutil.py', lineno: 424, function: _rmtree_safe_fd
  39. 0420: onerror(os.open, fullname, sys.exc_info())
  40. 0421: else:
  41. 0422: try:
  42. 0423: if os.path.samestat(orig_st, os.fstat(dirfd)):
  43. *** 0424: _rmtree_safe_fd(dirfd, fullname, onerror)
  44. 0425: try:
  45. 0426: os.rmdir(name, dir_fd=topfd)
  46. 0427: except OSError:
  47. 0428: onerror(os.rmdir, fullname, sys.exc_info())
  48. File: '/usr/lib/python3.6/shutil.py', lineno: 424, function: _rmtree_safe_fd
  49. 0420: onerror(os.open, fullname, sys.exc_info())
  50. 0421: else:
  51. 0422: try:
  52. 0423: if os.path.samestat(orig_st, os.fstat(dirfd)):
  53. *** 0424: _rmtree_safe_fd(dirfd, fullname, onerror)
  54. 0425: try:
  55. 0426: os.rmdir(name, dir_fd=topfd)
  56. 0427: except OSError:
  57. 0428: onerror(os.rmdir, fullname, sys.exc_info())
  58. File: '/usr/lib/python3.6/shutil.py', lineno: 424, function: _rmtree_safe_fd
  59. 0420: onerror(os.open, fullname, sys.exc_info())
  60. 0421: else:
  61. 0422: try:
  62. 0423: if os.path.samestat(orig_st, os.fstat(dirfd)):
  63. *** 0424: _rmtree_safe_fd(dirfd, fullname, onerror)
  64. 0425: try:
  65. 0426: os.rmdir(name, dir_fd=topfd)
  66. 0427: except OSError:
  67. 0428: onerror(os.rmdir, fullname, sys.exc_info())
  68. File: '/usr/lib/python3.6/shutil.py', lineno: 424, function: _rmtree_safe_fd
  69. 0420: onerror(os.open, fullname, sys.exc_info())
  70. 0421: else:
  71. 0422: try:
  72. 0423: if os.path.samestat(orig_st, os.fstat(dirfd)):
  73. *** 0424: _rmtree_safe_fd(dirfd, fullname, onerror)
  74. 0425: try:
  75. 0426: os.rmdir(name, dir_fd=topfd)
  76. 0427: except OSError:
  77. 0428: onerror(os.rmdir, fullname, sys.exc_info())
  78. File: '/usr/lib/python3.6/shutil.py', lineno: 424, function: _rmtree_safe_fd
  79. 0420: onerror(os.open, fullname, sys.exc_info())
  80. 0421: else:
  81. 0422: try:
  82. 0423: if os.path.samestat(orig_st, os.fstat(dirfd)):
  83. *** 0424: _rmtree_safe_fd(dirfd, fullname, onerror)
  84. 0425: try:
  85. 0426: os.rmdir(name, dir_fd=topfd)
  86. 0427: except OSError:
  87. 0428: onerror(os.rmdir, fullname, sys.exc_info())
  88. File: '/usr/lib/python3.6/shutil.py', lineno: 424, function: _rmtree_safe_fd
  89. 0420: onerror(os.open, fullname, sys.exc_info())
  90. 0421: else:
  91. 0422: try:
  92. 0423: if os.path.samestat(orig_st, os.fstat(dirfd)):
  93. *** 0424: _rmtree_safe_fd(dirfd, fullname, onerror)
  94. 0425: try:
  95. 0426: os.rmdir(name, dir_fd=topfd)
  96. 0427: except OSError:
  97. 0428: onerror(os.rmdir, fullname, sys.exc_info())
  98. File: '/usr/lib/python3.6/shutil.py', lineno: 424, function: _rmtree_safe_fd
  99. 0420: onerror(os.open, fullname, sys.exc_info())
  100. 0421: else:
  101. 0422: try:
  102. 0423: if os.path.samestat(orig_st, os.fstat(dirfd)):
  103. *** 0424: _rmtree_safe_fd(dirfd, fullname, onerror)
  104. 0425: try:
  105. 0426: os.rmdir(name, dir_fd=topfd)
  106. 0427: except OSError:
  107. 0428: onerror(os.rmdir, fullname, sys.exc_info())
  108. File: '/usr/lib/python3.6/shutil.py', lineno: 424, function: _rmtree_safe_fd
  109. 0420: onerror(os.open, fullname, sys.exc_info())
  110. 0421: else:
  111. 0422: try:
  112. 0423: if os.path.samestat(orig_st, os.fstat(dirfd)):
  113. *** 0424: _rmtree_safe_fd(dirfd, fullname, onerror)
  114. 0425: try:
  115. 0426: os.rmdir(name, dir_fd=topfd)
  116. 0427: except OSError:
  117. 0428: onerror(os.rmdir, fullname, sys.exc_info())
  118. File: '/usr/lib/python3.6/shutil.py', lineno: 444, function: _rmtree_safe_fd
  119. 0440: else:
  120. 0441: try:
  121. 0442: os.unlink(name, dir_fd=topfd)
  122. 0443: except OSError:
  123. *** 0444: onerror(os.unlink, fullname, sys.exc_info())
  124. 0445:
  125. 0446:_use_fd_functions = ({os.open, os.stat, os.unlink, os.rmdir} <=
  126. 0447: os.supports_dir_fd and
  127. 0448: os.listdir in os.supports_fd and
  128. File: '/usr/lib/python3.6/shutil.py', lineno: 442, function: _rmtree_safe_fd
  129. 0438: finally:
  130. 0439: os.close(dirfd)
  131. 0440: else:
  132. 0441: try:
  133. *** 0442: os.unlink(name, dir_fd=topfd)
  134. 0443: except OSError:
  135. 0444: onerror(os.unlink, fullname, sys.exc_info())
  136. 0445:
  137. 0446:_use_fd_functions = ({os.open, os.stat, os.unlink, os.rmdir} <=
  138. Exception: PermissionError: [Errno 13] Permission denied: 'struct.png'
  139.  
  140. ERROR: Logfile of failure stored in: /workdir/build/container-x86-64-golang-master/tmp/log/cleanlogs/github.com-influxdata-telegraf/log.do_clean.373715
  141. ERROR: Task (/workdir/sources/poky-master/../meta-tig-master/recipes-from-source/github.com-influxdata-telegraf/github.com-influxdata-telegraf_1.18.0.bb:do_clean) failed with exit code '1'
  142. NOTE: Tasks Summary: Attempted 1 tasks of which 0 didn't need to be rerun and 1 failed.
  143. NOTE: The errors for this build are stored in /workdir/build/container-x86-64-golang-master/tmp/log/error-report/error_report_20210406173831.txt
  144. You can send the errors to a reports server by running:
  145. send-error-report /workdir/build/container-x86-64-golang-master/tmp/log/error-report/error_report_20210406173831.txt [-s server]
  146. NOTE: The contents of these logs will be posted in public if you use the above command with the default server. Please ensure you remove any identifying or proprietary information when prompted before sending.
  147. NOTE: Writing buildhistory
  148. NOTE: Writing buildhistory took: 1 seconds
  149.  
  150. Summary: 1 task failed:
  151. /workdir/sources/poky-master/../meta-tig-master/recipes-from-source/github.com-influxdata-telegraf/github.com-influxdata-telegraf_1.18.0.bb:do_clean
  152. Summary: There was 1 WARNING message shown.
  153. Summary: There was 1 ERROR message shown, returning a non-zero exit code.
  154.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement