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

BlueOcean: tests throws javascript error when duration is NaN

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Critical
    • Resolution: Unresolved
    • Component/s: blueocean-plugin
    • Labels:
      None
    • Environment:
      Jenkins 2.230 (also in previous versions)
      all plug-ins up to date
    • Similar Issues:

      Description

      When viewing tests, 'Existing failures' remains 'Loading...':

      The javascript console shows an error:

      blueocean-core-js.js:58316 Error fetching page SyntaxError: Unexpected token N in JSON at position 60954
      SyntaxError: Unexpected token N in JSON at position 60954
      (anonymous) @ blueocean-core-js.js:58316
      

      Upon inspecting the json returned by /blue/rest/organizations/jenkins/pipelines/7.29/pipelines/work/runs/285/tests/?status=FAILED&state=%21REGRESSION&start=0&limit=101, at position 60954 a NaN has populated a duration:

      ...,"age":10,"duration":NaN,"errorDetails":null,"errorStackTrace":"...
      

      The classic pipeline does not have this problem and shows the NaN as 0 ms

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              Unassigned
              Reporter:
              smd Stefan Drissen
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: