Skip to content

no-jira: IBI nmstate unit test fix #9680

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

Merged
merged 1 commit into from
Apr 28, 2025

Conversation

bfournie
Copy link
Contributor

It appears that nmstatectl version 2.44 has additional error output which causes the unit test string compare to fail. Use a string subset to ensure the error is captured.

@openshift-ci openshift-ci bot requested review from javipolo and tsorya April 28, 2025 13:09
It appears that nmstatectl version 2.44 has additional error output
which causes the unit test string compare to fail. Use a string
subset to ensure the error is captured.
@bfournie bfournie force-pushed the ibi-unit-test-fix branch from 8842a04 to f01be21 Compare April 28, 2025 14:30
Copy link
Contributor

openshift-ci bot commented Apr 28, 2025

@bfournie: 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-vsphere-static-ovn f01be21 link false /test e2e-vsphere-static-ovn
ci/prow/e2e-vsphere-ovn-multi-network f01be21 link false /test e2e-vsphere-ovn-multi-network
ci/prow/e2e-vsphere-externallb-ovn f01be21 link false /test e2e-vsphere-externallb-ovn
ci/prow/okd-scos-e2e-aws-ovn f01be21 link false /test okd-scos-e2e-aws-ovn

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.

@patrickdillon
Copy link
Contributor

/approve
/lgtm

This seems non-controversial and let's get it in quickly...

/retitle no-jira: IBI nmstate unit test fix

@openshift-ci openshift-ci bot changed the title IBI nmstate unit test fix no-jira: IBI nmstate unit test fix Apr 28, 2025
@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Apr 28, 2025
@openshift-ci-robot
Copy link
Contributor

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

In response to this:

It appears that nmstatectl version 2.44 has additional error output which causes the unit test string compare to fail. Use a string subset to ensure the error is captured.

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 lgtm Indicates that a PR is ready to be merged. label Apr 28, 2025
Copy link
Contributor

openshift-ci bot commented Apr 28, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: patrickdillon

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 Apr 28, 2025
@tthvo
Copy link
Member

tthvo commented Apr 28, 2025

Not that I can read Rust 😆 but I traced it back to this commit, where they refactored the handler code for parsing network state. This changed the error message. The original use of function new_from_yaml (i.e. removed) returns the original error message.

So, I think checking the final part of the error here makes sense 😄

@tthvo
Copy link
Member

tthvo commented Apr 28, 2025

/label acknowledge-critical-fixes-only

@openshift-ci openshift-ci bot added the acknowledge-critical-fixes-only Indicates if the issuer of the label is OK with the policy. label Apr 28, 2025
@tthvo
Copy link
Member

tthvo commented Apr 28, 2025

/skip

@openshift-merge-bot openshift-merge-bot bot merged commit 0b51991 into openshift:main Apr 28, 2025
22 checks passed
@openshift-bot
Copy link
Contributor

[ART PR BUILD NOTIFIER]

Distgit: ose-installer-terraform-providers
This PR has been included in build ose-installer-terraform-providers-container-v4.20.0-202504282214.p0.g0b51991.assembly.stream.el9.
All builds following this will include this PR.

@openshift-bot
Copy link
Contributor

[ART PR BUILD NOTIFIER]

Distgit: ose-installer-altinfra
This PR has been included in build ose-installer-altinfra-container-v4.20.0-202504282214.p0.g0b51991.assembly.stream.el9.
All builds following this will include this PR.

@openshift-bot
Copy link
Contributor

[ART PR BUILD NOTIFIER]

Distgit: ose-baremetal-installer
This PR has been included in build ose-baremetal-installer-container-v4.20.0-202504282214.p0.g0b51991.assembly.stream.el9.
All builds following this will include this PR.

@openshift-bot
Copy link
Contributor

[ART PR BUILD NOTIFIER]

Distgit: ose-installer-artifacts
This PR has been included in build ose-installer-artifacts-container-v4.20.0-202504282214.p0.g0b51991.assembly.stream.el9.
All builds following this will include this PR.

@bfournie bfournie deleted the ibi-unit-test-fix branch April 30, 2025 18:32
@jcpowermac
Copy link
Contributor

@bfournie
Is this going to be backported? Getting unit failures on this PR: #9468

@bfournie
Copy link
Contributor Author

bfournie commented May 6, 2025

/cherry-pick release-4.18

@openshift-cherrypick-robot

@bfournie: new pull request created: #9692

In response to this:

/cherry-pick release-4.18

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.

@bfournie
Copy link
Contributor Author

bfournie commented May 6, 2025

@bfournie Is this going to be backported? Getting unit failures on this PR: #9468

@jcpowermac I didn't realize this was also needed in 4.18, but yes, did the backport.

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.

7 participants