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

Jenkins failing with com.thoughtworks.xstream.mapper.CannotResolveClassException while upgrading from v2.303.3 to v2.426.3

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Minor Minor
    • role-strategy-plugin
    • None
    • Java: 11.0.16.1
      Jenkins Core Version: 2.426.3
      Maven Version: 3.8.4
      VM: OL8

      Hey Team,

      We have been working on upgrading Jenkins core version from 2.303.3 to 2.426.3.

      Attaching the plugins.txt used ::

      plugins.txt

      As part of the upgrade, we have updated the below list of plugins.

      07-Feb-2024 14:29:43.596 INFO [Loading bundled plugins] hudson.PluginManager.loadDetachedPlugins Upgraded Jenkins from version 2.303.3 to version 2.426.3. Loaded detached plugins (and dependencies): [jquery3-api.hpi, plugin-util-api.hpi, antisamy-markup-formatter.hpi, display-url-api.hpi, bouncycastle-api.hpi, jdk-tool.hpi, jaxb.hpi, matrix-project.hpi, checks-api.hpi, bootstrap5-api.hpi, javax-activation-api.hpi, trilead-api.hpi, echarts-api.hpi, snakeyaml-api.hpi, junit.hpi, javax-mail-api.hpi, command-launcher.hpi, apache-httpcomponents-client-4-api.hpi, matrix-auth.hpi, font-awesome-api.hpi, jackson2-api.hpi] 

      Attaching the container logs for reference

      jenkins-2.426.3-logs

      Snapshot of the UI once the container is started.

      I also checked related articles regarding the issue, it mentioned setting Security to false, disabling authorization strategy in config.xml which isn't working for me as expected.

      <useSecurity>true</useSecurity>
      <authorizationStrategy class="com.michelin.cio.hudson.plugins.rolestrategy.RoleBasedAuthorizationStrategy"> 

      Can you please take a look and let me know how can I resolve the issue.

      Regards
      Hema

        1. plugins.txt
          5 kB
        2. jenkins-2.426.3-logs
          405 kB
        3. jenkins-1.png
          jenkins-1.png
          514 kB
        4. jenkins-2.png
          jenkins-2.png
          505 kB

            oleg_nenashev Oleg Nenashev
            hpriya Hema
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: