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

Mac signing tests failed (unsealed contents present in the bundle root)

    Details

    • Subcomponent:
    • Resolved In Build:
      b27
    • Verification:
      Not verified

      Backports

        Description

        Both Mac signing tests failed in latest jdk-jdk repository. Most likely recent regression.

        To reproduce run following command:
        jtreg -w build/jtreg/work -r build/jtreg/report -jdk build/macosx-x64/images/jdk open/test/jdk/tools/jpackage/macosx/Signing*Test.java

        ./output/SigningAppImageTest.app: unsealed contents present in the bundle root
        java.io.IOException: Command [codesign, --timestamp, --options, runtime, --force, -s, Developer ID Application: jpackage.openjdk.java.net, -vvvv, --keychain, jpackagerTest.keychain, --entitlements, /var/folders/dr/65dj5x3j0296mqtsn9z27xc80000gn/T/jdk.incubator.jpackage10307127769888260154/config/SigningAppImageTest.entitlements, ./output/SigningAppImageTest.app] 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.MacAppImageBuilder.signAppBundle(MacAppImageBuilder.java:714)
        at jdk.incubator.jpackage/jdk.incubator.jpackage.internal.MacAppImageBuilder.sign(MacAppImageBuilder.java:253)
        at jdk.incubator.jpackage/jdk.incubator.jpackage.internal.MacAppImageBuilder.prepareApplicationFiles(MacAppImageBuilder.java:228)
        at jdk.incubator.jpackage/jdk.incubator.jpackage.internal.AppImageBundler.createAppBundle(AppImageBundler.java:171)
        at jdk.incubator.jpackage/jdk.incubator.jpackage.internal.AppImageBundler.execute(AppImageBundler.java:90)
        at jdk.incubator.jpackage/jdk.incubator.jpackage.internal.Arguments.generateBundle(Arguments.java:646)
        at jdk.incubator.jpackage/jdk.incubator.jpackage.internal.Arguments.processArguments(Arguments.java:515)
        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)

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  asemenyuk Alexey Semenyuk
                  Reporter:
                  almatvee Alexander Matveev
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  6 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: