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

TRT-1545: Complete removal of non-structured locator/message use #28663

Merged
merged 28 commits into from
Apr 19, 2024

Conversation

dgoodwin
Copy link
Contributor

@dgoodwin dgoodwin commented Mar 20, 2024

Builds on #28597 by removing remaining locator and message read/writes not related to serialization.

  • Remove several uses of legacy string locators
  • Fix unit tests
  • Port more locator use
  • Update node state test json with real world data and adjust test
  • Fix json in nodestateanalyzer tests
  • Remove more use of unstructured locators
  • Clean out locator (and some message) use in network invariant tests
  • Various fixes to broken functionality in the pathological event matching
  • Fix remaining Locator reads
  • Fix disrupton/dns overlap test inputs
  • Remove more locator/message use in tests
  • Remove last locator writes
  • Significant improvements to apiserver shutdown intervals
  • Remove a direct instantiation of Locator
  • Lots more legacy Message removal
  • Port message use in very tricky pod watch interval computation
  • Simplify inputs for very simple tests
  • Omit new keys if strings provided are empty for pod locator
  • Port remaining message reads and writes
  • Fix another test
  • Port spyglass e2e to use structured intervals

If successful, next step will be to remove the flat string legacy locator/message, reclaim those fields for the structured fields, collapse Condition into Interval.

@openshift-ci openshift-ci bot requested review from deads2k and mfojtik March 20, 2024 16:52
@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 20, 2024
@dgoodwin
Copy link
Contributor Author

/retest

@openshift-trt-bot
Copy link

Job Failure Risk Analysis for sha: 932a700

Job Name Failure Risk
pull-ci-openshift-origin-master-e2e-gcp-ovn-upgrade High
[sig-arch] events should not repeat pathologically for ns/openshift-kube-scheduler-operator
This test has passed 100.00% of 618 runs on jobs ['periodic-ci-openshift-release-master-nightly-4.16-e2e-gcp-ovn-upgrade' 'periodic-ci-openshift-release-master-ci-4.16-e2e-gcp-ovn-upgrade'] in the last 14 days.
---
[sig-arch] Only known images used by tests
This test has passed 100.00% of 618 runs on jobs ['periodic-ci-openshift-release-master-nightly-4.16-e2e-gcp-ovn-upgrade' 'periodic-ci-openshift-release-master-ci-4.16-e2e-gcp-ovn-upgrade'] in the last 14 days.
---
[sig-arch] events should not repeat pathologically for ns/openshift-kube-apiserver-operator
This test has passed 99.84% of 618 runs on jobs ['periodic-ci-openshift-release-master-nightly-4.16-e2e-gcp-ovn-upgrade' 'periodic-ci-openshift-release-master-ci-4.16-e2e-gcp-ovn-upgrade'] in the last 14 days.
---
[sig-arch] events should not repeat pathologically for ns/openshift-etcd-operator
This test has passed 100.00% of 618 runs on jobs ['periodic-ci-openshift-release-master-nightly-4.16-e2e-gcp-ovn-upgrade' 'periodic-ci-openshift-release-master-ci-4.16-e2e-gcp-ovn-upgrade'] in the last 14 days.
---
Showing 4 of 5 test results
pull-ci-openshift-origin-master-e2e-aws-ovn-upgrade High
[sig-arch] events should not repeat pathologically for ns/openshift-kube-apiserver-operator
This test has passed 100.00% of 56 runs on jobs ['periodic-ci-openshift-release-master-ci-4.16-e2e-aws-ovn-upgrade'] in the last 14 days.
---
[sig-arch] events should not repeat pathologically for ns/openshift-kube-scheduler-operator
This test has passed 100.00% of 56 runs on jobs ['periodic-ci-openshift-release-master-ci-4.16-e2e-aws-ovn-upgrade'] in the last 14 days.
---
[sig-arch] Only known images used by tests
This test has passed 100.00% of 56 runs on jobs ['periodic-ci-openshift-release-master-ci-4.16-e2e-aws-ovn-upgrade'] in the last 14 days.
---
[sig-arch] events should not repeat pathologically for ns/openshift-kube-controller-manager-operator
This test has passed 100.00% of 56 runs on jobs ['periodic-ci-openshift-release-master-ci-4.16-e2e-aws-ovn-upgrade'] in the last 14 days.
---
Showing 4 of 5 test results
pull-ci-openshift-origin-master-e2e-metal-ipi-ovn-ipv6 IncompleteTests
Tests for this run (24) are below the historical average (737): IncompleteTests (not enough tests ran to make a reasonable risk analysis; this could be due to infra, installation, or upgrade problems)

@dgoodwin
Copy link
Contributor Author

/hold cancel

Large followups coming after shiftweek.

@dgoodwin
Copy link
Contributor Author

/hold

Wrong PR, this is the large followup.

@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 Mar 25, 2024
@dgoodwin
Copy link
Contributor Author

/hold cancel
/override ci/prow/e2e-gcp-ovn-upgrade

This has nothing to do with known images used by tests.

@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 Apr 10, 2024
Copy link
Contributor

openshift-ci bot commented Apr 10, 2024

@dgoodwin: Overrode contexts on behalf of dgoodwin: ci/prow/e2e-gcp-ovn-upgrade

In response to this:

/hold cancel
/override ci/prow/e2e-gcp-ovn-upgrade

This has nothing to do with known images used by tests.

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

/retest-required

Remaining retests: 0 against base HEAD 3d444ed and 2 for PR HEAD f075c64 in total

@dgoodwin
Copy link
Contributor Author

/retest

@openshift-ci-robot
Copy link

/retest-required

Remaining retests: 0 against base HEAD 7379790 and 1 for PR HEAD f075c64 in total

@dgoodwin
Copy link
Contributor Author

/retest

@dgoodwin
Copy link
Contributor Author

/retest

This is getting ridiculous.

@dgoodwin
Copy link
Contributor Author

/override ci/prow/e2e-aws-ovn-fips
/override ci/prow/e2e-gcp-ovn-upgrade

@dgoodwin
Copy link
Contributor Author

/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 Apr 16, 2024
Copy link
Contributor

openshift-ci bot commented Apr 16, 2024

@dgoodwin: Overrode contexts on behalf of dgoodwin: ci/prow/e2e-aws-ovn-fips, ci/prow/e2e-gcp-ovn-upgrade

In response to this:

/override ci/prow/e2e-aws-ovn-fips
/override ci/prow/e2e-gcp-ovn-upgrade

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-trt-bot
Copy link

Job Failure Risk Analysis for sha: f075c64

Job Name Failure Risk
pull-ci-openshift-origin-master-e2e-gcp-ovn-upgrade High
[sig-arch] Only known images used by tests
This test has passed 100.00% of 855 runs on jobs ['periodic-ci-openshift-release-master-nightly-4.16-e2e-gcp-ovn-upgrade' 'periodic-ci-openshift-release-master-ci-4.16-e2e-gcp-ovn-upgrade'] in the last 14 days.
pull-ci-openshift-origin-master-e2e-aws-ovn-upgrade High
[sig-arch] Only known images used by tests
This test has passed 100.00% of 70 runs on jobs ['periodic-ci-openshift-release-master-ci-4.16-e2e-aws-ovn-upgrade'] in the last 14 days.
pull-ci-openshift-origin-master-e2e-aws-ovn-fips IncompleteTests
Tests for this run (98) are below the historical average (1431): IncompleteTests (not enough tests ran to make a reasonable risk analysis; this could be due to infra, installation, or upgrade problems)

This was previously looking for namespaces starting with e2e-, my change
flipped it to a contains, which then picked up openshift-e2e-loki, which
does use a external image that we do not want this test failing on.

Restored to a prefix check.
@openshift-ci openshift-ci bot removed the lgtm Indicates that a PR is ready to be merged. label Apr 17, 2024
@DennisPeriquet
Copy link
Contributor

/lgtm

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

openshift-ci bot commented Apr 17, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: DennisPeriquet, dgoodwin

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:
  • OWNERS [DennisPeriquet,dgoodwin]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@dgoodwin
Copy link
Contributor Author

/retest

@openshift-trt-bot
Copy link

Job Failure Risk Analysis for sha: 4037ee7

Job Name Failure Risk
pull-ci-openshift-origin-master-e2e-aws-ovn-single-node Low
[sig-arch] events should not repeat pathologically for ns/openshift-etcd
This test has passed 77.55% of 49 runs on jobs ['periodic-ci-openshift-release-master-nightly-4.16-e2e-aws-ovn-single-node'] in the last 14 days.

1 similar comment
@openshift-trt-bot
Copy link

Job Failure Risk Analysis for sha: 4037ee7

Job Name Failure Risk
pull-ci-openshift-origin-master-e2e-aws-ovn-single-node Low
[sig-arch] events should not repeat pathologically for ns/openshift-etcd
This test has passed 77.55% of 49 runs on jobs ['periodic-ci-openshift-release-master-nightly-4.16-e2e-aws-ovn-single-node'] in the last 14 days.

@dgoodwin
Copy link
Contributor Author

/override ci/prow/e2e-aws-ovn-fips

Missing a node, this job has passed before, cannot hit the magic combo to get this PR through.

@dgoodwin
Copy link
Contributor Author

/hold cancel

Copy link
Contributor

openshift-ci bot commented Apr 19, 2024

@dgoodwin: Overrode contexts on behalf of dgoodwin: ci/prow/e2e-aws-ovn-fips

In response to this:

/override ci/prow/e2e-aws-ovn-fips

Missing a node, this job has passed before, cannot hit the magic combo to get this PR through.

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 openshift-ci bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Apr 19, 2024
@openshift-trt-bot
Copy link

Job Failure Risk Analysis for sha: 4037ee7

Job Name Failure Risk
pull-ci-openshift-origin-master-e2e-aws-ovn-single-node Low
[sig-arch] events should not repeat pathologically for ns/openshift-etcd
This test has passed 78.26% of 46 runs on jobs ['periodic-ci-openshift-release-master-nightly-4.16-e2e-aws-ovn-single-node'] in the last 14 days.

@dgoodwin
Copy link
Contributor Author

/override ci/prow/e2e-gcp-ovn-upgrade

Copy link
Contributor

openshift-ci bot commented Apr 19, 2024

@dgoodwin: Overrode contexts on behalf of dgoodwin: ci/prow/e2e-gcp-ovn-upgrade

In response to this:

/override ci/prow/e2e-gcp-ovn-upgrade

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.

Copy link
Contributor

openshift-ci bot commented Apr 19, 2024

@dgoodwin: 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-aws-ovn-single-node 4037ee7 link false /test e2e-aws-ovn-single-node
ci/prow/e2e-aws-ovn-single-node-serial 4037ee7 link false /test e2e-aws-ovn-single-node-serial
ci/prow/e2e-aws-ovn-single-node-upgrade 4037ee7 link false /test e2e-aws-ovn-single-node-upgrade
ci/prow/e2e-gcp-ovn-rt-upgrade 4037ee7 link false /test e2e-gcp-ovn-rt-upgrade

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

@openshift-merge-bot openshift-merge-bot bot merged commit eb64483 into openshift:master Apr 19, 2024
18 of 22 checks passed
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.

None yet

4 participants