tika-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim Allison (JIRA)" <j...@apache.org>
Subject [jira] [Reopened] (TIKA-1816) Lenient testing for NamedEntityParser
Date Fri, 08 Jan 2016 14:36:40 GMT

     [ https://issues.apache.org/jira/browse/TIKA-1816?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Tim Allison reopened TIKA-1816:
-------------------------------

Thank you for adding the leniency!

I've gotten around this for now by manually adding the test files (I'm behind a proxy and
can't figure out how to configure the proxy info for the gmaven plugin to perform the get).

When I did a recent pull of Tika into a fresh directory, I'm still getting the message below.
 It looks like the issue is with the gmaven-plugin, not just the unit test.

{noformat}
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Tika parsers 1.12-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ tika-parsers ---
[INFO] 
[INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ tika-parsers ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 9 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.2:compile (default-compile) @ tika-parsers ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 195 source files to C:\Users\tallison\Idea Projects\tika-github-test\tika-parsers\target\classes
[INFO] /C:/Users/tallison/Idea Projects/tika-github-test/tika-parsers/src/main/java/org/apache/tika/parser/odf/OpenDocumentMetaParser.java:
Some input files use or override a deprecated API.
[INFO] /C:/Users/tallison/Idea Projects/tika-github-test/tika-parsers/src/main/java/org/apache/tika/parser/odf/OpenDocumentMetaParser.java:
Recompile with -Xlint:deprecation for details.
[INFO] /C:/Users/tallison/Idea Projects/tika-github-test/tika-parsers/src/main/java/org/apache/tika/parser/video/FLVParser.java:
Some input files use unchecked or unsafe operations.
[INFO] /C:/Users/tallison/Idea Projects/tika-github-test/tika-parsers/src/main/java/org/apache/tika/parser/video/FLVParser.java:
Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- gmaven-plugin:1.0:execute (testSetup) @ tika-parsers ---
GET : http://opennlp.sourceforge.net/models-1.5/en-ner-person.bin -> tika-parsers\src\test\resources\org\apache\tika\parser\ner\opennlp\ner-person.bin
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache Tika parent ................................ SUCCESS [3.780s]
[INFO] Apache Tika core .................................. SUCCESS [1:34.459s]
[INFO] Apache Tika parsers ............................... FAILURE [21.944s]
[INFO] Apache Tika XMP ................................... SKIPPED
[INFO] Apache Tika serialization ......................... SKIPPED
[INFO] Apache Tika batch ................................. SKIPPED
[INFO] Apache Tika application ........................... SKIPPED
[INFO] Apache Tika OSGi bundle ........................... SKIPPED
[INFO] Apache Tika translate ............................. SKIPPED
[INFO] Apache Tika server ................................ SKIPPED
[INFO] Apache Tika examples .............................. SKIPPED
[INFO] Apache Tika Java-7 Components ..................... SKIPPED
[INFO] Apache Tika ....................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2:01.247s
[INFO] Finished at: Fri Jan 08 09:27:01 EST 2016
[INFO] Final Memory: 60M/663M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.groovy.maven:gmaven-plugin:1.0:execute (testSetup)
on project tika-parsers: java.net.ConnectException: Connection refused: connect -> [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/MojoExecutionException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :tika-parsers
{noformat}

> Lenient testing for NamedEntityParser
> -------------------------------------
>
>                 Key: TIKA-1816
>                 URL: https://issues.apache.org/jira/browse/TIKA-1816
>             Project: Tika
>          Issue Type: Bug
>          Components: parser
>            Reporter: Thamme Gowda N
>            Assignee: Chris A. Mattmann
>              Labels: memex
>             Fix For: 1.12
>
>
> NamedEntityParser has a hard setup requirement like downloading of NER models from remote
servers and adding them to classpath.
> These model files are huge and hence are not added to source control.
> So, the tests are most likely to fail in various environments.
> Make the best effort to set up the tests, but in the worst case skip tests instead of
failing the whole build process.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message