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

Perforce Poll SCM Broken

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Blocker Blocker
    • p4-plugin
    • None

      Perforce polling broken. No SCM triggered build are working and CI is effectively down. Below is the perforce polling log which is seemingly puking on the use of overlapping workspace chraracter "+" which has been working for us for months..

      I use a workspace similiar to

      //depot/trunk/accounts-payable/... //jenkins-workspace/...
      +//depot/sandboxes/smacdonald/m3/accounts-payable/... //jenkins-workspace/...

      Note the "+" which is a legal character in perforce workspace and has been working fine for months up until recently.. I am unsure exactly when this started occurring, but have backed off my recent upgrade 1.426 back to 1.425 and its is still occurring. All my CI builds are currently broke.

      Polling Log...

      Started on Aug 17, 2011 3:27:47 PM
      Looking for changes...
      Using node: Jenkins
      Using master perforce client: jenkins_trunk_accounts-payable
      [.jenkins] $ /usr/bin/p4 workspace -o jenkins_trunk_accounts-payable
      [.jenkins] $ /usr/bin/p4 counter change
      [.jenkins] $ /usr/bin/p4 -s changes //jenkins_trunk_accounts-payable/...@41451,@41507
      Latest submitted change selected by workspace is 41506
      [.jenkins] $ /usr/bin/p4 describe -s 41506
      [.jenkins] $ /usr/bin/p4 -G where //depot/sandboxes/smacdonald/m3/accounts-payable/pom.xml
      ERROR: Failed to record SCM polling
      java.util.regex.PatternSyntaxException: Dangling meta character '+' near index 0
      +//depot/sandboxes/smacdonald/m3/accounts-payable/accounts-payable-db/.*
      ^
      at java.util.regex.Pattern.error(Pattern.java:1713)
      at java.util.regex.Pattern.sequence(Pattern.java:1878)
      at java.util.regex.Pattern.expr(Pattern.java:1752)
      at java.util.regex.Pattern.compile(Pattern.java:1460)
      at java.util.regex.Pattern.<init>(Pattern.java:1133)
      at java.util.regex.Pattern.compile(Pattern.java:823)
      at hudson.plugins.perforce.PerforceSCM.doesFilenameMatchP4Pattern(PerforceSCM.java:1055)
      at hudson.plugins.perforce.PerforceSCM.doesFilenameMatchAnyP4Pattern(PerforceSCM.java:1043)
      at hudson.plugins.perforce.PerforceSCM.isChangelistExcluded(PerforceSCM.java:1022)
      at hudson.plugins.perforce.PerforceSCM.getCurrentDepotRevisionState(PerforceSCM.java:963)
      at hudson.plugins.perforce.PerforceSCM.compareRemoteRevisionWith(PerforceSCM.java:844)
      at hudson.scm.SCM._compareRemoteRevisionWith(SCM.java:355)
      at hudson.scm.SCM.poll(SCM.java:372)
      at hudson.model.AbstractProject.poll(AbstractProject.java:1324)
      at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:420)
      at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:449)
      at hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:118)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:619)

            rpetti Rob Petti
            scanguskhan Scott MacDonald
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: