Description
There are two tests which fail on some systems but not on all (most):
org.apache.uima.ruta.NewCASPipelineTest.test
org.apache.uima.UIMARuntimeException: Illegal adding of additional MetaData after CASes have been defined. file:/var/lib/jenkins/jobs/EntwicklerTeam/jobs/content/jobs/uima/jobs/ruta-v2-default-build/workspace/ruta-core/target/classes/org/apache/uima/ruta/engine/BasicEngine.xml Likely cause is the reuse of a Resource Manager object for a different pipeline, after it has already been initialized. at org.apache.uima.ruta.NewCASPipelineTest.createAE(NewCASPipelineTest.java:63) at org.apache.uima.ruta.NewCASPipelineTest.test(NewCASPipelineTest.java:70)
org.apache.uima.ruta.ConflictingTypeTest.test
org.apache.uima.UIMARuntimeException: Illegal adding of additional MetaData after CASes have been defined. file:/var/lib/jenkins/jobs/EntwicklerTeam/jobs/content/jobs/uima/jobs/ruta-v2-default-build/workspace/ruta-core/target/classes/org/apache/uima/ruta/engine/BasicEngine.xml Likely cause is the reuse of a Resource Manager object for a different pipeline, after it has already been initialized. at org.apache.uima.ruta.ConflictingTypeTest.createAE(ConflictingTypeTest.java:56) at org.apache.uima.ruta.ConflictingTypeTest.test(ConflictingTypeTest.java:63)
My guess: some test sets a ResourceManagerCreator to create a singleton resource manager and depending on the order in which the tests are executed, this sometimes causes tests to fail and other times not.