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

CORS system test: clean up #24068

Merged
merged 1 commit into from
Sep 27, 2024
Merged

Conversation

edsantiago
Copy link
Member

Primary motivator: 'curl -v' format changes in f42

Drive-bys:

  • 127.0.0.1, not localhost
  • use wait_for_port, not sleep
  • show curl commands and their output, to ease debugging failures
  • better failure assertions

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

None

@openshift-ci openshift-ci bot added release-note-none approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Sep 25, 2024
@edsantiago edsantiago added 5.2 and removed approved Indicates a PR has been approved by an approver from all required OWNERS files. release-note-none labels Sep 25, 2024
Copy link

Ephemeral COPR build failed. @containers/packit-build please check.

wait_for_port $SERVICE_TCP_HOST $PORT
cmd="curl -s --max-time 10 -vvv $SERVICE_TCP_HOST:$PORT/_ping"
echo "$_LOG_PROMPT $cmd"
run $cmd
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 verify the curl exit code is 0?

Copy link
Member Author

Choose a reason for hiding this comment

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

OOPS! Yes, of course. Sometimes I hate bats.

Primary motivator: 'curl -v' format changes in f42

Drive-bys:
 * 127.0.0.1, not localhost
 * use wait_for_port, not sleep
 * show curl commands and their output, to ease debugging failures
 * better failure assertions

Signed-off-by: Ed Santiago <[email protected]>
@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Sep 25, 2024
Copy link
Member

@Luap99 Luap99 left a comment

Choose a reason for hiding this comment

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

LGTM

@lsm5
Copy link
Member

lsm5 commented Sep 25, 2024

@edsantiago @Luap99 I'm guessing this is ok to waive for 5.2.3 bodhi?

@edsantiago
Copy link
Member Author

@lsm5 yes, please waive. This is a silliness failure, not a functional one.

Copy link
Member

@Luap99 Luap99 left a comment

Choose a reason for hiding this comment

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

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Sep 27, 2024
Copy link
Contributor

openshift-ci bot commented Sep 27, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: edsantiago, Luap99

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-merge-bot openshift-merge-bot bot merged commit 514d25d into containers:main Sep 27, 2024
49 of 55 checks passed
@edsantiago edsantiago deleted the cors-fixes branch September 30, 2024 12:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
5.2 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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants