|View Issue Details|
|Type||Category||Severity||Reproducibility||Date Submitted||Last Update|
|backport||[Retail Modules] Web POS||minor||have not tried||2021-05-04 17:12||2021-05-04 17:14|
|Priority||normal||Resolution||open||Fixed in Version|
|Status||scheduled||Fix in branch||Fixed in SCM revision|
|OS Version||Database version||Ant version|
|Product Version||SCM revision|
|Review Assigned To|
|Regression introduced in release|
|Regression introduced by commit|
|Triggers an Emergency Pack||No|
0046494: Please run hardware manager without Java UI in CI
|Description||Running selenium tests from mobile-test repository indirectly is starting the hardware manager on the server (via some ant tasks in that mobile-test repo).|
So far that has been classically done without the Java UI shown (as it is done by default) and as UI was available anyway (to run chrome browser for the (selenium) tests themselves.
However a recent Ubuntu packaging change broke running java GUI application with just the openjdk-11-jdk-headless package installed.
Conceptually that should have been always like that however in practice that worked 'accidentally' so far.
openjdk-lts (11.0.11+4-0ubuntu1) hirsute; urgency=medium
* Move libawt_xawt.so, libjawt.so into the jre package. Closes: #908058.
- That change has been also backported into the LTS version 18.04 & 20.04
As we don't really need the GUI part in Jenkins and the Hardwaremanager already has a text mode we should probably just switch to it.
|Steps To Reproduce||- install only openjdk-11-jdk-headless/openjdk-11-jre-headless (latest version) without having the packages openjdk-11-jdk/openjdk-11-jre installed.|
- Try tun run the hardware manager as usual via bin/start
- Notice it failing with
Exception in thread "main" java.lang.UnsatisfiedLinkError: Can't load library: /usr/lib/jvm/java-11-openjdk-amd64/lib/libawt_xawt.so
|Proposed Solution||change the openbravohw.properties to allow it to run without UI|
a.) application.ui = false
b.) Not having any 'device' configured as 'screen'
Currently have this.
Changing both items in b.) to 'null' allows the start to work in text-mode
Note => It needs to be checked if 'null' has any side-effect on the test-behavior itself.
|Tags||No tags attached.|
|2021-05-04 17:14||shuehner||Type||feature request => backport|
|2021-05-04 17:14||shuehner||Target Version||=> RR21Q1.2|
|Copyright © 2000 - 2009 MantisBT Group|