Hi Steve,
yes you have to skip WildFly based tests when on Java 9: it doesn't work yet.
There's a new WildFly release 10.1.0.CR1 which boots and works
*mostly*, but several frameworks it contains aren't fully compatible
yet so you might be lucky, but no guarantees. Among the things now
working yet is Weld, so avoiding CDI in your tests would be a first
requirement.
For Hibernate OGM and Hibernate Search all WildFly integration tests
are being skipped for now; I plan to enable them when there's a
released version which is supposed to work.
Thanks,
Sanne
On 6 August 2016 at 23:19, Steve Ebersole <steve(a)hibernate.org> wrote:
Looks like we may just have to skip these Arquillian+WildFly tests
when
running on JDK 9. Anyone see something I am missing?
---------- Forwarded message ---------
From: Hibernate CI <ci(a)hibernate.org>
Date: Sat, Aug 6, 2016 at 2:56 PM
Subject: Build failed in Jenkins: hibernate-orm-master-h2-JDK9 #317
To: <andrea(a)hibernate.org>, <steve(a)hibernate.org>,
<chris(a)hibernate.org>
See <
http://ci.hibernate.org/job/hibernate-orm-master-h2-JDK9/317/changes>
Changes:
[Steve Ebersole] HHH-11024 - Exception still thrown when dropping schema
with a managed
[Steve Ebersole] HHH-11024 - Exception still thrown when dropping schema
with a managed
------------------------------------------
[...truncated 607 lines...]
bool UseDynamicNumberOfGCThreads = false
{product}
bool UseFPUForSpilling = false
{C2 product}
bool UseFastJNIAccessors = true
{product}
bool UseFastStosb = false
{ARCH product}
bool UseG1GC := true
{product}
bool UseGCOverheadLimit = true
{product}
bool UseGCTaskAffinity = false
{product}
bool UseHeavyMonitors = false
{product}
bool UseHugeTLBFS = false
{product}
bool UseInlineCaches = true
{product}
bool UseInterpreter = true
{product}
bool UseJumpTables = true
{C2 product}
bool UseLWPSynchronization = true
{product}
bool UseLargePages = false
{pd product}
bool UseLargePagesInMetaspace = false
{product}
bool UseLargePagesIndividualAllocation = false
{pd product}
bool UseLinuxPosixThreadCPUClocks = true
{product}
bool UseLockedTracing = false
{product}
bool UseLoopCounter = true
{product}
bool UseLoopInvariantCodeMotion = true
{C1 product}
bool UseLoopPredicate = true
{C2 product}
bool UseMaximumCompactionOnSystemGC = true
{product}
bool UseMembar = false
{pd product}
bool UseNUMA = false
{product}
bool UseNUMAInterleaving = false
{product}
bool UseNewLongLShift = true
{ARCH product}
bool UseOSErrorReporting = false
{pd product}
bool UseOnStackReplacement = true
{pd product}
bool UseOnlyInlinedBimorphic = true
{C2 product}
bool UseOprofile = false
{product}
bool UseOptoBiasInlining = true
{C2 product}
bool UsePSAdaptiveSurvivorSizePolicy = true
{product}
bool UseParNewGC = false
{product}
bool UseParallelGC = false
{product}
bool UseParallelOldGC = false
{product}
bool UsePerfData = true
{product}
bool UsePopCountInstruction = true
{product}
bool UseRDPCForConstantTableBase = false
{C2 product}
bool UseRTMDeopt = false
{ARCH product}
bool UseRTMLocking = false
{ARCH product}
bool UseSHA = false
{product}
bool UseSHM = false
{product}
intx UseSSE = 4
{product}
bool UseSSE42Intrinsics = true
{ARCH product}
bool UseSerialGC = false
{product}
bool UseSharedSpaces = false
{product}
bool UseSignalChaining = true
{product}
bool UseStoreImmI16 = true
{ARCH product}
bool UseStringDeduplication = false
{product}
bool UseSuperWord = true
{C2 product}
bool UseTLAB = true
{pd product}
bool UseThreadPriorities = true
{pd product}
bool UseTransparentHugePages = false
{product}
bool UseTypeProfile = true
{product}
bool UseTypeSpeculation = true
{C2 product}
bool UseUnalignedLoadStores = true
{ARCH product}
bool UseXMMForArrayCopy = true
{product}
bool UseXmmI2D = true
{ARCH product}
bool UseXmmI2F = true
{ARCH product}
bool UseXmmLoadAndClearUpper = true
{ARCH product}
bool UseXmmRegToRegMoveAll = true
{ARCH product}
bool VMThreadHintNoPreempt = false
{product}
intx VMThreadPriority = -1
{product}
intx VMThreadStackSize = 1024
{pd product}
intx ValueMapInitialSize = 11
{C1 product}
intx ValueMapMaxLoopSize = 8
{C1 product}
intx ValueSearchLimit = 1000
{C2 product}
bool VerifyMergedCPBytecodes = true
{product}
bool VerifySharedSpaces = false
{product}
uintx YoungGenerationSizeIncrement = 20
{product}
uintx YoungGenerationSizeSupplement = 80
{product}
uintx YoungGenerationSizeSupplementDecay = 8
{product}
size_t YoungPLABSize = 4096
{product}
bool ZeroTLAB = false
{product}
Starting a new Gradle Daemon for this build: subsequent builds will be
faster
:buildSrc:clean UP-TO-DATE
:buildSrc:compileJava UP-TO-DATE
:buildSrc:compileGroovy
:buildSrc:processResources UP-TO-DATE
:buildSrc:classes
:buildSrc:jar
:buildSrc:assemble
:buildSrc:compileTestJava UP-TO-DATE
:buildSrc:compileTestGroovy UP-TO-DATE
:buildSrc:processTestResources UP-TO-DATE
:buildSrc:testClasses UP-TO-DATE
:buildSrc:test UP-TO-DATE
:buildSrc:check UP-TO-DATE
:buildSrc:build
The @OutputDirectories annotation has been deprecated and is scheduled to
be removed in Gradle 3.0. Please use separate properties for each directory
annotated with @OutputDirectory, or reorganize output under a single output
directory.
[WARN] Skipping Javassist-related tests for hibernate-core due to Javassist
JDK 9 incompatibility
[WARN] Skipping Javassist-related tests for hibernate-envers due to
Javassist JDK 9 incompatibility
[WARN] Skipping all tests for hibernate-hikaricp due to Javassist JDK 9
incompatibility
WARNING - Skipping hibernate-orm-modules tests for Java 9
Configuration(s) specified but the install task does not exist in project
:release.
:documentation:clean
:hibernate-c3p0:clean UP-TO-DATE
:hibernate-core:clean
:hibernate-ehcache:clean UP-TO-DATE
:hibernate-enhance-maven-plugin:clean UP-TO-DATE
:hibernate-entitymanager:clean UP-TO-DATE
:hibernate-envers:clean
:hibernate-gradle-plugin:clean UP-TO-DATE
:hibernate-hikaricp:clean UP-TO-DATE
:hibernate-infinispan:clean UP-TO-DATE
:hibernate-java8:clean UP-TO-DATE
:hibernate-jcache:clean UP-TO-DATE
:hibernate-jpamodelgen:clean UP-TO-DATE
:hibernate-orm-modules:clean UP-TO-DATE
:hibernate-osgi:clean UP-TO-DATE
:hibernate-proxool:clean UP-TO-DATE
:hibernate-spatial:clean
:hibernate-testing:clean UP-TO-DATE
:release:clean
:hibernate-jpamodelgen:jaxb
:hibernate-jpamodelgen:xjc SKIPPED
:hibernate-jpamodelgen:compileJavaNote: Some input files use or override a
deprecated API.
Note: Recompile with -Xlint:deprecation for details.
:hibernate-jpamodelgen:processResources
:hibernate-jpamodelgen:classes
:hibernate-jpamodelgen:jar
:documentation:compileJavawarning: [options] bootstrap class path not set
in conjunction with -source 1.8
Note: Hibernate JPA 2 Static-Metamodel Generator 5.2.3.SNAPSHOT
1 warning
:documentation:processResources
:documentation:classes
:hibernate-core:generateGrammarSource
:hibernate-core:xjc
:hibernate-core:compileJavaNote: Some input files use or override a
deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
:hibernate-core:processResources
:hibernate-core:classes
:hibernate-core:jar
:hibernate-core:generateTestGrammarSource UP-TO-DATE
:hibernate-testing:compileJavaNote: Some input files use or override a
deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
:hibernate-testing:processResources
:hibernate-testing:classes
:hibernate-testing:jar
:hibernate-core:compileTestJavaNote: Some input files use or override a
deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
:hibernate-core:copyBundleResources
:hibernate-core:processTestResources
:hibernate-core:testClasses
:hibernate-core:testJar
:hibernate-ehcache:compileJavaNote: Some input files use or override a
deprecated API.
Note: Recompile with -Xlint:deprecation for details.
:hibernate-ehcache:processResources
:hibernate-ehcache:classes
:hibernate-ehcache:jar
:hibernate-spatial:compileJavaNote: Some input files use or override a
deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
:hibernate-spatial:processResources
:hibernate-spatial:classes
:hibernate-spatial:jar
:documentation:compileTestJavawarning: [options] bootstrap class path not
set in conjunction with -source 1.8
Note: Hibernate JPA 2 Static-Metamodel Generator 5.2.3.SNAPSHOT
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 warning
:documentation:processTestResources
:documentation:testClasses
:documentation:test
:hibernate-c3p0:compileJava
:hibernate-c3p0:processResources
:hibernate-c3p0:classes
:hibernate-c3p0:compileTestJavaNote:
/mnt/jenkins-workdir/workspace/hibernate-orm-master-h2-JDK9/hibernate-c3p0/src/test/java/org/hibernate/test/c3p0/StatementCacheTest.java
uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
:hibernate-c3p0:processTestResources
:hibernate-c3p0:testClasses
:hibernate-c3p0:test
:hibernate-c3p0:buildDashboard
:hibernate-envers:compileJavaNote: Some input files use or override a
deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
:hibernate-envers:processResources
:hibernate-envers:classes
:hibernate-envers:jar
:hibernate-infinispan:compileJavaNote: Some input files use or override a
deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
:hibernate-infinispan:processResources
:hibernate-infinispan:classes
:hibernate-infinispan:jar
:hibernate-infinispan:compileTestJavaNote: Some input files use or override
a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
:hibernate-infinispan:processTestResources
:hibernate-infinispan:testClasses
:hibernate-infinispan:packageTests
:hibernate-infinispan:sourcesTestJar
:hibernate-orm-modules:copyAndExpandModuleXml
:hibernate-orm-modules:createModulesZip
:hibernate-orm-modules:installWildFly
:hibernate-orm-modules:installHibernateModule
:hibernate-orm-modules:prepareWildFlyForTests
:hibernate-core:test
org.hibernate.jpa.test.cdi.BasicCdiTest > classMethod FAILED
org.jboss.arquillian.container.spi.client.container.DeploymentException
Caused by: java.lang.Exception
org.hibernate.test.wf.ddl.WildFlyDdlTest > classMethod FAILED
org.jboss.arquillian.container.spi.client.container.DeploymentException
Caused by: java.lang.Exception
5119 tests completed, 2 failed, 203 skipped
:hibernate-core:test FAILED
:hibernate-core:buildDashboard
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':hibernate-core:test'.
> There were failing tests. See the report at:
file:///mnt/jenkins-workdir/workspace/hibernate-orm-master-h2-JDK9/hibernate-core/target/reports/tests/index.html
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or
--debug option to get more log output.
BUILD FAILED
Total time: 17 mins 37.487 secs
Build step 'Execute shell' marked build as failure
Recording test results
_______________________________________________
hibernate-dev mailing list
hibernate-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev