-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
e2e: image trust: Getting key identity: exit status 2 #18358
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
added
flakes
Flakes from Continuous Integration
kind/bug
Categorizes issue or PR as related to a bug.
labels
Apr 26, 2023
Well, well: $ GNUPGHOME=/tmp/dsfsdf bin/podman image trust show -n --registrypath test --policypath test/policy.json
ERRO[0000] Getting key identity: exit status 2 <<<<<<<< same error
all default accept
repository docker.io/library/hello-world reject
repository registry.access.redhat.com signed https://access.redhat.com/webassets/docker/content/sigstore
missing "[email protected], ditto" --------^^^^^^^^^^^^^^^^ ...suggesting that this is closely related to #17966. Incidentally, this has not gone away, not even close:
|
edsantiago
added a commit
to edsantiago/libpod
that referenced
this issue
May 15, 2023
Reason: gpg tests all run with a different GNUPGHOME, and gpg-agent does not like that, and there's no longer any way to run gpg without the agent. So, do not run these tests in parallel, and clean up agent after each test. Fixes: containers#17966 (I hope) May also fix containers#18358 but it will take some time to be sure. Signed-off-by: Ed Santiago <[email protected]>
Well, phooey. |
edsantiago
added a commit
to edsantiago/libpod
that referenced
this issue
Jun 7, 2023
- trust_test: adding 'Ordered' seems to resolve a very common flake. I've tested this for dozens of CI runs, and haven't seen the flake recur (normally it fails every few runs). - exec and search tests: add FlakeAttempts(3). This is a NOP under our current CI setup, in which we run ginkgo with a global --flake-attempts=3. I am submitting this as an optimistic step toward a no-flake-attempts world (containers#17967) Fixes: containers#18358 Signed-off-by: Ed Santiago <[email protected]>
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 6, 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.
Happening in both
podman image trust show
and..show --json
tests:The test then fails because the expected
gpg_id: [email protected]
entry is missing.registry.access.redhat.com
is reliably unreliable, so I'm betting this is a registry flake. Maybe the error logging could be improved?The text was updated successfully, but these errors were encountered: