action #43685
closed[migration] test fails in addon_products_sle - Hardcoded versions cause tests to fail
0%
Description
Observation¶
openQA test in scenario sle-15-SP1-Installer-DVD-s390x-media_upgrade_sles12sp3+allmodules_allpatterns_ADDONURL@s390x-kvm-sle12 fails in
addon_products_sle
Reproducible¶
Fails since (at least) Build 15.6
Expected result¶
Last good: (unknown) (or more recent)
Further details¶
Always latest result in this scenario: latest
Updated by szarate over 5 years ago
Not only hardcoded versions, but also hardcoded arches
Updated by szarate over 5 years ago
I changed the %VERSION% for the time being, however the %ARCH% would need to also be set.
ADDONURL=base,desktop,serverapp,legacy,ha,sles
ADDONURL_BASE=ftp://openqa.suse.de/SLE-%VERSION%-Module-Basesystem-POOL-s390x-Build%BUILD%-Media1
ADDONURL_DESKTOP=ftp://openqa.suse.de/SLE-%VERSION%-Module-Desktop-Applications-POOL-s390x-Build%BUILD%-Media1
ADDONURL_HA=ftp://openqa.suse.de/SLE-%VERSION%-Product-HA-POOL-s390x-Build%BUILD%-Media1/
ADDONURL_LEGACY=ftp://openqa.suse.de/SLE-%VERSION%-Module-Legacy-POOL-s390x-Build%BUILD%-Media1
ADDONURL_SERVERAPP=ftp://openqa.suse.de/SLE-%VERSION%-Module-Server-Applications-POOL-s390x-Build%BUILD%-Media1
ADDONURL_SLES=ftp://openqa.suse.de/SLE-%VERSION%-Product-SLES-POOL-s390x-Build%BUILD%-Media1/
Updated by szarate over 5 years ago
Loic, Sunny, perhaps you know if I'm mitaken? (As it is s390, migration.. I'm not sure who of you would be responsible)
Updated by ldevulder over 5 years ago
szarate wrote:
Loic, Sunny, perhaps you know if I'm mitaken? (As it is s390, migration.. I'm not sure who of you would be responsible)
It's not HA specific (upgrade with all patterns), so I think that it's more for Sunny.
Updated by okurz over 5 years ago
- Subject changed from [migration][u] - test fails in addon_products_sle - Hardcoded versions cause tests to fail to [migration] test fails in addon_products_sle - Hardcoded versions cause tests to fail
- Assignee set to sunyan
@sunyan could you please pick it up for QA SLE migration?
Updated by coolgw over 5 years ago
okurz wrote:
@sunyan could you please pick it up for QA SLE migration?
@okurz
I am in sunyan's QA team.
I have updated the media_upgrade_sles12sp3+allmodules_allpatterns_ADDONURL with %VERSION% and %ARCH%. I suppose this will fix this case and after that we need update the other cases.
ADDONURL_BASE=ftp://openqa.suse.de/SLE-%VERSION%-Module-Basesystem-POOL-%ARCH%-Build%BUILD%-Media1
ADDONURL_CONTM=ftp://openqa.suse.de/SLE-%VERSION%-Module-Containers-POOL-%ARCH%-Media1-CURRENT/
ADDONURL_DESKTOP=ftp://openqa.suse.de/SLE-%VERSION%-Module-Desktop-Applications-POOL-%ARCH%-Build%BUILD%-Media1
ADDONURL_LEGACY=ftp://openqa.suse.de/SLE-%VERSION%-Module-Legacy-POOL-%ARCH%-Build%BUILD%-Media1
ADDONURL_PCM=ftp://openqa.suse.de/SLE-%VERSION%-Module-Public-Cloud-POOL-%ARCH%-Build%BUILD%-Media1/
ADDONURL_SCRIPT=ftp://openqa.suse.de/SLE-%VERSION%-Module-Web-Scripting-POOL-%ARCH%-Build%BUILD%-Media1/
ADDONURL_SERVERAPP=ftp://openqa.suse.de/SLE-%VERSION%-Module-Server-Applications-POOL-%ARCH%-Build%BUILD%-Media1
ADDONURL_SLES=ftp://openqa.suse.de/SLE-%VERSION%-Product-SLES-POOL-%ARCH%-Build%BUILD%-Media1/
Updated by okurz over 5 years ago
The latest test result is https://openqa.suse.de/tests/2262236 where I see the correct settings. So this looks good. However, the test fails now still in the same test module and as a test label this ticket is used which is not describing the problem anymore. Looks like in https://openqa.suse.de/tests/2262236#step/addon_products_sle/62 the needle for the module strings does not match. I recommend to create new needles with lower match level, e.g. 80%, to be more resilient.