[JIRA] (JENKINS-61995) P4: Task Exception: com.perforce.p4java.exception.ConnectionException: Unmarshalable value in RpcStreamConnection.marshal; type: java.lang.Long

21 views
Skip to first unread message

fulingstar@gmail.com (JIRA)

unread,
Apr 21, 2020, 12:38:03 PM4/21/20
to jenkinsc...@googlegroups.com
ling fu created an issue
 
Jenkins / Task JENKINS-61995
P4: Task Exception: com.perforce.p4java.exception.ConnectionException: Unmarshalable value in RpcStreamConnection.marshal; type: java.lang.Long
Issue Type: Task Task
Assignee: Unassigned
Components: p4-plugin
Created: 2020-04-21 16:37
Environment: Jenkins ver. 2.176.2
p4-plugin 1.10.3
windows 10
java.runtime.version 1.8.0_161-b12
Priority: Minor Minor
Reporter: ling fu

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. 
 

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)
Atlassian logo

j.f.brown@sbcglobal.net (JIRA)

unread,
Apr 21, 2020, 2:46:04 PM4/21/20
to jenkinsc...@googlegroups.com
Joel Brown commented on Task JENKINS-61995
 
Re: P4: Task Exception: com.perforce.p4java.exception.ConnectionException: Unmarshalable value in RpcStreamConnection.marshal; type: java.lang.Long

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

j.f.brown@sbcglobal.net (JIRA)

unread,
Apr 21, 2020, 2:52:02 PM4/21/20
to jenkinsc...@googlegroups.com
Joel Brown edited a comment on Task JENKINS-61995
Hi [~fulingstar], do you have a stack trace in your *jenkins* log file ?  Also, what's you your p4d/helix server exact version?

fulingstar@gmail.com (JIRA)

unread,
Apr 21, 2020, 3:38:03 PM4/21/20
to jenkinsc...@googlegroups.com
ling fu commented on Task JENKINS-61995

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)

kwirth@perforce.com (JIRA)

unread,
Apr 22, 2020, 3:58:03 AM4/22/20
to jenkinsc...@googlegroups.com

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 sup...@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.

 

kwirth@perforce.com (JIRA)

unread,
Apr 22, 2020, 3:58:03 AM4/22/20
to jenkinsc...@googlegroups.com

kwirth@perforce.com (JIRA)

unread,
Apr 24, 2020, 11:41:02 AM4/24/20
to jenkinsc...@googlegroups.com

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.

fulingstar@gmail.com (JIRA)

unread,
Apr 24, 2020, 12:43:03 PM4/24/20
to jenkinsc...@googlegroups.com
ling fu commented on Task JENKINS-61995

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. 

 

fulingstar@gmail.com (JIRA)

unread,
Apr 24, 2020, 12:55:03 PM4/24/20
to jenkinsc...@googlegroups.com

fulingstar@gmail.com (JIRA)

unread,
Apr 24, 2020, 12:56:03 PM4/24/20
to jenkinsc...@googlegroups.com

kwirth@perforce.com (JIRA)

unread,
Apr 28, 2020, 7:22:02 AM4/28/20
to jenkinsc...@googlegroups.com

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.

Reply all
Reply to author
Forward
0 new messages