-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
Platform: All, OS: All
To reproduce:
Create a new Hudson multi-configuration job. In the Configuration Matrix, check "Axes" and enter
"CLIENT" in the Name field and "foo bar" in the Values field, to create two configurations called "foo"
and "bar".
Add an Execute shell build step producing a dummy test report, for example like this (make sure it
contains a failed test case):
- ------------------- (begin)
echo `date +%s`: $CLIENT > artifact.txt
cat<<EOF>results.xml
<?xml version="1.0" encoding="UTF-8" ?>
<testsuite tests="6" failures="1" name="batch_0">
<testcase name="test_MACSUCCESS1" time="1" />
<testcase name="test_MACSUCCESS2" time="1" />
<testcase name="test_MACSUCCESS3" time="1" />
<testcase name="test_MACSUCCESS4" time="1" />
<testcase name="test_MACSKIPPED" time="0">
<skipped type="com.fs.moosetest.testskipped" message="SKIPPED: Example of skipped test.n" />
</testcase>
<testcase name="test_MACFAIL" time="2">
<failure type="com.fs.moosetest.documentation" message="FAILED: this didn't work out. sorry." />
</testcase>
</testsuite>
EOF
- ------------------- (end)
Under Post-build Actions, check the "Publish JUnit test result report" option, and, in the field "Test
report XMLs", enter "**/results.xml".
Click save.
On the job main page, click "Build Now".
When the job has completed, click the link for the last build in the "Build History" column to the left.
On that build page, you should see "Test Result (2 failures), Show all failed tests >>". Click "Show all
failed tests", and then click one of the links of failing test cases appearing.
EXPECTED RESULT: A page containing the test case failure information.
OBSERVED RESULT: A page (Hudson URL job/testjob/2/testReport/(root)/batch_0/test_MACFAIL) saying
"Status Code: 404
Exception:
Stacktrace:
(none)
"
Workaround: by first clicking either of the Configuration links on the build page, ("foo" or "bar"), you
can navigate to the test failures.
Moving to 'matrix' subcomponent