Skip to content

MON-4288: set up openshift-tests-extension and add a sanity test#2616

Merged
openshift-merge-bot[bot] merged 1 commit into
openshift:mainfrom
machine424:extd
Jul 15, 2025
Merged

MON-4288: set up openshift-tests-extension and add a sanity test#2616
openshift-merge-bot[bot] merged 1 commit into
openshift:mainfrom
machine424:extd

Conversation

@machine424

@machine424 machine424 commented Jul 8, 2025

Copy link
Copy Markdown
Contributor

the extension is to be registered here openshift/origin#29974

  • I added CHANGELOG entry for this change.
  • No user facing changes, so no entry in CHANGELOG was needed.

@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 Jul 8, 2025
@openshift-ci openshift-ci Bot requested review from simonpasquier and slashpai July 8, 2025 21:20
@openshift-ci openshift-ci Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 8, 2025
@machine424

Copy link
Copy Markdown
Contributor Author

/testwith openshift/cluster-monitoring-operator/main/e2e-aws-ovn openshift/origin#29974
/testwith openshift/cluster-monitoring-operator/main/e2e-aws-ovn-single-node openshift/origin#29974
/testwith openshift/cluster-monitoring-operator/main/e2e-aws-ovn-techpreview openshift/origin#29974
/testwith openshift/cluster-monitoring-operator/main/e2e-aws-ovn-upgrade openshift/origin#29974
/testwith openshift/cluster-monitoring-operator/main/e2e-hypershift-conformance openshift/origin#29974

@machine424

machine424 commented Jul 8, 2025

Copy link
Copy Markdown
Contributor Author

/payload-with-prs 4.20 nightly blocking openshift/must-gather#498

@openshift-ci

openshift-ci Bot commented Jul 8, 2025

Copy link
Copy Markdown
Contributor

@machine424: trigger 11 job(s) of type blocking for the nightly release of OCP 4.20

  • periodic-ci-openshift-release-master-ci-4.20-e2e-aws-upgrade-ovn-single-node
  • periodic-ci-openshift-release-master-nightly-4.20-e2e-aws-ovn-upgrade-fips
  • periodic-ci-openshift-release-master-ci-4.20-e2e-azure-ovn-upgrade
  • periodic-ci-openshift-release-master-ci-4.20-upgrade-from-stable-4.19-e2e-gcp-ovn-rt-upgrade
  • periodic-ci-openshift-hypershift-release-4.20-periodics-e2e-aws-ovn-conformance
  • periodic-ci-openshift-release-master-nightly-4.20-e2e-aws-ovn-serial
  • periodic-ci-openshift-release-master-ci-4.20-e2e-aws-ovn-techpreview
  • periodic-ci-openshift-release-master-ci-4.20-e2e-aws-ovn-techpreview-serial
  • periodic-ci-openshift-release-master-nightly-4.20-fips-payload-scan
  • periodic-ci-openshift-release-master-nightly-4.20-e2e-metal-ipi-ovn-bm
  • periodic-ci-openshift-release-master-nightly-4.20-e2e-metal-ipi-ovn-ipv6

See details on https://pr-payload-tests.ci.openshift.org/runs/ci/8fd87fe0-5c43-11f0-8b54-23d24fc88994-0

@machine424

Copy link
Copy Markdown
Contributor Author

/payload-with-prs 4.20 ci blocking openshift/origin#29974

@openshift-ci

openshift-ci Bot commented Jul 8, 2025

Copy link
Copy Markdown
Contributor

@machine424: trigger 4 job(s) of type blocking for the ci release of OCP 4.20

  • periodic-ci-openshift-release-master-ci-4.20-upgrade-from-stable-4.19-e2e-aws-ovn-upgrade
  • periodic-ci-openshift-release-master-ci-4.20-upgrade-from-stable-4.19-e2e-azure-ovn-upgrade
  • periodic-ci-openshift-release-master-ci-4.20-e2e-gcp-ovn-upgrade
  • periodic-ci-openshift-hypershift-release-4.20-periodics-e2e-aws-ovn

See details on https://pr-payload-tests.ci.openshift.org/runs/ci/940efda0-5c43-11f0-9436-fd13a7987086-0

Comment thread test/ext/sanity.go Outdated
@machine424

Copy link
Copy Markdown
Contributor Author

/testwith openshift/cluster-monitoring-operator/main/e2e-aws-ovn-techpreview openshift/origin#29975

1 similar comment
@machine424

Copy link
Copy Markdown
Contributor Author

/testwith openshift/cluster-monitoring-operator/main/e2e-aws-ovn-techpreview openshift/origin#29975

@machine424

Copy link
Copy Markdown
Contributor Author

/testwith openshift/cluster-monitoring-operator/main/e2e-aws-ovn-techpreview openshift/origin#29975

@juzhao

juzhao commented Jul 10, 2025

Copy link
Copy Markdown
Contributor

/retest

@juzhao

juzhao commented Jul 10, 2025

Copy link
Copy Markdown
Contributor

/lgtm
thanks a lot!

@openshift-ci openshift-ci Bot added the lgtm Indicates that a PR is ready to be merged. label Jul 10, 2025
@machine424

Copy link
Copy Markdown
Contributor Author

needs #2611

@machine424

Copy link
Copy Markdown
Contributor Author

/retitle /MON-4288: set up openshift-tests-extension and add a sanity test

@openshift-ci openshift-ci Bot changed the title WIP: set up openshift-tests-extension and add a sanity test /MON-4288: set up openshift-tests-extension and add a sanity test Jul 10, 2025
@machine424

machine424 commented Jul 10, 2025

Copy link
Copy Markdown
Contributor Author

/retitle MON-4288: set up openshift-tests-extension and add a sanity test

@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 Jul 10, 2025
@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Jul 10, 2025
@openshift-ci-robot

openshift-ci-robot commented Jul 10, 2025

Copy link
Copy Markdown
Contributor

@machine424: This pull request references MON-4288 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 task to target the "4.20.0" version, but no target version was set.

Details

In response to this:

the extension is to be registered here openshift/origin#29974

  • I added CHANGELOG entry for this change.
  • No user facing changes, so no entry in CHANGELOG was needed.

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 changed the title /MON-4288: set up openshift-tests-extension and add a sanity test MON-4288: set up openshift-tests-extension and add a sanity test Jul 10, 2025
@openshift-ci openshift-ci Bot removed the lgtm Indicates that a PR is ready to be merged. label Jul 10, 2025
@juzhao

juzhao commented Jul 10, 2025

Copy link
Copy Markdown
Contributor

/lgtm

@openshift-ci openshift-ci Bot added the lgtm Indicates that a PR is ready to be merged. label Jul 10, 2025
@openshift-ci-robot

Copy link
Copy Markdown
Contributor

/retest-required

Remaining retests: 0 against base HEAD 09f9bc0 and 2 for PR HEAD a75fb2a in total

Comment thread cmd/tests-ext/main.go Outdated
ext := e.NewExtension("openshift", "payload", "cluster-monitoring-operator")
ext.AddSuite(e.Suite{
Name: "openshift/cluster-monitoring-operator/conformance/parallel",
// Has no effect for now, the test's name must still contain [Suite:openshift/conformance/parallel]

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This does work now, you can drop the [Suite: annotation from the test name

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Great! I assume thanks to openshift/origin#29888.
I'll give that a try and adjust the PR accordingly.

@machine424 machine424 Jul 10, 2025

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

If I understand correctly, we're just passing qualifiers to parents.
In our case we'll still need to add [Suite:openshift/cluster-monitoring-operator/conformance/parallel to the test name and also have a name.contains qualifier for that?

@openshift-ci openshift-ci Bot removed the lgtm Indicates that a PR is ready to be merged. label Jul 10, 2025
@machine424

Copy link
Copy Markdown
Contributor Author

/testwith openshift/cluster-monitoring-operator/main/e2e-aws-ovn openshift/origin#29974
/testwith openshift/cluster-monitoring-operator/main/e2e-aws-ovn-single-node openshift/origin#29974
/testwith openshift/cluster-monitoring-operator/main/e2e-aws-ovn-techpreview openshift/origin#29974
/testwith openshift/cluster-monitoring-operator/main/e2e-aws-ovn-upgrade openshift/origin#29974
/testwith openshift/cluster-monitoring-operator/main/e2e-hypershift-conformance openshift/origin#29974

Comment thread Makefile Outdated
@machine424

Copy link
Copy Markdown
Contributor Author

/testwith openshift/cluster-monitoring-operator/main/e2e-aws-ovn openshift/origin#29974
/testwith openshift/cluster-monitoring-operator/main/e2e-aws-ovn-single-node openshift/origin#29974
/testwith openshift/cluster-monitoring-operator/main/e2e-aws-ovn-techpreview openshift/origin#29974
/testwith openshift/cluster-monitoring-operator/main/e2e-aws-ovn-upgrade openshift/origin#29974
/testwith openshift/cluster-monitoring-operator/main/e2e-hypershift-conformance openshift/origin#29974

@juzhao

juzhao commented Jul 11, 2025

Copy link
Copy Markdown
Contributor

/retest

@juzhao

juzhao commented Jul 11, 2025

Copy link
Copy Markdown
Contributor

vendor job failed

diff --git a/go.mod b/go.mod
index aef0aaa22..fa855c53e 100644
--- a/go.mod
+++ b/go.mod
@@ -15,6 +15,8 @@ require (
 	github.com/google/uuid v1.6.0
 	github.com/imdario/mergo v0.3.16
 	github.com/mattn/go-shellwords v1.0.12
+	github.com/onsi/ginkgo/v2 v2.22.0
+	github.com/onsi/gomega v1.36.1
 	github.com/openshift-eng/openshift-tests-extension v0.0.0-20250702172817-97309544869d
 	github.com/openshift/api v0.0.0-20250320170726-75d64d71980b
 	github.com/openshift/client-go v0.0.0-20250125113824-8e1f0b8fa9a7
@@ -107,8 +109,6 @@ require (
 	github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
 	github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f // indirect
 	github.com/oklog/ulid v1.3.1 // indirect
-	github.com/onsi/ginkgo/v2 v2.22.0 // indirect
-	github.com/onsi/gomega v1.36.1 // indirect
 	github.com/pkg/browser v0.0.0-20240102092130-5ac0b6a4141c // indirect
 	github.com/pkg/errors v0.9.1 // indirect
 	github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect

maybe need to run go mod tidy to fix

@juzhao

juzhao commented Jul 11, 2025

Copy link
Copy Markdown
Contributor

/lgtm

@openshift-ci openshift-ci Bot added the lgtm Indicates that a PR is ready to be merged. label Jul 11, 2025
@openshift-ci

openshift-ci Bot commented Jul 11, 2025

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: juzhao, machine424

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-robot

Copy link
Copy Markdown
Contributor

/retest-required

Remaining retests: 0 against base HEAD 26f9666 and 2 for PR HEAD 3a14395 in total

@juzhao

juzhao commented Jul 14, 2025

Copy link
Copy Markdown
Contributor

/retest

@juzhao

juzhao commented Jul 14, 2025

Copy link
Copy Markdown
Contributor

/retest-required

1 similar comment
@juzhao

juzhao commented Jul 14, 2025

Copy link
Copy Markdown
Contributor

/retest-required

@openshift-ci-robot

Copy link
Copy Markdown
Contributor

/retest-required

Remaining retests: 0 against base HEAD 26f9666 and 2 for PR HEAD 3a14395 in total

@juzhao

juzhao commented Jul 15, 2025

Copy link
Copy Markdown
Contributor

/retest-required

@openshift-ci

openshift-ci Bot commented Jul 15, 2025

Copy link
Copy Markdown
Contributor

@machine424: 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/okd-scos-e2e-aws-ovn 3a14395 link false /test okd-scos-e2e-aws-ovn
ci/prow/e2e-aws-ovn-single-node 3a14395 link false /test e2e-aws-ovn-single-node

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.

@juzhao

juzhao commented Jul 15, 2025

Copy link
Copy Markdown
Contributor

/retest-required

@openshift-merge-bot openshift-merge-bot Bot merged commit 2513cbe into openshift:main Jul 15, 2025
18 of 20 checks passed
@openshift-bot

Copy link
Copy Markdown
Contributor

[ART PR BUILD NOTIFIER]

Distgit: cluster-monitoring-operator
This PR has been included in build cluster-monitoring-operator-container-v4.20.0-202507151447.p0.g2513cbe.assembly.stream.el9.
All builds following this will include this PR.

@openshift-ci

openshift-ci Bot commented Aug 4, 2025

Copy link
Copy Markdown
Contributor

@machine424: trigger 10 job(s) of type blocking for the nightly release of OCP 4.20

  • periodic-ci-openshift-release-master-ci-4.20-e2e-aws-upgrade-ovn-single-node
  • periodic-ci-openshift-release-master-nightly-4.20-e2e-aws-ovn-upgrade-fips
  • periodic-ci-openshift-release-master-ci-4.20-e2e-azure-ovn-upgrade
  • periodic-ci-openshift-release-master-ci-4.20-upgrade-from-stable-4.19-e2e-gcp-ovn-rt-upgrade
  • periodic-ci-openshift-hypershift-release-4.20-periodics-e2e-aws-ovn-conformance
  • periodic-ci-openshift-release-master-nightly-4.20-e2e-aws-ovn-serial
  • periodic-ci-openshift-release-master-ci-4.20-e2e-aws-ovn-techpreview
  • periodic-ci-openshift-release-master-ci-4.20-e2e-aws-ovn-techpreview-serial
  • periodic-ci-openshift-release-master-nightly-4.20-e2e-metal-ipi-ovn-bm
  • periodic-ci-openshift-release-master-nightly-4.20-e2e-metal-ipi-ovn-ipv6

See details on https://pr-payload-tests.ci.openshift.org/runs/ci/a37260a0-7180-11f0-8659-9f6e4ef903a8-0

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. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants