• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • p4-plugin
    • Docker Jenkins as master, Windows Server 2016 + Java 1.8.0 144 b0 and Gentoo as slaves

      Client is created and sync of client appears in log but the files are not there. I need to log into node and issue p4 sync manually.

          [JENKINS-48525] Perforce plugin doesn't sync

          Maciej Piechotka created issue -

          William Brode added a comment -

          I saw this same issue - everything looks normal but no files are synced.  In our case it was a problem with our p4 edge server and parallel syncing in p4java (IIRC).  This was affecting us even though I had parallel syncing disabled.  The workaround was to set the parallel sync options to the following:

          parallel: [enable: true, minbytes: '0', minfiles: '0', threads: '0']

          Thought I would comment just in case you have the same cause.

          William Brode added a comment - I saw this same issue - everything looks normal but no files are synced.  In our case it was a problem with our p4 edge server and parallel syncing in p4java (IIRC).  This was affecting us even though I had parallel syncing disabled.  The workaround was to set the parallel sync options to the following: parallel: [enable: true, minbytes: '0', minfiles: '0', threads: '0'] Thought I would comment just in case you have the same cause.

          Yes. I forgot to update that I find out that parallel sync is the problematic setting.

          Maciej Piechotka added a comment - Yes. I forgot to update that I find out that parallel sync is the problematic setting.
          Karl Wirth made changes -
          Resolution New: Not A Defect [ 7 ]
          Status Original: Open [ 1 ] New: Closed [ 6 ]
          Karl Wirth made changes -
          Labels Original: checkout New: P4_SUPPORT checkout

          Maciej Piechotka added a comment - - edited
          • I started reproducing it with non-parallel sync
          • How is this 'Not a defect'? I'm assuming it was closed by accident as no comment was made and reopen

          Maciej Piechotka added a comment - - edited I started reproducing it with non-parallel sync How is this 'Not a defect'? I'm assuming it was closed by accident as no comment was made and reopen
          Maciej Piechotka made changes -
          Resolution Original: Not A Defect [ 7 ]
          Status Original: Closed [ 6 ] New: Reopened [ 4 ]

          Rob Ilott added a comment -

          We have recently been hit quite badly by this issue. Using William's work around seems to have fixed it for us. Any chance this is going to be looked at soon?

          Rob Ilott added a comment - We have recently been hit quite badly by this issue. Using William's work around seems to have fixed it for us. Any chance this is going to be looked at soon?

          Tom Sackett added a comment -

          I'm running into this problem with parallel sync. The log output shows the files being added, but the workspace on the build machine is empty. The sync succeeds if I disable parallel syncing. However, we really need parallel sync to work.

          Tom Sackett added a comment - I'm running into this problem with parallel sync. The log output shows the files being added, but the workspace on the build machine is empty. The sync succeeds if I disable parallel syncing. However, we really need parallel sync to work.

          William Brode added a comment -

          tsackett - I think we found that the issue was partially related to proxy or edge servers and how they were set up with regards to parallel syncing.  So you could look at your p4 server configuration to get it to work properly.  Perhaps you could reply here if you figure out the steps that work for you.

          William Brode added a comment - tsackett - I think we found that the issue was partially related to proxy or edge servers and how they were set up with regards to parallel syncing.  So you could look at your p4 server configuration to get it to work properly.  Perhaps you could reply here if you figure out the steps that work for you.

            p4karl Karl Wirth
            mpiechotka Maciej Piechotka
            Votes:
            14 Vote for this issue
            Watchers:
            20 Start watching this issue

              Created:
              Updated:
              Resolved: