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

NO-JIRA: fix: resolve some integration tests #750

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

eggfoobar
Copy link

@eggfoobar eggfoobar commented Jan 10, 2025

There are three issues that are currently the reason for the integration tests failing

  1. errors do not come back in lexical order so the match fails
  2. status controller does not use mom timestamp to timestamps do not match
  3. certs get generated differently between runs so certs do not match

This PR pulls in the a latest from library-go and resolves number 1 and number 2.

/hold

We'll need to wait for openshift/library-go#1916 to be merged in.

@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Jan 10, 2025
@openshift-ci-robot
Copy link
Contributor

@eggfoobar: This pull request explicitly references no jira issue.

In response to this:

library-go has been updated to sort errors for consistent output during testing updating order to make use of it

/hold

We'll need to wait for openshift/library-go#1916 to be merged in.

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 added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jan 10, 2025
@openshift-ci openshift-ci bot requested review from ibihim and liouk January 10, 2025 06:48
bumped library go to pull in fixes for integration tests

Signed-off-by: ehila <[email protected]>
@eggfoobar eggfoobar force-pushed the fix-integration-tests branch from 26d9033 to db50de8 Compare January 13, 2025 16:50
@eggfoobar eggfoobar changed the title NO-JIRA: fix: re-ordered error messages to match output NO-JIRA: fix: resolve some integration tests Jan 13, 2025
@eggfoobar
Copy link
Author

/unhold

Library-go has been updated, this PR will only resolve issue 1 and 2, integration tests will still fail but now we only fail on cert mismatch

Latest Run

{expected results mismatch 2 times with actual results  Management: mutation: Create-Secret.v1./v4-0-config-system-session[openshift-authentication], fieldManager=, controllerInstanceName=, rhs[0]: body diff:   []uint8(
  	"""
  	apiVersion: v1
  	data:
- 	  v4-0-config-system-session: eyJraW5kIjoiU2Vzc2lvblNlY3JldHMiLCJhcGlWZXJzaW9uIjoib3BlcmF0b3J2MWNsaWVudCIsInNlY3JldHMiOlt7ImF1dGhlbnRpY2F0aW9uIjoiZXlFUDNvR21XNnNEdW5JWlV2aHVabFJXV25GdlpkQ2RhYXJCZGl0MEJ2b1FKOVp2aW8xcHdNMUdDNXF6RTY2NyIsImVuY3J5cHRpb24iOiJmSDNqeF9CR0J0alBZQW9HU011M3RJbVpLX29aRmdWeiJ9XX0=
+ 	  v4-0-config-system-session: eyJraW5kIjoiU2Vzc2lvblNlY3JldHMiLCJhcGlWZXJzaW9uIjoib3BlcmF0b3J2MWNsaWVudCIsInNlY3JldHMiOlt7ImF1dGhlbnRpY2F0aW9uIjoiQk9kUzl5T0trX0szSkRxM05kZFdxVDd4Nm5VVy1hOWRkUWh3cENiZ0RmaUNEOGVqbUhjdjZVOEpDZURRNEYxQSIsImVuY3J5cHRpb24iOiJBN282eGV0c1hCcWhiM2lwN2N3T3pPazd6M2dEbUZ1XyJ9XX0=
  	kind: Secret
  	metadata:
  	... // 6 identical lines
  	"""
  )

UserWorkload: mutation: Create-CertificateSigningRequest.v1.certificates.k8s.io/system:openshift:openshift-authenticator-[], fieldManager=, controllerInstanceName=, rhs[0]: body diff:   []uint8(
  	"""
  	... // 6 identical lines
  	    authentication.openshift.io/csr: openshift-authenticator
  	spec:
- 	  request: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURSBSRVFVRVNULS0tLS0KTUlJQkRqQ0J0QUlCQURCU01WQXdUZ1lEVlFRREUwZHplWE4wWlcwNmMyVnlkbWxqWldGalkyOTFiblE2YjNCbApibk5vYVdaMExXOWhkWFJvTFdGd2FYTmxjblpsY2pwdmNHVnVjMmhwWm5RdFlYVjBhR1Z1ZEdsallYUnZjakJaCk1CTUdCeXFHU000OUFnRUdDQ3FHU000OUF3RUhBMElBQkx6Q3hKUTRjZ2tubVlqdytSd1Nmb2kwUWt5dktua1UKOEZuUXJJRWxNUE8vUG13eDdva1h5SjhONmNpQkNZaWYrLzkvaTdIN1MzN3BrUkM5YmliRnQvU2dBREFLQmdncQpoa2pPUFFRREFnTkpBREJHQWlFQTJjRXRhbHczWENSMlhkODZGN2tsL2hzWWlKNTZYMlBWcXVnUHA5SGxwWjhDCklRRElxR25WcE5wbXRPMWlYazFJaGhxWlVsbGZ5YmxHS3F6U0VhWWFRTEhRUXc9PQotLS0tLUVORCBDRVJUSUZJQ0FURSBSRVFVRVNULS0tLS0K
+ 	  request: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURSBSRVFVRVNULS0tLS0KTUlJQkRqQ0J0QUlCQURCU01WQXdUZ1lEVlFRREUwZHplWE4wWlcwNmMyVnlkbWxqWldGalkyOTFiblE2YjNCbApibk5vYVdaMExXOWhkWFJvTFdGd2FYTmxjblpsY2pwdmNHVnVjMmhwWm5RdFlYVjBhR1Z1ZEdsallYUnZjakJaCk1CTUdCeXFHU000OUFnRUdDQ3FHU000OUF3RUhBMElBQlBKVytpMmlwcFVtakh0YjVjYWRBM0hIRUJhT2ViQUkKNVRoUG1HOUxsWHFMeVlvNWFSbGsxM1NEUXRUVWNiTmExVGtrRVJESjRmOVEyaHJkS2RNSHFFeWdBREFLQmdncQpoa2pPUFFRREFnTkpBREJHQWlFQXhyME1HangwMUhMbE5TMXJDWkxsMTJCUXJNUEtyQ2dZODlWcWxDWkxwZThDCklRQzZ4M05meXlneTRWUklhZklPblBWVnFQVTdWZ2NPRXA1ZEY2ZGhOS3B4aHc9PQotLS0tLUVORCBDRVJUSUZJQ0FURSBSRVFVRVNULS0tLS0K
  	  signerName: kubernetes.io/kube-apiserver-client
  	  usages:
  	... // 5 identical lines
  	"""
  )
}

@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 13, 2025
updated controller initializations to pass down clock param for testing
updated tests results to be in lexical order and timestamp to reflect test.yaml

Signed-off-by: ehila <[email protected]>
@eggfoobar eggfoobar force-pushed the fix-integration-tests branch from db50de8 to b906a10 Compare January 13, 2025 17:07
@deads2k
Copy link
Contributor

deads2k commented Jan 13, 2025

/lgtm
/approve

@deads2k deads2k added the acknowledge-critical-fixes-only Indicates if the issuer of the label is OK with the policy. label Jan 13, 2025
@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Jan 13, 2025
Copy link
Contributor

openshift-ci bot commented Jan 13, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: deads2k, eggfoobar

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

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jan 13, 2025
@openshift-ci-robot
Copy link
Contributor

/retest-required

Remaining retests: 0 against base HEAD ca163e0 and 2 for PR HEAD b906a10 in total

@eggfoobar
Copy link
Author

/retest-required

Copy link
Contributor

openshift-ci bot commented Jan 14, 2025

@eggfoobar: 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-operator b906a10 link true /test e2e-operator
ci/prow/e2e-agnostic-upgrade b906a10 link true /test e2e-agnostic-upgrade
ci/prow/e2e-agnostic b906a10 link true /test e2e-agnostic
ci/prow/test-operator-integration b906a10 link false /test test-operator-integration
ci/prow/e2e-agnostic-ipv6 b906a10 link false /test e2e-agnostic-ipv6
ci/prow/okd-scos-e2e-aws-ovn b906a10 link false /test okd-scos-e2e-aws-ovn
ci/prow/e2e-console-login b906a10 link true /test e2e-console-login

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
acknowledge-critical-fixes-only Indicates if the issuer of the label is OK with the policy. 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.

3 participants