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

Perforce plugin breaks "Configure System" UI after 2.277.1 upgrade

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Blocker Blocker
    • core
    • Jenkins version - 2.277.1 - LTS
      Deployed using - image: jenkins/jenkins:lts-centos7
      openjdk version "1.8.0_282"
      Upgraded from Jenkins version is 2.263.1-LTS.

      Two days back i have upgraded my docker based Jenkins from 2.263.1-LTS to 2.277.1-LTS. Since then Under Manage Jenkins > Configure Systems section, i can't see Apply (Or) Save  configuration option.

      Also Configure Systems GUI is broken it is not displaying properly in sequential order. (Refer attached screenshot for more details).

      The plugins that i have Installed currently as follows,

       

      Jenkins: 2.277.1
      OS: Linux - 4.18.0-193.14.2.el8_2.x86_64
      ---
      pipeline-stage-step:2.5
      kubernetes:1.29.2
      docker-workflow:1.26
      uno-choice:2.5.4
      credentials:2.3.15
      plain-credentials:1.7
      plugin-util-api:2.0.0
      workflow-durable-task-step:2.38
      opsgenie:1.9
      javadoc:1.6
      authentication-tokens:1.4
      jjwt-api:0.11.2-9.c8b45b8bb173
      matrix-project:1.18
      kubernetes-cli:1.10.0
      crowd2:2.0.2
      pipeline-model-extensions:1.8.4
      jacoco:3.1.1
      perforce:1.3.36
      external-monitor-job:1.7
      analysis-model-api:9.8.1
      display-url-api:2.3.4
      log-command:1.0.2
      mailer:1.33
      jquery3-api:3.5.1-3
      workflow-scm-step:2.12
      mask-passwords:3.0
      project-build-times:1.2.1
      strict-crumb-issuer:2.1.0
      jquery:1.12.4-1
      build-metrics:1.3
      pipeline-graph-analysis:1.10
      gerrit-trigger:2.32.1
      github:1.33.1
      durable-task:1.35
      credentials-binding:1.24
      workflow-basic-steps:2.23
      pipeline-input-step:2.12
      clearcase:1.6.6
      pipeline-model-definition:1.8.4
      momentjs:1.1.1
      exclusive-execution:0.8
      log-parser:2.1
      rebuild:1.32
      echarts-api:5.0.1-1
      ssh-agent:1.21
      pipeline-rest-api:2.19
      subversion:2.14.0
      pipeline-stage-tags-metadata:1.8.4
      handlebars:1.1.1
      description-setter:1.10
      ace-editor:1.1
      trilead-api:1.0.13
      publish-over-ssh:1.22
      mapdb-api:1.0.9.0
      scm-api:2.6.4
      metrics:4.0.2.7
      warnings-ng:8.10.1
      global-build-stats:1.5
      console-log-to-workspace:1.2-SNAPSHOT (private-03/18/2020 17:06-root)
      extended-read-permission:3.2
      authorize-project:1.4.0
      antisamy-markup-formatter:2.1
      oauth-credentials:0.4
      lockable-resources:2.10
      nodelabelparameter:1.7.2
      dashboard-view:2.14
      greenballs:1.15.1
      snakeyaml-api:1.27.0
      font-awesome-api:5.15.2-2
      log-cli:86.206c385fabcd
      groovy-postbuild:2.5
      ssh-credentials:1.18.1
      slack:2.45
      workflow-support:3.8
      scriptler:3.1
      cloudbees-disk-usage-simple:0.10
      timestamper:1.11.8
      build-timeout:1.20
      ssh-slaves:1.31.5
      jsch:0.1.55.2
      command-launcher:1.5
      script-security:1.76
      job-log-logger-plugin:1.0
      okhttp-api:3.14.9
      windows-slaves:1.7
      workflow-job:2.40
      ldap:2.4
      google-oauth-plugin:1.0.4
      badge:1.8
      data-tables-api:1.10.23-3
      jdk-tool:1.5
      zentimestamp:4.2
      saferestart:0.3
      git-server:1.9
      jquery-detached:1.2.1
      pam-auth:1.6
      ansicolor:0.7.5
      ws-cleanup:0.39
      sonar:2.13
      popper-api:1.16.1-2
      resource-disposer:0.15
      pipeline-build-step:2.13
      checks-api:1.6.0
      kubernetes-credentials:0.8.0
      pipeline-stage-view:2.19
      jqs-monitoring:1.4
      structs:1.22
      matrix-auth:2.6.5
      git-parameter:0.9.13
      gerrit-code-review:0.4.4
      bouncycastle-api:2.20
      gerrit-verify-status-reporter:0.0.3
      git:4.6.0
      variant:1.4
      pipeline-milestone-step:1.3.2
      kubernetes-client-api:4.13.2-1
      docker-plugin:1.2.2
      postbuild-task:1.9
      publish-over:0.22
      git-client:3.6.0
      workflow-cps-global-lib:2.18
      token-macro:2.15
      branch-api:2.6.3
      github-branch-source:2.10.2
      pipeline-model-api:1.8.4
      workflow-api:2.41
      docker-java-api:3.1.5.2
      jackson2-api:2.12.1
      apache-httpcomponents-client-4-api:4.5.13-1.0
      msginject:0.1.1
      cloudbees-folder:6.15
      git-forensics:1.0.0
      jobConfigHistory:2.26
      pipeline-github-lib:1.0
      workflow-cps:2.90
      JDK_Parameter_Plugin:1.0
      email-ext:2.82
      junit:1.49
      workflow-step-api:2.23
      workflow-multibranch:2.22
      p4:1.11.3
      bootstrap4-api:4.6.0-2
      gradle:1.36
      workflow-aggregator:2.6
      logging:1.0.0
      docker-commons:1.17
      build-timestamp:1.0.3
      ant:1.11
      forensics-api:1.0.0
      github-api:1.123
      

       

       

          [JENKINS-65106] Perforce plugin breaks "Configure System" UI after 2.277.1 upgrade

          Tim Jacomb added a comment - - edited

          Hi can you please use the script here to provide your plugin list:
          https://www.jenkins.io/participate/report-issue/#Howtoreportanissue-WhatinformationtoprovideforEnvironmentandDescription

          it can be used to reproduce it

          can you confirm you have updated all your plugins? and that you aren't using any of these plugins? https://issues.jenkins.io/secure/Dashboard.jspa?selectPageId=20741

          Tim Jacomb added a comment - - edited Hi can you please use the script here to provide your plugin list: https://www.jenkins.io/participate/report-issue/#Howtoreportanissue-WhatinformationtoprovideforEnvironmentandDescription it can be used to reproduce it can you confirm you have updated all your plugins? and that you aren't using any of these plugins? https://issues.jenkins.io/secure/Dashboard.jspa?selectPageId=20741

          Mohan added a comment -

          Hi Tim, With the provided link script i have extracted the plugin list and updated in the question itself. 

          Yes i have upgraded all the plugins as well after my jenkins upgrade.

          From the above given link (Plugin related issue) i m using only - scriptler:3.1 plguin.

          Mohan added a comment - Hi Tim, With the provided link script i have extracted the plugin list and updated in the question itself.  Yes i have upgraded all the plugins as well after my jenkins upgrade. From the above given link (Plugin related issue) i m using only - scriptler:3.1 plguin.

          Tim Jacomb added a comment -

          Try disabling it and restarting to see if that’s the issue

          Tim Jacomb added a comment - Try disabling it and restarting to see if that’s the issue

          Mohan added a comment - - edited

          Have un-installed - scriptler:3.1 plugin, restarted the jenkins and tried, However still experiencing same problem.

          Have tried with firefox - Version - 86.0.1 (64-bit) and chrome - Version 89.0.4389.82 (Official Build) (64-bit) browsers, even here also same problem.

          Mohan added a comment - - edited Have un-installed - scriptler:3.1 plugin, restarted the jenkins and tried, However still experiencing same problem. Have tried with firefox - Version - 86.0.1 (64-bit) and chrome - Version 89.0.4389.82 (Official Build) (64-bit) browsers, even here also same problem.

          Tim Jacomb added a comment -

          Normally it’s the last plugin before the UI breaks

          Tim Jacomb added a comment - Normally it’s the last plugin before the UI breaks

          Mark Waite added a comment - - edited

          I was able to duplicate the problem you describe based on the plugins list you provided, though I made the following modifications to the list of installed plugins:

          • Removed console-log-to-workspace:1.2-SNAPSHOT plugin because it is not available to me
          • Replaced dashboard-view:2.14 with dashboard-view:2.15 because it is a newer release
          • Replaced gerrit-trigger:2.32.1 with gerrit-trigger:2.33.0 because it is required to satisfy dependencies
          • Added jaxb:2.3.0.1 because it was not listed in the original plugins.txt but appeared as a plugin to be updated during my tests
          • Replaced slack:2.45 with slack:2.46 because it is a newer release
          • Replaced uno-choice:2.5.4 with uno-choice:2.5.5 because it is a newer release

          With that plugin configuration, I was able to duplicate the problem.

          I was able to resolve the problem by uninstalling the perforce plugin. The perforce plugin has been replaced by the p4 plugin. The perforce plugin is no longer listed on the plugins.jenkins.io site.

          Your alternatives:

          • Uninstall the perforce plugin. Use the p4 plugin instead (it is already installed in your environment)
          • Create a custom fork of the perforce plugin that adapts to tables to divs. Since the perforce plugin was last released 5 years ago and depends on a very old version, that may be non-trivial
          • Remain with Jenkins 2.263.x

          The specific security issues with the perforce plugin are:

          • SECURITY-536 - Perforce Plugin credentials can be obtained by users with Job/Extended Read permission
          • SECURITY-373 - Perforce Plugin uses ineffective credentials encryption

          Mark Waite added a comment - - edited I was able to duplicate the problem you describe based on the plugins list you provided, though I made the following modifications to the list of installed plugins: Removed console-log-to-workspace:1.2-SNAPSHOT plugin because it is not available to me Replaced dashboard-view:2.14 with dashboard-view:2.15 because it is a newer release Replaced gerrit-trigger:2.32.1 with gerrit-trigger:2.33.0 because it is required to satisfy dependencies Added jaxb:2.3.0.1 because it was not listed in the original plugins.txt but appeared as a plugin to be updated during my tests Replaced slack:2.45 with slack:2.46 because it is a newer release Replaced uno-choice:2.5.4 with uno-choice:2.5.5 because it is a newer release With that plugin configuration, I was able to duplicate the problem. I was able to resolve the problem by uninstalling the perforce plugin. The perforce plugin has been replaced by the p4 plugin. The perforce plugin is no longer listed on the plugins.jenkins.io site. Your alternatives: Uninstall the perforce plugin. Use the p4 plugin instead (it is already installed in your environment) Create a custom fork of the perforce plugin that adapts to tables to divs. Since the perforce plugin was last released 5 years ago and depends on a very old version, that may be non-trivial Remain with Jenkins 2.263.x The specific security issues with the perforce plugin are: SECURITY-536 - Perforce Plugin credentials can be obtained by users with Job/Extended Read permission SECURITY-373 - Perforce Plugin uses ineffective credentials encryption

          Mark Waite added a comment -

          Closing as "Won't fix" because the perforce plugin has been superseded by the p4 plugin.

          Mark Waite added a comment - Closing as "Won't fix" because the perforce plugin has been superseded by the p4 plugin.

          Mohan added a comment -

          Thanks a lot Mark for pointing the issue, perforce plugin was causing the issue. I have un-installed and restarted the jenkins now configure settings working as expected.

          Mohan added a comment - Thanks a lot Mark for pointing the issue, perforce plugin was causing the issue. I have un-installed and restarted the jenkins now configure settings working as expected.

            Unassigned Unassigned
            smohan08 Mohan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: