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

Jenkins exception in running Octane Pipeline job

XMLWordPrintable

      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,

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

              Created:
              Updated:
              Resolved: