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: try again to fix them #8000

Merged

Conversation

edsantiago
Copy link
Member

CI discovered that a lot of networking tests are failing; my
fault, for not having run my tests as root on my laptop.
Disable those.

Also: bump up the ten-request time limit, from 5 to 7 seconds.
Looks like something keeps getting slower and slower, but I
guess there's not much we can do about it.

Also: when we get a mismatch response code (e.g. 500 when we
expect 200), dump the response body and skip any subsequent
response checks.

Signed-off-by: Ed Santiago [email protected]

@openshift-ci-robot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: edsantiago

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Oct 12, 2020
@@ -68,7 +68,7 @@ for i in $(seq 1 10); do
done
t1=$SECONDS
delta_t=$((t1 - t2))
if [ $delta_t -le 5 ]; then
if [ $delta_t -le 7 ]; then
_show_ok 1 "Time for ten /info requests ($delta_t seconds) <= 5s"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be 7 seconds?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Argh. That's exactly why I hate duplication. Fixed, and refactored so it shouldn't happen again the next time we have to bump up the time limit. Thank you for catching that.

CI discovered that a lot of networking tests are failing; my
fault, for not having run my tests as root on my laptop.
Disable those.

Also: bump up the ten-request time limit, from 5 to 7 seconds.
Looks like something keeps getting slower and slower, but I
guess there's not much we can do about it.

Also: when we get a mismatch response code (e.g. 500 when we
expect 200), dump the response body and skip any subsequent
response checks.

Signed-off-by: Ed Santiago <[email protected]>
@edsantiago edsantiago force-pushed the fix_apiv2_tests_again branch from 9f326f0 to 2a6a3f3 Compare October 12, 2020 19:58
@edsantiago
Copy link
Member Author

Cirrus flake again, Failed to stop: readHandshakeRecord (not one I had seen before). Restarted.

@edsantiago
Copy link
Member Author

Yet another CI agent stopped responding!. Restarted, again.

@rhatdan
Copy link
Member

rhatdan commented Oct 13, 2020

LGTM
@containers/podman-maintainers PTAL

@mheon
Copy link
Member

mheon commented Oct 13, 2020

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Oct 13, 2020
@openshift-merge-robot openshift-merge-robot merged commit 7ad631b into containers:master Oct 13, 2020
@edsantiago edsantiago deleted the fix_apiv2_tests_again branch October 13, 2020 13:42
This was referenced Oct 19, 2020
@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 24, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 24, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. 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 this pull request may close these issues.

5 participants