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

TEST_BUG: java/lang/ProcessBuilder/Basic.java failing [win]

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • P2
    • Resolution: Fixed
    • 8
    • 8
    • core-libs
    • b43
    • generic
    • generic
    • Verified

    Description

      This test has been failing on Windows with 7u6 and 8 in the last few days, here's an exmaple:

      --------------------------------------------------
      TEST: java/lang/ProcessBuilder/Basic.java
      JDK under test: (C:\jprt\T\P1\103020~1.LJA\TESTPR~1\WINDOW~1.2-P)
      openjdk version "1.8.0-internal"
      OpenJDK Runtime Environment (build 1.8.0-internal-201206061030.ljanders.jdk-b00)
      Java HotSpot(TM) 64-Bit Server VM (build 24.0-b12, mixed mode)


      ACTION: build -- Passed. Build successful
      REASON: Named class compiled on demand
      TIME: 0.313 seconds
      messages:
      command: build Basic
      reason: Named class compiled on demand
      elapsed time (seconds): 0.313

      ACTION: compile -- Passed. Compilation successful
      REASON: .class file out of date or does not exist
      TIME: 0.313 seconds
      messages:
      command: compile C:\jprt\T\P1\103020.ljanders\s\test\java\lang\ProcessBuilder\Basic.java
      reason: .class file out of date or does not exist
      elapsed time (seconds): 0.313

      ACTION: main -- Failed. Execution failed: `main' threw exception: java.lang.AssertionError: Some tests failed
      REASON: User specified action: run main/othervm/timeout=300 Basic
      TIME: 10.859 seconds
      messages:
      command: main Basic
      reason: User specified action: run main/othervm/timeout=300 Basic
      elapsed time (seconds): 10.859
      STDOUT:
      This appears to be a Windows system.
      This appears to be a Unicode-based OS.
      Testing ASCII environment values
      Testing Latin1 environment values
      BAAR not equal to null
      BAAR not equal to null
      BAAR not equal to null
      BAAR not equal to null
      Testing directory .
      Testing directory ..
      Testing directory \
      Testing directory C:
      Testing directory c:
      Testing directory C:\
      Testing directory c:\
      Testing directory \
      Testing directory c:\windows
      Testing directory c:\Program Files
      Testing directory c:\Program Files
      Testing Unicode directory:.\ProcessBuilderDir??
      Running case insensitve variable tests
      SystemRoot=C:\WINDOWS,=ExitValue=3,=C:=\, not equal to =C:=\,SystemRoot=C:\WINDOWS,=ExitValue=3,
      =ExitValue=3,=C:=\,SystemRoot=C:\WINDOWS, not equal to =C:=\,SystemRoot=C:\WINDOWS,=ExitValue=3,
      cmdp
      cmdp 0: C:\jprt\T\P1\103020~1.LJA\TESTPR~1\WINDOW~1.2-P\jre\bin\java
      cmdp 1: -classpath
      cmdp 2: C:\jprt\products\P1\jtreg4.1-latest\jtreg\lib\javatest.jar;C:\jprt\products\P1\jtreg4.1-latest\jtreg\lib\jtreg.jar;C:\jprt\T\P1\103020.ljanders\s\build\windows-amd64\testoutput\jdk_lang\JTwork\classes\java\lang\ProcessBuilder;C:\jprt\T\P1\103020.ljanders\s\test\java\lang\ProcessBuilder;C:\jprt\T\P1\103020~1.LJA\TESTPR~1\WINDOW~1.2-P\lib\tools.jar
      cmdp 3: Basic$JavaChild
      cmdp 4: System.getenv()
      envp
      envp 0: SystemRoot=C:\WINDOWS
      envp 1: LC_ALL=C¿¿
      envp 2: FO¿=B¿R
      Incorrect handling of envstrings containing NULs

      Passed = 9168, failed = 7

      STDERR:
      java.lang.Exception: Stack trace
      at java.lang.Thread.dumpStack(Thread.java:1345)
      at Basic.fail(Basic.java:2236)
      at Basic.fail(Basic.java:2237)
      at Basic.equal(Basic.java:2243)
      at Basic.testVariableDeleter(Basic.java:222)
      at Basic.realMain(Basic.java:1345)
      at Basic.main(Basic.java:2246)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:474)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
      at java.lang.Thread.run(Thread.java:722)
      java.lang.Exception: Stack trace
      at java.lang.Thread.dumpStack(Thread.java:1345)
      at Basic.fail(Basic.java:2236)
      at Basic.fail(Basic.java:2237)
      at Basic.equal(Basic.java:2243)
      at Basic.testVariableDeleter(Basic.java:223)
      at Basic.realMain(Basic.java:1345)
      at Basic.main(Basic.java:2246)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:474)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
      at java.lang.Thread.run(Thread.java:722)
      java.lang.Exception: Stack trace
      at java.lang.Thread.dumpStack(Thread.java:1345)
      at Basic.fail(Basic.java:2236)
      at Basic.fail(Basic.java:2237)
      at Basic.equal(Basic.java:2243)
      at Basic.testVariableDeleter(Basic.java:222)
      at Basic.realMain(Basic.java:1358)
      at Basic.main(Basic.java:2246)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:474)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
      at java.lang.Thread.run(Thread.java:722)
      java.lang.Exception: Stack trace
      at java.lang.Thread.dumpStack(Thread.java:1345)
      at Basic.fail(Basic.java:2236)
      at Basic.fail(Basic.java:2237)
      at Basic.equal(Basic.java:2243)
      at Basic.testVariableDeleter(Basic.java:223)
      at Basic.realMain(Basic.java:1358)
      at Basic.main(Basic.java:2246)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:474)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
      at java.lang.Thread.run(Thread.java:722)
      java.lang.Exception: Stack trace
      at java.lang.Thread.dumpStack(Thread.java:1345)
      at Basic.fail(Basic.java:2236)
      at Basic.fail(Basic.java:2237)
      at Basic.equal(Basic.java:2243)
      at Basic.realMain(Basic.java:1641)
      at Basic.main(Basic.java:2246)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:474)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
      at java.lang.Thread.run(Thread.java:722)
      java.lang.Exception: Stack trace
      at java.lang.Thread.dumpStack(Thread.java:1345)
      at Basic.fail(Basic.java:2236)
      at Basic.fail(Basic.java:2237)
      at Basic.equal(Basic.java:2243)
      at Basic.realMain(Basic.java:1648)
      at Basic.main(Basic.java:2246)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:474)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
      at java.lang.Thread.run(Thread.java:722)
      java.lang.Exception: Stack trace
      at java.lang.Thread.dumpStack(Thread.java:1345)
      at Basic.fail(Basic.java:2236)
      at Basic.fail(Basic.java:2237)
      at Basic.check(Basic.java:2240)
      at Basic.realMain(Basic.java:1692)
      at Basic.main(Basic.java:2246)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:474)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
      at java.lang.Thread.run(Thread.java:722)
      java.lang.AssertionError: Some tests failed
      at Basic.main(Basic.java:2248)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:474)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
      at java.lang.Thread.run(Thread.java:722)

      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

      TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.AssertionError: Some tests failed
      --------------------------------------------------

      Attachments

        Activity

          People

            alanb Alan Bateman
            alanb Alan Bateman
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: