Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Netobserv CI config updates #53326

Merged
merged 3 commits into from
Jul 26, 2024

Conversation

jotak
Copy link
Contributor

@jotak jotak commented Jun 18, 2024

@openshift-ci openshift-ci bot requested review from eranra and jpinsonneau June 18, 2024 07:21
@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jun 18, 2024
@jotak
Copy link
Contributor Author

jotak commented Jun 18, 2024

/hold

@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 Jun 18, 2024
@jotak
Copy link
Contributor Author

jotak commented Jun 18, 2024

/cc @memodi
/uncc @eranra

@openshift-ci openshift-ci bot requested review from memodi and removed request for eranra June 18, 2024 07:46
netobserv:
repos:
network-observability-operator:
unmanaged: true
Copy link
Contributor

@memodi memodi Jun 21, 2024

Choose a reason for hiding this comment

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

any reason why we're removing prow to manage our protected branches? If I am understanding this correct, the tests jobs that are triggered on PRs looking to merge to main will no longer have tests as Required.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I used to have our upstream unit tests as required, which I found better because they're faster to run and less susceptible to environmental issues. Not only prow's branch protection added more flakiness in required tests but also removed the previously defined required tests.
I prefer to manage them from upstream/github - and then we can have the discussion of what to set required or not.

@openshift-merge-robot openshift-merge-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jun 24, 2024
@jotak jotak force-pushed the netobserv-updates branch from d4b8645 to 7ae1f13 Compare June 25, 2024 06:46
@openshift-merge-robot openshift-merge-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jun 25, 2024
@jotak
Copy link
Contributor Author

jotak commented Jun 25, 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 Jun 25, 2024
@jotak jotak requested a review from memodi June 25, 2024 15:56
@memodi
Copy link
Contributor

memodi commented Jul 9, 2024

/pj-rehearse

@openshift-ci-robot
Copy link
Contributor

@memodi: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@openshift-ci-robot
Copy link
Contributor

@memodi, 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>)

@memodi
Copy link
Contributor

memodi commented Jul 9, 2024

@memodi, 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>)

@jotak could you rebase and run /pj-rehearse?

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Jul 11, 2024
@jotak jotak force-pushed the netobserv-updates branch from 7ae1f13 to e49ff87 Compare July 22, 2024 12:34
@openshift-ci openshift-ci bot removed the lgtm Indicates that a PR is ready to be merged. label Jul 22, 2024
@jotak
Copy link
Contributor Author

jotak commented Jul 22, 2024

@memodi @jpinsonneau : rebased

@jotak
Copy link
Contributor Author

jotak commented Jul 22, 2024

/pj-rehearse

@openshift-ci-robot
Copy link
Contributor

@jotak: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@jotak
Copy link
Contributor Author

jotak commented Jul 23, 2024

/retest

@jotak
Copy link
Contributor Author

jotak commented Jul 23, 2024

/pj-rehearse

@openshift-ci-robot
Copy link
Contributor

@jotak: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@memodi
Copy link
Contributor

memodi commented Jul 23, 2024

@jotak seems it's not able to find the the golang-1.22 image with .ci-operator.yaml config, I think correct tag we need for golang-1.22 in that file is: openshift_release_rhel-9-release-golang-1.22-openshift-4.17

@jotak
Copy link
Contributor Author

jotak commented Jul 24, 2024

@memodi yeah there's an issue with the tag but this is obscure, I don't even know which registry to look at. The error message says it's looking in quay.io, but I don't have access to that openshift repo there ; the documentation mentions tags like I did (their example is tag: golang-1.15), so it seems outdated.

Where did you find the tag that you mention, openshift_release_rhel-9-release-golang-1.22-openshift-4.17 ?
I've found examples that use a shorter version: rhel-9-release-golang-1.22-openshift-4.17 here

@jotak
Copy link
Contributor Author

jotak commented Jul 24, 2024

/pj-rehearse pull-ci-netobserv-flowlogs-pipeline-main-images
(testing just FLP)

@openshift-ci-robot
Copy link
Contributor

@jotak: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@memodi
Copy link
Contributor

memodi commented Jul 24, 2024

@memodi yeah there's an issue with the tag but this is obscure, I don't even know which registry to look at. The error message says it's looking in quay.io, but I don't have access to that openshift repo there ; the documentation mentions tags like I did (their example is tag: golang-1.15), so it seems outdated.

Where did you find the tag that you mention, openshift_release_rhel-9-release-golang-1.22-openshift-4.17 ? I've found examples that use a shorter version: rhel-9-release-golang-1.22-openshift-4.17 here

Indeed, it's obscure and haven't found good way to peek at the registry before using the tags or without referring to some examples already in the repo for the image.

Once I know the tag, I try to confirm by doing podman pull locally after fetching the credentials from build farm aap.ci cluster. You can find info on CI registries and getting credentials here: https://docs.ci.openshift.org/docs/how-tos/use-registries-in-build-farm/

$ podman pull quay-proxy.ci.openshift.org/openshift/ci:openshift_release_golang-1.25
Trying to pull quay-proxy.ci.openshift.org/openshift/ci:openshift_release_golang-1.25...
Error: initializing source docker://quay-proxy.ci.openshift.org/openshift/ci:openshift_release_golang-1.25: reading manifest openshift_release_golang-1.25 in quay-proxy.ci.openshift.org/openshift/ci: manifest unknown

$ podman pull quay-proxy.ci.openshift.org/openshift/ci:openshift_release_rhel-9-release-golang-1.22-openshift-4.17
Trying to pull quay-proxy.ci.openshift.org/openshift/ci:openshift_release_rhel-9-release-golang-1.22-openshift-4.17...
Getting image source signatures
Copying blob sha256:793a8691df4a71168cb733364beb6d4e24022b9af46f047495a426c932a8f52e
Copying blob sha256:4b14e0ac13b3eefe68b59bd532aa7e1191e1d2e7501bc1eb648231a66f91ed9c
Copying blob sha256:b3e9e5be6cd3c63cafa670b96c3836fe5d61d1efc1daa3e0d1c3d360dd3a50c3
Copying blob sha256:79cd428983b2c989b50895d1b3c8ec3314baa36dc1051745c79b44d0083a42d1
Copying blob sha256:78307d72b83987adee2897dc4b3071a2517ca5bd4107dcd8af5b6746084d8f63
Copying config sha256:61c6b5bbf3d5b39cc7b5be3ec05a346bbbcbae1e704a5e371ef76195ef74f853
Writing manifest to image destination
61c6b5bbf3d5b39cc7b5be3ec05a346bbbcbae1e704a5e371ef76195ef74f853

@memodi
Copy link
Contributor

memodi commented Jul 24, 2024

Where did you find the tag that you mention, openshift_release_rhel-9-release-golang-1.22-openshift-4.17 ? I've found examples that use a shorter version: rhel-9-release-golang-1.22-openshift-4.17 here

that example you linked is what you want to use, it appends the name and namespace with "_" automatically.

@jotak
Copy link
Contributor Author

jotak commented Jul 24, 2024

ok it passed with flp, let's do the same on others :-)

@jotak
Copy link
Contributor Author

jotak commented Jul 24, 2024

/pj-rehearse

@openshift-ci-robot
Copy link
Contributor

@jotak: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

jotak added 3 commits July 25, 2024 10:38
- Use build root config from repo
- Disable redundant unit tests (they run from github actions)
- Disable branch protection (managed from github)

Signed-off-by: Joel Takvorian <[email protected]>
@jotak jotak force-pushed the netobserv-updates branch from e49ff87 to 0c0e0ee Compare July 25, 2024 08:39
@jotak
Copy link
Contributor Author

jotak commented Jul 25, 2024

last pj-rehearse worked except for 3 that timed out
now I need to rebase again 😖

@openshift-ci-robot
Copy link
Contributor

[REHEARSALNOTIFIER]
@jotak: 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-netobserv-network-observability-console-plugin-main-images netobserv/network-observability-console-plugin presubmit Ci-operator config changed
pull-ci-netobserv-network-observability-console-plugin-main-plugin-cypress netobserv/network-observability-console-plugin presubmit Ci-operator config changed
pull-ci-netobserv-netobserv-ebpf-agent-main-images netobserv/netobserv-ebpf-agent presubmit Ci-operator config changed
pull-ci-netobserv-flowlogs-pipeline-main-images netobserv/flowlogs-pipeline presubmit Ci-operator config changed
pull-ci-netobserv-network-observability-cli-main-images netobserv/network-observability-cli presubmit Ci-operator config changed
pull-ci-netobserv-network-observability-operator-main-ci-index-noo-bundle netobserv/network-observability-operator presubmit Ci-operator config changed
pull-ci-netobserv-network-observability-operator-main-e2e-operator netobserv/network-observability-operator presubmit Ci-operator config changed
pull-ci-netobserv-network-observability-operator-main-images netobserv/network-observability-operator presubmit Ci-operator config changed
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.

@jotak
Copy link
Contributor Author

jotak commented Jul 25, 2024

/pj-rehearse more

@openshift-ci-robot
Copy link
Contributor

@jotak: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

Copy link
Contributor

openshift-ci bot commented Jul 25, 2024

@jotak: all tests passed!

Full PR test history. Your PR dashboard.

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.

@memodi
Copy link
Contributor

memodi commented Jul 25, 2024

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Jul 25, 2024
Copy link
Contributor

openshift-ci bot commented Jul 25, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jotak, jpinsonneau, memodi

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

The pull request process is described here

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

@jotak
Copy link
Contributor Author

jotak commented Jul 26, 2024

/pj-rehearse ack

@openshift-ci-robot
Copy link
Contributor

@jotak: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@openshift-ci-robot openshift-ci-robot added the rehearsals-ack Signifies that rehearsal jobs have been acknowledged label Jul 26, 2024
@openshift-merge-bot openshift-merge-bot bot merged commit d24212a into openshift:master Jul 26, 2024
28 checks passed
Copy link
Contributor

openshift-ci bot commented Jul 26, 2024

@jotak: Updated the config configmap in namespace ci at cluster app.ci using the following files:

  • key core-services-prow-02_config-netobserv-flowlogs-pipeline-_prowconfig.yaml using file core-services/prow/02_config/netobserv/flowlogs-pipeline/_prowconfig.yaml
  • key core-services-prow-02_config-netobserv-netobserv-ebpf-agent-_prowconfig.yaml using file core-services/prow/02_config/netobserv/netobserv-ebpf-agent/_prowconfig.yaml
  • key core-services-prow-02_config-netobserv-network-observability-cli-_prowconfig.yaml using file core-services/prow/02_config/netobserv/network-observability-cli/_prowconfig.yaml
  • key core-services-prow-02_config-netobserv-network-observability-console-plugin-_prowconfig.yaml using file core-services/prow/02_config/netobserv/network-observability-console-plugin/_prowconfig.yaml
  • key core-services-prow-02_config-netobserv-network-observability-operator-_prowconfig.yaml using file core-services/prow/02_config/netobserv/network-observability-operator/_prowconfig.yaml

In response to this:

  • Use build root config from repo
  • Disable redundant unit tests (they run from github actions)
  • Disable branch protection (managed from github)

Needs upstream PRs:

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.

@jotak jotak deleted the netobserv-updates branch July 31, 2024 12:44
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.

5 participants