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

Bump parent pom to 3.54 #170

Closed
wants to merge 3 commits into from

Conversation

slonopotamus
Copy link

No description provided.

@slonopotamus
Copy link
Author

slonopotamus commented Dec 17, 2019

LockStepTest#parallelLock is the same issue as jenkinsci/workflow-cps-plugin#345. Test finishes with builds still running and JMH fails to properly shut it down.

This commit fixes test failure with modern JTH detected by jenkinsci/jenkins-test-harness#166
slonopotamus added a commit to slonopotamus/workflow-support-plugin that referenced this pull request Dec 17, 2019
@slonopotamus
Copy link
Author

LockStepHardKillTest is a different story, it suffers from jenkinsci/workflow-support-plugin#99.

This commit fixes file descriptor leak in `LockStepHardKillTest` that is detected by newer JTH.

All other dependency updates are chain reaction caused by dependency enforcer.
isPaused(b1, 2, 0);

assertNotNull(LockableResourcesManager.get().fromName("resource1"));
j.assertBuildStatusSuccess(r1);
Copy link
Contributor

Choose a reason for hiding this comment

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

Would it help to wait some period of time for the Jenkins instance to become idle? In this example, it would wait up to 9 seconds before ending the test.

Suggested change
j.assertBuildStatusSuccess(r1);
j.assertBuildStatusSuccess(r1);
j.waitUntilNoActivityUpTo(9001); // Allow up to 9 seconds for job to finish

@slonopotamus
Copy link
Author

Answered you in jenkinsci/jenkins-test-harness#166. I haven't given up on this PR, need some more time for investigation.

@@ -5,7 +5,7 @@
<parent>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>plugin</artifactId>
<version>3.47</version>
<version>3.54</version>
Copy link
Contributor

Choose a reason for hiding this comment

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

There is 3.55 now.

Copy link
Contributor

Choose a reason for hiding this comment

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

Even:

Suggested change
<version>3.54</version>
<version>3.57</version>

@TobiX TobiX added chore Maintenance dependencies Dependeny updates and removed chore Maintenance labels Feb 23, 2020
@TobiX
Copy link
Contributor

TobiX commented Feb 26, 2020

@slonopotamus Sorry for trampling over this pull request in master 😅 - Do you still want to get this merged? The updates to test cases look interesting at least...

@slonopotamus
Copy link
Author

I actually forgot why I touched so many dependencies. Possibly this was an effort to fix LockStepHardKillTest.

Need to restart it from scratch.

@slonopotamus slonopotamus changed the title Bump parent pom to 3.54 Bump parent pom to 3.57 Feb 27, 2020
@slonopotamus slonopotamus changed the title Bump parent pom to 3.57 Bump parent pom to 3.54 Feb 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Dependeny updates
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants