Commit ba0f39d
Fix Polarion test case ID matching in modifyE2ETags.py
jump.py builds the Polarion match key as "classname.name" and
queries Polarion for entries matching those IDs. The XML produced
by modifyE2ETags.py had classname="no-testclass" (Ginkgo's
default, never overwritten) and an "OTP." prefix in the name
(from the [OTP] tag). This produced IDs like
"no-testclass.OTP.sig-installer.Suite_openshift_openstack..."
which matched nothing in Polarion. The empty query result caused
process_xml() to raise JumpException("Cannot proceed without xml
with tempest results").
Strip the "OTP." prefix and split the formatted name at the first
dot — first segment becomes classname, rest becomes name. This
produces classname="sig-installer" and name="Suite_openshift_
openstack.<category>.<description>", matching the 21 registered
automation-test-ids (RHOSO-11212 through RHOSO-11266).
Validated on serval70 with jump.py --dry_run=True (no
--no-mapping). Tests matched correctly against Polarion entries.
Related-Issue: OSPRH-32990
Co-authored-by: Cursor <cursoragent@cursor.com>1 parent fbc3536 commit ba0f39d
1 file changed
Lines changed: 8 additions & 1 deletion
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
53 | 60 | | |
54 | 61 | | |
55 | 62 | | |
| |||
0 commit comments