Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8037257

Race condition in the parallel parts of image build fails on high end machines

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2 P2
    • 9
    • 9
    • infrastructure
    • Oracle Linux 6.3 x64

    • x86
    • linux_oracle_6.0

      Machine Profile:

      * 16 core / 32-virtual core, 256 GiB RAM, 3.2 TB Physical server running Oracle Linux 6.3 x64
      * gcc version 4.4.6 20120305 (Red Hat 4.4.6-4) (GCC)

      Building:

      * JDK 9 dev - both open and closed configured with boot-jdk=1.7.0_51

      Error Message:

      Ignoring (other) com.sun.security.auth.module.package-info : <any>
         ClassSymbol <any>
      Ignoring (other) com.sun.security.jgss.package-info : <any>
         ClassSymbol <any>
      Ignoring (other) javax.xml.ws.wsaddressing.package-info : <any>
         ClassSymbol <any>
      4 warnings
      Creating images/lib/ct.sym
      gmake[2]: *** [/scratch/jenkins/jobs/jdk9-dev-build/workspace/build/linux-x86_64-normal-server-release/images/j2sdk-image/man/ja_JP.UTF-8/man1/policytool.1] Error 1
      gmake[2]: *** Waiting for unfinished jobs....
      gmake[2]: *** [/scratch/jenkins/jobs/jdk9-dev-build/workspace/build/linux-x86_64-normal-server-release/images/j2sdk-image/man/ja_JP.UTF-8/man1/appletviewer.1] Error 1
      gmake[2]: *** [/scratch/jenkins/jobs/jdk9-dev-build/workspace/build/linux-x86_64-normal-server-release/images/j2sdk-image/man/ja_JP.UTF-8/man1/unpack200.1] Error 1
      gmake[1]: *** [images] Error 2


      Initial analysis from Mike Duigou:

      It seems like a race condition in the parallel parts of image build since JOBS=1 makes it succeed and re-run makes it succeed.

      Temporary work around is to split off the images stage to it's own make.
      ie. make hotspot langtools corba jaxp jaxws jdk nashorn; make JOBS=1 images

            erikj Erik Joelsson
            skonchad Sandeep Konchady
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: