Repository navigation
Closed
Labels
Description
Behaviour
The post task started failing:
https://github.com/OpenMined/PySyft/actions/runs/6845889094/job/18611767230?pr=8246
Post job cleanup.
Docker daemon logs
/usr/local/bin/colima exec -- cat /var/log/docker.log
cat: /var/log/docker.log: No such file or directory
time="[2](https://github.com/OpenMined/PySyft/actions/runs/6845889094/job/18611767230?pr=8246#step:21:2)02[3](https://github.com/OpenMined/PySyft/actions/runs/6845889094/job/18611767230?pr=8246#step:21:3)-11-13T05:21:38Z" level=fatal msg="exit status 1"
/Users/runner/work/_actions/crazy-max/ghaction-setup-docker/v2.1.0/webpack:/docker-setup-docker/node_modules/@actions/exec/lib/toolrunner.js:592
error = new Error(`The process '${this.toolPath}' failed with exit code ${this.processExitCode}`);
^
Error: The process '/usr/local/bin/colima' failed with exit code 1
at ExecState.processExited [as _setResult] (/Users/runner/work/_actions/crazy-max/ghaction-setup-docker/v2.1.0/webpack:/docker-setup-docker/node_modules/@actions/exec/lib/toolrunner.js:592:1)
at ExecState.exitCode [as CheckComplete] (/Users/runner/work/_actions/crazy-max/ghaction-setup-docker/v2.1.0/webpack:/docker-setup-docker/node_modules/@actions/exec/lib/toolrunner.js:577:1)
at ChildProcess.<anonymous> (/Users/runner/work/_actions/crazy-max/ghaction-setup-docker/v2.1.0/webpack:/docker-setup-docker/node_modules/@actions/exec/lib/toolrunner.js:[4](https://github.com/OpenMined/PySyft/actions/runs/6845889094/job/18611767230?pr=8246#step:21:4)71:1)
at ChildProcess.emit (node:events:[5](https://github.com/OpenMined/PySyft/actions/runs/6845889094/job/18611767230?pr=8246#step:21:5)14:28)
at maybeClose (node:internal/child_process:1105:1[6](https://github.com/OpenMined/PySyft/actions/runs/6845889094/job/18611767230?pr=8246#step:21:7))
at Process.ChildProcess._handle.onexit (node:internal/child_process:305:5)
Steps to reproduce this issue
- I have tried both
uses: crazy-max/ghaction-setup-docker@v2.1.0anduses: crazy-max/ghaction-setup-docker@v2.0.0 - I think this is related to
colima==0.6.0
Expected behaviour
The tasks pass so the final post hook shouldn't fail the job.
Tell us what should happen
Actual behaviour
Tell us what happens instead
Configuration
- Repository URL (if public):
- https://github.com/OpenMined/PySyft/actions/runs/6845889094/job/18611767230?pr=8246
- Build URL (if public):
- name: Docker on MacOS
if: steps.changes.outputs.syft == 'true' && matrix.os == 'macos-latest'
uses: crazy-max/ghaction-setup-docker@v2.1.0
- name: Run unit tests
if: steps.changes.outputs.syft == 'true'
run: |
tox -e syft.test.unitLogs
Download the log file of your build
and attach it to this issue.
Activity
[-]Post Task Failing[/-][+]Post Task Failing - Colima 0.6[/+]madhavajay commentedon Nov 13, 2023
I can verify that by reverting from
macos-13tomacos-latestI can usecolima==0.5.6and the issue goes away.I don't know why that
/var/logs/docker.logfile is no longer in the colima vm or where ever its getting cat'ed from but that might be the easiest fix.crazy-max commentedon Nov 13, 2023
It might be linked to the image defaulting to Ubuntu since 0.6.0: https://github.com/OpenMined/PySyft/actions/runs/6845889094/job/18611767230?pr=8246#step:11:543
With 0.5.6 it's Alpine: https://github.com/crazy-max/ghaction-setup-docker/actions/runs/6833543039/job/18585413192#step:3:221
I will take a look, thanks for your feedback.
crazy-max commentedon Nov 13, 2023
https://github.com/abiosoft/colima/blob/main/docs/FAQ.md#version-v060-and-newer
Looks like other distros are not supported anymore 😥
crazy-max commentedon Nov 13, 2023
docker/actions-toolkit#201 should fix this issue.
crazy-max commentedon Nov 17, 2023
Fixed by #46