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

[macos] tools/jpackage tests timeout on macOS

    Details

    • Subcomponent:
    • Resolved In Build:
      b29
    • CPU:
      x86_64
    • OS:
      os_x

      Backports

        Description

        The following test failed in the JDK14 CI:

        tools/jpackage/macosx/NameWithSpaceTest.java

        Here's a snippet from the log file:

        Running [/usr/bin/hdiutil, attach, /var/folders/z1/tww9scd14fs1_p135p45rr0c000_dc/T/jdk.incubator.jpackage14772483475271715162/images/Name With Space-tmp.dmg, -verbose, -mountroot, /var/folders/z1/tww9scd14fs1_p135p45rr0c000_dc/T/jdk.incubator.jpackage14772483475271715162/images]
        Timeout refired 1440 times
        TRACE: Done. Exit code: 134
        ERROR: Expected [0]. Actual [134]: Check command [/scratch/mesos/jib-master/install/jdk-14+27-1279/macosx-x64.jdk/jdk-14.jdk/Contents/Home/bin/jpackage --input ./test/input --dest ./test/output --name "Name With Space" --type dmg --main-jar hello.jar --main-class Hello --verbose](14) exited with 0 code
        [ FAILED ] NameWithSpaceTest.test; checks=3
        [==========] 1 tests ran
        [ PASSED ] 0 tests
        [ FAILED ] 1 test, listed below
        [ FAILED ] NameWithSpaceTest.test; workDir=[./test]
        1 FAILED TEST
        ----------System.err:(58/4223)----------
        WARNING: Using incubator modules: jdk.incubator.jpackage
        WARNING: Using incubator modules: jdk.incubator.jpackage
        java.lang.AssertionError: Expected [0]. Actual [134]: Check command [/scratch/mesos/jib-master/install/jdk-14+27-1279/macosx-x64.jdk/jdk-14.jdk/Contents/Home/bin/jpackage --input ./test/input --dest ./test/output --name "Name With Space" --type dmg --main-jar hello.jar --main-class Hello --verbose](14) exited with 0 code
        at jdk.jpackage.test.TKit.error(TKit.java:238)
        at jdk.jpackage.test.TKit.assertEquals(TKit.java:533)
        at jdk.jpackage.test.Executor$Result.assertExitCodeIs(Executor.java:159)
        at jdk.jpackage.test.PackageTest$Handler.accept(PackageTest.java:354)
        at jdk.jpackage.test.PackageTest.lambda$run$19(PackageTest.java:298)
        at java.base/java.util.ArrayList.forEach(ArrayList.java:1510)
        at jdk.jpackage.test.PackageTest.run(PackageTest.java:298)
        at NameWithSpaceTest.test(NameWithSpaceTest.java:60)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:564)
        at jdk.jpackage.test.MethodCall.accept(MethodCall.java:145)
        at jdk.jpackage.test.TestInstance.run(TestInstance.java:224)
        at jdk.jpackage.test.TKit.lambda$ignoreExceptions$5(TKit.java:131)
        at jdk.jpackage.test.TKit.lambda$runTests$3(TKit.java:116)
        at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1624)
        at java.base/java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:658)
        at jdk.jpackage.test.TKit.lambda$runTests$4(TKit.java:113)
        at jdk.jpackage.test.Functional$ThrowingRunnable.lambda$toRunnable$0(Functional.java:89)
        at jdk.jpackage.test.TKit.withExtraLogStream(TKit.java:99)
        at jdk.jpackage.test.TKit.runTests(TKit.java:112)
        at jdk.jpackage.test.Main.runTests(Main.java:79)
        at jdk.jpackage.test.Main.lambda$main$2(Main.java:75)
        at jdk.jpackage.test.Functional$ThrowingRunnable.lambda$toRunnable$0(Functional.java:89)
        at jdk.jpackage.test.TKit.withExtraLogStream(TKit.java:99)
        at jdk.jpackage.test.Main.main(Main.java:75)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:564)
        at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
        at java.base/java.lang.Thread.run(Thread.java:832)
        jdk.jpackage.test.Functional$ExceptionBox: java.lang.RuntimeException: 1 FAILED TEST
        at jdk.jpackage.test.Functional.rethrowUnchecked(Functional.java:141)
        at jdk.jpackage.test.Functional$ThrowingRunnable.lambda$toRunnable$0(Functional.java:91)
        at jdk.jpackage.test.TKit.withExtraLogStream(TKit.java:99)
        at jdk.jpackage.test.Main.main(Main.java:75)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:564)
        at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
        at java.base/java.lang.Thread.run(Thread.java:832)
        Caused by: java.lang.RuntimeException: 1 FAILED TEST
        at jdk.jpackage.test.Main.reportSummary(Main.java:130)
        at jdk.jpackage.test.Main.runTests(Main.java:90)
        at jdk.jpackage.test.Main.lambda$main$2(Main.java:75)
        at jdk.jpackage.test.Functional$ThrowingRunnable.lambda$toRunnable$0(Functional.java:89)
        ... 8 more

        JavaTest Message: Test threw exception: jdk.jpackage.test.Functional$ExceptionBox: java.lang.RuntimeException: 1 FAILED TEST
        JavaTest Message: shutting down test

        STATUS:Failed.`main' threw exception: jdk.jpackage.test.Functional$ExceptionBox: java.lang.RuntimeException: 1 FAILED TEST
        ----------rerun:(37/5722)*----------

        According to Mach5's artifacts drop down menu, there is
        a core file for this failure. There is no hs_err_pid file for
        this failure so it looks like the core came from somewhere
        other than libjvm.

        Starting this failure as a P3 since it is a Tier2 test failure.

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved: