java.io.IOException: Failed to issue perforce label. Error in label specification. Error detected at line 5. Unknown field name 'Revision'. For Command: /opt/perforce/p4 -s label -i With Data: =================== Label: analytics-continuous-Build-12 Owner: hdrbob Description: Changelist: 113024 Revision: @113024 Options: View: //analytics/main/... ===================

Jenkins JIRA | Ashit Shah | 3 years ago
  1. 0

    Getting below error while creating Perforce Label. Stack trace java.io.IOException: Failed to issue perforce label. Error in label specification. Error detected at line 5. Unknown field name 'Revision'. For Command: /opt/perforce/p4 -s label -i With Data: =================== Label: analytics-continuous-Build-12 Owner: hdrbob Description: Changelist: 113024 Revision: @113024 Options: View: //analytics/main/... =================== at hudson.plugins.perforce.PerforceTagAction.tagBuild(PerforceTagAction.java:195) at hudson.plugins.perforce.PerforceTagAction.doSubmit(PerforceTagAction.java:168) 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:622) at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:298) at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:161) at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:96) at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:120) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:728) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:858) at org.kohsuke.stapler.MetaClass$12.dispatch(MetaClass.java:390) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:728) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:858) at org.kohsuke.stapler.MetaClass$12.dispatch(MetaClass.java:390) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:728) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:858) at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:248) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:728) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:858) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:631) at org.kohsuke.stapler.Stapler.service(Stapler.java:225) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:96) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:88) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:91) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84) at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at jenkins.security.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:117) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:174) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at jenkins.security.ApiTokenFilter.doFilter(ApiTokenFilter.java:79) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249) at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:67) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76) at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:46) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:465) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at java.lang.Thread.run(Thread.java:701)

    Jenkins JIRA | 3 years ago | Ashit Shah
    java.io.IOException: Failed to issue perforce label. Error in label specification. Error detected at line 5. Unknown field name 'Revision'. For Command: /opt/perforce/p4 -s label -i With Data: =================== Label: analytics-continuous-Build-12 Owner: hdrbob Description: Changelist: 113024 Revision: @113024 Options: View: //analytics/main/... ===================
  2. 0

    Getting below error while creating Perforce Label. Stack trace java.io.IOException: Failed to issue perforce label. Error in label specification. Error detected at line 5. Unknown field name 'Revision'. For Command: /opt/perforce/p4 -s label -i With Data: =================== Label: analytics-continuous-Build-12 Owner: hdrbob Description: Changelist: 113024 Revision: @113024 Options: View: //analytics/main/... =================== at hudson.plugins.perforce.PerforceTagAction.tagBuild(PerforceTagAction.java:195) at hudson.plugins.perforce.PerforceTagAction.doSubmit(PerforceTagAction.java:168) 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:622) at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:298) at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:161) at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:96) at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:120) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:728) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:858) at org.kohsuke.stapler.MetaClass$12.dispatch(MetaClass.java:390) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:728) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:858) at org.kohsuke.stapler.MetaClass$12.dispatch(MetaClass.java:390) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:728) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:858) at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:248) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:728) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:858) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:631) at org.kohsuke.stapler.Stapler.service(Stapler.java:225) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:96) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:88) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:91) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84) at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at jenkins.security.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:117) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:174) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at jenkins.security.ApiTokenFilter.doFilter(ApiTokenFilter.java:79) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249) at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:67) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76) at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:46) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:465) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at java.lang.Thread.run(Thread.java:701)

    Jenkins JIRA | 3 years ago | Ashit Shah
    java.io.IOException: Failed to issue perforce label. Error in label specification. Error detected at line 5. Unknown field name 'Revision'. For Command: /opt/perforce/p4 -s label -i With Data: =================== Label: analytics-continuous-Build-12 Owner: hdrbob Description: Changelist: 113024 Revision: @113024 Options: View: //analytics/main/... ===================
  3. 0

    The perforce plugin 1.0.5 and previous versions fail to setup the client spec correctly and hence cannot sync/checkout the source code. The workspace object retrieved in the "checkout" method is completely un-initialised: Workspace p4workspace = getDepot().getWorkspaces().getWorkspace(p4Client); Here the exception output: Performing sync with Perforce for: //depot/products/dynamo/... Changing P4 Client Root to: /opt/hudson/data/jobs/dynamo/workspace/ Changing P4 Client View to: //depot/products/dynamo/... ///... ... java.io.IOException: Unable to communicate with perforce. Error in client specification. Error detected at line 7. Null directory (//) not allowed in '///...'. For Command: p4 -s client -i With Data: =================== Client: Description: Root: /opt/hudson/data/jobs/dynamo/workspace/ Options: LineEnd: View: //depot/products/dynamo/... ///... =================== at hudson.plugins.perforce.PerforceSCM.checkout(PerforceSCM.java:260) at hudson.model.AbstractProject.checkout(AbstractProject.java:541) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:223) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:189) at hudson.model.Run.run(Run.java:649) at hudson.model.Build.run(Build.java:102) at hudson.model.ResourceController.execute(ResourceController.java:70) at hudson.model.Executor.run(Executor.java:64) The perforce client binary displays this version (just in case): Perforce - The Fast Software Configuration Management System. Copyright 1995, 2002 Perforce Software. All rights reserved. Rev. P4/LINUX24X86/2003.1/46260 (2003/07/03). I currently have a workaround in place where i set the values from the configuration in PerforceSCM if they are unset: if ( p4workspace == null || p4workspace.length < 1) { p4workspace.setName(p4Client); ... } Cheers Eike

    Jenkins JIRA | 9 years ago | edawid
    java.io.IOException: Unable to communicate with perforce. Error in client specification. Error detected at line 7. Null directory (//) not allowed in '///...'. For Command: p4 -s client -i With Data: =================== Client: Description: Root: /opt/hudson/data/jobs/dynamo/workspace/ Options: LineEnd: View: //depot/products/dynamo/... ///... ===================
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    The perforce plugin 1.0.5 and previous versions fail to setup the client spec correctly and hence cannot sync/checkout the source code. The workspace object retrieved in the "checkout" method is completely un-initialised: Workspace p4workspace = getDepot().getWorkspaces().getWorkspace(p4Client); Here the exception output: Performing sync with Perforce for: //depot/products/dynamo/... Changing P4 Client Root to: /opt/hudson/data/jobs/dynamo/workspace/ Changing P4 Client View to: //depot/products/dynamo/... ///... ... java.io.IOException: Unable to communicate with perforce. Error in client specification. Error detected at line 7. Null directory (//) not allowed in '///...'. For Command: p4 -s client -i With Data: =================== Client: Description: Root: /opt/hudson/data/jobs/dynamo/workspace/ Options: LineEnd: View: //depot/products/dynamo/... ///... =================== at hudson.plugins.perforce.PerforceSCM.checkout(PerforceSCM.java:260) at hudson.model.AbstractProject.checkout(AbstractProject.java:541) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:223) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:189) at hudson.model.Run.run(Run.java:649) at hudson.model.Build.run(Build.java:102) at hudson.model.ResourceController.execute(ResourceController.java:70) at hudson.model.Executor.run(Executor.java:64) The perforce client binary displays this version (just in case): Perforce - The Fast Software Configuration Management System. Copyright 1995, 2002 Perforce Software. All rights reserved. Rev. P4/LINUX24X86/2003.1/46260 (2003/07/03). I currently have a workaround in place where i set the values from the configuration in PerforceSCM if they are unset: if ( p4workspace == null || p4workspace.length < 1) { p4workspace.setName(p4Client); ... } Cheers Eike

    Jenkins JIRA | 9 years ago | edawid
    java.io.IOException: Unable to communicate with perforce. Error in client specification. Error detected at line 7. Null directory (//) not allowed in '///...'. For Command: p4 -s client -i With Data: =================== Client: Description: Root: /opt/hudson/data/jobs/dynamo/workspace/ Options: LineEnd: View: //depot/products/dynamo/... ///... ===================
  6. 0

    I'm new to Hudson and am attempting to try it out. From reading the docs it seems like it would fit my company better than CruiseControl. But at this point CruiseControl works and I can't get Hudson to run. Here's the info: Under Workspace (client) I have hudson_mainline I do not have Let Hudson Manage Workspace View checked. My environment from the user in unix: [root@hudson software]# p4 info User name: qc Client name: hudson_mainline Client host: hudson Client root: /data/perforce/ Current directory: /data/software Client address: 10.10.1.154:53345 Server address: perforce:1666 Server root: /data/perforce/ Server date: 2009/05/26 10:03:08 -0400 EDT Server uptime: 831:53:16 Server version: P4D/LINUX26X86_64/2008.2/179173 (2008/12/05) Server license: Natural Convergence 17 users (support ends 2009/11/22) [root@hudson software]# env |grep P4 P4PASSWD=XXXXXXXX P4CLIENT=hudson_mainline P4USER=qc [root@hudson software]# This is my Console Output: Started by user anonymous Performing sync with Perforce for: //depot/silhouette/... Changing client to hudson_mainline-hudson [workspace] $ p4 workspace -o hudson_mainline-hudson Changing P4 Client Root to: /root/.hudson/jobs/Perforce_Mainline/workspace/ Changing P4 Client View to: //depot/silhouette/... //hudson_mainline-hudson/... [workspace] $ p4 -s client -i Caught Exception communicating with perforce. Error in client specification. 'client_validation' validation failed: The LineEnd attribute for this client spec (workspace) does not use the 'share' setting. Correct and re-submit. For Command: p4 -s client -i With Data: =================== Client: hudson_mainline-hudson Owner: qc Description: Created by qc. Root: /root/.hudson/jobs/Perforce_Mainline/workspace/ Options: noallwrite noclobber nocompress unlocked nomodtime normdir SubmitOptions: submitunchanged LineEnd: local View: //depot/silhouette/... //hudson_mainline-hudson/... =================== FATAL: Unable to communicate with perforce. Error in client specification. 'client_validation' validation failed: The LineEnd attribute for this client spec (workspace) does not use the 'share' setting. Correct and re-submit. For Command: p4 -s client -i With Data: =================== Client: hudson_mainline-hudson Owner: qc Description: Created by qc. Root: /root/.hudson/jobs/Perforce_Mainline/workspace/ Options: noallwrite noclobber nocompress unlocked nomodtime normdir SubmitOptions: submitunchanged LineEnd: local View: //depot/silhouette/... //hudson_mainline-hudson/... =================== java.io.IOException: Unable to communicate with perforce. Error in client specification. 'client_validation' validation failed: The LineEnd attribute for this client spec (workspace) does not use the 'share' setting. Correct and re-submit. For Command: p4 -s client -i With Data: =================== Client: hudson_mainline-hudson Owner: qc Description: Created by qc. Root: /root/.hudson/jobs/Perforce_Mainline/workspace/ Options: noallwrite noclobber nocompress unlocked nomodtime normdir SubmitOptions: submitunchanged LineEnd: local View: //depot/silhouette/... //hudson_mainline-hudson/... =================== at hudson.plugins.perforce.PerforceSCM.checkout(PerforceSCM.java:368) at hudson.model.AbstractProject.checkout(AbstractProject.java:830) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:314) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:266) at hudson.model.Run.run(Run.java:927) at hudson.model.Build.run(Build.java:112) at hudson.model.ResourceController.execute(ResourceController.java:93) at hudson.model.Executor.run(Executor.java:119) I've tried checking the Let Hudson Manage Workspace View checkbox, and setting and unsetting P4CLIENT and other variables but to no avail. I noticed this line in the only webpage help: "Clientspec" (oldskewl) or "Workspace" (newskewl) of the user. If the workspace you specify does not exist, Hudson creates it. Important Note: Hudson will likely change the root of this workspace to fit Hudson's installation. That means Hudson also automatically creates a workspace for each slave on every project. The hostname of the slave is appended to the end of the given workspace name to ensure that all workspaces are unique that unless you develop from the same directory that Hudson checks out to, you will not be able to reuse this workspace outside of Hudson. I did try getting around all this by updating perforce to include a hudson_mainline-hudson workspace which then gets the sync underway, but if the workspace is changed then it doesn't match the workspace that Perforce has and therefore the view is replaced each time a build is started meaning I sync the entire repository....not what I want to do. Anyone had this issue? Any ideas, is it a mis-configuration or is Perforce just not usable in Hudson?

    Jenkins JIRA | 8 years ago | willjw1
    java.io.IOException: Unable to communicate with perforce. Error in client specification. 'client_validation' validation failed: The LineEnd attribute for this client spec (workspace) does not use the 'share' setting. Correct and re-submit. For Command: p4 -s client -i With Data: =================== Client: hudson_mainline-hudson Owner: qc Description: Created by qc. Root: /root/.hudson/jobs/Perforce_Mainline/workspace/ Options: noallwrite noclobber nocompress unlocked nomodtime normdir SubmitOptions: submitunchanged LineEnd: local View: //depot/silhouette/... //hudson_mainline-hudson/... ===================

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.io.IOException

      Failed to issue perforce label. Error in label specification. Error detected at line 5. Unknown field name 'Revision'. For Command: /opt/perforce/p4 -s label -i With Data: =================== Label: analytics-continuous-Build-12 Owner: hdrbob Description: Changelist: 113024 Revision: @113024 Options: View: //analytics/main/... ===================

      at hudson.plugins.perforce.PerforceTagAction.tagBuild()
    2. hudson.plugins.perforce
      PerforceTagAction.doSubmit
      1. hudson.plugins.perforce.PerforceTagAction.tagBuild(PerforceTagAction.java:195)
      2. hudson.plugins.perforce.PerforceTagAction.doSubmit(PerforceTagAction.java:168)
      2 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:622)
      4 frames
    4. Stapler
      Stapler.service
      1. org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:298)
      2. org.kohsuke.stapler.Function.bindAndInvoke(Function.java:161)
      3. org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:96)
      4. org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:120)
      5. org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
      6. org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:728)
      7. org.kohsuke.stapler.Stapler.invoke(Stapler.java:858)
      8. org.kohsuke.stapler.MetaClass$12.dispatch(MetaClass.java:390)
      9. org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:728)
      10. org.kohsuke.stapler.Stapler.invoke(Stapler.java:858)
      11. org.kohsuke.stapler.MetaClass$12.dispatch(MetaClass.java:390)
      12. org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:728)
      13. org.kohsuke.stapler.Stapler.invoke(Stapler.java:858)
      14. org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:248)
      15. org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
      16. org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:728)
      17. org.kohsuke.stapler.Stapler.invoke(Stapler.java:858)
      18. org.kohsuke.stapler.Stapler.invoke(Stapler.java:631)
      19. org.kohsuke.stapler.Stapler.service(Stapler.java:225)
      19 frames
    5. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      1 frame
    6. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      2 frames
    7. Hudson
      PluginServletFilter.doFilter
      1. hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:96)
      2. hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:88)
      2 frames
    8. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      2 frames
    9. Hudson
      CrumbFilter.doFilter
      1. hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:91)
      1 frame
    10. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      2 frames
    11. Hudson
      ChainedServletFilter$1.doFilter
      1. hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
      2. hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51)
      3. hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      3 frames
    12. jenkins.security
      ExceptionTranslationFilter.doFilter
      1. jenkins.security.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:117)
      1 frame
    13. Hudson
      ChainedServletFilter$1.doFilter
      1. hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      1 frame
    14. Acegi Security Core
      AnonymousProcessingFilter.doFilter
      1. org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
      1 frame
    15. Hudson
      ChainedServletFilter$1.doFilter
      1. hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      1 frame
    16. Acegi Security Core
      RememberMeProcessingFilter.doFilter
      1. org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142)
      1 frame
    17. Hudson
      ChainedServletFilter$1.doFilter
      1. hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      1 frame
    18. Acegi Security Core
      AbstractProcessingFilter.doFilter
      1. org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271)
      1 frame
    19. Hudson
      ChainedServletFilter$1.doFilter
      1. hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      1 frame
    20. Acegi Security Core
      BasicProcessingFilter.doFilter
      1. org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:174)
      1 frame
    21. Hudson
      ChainedServletFilter$1.doFilter
      1. hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      1 frame
    22. jenkins.security
      ApiTokenFilter.doFilter
      1. jenkins.security.ApiTokenFilter.doFilter(ApiTokenFilter.java:79)
      1 frame
    23. Hudson
      ChainedServletFilter$1.doFilter
      1. hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      1 frame
    24. Acegi Security Core
      HttpSessionContextIntegrationFilter.doFilter
      1. org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)
      1 frame
    25. Hudson
      HudsonFilter.doFilter
      1. hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:67)
      2. hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      3. hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)
      4. hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164)
      4 frames
    26. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      2 frames
    27. Stapler
      CompressionFilter.doFilter
      1. org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:46)
      1 frame
    28. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      2 frames
    29. Hudson
      CharacterEncodingFilter.doFilter
      1. hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81)
      1 frame
    30. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      5. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:465)
      6. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      7. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      8. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      9. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
      9 frames
    31. Grizzly HTTP
      JIoEndpoint$Worker.run
      1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
      2. org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
      3. org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
      3 frames
    32. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:701)
      1 frame