[JIRA] [core] (JENKINS-17774) Testing plugin in Windows fails with requested operation can't be performed on file with user-mapped section open
Title: Message Title SCM/JIRA link daemon commented on JENKINS-17774 Re: Testing plugin in Windows fails with requested operation can't be performed on file with user-mapped section open Code changed in jenkins User: ikedam Path: test/src/main/java/org/jvnet/hudson/test/HudsonTestCase.java http://jenkins-ci.org/commit/jenkins-test-harness/a9eb82b768ed88cf09be66dc4041dcc0c34777c1 Log: [FIXED JENKINS-17774] Make not to copy a webapp directory every time for each tests. Copying every time causes overwriting files in the webapp directory, and often causes errors in Windows. This reverts JENKINS-12647 (commit 7ae303f88191a540491a21484316d63dff775e21). Originally-Committed-As: 68db55528a560b816fbd58689b75d07210592b03 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-17774) Testing plugin in Windows fails with requested operation can't be performed on file with user-mapped section open
Title: Message Title SCM/JIRA link daemon commented on JENKINS-17774 Re: Testing plugin in Windows fails with requested operation can't be performed on file with user-mapped section open Code changed in jenkins User: Jesse Glick Path: test/src/main/java/org/jvnet/hudson/test/HudsonTestCase.java http://jenkins-ci.org/commit/jenkins-test-harness/2aace3cb87d5b895fa70bd753545f1f8cc7d93f3 Log: Merge pull request #779 from ikedam/feature/ JENKINS-17774 -2 [FIXED JENKINS-17774] Plugin tests often fails in Windows (just reverting JENKINS-12647 ). Originally-Committed-As: e3fee0aa36d4afe3d7e17e17c766c4230758c41d 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-17774) Testing plugin in Windows fails with requested operation can't be performed on file with user-mapped section open
ikedam commented on JENKINS-17774 Testing plugin in Windows fails with requested operation cant be performed on file with user-mapped section open Fixed in 1.517. 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/groups/opt_out.
[JIRA] [core] (JENKINS-17774) Testing plugin in Windows fails with requested operation can't be performed on file with user-mapped section open
ikedam closed JENKINS-17774 as Fixed Testing plugin in Windows fails with requested operation cant be performed on file with user-mapped section open Change By: ikedam (05/Jun/13 12:55 PM) Status: Open Closed Assignee: ikedam 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/groups/opt_out.
[JIRA] [core] (JENKINS-17774) Testing plugin in Windows fails with requested operation can't be performed on file with user-mapped section open
SCM/JIRA link daemon commented on JENKINS-17774 Testing plugin in Windows fails with requested operation cant be performed on file with user-mapped section open Code changed in jenkins User: Jesse Glick Path: test/src/main/java/org/jvnet/hudson/test/HudsonTestCase.java http://jenkins-ci.org/commit/jenkins/e3fee0aa36d4afe3d7e17e17c766c4230758c41d Log: Merge pull request #779 from ikedam/feature/JENKINS-17774-2 FIXED JENKINS-17774 Plugin tests often fails in Windows (just reverting JENKINS-12647). Compare: https://github.com/jenkinsci/jenkins/compare/63ecb8269aaa...e3fee0aa36d4 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/groups/opt_out.
[JIRA] [core] (JENKINS-17774) Testing plugin in Windows fails with requested operation can't be performed on file with user-mapped section open
SCM/JIRA link daemon commented on JENKINS-17774 Testing plugin in Windows fails with requested operation cant be performed on file with user-mapped section open Code changed in jenkins User: ikedam Path: test/src/main/java/org/jvnet/hudson/test/HudsonTestCase.java http://jenkins-ci.org/commit/jenkins/68db55528a560b816fbd58689b75d07210592b03 Log: FIXED JENKINS-17774 Make not to copy a webapp directory every time for each tests. Copying every time causes overwriting files in the webapp directory, and often causes errors in Windows. This reverts JENKINS-12647(commit 7ae303f88191a540491a21484316d63dff775e21). 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/groups/opt_out.
[JIRA] [core] (JENKINS-17774) Testing plugin in Windows fails with requested operation can't be performed on file with user-mapped section open
dogfood commented on JENKINS-17774 Testing plugin in Windows fails with requested operation cant be performed on file with user-mapped section open Integrated in jenkins_main_trunk #2537 FIXED JENKINS-17774 Make not to copy a webapp directory every time for each tests. (Revision 68db55528a560b816fbd58689b75d07210592b03) Result = SUCCESS devld : 68db55528a560b816fbd58689b75d07210592b03 Files : test/src/main/java/org/jvnet/hudson/test/HudsonTestCase.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/groups/opt_out.
[JIRA] [core] (JENKINS-17774) Testing plugin in Windows fails with requested operation can't be performed on file with user-mapped section open
ikedam commented on JENKINS-17774 Testing plugin in Windows fails with requested operation cant be performed on file with user-mapped section open I verified followings: With JenkinsRule, JENKINS-17774 cannot be reproduced: https://github.com/ikedam/reproduce-jenkins-17774/commit/54ffef8b12cc74c33257baa40b94199a6182be37 By swiching from HudsonTestCase to JenkinsRule, existing plugin gets free from JENKINS-17774: https://github.com/ikedam/extensible-choice-parameter/commit/d06522a9fb32a754eb0e9af90e82ddd0b52f0c8b 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/groups/opt_out.
[JIRA] [core] (JENKINS-17774) Testing plugin in Windows fails with requested operation can't be performed on file with user-mapped section open
ikedam commented on JENKINS-17774 Testing plugin in Windows fails with requested operation cant be performed on file with user-mapped section open Created a new pull request just reverting 12647. https://github.com/jenkinsci/jenkins/pull/779 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/groups/opt_out.
[JIRA] [core] (JENKINS-17774) Testing plugin in Windows fails with requested operation can't be performed on file with user-mapped section open
ikedam commented on JENKINS-17774 Testing plugin in Windows fails with requested operation cant be performed on file with user-mapped section open Sent a pull request https://github.com/jenkinsci/jenkins/pull/773 . jglick pointed followings: Extracting createWebAppContext makes the interface of HudsonTestCase depend on Jetty. A same change should be applied to JenkinsRule. I found that JenkinsRule does not have this problem(JENKINS-17774). So this problem can be avoided by using a rule annotation with JenkinsRule, instead of deriving from HudsonTestCase. 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/groups/opt_out.
[JIRA] [core] (JENKINS-17774) Testing plugin in Windows fails with requested operation can't be performed on file with user-mapped section open
ikedam commented on JENKINS-17774 Testing plugin in Windows fails with requested operation cant be performed on file with user-mapped section open I wrote a patch for Jenkins in https://github.com/ikedam/jenkins/tree/feature/JENKINS-17774. I wrote a plugin to reproduce JENKINS-17774 in https://github.com/ikedam/reproduce-jenkins-17774. 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/groups/opt_out.
[JIRA] [core] (JENKINS-17774) Testing plugin in Windows fails with requested operation can't be performed on file with user-mapped section open
ikedam commented on JENKINS-17774 Testing plugin in Windows fails with requested operation cant be performed on file with user-mapped section open I found that "requested operation can't be performed on file with user-mapped section open" happens only when icon overlays of TortoiseGit is enabled. 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/groups/opt_out.
[JIRA] [core] (JENKINS-17774) Testing plugin in Windows fails with requested operation can't be performed on file with user-mapped section open
ikedam commented on JENKINS-17774 Testing plugin in Windows fails with requested operation cant be performed on file with user-mapped section open always fails with Jenkins 1.440, and succeeds with Jenkins 1.441. 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/groups/opt_out.
[JIRA] [core] (JENKINS-17774) Testing plugin in Windows fails with requested operation can't be performed on file with user-mapped section open
ikedam commented on JENKINS-17774 Testing plugin in Windows fails with requested operation cant be performed on file with user-mapped section open Test failures in Email-ext 2.18 can be resolved with https://github.com/jenkinsci/jenkins/commit/24e99923e3c593073e704a4e8ebf70d5ed11f313. I conclude that *JENKINS-12647 DO NOTHING AT ALL*. I try to create a patch. 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/groups/opt_out.
[JIRA] [core] (JENKINS-17774) Testing plugin in Windows fails with requested operation can't be performed on file with user-mapped section open
ikedam commented on JENKINS-17774 Testing plugin in Windows fails with requested operation cant be performed on file with user-mapped section open Failed to reproduce JENKINS-12647 with token-macro-plugin. It exactly fails in Windows, but seems have nothing to do with Jetty configuration. It cannot be solved by JENKINS-12647 patch, but can be fixed by calling System.gc(). 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/groups/opt_out.
[JIRA] [core] (JENKINS-17774) Testing plugin in Windows fails with requested operation can't be performed on file with user-mapped section open
ikedam commented on JENKINS-17774 Testing plugin in Windows fails with requested operation cant be performed on file with user-mapped section open Email-ext 2.18(based on Jenkins-1.428) always fails with hudson.plugins.emailext.ExtendedEmailPublisherMatrixTest. But it doesn't seem caused by JENKINS-12647. I cannot resolve the problem with a patch in JENKINS-12647. Root cause is: java.io.IOException: Unable to delete C:\Users\ikedam\AppData\Local\Temp\hudson3900114817529509895test\slave-slave0.log I have no idea to fix this problem. It rather seems like the problem in JENKINS-3018 (But this should be already fixed with Email-ext 2.18). This problem does not happen with latest Email-ext plugin (based on 1.480). And neither with latest Email-ext plugin unpached JENKINS-12647. 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/groups/opt_out.
[JIRA] [core] (JENKINS-17774) Testing plugin in Windows fails with requested operation can't be performed on file with user-mapped section open
ikedam created JENKINS-17774 Testing plugin in Windows fails with requested operation cant be performed on file with user-mapped section open Issue Type: Bug Assignee: Unassigned Attachments: TEST-jp.ikedam.jenkins.plugins.extensible_choice_parameter.TextareaChoiceListProviderJenkinsTest.xml Components: core Created: 29/Apr/13 2:32 PM Description: Running tests of extensible-choice-parameter plugin in Windows often fails. This failure is caused by 500 error in Jenkins (or Jetty). 500 error is caused by java.io.FileNotFoundException with an error message "requested operation can't be performed on file with user-mapped section open". (I attached a sunfire-report file generated when this problem happened, but the error message is output in Japanese.) This probably happens only in Windows (maybe Windows Vista or later) FileNotFoundException happens when copying(overwriting) jenkins-for-test to jetty's webapps directory. This seems happen only after running hpi:run. It probably depends on Jetty's working directory. Before running hpi:run, Jetty's working directory is %TEMP%\Jetty_0_0_0_0_0_jenkins.for.test__.bj8wp3. After running hpi:run, Jetty seems run in (project directory)\work\Jetty_0_0_0_0_0_jenkins.for.test__.bj8wp3 . I have no idea why it affects. I can reproduce this in https://github.com/ikedam/extensible-choice-parameter, tag reproduce_23_user-mapped_section. And I have fixed it in branch feature/23_JettyOnWindows, by setting useFileMappedBuffer to false in Jetty webapp context (SEE http://docs.codehaus.org/display/JETTY/Files+locked+on+Windows). I think this is related to JENKINS-12647 (I have not succeeded reproducing problems reported in this issue). As long as I tested, the problem in extensible-choice-parameter is fixed in a way of followings: setting useFileMappedBuffer to false, setting setCopyWebDir to true setting useFileMappedBuffer to false, setting setCopyWebDir to false setting setCopyWebDir to false (disabling JENKINS-12647) Environment: Windows8 (64bit), JDK 1.7.0_17, Jenkins 1.466 Project: Jenkins Priority: Minor Reporter: ikedam 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/groups/opt_out.