• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • junit-plugin
    • None
    • Platform: All, OS: All

      http://deadlock.netbeans.org/hudson/job/NB-Core-Build/1909/testReport/org.netbeans.modules.masterfs.filebasedfs/BaseFileObjectTestHid/testFileUtilToFileObjectIsValid/

      shows

      "Standard Error

      Skipping org.openide.filesystems.FileObjectTestHid.testWriteReadExclusion
      Skipping org.openide.filesystems.FileObjectTestHid.testWriteReadExclusionDeadlock"

      but this information, from SuiteResult, is not available in the corresponding
      /api/xml.

      I guess the problem is that what is exposed is a hierarchy of TestResult ->
      PackageResult -> ClassResult -> CaseResult. The SuiteResult's most commonly
      correspond to ClassResult's but this is not always true, and we would not want
      to serialize a SuiteResult's info inside a CaseResult's output since this would
      often create duplicate output.

      Could perhaps have the root TestResult also enumerate SuiteResult's as a
      separate subtree, with the serialized information being the name, duration,
      timestamp, stdout/err, and perhaps list of CaseResult names for cross-linking?
      Of course these names are not guaranteed to be unique. Ideally, the XML
      structure would expose the CaseResult.parent -> SuiteResult links using e.g.
      generated element IDs, but this may be beyond the capabilities of your XML
      serialization framework.

          [JENKINS-2760] No stdout/stderr in XML API

          Jesse Glick created issue -

          Despite the possible performance problem, I think the easiest thing to do is to
          expose stdout/err from CaseResult.

          We might also want the URL that returns the raw JUnit XML that Hudson saves in
          its file system. That is likely just as parse-able and have no duplication problems.

          Kohsuke Kawaguchi added a comment - Despite the possible performance problem, I think the easiest thing to do is to expose stdout/err from CaseResult. We might also want the URL that returns the raw JUnit XML that Hudson saves in its file system. That is likely just as parse-able and have no duplication problems.

          Code changed in hudson
          User: : kohsuke
          Path:
          trunk/www/changelog.html
          http://fisheye4.cenqua.com/changelog/hudson/?cs=14347
          Log:
          [FIXED JENKINS-2760] Recording this change that was made in 1.272

          SCM/JIRA link daemon added a comment - Code changed in hudson User: : kohsuke Path: trunk/www/changelog.html http://fisheye4.cenqua.com/changelog/hudson/?cs=14347 Log: [FIXED JENKINS-2760] Recording this change that was made in 1.272
          SCM/JIRA link daemon made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]

          Jesse Glick added a comment -

          Fix did not work and in fact regressed more important things; see issue #2839.

          Jesse Glick added a comment - Fix did not work and in fact regressed more important things; see issue #2839.
          Jesse Glick made changes -
          Resolution Original: Fixed [ 1 ]
          Status Original: Resolved [ 5 ] New: Reopened [ 4 ]

          Jesse Glick added a comment -
              • Issue 2839 has been marked as a duplicate of this issue. ***

          Jesse Glick added a comment - Issue 2839 has been marked as a duplicate of this issue. ***
          Jesse Glick made changes -
          Link New: This issue is duplicated by JENKINS-2839 [ JENKINS-2839 ]

          Jesse Glick added a comment -

          I think I have a fix.

          Jesse Glick added a comment - I think I have a fix.
          Jesse Glick made changes -
          Status Original: Reopened [ 4 ] New: In Progress [ 3 ]

            Unassigned Unassigned
            jglick Jesse Glick
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: