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

Changes:


------------------------------------------
[...truncated 18.87 MiB...]
[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.dictionary.SymSpellModelSerializationTest
[INFO] Running opennlp.spellcheck.distance.EditDistanceTest
[INFO] Running opennlp.spellcheck.symspell.SymSpellEditDistanceMetricTest
[INFO] Running opennlp.spellcheck.symspell.SymSpellCompoundTest
[INFO] Running opennlp.spellcheck.cmdline.SpellCheckCmdLineToolsTest
[INFO] Running opennlp.spellcheck.symspell.SymSpellConfigTest
[INFO] Running opennlp.spellcheck.dictionary.SymSpellModelResolverTest
[INFO] Running opennlp.spellcheck.symspell.SymSpellLookupTest
[INFO] Running opennlp.spellcheck.distance.DamerauOSADistanceTest
[INFO] Running opennlp.spellcheck.SuggestItemTest
[INFO] Running opennlp.spellcheck.symspell.SymSpellTest
[INFO] Running opennlp.spellcheck.stream.SpellCorrectingTokenStreamTest
[INFO] Running opennlp.spellcheck.stream.SpellCorrectingObjectStreamTest
[INFO] Running 
opennlp.spellcheck.normalizer.SpellCheckingCharSequenceNormalizerTest
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.274 s 
-- in opennlp.spellcheck.symspell.SymSpellEditDistanceMetricTest
[INFO] Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.349 s 
-- in opennlp.spellcheck.distance.EditDistanceTest
[INFO] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.312 s 
-- in opennlp.spellcheck.symspell.SymSpellConfigTest
[INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.323 s 
-- in opennlp.spellcheck.distance.DamerauOSADistanceTest
[INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.402 s 
-- in opennlp.spellcheck.symspell.SymSpellTest
[INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.426 s 
-- in opennlp.spellcheck.SuggestItemTest
[INFO] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.617 s 
-- in opennlp.spellcheck.dictionary.SymSpellModelSerializationTest
[INFO] Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.558 s 
-- in opennlp.spellcheck.symspell.SymSpellLookupTest
[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.489 s 
-- in opennlp.spellcheck.stream.SpellCorrectingTokenStreamTest
[INFO] Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.651 s 
-- in opennlp.spellcheck.symspell.SymSpellCompoundTest
[INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.488 s 
-- in opennlp.spellcheck.stream.SpellCorrectingObjectStreamTest
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.650 s 
-- in opennlp.spellcheck.cmdline.SpellCheckCmdLineToolsTest
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.700 s 
-- in opennlp.spellcheck.dictionary.SymSpellModelResolverTest
[INFO] Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.535 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.ConllXPosTaggerEval
[INFO] Running opennlp.spellcheck.eval.SpellCheckerEval
[INFO] Running opennlp.tools.eval.OntoNotes4ParserEval
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.OntoNotes4PosTaggerEval
[INFO] Running opennlp.tools.eval.Conll02NameFinderEval
[INFO] Running opennlp.tools.eval.GermEval2014NameFinderEval
[INFO] Running opennlp.tools.eval.MultiThreadedToolsEval
[INFO] Running opennlp.tools.eval.Conll00ChunkerEval
[INFO] Running opennlp.tools.eval.SnowballTokenizerEval
[INFO] Running opennlp.tools.eval.SourceForgeModelEval
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.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.
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.
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.
[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)
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.671 s 
-- in opennlp.tools.eval.MultiThreadedToolsEval
[INFO] Running opennlp.tools.eval.UniversalDependency20Eval
[SpellCheckerEval] throughput: 5000 lookups in 0.209 s = 23962 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)
[INFO] Tests run: 21, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 19.41 s 
-- in opennlp.tools.eval.SnowballTokenizerEval
[INFO] Running opennlp.dl.vectors.SentenceVectorsDLEval
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: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.398 s 
-- in opennlp.dl.vectors.SentenceVectorsDLEval
[INFO] Running opennlp.dl.doccat.DocumentCategorizerDLEval
[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: 22.80 s 
-- in opennlp.spellcheck.eval.SpellCheckerEval
[INFO] Running opennlp.dl.namefinder.NameFinderDLEval
[INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 15.56 s 
-- in opennlp.dl.namefinder.NameFinderDLEval
[ERROR] Tests run: 9, Failures: 1, Errors: 0, Skipped: 1, Time elapsed: 18.98 s 
<<< FAILURE! -- in opennlp.dl.doccat.DocumentCategorizerDLEval
[ERROR] 
opennlp.dl.doccat.DocumentCategorizerDLEval.categorizeFailsLoudlyOnFailure -- 
Time elapsed: 0.013 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] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 79.75 s 
-- in opennlp.tools.eval.UniversalDependency20Eval
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 177.7 s 
-- in opennlp.tools.eval.Conll00ChunkerEval
[INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 977.6 s 
-- in opennlp.tools.eval.GermEval2014NameFinderEval
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1139 s 
-- in opennlp.tools.eval.OntoNotes4PosTaggerEval
[INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1750 s 
-- in opennlp.tools.eval.ConllXPosTaggerEval
[INFO] Tests run: 30, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2164 s 
-- in opennlp.tools.eval.Conll02NameFinderEval
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3574 s 
-- in opennlp.tools.eval.OntoNotes4NameFinderEval
[INFO] Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5181 s 
-- in opennlp.tools.eval.ArvoresDeitadasEval
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6671 s 
-- in opennlp.tools.eval.OntoNotes4ParserEval
[INFO] Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7145 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 [  2.543 s]
[INFO] Apache OpenNLP :: API .............................. SUCCESS [  4.869 s]
[INFO] Apache OpenNLP :: Core ............................. SUCCESS [  0.085 s]
[INFO] Apache OpenNLP :: Core :: ML ....................... SUCCESS [  0.154 s]
[INFO] Apache OpenNLP :: Core :: ML :: Commons ............ SUCCESS [  4.094 s]
[INFO] Apache OpenNLP :: Core :: ML :: Maximum Entropy .... SUCCESS [  9.339 s]
[INFO] Apache OpenNLP :: Core :: ML :: Naive Bayes ........ SUCCESS [  2.605 s]
[INFO] Apache OpenNLP :: Core :: ML :: Perceptron ......... SUCCESS [  5.567 s]
[INFO] Apache OpenNLP :: Core :: ML :: LibSVM ............. SUCCESS [  2.860 s]
[INFO] Apache OpenNLP :: Core :: Runtime .................. SUCCESS [ 33.785 s]
[INFO] Apache OpenNLP :: Core :: ML :: Deep Learning ...... SUCCESS [  2.311 s]
[INFO] Apache OpenNLP :: Core :: ML :: Deep Learning (GPU)  SUCCESS [  1.957 s]
[INFO] Apache OpenNLP :: Core :: Model Resolver ........... SUCCESS [  7.031 s]
[INFO] Apache OpenNLP :: Core :: Formats .................. SUCCESS [ 13.172 s]
[INFO] Apache OpenNLP :: Core :: CLI ...................... SUCCESS [  7.141 s]
[INFO] Apache OpenNLP :: Tools ............................ SUCCESS [ 21.289 s]
[INFO] Apache OpenNLP :: Extensions ....................... SUCCESS [  0.047 s]
[INFO] Apache OpenNLP :: Morfologik Addon ................. SUCCESS [  2.783 s]
[INFO] Apache OpenNLP :: UIMA Annotators .................. SUCCESS [  4.076 s]
[INFO] Apache OpenNLP :: Documentation .................... SUCCESS [  0.047 s]
[INFO] Apache OpenNLP :: Distribution ..................... SUCCESS [ 11.755 s]
[INFO] Apache OpenNLP :: SpellChecker Addon ............... SUCCESS [  3.667 s]
[INFO] Apache OpenNLP :: Eval Tests ....................... FAILURE [  01:59 h]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  02:01 h
[INFO] Finished at: 2026-06-17T09:09:18Z
[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