Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-61995

P4: Task Exception: com.perforce.p4java.exception.ConnectionException: Unmarshalable value in RpcStreamConnection.marshal; type: java.lang.Long

    Details

    • Type: Task
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Component/s: p4-plugin
    • Labels:
    • Environment:
      Jenkins ver. 2.176.2
      p4-plugin 1.10.3
      windows 10
      java.runtime.version 1.8.0_161-b12
    • Similar Issues:

      Description

      I created a very simple freestyle job to use Perforce in SCM: 

      Manual(custom view)

      view: (xxx) is the path on our P4 server

      //depot/xxxx/... //jenkins-test_sync/xxxx/...

      Force clean and sync (autoclean and sync has the same issue)

      At last, in the log, I saw the failure:

      P4 Task: syncing files at change: 2100529
      ... p4 sync -p c:\jenkins\workspace\test_sync/...@2100529
       -p4 sync -p c:\jenkins\workspace\test_sync/...@2100529
      
      ... totalFileSize 69169
      ... totalFileCount 4
      ..............  //the files
      
      P4 Task: attempt: 1
      ERROR: P4: Task Exception: com.perforce.p4java.exception.ConnectionException: Unmarshalable value in RpcStreamConnection.marshal; type: java.lang.Long
      Finished: FAILURE
      

      All the files are synced from P4 server on the local machine, but it reported the failure and failed the job. 
       

        Attachments

          Activity

          Hide
          joel_brown Joel Brown added a comment - - edited

          Hi ling fu, do you have a stack trace in your jenkins log file ?  Also, what's your p4d/helix server exact version?

          Show
          joel_brown Joel Brown added a comment - - edited Hi ling fu , do you have a stack trace in your jenkins log file ?  Also, what's your p4d/helix server exact version?
          Hide
          fulingstar ling fu added a comment -

          I can only see this in jenkins log:
          Apr 21, 2020 2:36:04 PM INFO org.jenkinsci.plugins.p4.tasks.CheckoutTask getBuildChange
          getBuildChange:return:2100587

           

          Server version: P4D/LINUX26X86_64/2013.2/938876 (2014/09/23)

          Show
          fulingstar ling fu added a comment - I can only see this in jenkins log: Apr 21, 2020 2:36:04 PM INFO org.jenkinsci.plugins.p4.tasks.CheckoutTask getBuildChange getBuildChange:return:2100587   Server version: P4D/LINUX26X86_64/2013.2/938876 (2014/09/23)
          Hide
          p4karl Karl Wirth added a comment -

          Hi ling fu - I have just tested with a Windows 10 build slave against a Linux 13.2 server and for me it works OK so there must be something else going on. The error message suggests there was anetworking problem.

          Can you please send an email to support@perforce.com containing the following information:

          • Screenshot of your Jenkins credential
          • P4D log file for the time of your tets
          • Output from 'p4 -Ztag info'
          • Output from 'p4 configure show'

          Please put the Jenkins job number (JENKINS-61995) in the description or heading.

           

          Show
          p4karl Karl Wirth added a comment - Hi ling fu - I have just tested with a Windows 10 build slave against a Linux 13.2 server and for me it works OK so there must be something else going on. The error message suggests there was anetworking problem. Can you please send an email to support@perforce.com containing the following information: Screenshot of your Jenkins credential P4D log file for the time of your tets Output from 'p4 -Ztag info' Output from 'p4 configure show' Please put the Jenkins job number ( JENKINS-61995 ) in the description or heading.  
          Hide
          p4karl Karl Wirth added a comment -

          Hi ling fu - I havent seen the email yet so just wanted to check if you were able to email to us the private information I have requested.

          Show
          p4karl Karl Wirth added a comment - Hi ling fu - I havent seen the email yet so just wanted to check if you were able to email to us the private information I have requested.
          Hide
          fulingstar ling fu added a comment -

          Hi Karl, 

          I am sorry there are company credential that I couldn't show you . But I changed to pipeline job and use p4sync to do checkout, it works fine. Only in freestyle job, using SCM, it has this issue. 

           

          Show
          fulingstar ling fu added a comment - Hi Karl,  I am sorry there are company credential that I couldn't show you . But I changed to pipeline job and use p4sync to do checkout, it works fine. Only in freestyle job, using SCM, it has this issue.   
          Hide
          fulingstar ling fu added a comment -

          systemInfo.zip

          I attached my Jenkins system info, see if it can help some. 

          Show
          fulingstar ling fu added a comment - systemInfo.zip I attached my Jenkins system info, see if it can help some. 
          Hide
          p4karl Karl Wirth added a comment -

          Hi ling fu - Sorry I'm going to need more the information I requested above. Note that if you are an exsiting Perforce customer you may already have a NDA in place with us.

          Show
          p4karl Karl Wirth added a comment - Hi ling fu - Sorry I'm going to need more the information I requested above. Note that if you are an exsiting Perforce customer you may already have a NDA in place with us.

            People

            • Assignee:
              Unassigned
              Reporter:
              fulingstar ling fu
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: