top of page
Forum Posts
Evgeniy Bozhet
Jan 19, 2024
In Questions & Answers
Hi!
We are getting a socket timeout error while publishing test results (1064 cases total, filesize 4.5Mb) within Jenkins pipeline using AIO Jenkins plugin (https://plugins.jenkins.io/aio-tests/)
08:52:13 Jira Hosting : cloud
08:52:13 Framework Type: TestNG
08:52:13 File Path: ./build/reports/tests/mainTestsStage/testng-results.xml
08:52:13 Build running on slave
08:52:13 File path : /var/lib/jenkins/jobs/xxxxxxxxxxxxxx-pipeline/builds/571/build/reports/tests/mainTestsStage/testng-results.xml
08:52:13 Result files 1
08:52:13 Creating new cycle with prefix AQA-REGRESSION
08:52:13 ....
08:52:15 Cycle created successfully XXX-CY-49
08:52:15 Updating results for XXX-CY-49
08:52:15 *****File Name: testng-results.xml*****
08:54:47 Publishing results failed : java.net.SocketTimeoutException: Read timed out
08:54:47 kong.unirest.DefaultInterceptor.onFail(DefaultInterceptor.java:43)
08:54:47 kong.unirest.apache.ApacheClient.request(ApacheClient.java:133)
08:54:47 kong.unirest.BaseRequest.asString(BaseRequest.java:199)
08:54:47 com.navarambh.aiotests.utils.AIOCloudClient.importResults(AIOCloudClient.java:208)
08:54:47 com.navarambh.aiotests.utils.AIOCloudClient.importResults(AIOCloudClient.java:85)
08:54:47 com.navarambh.aiotests.postbuildsteps.AIOTestsResultRecorder.perform(AIOTestsResultRecorder.java:187)
As I can see from https://github.com/jenkinsci/aio-tests-plugin/blob/master/src/main/java/com/navarambh/aiotests/utils/AIOCloudClient.java (https://github.com/jenkinsci/aio-tests-plugin/blob/master/src/main/java/com/navarambh/aiotests/utils/AIOCloudClient.java)a socket timeout value hardcoded to 150 seconds.
Any chance this will be fixed or defined as step parameter?
0
2
49
Evgeniy Bozhet
More actions
bottom of page