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

No stdout/stderr in XML API

XMLWordPrintable

    • 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.

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

              Created:
              Updated:
              Resolved: