-
-
Notifications
You must be signed in to change notification settings - Fork 9.3k
[JENKINS-75409] Write a core it test for -noCertificateCheck and -cert for inbound agents #10396
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-75409] Write a core it test for -noCertificateCheck and -cert for inbound agents #10396
Conversation
|
Yay, your first pull request towards Jenkins core was created successfully! Thank you so much! |
test/src/test/java/jenkins/agents/TLSCustomCertificateTest.java
Outdated
Show resolved
Hide resolved
test/src/test/java/jenkins/agents/InboundAgentTlsCliArgumentTest.java
Outdated
Show resolved
Hide resolved
|
Please take a moment and address the merge conflicts of your pull request. Thanks! |
…om-ssl-cert-cli-arg-test
|
not sure if Retriggered the CI by sending empty commit. |
|
failed again on JDK17 (passes on JDK21); checking 👀 Previously failed was, |
|
both case assertions are same, seems like flake tests - as each of these succeeded once and failed again. It seems like the CLI's disconnect command terminating agent - may not always gracefully terminate the agent (?) and |
|
for the flake fix, there was a PR merged #10307 |
|
Please take a moment and address the merge conflicts of your pull request. Thanks! |
|
Noted about the flakey tests in https://issues.jenkins.io/browse/JENKINS-75456 will work on that first, and then come back to this task. |
|
Deflaking tests PR: #10425 |
|
Please take a moment and address the merge conflicts of your pull request. Thanks! |
will wait #10455 to merge as that contains the upstream changes required |
|
This PR is ready |
timja
left a comment
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.
LGTM
|
/label ready-for-merge This PR is now ready for merge, after ~24 hours, we will merge it if there's no negative feedback. |
A1exKH
left a comment
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.
LGTM.
See JENKINS-75409
This PR adds an integration test for remoting
-noCertificateCheckand-cert.It is being added in the context of fixing - upstream remoting issue jenkinsci/remoting#786
Testing done
3 Tests (
webSocketNoCertificateCheck,webSocketWithCertByValue,tcpWithCertByValue) are is expected to fail until the upstream remoting incremental build referred. Then tests are expected to succeed.Proposed changelog entries
https.Proposed changelog category
/label skip-changelog
Proposed upgrade guidelines
N/A
Submitter checklist
@Restrictedor have@since TODOJavadocs, as appropriate.@Deprecated(since = "TODO")or@Deprecated(forRemoval = true, since = "TODO"), if applicable.evalto ease future introduction of Content Security Policy (CSP) directives (see documentation).Desired reviewers
@jglick , @Vlatombe
Before the changes are marked as
ready-for-merge:Maintainer checklist
upgrade-guide-neededlabel is set and there is a Proposed upgrade guidelines section in the pull request title (see example).lts-candidateto be considered (see query).