You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by Apache Hudson Server <hu...@hudson.apache.org> on 2011/03/27 10:13:48 UTC

Jenkins build is unstable: UIMA Addons » UIMA Annotator: Tagger #1

See <https://hudson.apache.org/hudson/job/UIMA%20Addons/org.apache.uima$Tagger/1/>



Re: Jenkins build is unstable: UIMA Addons » UIMA Annotator: Tagger #1

Posted by Marshall Schor <ms...@schor.com>.

On 3/27/2011 4:21 AM, Tommaso Teofili wrote:
> This is due to the fact that Tagger is defined (as a module) before than
> WhitespaceTokenizer so, the first time, Tagger can't find
> WhitespaceTokenizer in the local Maven repository.

I don't think so.  Run # 1 complete console log is here:

https://hudson.apache.org/hudson/job/UIMA%20Addons/1/consoleFull

and it shows the Reactor Build order building the WhiteSpace Tokenizer ahead of
the Tagger:

<===[HUDSON REMOTING CAPACITY]===>channel started
Executing Maven:  -B -f /home/hudson/hudson-slave/workspace/UIMA Addons/aggregate-addons/pom.xml clean install
[INFO] Scanning for projects...
[INFO] Reactor build order: 
[INFO]   UIMA Annotator: alchemy-annotator
[INFO]   UIMA Annotator: BSFAnnotator
[INFO]   UIMA Annotator: ConceptMapper
[INFO]   UIMA Annotator: ConfigurableFeatureExtractor
[INFO]   UIMA Annotator: DictionaryAnnotator
[INFO]   UIMA Addon: FsVariables
[INFO]   UIMA Annotator: Lucas
[INFO]   UIMA Annotator: OpenCalaisAnnotator
[INFO]   UIMA Addon: PearPackagingAntTask
[INFO]   UIMA Annotator: RegularExpressionAnnotator
[INFO]   UIMA Addon: SimpleServer
[INFO]   UIMA Annotator: SnowballAnnotator
[INFO]   UIMA Annotator: WhitespaceTokenizer
[INFO]   UIMA Annotator: Tagger
[INFO]   UIMA Annotator: TikaAnnotator
[INFO]   UIMA Annotator: Solrcas
[INFO]   OSGi version of Apache UIMA Addons
[INFO]   OpenCalaisAnnotator bundle
[INFO]   AlchemyAPIAnnotator bundle
[INFO]   BSFAnnotator bundle
[INFO]   ConfigurableFeatureExtractor bundle
[INFO]   ConceptMapper bundle
[INFO]   DictionaryAnnotator bundle
[INFO]   HmmTagger bundle
[INFO]   Lucas bundle
[INFO]   SnowballAnnotator bundle
[INFO]   TikaAnnotator bundle
[INFO]   WhitespaceTokenizer bundle
[INFO]   Solrcas bundle
[INFO]   UIMA Aggregate: aggregate-addons
[INFO] ------------------------------------------------------------------------

Scanning the console log shows things building normally, until the WhiteSpace
Tokenizer, where it reports test failures:

Running org.apache.uima.annotator.WhitespaceTokTest
Tests run: 3, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 0.186 sec <<< FAILURE!
Running org.apache.uima.annotator.WhitespaceTokenizerPerfTest
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.01 sec <<< FAILURE!

Results :

Failed tests: 
  testEnglishProcessingTest(org.apache.uima.annotator.WhitespaceTokenizerPerfTest)

Tests in error: 
  testAnnotatorSpecial(org.apache.uima.annotator.WhitespaceTokTest)
  testAnnotatorEnglish(org.apache.uima.annotator.WhitespaceTokTest)
  testAnnotatorTabs(org.apache.uima.annotator.WhitespaceTokTest)


Next, the Tagger build fails because the packaging of the Whitespace Annotator
as a PEAR file never happened.

Looking at previous modules, it looks like the Pear Packaging steps are not
happening for others as well.  This may be due to the fact that Maven 3.0.0
isn't being used (just a guess on my part at this point).

-Marshall

> Tommaso
>
> 2011/3/27 Apache Hudson Server <hu...@hudson.apache.org>
>
>> See <
>> https://hudson.apache.org/hudson/job/UIMA%20Addons/org.apache.uima$Tagger/1/
>>
>>

Re: Jenkins build is unstable: UIMA Addons » UIMA Annotator: Tagger #1

Posted by Tommaso Teofili <to...@gmail.com>.
This is due to the fact that Tagger is defined (as a module) before than
WhitespaceTokenizer so, the first time, Tagger can't find
WhitespaceTokenizer in the local Maven repository.
Tommaso

2011/3/27 Apache Hudson Server <hu...@hudson.apache.org>

> See <
> https://hudson.apache.org/hudson/job/UIMA%20Addons/org.apache.uima$Tagger/1/
> >
>
>
>

Re: Jenkins build is back to stable : UIMA Addons » UIMA Annotator: Tagger #4

Posted by Tommaso Teofili <to...@gmail.com>.
2011/3/28 Marshall Schor <ms...@schor.com>

> I think you mean the failure is because the fix UIMA-2097 did for other
> cases of
> URI creation wasn't done for this case, right?
>

Right, this exactly what I meant.


>
> For UIMA-2097 I did a code scan for "new URI" and for ".toURI" but didn't
> know
> some code was using "URI.create", so I missed "fixing" this one.
>
> (line 155 in SolrCASConsumer:
>          url = URI.create(new
> StringBuilder(FILEPATH).append(getContext().getDataPath()).
>                  append("/").append(path.replace(FILEPATH,
> EMPTY_STRING)).toString()).
>                  toURL(); // this supports relative file paths
>  )
>
> I will reopen 2097 and fix this, and any other uses of URI.create I can
> find :-).
>

Thanks Marshall, then I'll re-add Solrcas to aggregate-addons reactor.
Tommaso

Re: Jenkins build is back to stable : UIMA Addons » UIMA Annotator: Tagger #4

Posted by Marshall Schor <ms...@schor.com>.
I think you mean the failure is because the fix UIMA-2097 did for other cases of
URI creation wasn't done for this case, right?

For UIMA-2097 I did a code scan for "new URI" and for ".toURI" but didn't know
some code was using "URI.create", so I missed "fixing" this one.

(line 155 in SolrCASConsumer:
          url = URI.create(new
StringBuilder(FILEPATH).append(getContext().getDataPath()).
                  append("/").append(path.replace(FILEPATH,
EMPTY_STRING)).toString()).
                  toURL(); // this supports relative file paths
 )

I will reopen 2097 and fix this, and any other uses of URI.create I can find :-).


-Marshall



On 3/27/2011 6:33 PM, Tommaso Teofili wrote:
> This is due now to UIMA-2097 since file path to solr.home is:
>
>
> file:///home/hudson/hudson-slave/workspace/UIMA
> Addons/Solrcas/src/test/resources/org/apache/uima/solrcas/
>
>
> which contains an unescaped whitespace.
> Tommaso
>
> 2011/3/28 Apache Hudson Server <hu...@hudson.apache.org>
>
>> See <
>> https://hudson.apache.org/hudson/job/UIMA%20Addons/org.apache.uima$Tagger/4/
>>
>>

Re: Jenkins build is back to stable : UIMA Addons » UIMA Annotator: Tagger #4

Posted by Tommaso Teofili <to...@gmail.com>.
This is due now to UIMA-2097 since file path to solr.home is:


file:///home/hudson/hudson-slave/workspace/UIMA
Addons/Solrcas/src/test/resources/org/apache/uima/solrcas/


which contains an unescaped whitespace.
Tommaso

2011/3/28 Apache Hudson Server <hu...@hudson.apache.org>

> See <
> https://hudson.apache.org/hudson/job/UIMA%20Addons/org.apache.uima$Tagger/4/
> >
>
>
>

Jenkins build is back to stable : UIMA Addons » UIMA Annotator: Tagger #4

Posted by Apache Hudson Server <hu...@hudson.apache.org>.
See <https://hudson.apache.org/hudson/job/UIMA%20Addons/org.apache.uima$Tagger/4/>



Jenkins build is still unstable: UIMA Addons » UIMA Annotator: Tagger #2

Posted by Apache Hudson Server <hu...@hudson.apache.org>.
See <https://hudson.apache.org/hudson/job/UIMA%20Addons/org.apache.uima$Tagger/2/>