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

java/lang/ProcessBuilder/Basic.java failed with "java.lang.AssertionError: Some tests failed"

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b143

      Backports

        Description

        java/lang/ProcessBuilder/Basic.java failed with "java.lang.AssertionError: Some tests failed"

        ----------System.out:(21/1393)*----------
        Testing ASCII environment values
        Testing Latin1 environment values
        Testing Unicode environment values
        Testing directory .
        Testing directory ..
        Testing directory /
        Testing directory /bin
        cmdp
        cmdp 0: /scratch/mesos/slaves/e053834b-c836-437c-a964-ec7a9c5adf82-S0/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/8c135646-7639-4890-8b98-92b5eefb6299/runs/44a4af5b-97b0-49b4-9a18-ef4849d353a6/product/bin/java
        cmdp 1: -XX:+DisplayVMOutputToStderr
        cmdp 2: -classpath
        cmdp 3: /scratch/mesos/slaves/e053834b-c836-437c-a964-ec7a9c5adf82-S0/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/8c135646-7639-4890-8b98-92b5eefb6299/runs/44a4af5b-97b0-49b4-9a18-ef4849d353a6/testoutput/jtreg/JTwork/classes/5/java/lang/ProcessBuilder:/scratch/mesos/slaves/e053834b-c836-437c-a964-ec7a9c5adf82-S0/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/8c135646-7639-4890-8b98-92b5eefb6299/runs/44a4af5b-97b0-49b4-9a18-ef4849d353a6/srcBundle/jdk/test/java/lang/ProcessBuilder:/scratch/sparky/jib-data/install/java/re/jtreg/4.2/promoted/all/b03/bundles/jtreg_bin-4.2.zip/jtreg/lib/javatest.jar:/scratch/sparky/jib-data/install/java/re/jtreg/4.2/promoted/all/b03/bundles/jtreg_bin-4.2.zip/jtreg/lib/jtreg.jar
        cmdp 4: Basic$JavaChild
        cmdp 5: System.getenv()
        envp
        envp 0: LC_ALL=C\u0000\u0000
        envp 1: FO\u0000=B\u0000R
         waitFor process: delta: 81135

        Passed = 9164, failed = 1

        ----------System.err:(23/1583)----------
        java.lang.IllegalThreadStateException: process hasn't exited
        at java.lang.ProcessImpl.exitValue(java.base@9-internal/ProcessImpl.java:525)
        at Basic.realMain(Basic.java:2412)
        at Basic.main(Basic.java:2709)
        at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-internal/Native Method)
        at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(java.base@9-internal/NativeMethodAccessorImpl.java:62)
        at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-internal/DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(java.base@9-internal/Method.java:537)
        at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
        at java.lang.Thread.run(java.base@9-internal/Thread.java:844)
        java.lang.AssertionError: Some tests failed
        at Basic.main(Basic.java:2711)
        at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-internal/Native Method)
        at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(java.base@9-internal/NativeMethodAccessorImpl.java:62)
        at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-internal/DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(java.base@9-internal/Method.java:537)
        at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
        at java.lang.Thread.run(java.base@9-internal/Thread.java:844)

        JavaTest Message: Test threw exception: java.lang.AssertionError: Some tests failed
        JavaTest Message: shutting down test

        STATUS:Failed.`main' threw exception: java.lang.AssertionError: Some tests failed

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                rriggs Roger Riggs
                Reporter:
                mli Hamlin Li
                Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: