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

Blue Ocean dashboard page never finishes loading

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • blueocean-plugin
    • None
    • Jenkins 2.15, blue ocean 1.0-alpha-4, matrix project 1.7.1, test stability 1.0, config history 2.15
    • 1.0-pre-beta-1

      When I try opening the Blue Ocean dashboard view, it never finishes loading, and instead says "No pipelines found."

      If I open the Chrome developer tools, I can see it making a request that never finishes:
      https://<ROOTURL>/blue/rest/search/?q=type:pipeline;excludedFromFlattening:jenkins.branch.MultiBranchProject

      If I use curl to retrieve that page, it takes 15 minutes to load, and produces a 53-megabyte json file that's truncated at the end.

      The most notable large sections, from what I can tell (with job and test class names changed for privacy):

      {"_class":"io.jenkins.blueocean.service.embedded.rest.ActionProxiesImpl","_links":{"self":{"_class":"io.jenkins.blueocean.rest.hal.Link","href":"/blue/rest/organizations/jenkins/pipelines/REDACTED-JOB-NAME/jobConfigHistory/"}},"_class":"hudson.plugins.jobConfigHistory.JobConfigHistoryProjectAction","jobConfigHistory":[

      {"currentName":"","date":"2016-07-27_01-38-02","hasConfig":true,"job":"REDACTED-JOB-NAME","oldName":"","operation":"Changed","user":"SYSTEM","userID":"SYSTEM"}

      ,

      (I'd say I see two-digit numbers of these "currentName" entries)

      {"_class":"io.jenkins.blueocean.service.embedded.rest.ActionProxiesImpl","_links":{"self":"_class":"io.jenkins.blueocean.rest.hal.Link","href":"/blue/rest/organizations/jenkins/pipelines/FOLDER_NAME_HERE/pipelines/JOB_NAME_HERE/runs/4/testReport/"}},"_class":"hudson.tasks.test.MatrixTestResult","failCount":11,"skipCount":21,"totalCount":3644,"childReports":[{"child":

      {"_class":"hudson.matrix.MatrixRun","number":4,"url":"https://<BASEURL_HERE>/job/FOLDER_HERE/job/MATRIXJOB_NAME_HERE/AXIS_NAME_HERE/4/"}

      ,"result":{"_class":"hudson.tasks.junit.TestResult","testActions":[],"duration":6332.9766,"empty":false,"failCount":3,"passCou{nt":903,"skipCount":5,"suites":[{"cases":[{"testActions":[

      {"_class":"de.esailors.jenkins.teststability.StabilityTestAction"}

      ],"age":0,"className":"CLASS NAME HERE","duration":2.051724,"failedSince":0,"name":"TEST NAME HERE","skipped":false,"status":"PASSED"},

      (Thousands of these StabilityTestAction entries)

          [JENKINS-37018] Blue Ocean dashboard page never finishes loading

          Vivek Pandey added a comment -

          danagoyette Based on configuration provided, I expected about 120 (3*10*2*2) pipelines/jobs and each inlining its own run and its actions. It is worth while to investigate which is the culprit inning these 1000 of actions per build. Would it be possible to provide output response in full?

          Vivek Pandey added a comment - danagoyette Based on configuration provided, I expected about 120 (3*10*2*2) pipelines/jobs and each inlining its own run and its actions. It is worth while to investigate which is the culprit inning these 1000 of actions per build. Would it be possible to provide output response in full?

          Dana Goyette added a comment -

          If you can tell me a way to get the full response, I can run it through 'sed' to replace any sensitive stuff with placeholder values, such as "product1-branch1". (When I tried using curl, the output was truncated.)

          Dana Goyette added a comment - If you can tell me a way to get the full response, I can run it through 'sed' to replace any sensitive stuff with placeholder values, such as "product1-branch1". (When I tried using curl, the output was truncated.)

          Vivek Pandey added a comment -

          Hi danagoyette,

          http://localhost:8080/jenkins/blue/rest/search/?q=type:pipeline;excludedFromFlattening:jenkins.branch.MultiBranchProject&start=0&limit=100 should give you 100 results. If you want to include less you can, basically I want to look at actions that are getting serialized in there so send them across after scrubbing. thanks.

          Vivek Pandey added a comment - Hi danagoyette , http://localhost:8080/jenkins/blue/rest/search/?q=type:pipeline;excludedFromFlattening:jenkins.branch.MultiBranchProject&start=0&limit=100 should give you 100 results. If you want to include less you can, basically I want to look at actions that are getting serialized in there so send them across after scrubbing. thanks.

          Dana Goyette added a comment -

          I've attached a tar.gz of the json (after running through 'jq' and sanitizing a bunch of stuff). Hopefully that's helpful.

          Dana Goyette added a comment - I've attached a tar.gz of the json (after running through 'jq' and sanitizing a bunch of stuff). Hopefully that's helpful.

          Vivek Pandey added a comment -

          Thanks danagoyette. I will have an update after analyzing the json response.

          Vivek Pandey added a comment - Thanks danagoyette . I will have an update after analyzing the json response.

          Vivek Pandey added a comment - - edited

          We are going to address it by

          • list matrix projects in blueocean dashboard (JENKINS-37104)
          • clicking on it redirects user to classic matrix project page (JENKINS-37427)

          Vivek Pandey added a comment - - edited We are going to address it by list matrix projects in blueocean dashboard ( JENKINS-37104 ) clicking on it redirects user to classic matrix project page ( JENKINS-37427 )

          Vivek Pandey added a comment -

          michaelnealejamesdumay To resolve this ticket we need JENKINS-37104, JENKINS-37427 and pagination ticket to be completed. Can you link pagination JIRA issue that Keith is working on to this ticket?

          Vivek Pandey added a comment - michaelneale jamesdumay To resolve this ticket we need JENKINS-37104 , JENKINS-37427 and pagination ticket to be completed. Can you link pagination JIRA issue that Keith is working on to this ticket?

          James Dumay added a comment -

          vivek already linked. I think we should close this ticket against it.

          James Dumay added a comment - vivek already linked. I think we should close this ticket against it.

          trejkaz added a comment -

          I'm seeing the progress bar taking forever to load as well, and the "original" ticket this was marked against doesn't sound like it was talking about the same problem.

          Time to reopen?

           

          trejkaz added a comment - I'm seeing the progress bar taking forever to load as well, and the "original" ticket this was marked against doesn't sound like it was talking about the same problem. Time to reopen?  

          James Dumay added a comment -

          trejkaz can you please open a new ticket with both a HAR file and a support bundle attached? Additional screenshots would help too.

          James Dumay added a comment - trejkaz can you please open a new ticket with both a HAR file and a support bundle attached? Additional screenshots would help too.

            vivek Vivek Pandey
            danagoyette Dana Goyette
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: