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

jpackage BasicTest.java failed two sub-tests

    Details

    • Subcomponent:
    • Resolved In Build:
      b28
    • CPU:
      x86_64
    • OS:
      linux

      Backports

        Description

        The following test failed in the JDK15 CI:

        tools/jpackage/share/jdk/jpackage/tests/BasicTest.java

        Here's a snippet from the log file:

        [ OK ] BasicTest.testHelp; checks=5
        [ RUN ] BasicTest.testJLinkRuntime(Hello)
        TRACE: jlink output BEGIN
        [ FAILED ] BasicTest.testJLinkRuntime(Hello); checks=0
        [ RUN ] BasicTest.testJLinkRuntime(com.foo/com.foo.main.Aloha)
        TRACE: Create [/opt/mach5/mesos/work_dir/slaves/4728e7c1-7e67-490e-be0f-6bbf2a2f33db-S49/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/daa23f96-9441-47de-a9ed-28880b25b730/runs/12357f88-afa0-4221-9a40-0897db5dae98/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/scratch/2/testJLinkRuntime.4704dd02/src/module-info.java] text file...
        TRACE: module com.foo {
        TRACE: exports com.foo.main;
        TRACE: requires java.desktop;
        TRACE: }
        TRACE: Done
        TRACE: exec: Execute tool provider [javac -d ./testJLinkRuntime.4704dd02/jar-workdir ./testJLinkRuntime.4704dd02/src/com/foo/main/Aloha.java ./testJLinkRuntime.4704dd02/src/module-info.java](5)...
        TRACE: exec: Done. Exit code: 0
        TRACE: assertEquals(0): Check command tool provider [javac -d ./testJLinkRuntime.4704dd02/jar-workdir ./testJLinkRuntime.4704dd02/src/com/foo/main/Aloha.java ./testJLinkRuntime.4704dd02/src/module-info.java](5) exited with 0 code
        TRACE: exec: Execute tool provider [jar -c -f ./testJLinkRuntime.4704dd02/input-modules/hello.jar -C ./testJLinkRuntime.4704dd02/jar-workdir .](7)...
        TRACE: exec: Done. Exit code: 0
        TRACE: assertEquals(0): Check command tool provider [jar -c -f ./testJLinkRuntime.4704dd02/input-modules/hello.jar -C ./testJLinkRuntime.4704dd02/jar-workdir .](7) exited with 0 code
        TRACE: jlink output BEGIN
        [ FAILED ] BasicTest.testJLinkRuntime(com.foo/com.foo.main.Aloha); checks=2
        [ RUN ] BasicTest.testNoArgs


        So it looks like two sub-tests failed:

            BasicTest.testJLinkRuntime(Hello)
            BasicTest.testJLinkRuntime(com.foo/com.foo.main.Aloha)

        Since this is a Tier2 failure, I would normally start this
        bug off at P3. However these package failures are
        typically intermittent so I'll go with P4 for now.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  asemenyuk Alexey Semenyuk
                  Reporter:
                  dcubed Daniel Daugherty
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: