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

Unable to apply changes to freestyle jobs if Hudson locks and latches is installed

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Won't Do

    Description

      Background

      We are currently unable to save or apply modifications to any of our freestyle jobs.  We have the ability to create them, but once they are created, the 'Save' and 'Apply' buttons no longer work.  Period.

      This behavior does not happen for jobs of other types, like pipeline jobs.

      When the issue occurs, there is no feedback given in the Jenkins window which would provide any details about what's actually occurring.  It's almost like the actions associated w/the buttons are simply not receiving any messages from them and so nothing is done.  The page does not even transition to the parent job view after clicking the 'Save' button.  It just sits there.

      Reproducing the Problem

      To reproduce the issue, we execute this workflow for any of our freestyle jobs:

      [From the dashboard]

      • Select the link for the desired freestyle job
      • Choose 'Configure'
      • Click the 'Save' or 'Apply' buttons (nothing happens)
      • Modify any attribute in the job's configuration and select 'Save' or 'Apply' (nothing happens)
         
      • Result:  The page just sits there.

      Additional Information

      We are not exactly sure which upgrade may have introduced this issue?  We know we initially noticed it in late May 2021 when it was reported by the team which own the freestyle jobs.  The current Jenkins release is 2.289.1.

      We have tried rolling back the Jenkins version back two prior releases and the issue is still there.  Having seen that, we upgraded to the latest version since nothing we did made any difference.

      We have uninstalled or disabled any plugins we no longer needed.  The issue persists.

      The issue occurs regardless of browser type (Chrome, Edge, IE, FireFox, Safari).

      Final Question

      Could this be caused by the fact this server's OS is RHEL 6?  Just a shot in the dark, but the OS is very old and we are not able to reproduce this issue in our RHEL 7 and RHEL 8 Jenkins environments using the same Jenkins version.

      Thanks for your help!

      Attachments

        Issue Links

          Activity

            harrism Marcus Harris added a comment -

            IMPORTANT

            As suggested in the comments of this issue (JENKINS-65480), downgrading our installation from 2.289.1 to 2.263.1 resolved the issue I reported.

            Naturally, it introduced issues w/some of the plugins which require a Jenkins version more recent than 2.263.1 and a couple of security issues, but our ability to modify and save changes to our freestyle job configurations has been restored.

            Please consider examining the deltas between these two versions to find out why this issue is occurring.  Thanks!!

            harrism Marcus Harris added a comment - IMPORTANT As suggested in the comments of this issue ( JENKINS-65480 ), downgrading our installation from 2.289.1 to 2.263.1 resolved the issue I reported . Naturally, it introduced issues w/some of the plugins which require a Jenkins version more recent than 2.263.1 and a couple of security issues, but our ability to modify and save changes to our freestyle job configurations has been restored. Please consider examining the deltas between these two versions to find out why this issue is occurring.  Thanks!!
            markewaite Mark Waite added a comment - - edited

            The "Hudson Locks and Latches" plugin in your installation was last released 11 years ago. It uses "table" layout in an HTML form. Jenkins 2.277.1 and later have switched from table layout to use "div" elements for layout. See the Jenkins 2.277.1 Webinar, the Jenkins 2.277.1 changelog, and the Jenkins 2.277.1 upgrade guide for more details on that upgrade.

            I can duplicate the problem you're reporting using the plugin versions that you specified. I was still able to duplicate the problem even after upgrading all those plugins to their most recent releases.

            If I disable or uninstall the "Hudson Locks and Latches" plugin, then the Freestyle project that I created can be saved. However, as far as I can tell, the "Hudson Locks and Latches" plugin is no longer available from the Jenkins update center. I can't find it at https://updates.jenkins.io/latest/ or at https://updates.jenkins.io/download/plugins/ .

            If you cannot operate without that plugin, you may want to consider adopting the plugin and maintaining it.

            If can operate without it, then you should remove the plugin. It was proposed to be deprecated long ago and has been unmaintained for many years.

            markewaite Mark Waite added a comment - - edited The "Hudson Locks and Latches" plugin in your installation was last released 11 years ago. It uses "table" layout in an HTML form. Jenkins 2.277.1 and later have switched from table layout to use "div" elements for layout. See the Jenkins 2.277.1 Webinar, the Jenkins 2.277.1 changelog, and the Jenkins 2.277.1 upgrade guide for more details on that upgrade. I can duplicate the problem you're reporting using the plugin versions that you specified. I was still able to duplicate the problem even after upgrading all those plugins to their most recent releases. If I disable or uninstall the "Hudson Locks and Latches" plugin, then the Freestyle project that I created can be saved. However, as far as I can tell, the "Hudson Locks and Latches" plugin is no longer available from the Jenkins update center. I can't find it at https://updates.jenkins.io/latest/ or at https://updates.jenkins.io/download/plugins/ . If you cannot operate without that plugin, you may want to consider adopting the plugin and maintaining it. If can operate without it, then you should remove the plugin. It was proposed to be deprecated long ago and has been unmaintained for many years.
            harrism Marcus Harris added a comment -

            Update (06/22)

            markewaite – Thanks so much for that information!  To the best of my knowledge, that plugin can definitely go.

            I'll remove the plugin, upgrade the instance to the latest version, and then retry my testing w/the freestyle jobs.

            I appreciate your support!

            Marcus

            harrism Marcus Harris added a comment - Update (06/22) markewaite – Thanks so much for that information!  To the best of my knowledge, that plugin can definitely go. I'll remove the plugin, upgrade the instance to the latest version, and then retry my testing w/the freestyle jobs. I appreciate your support! Marcus
            harrism Marcus Harris added a comment -

            Update (06/22)

            markewaite – Getting rid of that old plugin worked!  We're back on version 2.289.1 and are able to modify/save our changes to the freestyle job configs.

            Thanks again for your support!!

            harrism Marcus Harris added a comment - Update (06/22) markewaite – Getting rid of that old plugin worked!  We're back on version 2.289.1 and are able to modify/save our changes to the freestyle job configs. Thanks again for your support!!
            markewaite Mark Waite added a comment -

            The Hudson locks and latches plugin is not distributed by the Jenkins update center. It was proposed for deprecation in 2015 and has known blocking issues. It prevents the saving of Jenkins job configurations in Jenkins 2.277.1 and later.

            If someone adopted the plugin, updated it to work with Jenkins 2.277.1 and later, and released a new version, then this issue report could be reopened.

            markewaite Mark Waite added a comment - The Hudson locks and latches plugin is not distributed by the Jenkins update center. It was proposed for deprecation in 2015 and has known blocking issues. It prevents the saving of Jenkins job configurations in Jenkins 2.277.1 and later. If someone adopted the plugin, updated it to work with Jenkins 2.277.1 and later, and released a new version, then this issue report could be reopened.

            People

              Unassigned Unassigned
              harrism Marcus Harris
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: