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

Can not view stack trace for NUnit tests

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: blueocean-plugin
    • Labels:
      None
    • Environment:
      Jenkins 2.34 and Blue Ocean 1.0.0-b13
    • Similar Issues:

      Description

      When running NUnit tests from Jenkins pipeline and publishing NUnit results using step as shown below

      step([$class: 'NUnitPublisher', testResultsPattern: 'Test/UnitTests.xml', debug: true, keepJUnitReports: true, skipJUnitArchiver:false, failIfNoResults: true])
      

      Blue Ocean shows tests which are failed but clicking on > to see Stack Trace of failed test, error in seen in Browser JS console

      jenkins-js-extension.js:37038 Uncaught TypeError: Cannot read property 'trim' of null(…)ConsoleLog @ jenkins-js-extension.js:37038_constructComponentWithoutOwner @ blueocean.js:80562_constructComponent @ blueocean.js:80538mountComponent @ blueocean.js:80441mountComponent @ blueocean.js:87524mountChildren @ blueocean.js:86402_createInitialChildren @ blueocean.js:81978mountComponent @ blueocean.js:81803mountComponent @ blueocean.js:87524mountChildren @ blueocean.js:86402_createInitialChildren @ blueocean.js:81978mountComponent @ blueocean.js:81803mountComponent @ blueocean.js:87524mountChildren @ blueocean.js:86402_createInitialChildren @ blueocean.js:81978mountComponent @ blueocean.js:81803mountComponent @ blueocean.js:87524performInitialMount @ blueocean.js:80624mountComponent @ blueocean.js:80511mountComponent @ blueocean.js:87524updateChildren @ blueocean.js:78789_reconcilerUpdateChildren @ blueocean.js:86377_updateChildren @ blueocean.js:86476updateChildren @ blueocean.js:86463_updateDOMChildren @ blueocean.js:82221updateComponent @ blueocean.js:82039receiveComponent @ blueocean.js:81997receiveComponent @ blueocean.js:87603_updateRenderedComponent @ blueocean.js:81005_performComponentUpdate @ blueocean.js:80975updateComponent @ blueocean.js:80896receiveComponent @ blueocean.js:80798receiveComponent @ blueocean.js:87603_updateRenderedComponent @ blueocean.js:81005_performComponentUpdate @ blueocean.js:80975updateComponent @ blueocean.js:80896receiveComponent @ blueocean.js:80798receiveComponent @ blueocean.js:87603updateChildren @ blueocean.js:78777_reconcilerUpdateChildren @ blueocean.js:86377_updateChildren @ blueocean.js:86476updateChildren @ blueocean.js:86463_updateDOMChildren @ blueocean.js:82221updateComponent @ blueocean.js:82039receiveComponent @ blueocean.js:81997receiveComponent @ blueocean.js:87603_updateRenderedComponent @ blueocean.js:81005_performComponentUpdate @ blueocean.js:80975updateComponent @ blueocean.js:80896performUpdateIfNecessary @ blueocean.js:80812performUpdateIfNecessary @ blueocean.js:87635runBatchedUpdates @ blueocean.js:88674perform @ blueocean.js:90722perform @ blueocean.js:90722perform @ blueocean.js:88613flushBatchedUpdates @ blueocean.js:88696closeAll @ blueocean.js:90788perform @ blueocean.js:90735batchedUpdates @ blueocean.js:84405batchedUpdates @ blueocean.js:88621dispatchEvent @ blueocean.js:85282
      

      Jenkins classic UI do show stack trace for such failed trace.

      Jenkins 2.34 and Blue Ocean 1.0.0-b13

        Attachments

          Issue Links

            Activity

            testautomater Yogesh Bhole created issue -
            jamesdumay James Dumay made changes -
            Field Original Value New Value
            Summary Can not view stack trace for tests Can not view stack trace for NUnit tests
            jamesdumay James Dumay made changes -
            Sprint kraken [ 166 ]
            jamesdumay James Dumay made changes -
            Rank Ranked higher
            jamesdumay James Dumay made changes -
            Epic Link JENKINS-40108 [ 176745 ]
            testautomater Yogesh Bhole made changes -
            Attachment UnitTests.xml [ 35166 ]
            jamesdumay James Dumay made changes -
            Sprint kraken [ 166 ]
            jamesdumay James Dumay made changes -
            Rank Ranked higher
            jamesdumay James Dumay made changes -
            Link This issue relates to JENKINS-41281 [ JENKINS-41281 ]
            jamesdumay James Dumay made changes -
            Sprint panthalassa [ 221 ]
            jamesdumay James Dumay made changes -
            Rank Ranked lower
            jamesdumay James Dumay made changes -
            Sprint panthalassa [ 221 ] up next [ 171 ]
            jamesdumay James Dumay made changes -
            Rank Ranked higher
            jamesdumay James Dumay made changes -
            Sprint up next [ 171 ] 1.1 [ 251 ]
            jamesdumay James Dumay made changes -
            Rank Ranked higher
            jamesdumay James Dumay made changes -
            Rank Ranked higher
            jamesdumay James Dumay made changes -
            Rank Ranked lower
            jamesdumay James Dumay made changes -
            Priority Minor [ 4 ] Major [ 3 ]
            jamesdumay James Dumay made changes -
            Sprint Blue Ocean up next [ 251 ]
            jamesdumay James Dumay made changes -
            Rank Ranked higher

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              testautomater Yogesh Bhole
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated: