[
https://issues.apache.org/jira/browse/BEAM-10506?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17159243#comment-17159243
]
Sameer Abhyankar commented on BEAM-10506:
-----------------------------------------
Hi [~kenn] - I looked at this and it does seem to be related to the Jenkins
worker load. The default mockserver timeout is 20s and while most of these
tests run within that time, this particular test was slower (probably because
the Jenkins worker was overloaded). I could do the following:
# Set the max timeout to something higher (60s) - But that might increase the
test time and may still eventually fail if the worker continues to be
overloaded.
# Catch and ignore that specific exception so its not a problem
Let me know your thoughts and I can push a PR with this change if needed.
> Flake / failure in SplunkEventWriterTest >
> successfulSplunkWriteSingleBatchTest
> -------------------------------------------------------------------------------
>
> Key: BEAM-10506
> URL: https://issues.apache.org/jira/browse/BEAM-10506
> Project: Beam
> Issue Type: Bug
> Components: io-java-splunk, test-failures
> Reporter: Kenneth Knowles
> Priority: P1
> Labels: flake
>
> https://ci-beam.apache.org/job/beam_PreCommit_Java_Commit/12391/testReport/junit/org.apache.beam.sdk.io.splunk/SplunkEventWriterTest/successfulSplunkWriteSingleBatchTest/
> {code}
> org.mockserver.client.SocketCommunicationException: Response was not received
> from MockServer after 20000 milliseconds, to wait longer please use
> "mockserver.maxSocketTimeout" system property or
> ConfigurationProperties.maxSocketTimeout(long milliseconds)
> at
> org.mockserver.client.NettyHttpClient.sendRequest(NettyHttpClient.java:99)
> at
> org.mockserver.client.MockServerClient.sendRequest(MockServerClient.java:183)
> at
> org.mockserver.client.MockServerClient.upsert(MockServerClient.java:844)
> at
> org.mockserver.client.ForwardChainExpectation.respond(ForwardChainExpectation.java:49)
> at
> org.apache.beam.sdk.io.splunk.SplunkEventWriterTest.mockServerListening(SplunkEventWriterTest.java:275)
> at
> org.apache.beam.sdk.io.splunk.SplunkEventWriterTest.successfulSplunkWriteSingleBatchTest(SplunkEventWriterTest.java:109)
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)