Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Component/s: p4-plugin
    • Labels:
    • Environment:
      p4-1.9.2
      jenkins-2.138.2 docker image
      Jenkins Agent Node - Windows Server 2008 R2 (amd64) - Connected via JNLP agent
    • Similar Issues:

      Description

      p4sync hangs at "p4 sync -f -q".

      ===== Build Log =====

      Running on windows2018-00 in D:\views\jenkins\stg\workspace\art/art/art
      [Pipeline] {
      [Pipeline] p4sync
      ... p4 client -o p4service-stg-windows2018-00-art-art-art +
      ... p4 info +
      ... p4 client -o p4service-stg-windows2018-00-art-art-art +
      ... p4 info +
      ... p4 info +
      ... p4 client -i +
      ... client: p4service-stg-windows2018-00-art-art-art
      ... p4 client -o p4service-stg-windows2018-00-art-art-art +
      ... p4 info +
      ... p4 counter change +
      ... p4 changes -m1 -ssubmitted //p4service-stg-windows2018-00-art-art-art/... +
      Building on Node: windows2018-00
      ... p4 client -o p4service-stg-windows2018-00-art-art-art
       -
      p4 client -o p4service-stg-windows2018-00-art-art-art
      
      ... p4 info
       -
      p4 info
      
      
      P4 Task: establishing connection.
      ... server: p4.art.com:1666
      ... node: windows2018-00
      
      P4 Task: reverting all pending and shelved revisions.
      ... p4 revert D:\views\jenkins\stg\workspace\art/art/art/...
       -
      p4 revert D:\views\jenkins\stg\workspace\art/art/art/...
      
      D:\views\jenkins\stg\workspace\art/art/art/... - file(s) not opened on this client.
      
      ... rm [abandoned files]
      duration: (101ms)
      
      ... p4 sync -q D:\views\jenkins\stg\workspace\art/art/art/...#none
       -
      p4 sync -q D:\views\jenkins\stg\workspace\art/art/art/...#none
      
      ... rm -rf D:\views\jenkins\stg\workspace\art/art/art
      
      P4 Task: syncing files at change: 791149
      ... p4 sync -f -q D:\views\jenkins\stg\workspace\art/art/art/...@791149
       -
      p4 sync -f -q D:\views\jenkins\stg\workspace\art/art/art/...@791149
      
      ... totalFileSize 49136103
      ... totalFileCount 6880
      
      Aborted by Shiao, Bing
      

      ===== Jenkinsfile =====

      stage("checkout") {
       agent \{ label 'WINDOWS'}
       steps {
       p4checkout()
       }
       }
      }
      
      def p4checkout() {
       p4sync charset: 'none', credential: '00a0b008-0000-0000-0000-000001fa0000', format: 'p4service-stg-${NODE_NAME}-${JOB_NAME}', populate: forceClean(have: true, modtime: false, parallel: [enable: false, minbytes: '1024', minfiles: '1', threads: '4'], pin: '', quiet: true, replace: true, tidy: false), source: depotSource('//p4depot/ART/art/main/...')
      }
      

      ===== Thread dump of Jenkins Agent windows2018-00 ===== 
      https://gist.github.com/bingshiao/3fe801d2c2ed7d701d90e0741422e398

        Attachments

          Activity

          Hide
          p4karl Karl Wirth added a comment -

          Hi Bing Shiao - I just found this bug. Are you still seeing this problem?

          Show
          p4karl Karl Wirth added a comment - Hi Bing Shiao - I just found this bug. Are you still seeing this problem?
          Hide
          bingshiao Bing Shiao added a comment -

          After changing populate method from forceClean to autoClean, I don't see this problem anymore; not sure if it's related or just coincident.

          populate: forceClean(have: true ...)
          
          populate: autoClean(delete: true ...)
          
          Show
          bingshiao Bing Shiao added a comment - After changing populate method from forceClean to autoClean , I don't see this problem anymore; not sure if it's related or just coincident. populate: forceClean(have: true ...) populate: autoClean(delete: true ...)
          Hide
          p4karl Karl Wirth added a comment -

          Hi Bing Shiao - Great that you found a workaround. If you would like to investigate further please let me know.

          Show
          p4karl Karl Wirth added a comment - Hi Bing Shiao - Great that you found a workaround. If you would like to investigate further please let me know.
          Hide
          p4karl Karl Wirth added a comment -

          Workaround found.

          Show
          p4karl Karl Wirth added a comment - Workaround found.

            People

            • Assignee:
              p4karl Karl Wirth
              Reporter:
              bingshiao Bing Shiao
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: