Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-8730

CI failure: DualServerSNIAcceptanceTest fails to start server because port is in use

    XMLWordPrintableJSON

    Details

      Description

      The run is here: https://concourse.apachegeode-ci.info/teams/main/pipelines/apache-develop-main/jobs/AcceptanceTestOpenJDK8/builds/587

      org.apache.geode.client.sni.DualServerSNIAcceptanceTest > classMethod FAILED
          com.palantir.docker.compose.execution.DockerExecutionException: 'docker-compose exec -T geode gfsh run --file=/geode/scripts/geode-starter-2.gfsh' returned exit code 1
          The output was:
          1. Executing - start locator --name=locator-maeve --connect=false --redirect-output --hostname-for-clients=locator-maeve --properties-file=/geode/config/gemfire.properties --security-properties-file=******** --J=-Dgemfire.ssl-keystore=/geode/config/locator-maeve-keystore.jks
      
          ...........................
          Locator in /locator-maeve on geode[10334] as locator-maeve is currently online.
          Process ID: 47
          Uptime: 16 seconds
          Geode Version: 1.14.0-build.0
          Java Version: 11.0.9.1
          Log File: /locator-maeve/locator-maeve.log
          JVM Arguments: -DgemfirePropertyFile=/geode/config/gemfire.properties -DgemfireSecurityPropertyFile=/geode/config/gfsecurity.properties -Dgemfire.enable-cluster-configuration=true -Dgemfire.load-cluster-configuration-from-dir=false -Dgemfire.ssl-keystore=/geode/config/locator-maeve-keystore.jks -Dgemfire.launcher.registerSignalHandlers=true -Djava.awt.headless=true -Dsun.rmi.dgc.server.gcInterval=9223372036854775806 -Dgemfire.OSProcess.DISABLE_REDIRECTION_CONFIGURATION=true
          Class-Path: /geode/lib/geode-core-1.14.0-build.0.jar:/geode/lib/geode-dependencies.jar
      
          2. Executing - start server --name=server-dolores --group=group-dolores --hostname-for-clients=server-dolores --locators=geode[10334] --properties-file=/geode/config/gemfire.properties --security-properties-file=******** --J=-Dgemfire.ssl-keystore=/geode/config/server-dolores-keystore.jks
      
          .......
          Server in /server-dolores on geode[40404] as server-dolores is currently online.
          Process ID: 199
          Uptime: 5 seconds
          Geode Version: 1.14.0-build.0
          Java Version: 11.0.9.1
          Log File: /server-dolores/server-dolores.log
          JVM Arguments: -DgemfirePropertyFile=/geode/config/gemfire.properties -DgemfireSecurityPropertyFile=/geode/config/gfsecurity.properties -Dgemfire.start-dev-rest-api=false -Dgemfire.locators=geode[10334] -Dgemfire.use-cluster-configuration=true -Dgemfire.groups=group-dolores -Dgemfire.ssl-keystore=/geode/config/server-dolores-keystore.jks -Dgemfire.launcher.registerSignalHandlers=true -Djava.awt.headless=true -Dsun.rmi.dgc.server.gcInterval=9223372036854775806
          Class-Path: /geode/lib/geode-core-1.14.0-build.0.jar:/geode/lib/geode-dependencies.jar
      
          3. Executing - start server --name=server-clementine --group=group-clementine --hostname-for-clients=server-clementine --server-port=40405 --locators=geode[10334] --properties-file=/geode/config/gemfire.properties --security-properties-file=******** --J=-Dgemfire.ssl-keystore=/geode/config/server-clementine-keystore.jks
      
          ......The Cache Server process terminated unexpectedly with exit status 1. Please refer to the log file in /server-clementine for full details.
      
          Exception in thread "main" java.lang.RuntimeException: An IO error occurred while starting a Server in /server-clementine on geode[40405]: Network is unreachable; port (40405) is not available on localhost.
      
          	at org.apache.geode.distributed.ServerLauncher.start(ServerLauncher.java:852)
      
          	at org.apache.geode.distributed.ServerLauncher.run(ServerLauncher.java:737)
      
          	at org.apache.geode.distributed.ServerLauncher.main(ServerLauncher.java:256)
      
          Caused by: java.net.BindException: Network is unreachable; port (40405) is not available on localhost.
      
          	at org.apache.geode.distributed.AbstractLauncher.assertPortAvailable(AbstractLauncher.java:142)
      
          	at org.apache.geode.distributed.ServerLauncher.start(ServerLauncher.java:794)
      
          	... 2 more
      
      
      
          ************************* Execution Summary ***********************
          Script file: /geode/scripts/geode-starter-2.gfsh
      
          Command-1 : start locator --name=locator-maeve --connect=false --redirect-output --hostname-for-clients=locator-maeve --properties-file=/geode/config/gemfire.properties --security-properties-file=/geode/config/gfsecurity.properties --J=-Dgemfire.ssl-keystore=/geode/config/locator-maeve-keystore.jks
          Status    : PASSED
      
          Command-2 : start server --name=server-dolores --group=group-dolores --hostname-for-clients=server-dolores --locators=geode[10334] --properties-file=/geode/config/gemfire.properties --security-properties-file=/geode/config/gfsecurity.properties --J=-Dgemfire.ssl-keystore=/geode/config/server-dolores-keystore.jks
          Status    : PASSED
      
          Command-3 : start server --name=server-clementine --group=group-clementine --hostname-for-clients=server-clementine --server-port=40405 --locators=geode[10334] --properties-file=/geode/config/gemfire.properties --security-properties-file=/geode/config/gfsecurity.properties --J=-Dgemfire.ssl-keystore=/geode/config/server-clementine-keystore.jks
          Status    : FAILED
              at com.palantir.docker.compose.execution.Command.lambda$throwingOnError$12(Command.java:60)
              at com.palantir.docker.compose.execution.Command.execute(Command.java:50)
              at com.palantir.docker.compose.execution.DefaultDockerCompose.exec(DefaultDockerCompose.java:122)
              at com.palantir.docker.compose.execution.DelegatingDockerCompose.exec(DelegatingDockerCompose.java:86)
              at com.palantir.docker.compose.execution.RetryingDockerCompose.exec(RetryingDockerCompose.java:22)
              at com.palantir.docker.compose.DockerComposeRule.exec(DockerComposeRule.java:171)
              at org.apache.geode.client.sni.DualServerSNIAcceptanceTest.beforeClass(DualServerSNIAcceptanceTest.java:77)
      
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                burcham Bill Burcham
                Reporter:
                dschneider Darrel Schneider
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: