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

WIP: copierWithSubprocess(): try to capture stderr on io.ErrClosedPipe #5520

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

nalind
Copy link
Member

@nalind nalind commented May 9, 2024

What type of PR is this?

/kind flake

What this PR does / why we need it:

When we get a tried-to-write-to-closed-pipe error while encoding something for a coprocess, try to capture error output from the coprocess and add it to the error message, to hopefully catch a flake we're seeing in CI.

How to verify it

If the unit test fails, hopefully this will help me figure out why.

Which issue(s) this PR fixes:

Special notes for your reviewer:

Does this PR introduce a user-facing change?

None

@openshift-ci openshift-ci bot added do-not-merge/work-in-progress kind/flake Categorizes issue or PR as related to a flaky test. labels May 9, 2024
Copy link
Contributor

openshift-ci bot commented May 9, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: nalind

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 label May 9, 2024
Copy link

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

@nalind
Copy link
Member Author

nalind commented May 9, 2024

/override "Smoke Test"

Copy link
Contributor

openshift-ci bot commented May 9, 2024

@nalind: Overrode contexts on behalf of nalind: Smoke Test

In response to this:

/override "Smoke Test"

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@nalind nalind added the No New Tests Allow PR to proceed without adding regression tests label May 9, 2024
@nalind nalind force-pushed the unit-test-report branch 2 times, most recently from c1032ca to f154eb1 Compare May 13, 2024 15:18
When we get a tried-to-write-to-closed-pipe error while encoding
something for a coprocess, try to capture error output from the
coprocess and add it to the error message, to hopefully catch a flake
we're seeing in CI.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved do-not-merge/work-in-progress kind/flake Categorizes issue or PR as related to a flaky test. No New Tests Allow PR to proceed without adding regression tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant