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

SSLSocketBench gives java.io.FileNotFoundException #18

Open
piyush286 opened this issue Nov 1, 2019 · 0 comments
Open

SSLSocketBench gives java.io.FileNotFoundException #18

piyush286 opened this issue Nov 1, 2019 · 0 comments
Labels
bug Something isn't working

Comments

@piyush286
Copy link
Contributor

piyush286 commented Nov 1, 2019

Problem Description

Running SSLSocketBench gives java.io.FileNotFoundException as shown below. I believe Vlad worked on this benchmark since he has his username in the file path.

I'm trying to add BumbleBench targets for testing at Adopt as part of adoptium/aqa-tests#1379.

Error

13:47:11  java.io.FileNotFoundException: /home/vpapro/mySrvKeystore (No such file or directory)

Console Output

13:47:08  ===============================================
13:47:08  Running test bumbleBench-SSLSocketBench_0 ...
13:47:08  ===============================================
13:47:08  bumbleBench-SSLSocketBench_0 Start Time: Fri Nov  1 13:47:08 2019 Epoch Time (ms): 1572630428469
13:47:08  "/java/jenkins/workspace/Piyush-Grinder/openjdkbinary/j2sdk-image/bin/java" -Xshareclasses:destroyAll; "/java/jenkins/workspace/Piyush-Grinder/openjdkbinary/j2sdk-image/bin/java" -Xshareclasses:groupAccess,destroyAll; echo "cache cleanup done";
13:47:08  JVMSHRC005I No shared class caches available
13:47:08  JVMSHRC005I No shared class caches available
13:47:08  cache cleanup done
13:47:08  variation: NoOptions
13:47:08  JVM_OPTIONS: -Xcompressedrefs 
13:47:08  { itercnt=1; \
13:47:08  mkdir -p "/java/jenkins/workspace/Piyush-Grinder/openjdk-tests/TestConfig/../TestConfig/test_output_15726303782557/bumbleBench-SSLSocketBench_0"; \
13:47:08  cd "/java/jenkins/workspace/Piyush-Grinder/openjdk-tests/TestConfig/../TestConfig/test_output_15726303782557/bumbleBench-SSLSocketBench_0"; \
13:47:08  "/java/jenkins/workspace/Piyush-Grinder/openjdkbinary/j2sdk-image/bin/java" -jar /java/jenkins/workspace/Piyush-Grinder/openjdk-tests/TestConfig/../../jvmtest/perf/bumbleBench/bumblebench/BumbleBench.jar SSLSocketBench; \
13:47:08  	if [ $? -eq 0 ] ; then echo ""; echo "bumbleBench-SSLSocketBench_0""_PASSED"; echo ""; cd /java/jenkins/workspace/Piyush-Grinder/openjdk-tests/TestConfig/..;  else echo ""; echo "bumbleBench-SSLSocketBench_0""_FAILED"; echo ""; fi; } 2>&1 | tee -a "/java/jenkins/workspace/Piyush-Grinder/openjdk-tests/TestConfig/../TestConfig/test_output_15726303782557/TestTargetResult";
13:47:11  java.io.FileNotFoundException: /home/vpapro/mySrvKeystore (No such file or directory)
13:47:11  	at java.io.FileInputStream.open(FileInputStream.java:195)
13:47:11  	at java.io.FileInputStream.<init>(FileInputStream.java:138)
13:47:11  	at java.io.FileInputStream.<init>(FileInputStream.java:93)
13:47:11  	at net.adoptopenjdk.bumblebench.crypto.SSLSocketBench.<clinit>(SSLSocketBench.java:51)
13:47:11  	at java.lang.Class.forNameImpl(Native Method)
13:47:11  	at java.lang.Class.forName(Class.java:333)
13:47:11  	at net.adoptopenjdk.bumblebench.core.Launcher.loadTestClass(Launcher.java:104)
13:47:11  	at net.adoptopenjdk.bumblebench.core.Launcher.loadTestClass(Launcher.java:85)
13:47:11  	at net.adoptopenjdk.bumblebench.core.Launcher.main(Launcher.java:48)
13:47:11  
13:47:11  -= BumbleBench series 7 version 5.10 running SSLSocketBench  Fri Nov 01 13:47:08 EDT 2019 =-
13:47:11  
13:47:11                Target	Est	Uncert%	MaxPeak	Peak	Peak%	%paused
13:47:11  java.net.ConnectException: Connection refused (Connection refused)
13:47:11  	at java.net.PlainSocketImpl.socketConnect(Native Method)
13:47:11  	at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
13:47:11  	at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
13:47:11  	at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
13:47:11  	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
13:47:11  	at java.net.Socket.connect(Socket.java:607)
13:47:11  	at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:666)
13:47:11  	at sun.security.ssl.BaseSSLSocketImpl.connect(BaseSSLSocketImpl.java:173)
13:47:11  	at sun.net.NetworkClient.doConnect(NetworkClient.java:180)
13:47:11  	at sun.net.www.http.HttpClient.openServer(HttpClient.java:463)
13:47:11  	at sun.net.www.http.HttpClient.openServer(HttpClient.java:558)
13:47:11  	at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:264)
13:47:11  	at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:367)
13:47:11  	at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191)
13:47:11  	at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1162)
13:47:11  	at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1056)
13:47:11  	at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177)
13:47:11  	at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1570)
13:47:11  	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1498)
13:47:11  	at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:268)
13:47:11  	at net.adoptopenjdk.bumblebench.crypto.SSLSocketBench.doBatch(SSLSocketBench.java:88)
13:47:11  	at net.adoptopenjdk.bumblebench.core.MicroBench.attempt(MicroBench.java:66)
13:47:11  	at net.adoptopenjdk.bumblebench.core.BumbleBench.runAttempt(BumbleBench.java:139)
13:47:11  	at net.adoptopenjdk.bumblebench.core.BumbleBench.run(BumbleBench.java:245)
13:47:11  	at net.adoptopenjdk.bumblebench.core.MicroBench.run(MicroBench.java:107)
13:47:11  	at net.adoptopenjdk.bumblebench.core.BumbleBench.bumbleMain(BumbleBench.java:287)
13:47:11  	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
13:47:11  	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
13:47:11  	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
13:47:11  	at java.lang.reflect.Method.invoke(Method.java:498)
13:47:11  	at net.adoptopenjdk.bumblebench.core.Launcher.runBumbleMainOn(Launcher.java:61)
13:47:11  	at net.adoptopenjdk.bumblebench.core.Launcher.main(Launcher.java:55)
13:47:11      0.2s:  >! 110	695.5	 40.0	110	110	470.0
...
...

To Reproduce

@karianna karianna added the bug Something isn't working label Nov 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants