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

pod scheduling fails with `method 'void <init>()' not found ` installed oidc plugin and that upgraded snakeYaml plugin from 1.33 to 2.2-111.vc6598e30cc65

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Minor Minor
    • snakeyaml-plugin
    • None
    • Jenkins 2.401.1 running on k8s pod.

      pod scheduling fails with `method 'void <init>()' not found ` installed oidc plugin and that upgraded snakeYaml plugin from 1.33 to 2.2-111.vc6598e30cc65 

       

       

      ```
      java.lang.NoSuchMethodError: org.yaml.snakeyaml.constructor.SafeConstructor: method 'void <init>()' not found at io.fabric8.kubernetes.client.utils.Serialization.unmarshal(Serialization.java:256) at io.fabric8.kubernetes.client.utils.Serialization.unmarshal(Serialization.java:387) at io.fabric8.kubernetes.client.utils.Serialization.unmarshal(Serialization.java:353) at io.fabric8.kubernetes.client.utils.Serialization.unmarshal(Serialization.java:337) at io.fabric8.kubernetes.client.dsl.internal.OperationSupport.unmarshal(OperationSupport.java:753) at io.fabric8.kubernetes.client.dsl.internal.BaseOperation.load(BaseOperation.java:261) at io.fabric8.kubernetes.client.dsl.internal.BaseOperation.load(BaseOperation.java:93) at org.csanchez.jenkins.plugins.kubernetes.PodTemplateUtils.parseFromYaml(PodTemplateUtils.java:610) at org.csanchez.jenkins.plugins.kubernetes.pod.yaml.Overrides.merge(Overrides.java:26) at org.csanchez.jenkins.plugins.kubernetes.PodTemplate.getYamlsPod(PodTemplate.java:198) at org.csanchez.jenkins.plugins.kubernetes.PodTemplateBuilder.build(PodTemplateBuilder.java:293) at org.csanchez.jenkins.plugins.kubernetes.PodTemplate.build(PodTemplate.java:902) at org.csanchez.jenkins.plugins.kubernetes.KubernetesLauncher.launch(KubernetesLauncher.java:119) at hudson.slaves.SlaveComputer.lambda$_connect$0(SlaveComputer.java:298) at jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46) at jenkins.security.ImpersonatingExecutorService$2.call(ImpersonatingExecutorService.java:80) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:829)
      ```
      

       

       

            escoem Emilio Escobar
            ctxrag ahm
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: