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

BZ 78807 - new MISRA option breaks Test Advisor option

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • coverity-plugin
    • None
    • Jenkins 1.609.1, Coverity plugin 1.5.2, Coverity Analysis 7.6.0

      When using the Coverity plugin with Test Advisor analysis enabled, the following is displayed even though the MISRA option has not been enabled:

      FATAL: Errors with your "Perform Coverity build/analyze/commit" options:
      [Error] MISRA and Test Advisor options are not compatible.

      java.lang.RuntimeException: Errors with your "Perform Coverity build/analyze/commit" options:
      [Error] MISRA and Test Advisor options are not compatible.

      at jenkins.plugins.coverity.CoverityLauncherDecorator.decorate(CoverityLauncherDecorator.java:117)
      at hudson.Launcher.decorateFor(Launcher.java:682)
      at hudson.model.Slave.createLauncher(Slave.java:374)
      at hudson.model.AbstractBuild$AbstractBuildExecution.createLauncher(AbstractBuild.java:563)
      at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:494)
      at hudson.model.Run.execute(Run.java:1741)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      at hudson.model.ResourceController.execute(ResourceController.java:98)
      at hudson.model.Executor.run(Executor.java:374)
      Finished: FAILURE

      Reproduce steps:
      1) create a Jenkins job with build and test steps
      2) add Coverity postbuild step, enabling static analysis only
      3) run job to verify Coverity static analysis works
      4) enable Test Advisor for code coverage analysis
      5) rerun job which results in above fatal error

            kdang Ken Dang
            chuckaude Chuck Aude
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: