Details
-
Bug
-
Resolution: Obsolete
-
Medium
-
None
Description
The TestConfluencePlugins.testStudioPluginsAreEnabledAndCannotBeDisabled and TestJiraPluginsPage.testStudioPluginsAreEnabledAndCannotBeDisabled tests have both been flaky for a while on the BEAC build. An example of a build where these tests have failed is:
https://bamboo.extranet.atlassian.com/browse/JST-AOD-306
The tests fail due to a timeout on a request to the upm rest interface (to retrieve plugin information).
com.atlassian.sal.api.net.ResponseException: Maximum number of retries (2) reached. at com.atlassian.sal.core.net.HttpClientRequest.execute(HttpClientRequest.java:269) at com.atlassian.studio.functest.core.utils.RestUtils.execute(RestUtils.java:347) at com.atlassian.studio.functest.core.utils.RestUtils.execute(RestUtils.java:333) at com.atlassian.studio.functest.core.RestClient.doGet(RestClient.java:116) at com.atlassian.studio.functest.core.RestClient.doGetJson(RestClient.java:97) at com.atlassian.studio.functest.core.UpmClient.fetchFullObjectInfo(UpmClient.java:191) at com.atlassian.studio.functest.core.UpmClient.getPluginByKey(UpmClient.java:76) at com.atlassian.studio.functest.tests.simple.TestConfluencePlugins.testStudioPluginsAreEnabledAndCannotBeDisabled(TestConfluencePlugins.java:72) Caused by: java.net.SocketTimeoutException: Read timed out at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(SocketInputStream.java:129) at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
I have been able to reproduce these sporadic failures for these two tests on my desktop.