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

TEST_BUG: java/lang/ProcessBuilder/Basic.java failing intermittently [sol]

    XMLWordPrintable

Details

    • b63
    • generic
    • generic
    • Verified

    Backports

      Description

        This test has failed intermittently on Solaris a few times, see attach jtreg for an example.

        Note that this test should not be added to the ProblemList because the test coverage that it provides it too great.


        #Test Results (version 2)
        #Wed Mar 07 21:15:04 PST 2012
        #checksum:6eff226e299726ce
        #-----testdescription-----
        $file=/Users/aurora/sandbox/testbase/test/java/lang/ProcessBuilder/Basic.java
        $root=/Users/aurora/sandbox/testbase/test
        author=Martin Buchholz
        keywords=bug4199068 bug4738465 bug4937983 bug4930681 bug4926230 bug4931433 bug4932663 bug4986689 bug5026830 bug5023243 bug5070673 bug4052517 bug4811767 bug6192449 bug6397034 bug6413313 bug6464154 bug6523983 bug6206031 bug4960438 bug6631352 bug6631966 bug6850957 bug6850958 bug4947220 bug7018606 bug7034570 othervm
        maxTimeout=300
        run=USER_SPECIFIED main/othervm/timeout\=300 Basic\n
        source=Basic.java
        title=Basic tests for Process and Environment Variable code

        #-----environment-----

        #-----testresult-----
        description=file\:/Users/aurora/sandbox/testbase/test/java/lang/ProcessBuilder/Basic.java
        elapsed=32605 0\:00\:32.605
        end=Wed Mar 07 21\:15\:04 PST 2012
        environment=regtest
        execStatus=Failed. Execution failed\: `main' threw exception\: java.lang.AssertionError\: Some tests failed
        hostname=sc11136068
        javatestOS=SunOS 5.10 (sparc)
        javatestVersion=4.4
        script=com.sun.javatest.regtest.RegressionScript
        sections=script_messages build compile main
        start=Wed Mar 07 21\:14\:31 PST 2012
        test=java/lang/ProcessBuilder/Basic.java
        user.name=aurora
        work=/Users/aurora/sandbox/gresults/testoutput/jdk_lang/JTwork/java/lang/ProcessBuilder

        #section:script_messages
        ----------messages:(4/220)----------
        JDK under test: (/Users/aurora/sandbox/jdk)
        java version "1.8.0-ea"
        Java(TM) SE Runtime Environment (build 1.8.0-ea-langtools-nightly-h185-20120307-b29-b00)
        Java HotSpot(TM) 64-Bit Server VM (build 23.0-b16, mixed mode)

        #section:build
        ----------messages:(3/90)----------
        command: build Basic
        reason: Named class compiled on demand
        elapsed time (seconds): 0.994
        result: Passed. Build successful

        #section:compile
        ----------messages:(3/169)----------
        command: compile /Users/aurora/sandbox/testbase/test/java/lang/ProcessBuilder/Basic.java
        reason: .class file out of date or does not exist
        elapsed time (seconds): 0.992
        result: Passed. Compilation successful

        #section:main
        ----------messages:(3/118)----------
        command: main Basic
        reason: User specified action: run main/othervm/timeout=300 Basic
        elapsed time (seconds): 31.608
        ----------System.out:(18/645)*----------
        This appears to be a Unix system.
        Testing ASCII environment values
        Testing directory .
        Testing directory ..
        Testing directory /
        Testing directory /bin
        cmdp
        cmdp 0: /Users/aurora/sandbox/jdk/jre/bin/java
        cmdp 1: -classpath
        cmdp 2: /Users/aurora/sandbox/jtreg/lib/javatest.jar:/Users/aurora/sandbox/jtreg/lib/jtreg.jar:/Users/aurora/sandbox/gresults/testoutput/jdk_lang/JTwork/classes/java/lang/ProcessBuilder:/Users/aurora/sandbox/testbase/test/java/lang/ProcessBuilder:/Users/aurora/sandbox/jdk/lib/tools.jar
        cmdp 3: Basic$JavaChild
        cmdp 4: System.getenv()
        envp
        envp 0: LC_ALL=C\u0000\u0000
        envp 1: FO\u0000=B\u0000R

        Passed = 9006, failed = 1

        ----------System.err:(17/884)----------
        java.io.IOException: Stream Closed
        at java.io.FileInputStream.read(Native Method)
        at java.lang.UNIXProcess$DeferredCloseInputStream.read(UNIXProcess.java:253)
        at Basic$64.run(Basic.java:1908)
        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
        result: Failed. Execution 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

          Issue Links

            Activity

              People

                robm Robert Mckenna
                alanb Alan Bateman
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: