Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- DEBUG: Executing python function do_clean
- 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
- ERROR: Error executing a python function in exec_python_func() autogenerated:
- The stack trace of python calls that resulted in this exception/failure was:
- File: 'exec_python_func() autogenerated', lineno: 2, function: <module>
- 0001:
- *** 0002:do_clean(d)
- 0003:
- File: '/workdir/sources/poky-master/meta/classes/utility-tasks.bbclass', lineno: 29, function: do_clean
- 0025:python do_clean() {
- 0026: """clear the build and temp directories"""
- 0027: dir = d.expand("${WORKDIR}")
- 0028: bb.note("Removing " + dir)
- *** 0029: oe.path.remove(dir)
- 0030:
- 0031: dir = "%s.*" % d.getVar('STAMP')
- 0032: bb.note("Removing " + dir)
- 0033: oe.path.remove(dir)
- File: '/workdir/sources/poky-master/meta/lib/oe/path.py', lineno: 158, function: remove
- 0154: try:
- 0155: os.unlink(name)
- 0156: except OSError as exc:
- 0157: if recurse and exc.errno == errno.EISDIR:
- *** 0158: shutil.rmtree(name)
- 0159: elif exc.errno != errno.ENOENT:
- 0160: raise
- 0161:
- 0162:def symlink(source, destination, force=False):
- File: '/usr/lib/python3.6/shutil.py', lineno: 486, function: rmtree
- 0482: onerror(os.lstat, path, sys.exc_info())
- 0483: return
- 0484: try:
- 0485: if os.path.samestat(orig_st, os.fstat(fd)):
- *** 0486: _rmtree_safe_fd(fd, path, onerror)
- 0487: try:
- 0488: os.rmdir(path)
- 0489: except OSError:
- 0490: onerror(os.rmdir, path, sys.exc_info())
- File: '/usr/lib/python3.6/shutil.py', lineno: 424, function: _rmtree_safe_fd
- 0420: onerror(os.open, fullname, sys.exc_info())
- 0421: else:
- 0422: try:
- 0423: if os.path.samestat(orig_st, os.fstat(dirfd)):
- *** 0424: _rmtree_safe_fd(dirfd, fullname, onerror)
- 0425: try:
- 0426: os.rmdir(name, dir_fd=topfd)
- 0427: except OSError:
- 0428: onerror(os.rmdir, fullname, sys.exc_info())
- File: '/usr/lib/python3.6/shutil.py', lineno: 424, function: _rmtree_safe_fd
- 0420: onerror(os.open, fullname, sys.exc_info())
- 0421: else:
- 0422: try:
- 0423: if os.path.samestat(orig_st, os.fstat(dirfd)):
- *** 0424: _rmtree_safe_fd(dirfd, fullname, onerror)
- 0425: try:
- 0426: os.rmdir(name, dir_fd=topfd)
- 0427: except OSError:
- 0428: onerror(os.rmdir, fullname, sys.exc_info())
- File: '/usr/lib/python3.6/shutil.py', lineno: 424, function: _rmtree_safe_fd
- 0420: onerror(os.open, fullname, sys.exc_info())
- 0421: else:
- 0422: try:
- 0423: if os.path.samestat(orig_st, os.fstat(dirfd)):
- *** 0424: _rmtree_safe_fd(dirfd, fullname, onerror)
- 0425: try:
- 0426: os.rmdir(name, dir_fd=topfd)
- 0427: except OSError:
- 0428: onerror(os.rmdir, fullname, sys.exc_info())
- File: '/usr/lib/python3.6/shutil.py', lineno: 424, function: _rmtree_safe_fd
- 0420: onerror(os.open, fullname, sys.exc_info())
- 0421: else:
- 0422: try:
- 0423: if os.path.samestat(orig_st, os.fstat(dirfd)):
- *** 0424: _rmtree_safe_fd(dirfd, fullname, onerror)
- 0425: try:
- 0426: os.rmdir(name, dir_fd=topfd)
- 0427: except OSError:
- 0428: onerror(os.rmdir, fullname, sys.exc_info())
- File: '/usr/lib/python3.6/shutil.py', lineno: 424, function: _rmtree_safe_fd
- 0420: onerror(os.open, fullname, sys.exc_info())
- 0421: else:
- 0422: try:
- 0423: if os.path.samestat(orig_st, os.fstat(dirfd)):
- *** 0424: _rmtree_safe_fd(dirfd, fullname, onerror)
- 0425: try:
- 0426: os.rmdir(name, dir_fd=topfd)
- 0427: except OSError:
- 0428: onerror(os.rmdir, fullname, sys.exc_info())
- File: '/usr/lib/python3.6/shutil.py', lineno: 444, function: _rmtree_safe_fd
- 0440: else:
- 0441: try:
- 0442: os.unlink(name, dir_fd=topfd)
- 0443: except OSError:
- *** 0444: onerror(os.unlink, fullname, sys.exc_info())
- 0445:
- 0446:_use_fd_functions = ({os.open, os.stat, os.unlink, os.rmdir} <=
- 0447: os.supports_dir_fd and
- 0448: os.listdir in os.supports_fd and
- File: '/usr/lib/python3.6/shutil.py', lineno: 442, function: _rmtree_safe_fd
- 0438: finally:
- 0439: os.close(dirfd)
- 0440: else:
- 0441: try:
- *** 0442: os.unlink(name, dir_fd=topfd)
- 0443: except OSError:
- 0444: onerror(os.unlink, fullname, sys.exc_info())
- 0445:
- 0446:_use_fd_functions = ({os.open, os.stat, os.unlink, os.rmdir} <=
- Exception: PermissionError: [Errno 13] Permission denied: 'trace_nongo11.go'
- DEBUG: Python function do_clean finished
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement