[INFRA-2086] - Switching ci.jenkins.io builds to AdoptOpenJDK

12 views
Skip to first unread message

Oleg Nenashev

unread,
May 2, 2019, 9:12:21 AM5/2/19
to JenkinsCI Developers, Jenkins Platform SIG
Hi all,

As you may have noticed, last weekend many CI jobs in the core and plugins were failing due to the unavailability of OpenJDK downloads from https://download.java.net (see INFRA-2086). After the discussion with the Jenkins INFRA team, we have a proposal to switch ci.jenkins.io to AdoptOpenJDK by default.

Background: The issue happened due to the misconfigured certificate on the instance. Windows agents on ci.jenkins.io download JDK11 on-demand by accessing the external website (not the best practice for sure). The OpenJDK download site was down for almost 4 days. Although the service is recovered now, this is a concern for the future. It is not a first time when the Oracle's infrastructure impacts Jenkins developers and users (e.g. JDK tool Installers last year). JDK downloads by URL may also break at any moment. Also, there is a constant concern about Oracle changing usage policies (e.g. restricted access to new OpenJDK 8 builds and so on). You can find more context in the INFRA team meeting notes from April 30 .

Why AdoptOpenJDK?
  • The releases are distributed from GitHub, so they are more stable even if we continue downloading JDKs by URL. We also already have a lot of dependencies on GitHub services in our infrastructure
  • AdoptOpenJDK ships all Java configurations (Linux/Windows, Java 8/11) and the required Docker images
  • AdoptOpenJDK passes all standard JVM/JDK certification suites (powered by Jenkins, of course: https://ci.adoptopenjdk.net/ )
So the proposal on the table is to start using AdoptOpenJDK in our build flows, at least for builds outside Docker. Development Docker images and Dockerized Linux agents are also under consideration. Official Jenkins Docker images will stay intact, a separate discovery and JEP would be needed for it.

Before we move forward, it would be great to get feedback from plugin maintainers and other contributors. Any comments and proposals will be much appreciated.

Best regards,
Oleg Nenashev

Slide

unread,
May 2, 2019, 9:14:22 AM5/2/19
to Oleg Nenashev, JenkinsCI Developers, Jenkins Platform SIG
+1 from me on this, I have switched to AdoptOpenJDK at work for pretty much everything and it seems to work great.

--
You received this message because you are subscribed to the Google Groups "Jenkins Platform SIG" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkins-platform...@googlegroups.com.
To post to this group, send email to jenkins-pl...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkins-platform-sig/CAPfivLDvRFyxYKwMTrTtpd1J-AFD%3Dja6hRVOwsqB1iYovOCf8A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


--

Mark Waite

unread,
May 2, 2019, 9:18:03 AM5/2/19
to Slide, Oleg Nenashev, JenkinsCI Developers, Jenkins Platform SIG
+1 from me.


For more options, visit https://groups.google.com/d/optout.


--
Thanks!
Mark Waite

Durgadas Kamath

unread,
May 2, 2019, 10:09:05 AM5/2/19
to Mark Waite, Slide, Oleg Nenashev, JenkinsCI Developers, Jenkins Platform SIG
Just to add , We observed that Jenkins performed much faster on platforms like s390x on AdoptJDK as compared to OpenJDK.

Regards,
Durgadas

___________________________________________

Message has been deleted

imdur...@gmail.com

unread,
May 3, 2019, 6:41:13 AM5/3/19
to Jenkins Platform SIG
We should use Adopt JDK for Dockerfile as well. Is there any reason that is preventing this ?

Vernin Olivier

unread,
May 3, 2019, 7:31:47 AM5/3/19
to jenkins-pl...@googlegroups.com
We should use Adopt JDK for Dockerfile as well. Is there any reason that is preventing this ?

We started discussing about it during the last jenkins infra meeting and while we all agreed that Dockerfile-jdk11 should be using adoptopenjdk as well, we didn't decide on a battle plan.

Olivier

---
gpg --keyserver keys.gnupg.net --recv-key 52210D3D
---
--
You received this message because you are subscribed to the Google Groups "Jenkins Platform SIG" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkins-platform...@googlegroups.com.
To post to this group, send email to jenkins-pl...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages