[JIRA] (JENKINS-59213) P4 Plugin - Errors when syncing symlinks

0 views
Skip to first unread message

ivtashev@ea.com (JIRA)

unread,
Sep 3, 2019, 6:58:02 PM9/3/19
to jenkinsc...@googlegroups.com
Ivan Tashev created an issue
 
Jenkins / Bug JENKINS-59213
P4 Plugin - Errors when syncing symlinks
Issue Type: Bug Bug
Assignee: Unassigned
Components: p4-plugin
Created: 2019-09-03 22:57
Environment: Operating System:
* Build Slave is Win10 64
* Jenkins master: CentOS: 7.5 64
JDKs:
* Build Slave: Oracle 1.8.0_171
* Master: Oracle 1.8.0_212
Versions:
* Jenkins: 2.164.2
* P4 Plugin: 1.10.3
Jenkins NOT run via container
Jenkins NOT setup via reverse proxy
Jenkins installed with yum (rpm)
Jenkins slave installed via jnlp but running as a service
Labels: p4-plugin symlink
Priority: Critical Critical
Reporter: Ivan Tashev

After updating from 1.10.0 to 1.10.3 I am seeing the following errors on Windows build slaves:

15:00:01  ERROR: P4: Task Exception: com.perforce.p4java.exception.P4JavaException: com.perforce.p4java.exception.P4JavaException: hudson.AbortException: P4JAVA: Error(s):
15:00:01  symlink file <some symlink> can't be sync'd or created with this client program.

Note that we are using a virtual stream. 

 

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

pallen@perforce.com (JIRA)

unread,
Sep 4, 2019, 6:31:02 AM9/4/19
to jenkinsc...@googlegroups.com
Paul Allen commented on Bug JENKINS-59213
 
Re: P4 Plugin - Errors when syncing symlinks

It's possible that the older 1.10.0 release may have left a 'bad' symlink in your workspace with strange permissions.  You may need to use 'administrator' permissions to clean up the file. 

Windows has a few types of symlinks; the plugin only supports 'symlinks' not 'junctions' JENKINS-57955.

If it still causes a problem please let me know.

ivtashev@ea.com (JIRA)

unread,
Sep 4, 2019, 12:34:04 PM9/4/19
to jenkinsc...@googlegroups.com
Ivan Tashev edited a comment on Bug JENKINS-59213
Hey [~p4paul], thank you for the responce.

 

The error was actually revealed after I did a full wipe and recreate of the workspace (after basically deleting local files and p4 client). I am not sure this is an OS specific issue, as I can sync the files on the same build node with P4V using the same p4 client. 

ivtashev@ea.com (JIRA)

unread,
Sep 4, 2019, 12:34:04 PM9/4/19
to jenkinsc...@googlegroups.com

Hey Paul Allen, thank you for the responce.

 

The error was actually revealed after I did a full wipe and recreate of the workspace (after basically deleting local files and p4 client). I am not sure this is an OS specific issue, as I can sync the files on the same build node with P4V using the same p4 client. 

kwirth@perforce.com (JIRA)

unread,
Sep 9, 2019, 11:05:04 AM9/9/19
to jenkinsc...@googlegroups.com

Hi Ivan Tashev - I'd like to ask you for some system specific information so is it OK if I email you directly?

 

This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

kwirth@perforce.com (JIRA)

unread,
Sep 9, 2019, 11:05:05 AM9/9/19
to jenkinsc...@googlegroups.com
Karl Wirth assigned an issue to Karl Wirth
 
Change By: Karl Wirth
Assignee: Karl Wirth

kwirth@perforce.com (JIRA)

unread,
Sep 9, 2019, 11:05:05 AM9/9/19
to jenkinsc...@googlegroups.com
Karl Wirth updated an issue
Change By: Karl Wirth
Labels: P4_SUPPORT p4-plugin symlink

pallen@perforce.com (JIRA)

unread,
Oct 15, 2019, 6:30:05 AM10/15/19
to jenkinsc...@googlegroups.com
Paul Allen assigned an issue to Charusheela Bopardikar
Change By: Paul Allen
Assignee: Karl Wirth Charusheela Bopardikar

pallen@perforce.com (JIRA)

unread,
Oct 15, 2019, 6:31:02 AM10/15/19
to jenkinsc...@googlegroups.com
Paul Allen started work on Bug JENKINS-59213
 
Change By: Paul Allen
Status: Open In Progress

pallen@perforce.com (JIRA)

unread,
Oct 15, 2019, 6:31:03 AM10/15/19
to jenkinsc...@googlegroups.com
Paul Allen updated an issue
Change By: Paul Allen
Labels: P4_SUPPORT P4_VERIFY p4-plugin symlink

pallen@perforce.com (JIRA)

unread,
Oct 25, 2019, 10:58:03 AM10/25/19
to jenkinsc...@googlegroups.com
Paul Allen closed an issue as Fixed
 

Released in 1.10.6

Change By: Paul Allen
Status: In Progress Closed
Resolution: Fixed
Reply all
Reply to author
Forward
0 new messages