You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Robert Muir (JIRA)" <ji...@apache.org> on 2013/06/06 15:24:20 UTC

[jira] [Updated] (LUCENE-5037) HttpReplicatorTest.testBasic fails often in jenkins on OS X with java 1.6

     [ https://issues.apache.org/jira/browse/LUCENE-5037?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Muir updated LUCENE-5037:
--------------------------------

    Attachment: LUCENE-5037_take1.patch

Here's my first idea. I can't yet ssh into the machine until it starts a jenkins job to test it though :)

In ReplicatorTestCase.java, the server is explicitly started on 127.0.0.1:
{noformat}
    connector.setHost("127.0.0.1");
{noformat}

However, the code connecting tries to connect to "localhost". This is inconsistent: If this os X jvm has ipv6 configured, it could very likely be trying to connect to ::1, which won't be listening!
                
> HttpReplicatorTest.testBasic fails often in jenkins on OS X with java 1.6
> -------------------------------------------------------------------------
>
>                 Key: LUCENE-5037
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5037
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Robert Muir
>         Attachments: LUCENE-5037_take1.patch
>
>
> Its always a similar stack trace (connection refused).
> The problem is: nobody can reproduce it.
> So my idea is to have this issue open with potential fixes. I can test them by ssh'ing into the machine (only when its actually running a jenkins job, otherwise its down!) and trying to run the test with any patches/ideas.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org