Remap egressip test names for Polarion upload - #28
Merged
Conversation
tusharjadhav3302
requested review from
chenwng,
dlaw4608,
ekuris-redhat,
eshulman2,
gryf,
imatza-rh,
mandre,
stephenfin and
winiciusallan
as code owners
July 30, 2026 05:16
tusharjadhav3302
force-pushed
the
fix-egressip-polarion-classname
branch
from
July 30, 2026 05:17
36d2489 to
e58e2c6
Compare
Tests from openshift-tests-private use [sig-networking] classname and SDN_OVN_EgressIP_* naming. After format_test_case_name() these become sig-networking.SDN_OVN_EgressIP_* which JUMP cannot match against Polarion entries, causing "Cannot proceed without xml with tempest results" and dropping all egressip results from reporting. Add a remap step for known private-test suites (egressip_tests) that rewrites names to sig-installer.Suite_openshift_openstack.egressip.* matching the convention used by the main openstack test suites. Co-authored-by: Cursor <[email protected]>
tusharjadhav3302
force-pushed
the
fix-egressip-polarion-classname
branch
from
July 30, 2026 09:00
e58e2c6 to
ddb39b2
Compare
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ekuris-redhat The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fix Polarion upload failure for egressip test results by remapping
openshift-tests-privatetest names to thesig-installer.Suite_openshift_openstack.*pattern that JUMP expects.
Problem
EgressIP tests run via
openshift-tests-private(extended-platform-tests) produceJUnit XML with
classname="sig-networking"and names likeSDN_OVN_EgressIP_*.JUMP builds match keys as
classname.name→sig-networking.SDN_OVN_EgressIP_*whichdoesn't match any Polarion test case, causing:
PR #27 fixed the
OTP.prefix issue for the main openstack tests (fromopenshift-tests)but didn't address egressip because it uses a fundamentally different naming convention
from
openshift-tests-private.Fix
Add a
remap_private_test_name()function that detects known private-test suites(via
PRIVATE_TEST_SUITESdict) and rewrites their names to the expected Polarion pattern:sig-networking.SDN_OVN_EgressIP_*→sig-installer.Suite_openshift_openstack.egressip.SDN_OVN_EgressIP_*The mapping is extensible for future private-test suites.
Before/After
Before: classname="sig-networking" name="SDN_OVN_EgressIP_Author_huirwang-..." → JUMP key: sig-networking.SDN_OVN_EgressIP_... (no Polarion match → crash)
After: classname="sig-installer" name="Suite_openshift_openstack.egressip.SDN_OVN_EgressIP_Author_huirwang-..." → JUMP key: sig-installer.Suite_openshift_openstack.egressip.SDN_OVN_EgressIP_... (matches Polarion convention)
Validation
Traced transform on sample test name from Zuul artifacts (build
369a5d61, jobshiftstack-rhel9-rhoso18.0-ocp423):[sig-networking] SDN OVN EgressIP Author:huirwang-ConnectedOnly-Medium-47272-...sig-installer.Suite_openshift_openstack.egressip.SDN_OVN_EgressIP_Author_huirwang-ConnectedOnly-Medium-47272-...Note
For results to appear as linked test records in Polarion, egressip test cases must
be registered in the RHOSO project under the
sig-installer.Suite_openshift_openstack.egressip.*pattern — or
cifmw_polarion_create_testcasesmust be enabled for the first run toauto-create them.