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

Getting connection resets intermittently when making rally calls #38

Open
recaph opened this issue Oct 19, 2022 · 0 comments
Open

Getting connection resets intermittently when making rally calls #38

recaph opened this issue Oct 19, 2022 · 0 comments

Comments

@recaph
Copy link

recaph commented Oct 19, 2022

Problem:
We make multiple requests to rally to get testcase inputs from rally and execute testcase on a GCP VM and then upload the results to Rally. Similar requests seem to work for some test cases during the same run, but some random test case fails to make connection with rally.

02:20:17.387 INFO c.c.m.e.OnlineExecutor [main] Starting the Test Case Execution for: TC56001
02:20:23.097 INFO c.c.m.e.OnlineExecutor [main] Starting the Test Case Execution for: TC56007
02:20:28.600 INFO c.c.m.e.OnlineExecutor [main] Starting the Test Case Execution for: TC56175
02:20:34.203 INFO c.c.m.e.OnlineExecutor [main] Starting the Test Case Execution for: TC56176
02:20:41.312 INFO c.c.m.e.OnlineExecutor [main] Starting the Test Case Execution for: TC56221
02:20:52.442 INFO TestReaderUtil [main] Comparing Test Case: TC54097
02:20:52.442 INFO RallyUtil [main] Using the following file for expected output compare: ExpectedOutput-R20.txt
02:20:52.458 ERROR RallyConnector [main] Not able to execute Get Request For: com.rallydev.rest.request.GetRequest@5f2606b
javax.net.ssl.SSLException: Connection reset
	at sun.security.ssl.Alert.createSSLException(Alert.java:127) ~[?:1.8.0_345]
	at sun.security.ssl.TransportContext.fatal(TransportContext.java:324) ~[?:1.8.0_345]
	at sun.security.ssl.TransportContext.fatal(TransportContext.java:267) ~[?:1.8.0_345]
	at sun.security.ssl.TransportContext.fatal(TransportContext.java:262) ~[?:1.8.0_345]
	at sun.security.ssl.SSLSocketImpl.handleException(SSLSocketImpl.java:1568) ~[?:1.8.0_345]
	at sun.security.ssl.SSLSocketImpl.access$400(SSLSocketImpl.java:73) ~[?:1.8.0_345]
	at sun.security.ssl.SSLSocketImpl$AppInputStream.read(SSLSocketImpl.java:978) ~[?:1.8.0_345]
..........
	at org.apache.http.impl.io.AbstractSessionInputBuffer.fillBuffer(AbstractSessionInputBuffer.java:166) ~
	at com.rallydev.rest.client.HttpClient.executeRequest(HttpClient.java:157) ~[TestAutomation.jar:?]
	at com.rallydev.rest.client.HttpClient.doRequest(HttpClient.java:145) ~[TestAutomation.jar:?]
	at com.rallydev.rest.client.ApiKeyClient.doRequest(ApiKeyClient.java:37) ~[TestAutomation.jar:?]
	at com.rallydev.rest.client.HttpClient.doGet(HttpClient.java:221) ~[TestAutomation.jar:?]
	at com.rallydev.rest.RallyRestApi.get(RallyRestApi.java:199) ~[TestAutomation.jar:?]
        at c.c.m.r.RallyConnector.executeGet(RallyConnector.java:75) ~[TestAutomation.jar:?]
..........
02:20:52.464 ERROR RallyTestCase [main] c.c.m.e.RallyException: Connection reset
02:20:52.464 ERROR Application [main] Error during Result comparison of TC54097
02:20:52.464 INFO TestReaderUtil [main] Comparing Test Case: TC54307
02:20:53.999 INFO RallyTestCase [main] Version Suffix is ON, ActualOutput will be compared against: ExpectedOutput.txt
02:20:54.039 INFO TestReaderUtil [main] Test Case TC54307 Passed.
02:20:54.039 INFO TestReaderUtil [main] Comparing Test Case: TC54556
02:20:56.010 INFO RallyTestCase [main] Version Suffix is ON, ActualOutput will be compared against: ExpectedOutput.txt
02:20:56.022 INFO TestReaderUtil [main] Test Case TC54556 Passed.
02:20:56.022 INFO TestReaderUtil [main] Comparing Test Case: TC54562

Environment:
GCP VM running CentOS 7 with Temurin Open JDK 8 (build 345)

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

No branches or pull requests

1 participant