Could use some help at figuring out why the test “testParseDate” is failing on 
Jenkins with the `ytexDates` having zero annotations, while expecting 2:

It is working locally having two annotation, as expected, with the same 
configuration as documented at 
<https://cwiki.apache.org/confluence/display/CTAKES/cTAKES+4.0+Developer+Install+Guide#cTAKES4.0DeveloperInstallGuide-Build>:
```
...
Running org.apache.ctakes.ytex.uima.annotators.DateAnnotatorTest
2019-03-20 09:23:11,779 INFO  
org.apache.ctakes.ytex.uima.annotators.DateAnnotatorTest  - date to be 
annotated: Wed Mar 20 09:23:11 PDT 2019
2019-03-20 09:23:11,833 INFO  
org.apache.ctakes.ytex.uima.annotators.DateAnnotatorTest  - Using 
org.apache.ctakes.ytex.uima.types.Date.type: 94
2019-03-20 09:23:11,835 INFO  
org.apache.ctakes.ytex.uima.annotators.DateAnnotatorTest  - [Date
   sofa: _InitialView
   begin: 0
   end: 28
   date: "2019-03-20T09:23:11-0700"
]
2019-03-20 09:23:11,835 INFO  
org.apache.ctakes.ytex.uima.annotators.DateAnnotatorTest  - [Date
   sofa: _InitialView
   begin: 0
   end: 28
   date: "2019-03-20T09:23:11-0700"
]
2019-03-20 09:23:11,835 INFO  
org.apache.ctakes.ytex.uima.annotators.DateAnnotatorTest  - ytexDates.size: 2
2019-03-20 09:23:11,835 INFO  
org.apache.ctakes.ytex.uima.annotators.DateAnnotatorTest  - date from 
annotation: 2019-03-20T09:23:11-0700
2019-03-20 09:23:11,963 INFO  
org.apache.ctakes.ytex.uima.annotators.DateAnnotatorTest  - creating JCas from: 
/Users/me/code/ctakes/ctakes-ytex-uima/target/classes/org/apache/ctakes/ytex/types/TypeSystem.xml
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.994 sec
...
```

Here are the detailed test results on Jenkins:
```
...
Running org.apache.ctakes.ytex.uima.annotators.DateAnnotatorTest
2019-03-19 21:43:42,547 INFO  
org.apache.ctakes.ytex.uima.annotators.DateAnnotatorTest  - date to be 
annotated: Tue Mar 19 21:43:42 UTC 2019
2019-03-19 21:43:42,622 INFO  
org.apache.ctakes.ytex.uima.annotators.DateAnnotatorTest  - Using 
org.apache.ctakes.ytex.uima.types.Date.type: 94
2019-03-19 21:43:42,623 INFO  
org.apache.ctakes.ytex.uima.annotators.DateAnnotatorTest  - ytexDates.size: 0
2019-03-19 21:43:42,629 INFO  
org.apache.ctakes.ytex.uima.annotators.DateAnnotatorTest  - creating JCas from: 
/home/jenkins/jenkins-slave/workspace/cTAKES-trunk-Java-1.8/ctakes-ytex-uima/target/classes/org/apache/ctakes/ytex/types/TypeSystem.xml
Tests run: 4, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.432 sec <<< 
FAILURE!

Results :

Failed tests:   
testParseDate(org.apache.ctakes.ytex.uima.annotators.DateAnnotatorTest): 
Expecting ytexDates to have 2 elements expected:<2> but was:<0>

Tests run: 16, Failures: 1, Errors: 0, Skipped: 0

[JENKINS] Recording test results
[JENKINS] Archiving disabled
```

Reply via email to