[
https://issues.apache.org/jira/browse/OPENNLP-1262?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16846765#comment-16846765
]
ASF GitHub Bot commented on OPENNLP-1262:
-----------------------------------------
madhawa-gunasekara commented on pull request #351: OPENNLP-1262 Fix
LanguageDetectorEvaluatorTest failure
URL: https://github.com/apache/opennlp/pull/351
Thank you for contributing to Apache OpenNLP.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
### For all changes:
- [x] Is there a JIRA ticket associated with this PR? Is it referenced
in the commit message?
- [x] Does your PR title start with OPENNLP-XXXX where XXXX is the JIRA
number you are trying to resolve? Pay particular attention to the hyphen "-"
character.
- [x] Has your PR been rebased against the latest commit within the target
branch (typically master)?
- [x] Is your initial contribution a single, squashed commit?
### For code changes:
- [x] Have you ensured that the full suite of tests is executed via mvn
clean install at the root opennlp folder?
- [ ] Have you written or updated unit tests to verify your changes?
- [ ] If adding new dependencies to the code, are these dependencies
licensed in a way that is compatible for inclusion under [ASF
2.0](http://www.apache.org/legal/resolved.html#category-a)?
- [ ] If applicable, have you updated the LICENSE file, including the main
LICENSE file in opennlp folder?
- [ ] If applicable, have you updated the NOTICE file, including the main
NOTICE file found in opennlp folder?
### For documentation related changes:
- [ ] Have you ensured that format looks appropriate for the output in which
it is rendered?
### Note:
Please ensure that once the PR is submitted, you check travis-ci for build
issues and submit an update to your PR as soon as possible.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> LanguageDetectorEvaluatorTest failure in windows
> ------------------------------------------------
>
> Key: OPENNLP-1262
> URL: https://issues.apache.org/jira/browse/OPENNLP-1262
> Project: OpenNLP
> Issue Type: Bug
> Components: Language Detector
> Reporter: Madhawa Gunasekara
> Priority: Major
>
> Test failed with
> Maven Version :
> Apache Maven 3.6.0 (97c98ec64a1fdfee7767ce5ffb20918da4f719f3;
> 2018-10-24T20:41:47+02:00)
> Maven home: C:\Tools\apache-maven-3.6.0\bin\..
> Java version: 1.8.0_202, vendor: Oracle Corporation, runtime: C:\Program
> Files\Java\jdk1.8.0_202\jre
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"
> Results :
> Failed tests:
> LanguageDetectorEvaluatorTest.processSample:75 expected:<...ed Predicted
> Context[
> fra pob escreve e faz palestras pelo mundo inteiro sobre anjos
> fra pob escreve e faz palestras pelo mundo inteiro sobre anjos]
> > but was:<...ed Predicted Context[
> fra pob escreve e faz palestras pelo mundo inteiro sobre anjos
> ]ra pob escreve e faz palestras pelo mundo inteiro sobre anjos
> >
> Tests run: 767, Failures: 1, Errors: 0, Skipped: 0
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Reactor Summary for Apache OpenNLP Reactor 1.9.2-SNAPSHOT:
> [INFO]
> [INFO] Apache OpenNLP Reactor ............................. SUCCESS [ 5.190 s]
> [INFO] Apache OpenNLP Tools ............................... FAILURE [01:40
> min]
> [INFO] Apache OpenNLP UIMA Annotators ..................... SKIPPED
> [INFO] Apache OpenNLP Brat Annotator ...................... SKIPPED
> [INFO] Apache OpenNLP Morfologik Addon .................... SKIPPED
> [INFO] Apache OpenNLP Documentation ....................... SKIPPED
> [INFO] Apache OpenNLP Distribution ........................ SKIPPED
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 01:46 min
> [INFO] Finished at: 2019-05-23T16:35:43+02:00
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test) on
> project opennlp-tools: There are test failures.
> [ERROR]
> [ERROR] Please refer to
> C:\Developments\hobbies\opennlp\opennlp-tools\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
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the
> command
> [ERROR] mvn <goals> -rf :opennlp-tools
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)