[hibernate-dev] JDK9 / WildFly / Validator issue with Search CI job

Sanne Grinovero sanne at hibernate.org
Wed Jan 20 08:40:43 EST 2016


Thanks for identifying HV-1048 !

About the failsafe plugin: I'll run some tests, but I'm not sure if
it's just a maven problem as when running it locally it "fails as
expected".
Does it work for you all when running locally?

Sanne

On 20 January 2016 at 11:39, Gunnar Morling <gunnar at hibernate.org> wrote:
> Maybe you hit that one: "Failsafe project does not fail in verify
> phase when a test case object errors during initialization" [1]. Fixed
> in 2.19.
>
> --Gunnar
>
> [1] https://issues.apache.org/jira/browse/SUREFIRE-1127
>
>
>
> 2016-01-20 12:35 GMT+01:00 Gunnar Morling <gunnar at hibernate.org>:
>> Concerning the original error, we are bitten by the changed version
>> number scheme in JDK 9 (we evaluate the Java version to enable
>> specific code when running on JDK 8 or later): We are expecting a
>> dot-separated version string such as "1.8.0", but JDK 9 returns only
>> "9" as proposed by JEP 223 [1].
>>
>> I've filed HV-1048 [2] for that.
>>
>> Regarding the Maven/Jenkins issue I am not fully sure, the FailSafe
>> plug-in detects "There are test failures" during the verify phase but
>> for some reason it doesn't fail the build. It's an issue on the Maven
>> side, not Jenkins; Test failure just mark a build (of Maven job type)
>> as unstable (yellow), not as failed (red). Maybe you try the latest
>> FailSafe version (2.19.1)?
>>
>> --Gunnar
>>
>> [1] http://openjdk.java.net/jeps/223
>> [2] https://hibernate.atlassian.net/browse/HV-1048
>>
>>
>> 2016-01-20 11:36 GMT+01:00 Sanne Grinovero <sanne at hibernate.org>:
>>> I'm puzzled.
>>> There seems to be a javax.validation related issue which is failing
>>> the integration tests running on Arquillian / WildFly for the
>>> Hibernate Search / WildFly tests on JDK9.
>>>
>>> http://ci.hibernate.org/view/JDK9/job/hibernate-search-master-jdk9/291/console
>>>
>>> But more importantly.. anyone has a clue on why the build is marked as
>>> "SUCCESS" ?
>>>
>>> You actually have to notice the failures in the logs to figure out
>>> that it's not successful at all;
>>> search for "java.lang.ArrayIndexOutOfBoundsException" in the console logs.
>>>
>>> Sanne
>>> _______________________________________________
>>> hibernate-dev mailing list
>>> hibernate-dev at lists.jboss.org
>>> https://lists.jboss.org/mailman/listinfo/hibernate-dev


More information about the hibernate-dev mailing list