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
[JENKINS-68694] Winstone 6.0: Upgrade Jetty from 9.4.46.v20220331 to 10.0.11 #6694
Conversation
bom/pom.xml
Outdated
@@ -40,7 +40,8 @@ THE SOFTWARE. | |||
<properties> | |||
<asm.version>9.3</asm.version> | |||
<slf4jVersion>1.7.36</slf4jVersion> | |||
<stapler.version>1685.v3b_5035c4ce05</stapler.version> | |||
<!-- TODO https://github.com/jenkinsci/stapler/pull/305 --> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -40,7 +40,7 @@ THE SOFTWARE. | |||
<properties> | |||
<asm.version>9.3</asm.version> | |||
<slf4jVersion>1.7.36</slf4jVersion> | |||
<stapler.version>1685.v3b_5035c4ce05</stapler.version> | |||
<stapler.version>1711.v5b_1b_03f0fcf2</stapler.version> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<version>3.1.0</version> | ||
<groupId>jakarta.servlet</groupId> | ||
<artifactId>jakarta.servlet-api</artifactId> | ||
<version>4.0.4</version> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -500,7 +500,7 @@ THE SOFTWARE. | |||
<plugin> | |||
<groupId>org.eclipse.jetty</groupId> | |||
<artifactId>jetty-maven-plugin</artifactId> | |||
<version>9.4.46.v20220331</version> | |||
<version>10.0.11</version> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<groupId>jakarta.servlet.jsp</groupId> | ||
<artifactId>jakarta.servlet.jsp-api</artifactId> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -16,7 +16,7 @@ updates: | |||
# Provided by Jetty and should be aligned with the version provided by the | |||
# version of Jetty we deliver. See: | |||
# https://github.com/jenkinsci/jenkins/pull/5211 | |||
- dependency-name: "javax.servlet:javax.servlet-api" | |||
- dependency-name: "jakarta.servlet:jakarta.servlet-api" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is misleading to me. The most common and generally recommended format is PKCS12, in Java 9 the default keystore type was changed to it. I would instead say takes a "KeyStore", possibly adding (PKCS12 is the recommended type) |
Based on JEP 229, I have updated the proposed upgrade guidelines to read:
|
This PR is now ready for merge. We will merge it after approximately 24 hours if there is no negative feedback. Please see the merge process documentation for more information about the merge process. Thanks! |
Starting with the merged commit, about every other invocation of
|
@daniel-beck No. You are hitting jetty/jetty.project#7970. I was able to chase the problem away by removing the |
Caused https://issues.jenkins.io/browse/JENKINS-68928 (I also hit the issue mentioned above jetty/jetty.project#7970) |
This appears to drop WebSocket support for agents. 2.358-rc32509.a_b_a_473fd8cf7 works, and 2.358-rc32516.ea_3017ea_85a_1 does not.
|
Noting from IRC: @timja noticed
|
Filed on Jira as https://issues.jenkins.io/browse/JENKINS-68933 |
Thanks Daniel, I thought this was covered by test automation in |
…0331 to 10.0.11 (jenkinsci#6694)" This reverts commit ea3017e.
…0331 to 10.0.11 (jenkinsci#6694)" This reverts commit ea3017e.
See JENKINS-68694. Jetty 10.0.x implements Servlet 4.0 (JakartaEE 8/
javax.servlet.*
). The minimum required Java version for Jetty 10 is now Java 11. For more details about the Jetty 10 release, see this Jetty blog post. Winstone 6.0 removes support for OpenSSL-style PEM-encoded RSA private keys in jenkinsci/winstone#232.Testing done
--httpsKeyStore
,--httpsKeyStorePassword
, and--httpsPort
; visited the UI in my browser via TLS and clicked around successfully; build Freestyle and Pipeline jobs; verified Winstone 6.0 is displayed in the About page.jenkins.war
before and after this change; verified that no unexpected JAR files had been added to or removed from the WAR archive.Proposed changelog entries
n/a, being reverted in #6781
Proposed upgrade guidelines
n/a, being reverted in #6781
Submitter checklist
Proposed changelog entries
section only if there are breaking changes or other changes which may require extra steps from users during the upgrade@Restricted
or have@since TODO
Javadoc, as appropriate.@Deprecated(since="TODO")
or@Deprecated(since="TODO", forRemoval=true)
if applicable.Desired reviewers
@mention
Maintainer checklist
Before the changes are marked as
ready-for-merge
:Proposed changelog entries
are accurate, human-readable, and in the imperative moodupgrade-guide-needed
label is set and there is aProposed upgrade guidelines
section in the PR title. (example)lts-candidate
to be considered (see query).