View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0007667CDashpublic2008-09-12 11:552008-09-15 07:45
ReporterDan Thill 
Assigned ToJulien Jomier 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version1.2 
Target VersionFixed in Version1.2 
Summary0007667: Submitting using a custom track/group name partially fails when contains a dash
DescriptionMy usage of CDash is a little non-standard, as I use it to track regression test results. So, I use custom groups/tracks to represent platforms, and I use the build name to store an application version number.

Steps to reproduce:

1. Submit a test result which has a custom track name, via the --track argument to ctest. Make sure this track name contains a dash, such as "Win32-vs2005"
2. Submission will submit successfully.
3. Submission will not appear in the index page, nor in the "Edit Project Groups" admin page.
4. In the database, the build will exist in the "build" table. However, there will not be an entry in "build2group".

For this example, the custom group "Win32-vs2005" already existed (was created via the CDash admin). I have had no problem manually moving builds into this group, if they were submitted WITHOUT a custom --track.

If you repeat the above steps with a different track name which does not contain a dash, there are no problems.

I suspect the problem is in parse_build() in ctestparser.php.
Additional InformationI am using cdash trunk, r1158.
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0013454)
Dan Thill (reporter)
2008-09-12 11:59

I'm sorry. There will be an entry in build2group table, but it will be mapping to group with id 0, which of course, doesn't exist.
(0013455)
Julien Jomier (manager)
2008-09-12 12:43

The group should exist prior to submission. Is it working for other tracks that don't have a dash?

1) Create a group "Win32-vs2005" in CDash
2) Repeat the step describe above

Let us know if that works.
(0013457)
Dan Thill (reporter)
2008-09-12 13:35
edited on: 2008-09-12 13:42

Sorry--my description wasn't clear enough. The group already existed and had previous builds in it (which I had moved there manually via the Edit Groups page).

This is the Site tag in the Build.xml:

Site BuildName="ABASProto4-0.16-vs" BuildStamp="20080912-1739-Win32-vs2005" Name="PC-DTHILL2" 
Generator="ctest2.4-patch 3"


(0013458)
Julien Jomier (manager)
2008-09-12 14:30

This is fixed in SVN and will be in 1.2. Let me know if that works or not. Thanks for the report!

 Issue History
Date Modified Username Field Change
2008-09-12 11:55 Dan Thill New Issue
2008-09-12 11:59 Dan Thill Note Added: 0013454
2008-09-12 12:43 Julien Jomier Note Added: 0013455
2008-09-12 12:43 Julien Jomier Status new => assigned
2008-09-12 12:43 Julien Jomier Assigned To => Julien Jomier
2008-09-12 13:35 Dan Thill Note Added: 0013457
2008-09-12 13:42 Dan Thill Note Edited: 0013457
2008-09-12 14:30 Julien Jomier Status assigned => resolved
2008-09-12 14:30 Julien Jomier Fixed in Version => 1.2
2008-09-12 14:30 Julien Jomier Resolution open => fixed
2008-09-12 14:30 Julien Jomier Note Added: 0013458
2008-09-15 07:45 Julien Jomier Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team