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

Exceptions when performing post build Perforce tasks on concurrent builds

    • Icon: Bug Bug
    • Resolution: Postponed
    • Icon: Critical Critical
    • p4-plugin
    • Jenkins 2.53
      P4 plugin 1.5.1

      I have a job that can perform concurrent builds.

      As post-build steps I have both Perforce: Publish assets and Perforce: Cleanup.

      The Publish assets action on the concurrent build results in:
      P4: Unable to setup workspace: com.perforce.p4java.exception.RequestException: Error in client specification.
      Embedded special characters (*, %%, #, @) not allowed in 'C:\Program Files (x86)\Jenkins\workspace\test-project-assets@2'.

      ERROR: Step ‘Perforce: Publish assets’ failed: P4: Unable to setup workspace: com.perforce.p4java.exception.RequestException: Error in client specification.
      Embedded special characters (*, %%, #, @) not allowed in 'C:\Program Files (x86)\Jenkins\workspace\test-project-assets@2'.
       

      If I remove the Publish assets step and only perform the Cleanup step I get:
      P4: Template workspace not found: jenkins-master-test-project-assets_TEST
      P4: Unable to setup workspace: hudson.AbortException: P4: Undefined workspace: jenkins-master-test-project-assets_TEST.clone2
      ERROR: Step ‘Perforce: Cleanup’ failed: P4: Unable to setup workspace: hudson.AbortException: P4: Undefined workspace: jenkins-master-test-project-assets_TEST.clone2
       

      The exceptions do NOT occur on the first concurrent build.

          [JENKINS-43378] Exceptions when performing post build Perforce tasks on concurrent builds

          David Hartley created issue -
          Allan BURDAJEWICZ made changes -
          Assignee New: Allan BURDAJEWICZ [ allan_burdajewicz ]
          Allan BURDAJEWICZ made changes -
          Assignee Original: Allan BURDAJEWICZ [ allan_burdajewicz ]
          David Hartley made changes -
          Assignee New: Paul Allen [ p4paul ]
          David Hartley made changes -
          Assignee Original: Paul Allen [ p4paul ]
          David Hartley made changes -
          Priority Original: Minor [ 4 ] New: Critical [ 2 ]
          David Hartley made changes -
          Assignee New: Paul Allen [ p4paul ]
          Paul Allen made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Paul Allen made changes -
          Status Original: In Progress [ 3 ] New: In Review [ 10005 ]
          Paul Allen made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: In Review [ 10005 ] New: Resolved [ 5 ]
          David Hartley made changes -
          Resolution Original: Fixed [ 1 ]
          Status Original: Resolved [ 5 ] New: Reopened [ 4 ]

            p4paul Paul Allen
            d_hartley David Hartley
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: