[ https://issues.apache.org/jira/browse/CTAKES-415?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sean Finan closed CTAKES-415. ----------------------------- Assignee: Sean Finan (was: Alex Zbarcea) Resolution: Won't Do >From 9/24/2019: // Two things: 1. This test quite frequently fails. 2. It is not a test of ctakes/ytex code, but rather of jchronic behavior. // Getting Jenkins to complete a build is imo pretty important. The test was removed. > DateAnnotatorTest > testParseDate(org.apache.ctakes.ytex.uima.annotators.DateAnnotatorTest) > ----------------------------------------------------------------------------------------- > > Key: CTAKES-415 > URL: https://issues.apache.org/jira/browse/CTAKES-415 > Project: cTAKES > Issue Type: Bug > Components: ctakes-ytex-uima > Affects Versions: 3.2.2 > Reporter: Atul Sharma > Assignee: Sean Finan > Priority: Blocker > Labels: newbie > > I was building project with maven as: > mvn clean install command > and Ctakes failed while compiling ctakes-ytex-uima with following error: > {code} > ------------------------------------------------------------------------------- > Test set: org.apache.ctakes.ytex.uima.annotators.DateAnnotatorTest > ------------------------------------------------------------------------------- > Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 4.617 sec <<< > FAILURE! > testParseDate(org.apache.ctakes.ytex.uima.annotators.DateAnnotatorTest) Time > elapsed: 4.571 sec <<< FAILURE! > java.lang.AssertionError > at org.junit.Assert.fail(Assert.java:92) > at org.junit.Assert.assertTrue(Assert.java:43) > at org.junit.Assert.assertTrue(Assert.java:54) > at > org.apache.ctakes.ytex.uima.annotators.DateAnnotatorTest.testParseDate(DateAnnotatorTest.java:54) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:606) > at > org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45) > at > org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) > at > org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42) > at > org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) > at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263) > at > org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68) > at > org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47) > at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231) > at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60) > at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229) > at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50) > at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222) > at org.junit.runners.ParentRunner.run(ParentRunner.java:300) > at > org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:249) > at > org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:142) > at > org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:113) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:606) > at > org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) > at > org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) > at > org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) > at > org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:104) > at > org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) > {code} > and more: > {code} > Running org.apache.ctakes.ytex.tools.SetupAuiFirstWordTest > 2017-11-21 15:45:04,754 WARN org.apache.ctakes.ytex.tools.SetupAuiFirstWord > - classpath:ctakes-lvg/desc/analysis_engine/LvgAnnotator.xml not available, > attempting to load from file system > 2017-11-21 15:45:04,952 INFO org.apache.ctakes.ytex.tools.SetupAuiFirstWord > - loading lvg.properties > from:file:/home/jenkins/jenkins-slave/maven-repositories/1/net/sourceforge/ctakesresources/ctakes-resources-lvg2008/4.0.0/ctakes-resources-lvg2008-4.0.0.jar!/org/apache/ctakes/lvg/data/config/lvg.properties > ** Configuration Error: > /home/jenkins/jenkins-slave/workspace/cTAKES-trunk-Java-1.8/ctakes-ytex-uima/file:/home/jenkins/jenkins-slave/maven-repositories/1/net/sourceforge/ctakesresources/ctakes-resources-lvg2008/4.0.0/ctakes-resources-lvg2008-4.0.0.jar!/org/apache/ctakes/lvg/file:/home/jenkins/jenkins-slave/maven-repositories/1/net/sourceforge/ctakesresources/ctakes-resources-lvg2008/4.0.0/ctakes-resources-lvg2008-4.0.0.jar!/org/apache/ctakes/lvg/data/config/lvg.properties > (No such file or directory) > ** Error: problem of opening/reading config file: > '/home/jenkins/jenkins-slave/workspace/cTAKES-trunk-Java-1.8/ctakes-ytex-uima/file:/home/jenkins/jenkins-slave/maven-repositories/1/net/sourceforge/ctakesresources/ctakes-resources-lvg2008/4.0.0/ctakes-resources-lvg2008-4.0.0.jar!/org/apache/ctakes/lvg//file:/home/jenkins/jenkins-slave/maven-repositories/1/net/sourceforge/ctakesresources/ctakes-resources-lvg2008/4.0.0/ctakes-resources-lvg2008-4.0.0.jar!/org/apache/ctakes/lvg/data/config/lvg.properties'. > Use -x option to specify the config file path. > UmlsAuiFirstWord [aui=1tok, fword=heart] > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.483 sec > Results : > Failed tests: > testParseDate(org.apache.ctakes.ytex.uima.annotators.DateAnnotatorTest) > Tests run: 13, Failures: 1, Errors: 0, Skipped: 0 > {code} > A full stack can be found on > [jenkins:#49|https://builds.apache.org/view/C/view/Apache%20cTAKES/job/cTAKES-trunk-Java-1.8/49/consoleFull] -- This message was sent by Atlassian Jira (v8.20.10#820010)