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

system tests: instrument, to try to catch unlinkat-ebusy #18536

Conversation

edsantiago
Copy link
Member

Several tweaks to see if we can track down #17216, the unlinkat-ebusy
flake:

  • teardown(): if a cleanup command fails, display it and its
    output to the debug channel. This should never happen, but
    it can and does (see podman rm --all not working with containers that have dependencies #18180, dependent containers). We
    need to know about it.

  • selinux tests: use unique pod names. This should help when
    scanning journal logs.

  • many tests: add "-f -t0" to "pod rm"

And, several unrelated changes caught by accident:

  • images-commit-with-comment test: was leaving a stray image
    behind. Clean it up, and make a few more readability tweaks

  • podman-remote-group-add test: add an explicit skip()
    when not remote. (Otherwise, test passes cleanly on
    podman local, which is misleading)

  • lots of container cleanup and/or adding "--rm" to run commands,
    to avoid leaving stray containers

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

None

Several tweaks to see if we can track down containers#17216, the unlinkat-ebusy
flake:

 - teardown(): if a cleanup command fails, display it and its
   output to the debug channel. This should never happen, but
   it can and does (see containers#18180, dependent containers). We
   need to know about it.

 - selinux tests: use unique pod names. This should help when
   scanning journal logs.

 - many tests: add "-f -t0" to "pod rm"

And, several unrelated changes caught by accident:
 - images-commit-with-comment test: was leaving a stray image
   behind. Clean it up, and make a few more readability tweaks

 - podman-remote-group-add test: add an explicit skip()
   when not remote. (Otherwise, test passes cleanly on
   podman local, which is misleading)

 - lots of container cleanup and/or adding "--rm" to run commands,
   to avoid leaving stray containers

Signed-off-by: Ed Santiago <[email protected]>
@openshift-ci openshift-ci bot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. release-note-none approved Indicates a PR has been approved by an approver from all required OWNERS files. labels May 10, 2023
@edsantiago
Copy link
Member Author

Marked WIP because I want to skim the test logs

@edsantiago edsantiago changed the title WIP: system tests: instrument, to try to catch unlinkat-ebusy system tests: instrument, to try to catch unlinkat-ebusy May 10, 2023
@openshift-ci openshift-ci bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label May 10, 2023
@edsantiago
Copy link
Member Author

Wow! Worked better than I'd hoped: no new red warnings in any sys logs.

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

Copy link
Member

@vrothberg vrothberg 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 May 11, 2023
@openshift-ci
Copy link
Contributor

openshift-ci bot commented May 11, 2023

[APPROVALNOTIFIER] This PR is APPROVED

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

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:
  • OWNERS [edsantiago,vrothberg]

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

@openshift-merge-robot openshift-merge-robot merged commit 50db106 into containers:main May 11, 2023
@edsantiago edsantiago deleted the instrument_systests_for_unlinkat branch May 11, 2023 10:18
@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 Aug 24, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 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. release-note-none
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants