Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 540066 - openjdk-jdk11-latest fails
Summary: openjdk-jdk11-latest fails
Status: CLOSED FIXED
Alias: None
Product: Community
Classification: Eclipse Foundation
Component: CI-Jenkins (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: CI Admin Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-11 17:23 EDT by Bill Shannon CLA
Modified: 2018-10-17 06:07 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bill Shannon CLA 2018-10-11 17:23:03 EDT
Configuring my job to use openjdk-jdk11-latest fails:

+ echo /opt/tools/apache-maven/latest/bin:/opt/tools/java/openjdk/jdk-11/latest/bin:/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
/opt/tools/apache-maven/latest/bin:/opt/tools/java/openjdk/jdk-11/latest/bin:/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
+ java -version
Picked up JAVA_TOOL_OPTIONS: -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap
Unrecognized VM option 'UseCGroupMemoryLimitForHeap'
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Comment 1 Mikaël Barbero CLA 2018-10-12 02:58:41 EDT
We're hunting where the JAVA_TOOL_OPTIONS env variable is defined. Thanks for the report.
Comment 2 Mikaël Barbero CLA 2018-10-12 15:12:44 EDT
The option was coming from a parent image. It should be ok now. Please try again.
Comment 3 Frederic Gurr CLA 2018-10-17 06:07:07 EDT
Closing. Please re-open if there is still a problem.