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

          Issue Links

            Activity

            Hide
            jvanderzouwen James VanderZouwen added a comment -

            It ended up being 'locks-and-latches' 0.6.  I've disabled and now the cascading behavior.js issues have subsided.

            Show
            jvanderzouwen James VanderZouwen added a comment - It ended up being 'locks-and-latches' 0.6.  I've disabled and now the cascading behavior.js issues have subsided.
            Hide
            jstr Jonas Ströbele added a comment -

            Has anyone taken a look at the Publish Over FTP Plugin ( https://plugins.jenkins.io/publish-over-ftp/ ) yet?

            I have one job for which the UI is still broken, reproduced it by creating a new job and adding build step by build step, saving and re-opening the configure UI after each step.
            Once the Publish Over FTP Plugin was added and the page saved, the next time I hit configure, any steps below that build step were broken.

            In case you are having trouble replicating this issue, try placing the Publish Over FTP Build Step in a Conditional Build Steps container (i.e., add it as a conditional step) and have some build steps below the nested Publish Over FTP Build Step and/or another build step below the Conditional Build Step container. I hope that description makes sense.

            Full Page Screenshot added, with some identifying texts removed:

            Of Note: This is not the only problem with the Publish Over FTP Plugin.
            Yes, I know this is out-of-scope for this issue, but the question is, should there be a ticket for it? The plugin is up for adoption, so probably no one will look at it.
            Anyways, looking at the full page screenshot, the plugin itself is a bit wonky at the moment in its UI. It seems to want to nest Transfer Sets and Target FTP Servers within the build step, but messes up doing either, creating an ambiguous mess of options that can be multiplied.

            Show
            jstr Jonas Ströbele added a comment - Has anyone taken a look at the Publish Over FTP Plugin ( https://plugins.jenkins.io/publish-over-ftp/ ) yet? I have one job for which the UI is still broken, reproduced it by creating a new job and adding build step by build step, saving and re-opening the configure UI after each step. Once the Publish Over FTP Plugin was added and the page saved, the next time I hit configure, any steps below that build step were broken. In case you are having trouble replicating this issue, try placing the Publish Over FTP Build Step in a Conditional Build Steps container (i.e., add it as a conditional step) and have some build steps below the nested Publish Over FTP Build Step and/or another build step below the Conditional Build Step container. I hope that description makes sense. Full Page Screenshot added, with some identifying texts removed: Of Note: This is not the only problem with the Publish Over FTP Plugin. Yes, I know this is out-of-scope for this issue, but the question is, should there be a ticket for it? The plugin is up for adoption, so probably no one will look at it. Anyways, looking at the full page screenshot, the plugin itself is a bit wonky at the moment in its UI. It seems to want to nest Transfer Sets and Target FTP Servers within the build step, but messes up doing either, creating an ambiguous mess of options that can be multiplied.
            Show
            timja Tim Jacomb added a comment - Jonas Ströbele https://github.com/jenkinsci/publish-over-ftp-plugin/pull/8 and a duplicate PR at https://github.com/jenkinsci/publish-over-ftp-plugin/pull/9
            Hide
            jstr Jonas Ströbele added a comment -

            Tim Jacomb Good spot, thanks! The build artifact for it from ci.jenkins.io also looks fine, just manually applied the latest artifact from 25 minutes ago, and it fixes the UI issue.

            So now we (well, everyone else) only need to wait for the upload / PR close.

            Show
            jstr Jonas Ströbele added a comment - Tim Jacomb Good spot, thanks! The build artifact for it from ci.jenkins.io also looks fine, just manually applied the latest artifact from 25 minutes ago, and it fixes the UI issue. So now we (well, everyone else ) only need to wait for the upload / PR close.
            Hide
            oleg_nenashev Oleg Nenashev added a comment -

            FTR I am releasing a bunch of the plugins as a part of https://groups.google.com/u/1/g/jenkinsci-dev/c/XXztPiLDPmM .

            If you see any issues which have not been reported in https://issues.jenkins.io/issues/?jql=labels%20%3D%20tables-to-divs-regression , please submit separate issues

            Show
            oleg_nenashev Oleg Nenashev added a comment - FTR I am releasing a bunch of the plugins as a part of https://groups.google.com/u/1/g/jenkinsci-dev/c/XXztPiLDPmM  . If you see any issues which have not been reported in https://issues.jenkins.io/issues/?jql=labels%20%3D%20tables-to-divs-regression  , please submit separate issues

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              jonl_percsol Jonathon Lamon
              Votes:
              33 Vote for this issue
              Watchers:
              55 Start watching this issue

                Dates

                Created:
                Updated: