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

Aggregate downstream test results does not work for Matrix projects

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: core, matrix-project-plugin
    • Labels:
      None
    • Environment:
      Windows 7, Java 1.6.0_22, Hudson 1.383, xunit 1.11, copyartifact 1.10

      Description

      • create matrix projectA
      • add axis named x, values: a b
      • add build step that touches a file file.txt
      • archive file.txt as artifact, and fingerprint it
      • select to aggregate downstream test results
      • duplicate projectA, name it projectB
      • add build step to copy artifact file.txt from projectA/x=$x
      • fingerprint file.txt
      • seletc to publish testing tools report, do not fail build if tests not updated
      • build projectB once to create workspace, put a testresult xml in each
      • add post-build step to projectA 'build other projects' and select projectB
      • build projectA

      Test results from B do no make it into A:

      • status page of projectA, configuration a shows 'Latest Test Result (no tests)'
      • latest build page of projectA, configuration a shows 'Aggregated Test Result (no tests)'

      Following the same procedure, but for a normal project gives all the exepcted results though.

      (attached a zip with project config/workspaces that should be ready to try)

        Issue Links

          Activity

          Hide
          imakowski Ireneusz Makowski added a comment -

          I still have it. +1 for the fix

          Show
          imakowski Ireneusz Makowski added a comment - I still have it. +1 for the fix
          Hide
          danielbeck Daniel Beck added a comment -

          If this still occurs on recent Jenkins versions (no older than eight weeks), please specify your Jenkins version, Matrix Project version, and JUnit plugin version (if Jenkins 1.577+).

          Show
          danielbeck Daniel Beck added a comment - If this still occurs on recent Jenkins versions (no older than eight weeks), please specify your Jenkins version, Matrix Project version, and JUnit plugin version (if Jenkins 1.577+).
          Hide
          wickedgrey Eli Stevens added a comment -

          This is still occurring for us:

          Jenkins ver. 1.580
          Matrix Project Plugin: 1.3
          JUnit Plugin: 1.1

          The linkage to downstream jobs also doesn't work.

          Show
          wickedgrey Eli Stevens added a comment - This is still occurring for us: Jenkins ver. 1.580 Matrix Project Plugin: 1.3 JUnit Plugin: 1.1 The linkage to downstream jobs also doesn't work.
          Hide
          jeremyrampon Jeremy Rampon added a comment -

          Same here.

          Jenkins ver. 1.581
          Matrix Project Plugin: 1.3
          JUnit Plugin: 1.1

          Show
          jeremyrampon Jeremy Rampon added a comment - Same here. Jenkins ver. 1.581 Matrix Project Plugin: 1.3 JUnit Plugin: 1.1
          Hide
          dsball Darren Ball added a comment - - edited

          How can I reference the same logic as the filter when specifying downstream jobs?

          I see:

          You can workaround this by explicitly specifying the jobs to aggregate, rather than relying on the downstream builds logic, and specifying the matrix axes (in quotes) explicitly - i.e., NonMatrixJob,"MatrixJob/label=l_centos5_x86" - the quotes in case of commas in your axis.

          I need to supply multiple axis information for the jobs, can this be done and what would the syntax be?

          Update: I've figured this out - auto complete came into play once I started typing the matrix jobname. nice!

          Show
          dsball Darren Ball added a comment - - edited How can I reference the same logic as the filter when specifying downstream jobs? I see: You can workaround this by explicitly specifying the jobs to aggregate, rather than relying on the downstream builds logic, and specifying the matrix axes (in quotes) explicitly - i.e., NonMatrixJob,"MatrixJob/label=l_centos5_x86" - the quotes in case of commas in your axis. I need to supply multiple axis information for the jobs, can this be done and what would the syntax be? Update: I've figured this out - auto complete came into play once I started typing the matrix jobname. nice!

            People

            • Assignee:
              abayer abayer
              Reporter:
              apostasia apostasia
            • Votes:
              40 Vote for this issue
              Watchers:
              42 Start watching this issue

              Dates

              • Created:
                Updated: