com.tek42.perforce.PerforceException: Errors encountered while syncing: error: Too many rows scanned (over 100000); see 'p4 help maxscanrows'.

Jenkins JIRA | ickersep | 6 years ago
  1. 0

    After upgrading to version 1.2.3 of Perforce plugin we're suddenly getting an error/exception (see below). This happened on two different machines after upgrading to 1.2.3. It worked happily before the upgrade and the output log didn't show any errors. However, when I try to do this on the command line I get the same error, so the behavior might be correct. The only thing is that it worked correct in Jenkins before the upgrade, but doesn't do it anymore after the upgrade. [WW] $ /usr/local/bin/p4 -s sync //WW--497286900/...@34822 Caught exception communicating with perforce. Errors encountered while syncing: error: Too many rows scanned (over 100000); see 'p4 help maxscanrows'. com.tek42.perforce.PerforceException: Errors encountered while syncing: error: Too many rows scanned (over 100000); see 'p4 help maxscanrows'. at com.tek42.perforce.parse.Workspaces.syncTo(Workspaces.java:158) at hudson.plugins.perforce.PerforceSCM.checkout(PerforceSCM.java:672) at hudson.model.AbstractProject.checkout(AbstractProject.java:1171) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:521) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:416) at hudson.model.Run.run(Run.java:1362) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:145) ERROR: Unable to communicate with perforce. Errors encountered while syncing: error: Too many rows scanned (over 100000); see 'p4 help maxscanrows'. -- Posted from Bugbox for Android

    Jenkins JIRA | 6 years ago | ickersep
    com.tek42.perforce.PerforceException: Errors encountered while syncing: error: Too many rows scanned (over 100000); see 'p4 help maxscanrows'.
  2. 0

    After upgrading to version 1.2.3 of Perforce plugin we're suddenly getting an error/exception (see below). This happened on two different machines after upgrading to 1.2.3. It worked happily before the upgrade and the output log didn't show any errors. However, when I try to do this on the command line I get the same error, so the behavior might be correct. The only thing is that it worked correct in Jenkins before the upgrade, but doesn't do it anymore after the upgrade. [WW] $ /usr/local/bin/p4 -s sync //WW--497286900/...@34822 Caught exception communicating with perforce. Errors encountered while syncing: error: Too many rows scanned (over 100000); see 'p4 help maxscanrows'. com.tek42.perforce.PerforceException: Errors encountered while syncing: error: Too many rows scanned (over 100000); see 'p4 help maxscanrows'. at com.tek42.perforce.parse.Workspaces.syncTo(Workspaces.java:158) at hudson.plugins.perforce.PerforceSCM.checkout(PerforceSCM.java:672) at hudson.model.AbstractProject.checkout(AbstractProject.java:1171) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:521) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:416) at hudson.model.Run.run(Run.java:1362) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:145) ERROR: Unable to communicate with perforce. Errors encountered while syncing: error: Too many rows scanned (over 100000); see 'p4 help maxscanrows'. -- Posted from Bugbox for Android

    Jenkins JIRA | 6 years ago | ickersep
    com.tek42.perforce.PerforceException: Errors encountered while syncing: error: Too many rows scanned (over 100000); see 'p4 help maxscanrows'.
  3. 0

    Facing issue with jenkins: label name not recognized by sync command

    Stack Overflow | 1 year ago | Vetrivelkumar Pandi
    com.tek42.perforce.PerforceException: Errors encountered while force syncing: error: Invalid changelist/client/label/date '@cobrands.razor12.FIS.prod.20150609_build_01
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Unable to sync source code using the perforce plugin for Jenkins

    Stack Overflow | 1 year ago | Var
    com.tek42.perforce.PerforceException: Errors encountered while force syncing: error: //Perforce-Test/...@3691663 - protected namespace - access denied.
  6. 0

    Hi there, If you configure the Perforce plugin to "Always Force Sync" and "Don't update server database on sync (-p)" then this will fail with: [NvTriStrip] $ "C:\\Program Files\\Perforce\\p4.exe" -s sync -f -p //Jenkins_NvTriStrip-Build2/...@167119 11:33:20 Caught exception communicating with perforce. Errors encountered while force syncing: error: Usage: sync [ -n -p -q ] [-m max] [files...] 11:33:20 com.tek42.perforce.PerforceException: Errors encountered while force syncing: error: Usage: sync [ -n -p -q ] [-m max] [files...] 11:33:20 11:33:20 at com.tek42.perforce.parse.Workspaces.syncTo(Workspaces.java:167) 11:33:20 at hudson.plugins.perforce.PerforceSCM.checkout(PerforceSCM.java:747) 11:33:20 at hudson.model.AbstractProject.checkout(AbstractProject.java:1195) 11:33:20 at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:579) 11:33:20 at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:468) 11:33:20 at hudson.model.Run.run(Run.java:1408) 11:33:20 at hudson.matrix.MatrixBuild.run(MatrixBuild.java:252) 11:33:20 at hudson.model.ResourceController.execute(ResourceController.java:88) 11:33:20 at hudson.model.Executor.run(Executor.java:238) 11:33:20 at hudson.model.OneOffExecutor.run(OneOffExecutor.java:66) 11:33:20 ERROR: Unable to communicate with perforce. Errors encountered while force syncing: error: Usage: sync [ -n -p -q ] [-m max] [files...] Is it possible to update the Perforce plugin to at least warn or error if both these options are enabled? Regards, Tom.

    Jenkins JIRA | 5 years ago | Thomas Fields
    com.tek42.perforce.PerforceException: Errors encountered while force syncing: error: Usage: sync [ -n -p -q ] [-m max] [files...]

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. com.tek42.perforce.PerforceException

      Errors encountered while syncing: error: Too many rows scanned (over 100000); see 'p4 help maxscanrows'.

      at com.tek42.perforce.parse.Workspaces.syncTo()
    2. com.tek42.perforce
      Workspaces.syncTo
      1. com.tek42.perforce.parse.Workspaces.syncTo(Workspaces.java:158)
      1 frame
    3. hudson.plugins.perforce
      PerforceSCM.checkout
      1. hudson.plugins.perforce.PerforceSCM.checkout(PerforceSCM.java:672)
      1 frame
    4. Hudson
      Executor.run
      1. hudson.model.AbstractProject.checkout(AbstractProject.java:1171)
      2. hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:521)
      3. hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:416)
      4. hudson.model.Run.run(Run.java:1362)
      5. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      6. hudson.model.ResourceController.execute(ResourceController.java:88)
      7. hudson.model.Executor.run(Executor.java:145)
      7 frames