[JIRA] [core] (JENKINS-21977) "java.io.IOException: Failed to clean up temp dirs" because of "secret.key"

2016-05-13 Thread scm_issue_l...@java.net (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 SCM/JIRA link daemon commented on  JENKINS-21977 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: "java.io.IOException: Failed to clean up temp dirs" because of "secret.key"  
 
 
 
 
 
 
 
 
 
 
Code changed in jenkins User: Christian Pönisch Path: pom.xml http://jenkins-ci.org/commit/ecutest-plugin/4a549de09840044b72ca8d21ff8c7c513447d143 Log: disable injected tests 
 

due to failed clean up of temporary files (

JENKINS-21977
)
 
 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [core] (JENKINS-21977) "java.io.IOException: Failed to clean up temp dirs" because of "secret.key"

2016-02-01 Thread scm_issue_l...@java.net (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 SCM/JIRA link daemon commented on  JENKINS-21977 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: "java.io.IOException: Failed to clean up temp dirs" because of "secret.key"  
 
 
 
 
 
 
 
 
 
 
Code changed in jenkins User: Nicolas BACOT Path: pom.xml http://jenkins-ci.org/commit/mattermost-plugin/43909e6e1161b2964e9235e86f7ee6fdd1943480 Log: Align with Jenkins 1.579 to include fix 

JENKINS-21977
 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [core] (JENKINS-21977) java.io.IOException: Failed to clean up temp dirs because of secret.key

2015-03-05 Thread fernando.migue...@gmail.com (JIRA)














































Fernando Miguelez
 commented on  JENKINS-21977


java.io.IOException: Failed to clean up temp dirs because of secret.key















This issue is still happening with plugin artifact version 1.565.3. This is the error log:

testCliSanity(org.jvnet.hudson.test.PluginAutomaticTestBuilder$CliSanityTest)  Time elapsed: 3.411 sec   ERROR!
java.io.IOException: Failed to clean up temp dirs
	at org.jvnet.hudson.test.TemporaryDirectoryAllocator.dispose(TemporaryDirectoryAllocator.java:86)
	at org.jvnet.hudson.test.TestEnvironment.dispose(TestEnvironment.java:82)
	at org.jvnet.hudson.test.HudsonTestCase.tearDown(HudsonTestCase.java:415)
	at junit.framework.TestCase.runBare(TestCase.java:140)
	at org.jvnet.hudson.test.HudsonTestCase.runBare(HudsonTestCase.java:293)
	at junit.framework.TestResult$1.protect(TestResult.java:111)
	at junit.framework.TestResult.runProtected(TestResult.java:128)
	at junit.framework.TestResult.run(TestResult.java:113)
	at junit.framework.TestCase.run(TestCase.java:125)
	at junit.framework.TestSuite.runTest(TestSuite.java:244)
	at junit.framework.TestSuite.run(TestSuite.java:238)
	at junit.framework.TestSuite.runTest(TestSuite.java:244)
	at junit.framework.TestSuite.run(TestSuite.java:238)
	at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84)
	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:265)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
Caused by: java.io.IOException: Unable to delete C:\Users\BIFMP\AppData\Local\Temp\hudson904814839125359448test\secret.key
	at hudson.Util.deleteFile(Util.java:254)
	at hudson.Util.deleteRecursive(Util.java:301)
	at hudson.Util.deleteContentsRecursive(Util.java:203)
	at hudson.Util.deleteRecursive(Util.java:292)
	at hudson.FilePath$12.invoke(FilePath.java:1085)
	at hudson.FilePath$12.invoke(FilePath.java:1082)
	at hudson.FilePath.act(FilePath.java:920)
	at hudson.FilePath.act(FilePath.java:893)
	at hudson.FilePath.deleteRecursive(FilePath.java:1082)
	at org.jvnet.hudson.test.TemporaryDirectoryAllocator.dispose(TemporaryDirectoryAllocator.java:81)
	at org.jvnet.hudson.test.TestEnvironment.dispose(TestEnvironment.java:82)
	at org.jvnet.hudson.test.HudsonTestCase.tearDown(HudsonTestCase.java:415)
	at junit.framework.TestCase.runBare(TestCase.java:140)
	at org.jvnet.hudson.test.HudsonTestCase.runBare(HudsonTestCase.java:293)
	at junit.framework.TestResult$1.protect(TestResult.java:111)
	at junit.framework.TestResult.runProtected(TestResult.java:128)
	at junit.framework.TestResult.run(TestResult.java:113)
	at junit.framework.TestCase.run(TestCase.java:125)
	at junit.framework.TestSuite.runTest(TestSuite.java:244)
	at junit.framework.TestSuite.run(TestSuite.java:238)
	at junit.framework.TestSuite.runTest(TestSuite.java:244)
	at junit.framework.TestSuite.run(TestSuite.java:238)
	at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84)
	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:265)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more 

[JIRA] [core] (JENKINS-21977) java.io.IOException: Failed to clean up temp dirs because of secret.key

2015-03-05 Thread simon....@gmail.com (JIRA)














































Simon Kaufmann
 commented on  JENKINS-21977


java.io.IOException: Failed to clean up temp dirs because of secret.key















Looking at the changelog, it seems that the fix got included since 1.579, so you simply need to upgrade.



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [core] (JENKINS-21977) java.io.IOException: Failed to clean up temp dirs because of secret.key

2015-03-05 Thread dan...@beckweb.net (JIRA)














































Daniel Beck
 commented on  JENKINS-21977


java.io.IOException: Failed to clean up temp dirs because of secret.key















This issue is labeled 1.565.3-fixed, so should be resolved in 1.565.3.



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [core] (JENKINS-21977) java.io.IOException: Failed to clean up temp dirs because of secret.key

2015-02-09 Thread scm_issue_l...@java.net (JIRA)














































SCM/JIRA link daemon
 commented on  JENKINS-21977


java.io.IOException: Failed to clean up temp dirs because of secret.key















Code changed in jenkins
User: Daniel Spilker
Path:
 CHANGELOG.md
 src/main/groovy/org/jenkinsci/gradle/plugins/jpi/JpiExtension.groovy
 src/main/groovy/org/jenkinsci/gradle/plugins/jpi/JpiPlugin.groovy
 src/main/groovy/org/jenkinsci/gradle/plugins/jpi/TestInsertionTask.groovy
 src/test/groovy/org/jenkinsci/gradle/plugins/jpi/JpiPluginSpec.groovy
http://jenkins-ci.org/commit/gradle-jpi-plugin/fc956747d8ea5150984e0e86b811dd9113b77582
Log:
  JENKINS-12193 hook up injected tests, but disabled by default because of JENKINS-21977





























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [core] (JENKINS-21977) java.io.IOException: Failed to clean up temp dirs because of secret.key

2014-12-19 Thread scm_issue_l...@java.net (JIRA)














































SCM/JIRA link daemon
 commented on  JENKINS-21977


java.io.IOException: Failed to clean up temp dirs because of secret.key















Code changed in jenkins
User: Björn Berg
Path:
 pom.xml
http://jenkins-ci.org/commit/wix-plugin/9604990831246d101528a7e54b6c6374f26bc74b
Log:
  Rollback because of JENKINS-21977.





























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [core] (JENKINS-21977) java.io.IOException: Failed to clean up temp dirs because of secret.key

2014-08-27 Thread 565690...@qq.com (JIRA)














































Xu Dony
 commented on  JENKINS-21977


java.io.IOException: Failed to clean up temp dirs because of secret.key















I also see this issue when I am trying to run integration tests about workflow plugin on Windows.



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [core] (JENKINS-21977) java.io.IOException: Failed to clean up temp dirs because of secret.key

2014-08-27 Thread 565690...@qq.com (JIRA)












































 
Dony
 edited a comment on  JENKINS-21977


java.io.IOException: Failed to clean up temp dirs because of secret.key
















I also encountered this issue when I was trying to run integration tests about workflow plugin on Windows.



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [core] (JENKINS-21977) java.io.IOException: Failed to clean up temp dirs because of secret.key

2014-08-27 Thread jgl...@cloudbees.com (JIRA)














































Jesse Glick
 started work on  JENKINS-21977


java.io.IOException: Failed to clean up temp dirs because of secret.key
















Change By:


Jesse Glick
(27/Aug/14 1:41 PM)




Status:


Open
InProgress



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [core] (JENKINS-21977) java.io.IOException: Failed to clean up temp dirs because of secret.key

2014-08-27 Thread jgl...@cloudbees.com (JIRA)















































Jesse Glick
 assigned  JENKINS-21977 to Jesse Glick



java.io.IOException: Failed to clean up temp dirs because of secret.key
















Change By:


Jesse Glick
(27/Aug/14 1:41 PM)




Assignee:


JesseGlick



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [core] (JENKINS-21977) java.io.IOException: Failed to clean up temp dirs because of secret.key

2014-08-27 Thread jgl...@cloudbees.com (JIRA)














































Jesse Glick
 updated  JENKINS-21977


java.io.IOException: Failed to clean up temp dirs because of secret.key
















Change By:


Jesse Glick
(27/Aug/14 1:49 PM)




Labels:


lts-candidatetest



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [core] (JENKINS-21977) java.io.IOException: Failed to clean up temp dirs because of secret.key

2014-08-27 Thread scm_issue_l...@java.net (JIRA)















































SCM/JIRA link daemon
 resolved  JENKINS-21977 as Fixed


java.io.IOException: Failed to clean up temp dirs because of secret.key
















Change By:


SCM/JIRA link daemon
(27/Aug/14 2:33 PM)




Status:


InProgress
Resolved





Resolution:


Fixed



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [core] (JENKINS-21977) java.io.IOException: Failed to clean up temp dirs because of secret.key

2014-08-27 Thread scm_issue_l...@java.net (JIRA)














































SCM/JIRA link daemon
 commented on  JENKINS-21977


java.io.IOException: Failed to clean up temp dirs because of secret.key















Code changed in jenkins
User: Jesse Glick
Path:
 changelog.html
 core/src/main/java/jenkins/diagnosis/HsErrPidList.java
http://jenkins-ci.org/commit/jenkins/f39c435f8c86403653dc777516a4853e912044e3
Log:
  FIXED JENKINS-21977 Skip HsErrPidList when running functional tests.





























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [core] (JENKINS-21977) java.io.IOException: Failed to clean up temp dirs because of secret.key

2014-08-27 Thread dogf...@java.net (JIRA)














































dogfood
 commented on  JENKINS-21977


java.io.IOException: Failed to clean up temp dirs because of secret.key















Integrated in  jenkins_main_trunk #3652
 FIXED JENKINS-21977 Skip HsErrPidList when running functional tests. (Revision f39c435f8c86403653dc777516a4853e912044e3)

 Result = SUCCESS
Jesse Glick : f39c435f8c86403653dc777516a4853e912044e3
Files : 

	changelog.html
	core/src/main/java/jenkins/diagnosis/HsErrPidList.java





























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [core] (JENKINS-21977) java.io.IOException: Failed to clean up temp dirs because of secret.key

2014-07-18 Thread jgl...@cloudbees.com (JIRA)














































Jesse Glick
 commented on  JENKINS-21977


java.io.IOException: Failed to clean up temp dirs because of secret.key















This code should simply be disabled when Functions.getIsUnitTest().



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [core] (JENKINS-21977) java.io.IOException: Failed to clean up temp dirs because of secret.key

2014-06-30 Thread mark.earl.wa...@gmail.com (JIRA)














































Mark Waite
 commented on  JENKINS-21977


java.io.IOException: Failed to clean up temp dirs because of secret.key















I see the same condition still on 1.554.1.  It makes Windows based development more painful, since there are now test failures which I must remember to ignore.



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [core] (JENKINS-21977) java.io.IOException: Failed to clean up temp dirs because of secret.key

2014-03-28 Thread jacob.sch...@gmail.com (JIRA)














































Jacob Schoen
 commented on  JENKINS-21977


java.io.IOException: Failed to clean up temp dirs because of secret.key















I am not sure how much value this adds to the discussion, but changing the version of the parent pom to 1.539 does resolve the issue with compiling, at least as a temporary solution for now. Changing it to anything higher than that causes it to break again. Which seems reasonable as that was when HsErrPidList(https://github.com/jenkinsci/jenkins/commit/7d2a3b3f9c96f3ab950d84781da5cf903ca4c4be#diff-25fdfbd4ba585cae537640edef6b67a9) was added in.



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [core] (JENKINS-21977) java.io.IOException: Failed to clean up temp dirs because of secret.key

2014-02-27 Thread simon....@gmail.com (JIRA)














































Simon Kaufmann
 created  JENKINS-21977


java.io.IOException: Failed to clean up temp dirs because of secret.key















Issue Type:


Bug



Affects Versions:


current



Assignee:


Unassigned


Components:


core



Created:


27/Feb/14 11:45 AM



Description:


When testing my plugin by running mvn clean test, my own tests all pass successfully. However, the cleanup for the injected ones fails:


org.jvnet.hudson.test.JellyTestSuiteBuilder$JellyTestSuite(org.jvnet.hudson.test.junit.FailedTest)  Time elapsed: 0.006 sec   ERROR!
java.io.IOException: Failed to clean up temp dirs
at org.jvnet.hudson.test.TemporaryDirectoryAllocator.dispose(TemporaryDirectoryAllocator.java:86)
at org.jvnet.hudson.test.TestEnvironment.dispose(TestEnvironment.java:81)
at org.jvnet.hudson.test.HudsonTestCase.tearDown(HudsonTestCase.java:414)
at org.jvnet.hudson.test.JellyTestSuiteBuilder$JellyTestSuite.tearDown(JellyTestSuiteBuilder.java:138)
at org.jvnet.hudson.test.junit.GroupedTest.run(GroupedTest.java:53)
at junit.framework.TestSuite.runTest(TestSuite.java:255)
at junit.framework.TestSuite.run(TestSuite.java:250)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
Caused by: java.nio.file.FileSystemException: C:\Users\simon\AppData\Local\Temp\hudson495525951667628343test\secret.key: The process cannot access the file bec
ause it is being used by another process.

at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:86)
at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97)
at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:102)
at sun.nio.fs.WindowsFileSystemProvider.implDelete(WindowsFileSystemProvider.java:269)
at sun.nio.fs.AbstractFileSystemProvider.delete(AbstractFileSystemProvider.java:103)
at java.nio.file.Files.delete(Files.java:1077)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at hudson.Util.deleteFile(Util.java:238)
at hudson.Util.deleteRecursive(Util.java:301)
at hudson.Util.deleteContentsRecursive(Util.java:203)
at hudson.Util.deleteRecursive(Util.java:292)
at hudson.FilePath$12.invoke(FilePath.java:1079)
at hudson.FilePath$12.invoke(FilePath.java:1076)
at hudson.FilePath.act(FilePath.java:914)
at hudson.FilePath.act(FilePath.java:887)
at hudson.FilePath.deleteRecursive(FilePath.java:1076)
at org.jvnet.hudson.test.TemporaryDirectoryAllocator.dispose(TemporaryDirectoryAllocator.java:81)
at org.jvnet.hudson.test.TestEnvironment.dispose(TestEnvironment.java:81)
at org.jvnet.hudson.test.HudsonTestCase.tearDown(HudsonTestCase.java:414)
at org.jvnet.hudson.test.JellyTestSuiteBuilder$JellyTestSuite.tearDown(JellyTestSuiteBuilder.java:138)
at org.jvnet.hudson.test.junit.GroupedTest.run(GroupedTest.java:53)
at junit.framework.TestSuite.runTest(TestSuite.java:255)
at junit.framework.TestSuite.run(TestSuite.java:250)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84)
at 

[JIRA] [core] (JENKINS-21977) java.io.IOException: Failed to clean up temp dirs because of secret.key

2014-02-27 Thread simon....@gmail.com (JIRA)














































Simon Kaufmann
 updated  JENKINS-21977


java.io.IOException: Failed to clean up temp dirs because of secret.key
















Change By:


Simon Kaufmann
(27/Feb/14 11:46 AM)




Description:


Whentestingmypluginbyrunning{{mvncleantest}},myowntestsallpasssuccessfully.However,thecleanupfortheinjectedonesfails:{code}org.jvnet.hudson.test.JellyTestSuiteBuilder$JellyTestSuite(org.jvnet.hudson.test.junit.FailedTest)Timeelapsed:0.006secERROR!java.io.IOException:Failedtocleanuptempdirsatorg.jvnet.hudson.test.TemporaryDirectoryAllocator.dispose(TemporaryDirectoryAllocator.java:86)atorg.jvnet.hudson.test.TestEnvironment.dispose(TestEnvironment.java:81)atorg.jvnet.hudson.test.HudsonTestCase.tearDown(HudsonTestCase.java:414)atorg.jvnet.hudson.test.JellyTestSuiteBuilder$JellyTestSuite.tearDown(JellyTestSuiteBuilder.java:138)atorg.jvnet.hudson.test.junit.GroupedTest.run(GroupedTest.java:53)atjunit.framework.TestSuite.runTest(TestSuite.java:255)atjunit.framework.TestSuite.run(TestSuite.java:250)atorg.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84)atorg.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264)atorg.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)atorg.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124)atorg.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)atorg.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)atorg.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)Causedby:java.nio.file.FileSystemException:C:\Users\simon\AppData\Local\Temp\hudson495525951667628343test\secret.key:Theprocesscannotaccessthefilebecauseitisbeingusedbyanotherprocess.atsun.nio.fs.WindowsException.translateToIOException(WindowsException.java:86)atsun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97)atsun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:102)atsun.nio.fs.WindowsFileSystemProvider.implDelete(WindowsFileSystemProvider.java:269)atsun.nio.fs.AbstractFileSystemProvider.delete(AbstractFileSystemProvider.java:103)atjava.nio.file.Files.delete(Files.java:1077)atsun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethod)atsun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)atsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)atjava.lang.reflect.Method.invoke(Method.java:606)athudson.Util.deleteFile(Util.java:238)athudson.Util.deleteRecursive(Util.java:301)athudson.Util.deleteContentsRecursive(Util.java:203)athudson.Util.deleteRecursive(Util.java:292)athudson.FilePath$12.invoke(FilePath.java:1079)athudson.FilePath$12.invoke(FilePath.java:1076)athudson.FilePath.act(FilePath.java:914)athudson.FilePath.act(FilePath.java:887)athudson.FilePath.deleteRecursive(FilePath.java:1076)atorg.jvnet.hudson.test.TemporaryDirectoryAllocator.dispose(TemporaryDirectoryAllocator.java:81)atorg.jvnet.hudson.test.TestEnvironment.dispose(TestEnvironment.java:81)atorg.jvnet.hudson.test.HudsonTestCase.tearDown(HudsonTestCase.java:414)atorg.jvnet.hudson.test.JellyTestSuiteBuilder$JellyTestSuite.tearDown(JellyTestSuiteBuilder.java:138)atorg.jvnet.hudson.test.junit.GroupedTest.run(GroupedTest.java:53)atjunit.framework.TestSuite.runTest(TestSuite.java:255)atjunit.framework.TestSuite.run(TestSuite.java:250)atorg.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84)atorg.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264)atorg.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)atorg.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124)atorg.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)atorg.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)atorg.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103){code}Soapparentlysomethinglocksthesecret.keyfile.Andindeed,runningthefileleakdetector,onecanobservethefollowing:{code}OpenedC:\Users\
kai7si
simon