You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Alex Parvulescu (JIRA)" <ji...@apache.org> on 2015/03/20 15:20:38 UTC

[jira] [Commented] (OAK-2658) Test failures in TarMK standby: proxy not started

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

Alex Parvulescu commented on OAK-2658:
--------------------------------------

the actual error is 
{code}
12:44:07.073 ERROR [nioEventLoopGroup-34-1] StandbyServer.java:188 Server failed to start on port 52800, will be canceled
java.net.BindException: Address already in use
{code}
which looks related to the way the tests are setup. Each test starts the standby server on a port [0] reserved by maven-surefire-plugin [1]. maybe this setup needs to be revisited in the context of the CI jobs?


[0] https://github.com/apache/jackrabbit-oak/blob/trunk/oak-tarmk-standby/src/test/java/org/apache/jackrabbit/oak/plugins/segment/standby/TestBase.java#L31
[1] https://github.com/apache/jackrabbit-oak/blob/trunk/oak-tarmk-standby/pom.xml#L87

> Test failures in TarMK standby: proxy not started
> -------------------------------------------------
>
>                 Key: OAK-2658
>                 URL: https://issues.apache.org/jira/browse/OAK-2658
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: oak-tarmk-standby
>         Environment: Jenkins, Ubuntu: https://builds.apache.org/job/Apache%20Jackrabbit%20Oak%20matrix/
>            Reporter: Michael Dürig
>              Labels: CI, jenkins
>             Fix For: 1.2
>
>
> The following tests fail probably all for the same reason:
> {noformat}
> testProxySkippedBytes(org.apache.jackrabbit.oak.plugins.segment.standby.ExternalSharedStoreIT): proxy not started
> testProxySkippedBytesIntermediateChange(org.apache.jackrabbit.oak.plugins.segment.standby.ExternalSharedStoreIT): proxy not started
> testProxyFlippedStartByte(org.apache.jackrabbit.oak.plugins.segment.standby.ExternalSharedStoreIT): proxy not started
> testProxyFlippedIntermediateByte(org.apache.jackrabbit.oak.plugins.segment.standby.ExternalSharedStoreIT): proxy not started
> testProxyFlippedIntermediateByte2(org.apache.jackrabbit.oak.plugins.segment.standby.ExternalSharedStoreIT): proxy not started
> testProxyFlippedIntermediateByteChange(org.apache.jackrabbit.oak.plugins.segment.standby.ExternalSharedStoreIT): proxy not started
> testProxyFlippedIntermediateByteChange2(org.apache.jackrabbit.oak.plugins.segment.standby.ExternalSharedStoreIT): proxy not started
> {noformat}
> Stacktraces always look something like:
> {noformat}
> java.lang.Exception: proxy not started
> 	at org.apache.jackrabbit.oak.plugins.segment.NetworkErrorProxy.reset(NetworkErrorProxy.java:87)
> 	at org.apache.jackrabbit.oak.plugins.segment.standby.DataStoreTestBase.useProxy(DataStoreTestBase.java:176)
> 	at org.apache.jackrabbit.oak.plugins.segment.standby.DataStoreTestBase.testProxySkippedBytes(DataStoreTestBase.java:118)
> {noformat}
> See https://builds.apache.org/job/Apache%20Jackrabbit%20Oak%20matrix/31/jdk=latest1.7,label=Ubuntu,nsfixtures=DOCUMENT_NS,profile=integrationTesting/console



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)