See 
<https://ci-builds.apache.org/job/OpenNLP/job/eval-tests/1231/display/redirect>

Changes:


------------------------------------------
[...truncated 18.87 MiB...]
[INFO] 
[INFO] --- compiler:3.15.0:compile (default-compile) @ opennlp-spellcheck ---
[INFO] Recompiling the module because of changed dependency.
[INFO] Compiling 23 source files with javac [debug release 21] to target/classes
[INFO] 
[INFO] --- resources:3.5.0:testResources (default-testResources) @ 
opennlp-spellcheck ---
[INFO] Copying 3 resources from src/test/resources to target/test-classes
[INFO] Copying 3 resources from target/maven-shared-archive-resources to 
target/test-classes
[INFO] 
[INFO] --- compiler:3.15.0:testCompile (default-testCompile) @ 
opennlp-spellcheck ---
[INFO] Recompiling the module because of changed dependency.
[INFO] Compiling 16 source files with javac [debug release 21] to 
target/test-classes
[INFO] 
[INFO] --- surefire:3.5.5:test (default-test) @ opennlp-spellcheck ---
[INFO] Using auto detected provider 
org.apache.maven.surefire.junitplatform.JUnitPlatformProvider
[INFO] 
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running opennlp.spellcheck.distance.DamerauOSADistanceTest
[INFO] Running opennlp.spellcheck.cmdline.SpellCheckCmdLineToolsTest
[INFO] Running opennlp.spellcheck.dictionary.SymSpellModelSerializationTest
[INFO] Running opennlp.spellcheck.symspell.SymSpellLookupTest
[INFO] Running opennlp.spellcheck.symspell.SymSpellEditDistanceMetricTest
[INFO] Running opennlp.spellcheck.distance.EditDistanceTest
[INFO] Running opennlp.spellcheck.dictionary.SymSpellModelResolverTest
[INFO] Running opennlp.spellcheck.symspell.SymSpellCompoundTest
[INFO] Running opennlp.spellcheck.symspell.SymSpellConfigTest
[INFO] Running opennlp.spellcheck.symspell.SymSpellTest
[INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.371 s 
-- in opennlp.spellcheck.distance.DamerauOSADistanceTest
[INFO] Running opennlp.spellcheck.SuggestItemTest
[INFO] Running opennlp.spellcheck.stream.SpellCorrectingTokenStreamTest
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.418 s 
-- in opennlp.spellcheck.symspell.SymSpellEditDistanceMetricTest
[INFO] Running opennlp.spellcheck.stream.SpellCorrectingObjectStreamTest
[INFO] Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.691 s 
-- in opennlp.spellcheck.symspell.SymSpellLookupTest
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.909 s 
-- in opennlp.spellcheck.cmdline.SpellCheckCmdLineToolsTest
[INFO] Running 
opennlp.spellcheck.normalizer.SpellCheckingCharSequenceNormalizerTest
[INFO] Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.796 s 
-- in opennlp.spellcheck.distance.EditDistanceTest
[INFO] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.840 s 
-- in opennlp.spellcheck.symspell.SymSpellConfigTest
[INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.677 s 
-- in opennlp.spellcheck.SuggestItemTest
[INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.790 s 
-- in opennlp.spellcheck.symspell.SymSpellTest
[INFO] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.032 s 
-- in opennlp.spellcheck.dictionary.SymSpellModelSerializationTest
[INFO] Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.981 s 
-- in opennlp.spellcheck.symspell.SymSpellCompoundTest
[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.846 s 
-- in opennlp.spellcheck.stream.SpellCorrectingTokenStreamTest
[INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.728 s 
-- in opennlp.spellcheck.stream.SpellCorrectingObjectStreamTest
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.188 s 
-- in opennlp.spellcheck.dictionary.SymSpellModelResolverTest
[INFO] Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.546 s 
-- in opennlp.spellcheck.normalizer.SpellCheckingCharSequenceNormalizerTest
[INFO] 
[INFO] Results:
[INFO] 
[INFO] Tests run: 112, Failures: 0, Errors: 0, Skipped: 0
[INFO] 
[INFO] 
[INFO] ---------------< org.apache.opennlp:opennlp-eval-tests >----------------
[INFO] Building Apache OpenNLP :: Eval Tests 3.0.0-SNAPSHOT             [23/23]
[INFO]   from opennlp-eval-tests/pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- enforcer:3.6.2:enforce (enforce-maven-version) @ opennlp-eval-tests 
---
[INFO] 
[INFO] --- enforcer:3.6.2:enforce (enforce-java-version) @ opennlp-eval-tests 
---
[INFO] 
[INFO] --- enforcer:3.6.2:enforce (enforce-java) @ opennlp-eval-tests ---
[INFO] 
[INFO] --- forbiddenapis:3.10:check (default) @ opennlp-eval-tests ---
[INFO] Scanning for classes to check...
[INFO] Classes directory does not exist, forbiddenapis check skipped: 
<https://ci-builds.apache.org/job/OpenNLP/job/eval-tests/ws/opennlp/opennlp-eval-tests/target/classes>
[INFO] 
[INFO] --- forbiddenapis:3.10:testCheck (default) @ opennlp-eval-tests ---
[INFO] Scanning for classes to check...
[INFO] Classes directory does not exist, forbiddenapis check skipped: 
<https://ci-builds.apache.org/job/OpenNLP/job/eval-tests/ws/opennlp/opennlp-eval-tests/target/test-classes>
[INFO] 
[INFO] --- checkstyle:3.6.0:check (validate) @ opennlp-eval-tests ---
[INFO] Starting audit...
Audit done.
[INFO] You have 0 Checkstyle violations.
[INFO] 
[INFO] --- remote-resources:3.3.0:process (process-resource-bundles) @ 
opennlp-eval-tests ---
[INFO] Preparing remote bundle 
org.apache.apache.resources:apache-jar-resource-bundle:1.8
[INFO] Copying 3 resources from 1 bundle.
[INFO] 
[INFO] --- resources:3.5.0:resources (default-resources) @ opennlp-eval-tests 
---
[INFO] skip non existing resourceDirectory 
<https://ci-builds.apache.org/job/OpenNLP/job/eval-tests/ws/opennlp/opennlp-eval-tests/src/main/resources>
[INFO] Copying 3 resources from target/maven-shared-archive-resources to 
target/classes
[INFO] 
[INFO] --- compiler:3.15.0:compile (default-compile) @ opennlp-eval-tests ---
[INFO] No sources to compile
[INFO] 
[INFO] --- resources:3.5.0:testResources (default-testResources) @ 
opennlp-eval-tests ---
[INFO] skip non existing resourceDirectory 
<https://ci-builds.apache.org/job/OpenNLP/job/eval-tests/ws/opennlp/opennlp-eval-tests/src/test/resources>
[INFO] Copying 3 resources from target/maven-shared-archive-resources to 
target/test-classes
[INFO] 
[INFO] --- compiler:3.15.0:testCompile (default-testCompile) @ 
opennlp-eval-tests ---
[INFO] Recompiling the module because of changed dependency.
[INFO] Compiling 17 source files with javac [debug release 21] to 
target/test-classes
[INFO] 
[INFO] --- surefire:3.5.5:test (default-test) @ opennlp-eval-tests ---
[INFO] Using auto detected provider 
org.apache.maven.surefire.junitplatform.JUnitPlatformProvider
[INFO] 
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running opennlp.tools.eval.OntoNotes4ParserEval
[INFO] Running opennlp.tools.eval.GermEval2014NameFinderEval
[INFO] Running opennlp.tools.eval.UniversalDependency20Eval
[INFO] Running opennlp.tools.eval.Conll00ChunkerEval
[INFO] Running opennlp.tools.eval.Conll02NameFinderEval
[INFO] Running opennlp.tools.eval.SourceForgeModelEval
[INFO] Running opennlp.tools.eval.SnowballTokenizerEval
SLF4J(W): No SLF4J providers were found.
SLF4J(W): Defaulting to no-operation (NOP) logger implementation
SLF4J(W): See https://www.slf4j.org/codes.html#noProviders for further details.
SLF4J(W): No SLF4J providers were found.
SLF4J(W): Defaulting to no-operation (NOP) logger implementation
SLF4J(W): See https://www.slf4j.org/codes.html#noProviders for further details.
SLF4J(W): No SLF4J providers were found.
SLF4J(W): Defaulting to no-operation (NOP) logger implementation
SLF4J(W): See https://www.slf4j.org/codes.html#noProviders for further details.
[INFO] Running opennlp.tools.eval.ArvoresDeitadasEval
SLF4J(W): No SLF4J providers were found.
SLF4J(W): Defaulting to no-operation (NOP) logger implementation
SLF4J(W): See https://www.slf4j.org/codes.html#noProviders for further details.
SLF4J(W): No SLF4J providers were found.
SLF4J(W): Defaulting to no-operation (NOP) logger implementation
SLF4J(W): See https://www.slf4j.org/codes.html#noProviders for further details.
SLF4J(W): No SLF4J providers were found.
SLF4J(W): Defaulting to no-operation (NOP) logger implementation
SLF4J(W): See https://www.slf4j.org/codes.html#noProviders for further details.
SLF4J(W): No SLF4J providers were found.
SLF4J(W): Defaulting to no-operation (NOP) logger implementation
SLF4J(W): See https://www.slf4j.org/codes.html#noProviders for further details.
[INFO] Tests run: 21, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 30.26 s 
-- in opennlp.tools.eval.SnowballTokenizerEval
[INFO] Running opennlp.tools.eval.OntoNotes4NameFinderEval
SLF4J(W): No SLF4J providers were found.
SLF4J(W): Defaulting to no-operation (NOP) logger implementation
SLF4J(W): See https://www.slf4j.org/codes.html#noProviders for further details.
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 164.5 s 
-- in opennlp.tools.eval.UniversalDependency20Eval
[INFO] Running opennlp.tools.eval.OntoNotes4PosTaggerEval
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 317.3 s 
-- in opennlp.tools.eval.Conll00ChunkerEval
[INFO] Running opennlp.tools.eval.MultiThreadedToolsEval
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.161 s 
-- in opennlp.tools.eval.MultiThreadedToolsEval
[INFO] Running opennlp.tools.eval.ConllXPosTaggerEval
[INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1822 s 
-- in opennlp.tools.eval.GermEval2014NameFinderEval
[INFO] Running opennlp.dl.doccat.DocumentCategorizerDLEval
[ERROR] Tests run: 9, Failures: 1, Errors: 0, Skipped: 1, Time elapsed: 78.81 s 
<<< FAILURE! -- in opennlp.dl.doccat.DocumentCategorizerDLEval
[ERROR] 
opennlp.dl.doccat.DocumentCategorizerDLEval.categorizeFailsLoudlyOnFailure -- 
Time elapsed: 0.022 s <<< FAILURE!
org.opentest4j.AssertionFailedError: Unexpected exception type thrown, 
expected: <java.lang.IllegalStateException> but was: 
<java.lang.IllegalArgumentException>
        at org.junit.jupiter.api.Assertions.assertThrows(Assertions.java:3234)
        at 
opennlp.dl.doccat.DocumentCategorizerDLEval.categorizeFailsLoudlyOnFailure(DocumentCategorizerDLEval.java:166)
        Suppressed: java.lang.NullPointerException: Cannot invoke 
"ai.onnxruntime.OrtSession.close()" because "this.session" is null
                at opennlp.dl.AbstractDL.close(AbstractDL.java:428)
                at 
opennlp.dl.doccat.DocumentCategorizerDLEval.categorizeFailsLoudlyOnFailure(DocumentCategorizerDLEval.java:161)
Caused by: java.lang.IllegalArgumentException: strings must contain at least 
one document to categorize
        at 
opennlp.dl.doccat.DocumentCategorizerDL.categorize(DocumentCategorizerDL.java:193)
        at 
opennlp.dl.doccat.DocumentCategorizerDLEval.lambda$categorizeFailsLoudlyOnFailure$1(DocumentCategorizerDLEval.java:167)
        at org.junit.jupiter.api.AssertThrows.assertThrows(AssertThrows.java:54)
        at org.junit.jupiter.api.AssertThrows.assertThrows(AssertThrows.java:35)
        ... 2 more

[INFO] Running opennlp.dl.namefinder.NameFinderDLEval
[INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 35.81 s 
-- in opennlp.dl.namefinder.NameFinderDLEval
[INFO] Running opennlp.dl.vectors.SentenceVectorsDLEval
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.612 s 
-- in opennlp.dl.vectors.SentenceVectorsDLEval
[INFO] Running opennlp.spellcheck.eval.SpellCheckerEval
[SpellCheckerEval] DamerauOSA maxED=2     acc=0.5700 P=0.4728 R=0.4077 
F1=0.4378 | TP=287 FN=110 miscorrect=307 | TN=283 FP=13 (overcorrect=0.0439, 
errors=704 clean=296)
[SpellCheckerEval] throughput: 5000 lookups in 0.298 s = 16764 lookups/s
[SpellCheckerEval] compound mean tokenAcc: with-bigram=1.000 unigram-only=0.750 
(delta=0.250)
[SpellCheckerEval] compound tokenAcc=1.000 exact=true
    out: where is the love he had dated for much of the past who couldn't read 
in sixth grade and inspired him
    exp: where is the love he had dated for much of the past who couldn't read 
in sixth grade and inspired him
[SpellCheckerEval] compound tokenAcc=1.000 exact=true
    out: in the third quarter of last year he had learned of a secret plan
    exp: in the third quarter of last year he had learned of a secret plan
[SpellCheckerEval] compound tokenAcc=1.000 exact=true
    out: the biggest players in the strong summer film slate with plenty of fun
    exp: the biggest players in the strong summer film slate with plenty of fun
[SpellCheckerEval] compound tokenAcc=1.000 exact=true
    out: can you read this message despite the horrible spelling mistakes
    exp: can you read this message despite the horrible spelling mistakes
[SpellCheckerEval] compound (with bigrams): mean tokenAcc=1.000 exact=4/4
[SpellCheckerEval] DamerauOSA maxED=1     acc=0.4690 P=0.4778 R=0.2599 
F1=0.3367 | TP=183 FN=331 miscorrect=190 | TN=286 FP=10 (overcorrect=0.0338, 
errors=704 clean=296)
[SpellCheckerEval] DamerauOSA maxED=2     acc=0.5700 P=0.4728 R=0.4077 
F1=0.4378 | TP=287 FN=110 miscorrect=307 | TN=283 FP=13 (overcorrect=0.0439, 
errors=704 clean=296)
[SpellCheckerEval] DamerauOSA maxED=3     acc=0.5960 P=0.4779 R=0.4460 
F1=0.4614 | TP=314 FN=61 miscorrect=329 | TN=282 FP=14 (overcorrect=0.0473, 
errors=704 clean=296)
[SpellCheckerEval] DamerauOSA  maxED=2    acc=0.5700 P=0.4728 R=0.4077 
F1=0.4378 | TP=287 FN=110 miscorrect=307 | TN=283 FP=13 (overcorrect=0.0439, 
errors=704 clean=296)
[SpellCheckerEval] Levenshtein maxED=2    acc=0.5710 P=0.4745 R=0.4091 
F1=0.4394 | TP=288 FN=110 miscorrect=306 | TN=283 FP=13 (overcorrect=0.0439, 
errors=704 clean=296)
[SpellCheckerEval] accuracy delta (Damerau - Levenshtein) = -0.0010
[INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 39.56 s 
-- in opennlp.spellcheck.eval.SpellCheckerEval
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2529 s 
-- in opennlp.tools.eval.OntoNotes4PosTaggerEval
[INFO] Tests run: 30, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4253 s 
-- in opennlp.tools.eval.Conll02NameFinderEval
[INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4214 s 
-- in opennlp.tools.eval.ConllXPosTaggerEval
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7563 s 
-- in opennlp.tools.eval.OntoNotes4NameFinderEval
[INFO] Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10296 s 
-- in opennlp.tools.eval.ArvoresDeitadasEval
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 15596 s 
-- in opennlp.tools.eval.OntoNotes4ParserEval
[INFO] Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 17890 s 
-- in opennlp.tools.eval.SourceForgeModelEval
[INFO] 
[INFO] Results:
[INFO] 
[ERROR] Failures: 
[ERROR]   DocumentCategorizerDLEval.categorizeFailsLoudlyOnFailure:166 
Unexpected exception type thrown, expected: <java.lang.IllegalStateException> 
but was: <java.lang.IllegalArgumentException>
[INFO] 
[ERROR] Tests run: 134, Failures: 1, Errors: 0, Skipped: 1
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Apache OpenNLP 3.0.0-SNAPSHOT:
[INFO] 
[INFO] Apache OpenNLP ..................................... SUCCESS [  3.460 s]
[INFO] Apache OpenNLP :: API .............................. SUCCESS [  7.942 s]
[INFO] Apache OpenNLP :: Core ............................. SUCCESS [  0.109 s]
[INFO] Apache OpenNLP :: Core :: ML ....................... SUCCESS [  0.335 s]
[INFO] Apache OpenNLP :: Core :: ML :: Commons ............ SUCCESS [  6.222 s]
[INFO] Apache OpenNLP :: Core :: ML :: Maximum Entropy .... SUCCESS [ 16.007 s]
[INFO] Apache OpenNLP :: Core :: ML :: Naive Bayes ........ SUCCESS [  4.148 s]
[INFO] Apache OpenNLP :: Core :: ML :: Perceptron ......... SUCCESS [  8.961 s]
[INFO] Apache OpenNLP :: Core :: ML :: LibSVM ............. SUCCESS [  4.630 s]
[INFO] Apache OpenNLP :: Core :: Runtime .................. SUCCESS [01:01 min]
[INFO] Apache OpenNLP :: Core :: ML :: Deep Learning ...... SUCCESS [  4.371 s]
[INFO] Apache OpenNLP :: Core :: ML :: Deep Learning (GPU)  SUCCESS [  3.477 s]
[INFO] Apache OpenNLP :: Core :: Model Resolver ........... SUCCESS [ 13.502 s]
[INFO] Apache OpenNLP :: Core :: Formats .................. SUCCESS [ 22.612 s]
[INFO] Apache OpenNLP :: Core :: CLI ...................... SUCCESS [ 13.832 s]
[INFO] Apache OpenNLP :: Tools ............................ SUCCESS [ 29.446 s]
[INFO] Apache OpenNLP :: Extensions ....................... SUCCESS [  0.071 s]
[INFO] Apache OpenNLP :: Morfologik Addon ................. SUCCESS [  4.017 s]
[INFO] Apache OpenNLP :: UIMA Annotators .................. SUCCESS [  7.429 s]
[INFO] Apache OpenNLP :: Documentation .................... SUCCESS [  0.070 s]
[INFO] Apache OpenNLP :: Distribution ..................... SUCCESS [ 14.263 s]
[INFO] Apache OpenNLP :: SpellChecker Addon ............... SUCCESS [  6.381 s]
[INFO] Apache OpenNLP :: Eval Tests ....................... FAILURE [  04:58 h]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  05:02 h
[INFO] Finished at: 2026-06-19T12:08:44Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-surefire-plugin:3.5.5:test (default-test) on 
project opennlp-eval-tests: There are test failures.
[ERROR] 
[ERROR] See 
<https://ci-builds.apache.org/job/OpenNLP/job/eval-tests/ws/opennlp/opennlp-eval-tests/target/surefire-reports>
 for the individual test results.
[ERROR] See dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and 
[date].dumpstream.
[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
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <args> -rf :opennlp-eval-tests
Build step 'Execute shell' marked build as failure

Reply via email to