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

Test Jenkins weekly 2.477-rc35351.239ced05a_fca_ #3574

Closed

Conversation

MarkEWaite
Copy link
Contributor

@MarkEWaite MarkEWaite commented Sep 14, 2024

Test Jenkins weekly 2.477-rc35351.239ced05a_fca_

7ff5aaa0 is the most recent commit included in the build.

Script security plugin test failure fix is being proposed as:

Blue ocean will need to be adapted to JGit 7.0.0. Pull request being proposed is:

Analysis model API plugin reverted in this test pull request. That is tracked as:

  • JENKINS-73776 - Plugin BOM tests fail with analysis model API 12.5.0

Testing done

Ran InjectedTest with git client plugin and confirmed it passed.

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

@MarkEWaite MarkEWaite requested a review from a team as a code owner September 14, 2024 02:34
@MarkEWaite MarkEWaite marked this pull request as draft September 14, 2024 02:39
@MarkEWaite MarkEWaite changed the title Test latest Jenkins weekly 2.477-rc35350.7ff5a_a_a_0fdc3 Test Jenkins weekly 2.477-rc35350.7ff5a_a_a_0fdc3 Sep 14, 2024
@MarkEWaite
Copy link
Contributor Author

MarkEWaite commented Sep 14, 2024

@uhafner I don't understand the test failures from the analysis model API plugin 12.5.0 release. They seem to be connected to a message that says:

WARNING	h.m.AbstractBuild$AbstractBuildExecution#reportError: Step ‘Record compiler warnings and static analysis results’ aborted 
due to exception: 
java.lang.IncompatibleClassChangeError: class org.objectweb.asm.tree.ClassNode has interface org.objectweb.asm.ClassVisitor as super class

Could you investigate to see if you can identify the root cause of the issue?

I can duplicate the issue from this pull request locally after I revert the downgrade of analysis-model-api with the command:

LINE=weekly PLUGINS=warnings-ng TEST=MatrixJobITest bash local-test.sh

The set of all test failures can be duplicated with (in case that is helpful):

LINE=weekly PLUGINS=warnings-ng TEST=MatrixJobITest,MiscIssuesRecorderITest,PackageDetectorsITest,ParsersITest,RemoteApiITest bash local-test.sh

@uhafner
Copy link
Member

uhafner commented Sep 14, 2024

I will check. In the latest release I replaced my dependency to asm with the asm-api plugin. Maybe this change is not compatible?

@MarkEWaite
Copy link
Contributor Author

MarkEWaite commented Sep 14, 2024

I will check. In the latest release I replaced my dependency to asm with the asm-api plugin. Maybe this change is not compatible?

I think that asm API is related. Does the analysis model API plugin 12.5.0 depend on asm API 9.7-33.v4d23ef79fcc8? That is the version included in the plugin bom.

Answering my question: The Maven dependency tree shows that the asm-api version in analysis-model-api 12.5.0 is 9.7-33.v4d23ef79fcc8 and that is the same as is included in the plugin BOM.

@MarkEWaite
Copy link
Contributor Author

I've submitted JENKINS-73776 to track the issue. Thanks in advance for your investigation @uhafner !

@uhafner
Copy link
Member

uhafner commented Sep 14, 2024

Maybe the problem is, that the warnings plugin does not yet depend on anlysis-model 12.5.0 yet?

@MarkEWaite
Copy link
Contributor Author

Maybe the problem is, that the warnings plugin does not yet depend on anlysis-model 12.5.0 yet?

That is a very good idea. Is there an incremental build of the warnings plugin that depends on analysis model 12.5.0?

@uhafner
Copy link
Member

uhafner commented Sep 14, 2024

Not yet, but soon:

jenkinsci/warnings-ng-plugin#1824

@MarkEWaite MarkEWaite changed the title Test Jenkins weekly 2.477-rc35350.7ff5a_a_a_0fdc3 Test Jenkins weekly 2.477-rc35351.239ced05a_fca_ Sep 16, 2024
@MarkEWaite MarkEWaite added full-test Test all LTS lines in this PR and do not halt upon first error. and removed weekly-test labels Sep 17, 2024
Pinning the new version on older releases may tell us something
@MarkEWaite
Copy link
Contributor Author

Last change was incorrect

@basil
Copy link
Member

basil commented Sep 18, 2024

I will check. In the latest release I replaced my dependency to asm with the asm-api plugin. Maybe this change is not compatible?

@uhafner ASM was not removed from Jenkins core until jenkinsci/jenkins#9182 in 2.455 (2.462.1 LTS), so using the ASM library plugin with older baselines will create conflicts between the ASM provided by the library plugin and the ASM provided by Jenkins core. I would recommend reverting the change to use the ASM library plugin until your baseline is 2.462.1 LTS or later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
full-test Test all LTS lines in this PR and do not halt upon first error.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants