techservicesillinois / awscli-login

​awscli-login is an AWS CLI plugin that manages retrieving and rotating Amazon STS temporary credentials using SAML ECP for authentication with optional support for Duo.
https://pypi.org/project/awscli-login/
Other
54 stars 25 forks source link

macOS validate tox virtualenv often fails #171

Closed ddriddle closed 9 months ago

ddriddle commented 11 months ago

The plugin techservicesillinois/cache-validation@v1 often fails with the following output on macOS runners when validating the tox virtualenv cache:

touch .tox/.pkg/file.lock
touch .tox/.pkg
touch .tox/.pkg_external/.gitignore
touch .tox/.pkg_external/.tox-info.json
touch .tox/.pkg_external/bin/activate
touch .tox/.pkg_external/bin/activate.csh
touch .tox/.pkg_external/bin/activate.fish
touch .tox/.pkg_external/bin/activate.nu
touch .tox/.pkg_external/bin/activate.ps1
touch .tox/.pkg_external/bin/activate_this.py
touch .tox/.pkg_external/bin/pip
touch .tox/.pkg_external/bin/pip-3.12
touch .tox/.pkg_external/bin/pip3
touch .tox/.pkg_external/bin/pip3.12
touch .tox/.pkg_external/bin/python
EPERM: operation not permitted, utime '.tox/.pkg_external/bin/python'

https://github.com/techservicesillinois/awscli-login/actions/runs/7107103579/job/19347930662

A workaround is to clear the cache.