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

Jenkins Google Compute Node Fails to start in 2.253

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Critical Critical
    • None
    • Jenkins 2.254. Java 8. Ubuntu 18.

      Previously installed google compute plugin dynamic node Fails to launch with Jenkins 2.253 and above environment.

      It's a ubuntu 18 image with psql, maven and google cloud tools (pubsub emulators and the like).  

      It works flawlessly in 2.253 and before.

      Here's the log output. 

       

      2020-08-21 03:28:23.953+0000 [id=28]    INFO    c.g.j.p.c.ComputeEngineCloud#provision: Provisioning node from configs [com.google.jenkins.plugins.computeengine.InstanceConfiguration@320ee728] for excess workload of 1 units of label 'java8-maven-tf-buf-u18'
      2020-08-21 03:28:24.716+0000 [id=28]    INFO    c.g.j.p.c.ComputeEngineCloud#availableNodeCapacity: Found capacity for 1 nodes in cloud java8-maven-tf-buf-u18-2
      2020-08-21 03:28:26.246+0000 [id=28]    INFO    c.g.j.p.c.InstanceConfiguration#provision: Sent insert request for instance configuration [java8-maven-tf-buf-u18]
      2020-08-21 03:28:26.263+0000 [id=639]   INFO    c.g.j.p.c.ComputeEngineComputerLauncher#launch: Launch will wait 300000 for operation operation-1597980505150-5ad5ad45e13a8-24037927-72933120 to complete...
      2020-08-21 03:28:26.344+0000 [id=639]   INFO    c.g.j.p.c.ComputeEngineCloud#lambda$getPlannedNodeFuture$0: Waiting 300000ms for node java8-maven-tf-buf-u18-zng5sq to connect
      2020-08-21 03:28:26.348+0000 [id=544]   INFO    c.g.j.p.c.ComputeEngineComputerLauncher#launch: Launch will wait 300000 for operation operation-1597980505150-5ad5ad45e13a8-24037927-72933120 to complete...
      2020-08-21 03:28:26.350+0000 [id=28]    INFO    h.s.NodeProvisioner$StandardStrategyImpl#apply: Started provisioning java8-maven-tf-buf-u18-zng5sq from gce-java8-maven-tf-buf-u18-2 with 5 executors. Remaining excess workload: -4
      2020-08-21 03:28:31.189+0000 [id=652]   INFO    hudson.model.AsyncPeriodicWork#lambda$doRun$0: Started PersistentMaster-Worker
      2020-08-21 03:28:31.190+0000 [id=652]   INFO    hudson.model.AsyncPeriodicWork#lambda$doRun$0: Finished PersistentMaster-Worker. 1 ms
      2020-08-21 03:28:33.944+0000 [id=34]    WARNING hudson.slaves.NodeProvisioner#lambda$update$6: Unexpected exception encountered while provisioning agent java8-maven-tf-buf-u18-zng5sq
      java.lang.ClassNotFoundException: org.hamcrest.Matcher
              at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1387)
              at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1342)
              at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1089)
              at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
      Caused: java.lang.NoClassDefFoundError: org/hamcrest/Matcher
              at org.awaitility.Awaitility.await(Awaitility.java:316)
              at org.awaitility.Awaitility.await(Awaitility.java:303)
              at com.google.cloud.graphite.platforms.plugin.client.ComputeClient.waitForOperationCompletion(ComputeClient.java:665)
              at com.google.jenkins.plugins.computeengine.ComputeEngineComputerLauncher.launch(ComputeEngineComputerLauncher.java:157)
              at hudson.slaves.SlaveComputer.lambda$_connect$0(SlaveComputer.java:301)
      Caused: java.util.concurrent.ExecutionException
              at java.util.concurrent.FutureTask.report(FutureTask.java:122)
              at java.util.concurrent.FutureTask.get(FutureTask.java:206)
              at com.google.jenkins.plugins.computeengine.ComputeEngineCloud.lambda$getPlannedNodeFuture$0(ComputeEngineCloud.java:315)
              at jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46)
              at jenkins.security.ImpersonatingExecutorService$2.call(ImpersonatingExecutorService.java:71)
              at java.util.concurrent.FutureTask.run(FutureTask.java:266)
              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)
      2020-08-21 03:28:33.948+0000 [id=34]    INFO    c.g.j.p.c.ComputeEngineCloud#provision: Provisioning node from configs [com.google.jenkins.plugins.computeengine.InstanceConfiguration@320ee728] for excess workload of 1 units of label 'java8-maven-tf-buf-u18'
      2020-08-21 03:28:34.182+0000 [id=34]    INFO    c.g.j.p.c.ComputeEngineCloud#availableNodeCapacity: Found capacity for 0 nodes in cloud java8-maven-tf-buf-u18-2
      2020-08-21 03:28:34.182+0000 [id=34]    WARNING c.g.j.p.c.ComputeEngineCloud#provision: Could not provision new nodes to meet excess workload demand (1). Cloud provider java8-maven-tf-buf-u18-2 has reached its configured capacity of 1
      2020-08-21 03:28:43.944+0000 [id=30]    INFO    c.g.j.p.c.ComputeEngineCloud#provision: Provisioning node from configs [com.google.jenkins.plugins.computeengine.InstanceConfiguration@320ee728] for excess workload of 1 units of label 'java8-maven-tf-buf-u18'
      2020-08-21 03:28:44.193+0000 [id=30]    INFO    c.g.j.p.c.ComputeEngineCloud#availableNodeCapacity: Found capacity for 0 nodes in cloud java8-maven-tf-buf-u18-2
      020-08-21 03:28:44.206+0000 [id=30]    WARNING c.g.j.p.c.ComputeEngineCloud#provision: Could not provision new nodes to meet excess workload demand (1). Cloud provider java8-maven-tf-buf-u18-2 has reached its configured capacity of 1
      2020-08-21 03:28:47.358+0000 [id=433]   WARNING h.i.i.InstallUncaughtExceptionHandler#handleException: Caught unhandled exception with ID ab8fc4ad-60e2-41ba-baa0-3751cadb6584
      java.awt.AWTError: Assistive Technology not found: org.GNOME.Accessibility.AtkWrapper
              at java.awt.Toolkit.loadAssistiveTechnologies(Toolkit.java:807)
              at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:886)
              at sun.swing.SwingUtilities2.getSystemMnemonicKeyMask(SwingUtilities2.java:2032)
              at javax.swing.plaf.basic.BasicLookAndFeel.initComponentDefaults(BasicLookAndFeel.java:1158)
              at javax.swing.plaf.metal.MetalLookAndFeel.initComponentDefaults(MetalLookAndFeel.java:431)
              at javax.swing.plaf.basic.BasicLookAndFeel.getDefaults(BasicLookAndFeel.java:148)
              at javax.swing.plaf.metal.MetalLookAndFeel.getDefaults(MetalLookAndFeel.java:1577)
              at javax.swing.UIManager.setLookAndFeel(UIManager.java:539)
              at javax.swing.UIManager.setLookAndFeel(UIManager.java:579)
              at javax.swing.UIManager.initializeDefaultLAF(UIManager.java:1349)
              at javax.swing.UIManager.initialize(UIManager.java:1459)
              at javax.swing.UIManager.maybeInitialize(UIManager.java:1426)
              at javax.swing.UIManager.getDefaults(UIManager.java:659)
              at javax.swing.UIManager.getColor(UIManager.java:701)
              at org.jfree.chart.JFreeChart.<clinit>(JFreeChart.java:264)
              at org.jfree.chart.ChartFactory.createLineChart(ChartFactory.java:1387)
              at hudson.model.MultiStageTimeSeries$TrendChart.createChart(MultiStageTimeSeries.java:234)
              at hudson.model.MultiStageTimeSeries$TrendChart.generateResponse(MultiStageTimeSeries.java:301)
              at org.kohsuke.stapler.HttpResponseRenderer$Default.handleHttpResponse(HttpResponseRenderer.java:124)
              at org.kohsuke.stapler.HttpResponseRenderer$Default.generateResponse(HttpResponseRenderer.java:69)
              at org.kohsuke.stapler.Function.renderResponse(Function.java:164)
              at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:147)
              at org.kohsuke.stapler.MetaClass$11.doDispatch(MetaClass.java:536)
              at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58)
              at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:766)
              at org.kohsuke.stapler.Stapler.invoke(Stapler.java:898)
      
      

      Let me know what else is needed.

      Thanks

      Eric

       

            evanbrown Evan Brown
            shermaneric Eric Sherman
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: