lucene2 2.9.1+ds1-5 fails to build from source

Bug #521204 reported by Benjamin Drung
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
lucene2 (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

lucene2 2.9.1+ds1-5 fails to build from source (FTBFS).

common.test:
    [mkdir] Created dir: /build/buildd/lucene2-2.9.1+ds1/build/contrib/remote/test
    [junit] WARNING: multiple versions of ant detected in path for junit
    [junit] jar:file:/usr/share/java/ant-1.7.1.jar!/org/apache/tools/ant/Project.class
    [junit] and jar:file:/usr/share/ant/lib/ant.jar!/org/apache/tools/ant/Project.class
    [junit] Testsuite: org.apache.lucene.search.TestRemoteCachingWrapperFilter
    [junit] java.net.ConnectException: Connection timed out)
    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 378.472 sec
    [junit]
    [junit] Testcase: testTermRemoteFilter(org.apache.lucene.search.TestRemoteCachingWrapperFilter): Caused an ERROR
    [junit] Connection refused to host: 10.211.37.23; nested exception is:
    [junit] java.net.ConnectException: Connection timed out
    [junit] java.rmi.ConnectException: Connection refused to host: 10.211.37.23; nested exception is:
    [junit] java.net.ConnectException: Connection timed out
    [junit] at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:619)
    [junit] at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:216)
    [junit] at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:202)
    [junit] at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:128)
    [junit] at org.apache.lucene.search.RemoteSearchable_Stub.maxDoc(Unknown Source)
    [junit] at org.apache.lucene.search.MultiSearcher.<init>(MultiSearcher.java:126)
    [junit] at org.apache.lucene.search.TestRemoteCachingWrapperFilter.search(TestRemoteCachingWrapperFilter.java:88)
    [junit] at org.apache.lucene.search.TestRemoteCachingWrapperFilter.testTermRemoteFilter(TestRemoteCachingWrapperFilter.java:104)
    [junit] at org.apache.lucene.util.LuceneTestCase.runBare(LuceneTestCase.java:212)
    [junit] Caused by: java.net.ConnectException: Connection timed out
    [junit] at java.net.PlainSocketImpl.socketConnect(Native Method)
    [junit] at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:310)
    [junit] at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:176)
    [junit] at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:163)
    [junit] at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:384)
    [junit] at java.net.Socket.connect(Socket.java:542)
    [junit] at java.net.Socket.connect(Socket.java:492)
    [junit] at java.net.Socket.<init>(Socket.java:389)
    [junit] at java.net.Socket.<init>(Socket.java:203)
    [junit] at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:40)
    [junit] at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:146)
    [junit] at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:613)
    [junit]
    [junit]
    [junit] Test org.apache.lucene.search.TestRemoteCachingWrapperFilter FAILED
    [junit] Testsuite: org.apache.lucene.search.TestRemoteSearchable
    [junit] java.net.ConnectException: Connection timed out)
    [junit] java.net.ConnectException: Connection timed out)
    [junit] java.net.ConnectException: Connection timed out)
    [junit] java.net.ConnectException: Connection timed out)
    [junit] java.net.ConnectException: Connection timed out)
    [junit] Tests run: 5, Failures: 0, Errors: 5, Time elapsed: 1,134.512 sec
    [junit]
    [junit] Testcase: testTermQuery(org.apache.lucene.search.TestRemoteSearchable): Caused an ERROR
    [junit] Connection refused to host: 10.211.37.23; nested exception is:
    [junit] java.net.ConnectException: Connection timed out
    [junit] java.rmi.ConnectException: Connection refused to host: 10.211.37.23; nested exception is:
    [junit] java.net.ConnectException: Connection timed out
    [junit] at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:619)
    [junit] at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:216)
    [junit] at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:202)
    [junit] at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:128)
    [junit] at org.apache.lucene.search.RemoteSearchable_Stub.maxDoc(Unknown Source)
    [junit] at org.apache.lucene.search.MultiSearcher.<init>(MultiSearcher.java:126)
    [junit] at org.apache.lucene.search.TestRemoteSearchable.search(TestRemoteSearchable.java:83)
    [junit] at org.apache.lucene.search.TestRemoteSearchable.testTermQuery(TestRemoteSearchable.java:104)
    [junit] at org.apache.lucene.util.LuceneTestCase.runBare(LuceneTestCase.java:212)
    [junit] Caused by: java.net.ConnectException: Connection timed out
    [junit] at java.net.PlainSocketImpl.socketConnect(Native Method)
    [junit] at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:310)
    [junit] at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:176)
    [junit] at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:163)
    [junit] at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:384)
    [junit] at java.net.Socket.connect(Socket.java:542)
    [junit] at java.net.Socket.connect(Socket.java:492)
    [junit] at java.net.Socket.<init>(Socket.java:389)
    [junit] at java.net.Socket.<init>(Socket.java:203)
    [junit] at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:40)
    [junit] at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:146)
    [junit] at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:613)
    [junit]
    [junit]
    [junit] Testcase: testBooleanQuery(org.apache.lucene.search.TestRemoteSearchable): Caused an ERROR
    [junit] Connection refused to host: 10.211.37.23; nested exception is:
    [junit] java.net.ConnectException: Connection timed out
    [junit] java.rmi.ConnectException: Connection refused to host: 10.211.37.23; nested exception is:
    [junit] java.net.ConnectException: Connection timed out
    [junit] at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:619)
    [junit] at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:216)
    [junit] at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:202)
    [junit] at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:128)
    [junit] at org.apache.lucene.search.RemoteSearchable_Stub.maxDoc(Unknown Source)
    [junit] at org.apache.lucene.search.MultiSearcher.<init>(MultiSearcher.java:126)
    [junit] at org.apache.lucene.search.TestRemoteSearchable.search(TestRemoteSearchable.java:83)
    [junit] at org.apache.lucene.search.TestRemoteSearchable.testBooleanQuery(TestRemoteSearchable.java:110)
    [junit] at org.apache.lucene.util.LuceneTestCase.runBare(LuceneTestCase.java:212)
    [junit] Caused by: java.net.ConnectException: Connection timed out
    [junit] at java.net.PlainSocketImpl.socketConnect(Native Method)
    [junit] at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:310)
    [junit] at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:176)
    [junit] at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:163)
    [junit] at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:384)
    [junit] at java.net.Socket.connect(Socket.java:542)
    [junit] at java.net.Socket.connect(Socket.java:492)
    [junit] at java.net.Socket.<init>(Socket.java:389)
    [junit] at java.net.Socket.<init>(Socket.java:203)
    [junit] at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:40)
    [junit] at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:146)
    [junit] at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:613)
    [junit]
    [junit]
    [junit] Testcase: testPhraseQuery(org.apache.lucene.search.TestRemoteSearchable): Caused an ERROR
    [junit] Connection refused to host: 10.211.37.23; nested exception is:
    [junit] java.net.ConnectException: Connection timed out
    [junit] java.rmi.ConnectException: Connection refused to host: 10.211.37.23; nested exception is:
    [junit] java.net.ConnectException: Connection timed out
    [junit] at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:619)
    [junit] at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:216)
    [junit] at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:202)
    [junit] at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:128)
    [junit] at org.apache.lucene.search.RemoteSearchable_Stub.maxDoc(Unknown Source)
    [junit] at org.apache.lucene.search.MultiSearcher.<init>(MultiSearcher.java:126)
    [junit] at org.apache.lucene.search.TestRemoteSearchable.search(TestRemoteSearchable.java:83)
    [junit] at org.apache.lucene.search.TestRemoteSearchable.testPhraseQuery(TestRemoteSearchable.java:117)
    [junit] at org.apache.lucene.util.LuceneTestCase.runBare(LuceneTestCase.java:212)
    [junit] Caused by: java.net.ConnectException: Connection timed out
    [junit] at java.net.PlainSocketImpl.socketConnect(Native Method)
    [junit] at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:310)
    [junit] at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:176)
    [junit] at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:163)
    [junit] at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:384)
    [junit] at java.net.Socket.connect(Socket.java:542)
    [junit] at java.net.Socket.connect(Socket.java:492)
    [junit] at java.net.Socket.<init>(Socket.java:389)
    [junit] at java.net.Socket.<init>(Socket.java:203)
    [junit] at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:40)
    [junit] at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:146)
    [junit] at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:613)
    [junit]
    [junit]
    [junit] Testcase: testQueryFilter(org.apache.lucene.search.TestRemoteSearchable): Caused an ERROR
    [junit] Connection refused to host: 10.211.37.23; nested exception is:
    [junit] java.net.ConnectException: Connection timed out
    [junit] java.rmi.ConnectException: Connection refused to host: 10.211.37.23; nested exception is:
    [junit] java.net.ConnectException: Connection timed out
    [junit] at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:619)
    [junit] at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:216)
    [junit] at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:202)
    [junit] at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:128)
    [junit] at org.apache.lucene.search.RemoteSearchable_Stub.maxDoc(Unknown Source)
    [junit] at org.apache.lucene.search.MultiSearcher.<init>(MultiSearcher.java:126)
    [junit] at org.apache.lucene.search.TestRemoteSearchable.testQueryFilter(TestRemoteSearchable.java:124)
    [junit] at org.apache.lucene.util.LuceneTestCase.runBare(LuceneTestCase.java:212)
    [junit] Caused by: java.net.ConnectException: Connection timed out
    [junit] at java.net.PlainSocketImpl.socketConnect(Native Method)
    [junit] at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:310)
    [junit] at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:176)
    [junit] at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:163)
    [junit] at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:384)
    [junit] at java.net.Socket.connect(Socket.java:542)
    [junit] at java.net.Socket.connect(Socket.java:492)
    [junit] at java.net.Socket.<init>(Socket.java:389)
    [junit] at java.net.Socket.<init>(Socket.java:203)
    [junit] at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:40)
    [junit] at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:146)
    [junit] at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:613)
    [junit]
    [junit]
    [junit] Testcase: testConstantScoreQuery(org.apache.lucene.search.TestRemoteSearchable): Caused an ERROR
    [junit] Connection refused to host: 10.211.37.23; nested exception is:
    [junit] java.net.ConnectException: Connection timed out
    [junit] java.rmi.ConnectException: Connection refused to host: 10.211.37.23; nested exception is:
    [junit] java.net.ConnectException: Connection timed out
    [junit] at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:619)
    [junit] at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:216)
    [junit] at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:202)
    [junit] at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:128)
    [junit] at org.apache.lucene.search.RemoteSearchable_Stub.maxDoc(Unknown Source)
    [junit] at org.apache.lucene.search.MultiSearcher.<init>(MultiSearcher.java:126)
    [junit] at org.apache.lucene.search.TestRemoteSearchable.testConstantScoreQuery(TestRemoteSearchable.java:138)
    [junit] at org.apache.lucene.util.LuceneTestCase.runBare(LuceneTestCase.java:212)
    [junit] Caused by: java.net.ConnectException: Connection timed out
    [junit] at java.net.PlainSocketImpl.socketConnect(Native Method)
    [junit] at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:310)
    [junit] at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:176)
    [junit] at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:163)
    [junit] at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:384)
    [junit] at java.net.Socket.connect(Socket.java:542)
    [junit] at java.net.Socket.connect(Socket.java:492)
    [junit] at java.net.Socket.<init>(Socket.java:389)
    [junit] at java.net.Socket.<init>(Socket.java:203)
    [junit] at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:40)
    [junit] at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:146)
    [junit] at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:613)
    [junit]
    [junit]
    [junit] Test org.apache.lucene.search.TestRemoteSearchable FAILED
    [junit] Testsuite: org.apache.lucene.search.TestRemoteSort
    [junit] java.net.ConnectException: Connection timed out)
    [junit] java.net.ConnectException: Connection timed out)
    [junit] java.net.ConnectException: Connection timed out)
    [junit] Tests run: 3, Failures: 0, Errors: 3, Time elapsed: 1,134.669 sec
    [junit]
    [junit] Testcase: testRemoteSort(org.apache.lucene.search.TestRemoteSort): Caused an ERROR
    [junit] Connection refused to host: 10.211.37.23; nested exception is:
    [junit] java.net.ConnectException: Connection timed out
    [junit] java.rmi.ConnectException: Connection refused to host: 10.211.37.23; nested exception is:
    [junit] java.net.ConnectException: Connection timed out
    [junit] at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:619)
    [junit] at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:216)
    [junit] at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:202)
    [junit] at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:128)
    [junit] at org.apache.lucene.search.RemoteSearchable_Stub.maxDoc(Unknown Source)
    [junit] at org.apache.lucene.search.MultiSearcher.<init>(MultiSearcher.java:126)
    [junit] at org.apache.lucene.search.TestRemoteSort.testRemoteSort(TestRemoteSort.java:235)
    [junit] at org.apache.lucene.util.LuceneTestCase.runBare(LuceneTestCase.java:212)
    [junit] Caused by: java.net.ConnectException: Connection timed out
    [junit] at java.net.PlainSocketImpl.socketConnect(Native Method)
    [junit] at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:310)
    [junit] at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:176)
    [junit] at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:163)
    [junit] at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:384)
    [junit] at java.net.Socket.connect(Socket.java:542)
    [junit] at java.net.Socket.connect(Socket.java:492)
    [junit] at java.net.Socket.<init>(Socket.java:389)
    [junit] at java.net.Socket.<init>(Socket.java:203)
    [junit] at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:40)
    [junit] at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:146)
    [junit] at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:613)
    [junit]
    [junit]
    [junit] Testcase: testRemoteCustomSort(org.apache.lucene.search.TestRemoteSort): Caused an ERROR
    [junit] Connection refused to host: 10.211.37.23; nested exception is:
    [junit] java.net.ConnectException: Connection timed out
    [junit] java.rmi.ConnectException: Connection refused to host: 10.211.37.23; nested exception is:
    [junit] java.net.ConnectException: Connection timed out
    [junit] at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:619)
    [junit] at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:216)
    [junit] at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:202)
    [junit] at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:128)
    [junit] at org.apache.lucene.search.RemoteSearchable_Stub.maxDoc(Unknown Source)
    [junit] at org.apache.lucene.search.MultiSearcher.<init>(MultiSearcher.java:126)
    [junit] at org.apache.lucene.search.TestRemoteSort.testRemoteCustomSort(TestRemoteSort.java:242)
    [junit] at org.apache.lucene.util.LuceneTestCase.runBare(LuceneTestCase.java:212)
    [junit] Caused by: java.net.ConnectException: Connection timed out
    [junit] at java.net.PlainSocketImpl.socketConnect(Native Method)
    [junit] at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:310)
    [junit] at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:176)
    [junit] at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:163)
    [junit] at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:384)
    [junit] at java.net.Socket.connect(Socket.java:542)
    [junit] at java.net.Socket.connect(Socket.java:492)
    [junit] at java.net.Socket.<init>(Socket.java:389)
    [junit] at java.net.Socket.<init>(Socket.java:203)
    [junit] at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:40)
    [junit] at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:146)
    [junit] at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:613)
    [junit]
    [junit]
    [junit] Testcase: testNormalizedScores(org.apache.lucene.search.TestRemoteSort): Caused an ERROR
    [junit] Connection refused to host: 10.211.37.23; nested exception is:
    [junit] java.net.ConnectException: Connection timed out
    [junit] java.rmi.ConnectException: Connection refused to host: 10.211.37.23; nested exception is:
    [junit] java.net.ConnectException: Connection timed out
    [junit] at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:619)
    [junit] at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:216)
    [junit] at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:202)
    [junit] at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:128)
    [junit] at org.apache.lucene.search.RemoteSearchable_Stub.maxDoc(Unknown Source)
    [junit] at org.apache.lucene.search.MultiSearcher.<init>(MultiSearcher.java:126)
    [junit] at org.apache.lucene.search.TestRemoteSort.testNormalizedScores(TestRemoteSort.java:271)
    [junit] at org.apache.lucene.util.LuceneTestCase.runBare(LuceneTestCase.java:212)
    [junit] Caused by: java.net.ConnectException: Connection timed out
    [junit] at java.net.PlainSocketImpl.socketConnect(Native Method)
    [junit] at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:310)
    [junit] at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:176)
    [junit] at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:163)
    [junit] at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:384)
    [junit] at java.net.Socket.connect(Socket.java:542)
    [junit] at java.net.Socket.connect(Socket.java:492)
    [junit] at java.net.Socket.<init>(Socket.java:389)
    [junit] at java.net.Socket.<init>(Socket.java:203)
    [junit] at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:40)
    [junit] at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:146)
    [junit] at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:613)
    [junit]
    [junit]
    [junit] Test org.apache.lucene.search.TestRemoteSort FAILED
   [subant] Failure for target 'test' of: /build/buildd/lucene2-2.9.1+ds1/contrib/remote/build.xml
   [subant] The following error occurred while executing this line:
   [subant] /build/buildd/lucene2-2.9.1+ds1/contrib/contrib-build.xml:83: The following error occurred while executing this line:
   [subant] /build/buildd/lucene2-2.9.1+ds1/common-build.xml:446: The following error occurred while executing this line:
   [subant] /build/buildd/lucene2-2.9.1+ds1/common-build.xml:439: Tests failed!
     [echo] Building snowball...
[...]
BUILD FAILED
/build/buildd/lucene2-2.9.1+ds1/build.xml:655: Contrib tests failed!

Full build log: http://launchpadlibrarian.net/38425447/buildlog_ubuntu-lucid-i386.lucene2_2.9.1%2Bds1-5_FAILEDTOBUILD.txt.gz

Tags: ftbfs
Benjamin Drung (bdrung)
description: updated
Revision history for this message
Onkar Shinde (onkarshinde) wrote :

The snippet you have pasted is not the real cause of FTBFS. The FTBFS happens because of some unit tests which try to connect to internet (look for unit tests with name *Remote*).
The easiest way to fix the FTBFS is to disable these unit tests. It's is just that I don't exactly remember how to disable certain unit tests without commenting out whole files.

Revision history for this message
Benjamin Drung (bdrung) wrote :

I looked at the source, but I didn't find a switch for disabling single test.

Can you comment the certain unit test out?

Benjamin Drung (bdrung)
description: updated
description: updated
Revision history for this message
Benjamin Drung (bdrung) wrote :

lucene2 2.9.2+ds1-1 built in the second attempt.

Changed in lucene2 (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.