mirror of
https://github.com/status-im/status-desktop.git
synced 2025-03-03 07:50:49 +00:00
By default these settings are disable: ```java /** Let Xvfb pick display number */ private boolean autoDisplayName = false; ``` https://github.com/jenkinsci/xvfb-plugin/blob/88cb84e0/src/main/java/org/jenkinsci/plugins/xvfb/Xvfb.java#L434-L435 ```java /** Run on same node in parallel */ private boolean parallelBuild = false; ``` https://github.com/jenkinsci/xvfb-plugin/blob/88cb84e0/src/main/java/org/jenkinsci/plugins/xvfb/Xvfb.java#L440-L441 Which means that this code doesn't have an effect by default: ```java final int executorNumber= executor.getNumber(); if (parallelBuild) { final Computer[] computers = Jenkins.get().getComputers(); final int nodeIndex = Arrays.binarySearch(computers, currentComputer, ComputerNameComparator.INSTANCE); return nodeIndex * 100 + executorNumber + displayNameOffset; } else { return executorNumber + displayNameOffset; } ``` https://github.com/jenkinsci/xvfb-plugin/blob/88cb84e0/src/main/java/org/jenkinsci/plugins/xvfb/Xvfb.java#L637-L647 And causes errors like this: ``` $ /usr/bin/Xvfb :0 -screen 0 1024x768x24 -fbdir /home/jenkins/workspace/desktop_branches_uitests_PR-6952/.xvfb-3-..fbdir7194278924155710961 Xvfb starting(EE) Fatal server error: (EE) Server is already active for display 0 ``` Signed-off-by: Jakub Sokołowski <jakub@status.im>
Status-desktop
Desktop client for the Status Network built with Nim and Qt
Dev Docs: https://hackmd.io/@status-desktop/B1naRjxh_/https%3A%2F%2Fhackmd.io%2F%40status-desktop%2FB1eOaf-nd
Description
Languages
QML
39.7%
JavaScript
29.3%
Nim
18.5%
Python
5.6%
C++
5.2%
Other
1.5%