Skip to content

Conversation

@dobsonj
Copy link
Member

@dobsonj dobsonj commented Jan 12, 2024

This adds the snyk security scan as a presubmit job. It should pass (if we successfully ignored all false positives).

Also some cleanup around storage owners.

  • make storage-approvers and storage-reviewers consistent
  • update storage team members for backport-risk-assessed label
  • add openshift-ci-security workflow to OCP storage repos

/cc @openshift/storage

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jan 12, 2024

@dobsonj: GitHub didn't allow me to request PR reviews from the following users: openshift/storage.

Note that only openshift members and repo collaborators can review this PR, and authors cannot review their own PRs.

Details

In response to this:

This adds the snyk security scan as a presubmit job. It should pass (if we successfully ignored all false positives).

Also some cleanup around storage owners.

  • make storage-approvers and storage-reviewers consistent
  • update storage team members for backport-risk-assessed label
  • add openshift-ci-security workflow to OCP storage repos

/cc @openshift/storage

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.

@dobsonj
Copy link
Member Author

dobsonj commented Jan 12, 2024

/pj-rehearse max

@dobsonj
Copy link
Member Author

dobsonj commented Jan 16, 2024

/hold to fix these issues before merging this

@openshift-ci openshift-ci bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jan 16, 2024
@dobsonj
Copy link
Member Author

dobsonj commented Jan 18, 2024

I opened PR's to ignore most of the false positives:
openshift/vmware-vsphere-csi-driver-operator#213
openshift/azure-file-csi-driver#52
openshift/azure-disk-csi-driver#74
openshift/csi-external-attacher#70
openshift/csi-external-provisioner#88
openshift/gcp-pd-csi-driver#58
openshift/aws-efs-csi-driver#66
openshift/vmware-vsphere-csi-driver#112
openshift/secrets-store-csi-driver#13
openshift/local-storage-operator#465
openshift/gcp-filestore-csi-driver#30
openshift/csi-node-driver-registrar#64
After those merge, I'll run the rehearsals again and it should be better.
gcp-filestore-csi-driver and node-driver-registrar will still report some issues under pkg and cmd, so I've set those to always_run=false until we can get a fix merged for those.

@dobsonj dobsonj force-pushed the ocp-storage-security-presubmits branch from 4dfd83a to 227d6a1 Compare January 19, 2024 21:52
@dobsonj
Copy link
Member Author

dobsonj commented Jan 19, 2024

/pj-rehearse max

@dobsonj
Copy link
Member Author

dobsonj commented Jan 20, 2024

/unhold

@openshift-ci openshift-ci bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jan 20, 2024
@dobsonj
Copy link
Member Author

dobsonj commented Jan 20, 2024

/retest

@dobsonj
Copy link
Member Author

dobsonj commented Jan 20, 2024

/pj-rehearse pull-ci-openshift-local-storage-operator-master-security
/pj-rehearse pull-ci-openshift-gcp-filestore-csi-driver-master-security

@duanwei33
Copy link
Contributor

/pj-rehearse pull-ci-openshift-cluster-storage-operator-master-e2e-openstack
/pj-rehearse pull-ci-openshift-csi-node-driver-registrar-master-security

@openshift-merge-robot openshift-merge-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jan 22, 2024
@openshift-ci-robot
Copy link
Contributor

@duanwei33, pj-rehearse: unable prepare a candidate for rehearsal; rehearsals will not be run. This could be due to a branch that needs to be rebased. ERROR:

couldn't rebase candidate onto master: %!w(<nil>)

@dobsonj dobsonj force-pushed the ocp-storage-security-presubmits branch from 227d6a1 to 6bb1cfe Compare January 22, 2024 18:29
@openshift-merge-robot openshift-merge-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jan 22, 2024
@dobsonj
Copy link
Member Author

dobsonj commented Jan 22, 2024

/pj-rehearse max

@dobsonj
Copy link
Member Author

dobsonj commented Jan 22, 2024

Just the known issues remain, and those need to be fixed upstream.
/pj-rehearse ack
/assign @jsafrane

@openshift-ci-robot openshift-ci-robot added the rehearsals-ack Signifies that rehearsal jobs have been acknowledged label Jan 22, 2024
The openshift-ci-security workflow exposed some false-positives in
upstream code for gcp-filestore-csi-driver and node-driver-registrar.
Set this job to always_run=false until we can get the issue fixed and
this job passes consistently.
@dobsonj dobsonj force-pushed the ocp-storage-security-presubmits branch from 6bb1cfe to f556692 Compare January 23, 2024 16:05
@openshift-ci-robot openshift-ci-robot removed the rehearsals-ack Signifies that rehearsal jobs have been acknowledged label Jan 23, 2024
@openshift-ci-robot
Copy link
Contributor

[REHEARSALNOTIFIER]
@dobsonj: 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-openshift-ibm-vpc-block-csi-driver-operator-master-security openshift/ibm-vpc-block-csi-driver-operator presubmit Presubmit changed
pull-ci-openshift-gcp-pd-csi-driver-operator-master-security openshift/gcp-pd-csi-driver-operator presubmit Presubmit changed
pull-ci-openshift-local-storage-operator-master-security openshift/local-storage-operator presubmit Presubmit changed
pull-ci-openshift-gcp-filestore-csi-driver-master-security openshift/gcp-filestore-csi-driver presubmit Presubmit changed
pull-ci-openshift-csi-node-driver-registrar-master-security openshift/csi-node-driver-registrar presubmit Presubmit changed
pull-ci-openshift-azure-file-csi-driver-operator-main-security openshift/azure-file-csi-driver-operator presubmit Presubmit changed
pull-ci-openshift-vsphere-problem-detector-master-security openshift/vsphere-problem-detector presubmit Presubmit changed
pull-ci-openshift-csi-external-provisioner-master-security openshift/csi-external-provisioner presubmit Presubmit changed
pull-ci-openshift-aws-efs-csi-driver-master-security openshift/aws-efs-csi-driver presubmit Presubmit changed
pull-ci-openshift-aws-efs-csi-driver-operator-master-security openshift/aws-efs-csi-driver-operator presubmit Presubmit changed
pull-ci-openshift-gcp-filestore-csi-driver-operator-main-security openshift/gcp-filestore-csi-driver-operator presubmit Presubmit changed
pull-ci-openshift-azure-file-csi-driver-master-security openshift/azure-file-csi-driver presubmit Presubmit changed
pull-ci-openshift-azure-disk-csi-driver-master-security openshift/azure-disk-csi-driver presubmit Presubmit changed
pull-ci-openshift-gcp-pd-csi-driver-master-security openshift/gcp-pd-csi-driver presubmit Presubmit changed
pull-ci-openshift-csi-external-attacher-master-security openshift/csi-external-attacher presubmit Presubmit changed
pull-ci-openshift-cluster-csi-snapshot-controller-operator-master-security openshift/cluster-csi-snapshot-controller-operator presubmit Presubmit changed
pull-ci-openshift-secrets-store-csi-driver-main-security openshift/secrets-store-csi-driver presubmit Presubmit changed
pull-ci-openshift-ibm-vpc-block-csi-driver-master-security openshift/ibm-vpc-block-csi-driver presubmit Presubmit changed
pull-ci-openshift-vmware-vsphere-csi-driver-master-security openshift/vmware-vsphere-csi-driver presubmit Presubmit changed
pull-ci-openshift-cluster-storage-operator-master-e2e-aws-csi openshift/cluster-storage-operator presubmit Presubmit changed
pull-ci-openshift-cluster-storage-operator-master-e2e-aws-shared-resources openshift/cluster-storage-operator presubmit Presubmit changed
pull-ci-openshift-cluster-storage-operator-master-e2e-gcp-csi openshift/cluster-storage-operator presubmit Presubmit changed
pull-ci-openshift-cluster-storage-operator-master-e2e-openstack openshift/cluster-storage-operator presubmit Presubmit changed
pull-ci-openshift-cluster-storage-operator-master-e2e-openstack-parallel openshift/cluster-storage-operator presubmit Presubmit changed
pull-ci-openshift-cluster-storage-operator-master-security openshift/cluster-storage-operator presubmit Presubmit changed

A total of 27 jobs have been affected by this change. The above listing is non-exhaustive and limited to 25 jobs.

A full list of affected jobs can be found here

Interacting with pj-rehearse

Comment: /pj-rehearse to run up to 5 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 10 rehearsals
Comment: /pj-rehearse max to run up to 25 rehearsals
Comment: /pj-rehearse auto-ack to run up to 5 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.

@dobsonj
Copy link
Member Author

dobsonj commented Jan 23, 2024

/test check-gh-automation-tide
/pj-rehearse ack

@openshift-ci-robot openshift-ci-robot added the rehearsals-ack Signifies that rehearsal jobs have been acknowledged label Jan 23, 2024
@mpatlasov
Copy link
Contributor

/lgtm
/approve

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Jan 23, 2024
@dobsonj
Copy link
Member Author

dobsonj commented Jan 23, 2024

/assign @deepsm007
for approval on owners file change

@smg247
Copy link
Member

smg247 commented Jan 24, 2024

/approve

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jan 24, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dobsonj, mpatlasov, smg247

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 Jan 24, 2024
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jan 24, 2024

@dobsonj: all tests passed!

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

@openshift-merge-bot openshift-merge-bot bot merged commit 7a1df5a into openshift:master Jan 24, 2024
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jan 24, 2024

@dobsonj: Updated the plugins configmap in namespace ci at cluster app.ci using the following files:

  • key core-services-prow-02_config-openshift-alibaba-cloud-csi-driver-_pluginconfig.yaml using file core-services/prow/02_config/openshift/alibaba-cloud-csi-driver/_pluginconfig.yaml
  • key core-services-prow-02_config-openshift-alibaba-disk-csi-driver-operator-_pluginconfig.yaml using file core-services/prow/02_config/openshift/alibaba-disk-csi-driver-operator/_pluginconfig.yaml
  • key core-services-prow-02_config-openshift-aws-ebs-csi-driver-operator-_pluginconfig.yaml using file core-services/prow/02_config/openshift/aws-ebs-csi-driver-operator/_pluginconfig.yaml
  • key core-services-prow-02_config-openshift-aws-ebs-csi-driver-_pluginconfig.yaml using file core-services/prow/02_config/openshift/aws-ebs-csi-driver/_pluginconfig.yaml
  • key core-services-prow-02_config-openshift-aws-efs-csi-driver-operator-_pluginconfig.yaml using file core-services/prow/02_config/openshift/aws-efs-csi-driver-operator/_pluginconfig.yaml
  • key core-services-prow-02_config-openshift-aws-efs-csi-driver-_pluginconfig.yaml using file core-services/prow/02_config/openshift/aws-efs-csi-driver/_pluginconfig.yaml
  • key core-services-prow-02_config-openshift-aws-efs-utils-_pluginconfig.yaml using file core-services/prow/02_config/openshift/aws-efs-utils/_pluginconfig.yaml
  • key core-services-prow-02_config-openshift-azure-disk-csi-driver-operator-_pluginconfig.yaml using file core-services/prow/02_config/openshift/azure-disk-csi-driver-operator/_pluginconfig.yaml
  • key core-services-prow-02_config-openshift-azure-disk-csi-driver-_pluginconfig.yaml using file core-services/prow/02_config/openshift/azure-disk-csi-driver/_pluginconfig.yaml
  • key core-services-prow-02_config-openshift-azure-file-csi-driver-operator-_pluginconfig.yaml using file core-services/prow/02_config/openshift/azure-file-csi-driver-operator/_pluginconfig.yaml
  • key core-services-prow-02_config-openshift-azure-file-csi-driver-_pluginconfig.yaml using file core-services/prow/02_config/openshift/azure-file-csi-driver/_pluginconfig.yaml
  • key core-services-prow-02_config-openshift-cluster-csi-snapshot-controller-operator-_pluginconfig.yaml using file core-services/prow/02_config/openshift/cluster-csi-snapshot-controller-operator/_pluginconfig.yaml
  • key core-services-prow-02_config-openshift-cluster-storage-operator-_pluginconfig.yaml using file core-services/prow/02_config/openshift/cluster-storage-operator/_pluginconfig.yaml
  • key core-services-prow-02_config-openshift-csi-external-attacher-_pluginconfig.yaml using file core-services/prow/02_config/openshift/csi-external-attacher/_pluginconfig.yaml
  • key core-services-prow-02_config-openshift-csi-external-provisioner-_pluginconfig.yaml using file core-services/prow/02_config/openshift/csi-external-provisioner/_pluginconfig.yaml
  • key core-services-prow-02_config-openshift-csi-external-resizer-_pluginconfig.yaml using file core-services/prow/02_config/openshift/csi-external-resizer/_pluginconfig.yaml
  • key core-services-prow-02_config-openshift-csi-external-snapshotter-_pluginconfig.yaml using file core-services/prow/02_config/openshift/csi-external-snapshotter/_pluginconfig.yaml
  • key core-services-prow-02_config-openshift-csi-livenessprobe-_pluginconfig.yaml using file core-services/prow/02_config/openshift/csi-livenessprobe/_pluginconfig.yaml
  • key core-services-prow-02_config-openshift-csi-node-driver-registrar-_pluginconfig.yaml using file core-services/prow/02_config/openshift/csi-node-driver-registrar/_pluginconfig.yaml
  • key core-services-prow-02_config-openshift-csi-operator-_pluginconfig.yaml using file core-services/prow/02_config/openshift/csi-operator/_pluginconfig.yaml
  • key core-services-prow-02_config-openshift-gcp-filestore-csi-driver-operator-_pluginconfig.yaml using file core-services/prow/02_config/openshift/gcp-filestore-csi-driver-operator/_pluginconfig.yaml
  • key core-services-prow-02_config-openshift-gcp-filestore-csi-driver-_pluginconfig.yaml using file core-services/prow/02_config/openshift/gcp-filestore-csi-driver/_pluginconfig.yaml
  • key core-services-prow-02_config-openshift-gcp-pd-csi-driver-operator-_pluginconfig.yaml using file core-services/prow/02_config/openshift/gcp-pd-csi-driver-operator/_pluginconfig.yaml
  • key core-services-prow-02_config-openshift-gcp-pd-csi-driver-_pluginconfig.yaml using file core-services/prow/02_config/openshift/gcp-pd-csi-driver/_pluginconfig.yaml
  • key core-services-prow-02_config-openshift-ibm-vpc-block-csi-driver-operator-_pluginconfig.yaml using file core-services/prow/02_config/openshift/ibm-vpc-block-csi-driver-operator/_pluginconfig.yaml
  • key core-services-prow-02_config-openshift-ibm-vpc-block-csi-driver-_pluginconfig.yaml using file core-services/prow/02_config/openshift/ibm-vpc-block-csi-driver/_pluginconfig.yaml
  • key core-services-prow-02_config-openshift-ibm-vpc-node-label-updater-_pluginconfig.yaml using file core-services/prow/02_config/openshift/ibm-vpc-node-label-updater/_pluginconfig.yaml
  • key core-services-prow-02_config-openshift-local-storage-operator-_pluginconfig.yaml using file core-services/prow/02_config/openshift/local-storage-operator/_pluginconfig.yaml
  • key core-services-prow-02_config-openshift-secrets-store-csi-driver-operator-_pluginconfig.yaml using file core-services/prow/02_config/openshift/secrets-store-csi-driver-operator/_pluginconfig.yaml
  • key core-services-prow-02_config-openshift-secrets-store-csi-driver-_pluginconfig.yaml using file core-services/prow/02_config/openshift/secrets-store-csi-driver/_pluginconfig.yaml
  • key core-services-prow-02_config-openshift-sig-storage-local-static-provisioner-_pluginconfig.yaml using file core-services/prow/02_config/openshift/sig-storage-local-static-provisioner/_pluginconfig.yaml
  • key core-services-prow-02_config-openshift-vmware-vsphere-csi-driver-operator-_pluginconfig.yaml using file core-services/prow/02_config/openshift/vmware-vsphere-csi-driver-operator/_pluginconfig.yaml
  • key core-services-prow-02_config-openshift-vmware-vsphere-csi-driver-_pluginconfig.yaml using file core-services/prow/02_config/openshift/vmware-vsphere-csi-driver/_pluginconfig.yaml
  • key core-services-prow-02_config-openshift-vsphere-problem-detector-_pluginconfig.yaml using file core-services/prow/02_config/openshift/vsphere-problem-detector/_pluginconfig.yaml
Details

In response to this:

This adds the snyk security scan as a presubmit job. It should pass (if we successfully ignored all false positives).

Also some cleanup around storage owners.

  • make storage-approvers and storage-reviewers consistent
  • update storage team members for backport-risk-assessed label
  • add openshift-ci-security workflow to OCP storage repos

/cc @openshift/storage

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.

memodi pushed a commit to memodi/release that referenced this pull request Mar 14, 2024
)

* make storage-approvers and storage-reviewers consistent

* update storage team members for backport-risk-assessed label

* add openshift-ci-security workflow to OCP storage repos

* security: always_run=false for gcp-filestore and node-driver-registrar

The openshift-ci-security workflow exposed some false-positives in
upstream code for gcp-filestore-csi-driver and node-driver-registrar.
Set this job to always_run=false until we can get the issue fixed and
this job passes consistently.
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. 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.

8 participants