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

Failing test view omits important stdout/stderr information

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • blueocean-plugin
    • Jenkins 2.7.4, Blue Ocean 1.0.0-b07
    • arctic, frank, tethys, christmas, pannonian

      Standard out and standard error from when the test was executed can be very important for diagnosing and understanding the test failure.

      In this pipeline run there is a test failure which has lots of accompanying stderr/stdout which gets omitted in the Blue Ocean detail view

      See the attached images for comparisions

          [JENKINS-38754] Failing test view omits important stdout/stderr information

          Michael Neale added a comment -

          yes, this is fair enough, that stderr/out stuff should be made available, agree.

          Michael Neale added a comment - yes, this is fair enough, that stderr/out stuff should be made available, agree.

          James Dumay added a comment -

          imeredith for whatever reason if the sections don't have any data we should not be displaying the section at all (e.g. if there is no stdout then do not show a stdout header and body). Ping me if you need clarification.

          James Dumay added a comment - imeredith for whatever reason if the sections don't have any data we should not be displaying the section at all (e.g. if there is no stdout then do not show a stdout header and body). Ping me if you need clarification.

          Code changed in jenkins
          User: Ivan Meredith
          Path:
          src/test/js/multibranch/testResults.js
          src/test/resources/multibranch/test_results/TEST-io.blueocean.StdoutStderr.xml
          http://jenkins-ci.org/commit/blueocean-acceptance-test/32e0cda8f175dbaca0aa206a40382ede2929afb6
          Log:
          JENKINS-38754 Add test coverage for Standoutput and standard error

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Ivan Meredith Path: src/test/js/multibranch/testResults.js src/test/resources/multibranch/test_results/TEST-io.blueocean.StdoutStderr.xml http://jenkins-ci.org/commit/blueocean-acceptance-test/32e0cda8f175dbaca0aa206a40382ede2929afb6 Log: JENKINS-38754 Add test coverage for Standoutput and standard error

          Code changed in jenkins
          User: Ivan Meredith
          Path:
          src/test/js/multibranch/testResults.js
          src/test/resources/multibranch/test_results/TEST-io.blueocean.StdoutStderr.xml
          http://jenkins-ci.org/commit/blueocean-acceptance-test/f6e099c7fa5a781f660c5a5fd434a4ecf21fc150
          Log:
          JENKINS-38754 Add test coverage for Standoutput and standard error (#103)

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Ivan Meredith Path: src/test/js/multibranch/testResults.js src/test/resources/multibranch/test_results/TEST-io.blueocean.StdoutStderr.xml http://jenkins-ci.org/commit/blueocean-acceptance-test/f6e099c7fa5a781f660c5a5fd434a4ecf21fc150 Log: JENKINS-38754 Add test coverage for Standoutput and standard error (#103)

            imeredith Ivan Meredith
            rtyler R. Tyler Croy
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: