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

Jobs with very long configuration cause script errors in browser and extremely long loading times (10+ minutes)

      In Jenkins versions newer than 1.593 we see issues with jobs that have a long job configuration when we want to edit/check the job configuration in the GUI. The loading page remains gray and in Firefox we get script errors. IE and Chrome show very long loading time. Sometimes 10+ minutes. The config.xml of such "long" job configurations are over 2000 lines long. Short job configs in comparison have less than 300 lines.
      The message regarding scipt errors repeats or Firefox (or IE) process gets stuck.
      1.593 seems to be the last version which does not show the issue. All newer releases including the LTS and latest and greatest show the same behaviour.

          [JENKINS-32027] Jobs with very long configuration cause script errors in browser and extremely long loading times (10+ minutes)

          Daniel Beck added a comment -

          Are you saying the regression occurred between 1.593 and 1.594?

          Daniel Beck added a comment - Are you saying the regression occurred between 1.593 and 1.594?

          I did not test all versions, but we don't see the issue in 1.499, 1.580.1 and 1.593. But when upgrading to 1.625.2 the issue was seen. Then we tried 1.609.3, the previous LTS version, but it showed the same problem.

          I cannot tell exactly which version introduced this issue. We are now with 1.593 because it fixes another problem we saw in earlier releases with overlapping text but does not show the problem with the long job configurations like later versions do.

          Thomas Klammer added a comment - I did not test all versions, but we don't see the issue in 1.499, 1.580.1 and 1.593. But when upgrading to 1.625.2 the issue was seen. Then we tried 1.609.3, the previous LTS version, but it showed the same problem. I cannot tell exactly which version introduced this issue. We are now with 1.593 because it fixes another problem we saw in earlier releases with overlapping text but does not show the problem with the long job configurations like later versions do.

          Daniel Beck added a comment -

          tfennelly Didn't you have a prototype that fixed this issue?

          Daniel Beck added a comment - tfennelly Didn't you have a prototype that fixed this issue?

          Tom FENNELLY added a comment -

          danielbeck Nope, I'm afraid I haven't done anything on this.

          Tom FENNELLY added a comment - danielbeck Nope, I'm afraid I haven't done anything on this.

          tfennelly Is this a known issue and also seen by others? That information would already help me to pacify my customer
          Do you maybe have a link to a reference where the problem is described already?
          Thx a lot.

          Thomas Klammer added a comment - tfennelly Is this a known issue and also seen by others? That information would already help me to pacify my customer Do you maybe have a link to a reference where the problem is described already? Thx a lot.

          Daniel Beck added a comment -

          Seems I confused this issue with a different one. Sorry about that tklammer and tfennelly.

          Thomas, could you check in your browser whether the issue is related to codemirror?

          Daniel Beck added a comment - Seems I confused this issue with a different one. Sorry about that tklammer and tfennelly . Thomas, could you check in your browser whether the issue is related to codemirror?

          Chris Cralle added a comment -

          I'm sensing a pattern. Can anyone provide a way to disable codemirror for textarea?

          I tried something with hudson-behaviour.js but no luck.

          Chris Cralle added a comment - I'm sensing a pattern. Can anyone provide a way to disable codemirror for textarea? I tried something with hudson-behaviour.js but no luck.

          PR sent

          Darío Villadiego added a comment - PR sent

          Daniel Beck added a comment -

          Fix released in 2.12

          Daniel Beck added a comment - Fix released in 2.12

          Alex Dover added a comment -

          Hi,
          Thanks for the fix!
          Any idea when this change is going to make it into the LTS release?

          Alex Dover added a comment - Hi, Thanks for the fix! Any idea when this change is going to make it into the LTS release?

            Unassigned Unassigned
            tklammer Thomas Klammer
            Votes:
            2 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: