It can be worth configuring the mvn version explicitly, seems some surefire config is ignored on gh action by using an implicit one.
Romain Manni-Bucau @rmannibucau <https://x.com/rmannibucau> | .NET Blog <https://dotnetbirdie.github.io/> | Blog <https://rmannibucau.github.io/> | Old Blog <http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> | LinkedIn <https://www.linkedin.com/in/rmannibucau> | Book <https://www.packtpub.com/en-us/product/java-ee-8-high-performance-9781788473064> Le jeu. 3 juil. 2025 à 04:10, Maxim Solodovnik <solomax...@gmail.com> a écrit : > We can switch to Jenkins for now, so GH issue will not block as, WDYT? :) > > On Thu, 3 Jul 2025 at 02:40, Richard Zowalla <rich...@zowalla.com> wrote: > > > > We could give https://github.com/nektos/act a try to run actions > locally to see if there is something obvious. > > > > To me it looks like an env thing, i.e. something is not writeable and > the File DB cannot be created or a like. > > > > > > > > Am 2. Juli 2025 21:28:59 MESZ schrieb "Paulo Cristovão de Araújo Silva > Filho" <pcris...@apache.org>: > > >No evolution on that front. I've tried to fix the build using an older > version of checkout action, to no avail. > > > > > >The build is still failing, now in both openjpa apache repo and my > fork, but works locally and in other environments (my self-hosted gitlab). > > > > > >As I do not have much experience in gh actions, I don't know what else > we could do. > > > > > >Best regards, > > > > > >Paulo > > > > > > > > > > > > > > > > > > > > >---- Em ter, 24 jun 2025 22:39:21 -0300 Maxim Solodovnik < > solomax...@gmail.com> escreveu --- > > > > > > > > > > > >I've created INFRA ticket > https://issues.apache.org/jira/browse/INFRA-26948 > > > > > >On Fri, 20 Jun 2025 at 17:18, Maxim Solodovnik < mailto: > solomax...@gmail.com > wrote: > > >> > > >> > > >> > > >> from mobile (sorry for typos ;) > > >> > > >> > > >> On Fri, Jun 20, 2025, 13:42 Francesco Chicchiriccò < mailto: > ilgro...@apache.org > wrote: > > >>> > > >>> On 20/06/25 03:52, Maxim Solodovnik wrote: > > >>> > Hello All, > > >>> > > > >>> > Our Github CI builds fail (both PR and master) > > >>> > I see no reason for this > > >>> > Maybe someone can take a look at it? :)) > > >>> > > >>> Hi Maxim, > > >>> at a first glance, I don't understand as well why the build is > failing. > > >>> > > >>> It seems that the last success was the dependabot PR #131 (Bump > org.postgresql:postgresql from 42.7.5 to 42.7.7) but then the build > triggered right after merging that PR is failing with the same error which > is still being shown at present, e.g. > > >>> > > >>> > org.apache.openjpa.persistence.generationtype.TestEntityWithGeneratedValueAndPostPersist.testValueCapturedInPostPersistAfterCommit > -- Time elapsed: 0.046 s <<< ERROR! > > >>> <openjpa-4.1.1-SNAPSHOT-ra8778a8 nonfatal general error> > org.apache.openjpa.persistence.PersistenceException: Table/View > 'OPENJPA_SEQUENCE_TABLE' does not exist. {stmnt 1079214960 DELETE FROM > OPENJPA_SEQUENCE_TABLE} [code=30000, state=42X05] > > >>> at > org.apache.openjpa.jdbc.meta.MappingTool.record(MappingTool.java:625) > > >>> at > org.apache.openjpa.jdbc.meta.MappingTool.record(MappingTool.java:488) > > >>> at > org.apache.openjpa.jdbc.kernel.JDBCBrokerFactory.synchronizeMappings(JDBCBrokerFactory.java:173) > > >>> at > org.apache.openjpa.jdbc.kernel.JDBCBrokerFactory.synchronizeMappings(JDBCBrokerFactory.java:178) > > >>> at > org.apache.openjpa.jdbc.kernel.JDBCBrokerFactory.newBrokerImpl(JDBCBrokerFactory.java:134) > > >>> at > org.apache.openjpa.kernel.AbstractBrokerFactory.newBroker(AbstractBrokerFactory.java:213) > > >>> at > org.apache.openjpa.kernel.DelegatingBrokerFactory.newBroker(DelegatingBrokerFactory.java:166) > > >>> at > org.apache.openjpa.persistence.EntityManagerFactoryImpl.doCreateEM(EntityManagerFactoryImpl.java:282) > > >>> at > org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:201) > > >>> at > org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:188) > > >>> at > org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:178) > > >>> at > org.apache.openjpa.persistence.generationtype.TestEntityWithGeneratedValueAndPostPersist.getEM(TestEntityWithGeneratedValueAndPostPersist.java:100) > > >>> at > org.apache.openjpa.persistence.generationtype.TestEntityWithGeneratedValueAndPostPersist.testValueCapturedInPostPersistAfterCommit(TestEntityWithGeneratedValueAndPostPersist.java:51) > > >>> at > java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native > Method) > > >>> at > java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > > >>> at > java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > > >>> at java.base/java.lang.reflect.Method.invoke(Method.java:566) > > >>> at junit.framework.TestCase.runTest(TestCase.java:177) > > >>> at > org.apache.openjpa.persistence.test.AbstractPersistenceTestCase.runTest(AbstractPersistenceTestCase.java:586) > > >>> at junit.framework.TestCase.runBare(TestCase.java:142) > > >>> at > org.apache.openjpa.persistence.test.AbstractPersistenceTestCase.runBare(AbstractPersistenceTestCase.java:573) > > >>> at > org.apache.openjpa.persistence.test.AbstractPersistenceTestCase.runBare(AbstractPersistenceTestCase.java:549) > > >>> at junit.framework.TestResult$1.protect(TestResult.java:122) > > >>> at junit.framework.TestResult.runProtected(TestResult.java:142) > > >>> at junit.framework.TestResult.run(TestResult.java:125) > > >>> at junit.framework.TestCase.run(TestCase.java:130) > > >>> at > org.apache.openjpa.persistence.test.AbstractPersistenceTestCase.run(AbstractPersistenceTestCase.java:209) > > >>> at junit.framework.TestSuite.runTest(TestSuite.java:241) > > >>> at junit.framework.TestSuite.run(TestSuite.java:236) > > >>> at > org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:90) > > >>> at > org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:316) > > >>> at > org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:240) > > >>> at > org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:214) > > >>> at > org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:155) > > >>> at > org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385) > > >>> at > org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162) > > >>> at > org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507) > > >>> at > org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495) > > >>> Caused by: org.apache.openjpa.lib.jdbc.ReportingSQLException: > Table/View 'OPENJPA_SEQUENCE_TABLE' does not exist. {stmnt 1079214960 > DELETE FROM OPENJPA_SEQUENCE_TABLE} [code=30000, state=42X05] > > >>> at > org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.wrap(LoggingConnectionDecorator.java:219) > > >>> at > org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.wrap(LoggingConnectionDecorator.java:203) > > >>> at > org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator$LoggingConnection$LoggingStatement.executeUpdate(LoggingConnectionDecorator.java:955) > > >>> at > org.apache.openjpa.lib.jdbc.DelegatingStatement.executeUpdate(DelegatingStatement.java:123) > > >>> at > org.apache.openjpa.jdbc.schema.SchemaTool.executeSQL(SchemaTool.java:1375) > > >>> at > org.apache.openjpa.jdbc.schema.SchemaTool.deleteTableContents(SchemaTool.java:491) > > >>> at > org.apache.openjpa.jdbc.schema.SchemaTool.run(SchemaTool.java:388) > > >>> at > org.apache.openjpa.jdbc.meta.MappingTool.record(MappingTool.java:571) > > >>> ... 37 more > > >>> > > >>> Not sure how this could happen and how to relate the events. > > >>> > > >>> Is the build passing locally? > > >> > > >> > > >> Yes :) > > >> Local build is green > > >> > > >>> > > >>> Regards. > > >>> > > >>> -- > > >>> Francesco Chicchiriccò > > >>> > > >>> Tirasa - Open Source Excellence > > >>> http://www.tirasa.net/ > > >>> > > >>> Member at The Apache Software Foundation > > >>> Syncope, Cocoon, Olingo, CXF, OpenJPA > > >>> https://about.me/ilgrosso > > >>> > > > > > > > > >-- > > >Best regards, > > >Maxim > > > > -- > Best regards, > Maxim >