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

Configure UI completely broken after upgrade to 2.264

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Report all issues with a complete plugin list, and a screenshot

      JENKINS_HOST=username:password@myhost.com:port
      curl -sSL "http://$JENKINS_HOST/pluginManager/api/xml?depth=1&xpath=/*/*/shortName|/*/*/version&wrapper=plugins" | perl -pe 's/.*?<shortName>([\w-]+).*?<version>([^<]+)()(<\/\w+>)+/\1 \2\n/g'|sed 's/ /:/'
       

      Check if your plugin already has an issue reported https://issues.jenkins.io/secure/Dashboard.jspa?selectPageId=20741 artifactory is https://github.com/jfrog/jenkins-artifactory-plugin/issues/350

      If you know which plugin is causing the issue report a new issue, including steps to reproduce and screenshots and label it with 'tables-to-divs-regression'

      How to identify which plugin is causing the issue

      1. check plugins list against open issues on https://issues.jenkins.io/secure/Dashboard.jspa?selectPageId=20741
      2. then if no open issue matches:

      • disable plugins in groups of about 10 and record which ones you disabled
      • Restart Jenkins
      • If you can still reproduce keep disabling
      • Once you can't reproduce enable plugins one by one until you find which one it is
      • Then report an issue with the label 'tables-to-divs-regression'

      How to triage someone else's issue

      1. check plugins list against open issues on https://issues.jenkins.io/secure/Dashboard.jspa?selectPageId=20741
      2. then if no open issue matches:

      curl https://issues.jenkins.io/secure/attachment/53350/53350_jenkins-basith-16112020.txt | sort > abdul-bas-plugins.txt
      cat abdul-bas-plugins.txt | cut -d ':' -f 1 | sort > plugins.filtered.txt # remove versions as CLI complains when old versions are there
      wget https://github.com/jenkinsci/plugin-installation-manager-tool/releases/download/2.1.2/jenkins-plugin-manager-2.1.2.jar
      wget https://get.jenkins.io/war/2.266/jenkins.war
      export JENKINS_HOME=~/.jenkins-64072
      java -jar jenkins-plugin-manager-2.1.2.jar -f abdul-bas-plugins.txt -d ~/.jenkins-64072/plugins --war jenkins.war
      java -jar jenkins.war
      
      • Normally create a new freestyle job and then reproduce the issue, (requires enough information with steps to reproduce, sometimes it is a different page or requires specific config)
      • Once reproduced disable plugins in groups of about 10 and record which ones you disabled
      • Restart Jenkins
      • If you can still reproduce keep disabling
      • Once you can't reproduce enable plugins one by one until you find which one it is
      • Then report an issue with the label 'tables-to-divs-regression'

      original text

      After upgrade to 2.264.1 via yum package, the confgure UI of all my projects was borked, showing things that the project didn't support, preventing modification and updates to jobs.  Jobs were still running correctly however.  Looking at JavaScript console there were alot of errors in js files.  console log attached.  

       

      Fixed by downgrading to 2.263.1 via yum downgrade and temporarily locking the version.  While the UI appears better in 2.263.1, some boxes are still long and an error is still received in the console:

       

      hudson-behavior.js:2982 Uncaught SyntaxError: Unexpected token ')'
       at onSuccess (combobox.js:19)
       at klass.respondToReadyState (prototype.js:1657)
       at klass.onStateChange (prototype.js:1600)
       at XMLHttpRequest.<anonymous> (prototype.js:414)
      

       

        Attachments

        1. 1.txt
          3 kB
        2. atlas-1603912761063.log
          22 kB
        3. branch-api.png
          branch-api.png
          14 kB
        4. configureClouds.png
          configureClouds.png
          292 kB
        5. ConfigureUIBroken_PublishOverFTP.png
          ConfigureUIBroken_PublishOverFTP.png
          305 kB
        6. image-2020-10-30-15-25-56-938.png
          image-2020-10-30-15-25-56-938.png
          118 kB
        7. image-2020-10-30-15-27-16-916.png
          image-2020-10-30-15-27-16-916.png
          118 kB
        8. image-2020-11-03-21-10-10-643.png
          image-2020-11-03-21-10-10-643.png
          33 kB
        9. image-2020-11-06-09-45-42-994.png
          image-2020-11-06-09-45-42-994.png
          35 kB
        10. image-2020-11-10-19-10-02-083.png
          image-2020-11-10-19-10-02-083.png
          68 kB
        11. image-2020-11-11-09-47-08-180.png
          image-2020-11-11-09-47-08-180.png
          48 kB
        12. image-2020-11-18-09-05-02-548.png
          image-2020-11-18-09-05-02-548.png
          37 kB
        13. image-2020-11-18-09-06-44-059.png
          image-2020-11-18-09-06-44-059.png
          51 kB
        14. image-2020-11-18-09-07-49-596.png
          image-2020-11-18-09-07-49-596.png
          47 kB
        15. image-2020-11-18-10-40-53-012.png
          image-2020-11-18-10-40-53-012.png
          78 kB
        16. image-2020-11-18-10-41-57-764.png
          image-2020-11-18-10-41-57-764.png
          7 kB
        17. image-2020-11-18-10-44-20-271.png
          image-2020-11-18-10-44-20-271.png
          79 kB
        18. image-2020-11-23-22-53-45-011.png
          image-2020-11-23-22-53-45-011.png
          246 kB
        19. image-2020-11-23-23-03-02-021.png
          image-2020-11-23-23-03-02-021.png
          208 kB
        20. image-2021-01-14-13-49-48-253.png
          image-2021-01-14-13-49-48-253.png
          158 kB
        21. image-2021-01-30-03-13-41-175.png
          image-2021-01-30-03-13-41-175.png
          92 kB
        22. image-2021-01-30-03-15-12-305.png
          image-2021-01-30-03-15-12-305.png
          47 kB
        23. image-2021-01-30-03-21-29-377.png
          image-2021-01-30-03-21-29-377.png
          92 kB
        24. image-2021-01-30-03-21-51-931.png
          image-2021-01-30-03-21-51-931.png
          174 kB
        25. issues.png
          issues.png
          60 kB
        26. jenkins_2.263.1-not-so-bad-ui.jpg
          jenkins_2.263.1-not-so-bad-ui.jpg
          76 kB
        27. jenkins_2.264.1-borked-ui.jpg
          jenkins_2.264.1-borked-ui.jpg
          99 kB
        28. jenkins_plugins_installed.docx
          21 kB
        29. jenkins_plugins.txt
          3 kB
        30. jenkins_plugins.xml
          10 kB
        31. jenkins-basith-11112020.txt
          6 kB
        32. jenkins-basith-16112020.txt
          6 kB
        33. jenkins-plugins-installed
          9 kB
        34. jenkins plugins in use.txt
          19 kB
        35. jenkins plugins in use - correct format.txt
          9 kB
        36. jsErrors.png
          jsErrors.png
          97 kB
        37. laksh - jenkins plugins.txt
          6 kB
        38. plugin.txt
          7 kB
        39. plugins.rossc.txt
          6 kB
        40. plugins.rossc-2.txt
          3 kB
        41. plugins.txt
          5 kB
        42. plugins.txt
          2 kB
        43. Plugins.txt
          4 kB
        44. plugins-1.txt
          7 kB
        45. plugins-18-11.txt
          7 kB
        46. plugins-2.txt
          3 kB
        47. Project1.png
          Project1.png
          1.22 MB
        48. Project2.png
          Project2.png
          1.01 MB
        49. Screenshot 2020-10-29 170505.png
          Screenshot 2020-10-29 170505.png
          53 kB
        50. Screenshot 2020-10-29 170642.png
          Screenshot 2020-10-29 170642.png
          84 kB
        51. Screenshot 2020-11-18 at 10.24.57 AM.png
          Screenshot 2020-11-18 at 10.24.57 AM.png
          63 kB
        52. Screenshot 2020-11-18 at 10.26.22 AM.png
          Screenshot 2020-11-18 at 10.26.22 AM.png
          57 kB
        53. Screenshot 2020-11-18 at 10.27.20 AM.png
          Screenshot 2020-11-18 at 10.27.20 AM.png
          70 kB
        54. Screenshot from 2020-11-23 23-02-24.png
          Screenshot from 2020-11-23 23-02-24.png
          224 kB

          Issue Links

            Activity

            Hide
            stevenc Steven Christenson added a comment -

            label-linked-jobs caused our inability to save Jenkins Configuration.
            https://issues.jenkins.io/browse/JENKINS-66115

            Show
            stevenc Steven Christenson added a comment - label-linked-jobs caused our inability to save Jenkins Configuration. https://issues.jenkins.io/browse/JENKINS-66115
            Hide
            amita0316 Amita added a comment -

            Hi Mark Waite 

            Thanks for the reply & it worked for me.

            Thank you so much for your help.

             

            Thanks & Regards

            Amita

             

            Show
            amita0316 Amita added a comment - Hi Mark Waite   Thanks for the reply & it worked for me. Thank you so much for your help.   Thanks & Regards Amita  
            Hide
            atul1250 Atul added a comment - - edited

            Hi,

            I am also facing same issue , post update I am not able to save or apply under configure system.

            Current Jenkins version : Jenkins 2.289.2

            All Available Plugins are updated.

            Below is the list of plugins currently installed - 
             
            jenkins_plugins_installed.docx

            Show
            atul1250 Atul added a comment - - edited Hi, I am also facing same issue , post update I am not able to save or apply under configure system. Current Jenkins version :  Jenkins 2.289.2 All Available Plugins are updated. Below is the list of plugins currently installed -    jenkins_plugins_installed.docx
            Hide
            markewaite Mark Waite added a comment - - edited

            Atul you said

            All Available Plugins are updated.

            yet I get the following output when I convert your list of plugins to plugins.txt format and run plugin installation manager tool

            $ mkdir plugins
            $ java -jar ../jenkins-plugin-manager-2.10.0.jar --jenkins-version 2.289.2 --latest false \
              --plugin-download-directory plugins --view-security-warnings  --plugin-file plugins.txt
            generic-webhook-trigger (1.32): SECURITY-2330 XXE vulnerability https://www.jenkins.io/security/advisory/2021-06-18/#SECURITY-2330
            kubernetes (1.12.8): SECURITY-1646 Jenkins controller environment variables accessible https://www.jenkins.io/security/advisory/2020-11-04/#SECURITY-1646
            kubernetes (1.12.8): SECURITY-2102 Missing permission check allows listing pod templates https://www.jenkins.io/security/advisory/2020-11-04/#SECURITY-2102
            kubernetes (1.12.8): SECURITY-2103 Missing permission check allows enumerating credentials IDs https://www.jenkins.io/security/advisory/2020-11-04/#SECURITY-2103
            workflow-cps-global-lib (2.9): SECURITY-1422 Missing permission check https://jenkins.io/security/advisory/2019-07-31/#SECURITY-1422
            

            Those plugins have security warnings. One of the steps in the 2.277.1 upgrade guide and webinar is to resolve all security warnings. In your case, you would do that by upgrading plugins.

            In addition to those security warnings, there are many other plugins in your list that have not been upgraded.

            I ran the command

            $ java -jar ../jenkins-plugin-manager-2.10.0.jar --jenkins-version 2.289.2 \
              --plugin-download-directory plugins --plugin-file plugins.txt --no-download \
              --available-updates --output txt > x
            

            and compared the output file x with the plugins.txt file that you provided. There are 114 plugins that need to be upgraded. When I upgraded those plugins and ran Jenkins 2.289.2, I was able to save the Jenkins configuration with "Configure system".

            Show
            markewaite Mark Waite added a comment - - edited Atul you said All Available Plugins are updated. yet I get the following output when I convert your list of plugins to plugins.txt format and run plugin installation manager tool $ mkdir plugins $ java -jar ../jenkins-plugin-manager-2.10.0.jar --jenkins-version 2.289.2 --latest false \ --plugin-download-directory plugins --view-security-warnings --plugin-file plugins.txt generic-webhook-trigger (1.32): SECURITY-2330 XXE vulnerability https://www.jenkins.io/security/advisory/2021-06-18/#SECURITY-2330 kubernetes (1.12.8): SECURITY-1646 Jenkins controller environment variables accessible https://www.jenkins.io/security/advisory/2020-11-04/#SECURITY-1646 kubernetes (1.12.8): SECURITY-2102 Missing permission check allows listing pod templates https://www.jenkins.io/security/advisory/2020-11-04/#SECURITY-2102 kubernetes (1.12.8): SECURITY-2103 Missing permission check allows enumerating credentials IDs https://www.jenkins.io/security/advisory/2020-11-04/#SECURITY-2103 workflow-cps-global-lib (2.9): SECURITY-1422 Missing permission check https://jenkins.io/security/advisory/2019-07-31/#SECURITY-1422 Those plugins have security warnings. One of the steps in the 2.277.1 upgrade guide and webinar is to resolve all security warnings. In your case, you would do that by upgrading plugins. In addition to those security warnings, there are many other plugins in your list that have not been upgraded. I ran the command $ java -jar ../jenkins-plugin-manager-2.10.0.jar --jenkins-version 2.289.2 \ --plugin-download-directory plugins --plugin-file plugins.txt --no-download \ --available-updates --output txt > x and compared the output file x with the plugins.txt file that you provided. There are 114 plugins that need to be upgraded. When I upgraded those plugins and ran Jenkins 2.289.2, I was able to save the Jenkins configuration with "Configure system".
            Hide
            atul1250 Atul added a comment -

            Thanks a ton Mark Waite for looking into this. Will upgrade all the plugins as mentioned as will share the results.

            Show
            atul1250 Atul added a comment - Thanks a ton Mark Waite  for looking into this. Will upgrade all the plugins as mentioned as will share the results.

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              jonl_percsol Jonathon Lamon
              Votes:
              47 Vote for this issue
              Watchers:
              75 Start watching this issue

                Dates

                Created:
                Updated: