View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0013079CDash(No Category)public2012-03-30 09:232012-04-05 05:12
ReporterNils Gladitz 
Assigned ToJulien Jomier 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version2.0 
Target VersionFixed in Version2.2 
Summary0013079: Test attachment links broken when a test fails
DescriptionI've attached a log file to my test with ATTACHED_FILES_ON_FAIL which I can not access via the CDash link since it seems to point at "Exit Value.tgz".

"Exit Value" only seems to be reported on test failure and offsets the indices ("fileid" in the download URL) of my manual attachments by 1.
TagsNo tags attached.
Attached Filesbz2 file icon playground.tar.bz2 [^] (885 bytes) 2012-04-01 13:26
xml file icon Test.xml [^] (3,510 bytes) 2012-04-01 13:26

 Relationships

  Notes
(0029029)
Julien Jomier (manager)
2012-04-01 11:18

Can you submit the test.xml you are submitting? Thanks.
(0029030)
Nils Gladitz (reporter)
2012-04-01 13:30

I've setup a local CDash instance and minimalistic project with two tests (one failing, one succeeding) that reproduces the problem for me.

"playground.tar.bz2" contains the project itself.
I also attached a Test.xml that corresponds to a scheduled run of that project.
(0029031)
Nils Gladitz (reporter)
2012-04-01 13:38

The test details on the dashboard of that run look something like this:

test1 (Passed):
 [always_attach.txt] http://[...]&fileid=1 [^] <- works as expected

test2 (Failed):
 [Exit Value]
 [always_attach.txt] http://[...]&fileid=1 [^] <- link to "Exit Value.tgz" (0 bytes)
 [attach_on_fail.txt] http://[...]&fileid=2 [^] <- link to "always_attach.txt.tgz"
(0029075)
Julien Jomier (manager)
2012-04-04 08:50

Fixed in the 2.0 branch and trunk. Thanks a lot for the report and providing the examples!
(0029082)
Nils Gladitz (reporter)
2012-04-05 05:12

Thanks for the quick fix!

 Issue History
Date Modified Username Field Change
2012-03-30 09:23 Nils Gladitz New Issue
2012-04-01 11:18 Julien Jomier Note Added: 0029029
2012-04-01 13:26 Nils Gladitz File Added: playground.tar.bz2
2012-04-01 13:26 Nils Gladitz File Added: Test.xml
2012-04-01 13:30 Nils Gladitz Note Added: 0029030
2012-04-01 13:38 Nils Gladitz Note Added: 0029031
2012-04-04 08:48 Julien Jomier Assigned To => Julien Jomier
2012-04-04 08:48 Julien Jomier Status new => assigned
2012-04-04 08:50 Julien Jomier Note Added: 0029075
2012-04-04 08:50 Julien Jomier Status assigned => resolved
2012-04-04 08:50 Julien Jomier Fixed in Version => 2.2
2012-04-04 08:50 Julien Jomier Resolution open => fixed
2012-04-05 05:12 Nils Gladitz Note Added: 0029082
2012-04-05 05:12 Nils Gladitz Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team