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: make 710-kube parallel-safe #23921

Merged
merged 1 commit into from
Sep 13, 2024

Conversation

edsantiago
Copy link
Member

Use safename. Add ci:parallel tags. Use a random port, not
hardcoded 9999. Do not remove pause image. And especially
do not "rm -a" anything.

Signed-off-by: Ed Santiago santiago@redhat.com

None

Copy link
Contributor

openshift-ci bot commented Sep 10, 2024

[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 openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Sep 10, 2024
@@ -19,15 +20,18 @@ json.dump(yaml.safe_load(sys.stdin), sys.stdout)'
###############################################################################
# BEGIN tests

# bats test_tags=ci:parallel
Copy link
Member Author

Choose a reason for hiding this comment

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

All tests in this file have the ci:parallel tag. I am tempted to remove them all, and add it at top using file_tags, because (IMO) the tests here should always be parallel-safe, including future additions. IOW I prefer this risk:

  • new test gets added, it runs (by default) in parallel but somehow it was not written properly nor reviewed properly and we get new flakes
    over:
  • new test gets added, but we all forget to add/review the ci:parallel tag, so it runs serial by default, slowing down the world.

Opinions welcome.

Copy link
Member

Choose a reason for hiding this comment

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

I would default to parallel. Flakes might show up, but we should be able to find them quickly.
Podman by default runs i parallel by design, so better to default to it.

@rhatdan
Copy link
Member

rhatdan commented Sep 10, 2024

LGTM either way.

Use safename. Add ci:parallel tags. Use a random port, not
hardcoded 9999. Do not remove pause image. And especially
do not "rm -a" anything.

Signed-off-by: Ed Santiago <santiago@redhat.com>
@baude
Copy link
Member

baude commented Sep 13, 2024

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Sep 13, 2024
@openshift-merge-bot openshift-merge-bot bot merged commit d4cda11 into containers:main Sep 13, 2024
56 checks passed
@edsantiago edsantiago deleted the safename-710 branch September 16, 2024 11:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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. release-note-none
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants