-
Notifications
You must be signed in to change notification settings - Fork 52
build: retry 'docker push' #430
Conversation
|
Example of the failure: https://cloudnative-k8sci.southcentralus.cloudapp.azure.com/job/pmem-csi/job/devel/73/execution/node/161/log/ Somehow retrying the job didn't help, so it is open whether this more localized retry loop is really going to solve the issue. |
|
I only caught one of two places where "docker push" is used. Do not merge yet... |
|
just curious what might be root cause. I havent seen such "busy, failed to push" error in local builds |
|
I've also seen it on my local build machine, with the Docker registry running in Docker. Not sure how to debug it, and this is one that I don't care about if the retry mechanism turns out to get us reliable CI builds. |
docker push" has been seen to fail temporarily with "error creating overlay mount to /var/lib/docker/overlay2/xxx/merged: device or resource busy". To increase the chance of the CI builds completing, we simply try three times before giving up.
|
docker/for-linux#711 gives idea this gets fixed in docker 19.03.3. |
|
Do you know how to update Docker in the CI to 19.03.3? That would be the preferable solution. |
CI host is Ubuntu 18.04 LTS and gets docker by "apt install -y docker-ce", |
|
meanwhile I see more of push errors. Seems more than before (?). |
|
Olev Kartau <[email protected]> writes:
> Do you know how to update Docker in the CI to 19.03.3? That would be the preferable solution.
CI host is Ubuntu 18.04 LTS and gets docker by "apt install -y
docker-ce",
Each time the machine boots?
Does our CI host really runs on such new kernel even if our distro is
18.04 LTS?
I don't know - check with Chuy please.
|
|
I'm fine with merging it and reverting later. |
I added uname -a in Jenkinsfile and CI host appears to run this: so it is relatively new, 5.0 kernel but still older than 5.2 what Docker "busy fix" mentions. |
yes, this host does not have life beyond build, it is dynamically created from empty state for a CI job. |
|
is it possible this change by chance changed the make semantics? |
|
Commenting out |
intel#430 unintentionally disabled the make dependencies. That was used during debugging and shouldn't have been included in the PR.
|
Fix is in #436 |
docker push" has been seen to fail temporarily with "error creating
overlay mount to /var/lib/docker/overlay2/xxx/merged: device or
resource busy". To increase the chance of the CI builds completing,
we simply try three times before giving up.