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

Swarm client service can't connect to master after update to 3.40

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • swarm-plugin
    • None

      I have updated both our swarm-client plugin in Jenkins to 3.40 and the swarm service jar to 3.40 and get the following error:

      Jul 10 16:29:09 acc-melissa systemd[1]: Started jenkins-swarm-client.
      Jul 10 16:29:09 acc-melissa java[1295057]: Jul 10, 2023 4:29:09 PM hudson.plugins.swarm.Client main
      Jul 10 16:29:09 acc-melissa java[1295057]: INFO: Client.main invoked with: [-name acc-melissa -description acc-melissa -labels acc-melissa melissa -executors 4 -username REDACTED -password REDACTED -fsroot /opt/build -master https://jenkinstest.topdesk.com -t maven-3=/opt/maven3 -disableSslVerification Jul 10 16:29:09 acc-melissa java[1295057]: Jul 10, 2023 4:29:09 PM hudson.plugins.swarm.Client run
      Jul 10 16:29:09 acc-melissa java[1295057]: INFO: Discovering Jenkins master
      Jul 10 16:29:09 acc-melissa java[1295057]: SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
      Jul 10 16:29:09 acc-melissa java[1295057]: SLF4J: Defaulting to no-operation (NOP) logger implementation
      Jul 10 16:29:09 acc-melissa java[1295057]: SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
      Jul 10 16:29:09 acc-melissa java[1295057]: Jul 10, 2023 4:29:09 PM hudson.plugins.swarm.SwarmClient discoverFromMasterUrl
      Jul 10 16:29:09 acc-melissa java[1295057]: SEVERE: Failed to fetch swarm information from Jenkins, plugin not installed?
      Jul 10 16:29:09 acc-melissa java[1295057]: Jul 10, 2023 4:29:09 PM hudson.plugins.swarm.Client run
      Jul 10 16:29:09 acc-melissa java[1295057]: SEVERE: RetryException occurred
      Jul 10 16:29:09 acc-melissa java[1295057]: hudson.plugins.swarm.RetryException: Failed to fetch swarm information from Jenkins, plugin not installed?
      Jul 10 16:29:09 acc-melissa java[1295057]:         at hudson.plugins.swarm.SwarmClient.discoverFromMasterUrl(SwarmClient.java:229)
      Jul 10 16:29:09 acc-melissa java[1295057]:         at hudson.plugins.swarm.Client.run(Client.java:114)
      Jul 10 16:29:09 acc-melissa java[1295057]:         at hudson.plugins.swarm.Client.main(Client.java:87)
      Jul 10 16:29:09 acc-melissa java[1295057]: Jul 10, 2023 4:29:09 PM hudson.plugins.swarm.Client run
       

      Downgrading the Swarm service jar to 3.39 resolves the issue again.

            Unassigned Unassigned
            joepweijers Joep Weijers
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: