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

jenkins job fail with org.quality.gates.sonar.api.MaxExecutionTimeException: Max time to wait sonar job!

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • Jenkins version is 2.73

      When using sonarqube quality gates plugin, the job fails with MaxExecutionTimeException. Please advise if this can be resolved with a setting correction or this is internal to the code.

      I tried to adjust the sonar.ws.timeout in sonar properties as well as the Time to wait next check (milliseconds) in Jenkins Sonarqube setting but same issue.
      13:08:44 Has build IN_PROGRESS with id: AXPHUjzAUWWyUzyg8ml- - waiting 10000 to execute next check.13:08:54 Has build IN_PROGRESS with id: AXPHUjzAUWWyUzyg8ml- - waiting 10000 to execute next check.13:09:04 Status => SUCCESS*13:09:04* ERROR: Build step failed with exception*13:09:04* org.quality.gates.sonar.api.MaxExecutionTimeException: Max time to wait sonar job!13:09:04 at org.quality.gates.sonar.api.QualityGatesProvider.getAPIResultsForQualityGates(QualityGatesProvider.java:83)13:09:04 at org.quality.gates.jenkins.plugin.BuildDecision.getStatus(BuildDecision.java:22)13:09:04 at org.quality.gates.jenkins.plugin.QGPublisher.perform(QGPublisher.java:84)13:09:04 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)13:09:04 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:736)13:09:04 at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:682)13:09:04 at hudson.model.Build$BuildExecution.post2(Build.java:186)13:09:04 at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:627)13:09:04 at hudson.model.Run.execute(Run.java:1762)13:09:04 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)13:09:04 at hudson.model.ResourceController.execute(ResourceController.java:97)13:09:04 at hudson.model.Executor.run(Executor.java:421)13:09:04 Build step 'Quality Gates Sonarqube Plugin' marked build as failure

            arkanjoms Rafael Ramos
            jenreg Reg Angeles
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: