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

[macos] EmptyFolderPackageTest.java still fails "hdiutil: create failed - No child processes"

    Details

    • Subcomponent:
    • CPU:
      x86_64
    • OS:
      os_x

      Description

      The following test failed in the JDK15 CI:

      tools/jpackage/share/EmptyFolderPackageTest.java

      Here's a snippet from the log file:

      2020-07-10 20:30:30.040 diskimages-helper[43471:946707] DIHelperHDID serveImage: connecting to myDrive 0x430F
      2020-07-10 20:30:30.040 diskimages-helper[43471:946707] DIHelperHDID serveImage: register _readBuffer 0x111ee7000
      2020-07-10 20:30:30.040 diskimages-helper[43471:946707] DIHelperHDID serveImage: activating drive port 16931
      2020-07-10 20:30:30.040 diskimages-helper[43471:946707] DIHelperHDID serveImage: set cache enabled=TRUE returned FAILURE.
      2020-07-10 20:30:30.181 diskimages-helper[43471:946707] DIHelperHDID serveImage: set on IO thread=TRUE returned SUCCESS.
      2020-07-10 20:30:30.181 diskimages-helper[43471:946707] -processKernelRequest: will sleep received
      2020-07-10 20:30:50.751 diskimages-helper[43471:946345] _mountDevEntries: disk1s1 aborting mountpoint postflight because disk image has no band size specified.
      2020-07-10 20:30:50.752 diskimages-helper[43471:946345] *useEffectiveIDs**** euid/egid changed to 502,10668 (uid/gid is 502,10668)
      2020-07-10 20:30:51.868 diskimages-helper[43471:946345] *useRealIDs******** euid/egid changed to 502,10668 (uid/gid is 502,10668)
      Copying???
      2020-07-10 20:30:51.868 diskimages-helper[43471:946345] *useEffectiveIDs**** euid/egid changed to 502,10668 (uid/gid is 502,10668)
      2020-07-10 20:30:51.882 copy-helper[43559:947380] copying /private/var/folders/fr/m36n2yss1y31czvg7cmtv2g40000gp/T/jdk.incubator.jpackage12092626529828944178/images/image-10084472991856221942 to /Volumes/EmptyFolderPackageTest
      2020-07-10 20:30:51.883 copy-helper[43559:947380] About to copy "/var/folders/fr/m36n2yss1y31czvg7cmtv2g40000gp/T/jdk.incubator.jpackage12092626529828944178/images/image-10084472991856221942".
      2020-07-10 20:30:55.056 hdiutil[43469:946321] helper died
      DIHLDiskImageCreate() returned 10
      (null)
      2020-07-10 20:30:55.466 copy-helper[43559:947380] copy error (canceling): /Volumes/EmptyFolderPackageTest/EmptyFolderPackageTest.app/Contents/app/.jpackage.xml: Bad file descriptor
      2020-07-10 20:30:55.466 copy-helper[43559:947380] Copy finished with error 9 (Bad file descriptor).
      hdiutil: create: returning 10
      hdiutil: create failed - No child processes
      java.io.IOException: Command [/usr/bin/hdiutil, create, -verbose, -srcfolder, /var/folders/fr/m36n2yss1y31czvg7cmtv2g40000gp/T/jdk.incubator.jpackage12092626529828944178/images/image-10084472991856221942, -volname, EmptyFolderPackageTest, -ov, /var/folders/fr/m36n2yss1y31czvg7cmtv2g40000gp/T/jdk.incubator.jpackage12092626529828944178/images/EmptyFolderPackageTest-tmp.dmg, -fs, HFS+, -format, UDRW] exited with 1 code
      at jdk.incubator.jpackage/jdk.incubator.jpackage.internal.Executor.executeExpectSuccess(Executor.java:75)
      at jdk.incubator.jpackage/jdk.incubator.jpackage.internal.IOUtils.exec(IOUtils.java:167)
      at jdk.incubator.jpackage/jdk.incubator.jpackage.internal.IOUtils.exec(IOUtils.java:135)
      at jdk.incubator.jpackage/jdk.incubator.jpackage.internal.MacDmgBundler.buildDMG(MacDmgBundler.java:327)
      at jdk.incubator.jpackage/jdk.incubator.jpackage.internal.MacDmgBundler.bundle(MacDmgBundler.java:91)
      at jdk.incubator.jpackage/jdk.incubator.jpackage.internal.MacDmgBundler.execute(MacDmgBundler.java:535)
      at jdk.incubator.jpackage/jdk.incubator.jpackage.internal.Arguments.generateBundle(Arguments.java:680)
      at jdk.incubator.jpackage/jdk.incubator.jpackage.internal.Arguments.processArguments(Arguments.java:549)
      at jdk.incubator.jpackage/jdk.incubator.jpackage.main.Main.execute(Main.java:98)
      at jdk.incubator.jpackage/jdk.incubator.jpackage.main.Main.main(Main.java:52)
      Running [/usr/bin/hdiutil, create, -verbose, -size, 178975607, -volname, EmptyFolderPackageTest, -ov, /var/folders/fr/m36n2yss1y31czvg7cmtv2g40000gp/T/jdk.incubator.jpackage12092626529828944178/images/EmptyFolderPackageTest-tmp.dmg, -fs, HFS+]
      ----------System.err:(3/171)----------

      This failure occurred in the jdk-15+32-1515-tier2 CI job set
      which includes the fix for the following:

          JDK-8248059 [macos] EmptyFolderPackageTest.java failed "hdiutil: create failed - No child processes"

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                almatvee Alexander Matveev
                Reporter:
                dcubed Daniel Daugherty
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: