Skip to content

ROX-17751: Add GKE target for sensor-integration tests#40290

Merged
openshift-merge-robot merged 5 commits intoopenshift:masterfrom
vikin91:piotr/ROX-17751
Jun 14, 2023
Merged

ROX-17751: Add GKE target for sensor-integration tests#40290
openshift-merge-robot merged 5 commits intoopenshift:masterfrom
vikin91:piotr/ROX-17751

Conversation

@vikin91
Copy link
Copy Markdown
Contributor

@vikin91 vikin91 commented Jun 13, 2023

Requires stackrox/stackrox#6480 for the rehearsals to pass

@openshift-ci-robot
Copy link
Copy Markdown
Contributor

openshift-ci-robot commented Jun 13, 2023

@vikin91: This pull request references ROX-17751 which is a valid jira issue.

Details

In response to this:

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/test-infra repository.

@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Jun 13, 2023
@openshift-ci openshift-ci Bot requested review from JoukoVirtanen and vjwilson June 13, 2023 09:32
@vikin91
Copy link
Copy Markdown
Contributor Author

vikin91 commented Jun 13, 2023

/pj-rehearse

@vikin91
Copy link
Copy Markdown
Contributor Author

vikin91 commented Jun 13, 2023

Requires stackrox/stackrox#6416 or stackrox/stackrox#6480 for the rehearsals to pass

@openshift-ci-robot
Copy link
Copy Markdown
Contributor

openshift-ci-robot commented Jun 13, 2023

@vikin91: This pull request references ROX-17751 which is a valid jira issue.

Details

In response to this:

Requires stackrox/stackrox#6416 for the rehearsals to pass

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/test-infra repository.

@openshift-ci-robot
Copy link
Copy Markdown
Contributor

openshift-ci-robot commented Jun 13, 2023

@vikin91: This pull request references ROX-17751 which is a valid jira issue.

Details

In response to this:

Requires stackrox/stackrox#6480 for the rehearsals to pass

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/test-infra repository.

vikin91 added a commit to stackrox/stackrox that referenced this pull request Jun 13, 2023
@vikin91
Copy link
Copy Markdown
Contributor Author

vikin91 commented Jun 13, 2023

/pj-rehearse

@vikin91
Copy link
Copy Markdown
Contributor Author

vikin91 commented Jun 13, 2023

/pj-rehearse pull-ci-stackrox-stackrox-release-x.y-gke-sensor-integration-tests

@vikin91
Copy link
Copy Markdown
Contributor Author

vikin91 commented Jun 13, 2023

/pj-rehearse

@openshift-ci-robot
Copy link
Copy Markdown
Contributor

@vikin91, pj-rehearse: unable to determine affected jobs. This could be due to a branch that needs to be rebased. ERROR:

could not load configuration from candidate revision of release repo: failed to load Prow configuration from release repo: job pull-ci-stackrox-stackrox-master-gke-sensor-integration-tests is set to always run but also declares skip_if_only_changed targets, which are mutually exclusive
Interacting with pj-rehearse

Comment: /pj-rehearse to run up to 10 rehearsals
Comment: /pj-rehearse skip to opt-out of rehearsals
Comment: /pj-rehearse {test-name}, with each test separated by a space, to run one or more specific rehearsals
Comment: /pj-rehearse more to run up to 20 rehearsals
Comment: /pj-rehearse max to run up to 35 rehearsals
Comment: /pj-rehearse auto-ack to run up to 10 rehearsals, and add the rehearsals-ack label on success
Comment: /pj-rehearse abort to abort all active rehearsals

Once you are satisfied with the results of the rehearsals, comment: /pj-rehearse ack to unblock merge. When the rehearsals-ack label is present on your PR, merge will no longer be blocked by rehearsals.
If you would like the rehearsals-ack label removed, comment: /pj-rehearse reject to re-block merging.

@openshift-ci-robot
Copy link
Copy Markdown
Contributor

@vikin91, pj-rehearse: unable to determine affected jobs ERROR:

could not load configuration from candidate revision of release repo: failed to load Prow configuration from release repo: job pull-ci-stackrox-stackrox-master-gke-sensor-integration-tests is set to always run but also declares skip_if_only_changed targets, which are mutually exclusive

If the problem persists, please contact Test Platform.

@vikin91
Copy link
Copy Markdown
Contributor Author

vikin91 commented Jun 13, 2023

/pj-rehearse

steps:
test:
- ref: stackrox-e2e
- as: gke-sensor-integration-tests
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

You will need to add a merge- a postsubmit: true version of this.

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.

Added that in fec3275

secretName: result-aggregator
trigger: (?m)^/test( | .* )gke-scale-tests,?($|\s.*)
- agent: kubernetes
always_run: true
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
always_run: true
always_run: false

And use skip_if_only_changed: ^ui/ https://docs.prow.k8s.io/docs/jobs/#triggering-jobs-based-on-changes

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.

Added that in fec3275

test:
- ref: stackrox-e2e
- as: gke-sensor-integration-tests
optional: true
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

All of nightlies are postsubmit jobs.

Suggested change
optional: true
postsubmit: true

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.

Added that in fec3275

@openshift-ci-robot
Copy link
Copy Markdown
Contributor

[REHEARSALNOTIFIER]
@vikin91: the pj-rehearse plugin accommodates running rehearsal tests for the changes in this PR. Expand 'Interacting with pj-rehearse' for usage details. The following rehearsable tests have been affected by this change:

Test name Repo Type Reason
pull-ci-stackrox-stackrox-master-gke-sensor-integration-tests stackrox/stackrox presubmit Presubmit changed
pull-ci-stackrox-stackrox-release-x.y-gke-sensor-integration-tests stackrox/stackrox presubmit Presubmit changed
Interacting with pj-rehearse

Comment: /pj-rehearse to run up to 10 rehearsals
Comment: /pj-rehearse skip to opt-out of rehearsals
Comment: /pj-rehearse {test-name}, with each test separated by a space, to run one or more specific rehearsals
Comment: /pj-rehearse more to run up to 20 rehearsals
Comment: /pj-rehearse max to run up to 35 rehearsals
Comment: /pj-rehearse auto-ack to run up to 10 rehearsals, and add the rehearsals-ack label on success
Comment: /pj-rehearse abort to abort all active rehearsals

Once you are satisfied with the results of the rehearsals, comment: /pj-rehearse ack to unblock merge. When the rehearsals-ack label is present on your PR, merge will no longer be blocked by rehearsals.
If you would like the rehearsals-ack label removed, comment: /pj-rehearse reject to re-block merging.

@vikin91
Copy link
Copy Markdown
Contributor Author

vikin91 commented Jun 13, 2023

/pj-rehearse

@openshift-ci openshift-ci Bot added the lgtm Indicates that a PR is ready to be merged. label Jun 13, 2023
@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented Jun 13, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: vikin91, vjwilson

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 Jun 13, 2023
@vikin91
Copy link
Copy Markdown
Contributor Author

vikin91 commented Jun 14, 2023

/pj-rehearse auto-ack

@vikin91
Copy link
Copy Markdown
Contributor Author

vikin91 commented Jun 14, 2023

/pj-rehearse pull-ci-stackrox-stackrox-release-x.y-gke-sensor-integration-tests

@vikin91
Copy link
Copy Markdown
Contributor Author

vikin91 commented Jun 14, 2023

/pj-rehearse ack

@openshift-ci-robot openshift-ci-robot added the rehearsals-ack Signifies that rehearsal jobs have been acknowledged label Jun 14, 2023
@openshift-merge-robot openshift-merge-robot merged commit 1ed40f0 into openshift:master Jun 14, 2023
@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented Jun 14, 2023

@vikin91: Updated the following 5 configmaps:

  • job-config-misc configmap in namespace ci at cluster app.ci using the following files:
    • key stackrox-stackrox-nightlies-postsubmits.yaml using file ci-operator/jobs/stackrox/stackrox/stackrox-stackrox-nightlies-postsubmits.yaml
    • key stackrox-stackrox-release-x.y-postsubmits.yaml using file ci-operator/jobs/stackrox/stackrox/stackrox-stackrox-release-x.y-postsubmits.yaml
    • key stackrox-stackrox-release-x.y-presubmits.yaml using file ci-operator/jobs/stackrox/stackrox/stackrox-stackrox-release-x.y-presubmits.yaml
  • ci-operator-master-configs configmap in namespace ci at cluster app.ci using the following files:
    • key stackrox-stackrox-master.yaml using file ci-operator/config/stackrox/stackrox/stackrox-stackrox-master.yaml
  • ci-operator-misc-configs configmap in namespace ci at cluster app.ci using the following files:
    • key stackrox-stackrox-nightlies.yaml using file ci-operator/config/stackrox/stackrox/stackrox-stackrox-nightlies.yaml
    • key stackrox-stackrox-release-x.y.yaml using file ci-operator/config/stackrox/stackrox/stackrox-stackrox-release-x.y.yaml
  • job-config-master-postsubmits configmap in namespace ci at cluster app.ci using the following files:
    • key stackrox-stackrox-master-postsubmits.yaml using file ci-operator/jobs/stackrox/stackrox/stackrox-stackrox-master-postsubmits.yaml
  • job-config-master-presubmits configmap in namespace ci at cluster app.ci using the following files:
    • key stackrox-stackrox-master-presubmits.yaml using file ci-operator/jobs/stackrox/stackrox/stackrox-stackrox-master-presubmits.yaml
Details

In response to this:

Requires stackrox/stackrox#6480 for the rehearsals to pass

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/test-infra repository.

jtaleric pushed a commit to jtaleric/release that referenced this pull request Jun 21, 2023
* X-Smart-Branch-Parent: master

* Add gke sensor integration tests

* Run ocp-sensor-integration tests less

* Remove skip_if_only_changed from gke-sensor-integration-tests

* Address review comments #1
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. rehearsals-ack Signifies that rehearsal jobs have been acknowledged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants