Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-54475

p4sync hangs at "p4 sync -f -q"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • p4-plugin
    • p4-1.9.2
      jenkins-2.138.2 docker image
      Jenkins Agent Node - Windows Server 2008 R2 (amd64) - Connected via JNLP agent

      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

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

              Created:
              Updated:
              Resolved: