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

Configure UI broken by GitLab merge request plugin after upgrade to 2.277.1

      After I had upgraded to 2.277.1 the configure page UI seems to be broken. If I click on apply or save nothing happens. It gives no response. After some research I came to the suspicion that the SSH Credentials plugin is causing this bug. Hence after downgrading it to 1.18.0 from 1.18.1. The UI of the configure page was fixed. I will attach some images for reference. Kindly Deal with this as soon as possible. This is preventing me from configuring any projects.

          [JENKINS-65243] Configure UI broken by GitLab merge request plugin after upgrade to 2.277.1

          Matt Sicker added a comment -

          This is probably a tables-to-div migration issue. Thanks for the report!

          Matt Sicker added a comment - This is probably a tables-to-div migration issue. Thanks for the report!

          Mark Waite added a comment - - edited

          I can't duplicate the problem as described,. Can you provide more details so that others can duplicate the problem?

          As far as I can tell from the ssh-credentials plugin source code, there are no references to HTML tables in any of the UI components. I don't see how it could cause a regression in 2.277.1 job configuration. I confirmed that my freestyle and pipeline jobs that use ssh credentials can be saved with 2.277.1.

          If rollback to 1.18.0 resolved the issue, then it is not a tables to divs issue. 1.18 was released 15 months ago with no changes related to tables to divs. 1.18.1 was released 2 months ago and only changed test infrastructure, not code functionality.

          I think something else is the root cause of the failure to save that configuration. Could you assure that you've used the instructions in the Jenkins 2.277.1 upgrade guide and in the table to div layout migration to investigate the issue? If that does not bring you to a complete solution, then include the detailed information in this issue. That should include the precise list of plugins installed and the type of job that is failing to save.

          Mark Waite added a comment - - edited I can't duplicate the problem as described,. Can you provide more details so that others can duplicate the problem? As far as I can tell from the ssh-credentials plugin source code, there are no references to HTML tables in any of the UI components. I don't see how it could cause a regression in 2.277.1 job configuration. I confirmed that my freestyle and pipeline jobs that use ssh credentials can be saved with 2.277.1. If rollback to 1.18.0 resolved the issue, then it is not a tables to divs issue. 1.18 was released 15 months ago with no changes related to tables to divs. 1.18.1 was released 2 months ago and only changed test infrastructure, not code functionality. I think something else is the root cause of the failure to save that configuration. Could you assure that you've used the instructions in the Jenkins 2.277.1 upgrade guide and in the table to div layout migration to investigate the issue? If that does not bring you to a complete solution, then include the detailed information in this issue. That should include the precise list of plugins installed and the type of job that is failing to save.

          Mark Waite added a comment -

          I reassigned this from ssh-credentials to _unsorted because the issue is not related to ssh-credentials plugin. Without more data from the user, we can't deduce where the issue is, but I'm confident that the issue is not in the ssh-credentials plugin.

          Mark Waite added a comment - I reassigned this from ssh-credentials to _unsorted because the issue is not related to ssh-credentials plugin. Without more data from the user, we can't deduce where the issue is, but I'm confident that the issue is not in the ssh-credentials plugin.

          Jishwin added a comment -

          Firstly, sorry for the late reply. Debugging on my own is not an option as it requires me to disable plugins which is going to create problems with production. I am attaching all the plugins that is currently installed. And I did follow the installation guide. 

          Hope this can be of any help! After this upgrade the "office 365 connector" plugin has also stopped working. Someone please help me out. 

          Jishwin added a comment - Firstly, sorry for the late reply. Debugging on my own is not an option as it requires me to disable plugins which is going to create problems with production. I am attaching all the plugins that is currently installed. And I did follow the installation guide.  Hope this can be of any help! After this upgrade the "office 365 connector" plugin has also stopped working. Someone please help me out. 

          Mark Waite added a comment - - edited

          jishwin12 please provide the list of plugins and their versions in a format that others can use without retyping everything from screenshots. I and other volunteers here are much less likely to help until you provide a plugins.txt file generated using the "How to report a bug" instructions.

          A quick review of the screenshots shows that you have multiple plugins with known security issues and one with known issues with form modernization ("tables to divs").

          Known Security Issues - Remove These

          • Slackupload plugin
          • GitLab Hook plugin
          • Alauda Kubernetes support plugin
          • Hudson SCP plugin

          Known Tables to Divs Issues - Remove These

          • Multiple SCMs

          Mark Waite added a comment - - edited jishwin12 please provide the list of plugins and their versions in a format that others can use without retyping everything from screenshots. I and other volunteers here are much less likely to help until you provide a plugins.txt file generated using the "How to report a bug" instructions . A quick review of the screenshots shows that you have multiple plugins with known security issues and one with known issues with form modernization ("tables to divs"). Known Security Issues - Remove These Slackupload plugin GitLab Hook plugin Alauda Kubernetes support plugin Hudson SCP plugin Known Tables to Divs Issues - Remove These Multiple SCMs

          Jishwin added a comment -

          Here you go markewaite

          jsch:0.1.55.2
          label-linked-jobs:6.0.1
          blueocean-commons:1.24.5
          mercurial:2.14
          echarts-api:5.0.2-1
          structs:1.22
          gitlab-oauth:1.10
          gitlab-api:1.0.6
          groovy:2.3
          apache-httpcomponents-client-4-api:4.5.13-1.0
          aws-codecommit-jobs:0.3.0
          subversion:2.14.0
          pipeline-model-extensions:1.8.4
          downstream-buildview:1.9
          external-monitor-job:1.7
          kubernetes:1.29.2
          workflow-aggregator:2.6
          mailer:1.34
          git:4.7.1
          bootstrap4-api:4.6.0-3
          jquery3-api:3.6.0-1
          alauda-kubernetes-support:2.3.0
          command-launcher:1.5
          workflow-api:2.42
          workflow-job:2.40
          ssh-credentials:1.18.1
          authentication-tokens:1.4
          blueocean-rest-impl:1.24.5
          multiple-scms:0.6
          simple-theme-plugin:0.6
          javadoc:1.6
          workflow-cps-global-lib:2.18
          blueocean-web:1.24.5
          jackson2-api:2.12.2
          ssh-slaves:1.31.5
          gitlab-plugin:1.5.20
          slack-uploader:1.7
          kubernetes-client-api:4.13.2-1
          docker-workflow:1.26
          pipeline-stage-tags-metadata:1.8.4
          pipeline-milestone-step:1.3.2
          credentials:2.3.17
          active-directory:2.23
          ruby-runtime:0.12
          github:1.33.1
          lockable-resources:2.10
          jquery-detached:1.2.1
          bitbucket:1.1.27
          Office-365-Connector:4.14.0
          workflow-scm-step:2.12
          matrix-auth:2.6.6
          matrix-project:1.18
          pipeline-stage-step:2.5
          pipeline-build-step:2.13
          antisamy-markup-formatter:2.1
          rvm:0.6
          pipeline-input-step:2.12
          ant:1.11
          bouncycastle-api:2.20
          checks-api:1.7.0
          global-slack-notifier:1.5
          handlebars:3.0.8
          unity3d-plugin:1.3
          variant:1.4
          momentjs:1.1.1
          blueocean-jwt:1.24.5
          plain-credentials:1.7
          docker-commons:1.17
          aws-java-sdk:1.11.995
          git-client:3.7.1
          saferestart:0.3
          sonargraph-integration:5.0.1
          pipeline-rest-api:2.19
          downstream-ext:1.8
          workflow-basic-steps:2.23
          github-api:1.123
          ldap:2.5
          aws-secrets-manager-credentials-provider:0.5.3
          blueocean-core-js:1.24.5
          aws-codebuild:0.52
          aws-credentials:1.28.1
          thinBackup:1.10
          kubernetes-credentials:0.8.0
          preSCMbuildstep:0.3
          font-awesome-api:5.15.2-2
          credentials-binding:1.24
          pipeline-model-definition:1.8.4
          pipeline-stage-view:2.19
          sonar:2.13
          PrioritySorter:4.0.0
          date-parameter:0.0.4
          token-macro:2.15
          ssh:2.6.1
          slack:2.46
          workflow-multibranch:2.23
          script-security:1.76
          extended-read-permission:3.2
          git-server:1.9
          snakeyaml-api:1.27.0
          ssh-agent:1.22
          mask-passwords:3.0
          workflow-step-api:2.23
          publish-over:0.22
          okhttp-api:3.14.9
          pipeline-graph-analysis:1.10
          aws-codepipeline:0.44
          metrics:4.0.2.7
          build-timestamp:1.0.3
          postbuildscript:2.11.0
          pipeline-model-api:1.8.4
          extensible-choice-parameter:1.7.0
          plugin-util-api:2.1.0
          jenkins-design-language:1.24.5
          windows-slaves:1.7
          confluence-publisher:2.0.6
          workflow-cps:2.90
          publish-over-dropbox:1.3.2
          popper-api:1.16.1-2
          xcode-plugin:2.0.14
          workflow-durable-task-step:2.38
          email-ext:2.82
          trilead-api:1.0.13
          role-strategy:3.1.1
          branch-api:2.6.3
          jdk-tool:1.5
          cloudbees-folder:6.15
          durable-task:1.35
          aws-codecommit-trigger:3.0.5
          junit:1.49
          pam-auth:1.6
          scm-api:2.6.4
          scp:1.8
          ace-editor:1.1
          display-url-api:2.3.4
          badge:1.8
          workflow-support:3.8
          gitlab-hook:1.4.2
          blueocean-rest:1.24.5
          gitlab-merge-request-jenkins:2.0.0
          favorite:2.3.3
          mapdb-api:1.0.9.0

          Jishwin added a comment - Here you go markewaite .  jsch:0.1.55.2 label-linked-jobs:6.0.1 blueocean-commons:1.24.5 mercurial:2.14 echarts-api:5.0.2-1 structs:1.22 gitlab-oauth:1.10 gitlab-api:1.0.6 groovy:2.3 apache-httpcomponents-client-4-api:4.5.13-1.0 aws-codecommit-jobs:0.3.0 subversion:2.14.0 pipeline-model-extensions:1.8.4 downstream-buildview:1.9 external-monitor-job:1.7 kubernetes:1.29.2 workflow-aggregator:2.6 mailer:1.34 git:4.7.1 bootstrap4-api:4.6.0-3 jquery3-api:3.6.0-1 alauda-kubernetes-support:2.3.0 command-launcher:1.5 workflow-api:2.42 workflow-job:2.40 ssh-credentials:1.18.1 authentication-tokens:1.4 blueocean-rest-impl:1.24.5 multiple-scms:0.6 simple-theme-plugin:0.6 javadoc:1.6 workflow-cps-global-lib:2.18 blueocean-web:1.24.5 jackson2-api:2.12.2 ssh-slaves:1.31.5 gitlab-plugin:1.5.20 slack-uploader:1.7 kubernetes-client-api:4.13.2-1 docker-workflow:1.26 pipeline-stage-tags-metadata:1.8.4 pipeline-milestone-step:1.3.2 credentials:2.3.17 active-directory:2.23 ruby-runtime:0.12 github:1.33.1 lockable-resources:2.10 jquery-detached:1.2.1 bitbucket:1.1.27 Office-365-Connector:4.14.0 workflow-scm-step:2.12 matrix-auth:2.6.6 matrix-project:1.18 pipeline-stage-step:2.5 pipeline-build-step:2.13 antisamy-markup-formatter:2.1 rvm:0.6 pipeline-input-step:2.12 ant:1.11 bouncycastle-api:2.20 checks-api:1.7.0 global-slack-notifier:1.5 handlebars:3.0.8 unity3d-plugin:1.3 variant:1.4 momentjs:1.1.1 blueocean-jwt:1.24.5 plain-credentials:1.7 docker-commons:1.17 aws-java-sdk:1.11.995 git-client:3.7.1 saferestart:0.3 sonargraph-integration:5.0.1 pipeline-rest-api:2.19 downstream-ext:1.8 workflow-basic-steps:2.23 github-api:1.123 ldap:2.5 aws-secrets-manager-credentials-provider:0.5.3 blueocean-core-js:1.24.5 aws-codebuild:0.52 aws-credentials:1.28.1 thinBackup:1.10 kubernetes-credentials:0.8.0 preSCMbuildstep:0.3 font-awesome-api:5.15.2-2 credentials-binding:1.24 pipeline-model-definition:1.8.4 pipeline-stage-view:2.19 sonar:2.13 PrioritySorter:4.0.0 date-parameter:0.0.4 token-macro:2.15 ssh:2.6.1 slack:2.46 workflow-multibranch:2.23 script-security:1.76 extended-read-permission:3.2 git-server:1.9 snakeyaml-api:1.27.0 ssh-agent:1.22 mask-passwords:3.0 workflow-step-api:2.23 publish-over:0.22 okhttp-api:3.14.9 pipeline-graph-analysis:1.10 aws-codepipeline:0.44 metrics:4.0.2.7 build-timestamp:1.0.3 postbuildscript:2.11.0 pipeline-model-api:1.8.4 extensible-choice-parameter:1.7.0 plugin-util-api:2.1.0 jenkins-design-language:1.24.5 windows-slaves:1.7 confluence-publisher:2.0.6 workflow-cps:2.90 publish-over-dropbox:1.3.2 popper-api:1.16.1-2 xcode-plugin:2.0.14 workflow-durable-task-step:2.38 email-ext:2.82 trilead-api:1.0.13 role-strategy:3.1.1 branch-api:2.6.3 jdk-tool:1.5 cloudbees-folder:6.15 durable-task:1.35 aws-codecommit-trigger:3.0.5 junit:1.49 pam-auth:1.6 scm-api:2.6.4 scp:1.8 ace-editor:1.1 display-url-api:2.3.4 badge:1.8 workflow-support:3.8 gitlab-hook:1.4.2 blueocean-rest:1.24.5 gitlab-merge-request-jenkins:2.0.0 favorite:2.3.3 mapdb-api:1.0.9.0

          Mark Waite added a comment -

          I confirmed that the plugin list you provided fails to save the system configuration when run with Java 8. It fails completely when run with Java 11 because you are using plugins that depend on the obsolete ruby runtime plugin.

          With Java 8, I was able to allow the system configuration to save by disabling the following plugins:

          Disable plugins with security issues

          • Alauda Kubernetes Suport Plugin
          • Gitlab Hook Plugin
          • Slack Upload Plugin
          • Hudson SCP publisher plugin

          Disable deprecated plugins and their dependencies

          • Multiple SCMs plugin - known to have issues with configuration form modernization
          • AWS CodeCommit Trigger Plugin - requires multiple SCMs plugin
          • Gitlab Merge Request Builder

          Mark Waite added a comment - I confirmed that the plugin list you provided fails to save the system configuration when run with Java 8. It fails completely when run with Java 11 because you are using plugins that depend on the obsolete ruby runtime plugin. With Java 8, I was able to allow the system configuration to save by disabling the following plugins: Disable plugins with security issues Alauda Kubernetes Suport Plugin Gitlab Hook Plugin Slack Upload Plugin Hudson SCP publisher plugin Disable deprecated plugins and their dependencies Multiple SCMs plugin - known to have issues with configuration form modernization AWS CodeCommit Trigger Plugin - requires multiple SCMs plugin Gitlab Merge Request Builder

          Jishwin added a comment -

          This has been resolved for now. The configure page UI is not broken anymore after I disabled the said plugins. Thank you.

          Jishwin added a comment - This has been resolved for now. The configure page UI is not broken anymore after I disabled the said plugins. Thank you.

          Mark Waite added a comment -

          Closed because jishwin12 says that it was resolved by taking the requested steps

          Mark Waite added a comment - Closed because jishwin12 says that it was resolved by taking the requested steps

            Unassigned Unassigned
            jishwin12 Jishwin
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: