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

Attempt to fix flaky test #285

Merged
merged 1 commit into from
Oct 16, 2024
Merged

Attempt to fix flaky test #285

merged 1 commit into from
Oct 16, 2024

Conversation

basil
Copy link
Member

@basil basil commented Oct 16, 2024

https://ci.jenkins.io/job/Plugins/job/workflow-support-plugin/job/master/163/testReport/junit/org.jenkinsci.plugins.workflow.test.steps/SemaphoreStepTest/linux_21___Build__linux_21____hardKill/ failed with

java.io.IOException: /home/jenkins/agent/workspace/s_workflow-support-plugin_master/target/tmp/j h14150005493844980562/jobs/p/builds/1/atomic5693325650616074372tmp
	at org.jvnet.hudson.test.TemporaryDirectoryAllocator.delete(TemporaryDirectoryAllocator.java:144)
	at org.jvnet.hudson.test.TemporaryDirectoryAllocator.delete(TemporaryDirectoryAllocator.java:131)
	at org.jvnet.hudson.test.TemporaryDirectoryAllocator.delete(TemporaryDirectoryAllocator.java:131)
	at org.jvnet.hudson.test.TemporaryDirectoryAllocator.delete(TemporaryDirectoryAllocator.java:131)
	at org.jvnet.hudson.test.TemporaryDirectoryAllocator.delete(TemporaryDirectoryAllocator.java:131)
	at org.jvnet.hudson.test.TemporaryDirectoryAllocator.dispose(TemporaryDirectoryAllocator.java:99)
	at org.jvnet.hudson.test.TestEnvironment.dispose(TestEnvironment.java:84)
	at org.jvnet.hudson.test.JenkinsRule.after(JenkinsRule.java:535)
	at org.jvnet.hudson.test.JenkinsRule$1.evaluate(JenkinsRule.java:673)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
	at java.base/java.lang.Thread.run(Thread.java:1583)
Caused by: java.nio.file.DirectoryNotEmptyException: /home/jenkins/agent/workspace/s_workflow-support-plugin_master/target/tmp/j h14150005493844980562/jobs/p/builds/1
	at java.base/sun.nio.fs.UnixFileSystemProvider.implDelete(UnixFileSystemProvider.java:289)
	at java.base/sun.nio.fs.AbstractFileSystemProvider.deleteIfExists(AbstractFileSystemProvider.java:109)
	at java.base/java.nio.file.Files.deleteIfExists(Files.java:1191)
	at org.jvnet.hudson.test.TemporaryDirectoryAllocator.delete(TemporaryDirectoryAllocator.java:141)
	... 10 more

@basil basil added the tests label Oct 16, 2024
@basil basil requested a review from a team as a code owner October 16, 2024 18:17
@basil basil changed the title Attempt to fix flaky test on Windows Attempt to fix flaky test Oct 16, 2024
@jglick jglick enabled auto-merge October 16, 2024 18:19
@basil basil disabled auto-merge October 16, 2024 18:23
@basil basil merged commit f51d22b into jenkinsci:master Oct 16, 2024
17 checks passed
@basil basil deleted the flaky branch October 16, 2024 18:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants