Lucid Software validates every pull request for its internal code base. Running over 1000 builds a day across 80 projects strains the robustness of our code, tests, and tools.
For example, several times a week, builds complained about the default Java version. It didn't make much sense. Our servers are configured by Chef, which runs at boot and every 30 minutes thereafter. During each run, update-java-alternatives sets Java 8 as the default. But somehow, the build servers were occasionally using an older version.
Each time update-java-alternatives ran, it reset Java to the "automatic default", which for Ubuntu 14.04 is Java 7. It then set Java back to the requested version. Any build that started a JVM in the intervening few milliseconds failed.
$ while :; do readlink /etc/alternatives/java; sleep 0.01; done
$ sudo update-java-alternatives -s java-1.8.0-openjdk-amd64
A patch is available on the Debian bug tracker for the java-common package.
About Lucid
Lucid Software is the leader in visual collaboration and work acceleration, helping teams see and build the future by turning ideas into reality. Its products include the Lucid Visual Collaboration Suite (Lucidchart and Lucidspark) and airfocus. The Lucid Visual Collaboration Suite, combined with powerful accelerators for business agility, cloud, and process transformation, empowers organizations to streamline work, foster alignment, and drive business transformation at scale. airfocus, an AI-powered product management and roadmapping platform, extends these capabilities by helping teams prioritize work, define product strategy, and align execution with business goals. The most used work acceleration platform by the Fortune 500, Lucid's solutions are trusted by more than 100 million users across enterprises worldwide, including Google, GE, and NBC Universal. Lucid partners with leaders such as Google, Atlassian, and Microsoft, and has received numerous awards for its products, growth, and workplace culture.