TestNG build failing when built using latest JDK9
dalibor.topic at oracle.com
Tue Mar 28 14:26:45 UTC 2017
This particular build issue sounds like
https://github.com/gradle/gradle/issues/1431 , i.e. something that will
be fixed in an upcoming release of Gradle.
On 28.03.2017 16:15, dalibor topic wrote:
> Yeah, but the latest build attempt fails in an entirely different way:
> That suggests that the problem is with the environment, for example, or
> its configuration. Let me elaborate:
> Just running CI jobs in the cloud is perfectly pointless if you don't
> control all but one of the variables.
> In this case, the person responsible for this particular CI job seems to
> have set it up to build TestNG off a github tip, giving you one degree
> of variance you can't control, while at the same time also trying to
> build that with whatever is the latest JDK 9 EA build, giving you
> another degree of variance you can't control.
> So instead of being able to have a way to reproduce and analyze issues,
> by being able to do a before/after comparison with a single degree of
> variance, you have a bit of a mess where almost anything can happen from
> build to build, and it gets incredibly hard to figure out what changed
> because you have more than one degree of freedom.
> It's like doing causality analysis on a Dr Who episode involving time
> travel and multiverses ;)
> So instead, my suggestion would be to configure it to only have one
> degree of freedom, while you control for the rest. If that's JDK 9 EA
> builds, then you must keep everything else static, and think hard about
> when to upgrade what release of dependencies, and how to deal with the
> additional variance that introduces.
> dalibor topic
> On 28.03.2017 15:22, Mani Sarkar wrote:
>> Hi Dalibor,
>> That might have been a hard coded string int the echo, if you see down
>> below in the log, it does use JDK 9 EA build 161:
>> JVM: 9-ea (Oracle Corporation 9-ea+161)
>> The latter build jobs report the (echo) message correctly.
>> On Tue, 28 Mar 2017 at 12:02 dalibor topic <dalibor.topic at oracle.com
>> <mailto:dalibor.topic at oracle.com>> wrote:
>> On 25.03.2017 03:04, Mani Sarkar wrote:
>> > Has anyone else come across this elsewhere when build with
>> > what are the next steps in this case?
>> Hi Mani,
>> the build log you posted claims that it's
>> "Downloading JDK9 EA b88"
>> So you may want to double check that first.
>> dalibor topic
>> <http://www.oracle.com> Dalibor Topic | Principal Product Manager
>> Phone: +494089091214 <tel:+49%2040%2089091214> <tel:+494089091214
>> <tel:+49%2040%2089091214>> | Mobile: +491737185961
>> <tel:+491737185961 <tel:+49%20173%207185961>>
>> ORACLE Deutschland B.V. & Co. KG | Kühnehöfe 5 | 22761 Hamburg
>> ORACLE Deutschland B.V. & Co. KG
>> Hauptverwaltung: Riesstr. 25, D-80992 München
>> Registergericht: Amtsgericht München, HRA 95603
>> Komplementärin: ORACLE Deutschland Verwaltung B.V.
>> Hertogswetering 163/167, 3543 AS Utrecht, Niederlande
>> Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697
>> Geschäftsführer: Alexander van der Ven, Jan Schultheiss, Val Maher
>> <http://www.oracle.com/commitment> Oracle is committed to developing
>> practices and products that help protect the environment
>> @theNeomatrix369 <http://twitter.com/theNeomatrix369>* | **Blog
>> <http://neomatrix369.wordpress.com/>** | *LJC Associate & LJC Advocate
>> (@adoptopenjdk & @adoptajsr programs)
>> *Meet-a-Project - *MutabilityDetector
>> <https://github.com/MutabilityDetector>* | **Bitbucket
>> <https://bitbucket.org/neomatrix369>* * | **Github
>> <https://github.com/neomatrix369>* * | **LinkedIn
>> *Come to Devoxx UK 2017:* http://www.devoxx.co.uk/
>> */Don't chase success, rather aim for "Excellence", and success will
>> come chasing after you!/*
<http://www.oracle.com> Dalibor Topic | Principal Product Manager
Phone: +494089091214 <tel:+494089091214> | Mobile: +491737185961
ORACLE Deutschland B.V. & Co. KG | Kühnehöfe 5 | 22761 Hamburg
ORACLE Deutschland B.V. & Co. KG
Hauptverwaltung: Riesstr. 25, D-80992 München
Registergericht: Amtsgericht München, HRA 95603
Komplementärin: ORACLE Deutschland Verwaltung B.V.
Hertogswetering 163/167, 3543 AS Utrecht, Niederlande
Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697
Geschäftsführer: Alexander van der Ven, Jan Schultheiss, Val Maher
<http://www.oracle.com/commitment> Oracle is committed to developing
practices and products that help protect the environment
More information about the adoption-discuss