You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Shelley Lynn Hughes-Godfrey (JIRA)" <ji...@apache.org> on 2018/12/13 18:07:00 UTC
[jira] [Reopened] (GEODE-5817) Acceptance test fails with
org.junit.ComparisonFailure: expected:<[0]> but was:<[1]>
[ https://issues.apache.org/jira/browse/GEODE-5817?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shelley Lynn Hughes-Godfrey reopened GEODE-5817:
------------------------------------------------
Assignee: (was: Brian Rowe)
Reopened as this failure reproduced (in 3 tests) during CI:
https://concourse.apachegeode-ci.info/teams/main/pipelines/apache-develop-main/jobs/AcceptanceTestOpenJDK11/builds/229
I should also note that a failure was logged against this JIRA on 11/2/1028 (but it was not reopened at that time). See previous comment on this JIRA.
{noformat}
org.apache.geode.management.internal.cli.commands.StopServerWithSecurityAcceptanceTest > cannotStopServerAsDataReaderOverHttp FAILED
org.junit.ComparisonFailure: expected:<[0]> but was:<[1]>
at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at org.apache.geode.test.junit.rules.gfsh.GfshExecution.awaitTermination(GfshExecution.java:125)
at org.apache.geode.test.junit.rules.gfsh.GfshRule.execute(GfshRule.java:125)
at org.apache.geode.test.junit.rules.gfsh.GfshScript.execute(GfshScript.java:133)
at org.apache.geode.management.internal.cli.commands.StopServerWithSecurityAcceptanceTest.startCluster(StopServerWithSecurityAcceptanceTest.java:110)
at org.apache.geode.management.internal.cli.commands.StopServerWithSecurityAcceptanceTest.cannotStopServerAsDataReaderOverHttp(StopServerWithSecurityAcceptanceTest.java:57)
org.apache.geode.management.internal.cli.commands.StopServerWithSecurityAcceptanceTest > cannotStopServerAsDataReaderOverJmx FAILED
org.junit.ComparisonFailure: expected:<[0]> but was:<[1]>
at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at org.apache.geode.test.junit.rules.gfsh.GfshExecution.awaitTermination(GfshExecution.java:125)
at org.apache.geode.test.junit.rules.gfsh.GfshRule.execute(GfshRule.java:125)
at org.apache.geode.test.junit.rules.gfsh.GfshScript.execute(GfshScript.java:133)
at org.apache.geode.management.internal.cli.commands.StopServerWithSecurityAcceptanceTest.startCluster(StopServerWithSecurityAcceptanceTest.java:110)
at org.apache.geode.management.internal.cli.commands.StopServerWithSecurityAcceptanceTest.cannotStopServerAsDataReaderOverJmx(StopServerWithSecurityAcceptanceTest.java:72)
org.apache.geode.management.internal.cli.commands.StopServerWithSecurityAcceptanceTest > canStopServerAsClusterAdminOverHttp FAILED
org.junit.ComparisonFailure: expected:<[0]> but was:<[1]>
at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at org.apache.geode.test.junit.rules.gfsh.GfshExecution.awaitTermination(GfshExecution.java:125)
at org.apache.geode.test.junit.rules.gfsh.GfshRule.execute(GfshRule.java:125)
at org.apache.geode.test.junit.rules.gfsh.GfshScript.execute(GfshScript.java:133)
at org.apache.geode.management.internal.cli.commands.StopServerWithSecurityAcceptanceTest.startCluster(StopServerWithSecurityAcceptanceTest.java:110)
at org.apache.geode.management.internal.cli.commands.StopServerWithSecurityAcceptanceTest.canStopServerAsClusterAdminOverHttp(StopServerWithSecurityAcceptanceTest.java:65)
{noformat}
Logs show the BindException for all 3 tests:
{noformat}
The Cache Server process terminated unexpectedly with exit status 1. Please refer to the log file in /tmp/junit15351062834469043980/cluster-setup/server for full details.
Exception in thread "main" java.lang.RuntimeException: An IO error occurred while starting a Server in /tmp/junit15351062834469043980/cluster-setup/server on heavy-lifter-f478f2b5-323d-52fb-87c4-9e76a785e591.c.apachegeode-ci.internal[40404]: Network is unreachable; port (40404) is not available on localhost.
at org.apache.geode.distributed.ServerLauncher.start(ServerLauncher.java:819)
at org.apache.geode.distributed.ServerLauncher.run(ServerLauncher.java:707)
at org.apache.geode.distributed.ServerLauncher.main(ServerLauncher.java:227)
Caused by: java.net.BindException: Network is unreachable; port (40404) is not available on localhost.
at org.apache.geode.distributed.AbstractLauncher.assertPortAvailable(AbstractLauncher.java:135)
at org.apache.geode.distributed.ServerLauncher.start(ServerLauncher.java:764)
... 2 more
The Cache Server process terminated unexpectedly with exit status 1. Please refer to the log file in /tmp/junit370075058456313978/cluster-setup/server for full details.
Exception in thread "main" java.lang.RuntimeException: An IO error occurred while starting a Server in /tmp/junit370075058456313978/cluster-setup/server on heavy-lifter-f478f2b5-323d-52fb-87c4-9e76a785e591.c.apachegeode-ci.internal[40404]: Network is unreachable; port (40404) is not available on localhost.
at org.apache.geode.distributed.ServerLauncher.start(ServerLauncher.java:819)
at org.apache.geode.distributed.ServerLauncher.run(ServerLauncher.java:707)
at org.apache.geode.distributed.ServerLauncher.main(ServerLauncher.java:227)
Caused by: java.net.BindException: Network is unreachable; port (40404) is not available on localhost.
at org.apache.geode.distributed.AbstractLauncher.assertPortAvailable(AbstractLauncher.java:135)
at org.apache.geode.distributed.ServerLauncher.start(ServerLauncher.java:764)
... 2 more
The Cache Server process terminated unexpectedly with exit status 1. Please refer to the log file in /tmp/junit4577667289065563874/cluster-setup/server for full details.
Exception in thread "main" java.lang.RuntimeException: An IO error occurred while starting a Server in /tmp/junit4577667289065563874/cluster-setup/server on heavy-lifter-f478f2b5-323d-52fb-87c4-9e76a785e591.c.apachegeode-ci.internal[40404]: Network is unreachable; port (40404) is not available on localhost.
at org.apache.geode.distributed.ServerLauncher.start(ServerLauncher.java:819)
at org.apache.geode.distributed.ServerLauncher.run(ServerLauncher.java:707)
at org.apache.geode.distributed.ServerLauncher.main(ServerLauncher.java:227)
Caused by: java.net.BindException: Network is unreachable; port (40404) is not available on localhost.
at org.apache.geode.distributed.AbstractLauncher.assertPortAvailable(AbstractLauncher.java:135)
at org.apache.geode.distributed.ServerLauncher.start(ServerLauncher.java:764)
... 2 more
{noformat}
=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Test Results URI =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
http://files.apachegeode-ci.info/builds/apache-develop-main/1.9.0-build.275/test-results/acceptanceTest/1544663797/
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Test report artifacts from this job are available at:
http://files.apachegeode-ci.info/builds/apache-develop-main/1.9.0-build.275/test-artifacts/1544663797/acceptancetestfiles-OpenJDK11-1.9.0-build.275.tgz
> Acceptance test fails with org.junit.ComparisonFailure: expected:<[0]> but was:<[1]>
> ------------------------------------------------------------------------------------
>
> Key: GEODE-5817
> URL: https://issues.apache.org/jira/browse/GEODE-5817
> Project: Geode
> Issue Type: Bug
> Reporter: Brian Rowe
> Priority: Major
> Labels: swat
> Fix For: 1.8.0
>
>
> This appears to be the same issue as GEODE-5601, however, this is still occurring even when the acceptanceTests are being run serially (or at least, run with the fix for 5601).
> Example failures:
> from https://concourse.apachegeode-ci.info/teams/main/pipelines/develop/jobs/AcceptanceTest/builds/47
> {noformat}org.apache.geode.management.internal.cli.commands.StopServerAcceptanceTest > canStopServerByNameWhenConnectedOverHttp 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.GfshExecution.awaitTermination(GfshExecution.java:124)
> at org.apache.geode.test.junit.rules.gfsh.GfshRule.execute(GfshRule.java:125)
> at org.apache.geode.test.junit.rules.gfsh.GfshRule.execute(GfshRule.java:112)
> at org.apache.geode.management.internal.cli.commands.StopServerAcceptanceTest.startCluster(StopServerAcceptanceTest.java:32){noformat}
> from https://concourse.apachegeode-ci.info/teams/main/pipelines/develop/jobs/AcceptanceTest/builds/53
> {noformat}org.apache.geode.management.internal.cli.shell.StatusServerExitCodeAcceptanceTest > classMethod 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.GfshExecution.awaitTermination(GfshExecution.java:124)
> at org.apache.geode.test.junit.rules.gfsh.GfshRule.execute(GfshRule.java:125)
> at org.apache.geode.test.junit.rules.gfsh.GfshScript.execute(GfshScript.java:133)
> at org.apache.geode.management.internal.cli.shell.StatusServerExitCodeAcceptanceTest.classSetup(StatusServerExitCodeAcceptanceTest.java:66){noformat}
> Looking at the logs for these failures, we see the following in standard error:
> {noformat}
> The Cache Server process terminated unexpectedly with exit status 1. Please refer to the log file in /tmp/junit5496177071859309076/member-controller/server-lock-better-iota for full details.
> Exception in thread "main" java.lang.RuntimeException: An IO error occurred while starting a Server in /tmp/junit5496177071859309076/member-controller/server-lock-better-iota on develop-acceptancetest-53.c.apachegeode-ci.internal[40404]: Network is unreachable; port (40404) is not available on localhost.
> at org.apache.geode.distributed.ServerLauncher.start(ServerLauncher.java:816)
> at org.apache.geode.distributed.ServerLauncher.run(ServerLauncher.java:704)
> at org.apache.geode.distributed.ServerLauncher.main(ServerLauncher.java:224)
> Caused by: java.net.BindException: Network is unreachable; port (40404) is not available on localhost.
> at org.apache.geode.distributed.AbstractLauncher.assertPortAvailable(AbstractLauncher.java:129)
> at org.apache.geode.distributed.ServerLauncher.start(ServerLauncher.java:761)
> ... 2 more
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)