-
Notifications
You must be signed in to change notification settings - Fork 52
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
Drop 2.289.x and 2.303.x lines #1289
Conversation
this is currently blocking due to cycle dependency between plugins
I guess this is what we get for not testing every line 😭 |
Seems only pct-junit test fails on 2.319.x @jglick how do you usually go about testing it? So we can find a resolution? |
figured out testing. Seems to be related to jenkinsci/junit-plugin#362 So either we ignore some tests in junit or backport fix? |
Could also be related to:
Not sure if junit plugin uses jackson2 or if html tests using it. |
and #1275 (comment) |
I think it is fine to ignore a test in an older line if there is reason to believe it is just a technical failure, not an actual incompatibility. |
What drew you to jenkinsci/junit-plugin#362? |
@jglick I have no idea how to read these damn maven logs on jenkins nor locally. 🤯🤯🤯🤯 |
okay it is related to the cyclic dependency: echarts won't load because it depends on jackson2-plugin: |
I do not know. What is the actual plugin loading error? I think this sort of problem in (non- Going forward, I guess we need to be more aggressive about adding to |
For it to work we need https://github.com/jenkinsci/bom/releases/tag/1280.vd669827e38cd in 1.54 |
@jglick is there something |
you should be able to grab the maven test command that is being invoked (it's logged somewhere in the wall of output), let it run and fail once and then edit the local checkout of junit it does in the target folder |
Once I remove the megawar (which has the wrong plugins due to wrong bom version) it works. |
you should be able to do what I did above with the megawar as well and test your fix works end 2 end |
Well I cannot repack the megawar? or I could force? 😓 It seems to do a git checkout during the packing of megawar |
ah erm possibly |
Sure, you can run any tests you like locally quite easily: https://github.com/jenkinsci/bom/#pct (Note that docs ought to mention you can also override |
@timja could you create a branch of junit plugin from tag So we could make backport to bump the diff --git a/pom.xml b/pom.xml
index 5218cc9..e9603af 100644
--- a/pom.xml
+++ b/pom.xml
@@ -192,7 +192,7 @@
<dependency>
<groupId>io.jenkins.tools.bom</groupId>
<artifactId>bom-2.303.x</artifactId>
- <version>1117.v62a_f6a_01de98</version>
+ <version>1280.vd669827e38cd</version>
<scope>import</scope>
<type>pom</type>
</dependency> You can also pick the latest bom to avoid other detached plugins. Another option would be to ignore these tests. Or fix #821 |
Seems to already exist: https://github.com/jenkinsci/junit-plugin/tree/1.54.x |
@timja You created a commit on it that you may remove from history: jenkinsci/junit-plugin@029253b you would want to use MRP to change that right :) |
jenkinsci/junit-plugin@029253b looks wrong @timja: should rather leave |
Seems to have worked anyway: jenkinsci/junit-plugin@cb49499 |
Yeah and jenkinsci/junit-plugin@16fcc7e fixed it up automatically, so net https://github.com/jenkinsci/junit-plugin/compare/1.54.x is reasonable. |
Co-authored-by: Jesse Glick <jglick@cloudbees.com>
this is currently blocking due to cycle dependency between plugins