Skip to content
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

Weekly release 2.352/2.353/2.354 is failing #2978

Closed
dduportal opened this issue Jun 8, 2022 · 9 comments
Closed

Weekly release 2.352/2.353/2.354 is failing #2978

dduportal opened this issue Jun 8, 2022 · 9 comments

Comments

@dduportal
Copy link
Contributor

The weekly release 2.352, planned for the 6th of June 2022 failed.

Given that they were multiple causes, this issue is to track these causes and associated changes to share knowledge and for audit purposes.

@github-actions github-actions bot added the triage Incoming issues that need review label Jun 8, 2022
@dduportal dduportal added this to the infra-team-sync-2022-06-14 milestone Jun 8, 2022
@basil basil removed their assignment Jun 8, 2022
@dduportal
Copy link
Contributor Author

First issue was the "global weekly release job (defined by https://github.com/jenkins-infra/release/blob/master/Jenkinsfile.d/core/weekly) that failed to allocate a pod agent.

Root cause was jenkins-infra/kubernetes-management#2468 (Jenkins URL defined in the configuration was changed to map with what was done in infra.ci but DNS configuration are different between clusters).
Fix done in jenkins-infra/kubernetes-management#2473

@dduportal
Copy link
Contributor Author

Then, the "release" job (defined by https://github.com/jenkins-infra/release/blob/master/Jenkinsfile.d/core/release) was also failing to start a pod agent.

Root cause is https://github.com/jenkins-infra/docker-packaging/pull/36/files#diff-dd2c0eb6ea5cfc6c4bd4eac30934e2d5746747af48fef6da689e85b752f39557R96 : the JAVA_HOME for JDK11 (used to start the agent process) was changed while removing the JDK8 from the image.
Fix done in jenkins-infra/release#238 by removing the explicit path to the java binary for agent startup: relying on the PATH instead.

@dduportal
Copy link
Contributor Author

dduportal commented Jun 8, 2022

Then, we had an issue when preparing the signing system with the following kind of error message, during the release job execution:

+ openssl pkcs12 <redacted>
Error outputting keys and certificates
40270330917F0000:error:0308010C:digital envelope routines:inner_evp_generic_fetch:unsupported:../crypto/evp/evp_fetch.c:349:Global default library context, Algorithm (RC2-40-CBC : 0), Properties ()

Root cause is https://github.com/jenkins-infra/docker-packaging/pull/33/files#diff-dd2c0eb6ea5cfc6c4bd4eac30934e2d5746747af48fef6da689e85b752f39557R7 which changes the Docker image Ubuntu version from 18.04 to 22.04.
Fix (short term) done in jenkins-infra/release#239 to use the legacy cipher.

@dduportal
Copy link
Contributor Author

Some preliminary work was done before the release by @timja in jenkinsci/packaging#317 that caught the following elements before the failing release:

@dduportal
Copy link
Contributor Author

Next release pipeline failed during the "Push Commits" stage while the script release.bash was trying to get last commits to reconcile with its local git tree.

Notified and explained by @basil in jenkins-infra/docker-packaging#33 (comment)

@dduportal
Copy link
Contributor Author

dduportal commented Jun 10, 2022

Then, a set of Maven issues happenned.

First of all, thanks @basil for https://github.com/jenkins-infra/release/pull/240/files that helped (and will help) to diagnose \o/

Issue was related with the Javadoc, not generated as expected due to the behavioral change after the JDK8 -> JDK11 upgrade

@dduportal
Copy link
Contributor Author

Next issue occured during the packaging step:

@dduportal dduportal added release and removed triage Incoming issues that need review labels Jun 10, 2022
@dduportal dduportal changed the title Weekly release 2.352 is failing Weekly release 2.352/2.353/2.354 is failing Jun 10, 2022
@github-actions github-actions bot added the triage Incoming issues that need review label Jun 10, 2022
@dduportal
Copy link
Contributor Author

@dduportal
Copy link
Contributor Author

Opened jenkins-infra/release#248 to backport on the LTS line

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants