tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gurkan Erdogdu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (TOMEE-2199) Broken tests under OSX.
Date Thu, 05 Jul 2018 05:27:00 GMT
Gurkan Erdogdu created TOMEE-2199:
-------------------------------------

             Summary: Broken tests under OSX.
                 Key: TOMEE-2199
                 URL: https://issues.apache.org/jira/browse/TOMEE-2199
             Project: TomEE
          Issue Type: Bug
          Components: TomEE Core Server
    Affects Versions: 7.0.5
         Environment: macOS OSX Yosemite, 
java version "1.8.0_161"
Java(TM) SE Runtime Environment (build 1.8.0_161-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.161-b12, mixed mode)
            Reporter: Gurkan Erdogdu


There are randomly broken tests in macOS.We need to ensure that mvn clean install in the root
directory must be successful in macOS before releasing the new version.

Here is one of them. Maybe more...

 
{code:java}
<testcase name="valid" classname="org.apache.openejb.bval.BeanValidationCustomProviderTest"
time="0.245">
    <error message="Unable to read OpenEJB configuration file at /Users/root/tomee_7.0.5_release/tomee-tomee-7.0.5/container/openejb-core/target/test-classes/conf/openejb.xml:
/Users/root/tomee_7.0.5_release/tomee-tomee-7.0.5/container/openejb-core/target/test-classes/conf/openejb.xml
(No such file or directory)" type="org.apache.openejb.OpenEJBException"><![CDATA[org.apache.openejb.OpenEJBException:
Unable to read OpenEJB configuration file at /Users/root/tomee_7.0.5_release/tomee-tomee-7.0.5/container/openejb-core/target/test-classes/conf/openejb.xml:
/Users/root/tomee_7.0.5_release/tomee-tomee-7.0.5/container/openejb-core/target/test-classes/conf/openejb.xml
(No such file or directory)
        at org.apache.openejb.config.sys.JaxbOpenejb.readConfig(JaxbOpenejb.java:222)
        at org.apache.openejb.config.ConfigurationFactory.getOpenEjbConfiguration(ConfigurationFactory.java:488)
        at org.apache.openejb.config.ConfigurationFactory.getOpenEjbConfiguration(ConfigurationFactory.java:634)
        at org.apache.openejb.testing.ApplicationComposers.startContainer(ApplicationComposers.java:1463)
        at org.apache.openejb.testing.ApplicationComposers.before(ApplicationComposers.java:381)
        at org.apache.openejb.testing.ApplicationComposers.evaluate(ApplicationComposers.java:1068)
        at org.apache.openejb.junit.DeployApplication.evaluate(DeployApplication.java:40)
        at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
        at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
        at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
        at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
        at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
        at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
        at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
        at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
        at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
        at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
        at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
        at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264)
        at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
        at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124)
        at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)
        at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
        at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
Caused by: java.io.FileNotFoundException: /Users/root/tomee_7.0.5_release/tomee-tomee-7.0.5/container/openejb-core/target/test-classes/conf/openejb.xml
(No such file or directory)
        at java.io.FileInputStream.open0(Native Method)
        at java.io.FileInputStream.open(FileInputStream.java:195)
        at java.io.FileInputStream.<init>(FileInputStream.java:138)
        at org.apache.openejb.loader.IO.read(IO.java:367)
        at org.apache.openejb.config.sys.JaxbOpenejb.readConfig(JaxbOpenejb.java:211){code}
 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message