|View Issue Details|
|Type||Category||Severity||Reproducibility||Date Submitted||Last Update|
|feature request||[Retail Modules] Web POS||minor||have not tried||2021-05-04 17:12||2021-05-11 08:54|
|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|
0046492: 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.|
|As this fix is required to our CI to work it is needed to be backported to all active releases.|
Merge Request created: https://gitlab.com/openbravo/ci/mobile-test/-/merge_requests/87 [^]
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.poshwmanager/-/merge_requests/17 [^]
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.poshwmanager.sources/-/merge_requests/24 [^]
|2021-05-04 17:12||shuehner||New Issue|
|2021-05-04 17:12||shuehner||Assigned To||=> Retail|
|2021-05-04 17:12||shuehner||Triggers an Emergency Pack||=> No|
|2021-05-04 17:14||shuehner||Status||new => scheduled|
|2021-05-04 17:14||shuehner||Note Added: 0127778|
|2021-05-06 10:04||ranjith_qualiantech_com||Assigned To||Retail => ranjith_qualiantech_com|
|2021-05-10 07:18||hgbot||Note Added: 0127913|
|2021-05-10 07:18||hgbot||Note Added: 0127914|
|2021-05-10 07:18||hgbot||Note Added: 0127915|
|2021-05-11 08:54||priyam||Issue Monitored: priyam|
|Copyright © 2000 - 2009 MantisBT Group|