Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mac-x64 build are failing: Invalid Boot JDK #1824

Closed
archanaNogriya opened this issue Jun 5, 2020 · 7 comments
Closed

mac-x64 build are failing: Invalid Boot JDK #1824

archanaNogriya opened this issue Jun 5, 2020 · 7 comments
Assignees
Labels
bug Issues that are problems in the code as reported by the community macos Issues that affect or relate to the MAC OS
Milestone

Comments

@archanaNogriya
Copy link
Contributor

Platform:
jdk-mac-x64-openj9
jdk-mac-x64-hotspot

Architecture:
{
04:30:55 "ARCHITECTURE": "x64",
04:30:55 "TARGET_OS": "mac",
04:30:55 "VARIANT": "openj9",
04:30:55 "JAVA_TO_BUILD": "jdk",
04:30:55 "TEST_LIST": [
04:30:55 false
04:30:55 ],
04:30:55 "SCM_REF": "",
04:30:55 "BUILD_ARGS": "",
04:30:55 "NODE_LABEL": "macos10.14&&build&&mac&&x64",
04:30:55 "CONFIGURE_ARGS": "--enable-dtrace",
04:30:55 "OVERRIDE_FILE_NAME_VERSION": "",
04:30:55 "RELEASE": false,
04:30:55 "PUBLISH_NAME": "",
04:30:55 "ADOPT_BUILD_NUMBER": "",
04:30:55 "ENABLE_TESTS": true,
04:30:55 "CLEAN_WORKSPACE": false

Please describe the issue that you are having with our binaries and if possible how to recreate it.
https://ci.adoptopenjdk.net/view/Failing%20Builds/job/build-scripts/job/jobs/job/jdk/job/jdk-mac-x64-openj9/4/

configure: error: The path given by --with-boot-jdk does not contain a valid Boot JDK

@M-Davies
Copy link
Contributor

M-Davies commented Jun 5, 2020

Looks like JAVA_HOME was set to a JDK 8 binary

04:31:07  Required boot JDK version: 14
04:31:07  Setting JDK_BOOT_DIR to $JAVA_HOME
04:31:07  Boot jdk directory: /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home:
04:31:07  BOOT JDK: openjdk version "1.8.0_252"
04:31:07  BOOT JDK: OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_252-b09)
04:31:07  BOOT JDK: OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.252-b09, mixed mode)
04:31:07  JDK IN PATH: openjdk version "1.8.0_252"
04:31:07  JDK IN PATH: OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_252-b09)
04:31:07  JDK IN PATH: OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.252-b09, mixed mode)

@Willsparker IIRC you have dealt with this sort of problem before? What is the procedure for when we have an invalid boot JDK?

@M-Davies M-Davies added bug Issues that are problems in the code as reported by the community macos Issues that affect or relate to the MAC OS labels Jun 5, 2020
@M-Davies
Copy link
Contributor

M-Davies commented Jun 5, 2020

Ah I see why. It looks like it failed to download a valid boot jdk

04:31:07  Downloading GA release of boot JDK version 14...
04:31:06   > git rev-parse origin/master^{commit} # timeout=10
04:31:06   > git config core.sparsecheckout # timeout=10
04:31:06   > git checkout -f 6a5ffb79321034b8a001aed7ef805a1dd40c57f2 # timeout=10
04:31:07  Downloading GA release of boot JDK version 14 failed.

This is related to #1825

@karianna karianna added this to TODO in temurin-build via automation Jun 5, 2020
@karianna karianna added this to the June 2020 milestone Jun 5, 2020
@karianna karianna moved this from TODO to In Progress in temurin-build Jun 5, 2020
@karianna
Copy link
Contributor

karianna commented Jun 5, 2020

I wonder if we should abort the byuild when that download fails with a clear message that we can't build due to a missing boot

@Willsparker
Copy link
Contributor

@M-Davies AH, didn't know the API went down this morning. That would explain an issue I've been having :) What JAVA_HOME is set to shouldn't affect the JDK_BOOT_DIR (usually), but as you say, it looks like it just couldn't download one and so defaulted to JAVA_HOME.

@M-Davies
Copy link
Contributor

M-Davies commented Jun 5, 2020

I wonder if we should abort the byuild when that download fails with a clear message that we can't build due to a missing boot

Created #1826 to follow up on that ;)

@sxa
Copy link
Member

sxa commented Jun 5, 2020

AdoptOpenJDK APi server fell over last night and is now back so this is not arepeatable problem (although we should perhaps mention in it ithe intermittent failures issue)

@sxa sxa closed this as completed Jun 5, 2020
temurin-build automation moved this from In Progress to Done Jun 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issues that are problems in the code as reported by the community macos Issues that affect or relate to the MAC OS
Projects
No open projects
temurin-build
  
Done
Development

No branches or pull requests

5 participants