You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 4, 2021. It is now read-only.
OSX job failing due to permission error on virtualenv folder deletion. This can likely be fixed by deleting the folder manually on the machine but we should figure out why it happened.
I think we've seen that in the past when the previous job was aborted but in this case mini2 seems to have completed the previous builds successfully. Console output below @sloretz (build cop) FYI
WW> Deleting the folder at 'venv'.
Traceback (most recent call last):
File "/usr/local/Cellar/python3/3.6.4_2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/shutil.py", line 436, in _rmtree_safe_fd
os.unlink(name, dir_fd=topfd)
PermissionError: [Errno 13] Permission denied: 'init.py'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "run_ros2_batch.py", line 32, in
sys.exit(main())
File "/Users/osrf/jenkins/workspace/ci_osx/ros2_batch_job/main.py", line 86, in main
return run(args, build_and_test, blacklisted_package_names=blacklisted_package_names)
File "/Users/osrf/jenkins/workspace/ci_osx/ros2_batch_job/main.py", line 379, in run
remove_folder(venv_subfolder)
File "/Users/osrf/jenkins/workspace/ci_osx/ros2_batch_job/util.py", line 114, in remove_folder
shutil.rmtree(path, onerror=del_rw)
File "/usr/local/Cellar/python3/3.6.4_2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/shutil.py", line 480, in rmtree
_rmtree_safe_fd(fd, path, onerror)
File "/usr/local/Cellar/python3/3.6.4_2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/shutil.py", line 418, in _rmtree_safe_fd
_rmtree_safe_fd(dirfd, fullname, onerror)
File "/usr/local/Cellar/python3/3.6.4_2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/shutil.py", line 418, in _rmtree_safe_fd
_rmtree_safe_fd(dirfd, fullname, onerror)
File "/usr/local/Cellar/python3/3.6.4_2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/shutil.py", line 418, in _rmtree_safe_fd
_rmtree_safe_fd(dirfd, fullname, onerror)
File "/usr/local/Cellar/python3/3.6.4_2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/shutil.py", line 438, in _rmtree_safe_fd
onerror(os.unlink, fullname, sys.exc_info())
File "/Users/osrf/jenkins/workspace/ci_osx/ros2_batch_job/util.py", line 112, in del_rw
os.chmod(name, stat.S_IWRITE)
PermissionError: [Errno 1] Operation not permitted: 'venv/lib/python3.6/site-packages/_pytest/init.py'
The text was updated successfully, but these errors were encountered:
OSX job failing due to permission error on virtualenv folder deletion. This can likely be fixed by deleting the folder manually on the machine but we should figure out why it happened.
I think we've seen that in the past when the previous job was aborted but in this case mini2 seems to have completed the previous builds successfully. Console output below
@sloretz (build cop) FYI
WW> Deleting the folder at 'venv'.
Traceback (most recent call last):
File "/usr/local/Cellar/python3/3.6.4_2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/shutil.py", line 436, in _rmtree_safe_fd
os.unlink(name, dir_fd=topfd)
PermissionError: [Errno 13] Permission denied: 'init.py'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "run_ros2_batch.py", line 32, in
sys.exit(main())
File "/Users/osrf/jenkins/workspace/ci_osx/ros2_batch_job/main.py", line 86, in main
return run(args, build_and_test, blacklisted_package_names=blacklisted_package_names)
File "/Users/osrf/jenkins/workspace/ci_osx/ros2_batch_job/main.py", line 379, in run
remove_folder(venv_subfolder)
File "/Users/osrf/jenkins/workspace/ci_osx/ros2_batch_job/util.py", line 114, in remove_folder
shutil.rmtree(path, onerror=del_rw)
File "/usr/local/Cellar/python3/3.6.4_2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/shutil.py", line 480, in rmtree
_rmtree_safe_fd(fd, path, onerror)
File "/usr/local/Cellar/python3/3.6.4_2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/shutil.py", line 418, in _rmtree_safe_fd
_rmtree_safe_fd(dirfd, fullname, onerror)
File "/usr/local/Cellar/python3/3.6.4_2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/shutil.py", line 418, in _rmtree_safe_fd
_rmtree_safe_fd(dirfd, fullname, onerror)
File "/usr/local/Cellar/python3/3.6.4_2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/shutil.py", line 418, in _rmtree_safe_fd
_rmtree_safe_fd(dirfd, fullname, onerror)
File "/usr/local/Cellar/python3/3.6.4_2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/shutil.py", line 438, in _rmtree_safe_fd
onerror(os.unlink, fullname, sys.exc_info())
File "/Users/osrf/jenkins/workspace/ci_osx/ros2_batch_job/util.py", line 112, in del_rw
os.chmod(name, stat.S_IWRITE)
PermissionError: [Errno 1] Operation not permitted: 'venv/lib/python3.6/site-packages/_pytest/init.py'
The text was updated successfully, but these errors were encountered: