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

            Hide
            jamesdumay James Dumay added a comment -

            Thanks Yogesh Bhole we can take a look at this. Is it possible to share some NUnit output that demonstrates this issue for us?

            Show
            jamesdumay James Dumay added a comment - Thanks Yogesh Bhole we can take a look at this. Is it possible to share some NUnit output that demonstrates this issue for us?
            Hide
            michaelneale Michael Neale added a comment -

            Could this be the same thing that will be solved by: https://issues.jenkins-ci.org/browse/JENKINS-38754 ?

            Show
            michaelneale Michael Neale added a comment - Could this be the same thing that will be solved by: https://issues.jenkins-ci.org/browse/JENKINS-38754 ?
            Hide
            jamesdumay James Dumay added a comment -

            Michael Neale I am reasonably sure that they are not the same thing but this needs verification.

            Show
            jamesdumay James Dumay added a comment - Michael Neale I am reasonably sure that they are not the same thing but this needs verification.
            Hide
            testautomater Yogesh Bhole added a comment -

            James Dumay Thanks for the reply. Here I am sharing XML file produced by NUnit 2.6.4. UnitTests.xml

            Show
            testautomater Yogesh Bhole added a comment - James Dumay Thanks for the reply. Here I am sharing XML file produced by NUnit 2.6.4. UnitTests.xml
            Hide
            jamesdumay James Dumay added a comment -

            Thanks Yogesh Bhole. I am going to have someone look into test reporting plugin compatibility in the new year so this is really helpful

            Show
            jamesdumay James Dumay added a comment - Thanks Yogesh Bhole . I am going to have someone look into test reporting plugin compatibility in the new year so this is really helpful

              People

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

                Dates

                Created:
                Updated: