[ 
https://issues.apache.org/jira/browse/GEODE-5601?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16591781#comment-16591781
 ] 

Kenneth Howe commented on GEODE-5601:
-------------------------------------

A bit more detail ...

Acceptance tests by design use default ports for running servers and locators, 
so when tests run in parallel without the isolation of containers there are 
inevitably port conflicts. Failures typically show error logs something like
{code:java}
[INFO  01:35:33.190 UTC] (cluster-setup): (2) Executing - start server 
--name=server 
--security-properties-file=/tmp/junit1230333947702514837/security.properties
[INFO  01:35:33.191 UTC] (cluster-setup): 
[ERROR 01:35:35.320 UTC] (cluster-setup): The Cache Server process terminated 
unexpectedly with exit status 1. Please refer to the log file in 
/tmp/junit1230333947702514837/cluster-setup/server for full details.
[ERROR 01:35:35.321 UTC] (cluster-setup): 
[ERROR 01:35:35.321 UTC] (cluster-setup): Exception in thread "main" 
java.lang.RuntimeException: An IO error occurred while starting a Server in 
/tmp/junit1230333947702514837/cluster-setup/server on 
build-develop-acceptancetest-319.c.apachegeode-ci.internal[40404]: Network is 
unreachable; port (40404) is not available on localhost.
{code}
Some of the {{AcceptanceTests}} require external services such as mysql or 
postgres which are in docker containers. To avoid docker-in-docker problems CI 
for these tests are not containerized.

> AcceptanceTests are run in parallel without using containers, resulting in 
> port conflicts
> -----------------------------------------------------------------------------------------
>
>                 Key: GEODE-5601
>                 URL: https://issues.apache.org/jira/browse/GEODE-5601
>             Project: Geode
>          Issue Type: Bug
>          Components: tests
>            Reporter: Jacob S. Barrett
>            Assignee: Kenneth Howe
>            Priority: Major
>              Labels: flaky, swat
>
> {noformat}
> org.apache.geode.management.internal.cli.commands.DeployWithLargeJarTest > 
> deployLargeSetOfJars FAILED
>     org.junit.ComparisonFailure: expected:<[0]> but was:<[1]>
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native 
> Method)
>         at 
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
>         at 
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
>         at 
> org.apache.geode.test.junit.rules.gfsh.GfshScript.awaitIfNecessary(GfshScript.java:117)
>         at 
> org.apache.geode.test.junit.rules.gfsh.GfshRule.execute(GfshRule.java:135)
>         at 
> org.apache.geode.test.junit.rules.gfsh.GfshScript.execute(GfshScript.java:106)
>         at 
> org.apache.geode.management.internal.cli.commands.DeployWithLargeJarTest.deployLargeSetOfJars(DeployWithLargeJarTest.java:41)
> {noformat}
> Passes: 
> https://concourse.apachegeode-ci.info/teams/main/pipelines/pr-develop/jobs/AcceptanceTest/builds/721
> Fails: 
> https://concourse.apachegeode-ci.info/teams/main/pipelines/pr-develop/jobs/AcceptanceTest/builds/728



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to