Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jtreg java/lang/ProcessBuilder/Basic.java IOException: Stream closed #12582

Open
pshipton opened this issue Apr 28, 2021 · 5 comments
Open

jtreg java/lang/ProcessBuilder/Basic.java IOException: Stream closed #12582

pshipton opened this issue Apr 28, 2021 · 5 comments

Comments

@pshipton
Copy link
Member

https://ci.eclipse.org/openj9/job/Test_openjdk8_j9_sanity.openjdk_s390x_linux_Nightly/372
jdk_lang_0
JVM_OPTIONS: -Xdump:system:none -Xdump:heap:none -Xdump:system:events=gpf+abort+traceassert+corruptcache -XX:-JITServerTechPreviewMessage -XX:+UseCompressedOops
java/lang/ProcessBuilder/Basic.java

22:05:47  ACTION: main -- Failed. Execution failed: `main' threw exception: java.lang.AssertionError: Some tests failed
22:05:47  REASON: User specified action: run main/othervm/timeout=300 -Djdk.lang.Process.launchMechanism=fork Basic 
22:05:47  TIME:   6.422 seconds
22:05:47  messages:
22:05:47  command: main -Djdk.lang.Process.launchMechanism=fork Basic
22:05:47  reason: User specified action: run main/othervm/timeout=300 -Djdk.lang.Process.launchMechanism=fork Basic 
22:05:47  Mode: othervm [/othervm specified]
22:05:47  elapsed time (seconds): 6.422
22:05:47  configuration:
22:05:47  STDOUT:
22:05:47  This appears to be a Unix system.
22:05:47  Testing ASCII environment values
22:05:47  Testing Latin1 environment values
22:05:47  Testing Unicode environment values
22:05:47  Testing directory .
22:05:47  Testing directory ..
22:05:47  Testing directory /
22:05:47  Testing directory /bin
22:05:47  cmdp
22:05:47  cmdp 0: /home/jenkins/workspace/Test_openjdk8_j9_sanity.openjdk_s390x_linux_Nightly/openjdkbinary/j2sdk-image/jre/bin/java
22:05:47  cmdp 1: -XX:+DisplayVMOutputToStderr
22:05:47  cmdp 2: -classpath
22:05:47  cmdp 3: /home/jenkins/workspace/Test_openjdk8_j9_sanity.openjdk_s390x_linux_Nightly/openjdk-tests/TKG/output_16195754743272/jdk_lang_0/work/classes/0/java/lang/ProcessBuilder:/home/jenkins/workspace/Test_openjdk8_j9_sanity.openjdk_s390x_linux_Nightly/openjdk-tests/openjdk/openjdk-jdk/jdk/test/java/lang/ProcessBuilder:/home/jenkins/workspace/Test_openjdk8_j9_sanity.openjdk_s390x_linux_Nightly/openjdkbinary/j2sdk-image/lib/tools.jar:/home/jenkins/workspace/Test_openjdk8_j9_sanity.openjdk_s390x_linux_Nightly/jvmtest/openjdk/jtreg/lib/javatest.jar:/home/jenkins/workspace/Test_openjdk8_j9_sanity.openjdk_s390x_linux_Nightly/jvmtest/openjdk/jtreg/lib/jtreg.jar
22:05:47  cmdp 4: Basic$JavaChild
22:05:47  cmdp 5: System.getenv()
22:05:47  envp
22:05:47  envp 0: LC_ALL=C
22:05:47  envp 1: FO=BR
22:05:47   waitFor process: delta: 25633
22:05:47  
22:05:47  Passed = 9000, failed = 1
22:05:47  
22:05:47  STDERR:
22:05:47  java.io.IOException: Stream closed
22:05:47  	at java.io.BufferedInputStream.getBufIfOpen(BufferedInputStream.java:170)
22:05:47  	at java.io.BufferedInputStream.read(BufferedInputStream.java:269)
22:05:47  	at Basic$12.run(Basic.java:1995)
22:05:47  java.lang.AssertionError: Some tests failed
22:05:47  	at Basic.main(Basic.java:2600)
22:05:47  	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
22:05:47  	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
22:05:47  	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
22:05:47  	at java.lang.reflect.Method.invoke(Method.java:498)
22:05:47  	at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
22:05:47  	at java.lang.Thread.run(Thread.java:821)
22:05:47  
22:05:47  JavaTest Message: Test threw exception: java.lang.AssertionError: Some tests failed
22:05:47  JavaTest Message: shutting down test
@pshipton
Copy link
Member Author

pshipton commented Apr 28, 2021

Try a 3 x 10x grinder https://ci.eclipse.org/openj9/job/Grinder/1787/ - passed

@keithc-ca
Copy link
Contributor

@pshipton
Copy link
Member Author

https://openj9-jenkins.osuosl.org/job/Test_openjdk11_j9_sanity.openjdk_s390x_linux_Nightly/462
jdk_lang_1
java/lang/ProcessBuilder/Basic.java#id0

00:19:49  STDOUT:
00:19:49  This appears to be a Unix system.
00:19:49  Testing ASCII environment values
00:19:49  Testing Latin1 environment values
00:19:49  Testing Unicode environment values
00:19:49  Testing directory .
00:19:49  Testing directory ..
00:19:49  Testing directory /
00:19:49  Testing directory /bin
00:19:49  cmdp
00:19:49  cmdp 0: /home/jenkins/workspace/Test_openjdk11_j9_sanity.openjdk_s390x_linux_Nightly/openjdkbinary/j2sdk-image/bin/java
00:19:49  cmdp 1: -XX:+DisplayVMOutputToStderr
00:19:49  cmdp 2: -classpath
00:19:49  cmdp 3: /home/jenkins/workspace/Test_openjdk11_j9_sanity.openjdk_s390x_linux_Nightly/aqa-tests/TKG/output_16747093264778/jdk_lang_1/work/classes/0/java/lang/ProcessBuilder/Basic_id0.d:/home/jenkins/workspace/Test_openjdk11_j9_sanity.openjdk_s390x_linux_Nightly/aqa-tests/openjdk/openjdk-jdk/test/jdk/java/lang/ProcessBuilder:/home/jenkins/workspace/Test_openjdk11_j9_sanity.openjdk_s390x_linux_Nightly/aqa-tests/TKG/output_16747093264778/jdk_lang_1/work/classes/0/test/lib:/home/jenkins/workspace/Test_openjdk11_j9_sanity.openjdk_s390x_linux_Nightly/aqa-tests/openjdk/openjdk-jdk/test/lib:/home/jenkins/workspace/Test_openjdk11_j9_sanity.openjdk_s390x_linux_Nightly/jvmtest/openjdk/jtreg/lib/javatest.jar:/home/jenkins/workspace/Test_openjdk11_j9_sanity.openjdk_s390x_linux_Nightly/jvmtest/openjdk/jtreg/lib/jtreg.jar
00:19:49  cmdp 4: Basic$JavaChild
00:19:49  cmdp 5: System.getenv()
00:19:49  envp
00:19:49  envp 0: LC_ALL=C
00:19:49  envp 1: FO=BR
00:19:49   waitFor process: delta: 49055
00:19:49  
00:19:49  Passed = 9060, failed = 1
00:19:49  
00:19:49  STDERR:
00:19:49  java.io.IOException: Stream closed
00:19:49  	at java.base/java.io.BufferedInputStream.getBufIfOpen(BufferedInputStream.java:176)
00:19:49  	at java.base/java.io.BufferedInputStream.read(BufferedInputStream.java:275)
00:19:49  	at Basic$12.run(Basic.java:2197)
00:19:49  java.lang.AssertionError: Some tests failed
00:19:49  	at Basic.main(Basic.java:2829)

@pshipton
Copy link
Member Author

pshipton commented Mar 2, 2023

https://openj9-jenkins.osuosl.org/job/Test_openjdk11_j9_sanity.openjdk_s390x_linux_OpenJDK11/66/
jdk_lang_0
java/lang/ProcessBuilder/Basic.java#id0

01:14:30  STDOUT:
01:14:30  This appears to be a Unix system.
01:14:30  Testing ASCII environment values
01:14:30  Testing Latin1 environment values
01:14:30  Testing Unicode environment values
01:14:30  Testing directory .
01:14:30  Testing directory ..
01:14:30  Testing directory /
01:14:30  Testing directory /bin
01:14:30  cmdp
01:14:30  cmdp 0: /home/jenkins/workspace/Test_openjdk11_j9_sanity.openjdk_s390x_linux_OpenJDK11/openjdkbinary/j2sdk-image/bin/java
01:14:30  cmdp 1: -XX:+DisplayVMOutputToStderr
01:14:30  cmdp 2: -classpath
01:14:30  cmdp 3: /home/jenkins/workspace/Test_openjdk11_j9_sanity.openjdk_s390x_linux_OpenJDK11/aqa-tests/TKG/output_16777368143959/jdk_lang_0/work/classes/0/java/lang/ProcessBuilder/Basic_id0.d:/home/jenkins/workspace/Test_openjdk11_j9_sanity.openjdk_s390x_linux_OpenJDK11/aqa-tests/openjdk/openjdk-jdk/test/jdk/java/lang/ProcessBuilder:/home/jenkins/workspace/Test_openjdk11_j9_sanity.openjdk_s390x_linux_OpenJDK11/aqa-tests/TKG/output_16777368143959/jdk_lang_0/work/classes/0/test/lib:/home/jenkins/workspace/Test_openjdk11_j9_sanity.openjdk_s390x_linux_OpenJDK11/aqa-tests/openjdk/openjdk-jdk/test/lib:/home/jenkins/workspace/Test_openjdk11_j9_sanity.openjdk_s390x_linux_OpenJDK11/jvmtest/openjdk/jtreg/lib/javatest.jar:/home/jenkins/workspace/Test_openjdk11_j9_sanity.openjdk_s390x_linux_OpenJDK11/jvmtest/openjdk/jtreg/lib/jtreg.jar
01:14:30  cmdp 4: Basic$JavaChild
01:14:30  cmdp 5: System.getenv()
01:14:30  envp
01:14:30  envp 0: LC_ALL=C
01:14:30  envp 1: FO=BR
01:14:30   waitFor process: delta: 39713
01:14:30  
01:14:30  Passed = 9060, failed = 1
01:14:30  
01:14:30  STDERR:
01:14:30  java.io.IOException: Stream closed
01:14:30  	at java.base/java.io.BufferedInputStream.getBufIfOpen(BufferedInputStream.java:176)
01:14:30  	at java.base/java.io.BufferedInputStream.read(BufferedInputStream.java:275)
01:14:30  	at Basic$12.run(Basic.java:2202)
01:14:30  java.lang.AssertionError: Some tests failed
01:14:30  	at Basic.main(Basic.java:2834)

@pshipton
Copy link
Member Author

https://openj9-jenkins.osuosl.org/job/Test_openjdk8_j9_sanity.openjdk_s390x_linux_Release/54
jdk_lang_0
java/lang/ProcessBuilder/Basic.java

20:39:03  STDOUT:
20:39:03  This appears to be a Unix system.
20:39:03  Testing ASCII environment values
20:39:03  Testing Latin1 environment values
20:39:03  Testing Unicode environment values
20:39:03  Testing directory .
20:39:03  Testing directory ..
20:39:03  Testing directory /
20:39:03  Testing directory /bin
20:39:03  cmdp
20:39:03  cmdp 0: /home/jenkins/workspace/Test_openjdk8_j9_sanity.openjdk_s390x_linux_Release/openjdkbinary/j2sdk-image/jre/bin/java
20:39:03  cmdp 1: -XX:+DisplayVMOutputToStderr
20:39:03  cmdp 2: -classpath
20:39:03  cmdp 3: /home/jenkins/workspace/Test_openjdk8_j9_sanity.openjdk_s390x_linux_Release/aqa-tests/TKG/output_16797909866998/jdk_lang_0/work/classes/0/java/lang/ProcessBuilder:/home/jenkins/workspace/Test_openjdk8_j9_sanity.openjdk_s390x_linux_Release/aqa-tests/openjdk/openjdk-jdk/jdk/test/java/lang/ProcessBuilder:/home/jenkins/workspace/Test_openjdk8_j9_sanity.openjdk_s390x_linux_Release/openjdkbinary/j2sdk-image/lib/tools.jar:/home/jenkins/workspace/Test_openjdk8_j9_sanity.openjdk_s390x_linux_Release/jvmtest/openjdk/jtreg/lib/javatest.jar:/home/jenkins/workspace/Test_openjdk8_j9_sanity.openjdk_s390x_linux_Release/jvmtest/openjdk/jtreg/lib/jtreg.jar
20:39:03  cmdp 4: Basic$JavaChild
20:39:03  cmdp 5: System.getenv()
20:39:03  envp
20:39:03  envp 0: LC_ALL=C
20:39:03  envp 1: FO=BR
20:39:03   waitFor process: delta: 14313
20:39:03  
20:39:03  Passed = 9001, failed = 1
20:39:03  
20:39:03  STDERR:
20:39:03  java.io.IOException: Stream closed
20:39:03  	at java.io.BufferedInputStream.getBufIfOpen(BufferedInputStream.java:170)
20:39:03  	at java.io.BufferedInputStream.fill(BufferedInputStream.java:214)
20:39:03  	at java.io.BufferedInputStream.read(BufferedInputStream.java:265)
20:39:03  	at Basic$13.run(Basic.java:2068)
20:39:03  java.lang.AssertionError: Some tests failed
20:39:03  	at Basic.main(Basic.java:2601)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants