[ https://issues.jenkins-ci.org/browse/JENKINS-13027?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=160049#comment-160049 ]
Richard Taylor commented on JENKINS-13027: ------------------------------------------ System Properties Name ↓ Value awt.toolkit sun.awt.windows.WToolkit executable-war F:\Jenkins\jenkins.war file.encoding Cp1252 file.encoding.pkg sun.io file.separator \ hudson.diyChunking true hudson.lifecycle hudson.lifecycle.WindowsServiceLifecycle hudson.model.WorkspaceCleanupThread.disabled true java.awt.graphicsenv sun.awt.Win32GraphicsEnvironment java.awt.headless true java.awt.printerjob sun.awt.windows.WPrinterJob java.class.path f:\jenkins\jenkins.war java.class.version 50.0 java.endorsed.dirs C:\Program Files\Java\jre6\lib\endorsed java.ext.dirs C:\Program Files\Java\jre6\lib\ext;C:\Windows\Sun\Java\lib\ext java.home C:\Program Files\Java\jre6 java.io.tmpdir C:\Users\ms\AppData\Local\Temp\ java.library.path C:\Windows\system32;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Program Files\HP\NCU;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\SysWOW64;C:\Program Files\Perforce;C:\Program Files\Perforce\Server;. java.runtime.name Java(TM) SE Runtime Environment java.runtime.version 1.6.0_30-b12 java.specification.name Java Platform API Specification java.specification.vendor Sun Microsystems Inc. java.specification.version 1.6 java.vendor Sun Microsystems Inc. java.vendor.url http://java.sun.com/ java.vendor.url.bug http://java.sun.com/cgi-bin/bugreport.cgi java.version 1.6.0_30 java.vm.info mixed mode java.vm.name Java HotSpot(TM) 64-Bit Server VM java.vm.specification.name Java Virtual Machine Specification java.vm.specification.vendor Sun Microsystems Inc. java.vm.specification.version 1.0 java.vm.vendor Sun Microsystems Inc. java.vm.version 20.5-b03 line.separator mail.smtp.sendpartial true mail.smtps.sendpartial true os.arch amd64 os.name Windows Server 2008 os.version 6.0 path.separator ; sun.arch.data.model 64 sun.boot.class.path C:\Program Files\Java\jre6\lib\resources.jar;C:\Program Files\Java\jre6\lib\rt.jar;C:\Program Files\Java\jre6\lib\sunrsasign.jar;C:\Program Files\Java\jre6\lib\jsse.jar;C:\Program Files\Java\jre6\lib\jce.jar;C:\Program Files\Java\jre6\lib\charsets.jar;C:\Program Files\Java\jre6\lib\modules\jdk.boot.jar;C:\Program Files\Java\jre6\classes sun.boot.library.path C:\Program Files\Java\jre6\bin sun.cpu.endian little sun.cpu.isalist amd64 sun.desktop windows sun.io.unicode.encoding UnicodeLittle sun.java.command f:\jenkins\jenkins.war --httpPort=8080 sun.java.launcher SUN_STANDARD sun.jnu.encoding Cp1252 sun.management.compiler HotSpot 64-Bit Tiered Compilers sun.os.patch.level Service Pack 2 svnkit.http.methods Digest,Basic,NTLM,Negotiate svnkit.ssh2.persistent false user.country GB user.dir C:\Windows\system32 user.home C:\Users\ms user.language en user.name ms user.timezone Europe/London user.variant Environment Variables Name ↓ Value ALLUSERSPROFILE C:\ProgramData APPDATA C:\Users\ms\AppData\Roaming BASE f:\jenkins COMPUTERNAME NW01-EVOTOOLS ComSpec C:\Windows\system32\cmd.exe CommonProgramFiles C:\Program Files\Common Files CommonProgramFiles(x86) C:\Program Files (x86)\Common Files DEFLOGDIR C:\ProgramData\McAfee\DesktopProtection DFSTRACINGON FALSE FP_NO_HOST_CHECK NO HOMEDRIVE C: HOMEPATH \Users\ms JENKINS_HOME f:\jenkins LOCALAPPDATA C:\Users\ms\AppData\Local LOGONSERVER \\NW01-DC04 NUMBER_OF_PROCESSORS 8 OS Windows_NT PATHEXT .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC PROCESSOR_ARCHITECTURE AMD64 PROCESSOR_IDENTIFIER Intel64 Family 6 Model 15 Stepping 11, GenuineIntel PROCESSOR_LEVEL 6 PROCESSOR_REVISION 0f0b PSModulePath C:\Windows\system32\WindowsPowerShell\v1.0\Modules\ PUBLIC C:\Users\Public Path C:\Program Files\HP\NCU;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\SysWOW64;C:\Program Files\Perforce;C:\Program Files\Perforce\Server ProgramData C:\ProgramData ProgramFiles C:\Program Files ProgramFiles(x86) C:\Program Files (x86) SystemDrive C: SystemRoot C:\Windows TEMP C:\Users\ms\AppData\Local\Temp TMP C:\Users\ms\AppData\Local\Temp TRACE_FORMAT_SEARCH_PATH \\winseqfe\release\Windows6.0\lh_sp2rtm\6002.18005.090410-1830\amd64fre\symbols.pri\TraceFormat USERDNSDOMAIN NW01.DEV.SCEE.NET USERDOMAIN NW01 USERNAME ms USERPROFILE C:\Users\ms VSEDEFLOGDIR C:\ProgramData\McAfee\DesktopProtection java_home C:\Program Files\Java\jre6\bin\ windir C:\Windows Plugins Name ↓ Version Enabled Pinned ant 1.1 true false javadoc 1.0 true false audit-trail 1.7 true false build-timeout 1.8 true false maven-plugin 1.454 true true dashboard-view 2.2 true false analysis-core 1.38 true false tasks 4.27 true false warnings 3.28 true false cvs 2.0 true true ci-game 1.18 true false claim 1.7 true false subversion 1.34 true false dumpinfo-buildwrapper-plugin 1.1 true false greenballs 1.11 true false jquery 1.0.2 true false log-parser 1.0.8 true false nodenamecolumn 1.1 true false plot 1.5 true false role-strategy 1.1.2 true false setenv 1.1 true false sidebar-link 1.6 true false slave-status 1.6 true false timestamper 1.2.2 true false validating-string-parameter 2.2 true false versioncolumn 0.2 true false active-directory 1.26 true false analysis-collector 1.19 true false build-keeper-plugin 1.2 true false copy-to-slave 1.4 true false disk-usage 0.15 true false email-ext 2.18 true false extended-choice-parameter 0.5 true false extra-columns 1.2 true false jobConfigHistory 1.13 true false parameterized-trigger 2.13 true false nodelabelparameter 1.1.2 true false perforce 1.3.9 true false promoted-builds 2.4 true false sectioned-view 1.16 true false show-build-parameters 1.0 true false slave-prerequisites 1.0 true false ssh-slaves 0.21 true true translation 1.8 true false ws-cleanup 0.7 > Perforce plugin will sometimes set an incorrect workspace view > -------------------------------------------------------------- > > Key: JENKINS-13027 > URL: https://issues.jenkins-ci.org/browse/JENKINS-13027 > Project: Jenkins > Issue Type: Bug > Components: perforce > Affects Versions: current > Environment: Jenkins Master 1.454 OS Windows Server 2008 SP2 > Jenkins Slave 2.12 OS Windows Server 2008 R2 > Reporter: Richard Taylor > Fix For: current > > > Perforce plugin will sometimes set an incorrect workspace view. > The job has perforce Client View Type set to View Map with the following > details > //depot/evolution/evo11/${BRANCH}/... //workspace-name/... > -//depot/evolution/evo11/${BRANCH}/MS3/....mb //workspace-name/MS3/....mb > -//depot/evolution/evo11/${BRANCH}/MS3/....pds //workspace-name/MS3/....pds > -//depot/evolution/evo11/${BRANCH}/MS3/....ma //workspace-name/MS3/....ma > -//depot/evolution/evo11/${BRANCH}/MS3/....ZTL //workspace-name/MS3/....ZTL > //depot/evolution/evo11/external/3rdParty/... //workspace-name/3rdParty/... > //depot/evolution/evo11/external/Platform/... //workspace-name/Platform/... > //depot/evolution/evo11/external/WWS/... //workspace-name/WWS/... > -//depot/evolution/evo11/external/WWS/ATG/1.33.0/ATGTools/UnitTests/... > //workspace-name/WWS/ATG/1.33.0/ATGTools/UnitTests/... > The ${BRANCH} is set as a job parameter but the purposes of our current use > case it is always the same default value. > The job is set to run on a small pool of slaves with label. This pool of > slaved is used for building packages from diferent branches. > We get occasional build failures due to perforce incorrectly setting the > workspace view. These errors can only be fixed by a clean and sync. As a full > clean and sync takes 2 hours this is a significant issue. > ----- Jenkins build log ------ > 21:02:27 Started by timer > 21:02:27 Building remotely on gbwwsrunbld08 in workspace > c:\jenkins\workspace\evo11main > 21:02:27 Using remote perforce client: jenkins_gbwwsrunbld08_evo11main > 21:02:27 [evo11main] $ "c:\\program files\\perforce\\p4.exe" workspace -o > jenkins_gbwwsrunbld08_evo11main > 21:02:27 [evo11main] $ "c:\\program files\\perforce\\p4.exe" login -p > 21:02:27 [evo11main] $ "c:\\program files\\perforce\\p4.exe" -P > 831EC39454600F1AF16985DE3AD2AFCD workspace -o jenkins_gbwwsrunbld08_evo11main > 21:02:27 Changing P4 Client View from: > 21:02:27 //depot/evolution/evo11/branches/evo11dx11/... > //jenkins_gbwwsrunbld08_evo11main/... > 21:02:27 -//depot/evolution/evo11/branches/evo11dx11/MS3/....mb > //jenkins_gbwwsrunbld08_evo11main/MS3/....mb > 21:02:27 -//depot/evolution/evo11/branches/evo11dx11/MS3/....pds > //jenkins_gbwwsrunbld08_evo11main/MS3/....pds > 21:02:27 -//depot/evolution/evo11/branches/evo11dx11/MS3/....ma > //jenkins_gbwwsrunbld08_evo11main/MS3/....ma > 21:02:27 -//depot/evolution/evo11/branches/evo11dx11/MS3/....ZTL > //jenkins_gbwwsrunbld08_evo11main/MS3/....ZTL > 21:02:27 //depot/evolution/evo11/external/3rdParty/... > //jenkins_gbwwsrunbld08_evo11main/3rdParty/... > 21:02:27 //depot/evolution/evo11/external/Platform/... > //jenkins_gbwwsrunbld08_evo11main/Platform/... > 21:02:27 //depot/evolution/evo11/external/WWS/... > //jenkins_gbwwsrunbld08_evo11main/WWS/... > 21:02:27 > -//depot/evolution/evo11/external/WWS/ATG/1.33.0/ATGTools/UnitTests/... > //jenkins_gbwwsrunbld08_evo11main/WWS/ATG/1.33.0/ATGTools/UnitTests/... > 21:02:27 > 21:02:27 Changing P4 Client View to: > 21:02:27 //depot/evolution/evo11/external/3rdParty/... > //jenkins_gbwwsrunbld08_evo11main/3rdParty/... > 21:02:27 //depot/evolution/evo11/external/Platform/... > //jenkins_gbwwsrunbld08_evo11main/Platform/... > 21:02:27 //depot/evolution/evo11/external/WWS/... > //jenkins_gbwwsrunbld08_evo11main/WWS/... > 21:02:27 Saving modified client jenkins_gbwwsrunbld08_evo11main > As you can see perforce has removed the part view which was using the > ${BRANCH} parameter and has also remove the final -// line which was not > parameterised. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira