-
-
Notifications
You must be signed in to change notification settings - Fork 350
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update infrastructure to Java 11 (Jenkins, etc) #4192
Comments
Indeed spoon-maven-plugin's CI fails with 11: SpoonLabs/spoon-maven-plugin#80 |
Spoon-maven-plugin in Java 11 merged: SpoonLabs/spoon-maven-plugin#80 |
Now problem with classloader, WIP at SpoonLabs/spoon-maven-plugin#104 |
SpoonLabs/spoon-maven-plugin#104 merged! |
Next step to fix SOS is #4206 |
FYI, updated the website deployer action to Java 11 SpoonLabs/SpoonLabs.github.io@eb426c2 |
Bukkit is green again: https://ci.inria.fr/sos/job/Bukkit/2101/ |
Java8-workshop is green again: https://ci.inria.fr/sos/job/Java8%20Workshop/2228/ |
AssertJ is green again: https://ci.inria.fr/sos/job/AssertJ/1852/display/redirect |
The other failures are due to the projects under test not being Java 11 compatible. The changes in spoon-maven-plugin seem OK, I'll publish spoon-maven-plugin 3.5. |
Added new Java 11 job https://ci.inria.fr/sos/job/JWT4B/ (from useful @khaes-kth's list of Java 11 compatible projects: https://github.com/khaes-kth/Sorald-experiments/blob/master/considered_repos_stats.csv) |
Casper now works on Java 11: https://ci.inria.fr/sos/job/casper/1794/console Changelog:
Reference: Spirals-Team/casper@cb193c6 |
NPEFix is green again: https://ci.inria.fr/sos/job/npefix/1724/console (the problem was jacoco compatibility) |
New job jtar is green: https://ci.inria.fr/sos/job/jtar/17/ |
Dislrucache is green again: https://ci.inria.fr/sos/job/DiskLruCache/2234/ |
Jimfs is green again https://ci.inria.fr/sos/job/Jimfs/1809/console |
Jsoup is green again https://ci.inria.fr/sos/job/Jsoup/1846/ |
Google Guice is green again: https://ci.inria.fr/sos/job/Google%20Guice/1898/display/redirect |
Joda time is green again: https://ci.inria.fr/sos/job/Joda%20Time/1866/ Had to remove two tests which are JVM dependent in a hard-coded manner, with no good support for Java 11: public void testGetName_berlin_english() {
DateTimeZone berlin = DateTimeZone.forID("Europe/Berlin");
if (JDK9) {
assertEquals("Central European Standard Time", berlin.getName(TEST_TIME_WINTER, Locale.ENGLISH));
} else {
assertEquals("Central European Time", berlin.getName(TEST_TIME_WINTER, Locale.ENGLISH));
}
assertEquals("Central European Summer Time", berlin.getName(TEST_TIME_SUMMER, Locale.ENGLISH));
}
public void testGetName_berlin_german() {
DateTimeZone berlin = DateTimeZone.forID("Europe/Berlin");
if (JDK9) {
assertEquals("Mitteleurop\u00e4ische Normalzeit", berlin.getName(TEST_TIME_WINTER, Locale.GERMAN));
assertEquals("Mitteleurop\u00e4ische Sommerzeit", berlin.getName(TEST_TIME_SUMMER, Locale.GERMAN));
} else if (JDK6PLUS) {
assertEquals("Mitteleurop\u00e4ische Zeit", berlin.getName(TEST_TIME_WINTER, Locale.GERMAN));
assertEquals("Mitteleurop\u00e4ische Sommerzeit", berlin.getName(TEST_TIME_SUMMER, Locale.GERMAN));
} else {
assertEquals("Zentraleurop\u00e4ische Zeit", berlin.getName(TEST_TIME_WINTER, Locale.GERMAN));
assertEquals("Zentraleurop\u00e4ische Sommerzeit", berlin.getName(TEST_TIME_SUMMER, Locale.GERMAN));
}
} |
Google Guava is green again: https://ci.inria.fr/sos/job/Guava/1869/ |
Commons-lang is green again: https://ci.inria.fr/sos/job/Commons-lang/1871/ (the fix was to consider a newer commit) |
Commons Codec is green again: https://ci.inria.fr/sos/job/Commons-codec/2251/ (the fix was to consider a newer commit which is jacoco-java11-compatible) |
Commons Collections is green again: https://ci.inria.fr/sos/job/Commons-collections/2258/ (the fix was to consider a newer commit which is jacoco-java11-compatible) |
Dropwizard is green: https://ci.inria.fr/sos/job/Dropwizard/2255/ Had to fix the test environment for compiling and testing 2016 code today: spoon-bot/dropwizard@879f32c |
Mimecraft is green again (simply by setting the JVM to 11): https://ci.inria.fr/sos/job/Mimecraft/2242/ |
Javawriter is green again: https://ci.inria.fr/sos/job/JavaWriter/2245/console Fix:
Reference: monperrus/javapoet@1d58d18 |
Nopol is now green with Java 11: |
Dspot is green again, full Java 11: https://ci.inria.fr/sos/job/dspot/ |
The whole CI infrastructure is now Java 11+, see Github Actions and https://ci.inria.fr/sos/. Thus, we can close. |
That's a big milestone. Nicely done @monperrus . |
In our CI https://ci.inria.fr/sos/, we now run spoon-maven-plugin with Java 11.
However, it crashes with
Ref: https://ci.inria.fr/sos/job/Google%20Guice/1846/console
The text was updated successfully, but these errors were encountered: