• Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • blueocean-plugin
    • None
    • Jenkins 2.34 and Blue Ocean 1.0.0-b13

      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

          [JENKINS-40341] Can not view stack trace for NUnit tests

          James Dumay added a comment -

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

          James Dumay added a comment - Thanks testautomater we can take a look at this. Is it possible to share some NUnit output that demonstrates this issue for us?

          Michael Neale added a comment -

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

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

          James Dumay added a comment -

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

          James Dumay added a comment - michaelneale I am reasonably sure that they are not the same thing but this needs verification.

          Yogesh Bhole added a comment -

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

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

          James Dumay added a comment -

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

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

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

              Created:
              Updated: