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

BlueOcean: tests throws javascript error when duration is NaN

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • blueocean-plugin
    • None
    • Jenkins 2.230 (also in previous versions)
      all plug-ins up to date

      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

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

              Created:
              Updated: