autowarefoundation / autoware

Autoware - the world's leading open-source software project for autonomous driving
https://www.autoware.org/
Apache License 2.0
8.58k stars 2.88k forks source link

feat(docker): revert "cache apt archives to the Docker build cache" #4793

Closed youtalk closed 4 weeks ago

youtalk commented 1 month ago

Reverts autowarefoundation/autoware#4778

Even though sharing=locked is set, it seems that could not open lock file sometimes occurs, so I revert it until the issue is resolved.

https://github.com/autowarefoundation/autoware/actions/runs/9284779370/job/25547896727#step:7:1852

47 108.7 fatal: [localhost]: FAILED! => {"changed": false, "msg": "Failed to lock apt for exclusive operation: Failed to lock directory /var/lib/apt/lists/: E:Could not open lock file /var/lib/apt/lists/lock - open (2: No such file or directory)"}

youtalk commented 1 month ago

I'm really not sure but the heavier cuda job was succeded but the ligher no-cuda was failed. I'm trying to rerun https://github.com/autowarefoundation/autoware/actions/runs/9284779370/job/25581422108

youtalk commented 1 month ago

The second try https://github.com/autowarefoundation/autoware/actions/runs/9284779370/job/25581422108 was succeeded. I'll decide whether to revert after observing the changes in the build success or failure a little longer.

youtalk commented 1 month ago

It is clear that the docker-build-and-push-main has started to fail after it.https://github.com/autowarefoundation/autoware/pull/4778, so I will revert.

image

youtalk commented 1 month ago

@oguzkaganozt @mitsudome-r Please review this.