Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: podman run check dnsname plugin: Error freeing pod ... lock #8279

Closed
edsantiago opened this issue Nov 9, 2020 · 15 comments
Closed

CI: podman run check dnsname plugin: Error freeing pod ... lock #8279

edsantiago opened this issue Nov 9, 2020 · 15 comments
Labels
flakes Flakes from Continuous Integration kind/bug Categorizes issue or PR as related to a bug. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments.

Comments

@edsantiago
Copy link
Member

Seen in CI for #8277:

Running: podman [options] network rm -f dnsNetTest
time="2020-11-09T09:22:48-06:00" level=error msg="Error freeing pod 3d01e6ef3e993362552426a069b353e8e2a12787d6622d844416ef02e1cd94e4 lock: no such file or directory"
Error: error freeing lock for container 7c40432117a6bc3104934fad3692e556195af9835df57ec36ca67c273131f89f: no such file or directory

This happened on the first try (of three), but the next two then failed because of improper cleanup ("network name dnsNetTest is already used").

Log: int podman fedora-33 rootless host

Will retry and see if it's a flake.

@mheon
Copy link
Member

mheon commented Nov 9, 2020

The initial error indicates that something else freed the pod's lock before it was fully removed, and could be an indication of a lock being held by two different objects, which is very bad because it could easily lead to deadlocks. Would be very interested in seeing if you can reproduce this.

@edsantiago edsantiago added flakes Flakes from Continuous Integration kind/bug Categorizes issue or PR as related to a bug. labels Nov 9, 2020
@edsantiago edsantiago changed the title (flake?) CI: podman run check dnsname plugin: Error freeing pod ... lock CI: podman run check dnsname plugin: Error freeing pod ... lock Nov 9, 2020
@edsantiago
Copy link
Member Author

Followup: it's a flake. Re-run made it pass.

I tried the following, let it run for an hour, and could not get it to fail:

$ ~/go/bin/ginkgo -trace -debug -progress -r -focus "run check dnsname plugin" -untilItFails test/e2e

Maybe it's something in the CI environment, or maybe it's another e2e test running in parallel, or maybe something else entirely. I have no idea what else to do to reproduce this, so I suspect in thirty days we'll get a stale-issue label and someone will close.

@edsantiago
Copy link
Member Author

Well, well. Here we are again. int podman ubuntu-19 root host (First one was fedora-33 rootless).

@baude
Copy link
Member

baude commented Nov 10, 2020

are you able to reproduce through repeated podman calls? repeated test runs?

@edsantiago
Copy link
Member Author

No, see my earlier comment. cirrus-flake-summarize is reporting four failures in the last week, starting 11-05. The dnsname test was merged 10-31 via #8203. @Luap99 could you chime in here please?

@github-actions
Copy link

A friendly reminder that this issue had no activity for 30 days.

@rhatdan
Copy link
Member

rhatdan commented Dec 11, 2020

@edsantiago Still seeing this?
@Luap99 Any ideas?

@edsantiago
Copy link
Member Author

Still happening, although not often:

Podman run networking [It] podman run check dnsname plugin

@github-actions
Copy link

A friendly reminder that this issue had no activity for 30 days.

@edsantiago
Copy link
Member Author

No occurrences reported since my last comment (December 18).

@rhatdan
Copy link
Member

rhatdan commented Jan 18, 2021

Do you want to close or wait another month?

@edsantiago
Copy link
Member Author

Well, what I'd really like is for @baude or @Luap99 or @mheon to jump in and say "oh, yeah, I committed PR#XYZ around then, and it fixed a something-something that was almost certainly the root cause of this issue". But the Rolling Stones have a song about not always getting what you want...

@mheon
Copy link
Member

mheon commented Jan 18, 2021

I still see no direct correlation between the test and the error, so I'm afraid I can't be helpful in that area

@baude
Copy link
Member

baude commented Feb 3, 2021

im with @mheon

@rhatdan
Copy link
Member

rhatdan commented Feb 3, 2021

Well I am going to close and risk this triggering again and giving @edsantiago the ability to say I told you so.

@rhatdan rhatdan closed this as completed Feb 3, 2021
@github-actions github-actions bot added the locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. label Sep 22, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 22, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
flakes Flakes from Continuous Integration kind/bug Categorizes issue or PR as related to a bug. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments.
Projects
None yet
Development

No branches or pull requests

4 participants