This is going to be a problem — having a portion of the test suite depending on KenLM, which is not bundled, distributable, or platform-independent...
> Begin forwarded message: > > From: Apache Jenkins Server <jenk...@builds.apache.org> > Subject: Build failed in Jenkins: joshua_master #71 > Date: June 23, 2016 at 10:15:08 AM EDT > To: dev@joshua.incubator.apache.org, p...@jgeppert.com, antoni...@riseup.net, > da...@davidkarlsen.com, fhie...@amazon.com > Reply-To: dev@joshua.incubator.apache.org > > See <https://builds.apache.org/job/joshua_master/71/changes> > > Changes: > > [david] Migrated the Dockerfile to use new Maven build > > ------------------------------------------ > Started by an SCM change > [EnvInject] - Loading node environment variables. > Building remotely on ubuntu-5 (docker Ubuntu ubuntu5 ubuntu yahoo-not-h2) in > workspace <https://builds.apache.org/job/joshua_master/ws/> >> git rev-parse --is-inside-work-tree # timeout=10 > Fetching changes from the remote Git repository >> git config remote.origin.url >> https://git-wip-us.apache.org/repos/asf/incubator-joshua.git # timeout=10 > Fetching upstream changes from > https://git-wip-us.apache.org/repos/asf/incubator-joshua.git >> git --version # timeout=10 >> git -c core.askpass=true fetch --tags --progress >> https://git-wip-us.apache.org/repos/asf/incubator-joshua.git >> +refs/heads/*:refs/remotes/origin/* >> git rev-parse refs/remotes/origin/master^{commit} # timeout=10 >> git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10 > Checking out Revision 6aef63d7893f776f2d23e0f797ed7dc1123c756a > (refs/remotes/origin/master) >> git config core.sparsecheckout # timeout=10 >> git checkout -f 6aef63d7893f776f2d23e0f797ed7dc1123c756a >> git rev-list f3a511836d139f270ce2ffaeefd39090b3cbb826 # timeout=10 > [joshua_master] $ /home/jenkins/tools/maven/apache-maven-3.0.4/bin/mvn clean > deploy javadoc:aggregate > [INFO] Scanning for projects... > [INFO] > > [INFO] > ------------------------------------------------------------------------ > [INFO] Building Apache Joshua Machine Translation Toolkit 6.0.6-SNAPSHOT > [INFO] > ------------------------------------------------------------------------ > [INFO] > [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ joshua --- > [INFO] Deleting <https://builds.apache.org/job/joshua_master/ws/target> > [INFO] > [INFO] --- maven-remote-resources-plugin:1.2.1:process (default) @ joshua --- > [INFO] > [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ joshua > --- > [debug] execute contextualize > [INFO] Using 'UTF-8' encoding to copy filtered resources. > [INFO] Copying 1 resource > [INFO] Copying 3 resources > [INFO] > [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ joshua --- > [INFO] Compiling 268 source files to > <https://builds.apache.org/job/joshua_master/ws/target/classes> > [INFO] > [INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ > joshua --- > [debug] execute contextualize > [INFO] Using 'UTF-8' encoding to copy filtered resources. > [INFO] Copying 321 resources > [INFO] Copying 3 resources > [INFO] > [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ > joshua --- > [INFO] Compiling 44 source files to > <https://builds.apache.org/job/joshua_master/ws/target/test-classes> > [INFO] > [INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ joshua --- > > ------------------------------------------------------- > T E S T S > ------------------------------------------------------- > Running TestSuite > ERROR - * FATAL: Can't find libken.so (libken.dylib on OS X) in $JOSHUA/lib > ERROR - * This probably means that the KenLM library didn't compile. > ERROR - * Make sure that BOOST_ROOT is set to the root of your boost > ERROR - * installation (it's not /opt/local/, the default), change to > ERROR - * $JOSHUA, and type 'ant kenlm'. If problems persist, see the > ERROR - * website (joshua-decoder.org). > WARN - sentence 0 too long 401, truncating to length 200 > WARN - sentence 0 too long 401, truncating to length 200 > WARN - sentence 0 too long 401, truncating to length 200 > WARN - sentence 0 too long 401, truncating to length 200 > % > % > % > % > % > % > % > % > % > WARN - no grammars supplied! Supplying dummy glue grammar. > WARN - no grammars supplied! Supplying dummy glue grammar. > WARN - no grammars supplied! Supplying dummy glue grammar. > WARN - no grammars supplied! Supplying dummy glue grammar. > Tests run: 131, Failures: 1, Errors: 0, Skipped: 6, Time elapsed: 2.242 sec > <<< FAILURE! - in TestSuite > setUp(org.apache.joshua.decoder.ff.lm.class_lm.ClassBasedLanguageModelTest) > Time elapsed: 0.517 sec <<< FAILURE! > java.lang.ExceptionInInitializerError > at > org.apache.joshua.decoder.ff.lm.class_lm.ClassBasedLanguageModelTest.setUp(ClassBasedLanguageModelTest.java:52) > Caused by: java.lang.RuntimeException: java.lang.UnsatisfiedLinkError: no ken > in java.library.path > at > org.apache.joshua.decoder.ff.lm.class_lm.ClassBasedLanguageModelTest.setUp(ClassBasedLanguageModelTest.java:52) > Caused by: java.lang.UnsatisfiedLinkError: no ken in java.library.path > at > org.apache.joshua.decoder.ff.lm.class_lm.ClassBasedLanguageModelTest.setUp(ClassBasedLanguageModelTest.java:52) > > > Results : > > Failed tests: > org.apache.joshua.decoder.ff.lm.class_lm.ClassBasedLanguageModelTest.setUp(org.apache.joshua.decoder.ff.lm.class_lm.ClassBasedLanguageModelTest) > Run 1: ClassBasedLanguageModelTest.setUp:52 » ExceptionInInitializer > Run 2: PASS > > > Tests run: 129, Failures: 1, Errors: 0, Skipped: 4 > > [INFO] > > [INFO] > ------------------------------------------------------------------------ > [INFO] Skipping Apache Joshua Machine Translation Toolkit > [INFO] This project has been banned from the build due to previous failures. > [INFO] > ------------------------------------------------------------------------ > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 14.900s > [INFO] Finished at: Thu Jun 23 14:14:54 UTC 2016 > [INFO] Final Memory: 34M/639M > [INFO] > ------------------------------------------------------------------------ > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test) on > project joshua: There are test failures. > [ERROR] > [ERROR] Please refer to > <https://builds.apache.org/job/joshua_master/ws/target/surefire-reports> for > the individual test results. > [ERROR] -> [Help 1] > [ERROR] > [ERROR] To see the full stack trace of the errors, re-run Maven with the -e > switch. > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > [ERROR] > [ERROR] For more information about the errors and possible solutions, please > read the following articles: > [ERROR] [Help 1] > http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException > Build step 'Invoke top-level Maven targets' marked build as failure > Publishing Javadoc