That test passes here: Jonathans-MBP:openejb-core jgallimore$ mvn -Dtest=BeanValidationCustomProviderTest -DfailIfNoTests=false test | tee build.log [INFO] Scanning for projects... [INFO] [INFO] -------------------< org.apache.tomee:openejb-core >-------------------- [INFO] Building OpenEJB :: Container :: Core 7.0.5 [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ openejb-core --- [INFO] [INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ openejb-core --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 43 resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-dependency-plugin:3.0.1:copy (copy) @ openejb-core --- [INFO] Configured Artifact: org.apache.tomee:openejb-javaagent:7.0.5:jar [INFO] org.apache.tomee:openejb-javaagent:7.0.5:jar already exists in /Users/jgallimore/dev/tomee/container/openejb-core/target [INFO] [INFO] --- maven-compiler-plugin:3.6.2:compile (default-compile) @ openejb-core --- [INFO] Nothing to compile - all classes are up to date [INFO] [INFO] --- dependency-report-plugin:1.0.2:report (default) @ openejb-core --- [INFO] [INFO] --- maven-bundle-plugin:3.3.0:manifest (bundle-manifest) @ openejb-core --- [INFO] [INFO] --- maven-antrun-plugin:1.8:run (default) @ openejb-core --- [INFO] Executing tasks
main: [INFO] Executed tasks [INFO] [INFO] --- maven-resources-plugin:3.0.2:testResources (default-testResources) @ openejb-core --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 103 resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-dependency-plugin:3.0.1:copy (AlternateDriverJarTest) @ openejb-core --- [INFO] Configured Artifact: org.apache.derby:derby:10.10.1.1:jar [INFO] Configured Artifact: org.apache.derby:derby:10.9.1.0:jar [INFO] org.apache.derby:derby:10.10.1.1:jar already exists in /Users/jgallimore/dev/tomee/container/openejb-core/target/drivers [INFO] org.apache.derby:derby:10.9.1.0:jar already exists in /Users/jgallimore/dev/tomee/container/openejb-core/target/drivers [INFO] [INFO] --- maven-compiler-plugin:3.6.2:testCompile (default-testCompile) @ openejb-core --- [INFO] Nothing to compile - all classes are up to date [INFO] [INFO] --- maven-surefire-plugin:2.17:test (default-test) @ openejb-core --- [INFO] Surefire report directory: /Users/jgallimore/dev/tomee/container/openejb-core/target/surefire-reports ------------------------------------------------------- T E S T S ------------------------------------------------------- ------------------------------------------------------- T E S T S ------------------------------------------------------- objc[11084]: Class JavaLaunchHelper is implemented in both /Library/Java/JavaVirtualMachines/jdk1.8.0_141.jdk/Contents/Home/jre/bin/java (0x10c0044c0) and /Library/Java/JavaVirtualMachines/jdk1.8.0_141.jdk/Contents/Home/jre/lib/libinstrument.dylib (0x10c0c24e0). One of the two will be used. Which one is undefined. 94 classpath-bootstrap INFO [main] openjpa.Runtime - OpenJPA dynamically loaded a validation provider. Running org.apache.openejb.bval.BeanValidationCustomProviderTest Jul 04, 2018 2:02:57 PM org.apache.openejb.util.LogStreamAsync run INFO: Created new singletonService org.apache.openejb.cdi.ThreadSingletonServiceImpl@12d4bf7e Jul 04, 2018 2:02:57 PM org.apache.openejb.util.LogStreamAsync run INFO: Succeeded in installing singleton service Jul 04, 2018 2:02:57 PM org.apache.openejb.util.LogStreamAsync run INFO: Cannot find the configuration file [conf/openejb.xml]. Will attempt to create one for the beans deployed. Jul 04, 2018 2:02:57 PM org.apache.openejb.util.LogStreamAsync run INFO: Configuring Service(id=Default Security Service, type=SecurityService, provider-id=Default Security Service) Jul 04, 2018 2:02:57 PM org.apache.openejb.util.LogStreamAsync run INFO: Configuring Service(id=Default Transaction Manager, type=TransactionManager, provider-id=Default Transaction Manager) Jul 04, 2018 2:02:57 PM org.apache.openejb.util.LogStreamAsync run INFO: Creating TransactionManager(id=Default Transaction Manager) Jul 04, 2018 2:02:57 PM org.apache.openejb.util.LogStreamAsync run INFO: Creating SecurityService(id=Default Security Service) Jul 04, 2018 2:02:57 PM org.apache.openejb.util.LogStreamAsync run INFO: Configuring enterprise application: /Users/jgallimore/dev/tomee/container/openejb-core/target/BeanValidationCustomProviderTest Jul 04, 2018 2:02:57 PM org.apache.openejb.util.LogStreamAsync run INFO: Auto-deploying ejb ABean: EjbDeployment(deployment-id=ABean) Jul 04, 2018 2:02:57 PM org.apache.openejb.util.LogStreamAsync run INFO: Configuring Service(id=Default Managed Container, type=Container, provider-id=Default Managed Container) Jul 04, 2018 2:02:57 PM org.apache.openejb.util.LogStreamAsync run INFO: Auto-creating a container for bean org.apache.openejb.bval.BeanValidationCustomProviderTest: Container(type=MANAGED, id=Default Managed Container) Jul 04, 2018 2:02:57 PM org.apache.openejb.util.LogStreamAsync run INFO: Creating Container(id=Default Managed Container) Jul 04, 2018 2:02:57 PM org.apache.openejb.util.LogStreamAsync run INFO: Using directory /var/folders/17/ynk_jcls1z19jhl0b0h4nmfm0000gn/T for stateful session passivation Jul 04, 2018 2:02:57 PM org.apache.openejb.util.LogStreamAsync run INFO: Configuring Service(id=Default Stateless Container, type=Container, provider-id=Default Stateless Container) Jul 04, 2018 2:02:57 PM org.apache.openejb.util.LogStreamAsync run INFO: Auto-creating a container for bean ABean: Container(type=STATELESS, id=Default Stateless Container) Jul 04, 2018 2:02:57 PM org.apache.openejb.util.LogStreamAsync run INFO: Creating Container(id=Default Stateless Container) Jul 04, 2018 2:02:57 PM org.apache.openejb.util.LogStreamAsync run INFO: Enterprise application "/Users/jgallimore/dev/tomee/container/openejb-core/target/BeanValidationCustomProviderTest" loaded. Jul 04, 2018 2:02:57 PM org.apache.openejb.util.LogStreamAsync run INFO: Not creating another application classloader for BeanValidationCustomProviderTest Jul 04, 2018 2:02:57 PM org.apache.openejb.util.LogStreamAsync run INFO: Assembling app: /Users/jgallimore/dev/tomee/container/openejb-core/target/BeanValidationCustomProviderTest Jul 04, 2018 2:02:57 PM org.apache.openejb.util.LogStreamAsync run INFO: Jndi(name=ABeanLocalBean) --> Ejb(deployment-id=ABean) Jul 04, 2018 2:02:57 PM org.apache.openejb.util.LogStreamAsync run INFO: Jndi(name=global/BeanValidationCustomProviderTest/app/ABean!org.apache.openejb.bval.BeanValidationCustomProviderTest$ABean) --> Ejb(deployment-id=ABean) Jul 04, 2018 2:02:57 PM org.apache.openejb.util.LogStreamAsync run INFO: Jndi(name=global/BeanValidationCustomProviderTest/app/ABean) --> Ejb(deployment-id=ABean) Jul 04, 2018 2:02:57 PM org.apache.openejb.util.LogStreamAsync run INFO: Existing thread singleton service in SystemInstance(): org.apache.openejb.cdi.ThreadSingletonServiceImpl@12d4bf7e Jul 04, 2018 2:02:57 PM org.apache.openejb.util.LogStreamAsync run INFO: OpenWebBeans Container is starting... Jul 04, 2018 2:02:57 PM org.apache.webbeans.plugins.PluginLoader startUp INFO: Adding OpenWebBeansPlugin : [CdiPlugin] Jul 04, 2018 2:02:57 PM org.apache.webbeans.config.BeansDeployer validateInjectionPoints INFO: All injection points were validated successfully. Jul 04, 2018 2:02:57 PM org.apache.openejb.util.LogStreamAsync run INFO: OpenWebBeans Container has started, it took 207 ms. Jul 04, 2018 2:02:57 PM org.apache.openejb.util.LogStreamAsync run INFO: Using org.apache.openejb.bval.util.CustomValidatorProvider as validation provider. Jul 04, 2018 2:02:57 PM org.apache.openejb.util.LogStreamAsync run INFO: Created Ejb(deployment-id=ABean, ejb-name=ABean, container=Default Stateless Container) Jul 04, 2018 2:02:57 PM org.apache.openejb.util.LogStreamAsync run INFO: Started Ejb(deployment-id=ABean, ejb-name=ABean, container=Default Stateless Container) Jul 04, 2018 2:02:57 PM org.apache.openejb.util.LogStreamAsync run INFO: Deployed Application(path=/Users/jgallimore/dev/tomee/container/openejb-core/target/BeanValidationCustomProviderTest) Jul 04, 2018 2:02:57 PM org.apache.openejb.util.LogStreamAsync run INFO: Undeploying app: /Users/jgallimore/dev/tomee/container/openejb-core/target/BeanValidationCustomProviderTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.969 sec - in org.apache.openejb.bval.BeanValidationCustomProviderTest Results : Tests run: 1, Failures: 0, Errors: 0, Skipped: 0 [INFO] [INFO] --- maven-surefire-plugin:2.17:test (test-testng) @ openejb-core --- [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 22.927 s [INFO] Finished at: 2018-07-04T14:02:58+01:00 [INFO] ------------------------------------------------------------------------ The build on my server is still on-going, but I can confirm that test has run, and passed there too. Jon On Wed, Jul 4, 2018 at 1:56 PM, Gurkan Erdogdu <[email protected]> wrote: > Here is the test case result part: > > <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) > > > > On Wed, Jul 4, 2018 at 3:21 PM, Jonathan Gallimore < > [email protected]> wrote: > > > It x64 Ubuntu (18.04) running Oracle JDK 8 - 1.8.0_151. > > > > I use buildbot, and my VM for that machine is deliberately set up to be > as > > close to the Apache buildbot slave we use as possible. > > > > Post more details about your test failure and we can all have a look. I'd > > prefer not to chase down issues that are specific to people's machines, > but > > obviously I'm happy to correct and re-roll for any failures in the build. > > > > Jon > > > > On Wed, Jul 4, 2018 at 1:11 PM, Gurkan Erdogdu <[email protected]> > > wrote: > > > > > Thank you. What is your build server, OS and JVM details? > > > > > > On Wed, Jul 4, 2018 at 3:05 PM, Jonathan Gallimore < > > > [email protected]> wrote: > > > > > > > I'll do an explicit build against that tag on my build server now and > > > > confirm. > > > > > > > > Jon > > > > > > > > On Wed, Jul 4, 2018 at 12:56 PM, Gurkan Erdogdu <[email protected] > > > > > > wrote: > > > > > > > > > Tried to execute mvn clean install from the root location but > failed > > : > > > > > (Environment macOSX, java version "1.8.0_161") > > > > > > > > > > Results : > > > > > > > > > > Tests in error: > > > > > BeanValidationCustomProviderTest.valid ยป OpenEJB Unable to read > > > > OpenEJB > > > > > config... > > > > > > > > > > Tests run: 3926, Failures: 0, Errors: 1, Skipped: 2 > > > > > > > > > > What is your build environment? Did you run all the tests > > succesfully? > > > > > > > > > > > > > > > On Wed, Jul 4, 2018 at 2:37 PM, Matthew Broadhead < > > > > > [email protected]> wrote: > > > > > > > > > > > i have downloaded tomee-plus-7.0.5 and have it running on my > > > > development > > > > > > machine. everything seems fine so far. i will let you know if > > there > > > > are > > > > > > any problems > > > > > > > > > > > > > > > > > > On 04/07/18 10:33, Jonathan Gallimore wrote: > > > > > > > > > > > >> Hi Everyone, > > > > > >> > > > > > >> Here is the initial roll of TomEE 7.0.5. Please can you take a > > look > > > > and > > > > > >> vote? Everyone, committer or not, is encouraged to test and > vote. > > > > > >> > > > > > >> Staging repo: > > > > > >> https://repository.apache.org/content/repositories/ > > > > orgapachetomee-1113 > > > > > >> > > > > > >> Source zip: > > > > > >> /org/apache/tomee/tomee-project/7.0.5/tomee-project-7.0.5- > > > > > >> source-release.zip > > > > > >> <https://repository.apache.org/service/local/repositories/ > > > > > >> orgapachetomee-1113/content/org/apache/tomee/tomee- > > > > > >> project/7.0.5/tomee-project-7.0.5-source-release.zip> > > > > > >> > > > > > >> Dist area: > > > > > >> https://dist.apache.org/repos/dist/dev/tomee/staging-1113/ > > > > > >> > > > > > >> Legal: > > > > > >> https://dist.apache.org/repos/dist/dev/tomee/staging-1113/ > > legal.zip > > > > > >> > > > > > >> Keys: > > > > > >> https://dist.apache.org/repos/dist/release/tomee/KEYS > > > > > >> > > > > > >> Changelog: > > > > > >> https://issues.apache.org/jira/browse/TOMEE-2175?jql= > > > > > >> project%20%3D%20TOMEE%20AND%20(status%20%3D%20Resolved% > > > > > >> 20OR%20status%20%3D%20CLOSED)%20AND%20fixVersion%20%3D%207. > > > > > >> 0.5%20ORDER%20BY%20priority%20DESC%2C%20updated%20DESC > > > > > >> > > > > > >> (If anyone knows a better way to get that list, let me know ;-) > ) > > > > > >> > > > > > >> Please vote: > > > > > >> +1: Release > > > > > >> -1 Do not release because ... > > > > > >> > > > > > >> The vote will be open for 3 days or the consensus is binding (At > > > > least 3 > > > > > >> binding votes). > > > > > >> > > > > > >> Many thanks > > > > > >> > > > > > >> Jon > > > > > >> > > > > > >> > > > > > > > > > > > > > > > > > > > > >
