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

Applitools eyes plugin needs release that does not require httpclient 3.x

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Critical Critical
    • applitools-eyes-plugin
    • None
    • jenkins LTS 2.387.1

      Eversince we upgraded to Jenkins 2.387.1, some jobs are failing on class not found for HttpMethod.

       

      Upon investigation, it appears that commons-httpclient-3.1-jenkins-3.jar  is missing even when we  have commons-httpclient3-api:3.1-3 plugin installed 

       

       

      bash-4.2$ pwd

      /var/jenkins_home/war/WEB-INF/lib

      bash-4.2$ ls -ltr common

      rw-rw-r- 1 jenkins jenkins  140940 Mar 16 22:40 commons-jexl-1.1-jenkins-20111212.jar

      rw-rw-r- 1 jenkins jenkins   37430 Mar 16 22:40 commons-jelly-tags-xml-1.1.jar

      rw-rw-r- 1 jenkins jenkins  588337 Mar 16 22:40 commons-collections-3.2.2.jar

      rw-rw-r- 1 jenkins jenkins  246918 Mar 16 22:40 commons-beanutils-1.9.4.jar

      rw-rw-r- 1 jenkins jenkins   74132 Mar 16 22:40 commons-fileupload-1.5.jar

      rw-rw-r- 1 jenkins jenkins   22479 Mar 16 22:40 commons-jelly-tags-fmt-1.0.jar

      rw-rw-r- 1 jenkins jenkins  327135 Mar 16 22:40 commons-io-2.11.0.jar

      rw-rw-r- 1 jenkins jenkins  185012 Mar 16 22:40 commons-jelly-1.1-jenkins-20220630.jar

      rw-rw-r- 1 jenkins jenkins   72781 Mar 16 22:40 asm-commons-9.4.jar

      rw-rw-r- 1 jenkins jenkins  353793 Mar 16 22:40 commons-codec-1.15.jar

      rw-rw-r- 1 jenkins jenkins 1039712 Mar 16 22:40 commons-compress-1.22.jar

      rw-rw-r- 1 jenkins jenkins  330246 Mar 16 22:40 jcommon-1.0.23.jar

      rw-rw-r- 1 jenkins jenkins  284220 Mar 16 22:40 commons-lang-2.6.jar

      rw-rw-r- 1 jenkins jenkins   79796 Mar 16 22:40 commons-discovery-0.5.jar

      rw-rw-r- 1 jenkins jenkins   22732 Mar 16 22:40 commons-jelly-tags-define-1.0.1-hudson-20071021.jar

      bash-4.2$

          [JENKINS-70818] Applitools eyes plugin needs release that does not require httpclient 3.x

          trhia created issue -

          Mark Waite added a comment -

          Please provide the list of plugins installed and their versions. The script console can be used to generate that list using the instructions in "How to report an issue". It is likely that you have a plugin installed that has not been updated to depend on the httpcomponents plugin instead of assuming that HttpClient 3 is available inside Jenkins.

          The Jenkins 2.387.1 changelog says:

          Jenkins no longer bundles a patched version of the deprecated Commons HttpClient 3.x library for use by plugins. Plugins should be migrated to the native Java 11 HTTP client or updated to depend on the legacy Commons HttpClient 3.x API plugin

          JENKINS-69988 tracks the plugins that may depend on HttpClient 3.x and includes a link to a worksheet with a list of plugins that may depend on HttpClient 3.

          Mark Waite added a comment - Please provide the list of plugins installed and their versions. The script console can be used to generate that list using the instructions in "How to report an issue" . It is likely that you have a plugin installed that has not been updated to depend on the httpcomponents plugin instead of assuming that HttpClient 3 is available inside Jenkins. The Jenkins 2.387.1 changelog says: Jenkins no longer bundles a patched version of the deprecated Commons HttpClient 3.x library for use by plugins. Plugins should be migrated to the native Java 11 HTTP client or updated to depend on the legacy Commons HttpClient 3.x API plugin JENKINS-69988 tracks the plugins that may depend on HttpClient 3.x and includes a link to a worksheet with a list of plugins that may depend on HttpClient 3.

          trhia added a comment -

          Thanks markewaite .  The plugin that is failing is applitools which is indeed in the spreadsheet that you have in your comment.

           

          Looking at the source code for applitools plugin, the latest pom seems to already have a fix : applitools-eyes-plugin/pom.xml at master · jenkinsci/applitools-eyes-plugin · GitHub

           

          I wonder when an updated release be available?

          trhia added a comment - Thanks markewaite .  The plugin that is failing is applitools which is indeed in the spreadsheet that you have in your comment.   Looking at the source code for applitools plugin, the latest pom seems to already have a fix : applitools-eyes-plugin/pom.xml at master · jenkinsci/applitools-eyes-plugin · GitHub   I wonder when an updated release be available?

          Basil Crow added a comment -

          applitools-eyes-plugin was fixed in https://github.com/jenkinsci/applitools-eyes-plugin/pull/11 and that thread contains a discussion where another user also requested a release from the maintainer.

          Basil Crow added a comment - applitools-eyes-plugin was fixed in https://github.com/jenkinsci/applitools-eyes-plugin/pull/11 and that thread contains a discussion where another user also requested a release from the maintainer.
          Mark Waite made changes -
          Summary Original: Missing commons-httpclient-3.1-jenkins-3.jar in jenkins lib folder in jenkins Jenkins 2.387.1 New: Applitools plugin needs release that does not require httpclient 3.x
          Mark Waite made changes -
          Component/s New: applitools-eyes-plugin [ 21728 ]
          Component/s Original: commons-httpclient3-api-plugin [ 29120 ]
          Mark Waite made changes -
          Epic Link New: JENKINS-69988 [ 217175 ]
          Mark Waite made changes -
          Summary Original: Applitools plugin needs release that does not require httpclient 3.x New: Applitools eyes plugin needs release that does not require httpclient 3.x
          Mark Waite made changes -
          Link New: This issue duplicates JENKINS-70807 [ JENKINS-70807 ]
          Mark Waite made changes -
          Resolution New: Duplicate [ 3 ]
          Status Original: Open [ 1 ] New: Closed [ 6 ]

            applitools Applitools Team
            trhia trhia
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: