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

Could not initialize class com.hp.octane.integrations.OctaneSDK

      When the plugin is enabled on the latest jenkins/jenkins:lts-jdk11 image from Docker hub, it's breaking the Jenkins views with the following failure:

      The actual error is:

      2024-08-15 15:28:00.058+0000 [id=253]    SEVERE    h.triggers.SCMTrigger$Runner#runPolling: Failed to record SCM polling for org.jenkinsci.plugins.workflow.job.WorkflowJob@6830f7c4[<scrubbed for privacy>]
      java.lang.NoClassDefFoundError: Could not initialize class com.hp.octane.integrations.OctaneSDK
          at PluginClassLoader for hp-application-automation-tools-plugin//com.microfocus.application.automation.tools.octane.executor.CheckOutSubDirEnvContributor.buildEnvironmentFor(CheckOutSubDirEnvContributor.java:61)
          at hudson.model.Job.getEnvironment(Job.java:406)
          at hudson.model.Run.getEnvironment(Run.java:2427)
          at PluginClassLoader for workflow-job//org.jenkinsci.plugins.workflow.job.WorkflowRun.getEnvironment(WorkflowRun.java:519)
          at PluginClassLoader for git//hudson.plugins.git.GitSCM.compareRemoteRevisionWithImpl(GitSCM.java:713)
          at PluginClassLoader for git//hudson.plugins.git.GitSCM.compareRemoteRevisionWith(GitSCM.java:688)
          at PluginClassLoader for workflow-job//org.jenkinsci.plugins.workflow.job.WorkflowJob.poll(WorkflowJob.java:631)
          at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:617)
          at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:664)
          at hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:123)
          at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
          at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
          at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
          at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
          at java.base/java.lang.Thread.run(Unknown Source)

       

      Disabling the plugin fixes the instance.

          [JENKINS-73623] Could not initialize class com.hp.octane.integrations.OctaneSDK

          E created issue -
          E made changes -
          Attachment Original: image-2024-08-15-18-28-07-263.png [ 63147 ]
          E made changes -
          Description Original: When the plugin is enabled on the latest jenkins/jenkins:lts-jdk11 image from Docker hub, it's breaking the Jenkins views with the following failure:

          !image-2024-08-15-18-28-36-951.png!

          The actual error is:

          2024-08-15 15:28:00.058+0000 [id=253]    SEVERE    h.triggers.SCMTrigger$Runner#runPolling: Failed to record SCM polling for org.jenkinsci.plugins.workflow.job.WorkflowJob@6830f7c4[<scrubbed for privacy>]
          java.lang.NoClassDefFoundError: Could not initialize class com.hp.octane.integrations.OctaneSDK
              at PluginClassLoader for hp-application-automation-tools-plugin//com.microfocus.application.automation.tools.octane.executor.CheckOutSubDirEnvContributor.buildEnvironmentFor(CheckOutSubDirEnvContributor.java:61)
              at hudson.model.Job.getEnvironment(Job.java:406)
              at hudson.model.Run.getEnvironment(Run.java:2427)
              at PluginClassLoader for workflow-job//org.jenkinsci.plugins.workflow.job.WorkflowRun.getEnvironment(WorkflowRun.java:519)
              at PluginClassLoader for git//hudson.plugins.git.GitSCM.compareRemoteRevisionWithImpl(GitSCM.java:713)
              at PluginClassLoader for git//hudson.plugins.git.GitSCM.compareRemoteRevisionWith(GitSCM.java:688)
              at PluginClassLoader for workflow-job//org.jenkinsci.plugins.workflow.job.WorkflowJob.poll(WorkflowJob.java:631)
              at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:617)
              at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:664)
              at hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:123)
              at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
              at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
              at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
              at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
              at java.base/java.lang.Thread.run(Unknown Source)
          New: When the plugin is enabled on the latest jenkins/jenkins:lts-jdk11 image from Docker hub, it's breaking the Jenkins views with the following failure:

          !image-2024-08-15-18-28-36-951.png!

          The actual error is:

          2024-08-15 15:28:00.058+0000 [id=253]    SEVERE    h.triggers.SCMTrigger$Runner#runPolling: Failed to record SCM polling for org.jenkinsci.plugins.workflow.job.WorkflowJob@6830f7c4[<scrubbed for privacy>]
          java.lang.NoClassDefFoundError: Could not initialize class com.hp.octane.integrations.OctaneSDK
              at PluginClassLoader for hp-application-automation-tools-plugin//com.microfocus.application.automation.tools.octane.executor.CheckOutSubDirEnvContributor.buildEnvironmentFor(CheckOutSubDirEnvContributor.java:61)
              at hudson.model.Job.getEnvironment(Job.java:406)
              at hudson.model.Run.getEnvironment(Run.java:2427)
              at PluginClassLoader for workflow-job//org.jenkinsci.plugins.workflow.job.WorkflowRun.getEnvironment(WorkflowRun.java:519)
              at PluginClassLoader for git//hudson.plugins.git.GitSCM.compareRemoteRevisionWithImpl(GitSCM.java:713)
              at PluginClassLoader for git//hudson.plugins.git.GitSCM.compareRemoteRevisionWith(GitSCM.java:688)
              at PluginClassLoader for workflow-job//org.jenkinsci.plugins.workflow.job.WorkflowJob.poll(WorkflowJob.java:631)
              at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:617)
              at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:664)
              at hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:123)
              at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
              at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
              at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
              at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
              at java.base/java.lang.Thread.run(Unknown Source)

           

          Disabling the plugin fixes the instance.

          Mark Waite added a comment -

          I believe this will need the fixes that have been requested in JENKINS-72498

          Mark Waite added a comment - I believe this will need the fixes that have been requested in JENKINS-72498
          Mark Waite made changes -
          Link New: This issue is related to JENKINS-73374 [ JENKINS-73374 ]
          Mark Waite made changes -
          Link New: This issue is related to JENKINS-73588 [ JENKINS-73588 ]
          E made changes -
          Assignee Original: Paul-Adrian Tofan [ ptofan ] New: Laura Buzas [ buzas ]

          E added a comment -

          Spoke with ptofan  and he appears to be no longer the maintainer of the plugin. According to the info here https://plugins.jenkins.io/hp-application-automation-tools-plugin/ , the new maintainers are Andrei Bangau and buzas . I se that Laura already has a user here, could someone, please, update the default assignee for the reported bugs to her?

          Thank you!

          E added a comment - Spoke with ptofan   and he appears to be no longer the maintainer of the plugin. According to the info here https://plugins.jenkins.io/hp-application-automation-tools-plugin/ , the new maintainers are Andrei Bangau and buzas . I se that Laura already has a user here, could someone, please, update the default assignee for the reported bugs to her? Thank you!

          Mark Waite added a comment -

          I see that Laura already has a user here, could someone, please, update the default assignee for the reported bugs to her?

          If buzas requests that change, then yes, we can make that change. We generally don't change the default assignee with the new assignee agreeing to accept that assignment.

          Mark Waite added a comment - I see that Laura already has a user here, could someone, please, update the default assignee for the reported bugs to her? If buzas requests that change, then yes, we can make that change. We generally don't change the default assignee with the new assignee agreeing to accept that assignment.

          E added a comment -

          How do we report spam here?

          E added a comment - How do we report spam here?

            buzas Laura Buzas
            oteb E
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: