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

Jenkins exception in running Octane Pipeline job

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Hello,
      Excecuting a job connected to Octane (from the tool or from Jenkins) causes some exceptions that kills the entire server.

      The issue happens when executing a job that triggers Gherkin tests on a Kubernetes pod through Maven goals.

      Tests are executed and Gherkin Results are generated (through the Octane Cucumber JVM).
      The first exception (arose when above results are not generated) is:

      Caused by: java.lang.RuntimeException: Failed to serialize com.microfocus.application.automation.tools.octane.actions.cucumber.CucumberTestResultsAction#workspace for class com.microfocus.application.automation.tools.octane.actions.cucumber.CucumberTestResultsAction at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:256) at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:224)

      While the exception that stopped the service seems to be:

      java.lang.UnsupportedOperationException
      at org.jenkinsci.plugins.workflow.job.WorkflowRun.getLogFile(WorkflowRun.java:1085)
      at com.microfocus.application.automation.tools.octane.CIJenkinsServicesImpl.getOctaneLogFile(CIJenkinsServicesImpl.java:566)
      at com.microfocus.application.automation.tools.octane.CIJenkinsServicesImpl.getBuildLog(CIJenkinsServicesImpl.java:365)
      at com.hp.octane.integrations.services.logs.LogsServiceImpl.pushBuildLog(LogsServiceImpl.java:157)
      at com.hp.octane.integrations.services.logs.LogsServiceImpl.worker(LogsServiceImpl.java:114)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      at java.lang.Thread.run(Thread.java:748)

      Best regards,

        Attachments

          Activity

          alsteve89 Alberto Stevanato created issue -
          gront Daniel Gront made changes -
          Field Original Value New Value
          Assignee Daniel Gront [ gront ] Radi Berkovich [ radislavb ]
          radislavb Radi Berkovich made changes -
          Comment [ Hi Alberto .

          The following issue :  _Caused by: java.lang.RuntimeException: Failed to serialize com.microfocus.application.automation.tools.octane.actions.cucumber.CucumberTestResultsAction#workspace for_

          _is fixed in v5.9.1-beta_

          [http://repo.jenkins-ci.org/releases/org/jenkins-ci/plugins/hp-application-automation-tools-plugin/5.9.1-beta/hp-application-automation-tools-plugin-5.9.1-beta.hpi]

           

          Thanks.

           

          [ |http://repo.jenkins-ci.org/releases/org/jenkins-ci/plugins/hp-application-automation-tools-plugin/5.9.1-beta/hp-application-automation-tools-plugin-5.9.1-beta.hpi]

           

            ]
          radislavb Radi Berkovich made changes -
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Fixed but Unreleased [ 10203 ]
          radislavb Radi Berkovich made changes -
          Status Fixed but Unreleased [ 10203 ] Closed [ 6 ]

            People

            Assignee:
            radislavb Radi Berkovich
            Reporter:
            alsteve89 Alberto Stevanato
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: