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

          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: