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

apiv2 tests: 27-containersEvents: GET events...remove: flake #20896

Closed
edsantiago opened this issue Dec 4, 2023 · 0 comments · Fixed by #20897
Closed

apiv2 tests: 27-containersEvents: GET events...remove: flake #20896

edsantiago opened this issue Dec 4, 2023 · 0 comments · Fixed by #20897
Labels
flakes Flakes from Continuous Integration 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

No idea what this means or what the test is supposed to do. Looks like response is two lines of results instead of 1.

[+0112s] not ok 736 [27-containersEvents] GET events?stream=false&since=1701424989&type=remove : select(.status| contains("remove")).Action
         #  expected: remove
         #    actual: remove
         remove
         not ok 737 [27-containersEvents] GET events?stream=false&since=1701424989&type=remove : select(.status | contains("remove")).Actor.Attributes.containerExitCode
         #  expected: 1
         #    actual: 3
         1

Seen in: APIv2(10) test(10) on(10) fedora-39(10) (root)(2)+(rootless)(8)

@edsantiago edsantiago added the flakes Flakes from Continuous Integration label Dec 4, 2023
edsantiago added a commit to edsantiago/libpod that referenced this issue Dec 4, 2023
Test flaking because (I think) one-second resolution isn't
good enough for --since. Use NS resolution.

Also, more test-name cleanup: strip off timestamps in 'since='.
This yields consistent test names in logs, which makes it easier
for me to categorize flakes.

Fixes: containers#20896

Signed-off-by: Ed Santiago <[email protected]>
@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 Mar 4, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 4, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
flakes Flakes from Continuous Integration locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant