Note: when resolving this task, update the Java section at https://www.mediawiki.org/wiki/Continuous_integration/Language_Versions_Policy
This task is to phase out support for Java 8 from the CI Jenkins jobs triggered by Zuul. They are defined in https://gerrit.wikimedia.org/g/integration/config/
The reason is OpenJDK 8 is not present in Debian Buster (released in July 2019, EOL since August 2022) and we forward ported it. As we would like to phase out Debian Buster images from CI, it looks like we should remove support for Java 8 as a prerequisite.
OpenJDK 11 was introduced in Buster, is in Bullseye and is not in Bookworm (which comes with Java 17).
As an alternative, we can migrate the CI images from Buster → Bullseye since we forward ported Java 8 there as well (bullseye-wikimedia component/jdk8).
Repositories triggering at least one job having java8 in its name:
Gerrit project | Java 11 jobs? | Comment |
---|---|---|
analytics/gobblin-wmf | Added by Gerrit 974196 | Fails to build due to a Maven repo not being allowed to fetch eigenbase:eigenbase-properties |
analytics/wmde/toolkit-analyzer | No | Archive? T351291 |
integration/gearman-java | Yes | |
mediawiki/tools/mwdumper | No | Requested archival with T351228 |
Done
Repositories that have been investigated with either outcome:
- Stick to Java 8
- Java 11 jobs added on top of existing Java 8 jobs
- CI Migrated from Java 8 to Java 11
- Project got archived
Gerrit project | Java 11 jobs? | Comment |
---|---|---|
analytics/refinery/source | No (doc: Gerrit 973089) | No plans for upgrading to Java 11. |
Yes | Archived project (Gerrit 974205) | |
No | Archived project (Gerrit 974199 | |
search/cirrus-streaming-updater | Yes | javadoc fix for T351413 Gerrit #975805 |
search/extra-analysis | Added by Gerrit 973083 | already running on Java 11 in production |
search/extra | Added by Gerrit 973083 | already running on Java 11 in production |
search/glent | Added by Gerrit 973083 | is a spark job so have to remain java8 compatible but can be made java11 ready |
search/highlighter | Added by Gerrit 973083 | already running on Java 11 in production |
wikimedia/discovery/discovery-maven-tool-configs | 8 → 11 by Gerrit 974488 | trivial to migrate |
wikimedia/discovery/discovery-parent-pom | 8 → 11 by Gerrit 974488 | trivial to migrate |
wikidata/query/blazegraph | No (doc: Gerrit 973088) | We rarely need to build Blazegraph itself. It would be nice to keep a working CI in case we need it, but if needed, we can disable those jobs |
wikidata/query/rdf | No (doc: Gerrit 973088) | Blazegraph is not running on Java 11 and is unlikely to ever be |
wikimedia-event-utilities | Added by Gerrit 975800 | |
wmf-jvm-utils | Added by Gerrit 975352 | javadoc not found: T351413 |