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

Introduce EdDSA-api plugin #3230

Merged
merged 3 commits into from
May 29, 2024
Merged

Conversation

jtnord
Copy link
Member

@jtnord jtnord commented May 23, 2024

  • Introduce the EdDSA-api plugin
  • Do not pass the Fat War to the JTH to avoid random issues with plugins being present (yet missing classes) that should not be present, or present and unexpected (ie failing when a given system property is set by JTH)

Testing done

None, to be tested in CI

Submitter checklist

  • Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
  • Ensure that the pull request title represents the desired changelog entry
  • Please describe what you did
  • Link to relevant issues in GitHub or Jira
  • Link to relevant pull requests, esp. upstream and downstream changes
  • Ensure you have provided tests - that demonstrates feature works or fixes the issue

as mentioned in the upstream PR that attempted to do this
unconditionally this is broken by design.

the JTH and tests assume that the classpath is correctly setup however
it is not, as demonstrated in the prior commit.

According to Jenkins there is a plugin installed (trilead-api) because
it is in the megawar, however its classess are not in the flat classpath
used by JenkinsRule and thus breakage ensues.

ref: jenkinsci/plugin-compat-tester#470 (comment)
@jtnord jtnord requested a review from a team as a code owner May 23, 2024 09:30
@alecharp alecharp enabled auto-merge (squash) May 23, 2024 09:55
Copy link
Member

@alecharp alecharp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the weekly-test is not reporting issues, this looks good.

@jtnord
Copy link
Member Author

jtnord commented May 23, 2024

If the weekly-test is not reporting issues, this looks good.

I expect issues similar to this (for which an issue will be filed along with a fix)

@alecharp
Copy link
Member

Just as you said, it fails exactly where you said it would.

@jglick jglick added the enhancement New feature or request label May 23, 2024
auto-merge was automatically disabled May 23, 2024 11:18

Head branch was pushed to by a user without write access

@jtnord
Copy link
Member Author

jtnord commented May 23, 2024

Happy to split 72bada7 into a separate PR (or indeed for someone to want to run a full build on this).

The same fix has been run in a full mode in #3218 (which has eddsa-api plugin as well as incrementals of mina-api and trilead-api)

jglick
jglick previously requested changes May 23, 2024
pct.sh Outdated Show resolved Hide resolved
@jtnord jtnord mentioned this pull request May 23, 2024
6 tasks
@jglick
Copy link
Member

jglick commented May 23, 2024

The particular error mentioned in #3231 could be solved in email-ext by switching MailAccountFIPSTest to use JenkinsSessionRule and then Assume that the megawar property is unset before continuing with the test (then).

pct.sh Outdated Show resolved Hide resolved
@@ -33,6 +33,10 @@
<groupId>io.jenkins.plugins</groupId>
<artifactId>byte-buddy-api</artifactId>
</dependency>
<dependency>
<groupId>io.jenkins.plugins</groupId>
<artifactId>eddsa-api</artifactId>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note: the original intent of this file was to include only dependencies that were actually used “naturally”, not transitive deps. This was never mechanically enforced, though, and has proven difficult to manage: #683

@jglick jglick enabled auto-merge (squash) May 29, 2024 13:44
@jglick jglick merged commit 4b5f541 into jenkinsci:master May 29, 2024
184 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request weekly-test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants