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

JDK11+/J9/MacOS build failure #2754

Open
sxa opened this issue Oct 12, 2021 · 4 comments
Open

JDK11+/J9/MacOS build failure #2754

sxa opened this issue Oct 12, 2021 · 4 comments
Labels
buildbreak High priority issues that cause build breaks in jenkins or build scripts jenkins Issues that enhance or fix our jenkins server macos Issues that affect or relate to the MAC OS openj9 Issues that are enhancements or bugs raised against the OpenJ9 group

Comments

@sxa
Copy link
Member

sxa commented Oct 12, 2021

Thank you for reporting a broken build! Please fill in the following details:

  • Jenkins link to the failing log: JDK11 - JDK17
  • Which platforms (OS+arch) are affected: macos/x64
  • If you look at the historic logs, does the problem appear to be specific to one machine? n/a
  • Link to any upstream project bug report (e.g. OpenJ9/JBS)
19:28:50  Currently at '/Users/jenkins/workspace/build-scripts/jobs/jdk11u/jdk11u-mac-x64-openj9/workspace/build/src'
19:28:51  Not reconfiguring due to the presence of config.status
19:28:52  Configuring OpenSSL version 1.1.1l (0x101010cfL) for darwin64-x86_64-cc
19:28:52  Using os-specific seed configuration
19:28:53  Creating configdata.pm
19:28:53  Creating Makefile
19:28:53  
19:28:53  **********************************************************************
19:28:53  ***                                                                ***
19:28:53  ***   OpenSSL has been successfully configured                     ***
19:28:53  ***                                                                ***
19:28:53  ***   If you encounter a problem while building, please open an    ***
19:28:53  ***   issue on GitHub <https://github.com/openssl/openssl/issues>  ***
19:28:53  ***   and include the output from the following command:           ***
19:28:53  ***                                                                ***
19:28:53  ***       perl configdata.pm --dump                                ***
19:28:53  ***                                                                ***
19:28:53  ***   (If you are new to OpenSSL, you might want to consult the    ***
19:28:53  ***   'Troubleshooting' section in the INSTALL file first)         ***
19:28:53  ***                                                                ***
19:28:53  **********************************************************************
19:28:53  make[5]: *** wait: No child processes.  Stop.
19:28:53  make[4]: *** [all] Error 2
19:28:53  make[3]: *** [build-j9] Error 2
19:28:53  make[2]: *** [j9vm-build] Error 2
19:28:53  
19:28:53  ERROR: Build failed for target 'default (exploded-image)' in configuration 'macosx-x86_64-normal-server-release' (exit code 2) 
19:28:53  make[1]: *** [main] Error 2
19:28:53  make: *** [default] Error 2
19:28:53  OpenJDK make failed, archiving make failed logs
19:28:53  Copying build.log to TemurinLogsArchive
19:28:53  Copying make-support/failure-logs to TemurinLogsArchive
19:28:54  Archiving the build OpenJDK image and compressing with gzip
@sxa sxa added the buildbreak High priority issues that cause build breaks in jenkins or build scripts label Oct 12, 2021
@sxa
Copy link
Member Author

sxa commented Oct 12, 2021

@AdamBrousseau Have you seen any such problems on your MacOS builds? JDK8 appears ok

@github-actions github-actions bot added jenkins Issues that enhance or fix our jenkins server macos Issues that affect or relate to the MAC OS openj9 Issues that are enhancements or bugs raised against the OpenJ9 group labels Oct 12, 2021
@sxa sxa changed the title JDK11+/J9/MacOS build (HIdden) failure JDK11+/J9/MacOS build failure Oct 13, 2021
@AdamBrousseau
Copy link
Contributor

We seem to have intermittent compile failures on mac. @pshipton may have more insight. But I don't believe it happens at that spot you saw in your build.

00:06:41.396  [ 77%] Building CXX object runtime/compiler/CMakeFiles/j9jit.dir/Users/jenkins/workspace/build-scripts/jobs/jdk11u/jdk11u-mac-x64-openj9-IBM/workspace/build/src/omr/compiler/codegen/OMRTreeEvaluator.cpp.o
00:06:41.396  make[6]: *** read jobs pipe: No such file or directory.  Stop.
00:06:41.396  make[6]: *** Waiting for unfinished jobs....
00:06:41.396  [ 77%] Building CXX object runtime/omr/gc/CMakeFiles/omrgc.dir/base/standard/OverflowStandard.cpp.o
00:06:42.237  CMakeFiles/Makefile2:9135: recipe for target 'runtime/compiler/CMakeFiles/j9jit.dir/all' failed
00:06:42.237  make[5]: *** [runtime/compiler/CMakeFiles/j9jit.dir/all] Broken pipe: 13
00:06:42.237  Makefile:148: recipe for target 'all' failed
00:06:42.237  make[4]: *** [all] Broken pipe: 13
00:06:42.237  /Users/jenkins/workspace/build-scripts/jobs/jdk11u/jdk11u-mac-x64-openj9-IBM/workspace/build/src/closed/OpenJ9.gmk:499: recipe for target 'build-j9' failed
00:06:42.237  make[3]: *** [build-j9] Error 2
00:06:42.237  /Users/jenkins/workspace/build-scripts/jobs/jdk11u/jdk11u-mac-x64-openj9-IBM/workspace/build/src/closed/custom/Main.gmk:49: recipe for target 'j9vm-build' failed
00:06:42.237  make[2]: *** [j9vm-build] Error 2
00:06:42.237  make[2]: INTERNAL: Exiting with 1 jobserver tokens available; should be 12!
00:06:42.237  
00:06:42.237  ERROR: Build failed for targets 'product-images mac-legacy-jre-bundle test-image debug-image' in configuration 'macosx-x86_64-normal-server-release' (exit code 2) 
00:06:42.237  Stopping sjavac server
00:06:42.237  
00:06:42.237  === Make failed targets repeated here ===
00:06:42.237  CMakeFiles/Makefile2:9135: recipe for target 'runtime/compiler/CMakeFiles/j9jit.dir/all' failed
00:06:42.237  Makefile:148: recipe for target 'all' failed
00:06:42.237  /Users/jenkins/workspace/build-scripts/jobs/jdk11u/jdk11u-mac-x64-openj9-IBM/workspace/build/src/closed/OpenJ9.gmk:499: recipe for target 'build-j9' failed
00:06:42.237  /Users/jenkins/workspace/build-scripts/jobs/jdk11u/jdk11u-mac-x64-openj9-IBM/workspace/build/src/closed/custom/Main.gmk:49: recipe for target 'j9vm-build' failed
00:06:42.237  === End of repeated output ===
00:06:42.237  
00:06:42.237  Hint: Try searching the build log for the name of the first failed target.
00:06:42.237  Hint: See doc/building.html#troubleshooting for assistance.
00:06:42.237  
00:06:42.237  /Users/jenkins/workspace/build-scripts/jobs/jdk11u/jdk11u-mac-x64-openj9-IBM/workspace/build/src/make/Init.gmk:300: recipe for target 'main' failed
00:06:42.237  make[1]: *** [main] Error 2
00:06:42.237  /Users/jenkins/workspace/build-scripts/jobs/jdk11u/jdk11u-mac-x64-openj9-IBM/workspace/build/src/make/Init.gmk:186: recipe for target 'product-images' failed
00:06:42.237  make: *** [product-images] Error 2
00:06:42.237  OpenJDK make failed, archiving make failed logs

@sxa
Copy link
Member Author

sxa commented Oct 13, 2021

Yeah looks like mine are consistent and in the openssl build phase, so not the same as what you're getting.

@pshipton
Copy link
Contributor

What is shown looks like a machine problem to me. The OpenJ9 project hasn't seen this type of failure. Is the output showing the first occurrence of ] Error? It's not always clear from the end of the output what went wrong and you need to look back and find where it first failed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
buildbreak High priority issues that cause build breaks in jenkins or build scripts jenkins Issues that enhance or fix our jenkins server macos Issues that affect or relate to the MAC OS openj9 Issues that are enhancements or bugs raised against the OpenJ9 group
Projects
Status: Todo
Development

No branches or pull requests

3 participants