Skip to content

Instantly share code, notes, and snippets.

https://github.com/wildfly/wildfly/pull/16982
https://github.com/wildfly/wildfly/pull/16846
&amp#27;&amp#27;05:14:40,339 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 30) WFLYJPA0010: Starting Persistence Unit (phase 1 of 2) Service 'web_jpa.war#web_jpa_pc'
&amp#27;&amp#27;05:14:40,339 INFO [org.hibernate.jpa.internal.util.LogHelper] (ServerService Thread Pool -- 30) HHH000204: Processing PersistenceUnitInfo [name: web_jpa_pc]
&amp#27;&amp#27;05:14:40,340 INFO [org.jboss.as.arquillian] (MSC service thread 1-4) Arquillian deployment detected: ArquillianConfig[service=jboss.arquillian.config."web_jpa.war",unit=web_jpa.war,tests=[org.jboss.as.test.integration.jpa.webtxem.WebJPATestCase]]
&amp#27;&amp#27;05:14:40,345 INFO [org.hibernate.envers.boot.internal.EnversServiceImpl] (ServerService Thread Pool -- 30) Envers integration enabled? : true
&amp#27;&amp#27;05:14:40,347 INFO [org.hibernate.bytecode.internal.BytecodeProviderInitiator] (ServerService Thread Pool -- 30)
[INFO] Running jenkins.plugins.openstack.compute.ProvisioningTest
[ERROR] Tests run: 17, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 117.584 s <<< FAILURE! - in jenkins.plugins.openstack.compute.ProvisioningTest
[ERROR] jenkins.plugins.openstack.compute.ProvisioningTest.timeoutLaunchingJnlp Time elapsed: 6.719 s <<< FAILURE!
java.lang.AssertionError:
Server details are printed
Expected: a string containing "Server state: Mock for "
but: was "Failed to connect agent template0-2 within timeout (1000 ms): JNLP connection was not established yet
Server does no longer exist: f30e0df2-d4fa-4b42-882a-b703c25a1dd7"
at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
at jenkins.plugins.openstack.compute.ProvisioningTest.timeoutLaunchingJnlp(ProvisioningTest.java:355)
Caused by: java.lang.UnsupportedOperationException: Ordering for ToOneAttributeMapping(NavigableRole[nl.topicus.eduarte.model.entities.taxonomie.ho.CrohoOpleidingAanbod.brin])@1839744364 not supported
at org.hibernate@6.2.0-SNAPSHOT//org.hibernate.metamodel.mapping.internal.AbstractDomainPath.apply(AbstractDomainPath.java:195)
at org.hibernate@6.2.0-SNAPSHOT//org.hibernate.metamodel.mapping.internal.AbstractDomainPath.apply(AbstractDomainPath.java:170)
at org.hibernate@6.2.0-SNAPSHOT//org.hibernate.metamodel.mapping.internal.AbstractDomainPath.apply(AbstractDomainPath.java:118)
at org.hibernate@6.2.0-SNAPSHOT//org.hibernate.metamodel.mapping.ordering.OrderByFragmentImpl.apply(OrderByFragmentImpl.java:35)
at org.hibernate@6.2.0-SNAPSHOT//org.hibernate.loader.ast.internal.LoaderSelectBuilder.applyOrdering(LoaderSelectBuilder.java:661)
at org.hibernate@6.2.0-SNAPSHOT//org.hibernate.loader.ast.internal.LoaderSelectBuilder.applyOrdering(LoaderSelectBuilder.java:643)
HH000305: Could not create proxy factory for:com.sun.ts.tests.jpa.core.entitytest.cascadeall.oneXone.A: org.hibernate.MappingException: In trying to locate getter for property [b1], Class [com.sun.ts.tests.jpa.core.entitytest.cascadeall.oneXone.A] defined both a `get` [public com.sun.ts.tests.jpa.core.entitytest.cascadeall.oneXone.B com.sun.ts.tests.jpa.core.entitytest.cascadeall.oneXone.A.getB1()] and `is` [public boolean com.sun.ts.tests.jpa.core.entitytest.cascadeall.oneXone.A.isB1()] variant
at org.hibernate@6.2.2-SNAPSHOT//org.hibernate.internal.util.ReflectHelper.checkGetAndIsVariants(ReflectHelper.java:601)
at org.hibernate@6.2.2-SNAPSHOT//org.hibernate.internal.util.ReflectHelper.verifyNoGetVariantExists(ReflectHelper.java:625)
at org.hibernate@6.2.2-SNAPSHOT//org.hibernate.internal.util.ReflectHelper.getGetterOrNull(ReflectHelper.java:565)
at org.hibernate@6.2.2-SNAPSHOT//org.hibernate.internal.util.ReflectHelper.findGetterMethod(ReflectHelper.java:479)
at org.
Continue Platform TCK refactoring using the https://github.com/eclipse-ee4j/jakartaee-tck/tree/tckrefactor branch as per https://github.com/eclipse-ee4j/jakartaee-platform/issues/554.
Pinning the https://www.eclipse.org/lists/jakartaee-tck-dev/threads.html#01731 discussion here for reference.
The challenge is to refactor 1,536,083 lines of Java code (3,965,763 lines counting all Platform TCK files).
@alwin-joseph started https://github.com/eclipse-ee4j/jakartaee-tck/wiki/Standard-Rules-while-separating-standalone-TCKs-from-platform-TCK with more details on how refactoring Platform TCK tests to JUnit might work.
Note that if the [TCK Process](https://jakarta.ee/committees/specification/tckprocess/) is amended to [allow TCK test changes to be made](https://github.com/jakartaee/specification-committee/issues/63) after the SPEC ballot completes, that should reduce the work involved with TCK refactoring process in that a TCK that is still changing could be used to ratify implementation compatibility but no
useFollowOnLocking:142, DeferredResultSetAccess (org.hibernate.sql.results.jdbc.internal)
<init>:97, DeferredResultSetAccess (org.hibernate.sql.results.jdbc.internal)
doExecuteQuery:261, JdbcSelectExecutorStandardImpl (org.hibernate.sql.exec.internal)
executeQuery:168, JdbcSelectExecutorStandardImpl (org.hibernate.sql.exec.internal)
list:93, JdbcSelectExecutorStandardImpl (org.hibernate.sql.exec.internal)
list:31, JdbcSelectExecutor (org.hibernate.sql.exec.spi)
lambda$new$0:109, ConcreteSqmSelectQueryPlan (org.hibernate.query.sqm.internal)
withCacheableSqmInterpretation:302, ConcreteSqmSelectQueryPlan (org.hibernate.query.sqm.internal)
performList:243, ConcreteSqmSelectQueryPlan (org.hibernate.query.sqm.internal)
doList:518, QuerySqmImpl (org.hibernate.query.sqm.internal)
<init>:102, DeferredResultSetAccess (org.hibernate.sql.results.jdbc.internal)
doExecuteQuery:261, JdbcSelectExecutorStandardImpl (org.hibernate.sql.exec.internal)
executeQuery:168, JdbcSelectExecutorStandardImpl (org.hibernate.sql.exec.internal)
list:93, JdbcSelectExecutorStandardImpl (org.hibernate.sql.exec.internal)
list:31, JdbcSelectExecutor (org.hibernate.sql.exec.spi)
lambda$new$0:109, ConcreteSqmSelectQueryPlan (org.hibernate.query.sqm.internal)
withCacheableSqmInterpretation:302, ConcreteSqmSelectQueryPlan (org.hibernate.query.sqm.internal)
performList:243, ConcreteSqmSelectQueryPlan (org.hibernate.query.sqm.internal)
doList:518, QuerySqmImpl (org.hibernate.query.sqm.internal)
list:367, AbstractSelectionQuery (org.hibernate.query.spi)
@scottmarlow
scottmarlow / gist:4a25fcc5593c24824abb7c1821f67049
Created March 19, 2023 13:05
com/sun/ts/tests/jpa/core/annotations/mapkeycolumn/Client.java\#annotationMapKeyColumnTest1_from_appmanaged
#Test Results (version 2)
#Sun Mar 19 01:33:44 EDT 2023
#-----testdescription-----
$file=/mnt/hudson_workspace/customWorkspaceName/jakartaeetck/src/com/sun/ts/tests/jpa/core/annotations/mapkeycolumn/Client.java
$root=/mnt/hudson_workspace/customWorkspaceName/jakartaeetck/src
assertion_ids=PERSISTENCE\:JAVADOC\:90 (Optional) Whether the column is included in SQL INSERT statements generated by the persistence provider.\nPERSISTENCE\:JAVADOC\:92 (Optional) Whether the foreign key column is nullable.\nPERSISTENCE\:JAVADOC\:96 (Optional) Whether the column is included in SQL UPDATE statements generated by the persistence provider.\nPERSISTENCE\:JAVADOC\:114 The name of the persistent field or property of the associated entity that is used as the map key.\n \n If the name element is not specified, the primary key of the associated entity is used as the map key. If the primary key is a composite primary key and is mapped as IdClass, an instanc
java.lang.Thread.State: WAITING (parking)
at jdk.internal.misc.Unsafe.park(java.base@11.0.2/Native Method)
- parking to wait for <0x00000000f7fa4ae0> (a java.util.concurrent.CountDownLatch$Sync)
at java.util.concurrent.locks.LockSupport.park(java.base@11.0.2/LockSupport.java:194)
at java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt(java.base@11.0.2/AbstractQueuedSynchronizer.java:885)
at java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedInterruptibly(java.base@11.0.2/AbstractQueuedSynchronizer.java:1039)
at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly(java.base@11.0.2/AbstractQueuedSynchronizer.java:1345)
at java.util.concurrent.CountDownLatch.await(java.base@11.0.2/CountDownLatch.java:232)
at org.jboss.as.jpa.processor.secondlevelcache.InfinispanCacheDeploymentListener.startCache(InfinispanCacheDeploymentListener.java:110)
at org.jboss.as.jpa.processor.s
@scottmarlow
scottmarlow / gist:b0e17c801b2cd712ad1b598c555d7e4b
Created January 20, 2023 18:10
example call stack of WildFly org.jboss.as.jpa.beanmanager.BeanManagerAfterDeploymentValidation.afterDeploymentValidation being called
"MSC service thread 1-3@2728" prio=5 tid=0x14 nid=NA runnable
java.lang.Thread.State: RUNNABLE
at org.jboss.as.jpa.beanmanager.BeanManagerAfterDeploymentValidation.afterDeploymentValidation(BeanManagerAfterDeploymentValidation.java:51)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:-1)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:566)
at org.jboss.weld.injection.StaticMethodInjectionPoint.invoke(StaticMethodInjectionPoint.java:95)
at org.jboss.weld.injection.MethodInvocationStrategy$SpecialParamPlusBeanManagerStrategy.invoke(MethodInvocationStrategy.java:187)
at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:330)