Bugzilla – Bug 1219904
[Build 20240213] openQA test fails in swing- conflicting java versions
Last modified: 2024-02-15 08:45:13 UTC
## Observation Findings: * openSUSE isinstalled graphically, with Libreoffice(-base), which requires 'java' * 'java' unspecified is currently suggested by the product to mean 'java-11-openjdk( (zypper info --suggests openSUSE-release) - thus preinstalled * The tests triggers 'zypper in java java-devel' * 'java-devel' is provided by all java-*-open(j9|openjdk) packages - here, we have no suggests marker, thus java-21-openj9 wins (alphabetically, with best version provides) * the test forcibly sets java to the latest openjdk variant installed => we now have java pointing to java1--openjdk, and the java-devel being java-21-openj9 installed And that's how the test fails. openQA test in scenario opensuse-Tumbleweed-DVD-x86_64-toolkits@64bit fails in [swing](https://openqa.opensuse.org/tests/3936992/modules/swing/steps/12) ## Test suite description Maintainer: dheidler@suse.de Test GUI Toolkits ## Reproducible Fails since (at least) Build [20240213](https://openqa.opensuse.org/tests/3936992) (current job) ## Expected result Last good: [20240212](https://openqa.opensuse.org/tests/3935365) (or more recent) ## Further details Always latest result in this scenario: [latest](https://openqa.opensuse.org/tests/latest?arch=x86_64&distri=opensuse&flavor=DVD&machine=64bit&test=toolkits&version=Tumbleweed)
Mitigations: openSUSE-release should suggest java-21-openjdk AND java-21-openjdk-devel, so users doing just zypper in java java-devel will get what we also use as default to build in TW (currently java-21-opendk)
Mitigation worked - confirmed by openQA: https://openqa.opensuse.org/tests/3940120#step/swing/11