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

[macos] tools/jpackage/share/MultiLauncherTwoPhaseTest.java failed with "execution error: An error of type -610 has occurred."

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 17
    • Fix Version/s: None
    • Component/s: tools
    • Subcomponent:
    • CPU:
      x86_64
    • OS:
      os_x

      Description

      The following test failed in the JDK17 CI:

      tools/jpackage/share/MultiLauncherTwoPhaseTest.java

      Here's a snippet from the log file:

      [22:52:58.837] Running /usr/bin/osascript
      [22:53:04.795] Command:
          /usr/bin/osascript /var/folders/tr/29h2dxlj4ll87qgqz6v2ky6w0000mv/T/jdk.jpackage5578132244196970205/config/MultiLauncherTwoPhaseTest-dmg-setup.scpt
      [22:53:04.795] Output:
          2021-01-05 22:53:03.635 osascript[24322:67867129] HIToolbox: received notification of WindowServer event port death.
          2021-01-05 22:53:03.635 osascript[24322:67867129] port matched the WindowServer port created in BindCGSToRunLoop
          /var/folders/tr/29h2dxlj4ll87qgqz6v2ky6w0000mv/T/jdk.jpackage5578132244196970205/config/MultiLauncherTwoPhaseTest-dmg-setup.scpt:1813:1819: execution error: An error of type -610 has occurred. (-610)
      [22:53:04.795] Returned: 1

      [22:53:04.796] java.io.IOException: Command [/usr/bin/osascript, /var/folders/tr/29h2dxlj4ll87qgqz6v2ky6w0000mv/T/jdk.jpackage5578132244196970205/config/MultiLauncherTwoPhaseTest-dmg-setup.scpt] exited with 1 code
      at jdk.jpackage/jdk.jpackage.internal.Executor.executeExpectSuccess(Executor.java:91)
      at jdk.jpackage/jdk.jpackage.internal.IOUtils.exec(IOUtils.java:191)
      at jdk.jpackage/jdk.jpackage.internal.IOUtils.exec(IOUtils.java:158)
      at jdk.jpackage/jdk.jpackage.internal.MacDmgBundler.buildDMG(MacDmgBundler.java:392)
      at jdk.jpackage/jdk.jpackage.internal.MacDmgBundler.bundle(MacDmgBundler.java:88)
      at jdk.jpackage/jdk.jpackage.internal.MacDmgBundler.execute(MacDmgBundler.java:540)
      at jdk.jpackage/jdk.jpackage.internal.Arguments.generateBundle(Arguments.java:664)
      at jdk.jpackage/jdk.jpackage.internal.Arguments.processArguments(Arguments.java:538)
      at jdk.jpackage/jdk.jpackage.main.Main.execute(Main.java:98)
      at jdk.jpackage/jdk.jpackage.main.Main.main(Main.java:52)
      [22:53:04.875] Running /usr/bin/SetFile
      [22:53:04.907] Command:
          /usr/bin/SetFile -c icnC /var/folders/tr/29h2dxlj4ll87qgqz6v2ky6w0000mv/T/jdk.jpackage5578132244196970205/images/MultiLauncherTwoPhaseTest/.VolumeIcon.icns
      [22:53:04.908] Returned: 0

      [22:53:04.908] Running /usr/bin/SetFile
      [22:53:04.940] Command:
          /usr/bin/SetFile -a C /var/folders/tr/29h2dxlj4ll87qgqz6v2ky6w0000mv/T/jdk.jpackage5578132244196970205/images/MultiLauncherTwoPhaseTest
      [22:53:04.940] Returned: 0

      [22:53:04.942] Running /usr/bin/hdiutil
      [22:53:04.983] Command:
          /usr/bin/hdiutil detach -force -verbose /var/folders/tr/29h2dxlj4ll87qgqz6v2ky6w0000mv/T/jdk.jpackage5578132244196970205/images/MultiLauncherTwoPhaseTest
      [22:53:04.984] Output:
          hdiutil: detach: processing "/var/folders/tr/29h2dxlj4ll87qgqz6v2ky6w0000mv/T/jdk.jpackage5578132244196970205/images/MultiLauncherTwoPhaseTest"
          hdiutil: detach: result: 2
          hdiutil: detach failed - No such file or directory
      [22:53:04.984] Returned: 1

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: