Bug#840827: lucene-solr: FTBFS (failing tests, no route to host)
Santiago Vila
sanvila at unex.es
Sat Oct 15 11:26:48 UTC 2016
Package: src:lucene-solr
Version: 3.6.2+dfsg-8
Severity: serious
Dear maintainer:
I tried to build this package in stretch with "dpkg-buildpackage -A"
(which is what the "Arch: all" autobuilder would do to build it)
but it failed:
--------------------------------------------------------------------------------
[...]
debian/rules build-indep
dh build-indep --with maven_repo_helper
dh_testdir -i
dh_update_autotools_config -i
debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<BUILDDIR>>/lucene-solr-3.6.2+dfsg'
# Link in jars from /usr/share/java rather
# than patching the build process
for pkg in `cat debian/build-jars`; \
do \
ln -sf `echo $pkg | cut -d : -f 1` `echo $pkg | cut -d : -f 2`; \
done
ln: failed to create symbolic link './lucene/lib/ant.jar': No such file or directory
[... snipped ...]
[junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:535)
[junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1182)
[junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1033)
[junit] Caused by: java.net.NoRouteToHostException: No route to host
[junit] at java.net.PlainSocketImpl.socketConnect(Native Method)
[junit] at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
[junit] at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
[junit] at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
[junit] at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
[junit] at java.net.Socket.connect(Socket.java:589)
[junit] at java.net.Socket.connect(Socket.java:538)
[junit] at java.net.Socket.<init>(Socket.java:434)
[junit] at java.net.Socket.<init>(Socket.java:211)
[junit] at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:40)
[junit] at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:148)
[junit] at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:613)
[junit] ... 44 more
[junit]
[junit]
[junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 5.301 sec
[junit]
[junit] ------------- Standard Error -----------------
[junit] NOTE: reproduce with: ant test -Dtestcase=TestRemoteCachingWrapperFilter -Dtestmethod=testTermRemoteFilter -Dtests.seed=360d91d04c9e1cb5:-d1bf13dc331d343:-5a995359e653cf8b -Dargs="-Dfile.encoding=ANSI_X3.4-1968"
[junit] NOTE: reproduce with: ant test -Dtestcase=TestRemoteCachingWrapperFilter -Dtestmethod=testTermRemoteFilter -Dtests.seed=360d91d04c9e1cb5:-d1bf13dc331d343:-5a995359e653cf8b -Dargs="-Dfile.encoding=ANSI_X3.4-1968"
[junit] NOTE: test params are: locale=it, timezone=Pacific/Enderbury
[junit] NOTE: all tests run in this JVM:
[junit] [TestRemoteCachingWrapperFilter]
[junit] NOTE: Linux 4.7.0-1-amd64 amd64/Oracle Corporation 1.8.0_102 (64-bit)/cpus=1,threads=1,free=86734984,total=95354880
[junit] ------------- ---------------- ---------------
[junit] Test org.apache.lucene.search.TestRemoteCachingWrapperFilter FAILED
BUILD FAILED
/<<BUILDDIR>>/lucene-solr-3.6.2+dfsg/lucene/build.xml:584: The following error occurred while executing this line:
/<<BUILDDIR>>/lucene-solr-3.6.2+dfsg/lucene/common-build.xml:1051: The following error occurred while executing this line:
/<<BUILDDIR>>/lucene-solr-3.6.2+dfsg/lucene/contrib/contrib-build.xml:61: The following error occurred while executing this line:
/<<BUILDDIR>>/lucene-solr-3.6.2+dfsg/lucene/common-build.xml:692:
The following error occurred while executing this line:
/<<BUILDDIR>>/lucene-solr-3.6.2+dfsg/lucene/common-build.xml:676: Tests failed!
The following error occurred while executing this line:
/<<BUILDDIR>>/lucene-solr-3.6.2+dfsg/lucene/common-build.xml:676: Tests failed!
The following error occurred while executing this line:
/<<BUILDDIR>>/lucene-solr-3.6.2+dfsg/lucene/common-build.xml:676: Tests failed!
The following error occurred while executing this line:
/<<BUILDDIR>>/lucene-solr-3.6.2+dfsg/lucene/common-build.xml:676: Tests failed!
Total time: 10 minutes 58 seconds
debian/rules:31: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 1
make[1]: Leaving directory '/<<BUILDDIR>>/lucene-solr-3.6.2+dfsg'
debian/rules:8: recipe for target 'build-indep' failed
make: *** [build-indep] Error 2
dpkg-buildpackage: error: debian/rules build-indep gave error exit status 2
--------------------------------------------------------------------------------
The build was made in a KVM/QEMU virtual machine with 1 CPU using sbuild.
I attach a full build log, but the build system leaks the IP of the machine
(it probably shouldn't). I've redacted that.
If this is really a bug in one of the build-depends, please use reassign and affects,
so that this is still visible in the page for this package.
Thanks.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lucene-solr_3.6.2+dfsg-8_amd64-20161015T103210Z.gz
Type: application/gzip
Size: 66592 bytes
Desc:
URL: <http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20161015/c06f3277/attachment-0001.bin>
More information about the pkg-java-maintainers
mailing list