Bug ID 1219904
Summary [Build 20240213] openQA test fails in swing- conflicting java versions
Classification openSUSE
Product openSUSE Tumbleweed
Version Current
Hardware Other
URL https://openqa.opensuse.org/tests/3936992/modules/swing/steps/12
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component Java
Assignee java-maintainers@suse.de
Reporter dimstar@opensuse.org
QA Contact qa-bugs@suse.de
Target Milestone ---
Found By openQA
Blocker Yes

## 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)


You are receiving this mail because: