Openbravo Issue Tracking System - Retail Modules |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0046492 | Retail Modules | Web POS | public | 2021-05-04 17:12 | 2021-05-26 07:45 |
|
Reporter | shuehner | |
Assigned To | ranjith_qualiantech_com | |
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | RR21Q3 | |
Merge Request Status | approved |
Review Assigned To | |
OBNetwork customer | No |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 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
at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2630)
|
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'
- machine.scale
- machine.rfid
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.
|
Additional Information | |
Tags | No tags attached. |
Relationships | depends on | backport | 0046493 | RR21Q2 | closed | ranjith_qualiantech_com | Retail Modules | Please run hardware manager without Java UI in CI | depends on | backport | 0046494 | RR21Q1.2 | closed | ranjith_qualiantech_com | Retail Modules | Please run hardware manager without Java UI in CI | depends on | backport | 0046495 | RR20Q4.4 | closed | ranjith_qualiantech_com | Retail Modules | Please run hardware manager without Java UI in CI | related to | defect | 0047009 | | closed | shuehner | Openbravo ERP | Running backoffice selenium tests fails with only openjdk-11-jre-headless installed but gui environment available |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2021-05-04 17:12 | shuehner | New Issue | |
2021-05-04 17:12 | shuehner | Assigned To | => Retail |
2021-05-04 17:12 | shuehner | OBNetwork customer | => No |
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 | Merge Request Status | => open |
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 | |
2021-05-17 05:35 | hgbot | Note Added: 0128151 | |
2021-05-17 07:35 | hgbot | Note Added: 0128161 | |
2021-05-17 07:38 | hgbot | Merge Request Status | open => approved |
2021-05-17 07:41 | hgbot | Note Added: 0128162 | |
2021-05-17 07:41 | hgbot | Note Added: 0128163 | |
2021-05-17 07:41 | hgbot | Note Added: 0128164 | |
2021-05-17 07:41 | hgbot | Note Added: 0128165 | |
2021-05-17 07:41 | hgbot | Resolution | open => fixed |
2021-05-17 07:41 | hgbot | Status | scheduled => closed |
2021-05-17 07:41 | hgbot | Note Added: 0128166 | |
2021-05-17 07:41 | hgbot | Fixed in Version | => RR21Q3 |
2021-05-17 07:41 | hgbot | Note Added: 0128167 | |
2021-05-21 08:07 | hgbot | Note Added: 0128470 | |
2021-05-21 08:07 | hgbot | Note Added: 0128471 | |
2021-05-21 08:46 | hgbot | Note Added: 0128472 | |
2021-05-21 08:46 | hgbot | Note Added: 0128473 | |
2021-05-21 08:46 | hgbot | Note Added: 0128474 | |
2021-05-21 08:46 | hgbot | Note Added: 0128475 | |
2021-05-25 08:23 | hgbot | Note Added: 0128598 | |
2021-05-25 08:23 | hgbot | Note Added: 0128599 | |
2021-05-25 10:31 | hgbot | Note Added: 0128605 | |
2021-05-25 10:31 | hgbot | Note Added: 0128606 | |
2021-05-25 10:31 | hgbot | Note Added: 0128607 | |
2021-05-25 10:31 | hgbot | Note Added: 0128608 | |
2021-05-26 07:32 | hgbot | Note Added: 0128633 | |
2021-05-26 07:45 | hgbot | Note Added: 0128634 | |
2021-05-26 07:45 | hgbot | Note Added: 0128635 | |
2021-06-07 16:09 | shuehner | Relationship added | related to 0047009 |
Notes |
|
|
As this fix is required to our CI to work it is needed to be backported to all active releases. |
|
|
(0127913)
|
hgbot
|
2021-05-10 07:18
|
|
|
|
(0127914)
|
hgbot
|
2021-05-10 07:18
|
|
|
|
(0127915)
|
hgbot
|
2021-05-10 07:18
|
|
|
|
(0128151)
|
hgbot
|
2021-05-17 05:35
|
|
|
|
(0128161)
|
hgbot
|
2021-05-17 07:35
|
|
|
|
(0128162)
|
hgbot
|
2021-05-17 07:41
|
|
|
|
(0128163)
|
hgbot
|
2021-05-17 07:41
|
|
|
|
(0128164)
|
hgbot
|
2021-05-17 07:41
|
|
|
|
(0128165)
|
hgbot
|
2021-05-17 07:41
|
|
|
|
(0128166)
|
hgbot
|
2021-05-17 07:41
|
|
|
|
(0128167)
|
hgbot
|
2021-05-17 07:41
|
|
|
|
(0128470)
|
hgbot
|
2021-05-21 08:07
|
|
|
|
(0128471)
|
hgbot
|
2021-05-21 08:07
|
|
|
|
(0128472)
|
hgbot
|
2021-05-21 08:46
|
|
|
|
(0128473)
|
hgbot
|
2021-05-21 08:46
|
|
|
|
(0128474)
|
hgbot
|
2021-05-21 08:46
|
|
|
|
(0128475)
|
hgbot
|
2021-05-21 08:46
|
|
|
|
(0128598)
|
hgbot
|
2021-05-25 08:23
|
|
|
|
(0128599)
|
hgbot
|
2021-05-25 08:23
|
|
|
|
(0128605)
|
hgbot
|
2021-05-25 10:31
|
|
|
|
(0128606)
|
hgbot
|
2021-05-25 10:31
|
|
|
|
(0128607)
|
hgbot
|
2021-05-25 10:31
|
|
|
|
(0128608)
|
hgbot
|
2021-05-25 10:31
|
|
|
|
(0128633)
|
hgbot
|
2021-05-26 07:32
|
|
|
|
(0128634)
|
hgbot
|
2021-05-26 07:45
|
|
|
|
(0128635)
|
hgbot
|
2021-05-26 07:45
|
|
|