Skip to content

Conversation

@stbenjam
Copy link
Member

This is an experimental change to test in CI - do not merge. Seeing the impact on artifact sizes...

When running tests via openshift-tests run-test, only output written to ginkgo.GinkgoWriter was captured in the test result's output field. Raw stdout/stderr output from the test was not captured because RunSpec used NoopOutputInterceptor{}.

This change introduces ForwardingOutputInterceptor which:

  • Captures stdout/stderr so it's available in CapturedStdOutErr
  • Forwards output in real-time to the terminal so local run-test usage isn't silent until test completion

The stdout clone is created using platform-specific dupStdout() before the interceptor redirects file descriptors, ensuring output is always forwarded to the original terminal.

… stdout/stderr

This is an experimental change to test in CI - do not merge.

When running tests via openshift-tests run-test, only output written to
ginkgo.GinkgoWriter was captured in the test result's output field. Raw
stdout/stderr output from the test was not captured because RunSpec used
NoopOutputInterceptor{}.

This change introduces ForwardingOutputInterceptor which:
- Captures stdout/stderr so it's available in CapturedStdOutErr
- Forwards output in real-time to the terminal so local run-test usage
  isn't silent until test completion

The stdout clone is created using platform-specific dupStdout() before
the interceptor redirects file descriptors, ensuring output is always
forwarded to the original terminal.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@openshift-ci-robot
Copy link

Pipeline controller notification
This repo is configured to use the pipeline controller. Second-stage tests will be triggered either automatically or after lgtm label is added, depending on the repository configuration. The pipeline controller will automatically detect which contexts are required and will utilize /test Prow commands to trigger the second stage.

For optional jobs, comment /test ? to see a list of all defined jobs. To trigger manually all jobs from second stage use /pipeline required command.

This repository is configured in: automatic mode

@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Feb 10, 2026
@openshift-ci-robot
Copy link

openshift-ci-robot commented Feb 10, 2026

@stbenjam: This pull request references TRT-2539 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the bug to target the "4.22.0" version, but no target version was set.

Details

In response to this:

This is an experimental change to test in CI - do not merge. Seeing the impact on artifact sizes...

When running tests via openshift-tests run-test, only output written to ginkgo.GinkgoWriter was captured in the test result's output field. Raw stdout/stderr output from the test was not captured because RunSpec used NoopOutputInterceptor{}.

This change introduces ForwardingOutputInterceptor which:

  • Captures stdout/stderr so it's available in CapturedStdOutErr
  • Forwards output in real-time to the terminal so local run-test usage isn't silent until test completion

The stdout clone is created using platform-specific dupStdout() before the interceptor redirects file descriptors, ensuring output is always forwarded to the original terminal.

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 openshift-eng/jira-lifecycle-plugin repository.

@openshift-ci openshift-ci bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Feb 10, 2026
@openshift-ci openshift-ci bot added the vendor-update Touching vendor dir or related files label Feb 10, 2026
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Feb 10, 2026

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: stbenjam

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

The pull request process is described here

Details 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 Feb 10, 2026
@stbenjam
Copy link
Member Author

/pipeline-required

@stbenjam
Copy link
Member Author

/pipeline required

@openshift-ci-robot
Copy link

Scheduling required tests:
/test e2e-aws-csi
/test e2e-aws-ovn-fips
/test e2e-aws-ovn-microshift
/test e2e-aws-ovn-microshift-serial
/test e2e-aws-ovn-serial-1of2
/test e2e-aws-ovn-serial-2of2
/test e2e-gcp-csi
/test e2e-gcp-ovn
/test e2e-gcp-ovn-upgrade
/test e2e-metal-ipi-ovn-ipv6
/test e2e-vsphere-ovn
/test e2e-vsphere-ovn-upi

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Feb 10, 2026

@stbenjam: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/verify-deps c0fe50b link true /test verify-deps
ci/prow/e2e-metal-ipi-ovn-ipv6 c0fe50b link true /test e2e-metal-ipi-ovn-ipv6
ci/prow/okd-scos-images c0fe50b link true /test okd-scos-images
ci/prow/go-verify-deps c0fe50b link true /test go-verify-deps

Full PR test history. Your PR dashboard.

Details

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. I understand the commands that are listed here.

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. do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. vendor-update Touching vendor dir or related files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants