See <https://builds.apache.org/job/joshua_maven/5/changes>
Changes: [lewis.mcgibbney] JOSHUA-252 correctly specify test dependency in NodeTest.java ------------------------------------------ Started by user lewismc [EnvInject] - Loading node environment variables. Building remotely on ubuntu-4 (docker Ubuntu ubuntu4 ubuntu yahoo-not-h2) in workspace <https://builds.apache.org/job/joshua_maven/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/JOSHUA-252^{commit} # timeout=10 > git rev-parse refs/remotes/origin/origin/JOSHUA-252^{commit} # timeout=10 Checking out Revision 7c8e8566d1c6ca5b1c519163302b8ce2b0eb02cb (refs/remotes/origin/JOSHUA-252) > git config core.sparsecheckout # timeout=10 > git checkout -f 7c8e8566d1c6ca5b1c519163302b8ce2b0eb02cb > git rev-list ab5bb42c3a5067521e0ea3e842611ce54a726782 # timeout=10 [joshua_maven] $ /home/jenkins/tools/maven/apache-maven-2.2.1/bin/mvn clean deploy javadoc:aggregate [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'javadoc'. [INFO] ------------------------------------------------------------------------ [INFO] Building Apache Joshua Machine Translation Toolkit [INFO] task-segment: [clean, deploy] [INFO] ------------------------------------------------------------------------ [INFO] [clean:clean {execution: default-clean}] [INFO] Deleting <https://builds.apache.org/job/joshua_maven/ws/target> [INFO] [remote-resources:process {execution: default}] [debug] execute contextualize [INFO] [resources:resources {execution: default-resources}] [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory <https://builds.apache.org/job/joshua_maven/ws/src/main/resources> [INFO] Copying 3 resources [INFO] [compiler:compile {execution: default-compile}] [INFO] Compiling 251 source files to <https://builds.apache.org/job/joshua_maven/ws/target/classes> [debug] execute contextualize [INFO] [resources:testResources {execution: default-testResources}] [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory <https://builds.apache.org/job/joshua_maven/ws/src/test/resources> [INFO] Copying 3 resources [INFO] [compiler:testCompile {execution: default-testCompile}] [INFO] Compiling 41 source files to <https://builds.apache.org/job/joshua_maven/ws/target/test-classes> [INFO] [surefire:test {execution: default-test}] [INFO] Surefire report directory: <https://builds.apache.org/job/joshua_maven/ws/target/surefire-reports> ------------------------------------------------------- T E S T S ------------------------------------------------------- Running TestSuite Writing vocabulary: 714 tokens * WARNING: sentence 0 too long (401), truncating to length 200 * WARNING: sentence 0 too long (401), truncating to length 200 * WARNING: sentence 0 too long (401), truncating to length 200 * WARNING: sentence 0 too long (401), truncating to length 200 Loading Berkeley LM from ARPA file /tmp/testLM3719752104442735125arpa Tests run: 87, Failures: 8, Errors: 0, Skipped: 7, Time elapsed: 2.326 sec <<< FAILURE! Results : Failed tests: externalizeVocabulary(org.apache.joshua.util.io.BinaryTest): org.apache.joshua.corpus.Vocabulary cannot be cast to java.io.Externalizable (org.apache.joshua.lattice.LatticeTest): expected [1.0] but found [1] (org.apache.joshua.lattice.LatticeTest): expected [Node-0] but found [Node-5] testTooManyTokensSourceAndTargetEmptyString(org.apache.joshua.decoder.segment_file.SentenceTest): expected [true] but found [false] testTooManyTokensSourceOnlyEmpty(org.apache.joshua.decoder.segment_file.SentenceTest): expected [true] but found [false] basicVocabTest(org.apache.joshua.corpus.vocab.VocabularyTest): expected [org.apache.joshua.corpus.Vocabulary@37858383] but found [org.apache.joshua.corpus.Vocabulary@4e268090] loadVocabFromFile(org.apache.joshua.corpus.vocab.VocabularyTest): expected [true] but found [false] (org.apache.joshua.lattice.ArcTest): expected [Node-1] but found [Node-2] Tests run: 87, Failures: 8, Errors: 0, Skipped: 7 [INFO] ------------------------------------------------------------------------ [ERROR] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] There are test failures. Please refer to <https://builds.apache.org/job/joshua_maven/ws/target/surefire-reports> for the individual test results. [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 18 seconds [INFO] Finished at: Mon May 16 06:36:22 UTC 2016 [INFO] Final Memory: 52M/1094M [INFO] ------------------------------------------------------------------------ Build step 'Invoke top-level Maven targets' marked build as failure Publishing Javadoc Updating JOSHUA-252