Skip to content

Conversation

@rhmdnd
Copy link
Collaborator

@rhmdnd rhmdnd commented Dec 4, 2025

The tests currently dump operator logs (for ROSA), and metrics data to stdout, which muddies the test logs making it harder to debug things using the log.

This branch attempts to make that better by putting the operator logs (for ROSA) and metrics in a dedicated file that we can still get to with CI systems because it's in the ARTIFACT_DIR.

The metrics endpoint returns a bunch of stuff, and it clutters the test
log making it hard to debug other tests. Let's put the metrics output in
a separate file we can still get to if we need it, while keeping the
test log clean.
Instead of logging container logs to the test log, we can put them in a
separate file for inspection later. This helps keep the test log
cleaner by keeping the operator log in a dedicated space.
@openshift-ci
Copy link

openshift-ci bot commented Dec 4, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: rhmdnd

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 label Dec 4, 2025
@rhmdnd rhmdnd changed the title CMP 3995 CMP-3995: Clean up test logs by removing operator logs and metrics output Dec 4, 2025
@openshift-ci-robot
Copy link
Collaborator

@rhmdnd: This pull request references CMP-3995 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.21.0" version, but no target version was set.

Details

In response to this:

  • CMP-3995: Write metrics to artifacts instead of stdout
  • CMP-3995: Cleanup rosa test logs

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.

@github-actions
Copy link

github-actions bot commented Dec 4, 2025

🤖 To deploy this PR, run the following command:

make catalog-deploy CATALOG_IMG=ghcr.io/complianceascode/compliance-operator-catalog:1018-9e1c8b7cf97acc6adba9893f4743848d8a875c24

@openshift-ci
Copy link

openshift-ci bot commented Dec 5, 2025

@rhmdnd: 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/e2e-rosa 9e1c8b7 link true /test e2e-rosa
ci/prow/e2e-aws-serial 9e1c8b7 link true /test e2e-aws-serial

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants