• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • p4-plugin

      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. 

       

          [JENKINS-59213] P4 Plugin - Errors when syncing symlinks

          Ivan Tashev created issue -

          Paul Allen added a comment -

          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.

          Paul Allen added a comment - 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.

          Ivan Tashev added a comment - - edited

          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. 

          Ivan Tashev added a comment - - edited 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. 

          Karl Wirth added a comment -

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

           

          Karl Wirth added a comment - Hi ivtashev - I'd like to ask you for some system specific information so is it OK if I email you directly?  
          Karl Wirth made changes -
          Labels Original: p4-plugin symlink New: P4_SUPPORT p4-plugin symlink
          Karl Wirth made changes -
          Assignee New: Karl Wirth [ p4karl ]
          Paul Allen made changes -
          Link New: This issue is related to JENKINS-59611 [ JENKINS-59611 ]
          Paul Allen made changes -
          Assignee Original: Karl Wirth [ p4karl ] New: Charusheela Bopardikar [ cbopardikar ]
          Paul Allen made changes -
          Labels Original: P4_SUPPORT p4-plugin symlink New: P4_VERIFY p4-plugin symlink
          Paul Allen made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]

            cbopardikar Charusheela Bopardikar
            ivtashev Ivan Tashev
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: