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

Jenkins exception in running Octane Pipeline job

      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,

          [JENKINS-58614] Jenkins exception in running Octane Pipeline job

          Alberto Stevanato created issue -
          Daniel Gront made changes -
          Assignee Original: Daniel Gront [ gront ] New: Radi Berkovich [ 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]

           

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

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

              Created:
              Updated:
              Resolved: