Closed fredericpoitevin closed 2 years ago
a possible example for conda: https://github.com/actions/cache/issues/355
Did the github action cache solve it?
Putting compSPI on conda and then downloading this might not fix it (since compSPI would have to install its dependencies anyway?).
Container approach could also be an option indeed.
Re: github action cache. At the moment we hit the following issue: https://github.com/actions/cache/issues/144 I'll look into it tomorrow.
And... container it is! (will be soon)
A possible hint at what is going wrong.
The first of the tree workflow jobs gives this error:
Post job cleanup. /bin/tar -cz -f /home/runner/work/_temp/fa635f5d-cae1-4b20-b60e-ab45451efb83/cache.tgz -C /home/runner/work/ioSPI/ioSPI/$CONDA . /bin/tar: /home/runner/work/ioSPI/ioSPI/$CONDA: Cannot open: No such file or directory /bin/tar: Error is not recoverable: exiting now Warning: Tar failed with error: The process '/bin/tar' failed with exit code 2
The other two give this error:
Post job cleanup. Warning: Cache already exists. Scope: refs/heads/master, Key: Linux-conda-8f071096bd72a27b0cde7ff4ecc966e886d95c2fef88c93ea7f6c5c6b34e151f, Version: (null)
Ah, this error looks nasty :(
But why don't we get this error on the build.yml of reduceSPI? We also have the conda cache there: https://github.com/compSPI/reduceSPI/blob/130a274d9bfe25186bf4ded06def1d7fb7596ee5/.github/workflows/build.yml#L35
I do see the same error for reduceSPI, although it appears on the second job build (ubuntu-18.04, 3.8, tests.tests_reduceSPI) this time: https://github.com/compSPI/reduceSPI/runs/2920366016?check_suite_focus=true
I'll give it a quick look again today, but we might want to drop conda cache eventually.
Closed because out of date. Many changes since June 2021
The "install dependencies" step takes a long time (>30mn).
Several non-necessarily mutually exclusive options need to be explored:
compSPI/compSPI
and use it in allcompSPI
repos.pip
way instead ofconda
?