Evan Benn commented on Improvement JENKINS-28142

Thanks Rob, I have had a look at the official plugin and I believe it is not yet as stable as this project.
I brought this issue up as I as having performance issues with the clean command. The issue is that the same perforce workspace is taking ~10* longer to set up on windows vs linux. The main culprit for this seems to be the 'p4 diff -se' command. Between this and the next command in the console there is ~30 seconds on linux vs 10 minutes on windows. When I tested p4 diff -se on the agent manually (same workspace), it only takes about 30 seconds.

Is there possibly an issue with the plugin code running at this time? I will try to have a look at the source to see if I can work out where this might be occurring. The leaked file descriptors could also indicate the issue.

WINDOWS
14:31:08 [****] $ p4 d C:\jenkins**** -x have
14:31:24 Workspace is clean.
14:31:24 Restoring changed and deleted files...
14:31:24 [****] $ p4 d C:\jenkins**** -x sync -f
14:31:24 [****] $ p4 -d C:\jenkins**** diff -se
14:43:49 Process leaked file descriptors. See http://wiki.jenkins-ci.org/display/JENKINS/Spawning+processes+from+build for more information - no such file(s).
14:43:49 [****] $ p4 d C:\jenkins**** -x sync -f
14:43:49 [****] $ p4 -d C:\jenkins**** diff -sd
14:44:02 Process leaked file descriptors. See http://wiki.jenkins-ci.org/display/JENKINS/Spawning+processes+from+build for more information - no such file(s).
14:44:02 Files restored.
14:44:02 Clean complete, took 774043 ms

LINUX
14:44:45 [****] $ p4 d /home/*/jenkins/*** -x have
14:44:50 Workspace is clean.
14:44:50 Restoring changed and deleted files...
14:44:50 [****] $ p4 d /home/*/jenkins/*** -x sync -f
14:44:50 [****] $ p4 -d /home/*/jenkins/*** diff -se
14:45:31 [****] $ p4 d /home/*/jenkins/*** -x sync -f
14:45:31 [****] $ p4 -d /home/*/jenkins/*** diff -sd
14:45:32 Files restored.
14:45:32 Clean complete, took 47414 ms

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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to