HHH-18782 reproducer #447
Open
HHH-18782 reproducer #447
Hibernate Jenkins CI / Jenkins
failed
Oct 30, 2024 in 36s
Test: error in 'sh' step
Test / Shell Script
Error in sh
step, with arguments mvn -B verify
.
script returned exit code 1
Build log
+ mvn -B verify
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Hibernate ORM 5 Test Case Template [jar]
[INFO] Hibernate ORM 6 Test Case Template [jar]
[INFO] Hibernate Envers 5 Test Case Template [jar]
[INFO] Hibernate Envers 6 Test Case Template [jar]
[INFO] Hibernate Search 5 with Elasticsearch 5 Test Case Template [jar]
[INFO] Hibernate Search 5 with Lucene Test Case Template [jar]
[INFO] Hibernate Search 6 with Hibernate ORM and Elasticsearch Test Case Template [jar]
[INFO] Hibernate Search 6 with Hibernate ORM and Lucene Test Case Template [jar]
[INFO] Hibernate Search 7 with Hibernate ORM and Elasticsearch Test Case Template [jar]
[INFO] Hibernate Search 7 with Hibernate ORM and Lucene Test Case Template [jar]
[INFO] Hibernate Validator 6 Test Case Template [jar]
[INFO] Hibernate Validator 8 Test Case Template [jar]
[INFO] Hibernate Test Case Templates - Aggregator POM [pom]
[INFO]
[INFO] --< org.hibernate.testcasetemplate:test-case-template-hibernate-orm-5 >--
[INFO] Building Hibernate ORM 5 Test Case Template 1.0.0.Final [1/13]
[INFO] from orm/hibernate-orm-5/pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- resources:3.3.1:resources (default-resources) @ test-case-template-hibernate-orm-5 ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory /mnt/workdir/jenkins/workspace/rnate-test-case-templates_PR-447/orm/hibernate-orm-5/src/main/resources
[INFO]
[INFO] --- compiler:3.13.0:compile (default-compile) @ test-case-template-hibernate-orm-5 ---
[INFO] No sources to compile
[INFO]
[INFO] --- resources:3.3.1:testResources (default-testResources) @ test-case-template-hibernate-orm-5 ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 3 resources from src/test/resources to target/test-classes
[INFO]
[INFO] --- compiler:3.13.0:testCompile (default-testCompile) @ test-case-template-hibernate-orm-5 ---
[INFO] Nothing to compile - all classes are up to date.
[INFO]
[INFO] --- hibernate-enhance:5.6.15.Final:enhance (default) @ test-case-template-hibernate-orm-5 ---
[WARNING] Skipping Hibernate bytecode enhancement plugin execution since no feature is enabled
[INFO]
[INFO] --- surefire:3.2.5:test (default-test) @ test-case-template-hibernate-orm-5 ---
[INFO] Using auto detected provider org.apache.maven.surefire.junitplatform.JUnitPlatformProvider
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-junit-platform/3.2.5/surefire-junit-platform-3.2.5.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-junit-platform/3.2.5/surefire-junit-platform-3.2.5.pom (4.7 kB at 20 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-providers/3.2.5/surefire-providers-3.2.5.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-providers/3.2.5/surefire-providers-3.2.5.pom (2.6 kB at 326 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/common-java5/3.2.5/common-java5-3.2.5.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/common-java5/3.2.5/common-java5-3.2.5.pom (2.8 kB at 281 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/junit/platform/junit-platform-launcher/1.9.3/junit-platform-launcher-1.9.3.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/junit/platform/junit-platform-launcher/1.9.3/junit-platform-launcher-1.9.3.pom (3.0 kB at 432 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/junit/platform/junit-platform-engine/1.9.3/junit-platform-engine-1.9.3.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/junit/platform/junit-platform-engine/1.9.3/junit-platform-engine-1.9.3.pom (3.2 kB at 457 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/junit/platform/junit-platform-commons/1.9.3/junit-platform-commons-1.9.3.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/junit/platform/junit-platform-commons/1.9.3/junit-platform-commons-1.9.3.pom (2.8 kB at 354 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-junit-platform/3.2.5/surefire-junit-platform-3.2.5.jar
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-junit-platform/3.2.5/surefire-junit-platform-3.2.5.jar (27 kB at 2.1 MB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/common-java5/3.2.5/common-java5-3.2.5.jar
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/junit/platform/junit-platform-launcher/1.9.3/junit-platform-launcher-1.9.3.jar
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/junit/platform/junit-platform-engine/1.9.3/junit-platform-engine-1.9.3.jar
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/junit/platform/junit-platform-commons/1.9.3/junit-platform-commons-1.9.3.jar
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/common-java5/3.2.5/common-java5-3.2.5.jar (18 kB at 627 kB/s)
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/junit/platform/junit-platform-commons/1.9.3/junit-platform-commons-1.9.3.jar (103 kB at 1.9 MB/s)
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/junit/platform/junit-platform-engine/1.9.3/junit-platform-engine-1.9.3.jar (189 kB at 2.0 MB/s)
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/junit/platform/junit-platform-launcher/1.9.3/junit-platform-launcher-1.9.3.jar (169 kB at 1.7 MB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/junit/jupiter/junit-jupiter-engine/5.8.2/junit-jupiter-engine-5.8.2.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/junit/jupiter/junit-jupiter-engine/5.8.2/junit-jupiter-engine-5.8.2.pom (3.2 kB at 457 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/junit/platform/junit-platform-engine/1.8.2/junit-platform-engine-1.8.2.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/junit/platform/junit-platform-engine/1.8.2/junit-platform-engine-1.8.2.pom (3.2 kB at 291 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/junit/jupiter/junit-jupiter-engine/5.8.2/junit-jupiter-engine-5.8.2.jar
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/junit/jupiter/junit-jupiter-engine/5.8.2/junit-jupiter-engine-5.8.2.jar (230 kB at 14 MB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/junit/platform/junit-platform-engine/1.8.2/junit-platform-engine-1.8.2.jar
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/junit/platform/junit-platform-engine/1.8.2/junit-platform-engine-1.8.2.jar (186 kB at 13 MB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/junit/vintage/junit-vintage-engine/5.8.2/junit-vintage-engine-5.8.2.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/junit/vintage/junit-vintage-engine/5.8.2/junit-vintage-engine-5.8.2.pom (3.2 kB at 454 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/junit/vintage/junit-vintage-engine/5.8.2/junit-vintage-engine-5.8.2.jar
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/junit/vintage/junit-vintage-engine/5.8.2/junit-vintage-engine-5.8.2.jar (67 kB at 8.3 MB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/junit/platform/junit-platform-launcher/1.8.2/junit-platform-launcher-1.8.2.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/junit/platform/junit-platform-launcher/1.8.2/junit-platform-launcher-1.8.2.pom (3.0 kB at 378 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/junit/platform/junit-platform-launcher/1.8.2/junit-platform-launcher-1.8.2.jar
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/junit/platform/junit-platform-launcher/1.8.2/junit-platform-launcher-1.8.2.jar (159 kB at 16 MB/s)
[INFO]
[INFO] -------------------------------------------------------
[INFO] T E S T S
[INFO] -------------------------------------------------------
2024-10-30 19:31:48 INFO Version:44 - HHH000412: Hibernate ORM core version 5.6.15.Final
2024-10-30 19:31:48 INFO Environment:184 - HHH000205: Loaded properties from resource hibernate.properties: {hibernate.format_sql=true, hibernate.dialect=org.hibernate.dialect.H2Dialect, hibernate.connection.username=sa, hibernate.connection.url=jdbc:h2:mem:db1;DB_CLOSE_DELAY=-1, hibernate.max_fetch_depth=5, hibernate.show_sql=false, hibernate.jdbc.batch_versioned_data=true, javax.persistence.validation.mode=NONE, hibernate.connection.driver_class=org.h2.Driver, hibernate.connection.password=****, hibernate.bytecode.use_reflection_optimizer=false, hibernate.cache.region_prefix=hibernate.test, hibernate.connection.pool_size=5, hibernate.cache.region.factory_class=org.hibernate.testing.cache.CachingRegionFactory, hibernate.service.allow_crawling=false, hibernate.session.events.log=true}
2024-10-30 19:31:48 INFO Dialect:175 - HHH000400: Using dialect: org.hibernate.dialect.H2Dialect
[INFO] Running org.hibernate.bugs.JPAUnitTestCase
2024-10-30 19:31:48 INFO LogHelper:31 - HHH000204: Processing PersistenceUnitInfo [name: templatePU]
2024-10-30 19:31:48 WARN CachingRegionFactory:48 - org.hibernate.testing.cache.CachingRegionFactory should be only used for testing.
2024-10-30 19:31:48 INFO Version:56 - HCANN000001: Hibernate Commons Annotations {5.1.2.Final}
2024-10-30 19:31:48 WARN pooling:75 - HHH10001002: Using Hibernate built-in connection pool (not for production use!)
2024-10-30 19:31:48 INFO pooling:119 - HHH10001005: using driver [org.h2.Driver] at URL [jdbc:h2:mem:db1;DB_CLOSE_DELAY=-1]
2024-10-30 19:31:48 INFO pooling:128 - HHH10001001: Connection properties: {password=****, user=sa}
2024-10-30 19:31:48 INFO pooling:132 - HHH10001003: Autocommit mode: false
2024-10-30 19:31:48 INFO DriverManagerConnectionProviderImpl:322 - HHH000115: Hibernate connection pool size: 5 (min=1)
2024-10-30 19:31:49 INFO Dialect:175 - HHH000400: Using dialect: org.hibernate.dialect.H2Dialect
2024-10-30 19:31:49 INFO JtaPlatformInitiator:52 - HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.JBossStandAloneJtaPlatform]
2024-10-30 19:31:49 INFO StatisticalLoggingSessionEventListener:258 - Session Metrics {
55723 nanoseconds spent acquiring 1 JDBC connections;
181277 nanoseconds spent releasing 1 JDBC connections;
0 nanoseconds spent preparing 0 JDBC statements;
0 nanoseconds spent executing 0 JDBC statements;
0 nanoseconds spent executing 0 JDBC batches;
0 nanoseconds spent performing 0 L2C puts;
0 nanoseconds spent performing 0 L2C hits;
0 nanoseconds spent performing 0 L2C misses;
0 nanoseconds spent executing 0 flushes (flushing a total of 0 entities and 0 collections);
0 nanoseconds spent executing 0 partial-flushes (flushing a total of 0 entities and 0 collections)
}
2024-10-30 19:31:49 INFO SchemaDropperImpl$DelayedDropActionImpl:538 - HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down'
2024-10-30 19:31:49 INFO pooling:550 - HHH10001008: Cleaning up connection pool [jdbc:h2:mem:db1;DB_CLOSE_DELAY=-1]
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.748 s -- in org.hibernate.bugs.JPAUnitTestCase
[INFO] Running org.hibernate.bugs.ORMStandaloneTestCase
2024-10-30 19:31:49 WARN CachingRegionFactory:48 - org.hibernate.testing.cache.CachingRegionFactory should be only used for testing.
2024-10-30 19:31:49 WARN pooling:75 - HHH10001002: Using Hibernate built-in connection pool (not for production use!)
2024-10-30 19:31:49 INFO pooling:119 - HHH10001005: using driver [org.h2.Driver] at URL [jdbc:h2:mem:db1;DB_CLOSE_DELAY=-1]
2024-10-30 19:31:49 INFO pooling:128 - HHH10001001: Connection properties: {password=****, user=sa}
2024-10-30 19:31:49 INFO pooling:132 - HHH10001003: Autocommit mode: false
2024-10-30 19:31:49 INFO DriverManagerConnectionProviderImpl:322 - HHH000115: Hibernate connection pool size: 5 (min=1)
2024-10-30 19:31:49 INFO Dialect:175 - HHH000400: Using dialect: org.hibernate.dialect.H2Dialect
2024-10-30 19:31:49 INFO access:48 - HHH10001501: Connection obtained from JdbcConnectionAccess [org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator$ConnectionProviderJdbcConnectionAccess@3382cf68] for (non-JTA) DDL execution was not in auto-commit mode; the Connection 'local transaction' will be committed and the Connection will be set into auto-commit mode.
2024-10-30 19:31:49 INFO JtaPlatformInitiator:52 - HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.JBossStandAloneJtaPlatform]
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.062 s -- in org.hibernate.bugs.ORMStandaloneTestCase
[INFO] Running org.hibernate.bugs.ORMUnitTestCase
2024-10-30 19:31:49 INFO CustomRunner:116 - BeforeClass: org.hibernate.bugs.ORMUnitTestCase
2024-10-30 19:31:49 INFO Dialect:175 - HHH000400: Using dialect: org.hibernate.dialect.H2Dialect
2024-10-30 19:31:49 WARN TestClassMetadata:173 - Open SessionFactory instances found prior to start of test class [org.hibernate.bugs.ORMUnitTestCase]
2024-10-30 19:31:49 WARN CachingRegionFactory:48 - org.hibernate.testing.cache.CachingRegionFactory should be only used for testing.
2024-10-30 19:31:49 WARN pooling:75 - HHH10001002: Using Hibernate built-in connection pool (not for production use!)
2024-10-30 19:31:49 INFO pooling:119 - HHH10001005: using driver [org.h2.Driver] at URL [jdbc:h2:mem:db1;DB_CLOSE_DELAY=-1]
2024-10-30 19:31:49 INFO pooling:128 - HHH10001001: Connection properties: {password=****, user=sa}
2024-10-30 19:31:49 INFO pooling:132 - HHH10001003: Autocommit mode: false
2024-10-30 19:31:49 INFO DriverManagerConnectionProviderImpl:322 - HHH000115: Hibernate connection pool size: 5 (min=1)
2024-10-30 19:31:49 INFO Dialect:175 - HHH000400: Using dialect: org.hibernate.dialect.H2Dialect
2024-10-30 19:31:49 INFO JtaPlatformInitiator:52 - HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.JBossStandAloneJtaPlatform]
2024-10-30 19:31:49 INFO CustomRunner:123 - Test: hhh123Test
2024-10-30 19:31:49 INFO StatisticalLoggingSessionEventListener:258 - Session Metrics {
66192 nanoseconds spent acquiring 1 JDBC connections;
110748 nanoseconds spent releasing 1 JDBC connections;
0 nanoseconds spent preparing 0 JDBC statements;
0 nanoseconds spent executing 0 JDBC statements;
0 nanoseconds spent executing 0 JDBC batches;
0 nanoseconds spent performing 0 L2C puts;
0 nanoseconds spent performing 0 L2C hits;
0 nanoseconds spent performing 0 L2C misses;
0 nanoseconds spent executing 0 flushes (flushing a total of 0 entities and 0 collections);
0 nanoseconds spent executing 0 partial-flushes (flushing a total of 0 entities and 0 collections)
}
2024-10-30 19:31:49 INFO SchemaDropperImpl$DelayedDropActionImpl:538 - HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down'
2024-10-30 19:31:49 WARN TestClassMetadata:218 - Open SessionFactory instances found after completion of test class [org.hibernate.bugs.ORMUnitTestCase]; closing them
2024-10-30 19:31:49 INFO pooling:550 - HHH10001008: Cleaning up connection pool [jdbc:h2:mem:db1;DB_CLOSE_DELAY=-1]
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.083 s -- in org.hibernate.bugs.ORMUnitTestCase
[INFO]
[INFO] Results:
[INFO]
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO]
[INFO] --- jar:3.4.1:jar (default-jar) @ test-case-template-hibernate-orm-5 ---
[WARNING] JAR will be empty - no content was marked for inclusion!
[INFO]
[INFO] --< org.hibernate.testcasetemplate:test-case-template-hibernate-orm-6 >--
[INFO] Building Hibernate ORM 6 Test Case Template 1.0.0.Final [2/13]
[INFO] from orm/hibernate-orm-6/pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- resources:3.3.1:resources (default-resources) @ test-case-template-hibernate-orm-6 ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory /mnt/workdir/jenkins/workspace/rnate-test-case-templates_PR-447/orm/hibernate-orm-6/src/main/resources
[INFO]
[INFO] --- compiler:3.13.0:compile (default-compile) @ test-case-template-hibernate-orm-6 ---
[INFO] No sources to compile
[INFO]
[INFO] --- resources:3.3.1:testResources (default-testResources) @ test-case-template-hibernate-orm-6 ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 3 resources from src/test/resources to target/test-classes
[INFO]
[INFO] --- compiler:3.13.0:testCompile (default-testCompile) @ test-case-template-hibernate-orm-6 ---
[INFO] Nothing to compile - all classes are up to date.
[INFO]
[INFO] --- hibernate-enhance:6.6.1.Final:enhance (default) @ test-case-template-hibernate-orm-6 ---
[WARNING] Skipping Hibernate bytecode enhancement plugin execution since no feature is enabled
[INFO]
[INFO] --- surefire:3.2.5:test (default-test) @ test-case-template-hibernate-orm-6 ---
[INFO] Using auto detected provider org.apache.maven.surefire.junitplatform.JUnitPlatformProvider
[INFO]
[INFO] -------------------------------------------------------
[INFO] T E S T S
[INFO] -------------------------------------------------------
[INFO] Running org.hibernate.bugs.QuarkusLikeORMUnitTestCase
2024-10-30 19:31:51 INFO Version:44 - HHH000412: Hibernate ORM core version 6.6.1.Final
2024-10-30 19:31:51 INFO Environment:148 - HHH000205: Loaded properties from resource hibernate.properties: {hibernate.format_sql=true, jakarta.persistence.validation.mode=NONE, hibernate.dialect=org.hibernate.dialect.H2Dialect, hibernate.connection.username=sa, hibernate.connection.url=jdbc:h2:mem:db1;DB_CLOSE_DELAY=-1, hibernate.max_fetch_depth=5, hibernate.show_sql=false, hibernate.jdbc.batch_versioned_data=true, hibernate.connection.driver_class=org.h2.Driver, hibernate.connection.password=****, hibernate.cache.region_prefix=hibernate.test, hibernate.connection.pool_size=5, hibernate.cache.region.factory_class=org.hibernate.testing.cache.CachingRegionFactory, hibernate.service.allow_crawling=false, hibernate.session.events.log=true}
2024-10-30 19:31:51 WARN CachingRegionFactory:48 - org.hibernate.testing.cache.CachingRegionFactory should be only used for testing.
2024-10-30 19:31:51 INFO RegionFactoryInitiator:53 - HHH000025: Second-level cache region factory [org.hibernate.testing.cache.CachingRegionFactory]
2024-10-30 19:31:51 WARN pooling:86 - HHH10001002: Using built-in connection pool (not intended for production use)
2024-10-30 19:31:51 WARN deprecation:153 - HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default)
2024-10-30 19:31:51 INFO pooling:157 - HHH10001005: Database info:
Database JDBC URL [jdbc:h2:mem:db1;DB_CLOSE_DELAY=-1]
Database driver: org.h2.Driver
Database version: 2.3.232
Autocommit mode: false
Isolation level: undefined/unknown
Minimum pool size: 1
Maximum pool size: 5
2024-10-30 19:31:52 INFO JtaPlatformInitiator:56 - HHH000490: Using JTA platform [org.hibernate.engine.transaction.jta.platform.internal.WildFlyStandAloneJtaPlatform]
2024-10-30 19:31:52 INFO StatisticalLoggingSessionEventListener:280 - Session Metrics {
0 nanoseconds spent acquiring 0 JDBC connections;
0 nanoseconds spent releasing 0 JDBC connections;
0 nanoseconds spent preparing 0 JDBC statements;
0 nanoseconds spent executing 0 JDBC statements;
0 nanoseconds spent executing 0 JDBC batches;
0 nanoseconds spent performing 0 L2C puts;
0 nanoseconds spent performing 0 L2C hits;
0 nanoseconds spent performing 0 L2C misses;
0 nanoseconds spent executing 0 flushes (flushing a total of 0 entities and 0 collections);
0 nanoseconds spent executing 0 pre-partial-flushes;
0 nanoseconds spent executing 0 partial-flushes (flushing a total of 0 entities and 0 collections)
}
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.936 s -- in org.hibernate.bugs.QuarkusLikeORMUnitTestCase
[INFO] Running org.hibernate.bugs.HHH18782_JPAUnitTestCase
2024-10-30 19:31:52 INFO LogHelper:31 - HHH000204: Processing PersistenceUnitInfo [name: templatePU]
2024-10-30 19:31:52 WARN CachingRegionFactory:48 - org.hibernate.testing.cache.CachingRegionFactory should be only used for testing.
2024-10-30 19:31:52 INFO RegionFactoryInitiator:53 - HHH000025: Second-level cache region factory [org.hibernate.testing.cache.CachingRegionFactory]
2024-10-30 19:31:52 WARN pooling:86 - HHH10001002: Using built-in connection pool (not intended for production use)
2024-10-30 19:31:52 WARN deprecation:153 - HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default)
2024-10-30 19:31:52 INFO pooling:157 - HHH10001005: Database info:
Database JDBC URL [jdbc:h2:mem:db1;DB_CLOSE_DELAY=-1]
Database driver: org.h2.Driver
Database version: 2.3.232
Autocommit mode: false
Isolation level: undefined/unknown
Minimum pool size: 1
Maximum pool size: 5
Hibernate:
create global temporary table HTE_ITEM(rn_ integer not null, CART_ID bigint, id bigint, ITEM_NO varchar(255), primary key (rn_)) TRANSACTIONAL
Hibernate:
create global temporary table HTE_CART(rn_ integer not null, id bigint, CART_NO varchar(255), primary key (rn_)) TRANSACTIONAL
Hibernate:
create global temporary table HTE_WHEEL(rn_ integer not null, CART_ID bigint, id bigint, WHEEL_NO varchar(255), primary key (rn_)) TRANSACTIONAL
2024-10-30 19:31:52 INFO JtaPlatformInitiator:56 - HHH000490: Using JTA platform [org.hibernate.engine.transaction.jta.platform.internal.WildFlyStandAloneJtaPlatform]
Hibernate:
drop table if exists CART cascade
2024-10-30 19:31:52 INFO access:52 - HHH10001501: Connection obtained from JdbcConnectionAccess [org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator$ConnectionProviderJdbcConnectionAccess@40738846] for (non-JTA) DDL execution was not in auto-commit mode; the Connection 'local transaction' will be committed and the Connection will be set into auto-commit mode.
Hibernate:
drop table if exists ITEM cascade
Hibernate:
drop table if exists WHEEL cascade
Hibernate:
drop sequence if exists CART_SEQ
Hibernate:
drop sequence if exists ITEM_SEQ
Hibernate:
drop sequence if exists WHEEL_SEQ
Hibernate:
create sequence CART_SEQ start with 1 increment by 50
2024-10-30 19:31:52 INFO access:52 - HHH10001501: Connection obtained from JdbcConnectionAccess [org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator$ConnectionProviderJdbcConnectionAccess@12be4f83] for (non-JTA) DDL execution was not in auto-commit mode; the Connection 'local transaction' will be committed and the Connection will be set into auto-commit mode.
Hibernate:
create sequence ITEM_SEQ start with 1 increment by 50
Hibernate:
create sequence WHEEL_SEQ start with 1 increment by 50
Hibernate:
create table CART (
id bigint not null,
CART_NO varchar(255),
primary key (id)
)
Hibernate:
create table ITEM (
CART_ID bigint,
id bigint not null,
ITEM_NO varchar(255),
primary key (id)
)
Hibernate:
create table WHEEL (
CART_ID bigint,
id bigint not null,
WHEEL_NO varchar(255),
primary key (id)
)
Hibernate:
alter table if exists ITEM
add constraint FKiiemg9iq85055iqpi7q5vkgbu
foreign key (CART_ID)
references CART
Hibernate:
alter table if exists WHEEL
add constraint FKdjfcvtoei50pe9ari54ke61mb
foreign key (CART_ID)
references CART
Hibernate:
select
next value for CART_SEQ
Hibernate:
select
next value for ITEM_SEQ
Hibernate:
select
next value for ITEM_SEQ
Hibernate:
select
next value for WHEEL_SEQ
Hibernate:
insert
into
CART
(CART_NO, id)
values
(?, ?)
Hibernate:
insert
into
ITEM
(CART_ID, ITEM_NO, id)
values
(?, ?, ?)
Hibernate:
insert
into
ITEM
(CART_ID, ITEM_NO, id)
values
(?, ?, ?)
Hibernate:
insert
into
WHEEL
(CART_ID, WHEEL_NO, id)
values
(?, ?, ?)
Hibernate:
select
c1_0.id,
c1_0.CART_NO
from
CART c1_0
where
c1_0.id=?
2024-10-30 19:31:53 INFO StatisticalLoggingSessionEventListener:280 - Session Metrics {
50944 nanoseconds spent acquiring 1 JDBC connections;
121957 nanoseconds spent releasing 1 JDBC connections;
3737635 nanoseconds spent preparing 9 JDBC statements;
5995316 nanoseconds spent executing 9 JDBC statements;
0 nanoseconds spent executing 0 JDBC batches;
0 nanoseconds spent performing 0 L2C puts;
0 nanoseconds spent performing 0 L2C hits;
0 nanoseconds spent performing 0 L2C misses;
18784269 nanoseconds spent executing 2 flushes (flushing a total of 5 entities and 4 collections);
0 nanoseconds spent executing 0 pre-partial-flushes;
0 nanoseconds spent executing 0 partial-flushes (flushing a total of 0 entities and 0 collections)
}
Hibernate:
select
i1_0.CART_ID,
i1_0.id,
i1_0.ITEM_NO
from
ITEM i1_0
where
i1_0.CART_ID=?
Hibernate:
select
c1_0.id,
c1_0.CART_NO
from
CART c1_0
where
c1_0.id=?
2024-10-30 19:31:53 INFO StatisticalLoggingSessionEventListener:280 - Session Metrics {
20801 nanoseconds spent acquiring 1 JDBC connections;
79114 nanoseconds spent releasing 1 JDBC connections;
285712 nanoseconds spent preparing 2 JDBC statements;
437808 nanoseconds spent executing 2 JDBC statements;
0 nanoseconds spent executing 0 JDBC batches;
0 nanoseconds spent performing 0 L2C puts;
0 nanoseconds spent performing 0 L2C hits;
0 nanoseconds spent performing 0 L2C misses;
0 nanoseconds spent executing 0 flushes (flushing a total of 0 entities and 0 collections);
0 nanoseconds spent executing 0 pre-partial-flushes;
0 nanoseconds spent executing 0 partial-flushes (flushing a total of 0 entities and 0 collections)
}
Hibernate:
select
w1_0.CART_ID,
w1_0.id,
w1_0.WHEEL_NO
from
WHEEL w1_0
where
w1_0.CART_ID=?
Hibernate:
select
c1_0.id,
c1_0.CART_NO
from
CART c1_0
where
c1_0.id=?
2024-10-30 19:31:53 INFO StatisticalLoggingSessionEventListener:280 - Session Metrics {
26946 nanoseconds spent acquiring 1 JDBC connections;
74548 nanoseconds spent releasing 1 JDBC connections;
260341 nanoseconds spent preparing 2 JDBC statements;
321827 nanoseconds spent executing 2 JDBC statements;
0 nanoseconds spent executing 0 JDBC batches;
0 nanoseconds spent performing 0 L2C puts;
0 nanoseconds spent performing 0 L2C hits;
0 nanoseconds spent performing 0 L2C misses;
0 nanoseconds spent executing 0 flushes (flushing a total of 0 entities and 0 collections);
0 nanoseconds spent executing 0 pre-partial-flushes;
0 nanoseconds spent executing 0 partial-flushes (flushing a total of 0 entities and 0 collections)
}
Hibernate:
drop table if exists CART cascade
2024-10-30 19:31:53 INFO access:52 - HHH10001501: Connection obtained from JdbcConnectionAccess [org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator$ConnectionProviderJdbcConnectionAccess@35f01759] for (non-JTA) DDL execution was not in auto-commit mode; the Connection 'local transaction' will be committed and the Connection will be set into auto-commit mode.
Hibernate:
drop table if exists ITEM cascade
Hibernate:
drop table if exists WHEEL cascade
Hibernate:
drop sequence if exists CART_SEQ
Hibernate:
drop sequence if exists ITEM_SEQ
Hibernate:
drop sequence if exists WHEEL_SEQ
[ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.820 s <<< FAILURE! -- in org.hibernate.bugs.HHH18782_JPAUnitTestCase
[ERROR] org.hibernate.bugs.HHH18782_JPAUnitTestCase.hhh18782Test_LazyLoadedChildrenHaveParentInstanceInInverseRelation -- Time elapsed: 0.818 s <<< FAILURE!
java.lang.AssertionError: item 0 does not have the correct parent instance expected same:<org.hibernate.bugs.entities.Cart@3199a202> was not:<org.hibernate.bugs.entities.Cart@bb6869a>
at org.junit.Assert.fail(Assert.java:89)
at org.junit.Assert.failNotSame(Assert.java:829)
at org.junit.Assert.assertSame(Assert.java:772)
at org.hibernate.bugs.HHH18782_JPAUnitTestCase.hhh18782Test_LazyLoadedChildrenHaveParentInstanceInInverseRelation(HHH18782_JPAUnitTestCase.java:77)
at java.base/java.lang.reflect.Method.invoke(Method.java:569)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
[INFO] Running org.hibernate.bugs.JPAUnitTestCase
2024-10-30 19:31:53 INFO LogHelper:31 - HHH000204: Processing PersistenceUnitInfo [name: templatePU]
2024-10-30 19:31:53 WARN CachingRegionFactory:48 - org.hibernate.testing.cache.CachingRegionFactory should be only used for testing.
2024-10-30 19:31:53 INFO RegionFactoryInitiator:53 - HHH000025: Second-level cache region factory [org.hibernate.testing.cache.CachingRegionFactory]
2024-10-30 19:31:53 WARN pooling:86 - HHH10001002: Using built-in connection pool (not intended for production use)
2024-10-30 19:31:53 WARN deprecation:153 - HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default)
2024-10-30 19:31:53 INFO pooling:157 - HHH10001005: Database info:
Database JDBC URL [jdbc:h2:mem:db1;DB_CLOSE_DELAY=-1]
Database driver: org.h2.Driver
Database version: 2.3.232
Autocommit mode: false
Isolation level: undefined/unknown
Minimum pool size: 1
Maximum pool size: 5
Hibernate:
create global temporary table HTE_ITEM(rn_ integer not null, CART_ID bigint, id bigint, ITEM_NO varchar(255), primary key (rn_)) TRANSACTIONAL
Hibernate:
create global temporary table HTE_CART(rn_ integer not null, id bigint, CART_NO varchar(255), primary key (rn_)) TRANSACTIONAL
Hibernate:
create global temporary table HTE_WHEEL(rn_ integer not null, CART_ID bigint, id bigint, WHEEL_NO varchar(255), primary key (rn_)) TRANSACTIONAL
2024-10-30 19:31:53 INFO JtaPlatformInitiator:56 - HHH000490: Using JTA platform [org.hibernate.engine.transaction.jta.platform.internal.WildFlyStandAloneJtaPlatform]
Hibernate:
drop table if exists CART cascade
2024-10-30 19:31:53 INFO access:52 - HHH10001501: Connection obtained from JdbcConnectionAccess [org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator$ConnectionProviderJdbcConnectionAccess@40a7974] for (non-JTA) DDL execution was not in auto-commit mode; the Connection 'local transaction' will be committed and the Connection will be set into auto-commit mode.
Hibernate:
drop table if exists ITEM cascade
Hibernate:
drop table if exists WHEEL cascade
Hibernate:
drop sequence if exists CART_SEQ
Hibernate:
drop sequence if exists ITEM_SEQ
Hibernate:
drop sequence if exists WHEEL_SEQ
Hibernate:
create sequence CART_SEQ start with 1 increment by 50
2024-10-30 19:31:53 INFO access:52 - HHH10001501: Connection obtained from JdbcConnectionAccess [org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator$ConnectionProviderJdbcConnectionAccess@8d5da7e] for (non-JTA) DDL execution was not in auto-commit mode; the Connection 'local transaction' will be committed and the Connection will be set into auto-commit mode.
Hibernate:
create sequence ITEM_SEQ start with 1 increment by 50
Hibernate:
create sequence WHEEL_SEQ start with 1 increment by 50
Hibernate:
create table CART (
id bigint not null,
CART_NO varchar(255),
primary key (id)
)
Hibernate:
create table ITEM (
CART_ID bigint,
id bigint not null,
ITEM_NO varchar(255),
primary key (id)
)
Hibernate:
create table WHEEL (
CART_ID bigint,
id bigint not null,
WHEEL_NO varchar(255),
primary key (id)
)
Hibernate:
alter table if exists ITEM
add constraint FKiiemg9iq85055iqpi7q5vkgbu
foreign key (CART_ID)
references CART
Hibernate:
alter table if exists WHEEL
add constraint FKdjfcvtoei50pe9ari54ke61mb
foreign key (CART_ID)
references CART
2024-10-30 19:31:53 INFO StatisticalLoggingSessionEventListener:280 - Session Metrics {
21588 nanoseconds spent acquiring 1 JDBC connections;
64908 nanoseconds spent releasing 1 JDBC connections;
0 nanoseconds spent preparing 0 JDBC statements;
0 nanoseconds spent executing 0 JDBC statements;
0 nanoseconds spent executing 0 JDBC batches;
0 nanoseconds spent performing 0 L2C puts;
0 nanoseconds spent performing 0 L2C hits;
0 nanoseconds spent performing 0 L2C misses;
0 nanoseconds spent executing 0 flushes (flushing a total of 0 entities and 0 collections);
0 nanoseconds spent executing 0 pre-partial-flushes;
0 nanoseconds spent executing 0 partial-flushes (flushing a total of 0 entities and 0 collections)
}
Hibernate:
drop table if exists CART cascade
2024-10-30 19:31:53 INFO access:52 - HHH10001501: Connection obtained from JdbcConnectionAccess [org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator$ConnectionProviderJdbcConnectionAccess@497921d0] for (non-JTA) DDL execution was not in auto-commit mode; the Connection 'local transaction' will be committed and the Connection will be set into auto-commit mode.
Hibernate:
drop table if exists ITEM cascade
Hibernate:
drop table if exists WHEEL cascade
Hibernate:
drop sequence if exists CART_SEQ
Hibernate:
drop sequence if exists ITEM_SEQ
Hibernate:
drop sequence if exists WHEEL_SEQ
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.152 s -- in org.hibernate.bugs.JPAUnitTestCase
[INFO] Running org.hibernate.bugs.ORMStandaloneTestCase
2024-10-30 19:31:53 WARN CachingRegionFactory:48 - org.hibernate.testing.cache.CachingRegionFactory should be only used for testing.
2024-10-30 19:31:53 INFO RegionFactoryInitiator:53 - HHH000025: Second-level cache region factory [org.hibernate.testing.cache.CachingRegionFactory]
2024-10-30 19:31:53 WARN pooling:86 - HHH10001002: Using built-in connection pool (not intended for production use)
2024-10-30 19:31:53 WARN deprecation:153 - HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default)
2024-10-30 19:31:53 INFO pooling:157 - HHH10001005: Database info:
Database JDBC URL [jdbc:h2:mem:db1;DB_CLOSE_DELAY=-1]
Database driver: org.h2.Driver
Database version: 2.3.232
Autocommit mode: false
Isolation level: undefined/unknown
Minimum pool size: 1
Maximum pool size: 5
2024-10-30 19:31:53 INFO JtaPlatformInitiator:56 - HHH000490: Using JTA platform [org.hibernate.engine.transaction.jta.platform.internal.WildFlyStandAloneJtaPlatform]
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.043 s -- in org.hibernate.bugs.ORMStandaloneTestCase
[INFO] Running org.hibernate.bugs.ORMUnitTestCase
2024-10-30 19:31:53 WARN CachingRegionFactory:48 - org.hibernate.testing.cache.CachingRegionFactory should be only used for testing.
2024-10-30 19:31:53 INFO RegionFactoryInitiator:53 - HHH000025: Second-level cache region factory [org.hibernate.testing.cache.CachingRegionFactory]
2024-10-30 19:31:53 WARN deprecation:153 - HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default)
2024-10-30 19:31:53 INFO pooling:157 - HHH10001005: Database info:
Database JDBC URL [jdbc:h2:mem:db1;DB_CLOSE_DELAY=-1]
Database driver: org.h2.Driver
Database version: 2.3.232
Autocommit mode: false
Isolation level: undefined/unknown
Minimum pool size: 1
Maximum pool size: 5
2024-10-30 19:31:53 INFO JtaPlatformInitiator:56 - HHH000490: Using JTA platform [org.hibernate.engine.transaction.jta.platform.internal.WildFlyStandAloneJtaPlatform]
2024-10-30 19:31:53 INFO StatisticalLoggingSessionEventListener:280 - Session Metrics {
0 nanoseconds spent acquiring 0 JDBC connections;
0 nanoseconds spent releasing 0 JDBC connections;
0 nanoseconds spent preparing 0 JDBC statements;
0 nanoseconds spent executing 0 JDBC statements;
0 nanoseconds spent executing 0 JDBC batches;
0 nanoseconds spent performing 0 L2C puts;
0 nanoseconds spent performing 0 L2C hits;
0 nanoseconds spent performing 0 L2C misses;
0 nanoseconds spent executing 0 flushes (flushing a total of 0 entities and 0 collections);
0 nanoseconds spent executing 0 pre-partial-flushes;
0 nanoseconds spent executing 0 partial-flushes (flushing a total of 0 entities and 0 collections)
}
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.044 s -- in org.hibernate.bugs.ORMUnitTestCase
[INFO]
[INFO] Results:
[INFO]
[ERROR] Failures:
[ERROR] HHH18782_JPAUnitTestCase.hhh18782Test_LazyLoadedChildrenHaveParentInstanceInInverseRelation:77 item 0 does not have the correct parent instance expected same:<org.hibernate.bugs.entities.Cart@3199a202> was not:<org.hibernate.bugs.entities.Cart@bb6869a>
[INFO]
[ERROR] Tests run: 5, Failures: 1, Errors: 0, Skipped: 0
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Hibernate ORM 5 Test Case Template 1.0.0.Final ..... SUCCESS [ 4.186 s]
[INFO] Hibernate ORM 6 Test Case Template 1.0.0.Final ..... FAILURE [ 3.534 s]
[INFO] Hibernate Envers 5 Test Case Template 1.0.0.Final .. SKIPPED
[INFO] Hibernate Envers 6 Test Case Template 1.0.0.Final .. SKIPPED
[INFO] Hibernate Search 5 with Elasticsearch 5 Test Case Template 1.0.0.Final SKIPPED
[INFO] Hibernate Search 5 with Lucene Test Case Template 1.0.0.Final SKIPPED
[INFO] Hibernate Search 6 with Hibernate ORM and Elasticsearch Test Case Template 1.0.0.Final SKIPPED
[INFO] Hibernate Search 6 with Hibernate ORM and Lucene Test Case Template 1.0.0.Final SKIPPED
[INFO] Hibernate Search 7 with Hibernate ORM and Elasticsearch Test Case Template 1.0.0.Final SKIPPED
[INFO] Hibernate Search 7 with Hibernate ORM and Lucene Test Case Template 1.0.0.Final SKIPPED
[INFO] Hibernate Validator 6 Test Case Template 1.0.0.Final SKIPPED
[INFO] Hibernate Validator 8 Test Case Template 1.0.0.Final SKIPPED
[INFO] Hibernate Test Case Templates - Aggregator POM 1.0-SNAPSHOT SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7.901 s
[INFO] Finished at: 2024-10-30T19:31:53Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.2.5:test (default-test) on project test-case-template-hibernate-orm-6: There are test failures.
[ERROR]
[ERROR] Please refer to /mnt/workdir/jenkins/workspace/rnate-test-case-templates_PR-447/orm/hibernate-orm-6/target/surefire-reports for the individual test results.
[ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <args> -rf :test-case-template-hibernate-orm-6
Details
- Declarative: Checkout SCM (4.7 sec)
- Declarative: Tool Install (4.6 sec)
- Build (16 sec)
- Test (10 sec)
Error: script returned exit code 1
- Declarative: Tool Install (4.6 sec)
Loading