[Cdash] Duplicate build entries with CDash 2.0
Peter Colberg
peter at colberg.org
Wed Feb 8 00:01:11 UTC 2012
Dear CDash maintainers,
I recently upgraded my local CDash installation to version 2.0.0,
and noticed duplicate build entries in project dashboards.
To reproduce this issue, I created two separate CDash projects,
“fermion” and “boson”. On the build host, I submit a test run to
the boson project, using the CTest script nightly-boson.cmake.
Thereafter I submit a test run to the fermion project, using the
script nightly-fermion.cmake (see below for logs and scripts).
Note that the names of the builds are identical (“linux-gcc-4.4”),
but as mentioned above they are submitted to different projects.
After the first submission, to the boson project, everything is as
expected: The boson dashboard has one entry, and the fermion dashboard
is empty (see screenshot prefixed with “1_”). After the second
submission, to the fermion project, however, the boson and fermion
dashboards each have *two* entries (screenshots “2_”).
In the boson dashboard, both entries link to the boson submission
(buildid=1), while in the fermion dashboard, both entries link to
the fermion submission (buildid=2).
With CDash 1.8 (and CDash 1.9 from SVN about a year ago), I had no
problems submitting to multiple projects with the same build name.
Is this a regression in CDash 2.0, or am I missing something?
Thanks,
Peter
######################### nightly-boson.cmake #########################
set(CTEST_PROJECT_NAME "boson")
set(CTEST_BUILD_NAME "linux-gcc-4.4")
set(CTEST_SITE "box")
set(CTEST_SOURCE_DIRECTORY "/tmp/boson/Source")
set(CTEST_BINARY_DIRECTORY "/tmp/boson/${CTEST_BUILD_NAME}/${CTEST_BUILD_CONFIGURATION}")
set(CTEST_CMAKE_GENERATOR "Unix Makefiles")
ctest_empty_binary_directory(${CTEST_BINARY_DIRECTORY})
find_program(CTEST_GIT_COMMAND NAMES git)
set(CTEST_NIGHTLY_START_TIME "00:00:00 GMT")
set(CTEST_DROP_LOCATION "/submit.php?project=${CTEST_PROJECT_NAME}")
set(CTEST_DROP_METHOD "http")
set(CTEST_DROP_SITE "example.org")
set(CTEST_DROP_SITE_CDASH TRUE)
ctest_start(Nightly)
ctest_update(APPEND)
ctest_submit(PARTS Update)
ctest_configure(APPEND)
ctest_submit(PARTS Configure)
ctest_build(APPEND)
ctest_submit(PARTS Build)
ctest_test(APPEND)
ctest_submit(PARTS Test)
################### ctest -V -S nightly-boson.cmake ###################
Run dashboard with model Nightly
Source directory: /tmp/boson/Source
Build directory: /tmp/boson/linux-gcc-4.4/
Reading ctest configuration file: /tmp/boson/Source/CTestConfig.cmake
Site: box
Build name: linux-gcc-4.4
Determine Nightly Start Time
Specified time: 00:00:00 GMT
Use Nightly tag: 20120207-0000
Updating the repository: /tmp/boson/Source
Use GIT repository type
Old revision of repository is: 907458f41ec7a3ca1967a367465b531cb0906a27
New revision of repository is: 907458f41ec7a3ca1967a367465b531cb0906a27
Gathering version information (one . per revision):
Submit files (using http)
Using HTTP submit method
Drop site:http://example.org/submit.php?project=boson
Uploaded: /tmp/boson/linux-gcc-4.4/Testing/20120207-0000/Update.xml
Submission successful
Configure project
Each . represents 1024 bytes of output
. Size of output: 0K
Submit files (using http)
Using HTTP submit method
Drop site:http://example.org/submit.php?project=boson
Uploaded: /tmp/boson/linux-gcc-4.4/Testing/20120207-0000/Configure.xml
Submission successful
Build project
Each symbol represents 1024 bytes of output.
'!' represents an error and '*' a warning.
. Size of output: 1K
0 Compiler errors
0 Compiler warnings
Submit files (using http)
Using HTTP submit method
Drop site:http://example.org/submit.php?project=boson
Uploaded: /tmp/boson/linux-gcc-4.4/Testing/20120207-0000/Build.xml
Submission successful
Test project /tmp/boson/linux-gcc-4.4
Start 1: h5xx/attribute
1/4 Test #1: h5xx/attribute ................... Passed 0.04 sec
Start 2: h5xx/dataset
2/4 Test #2: h5xx/dataset ..................... Passed 0.03 sec
Start 3: h5xx/chunked_dataset
3/4 Test #3: h5xx/chunked_dataset ............. Passed 0.03 sec
Start 4: h5xx/group
4/4 Test #4: h5xx/group ....................... Passed 0.03 sec
100% tests passed, 0 tests failed out of 4
Total Test time (real) = 0.14 sec
Submit files (using http)
Using HTTP submit method
Drop site:http://example.org/submit.php?project=boson
Uploaded: /tmp/boson/linux-gcc-4.4/Testing/20120207-0000/Test.xml
Submission successful
######################## nightly-fermion.cmake ########################
set(CTEST_PROJECT_NAME "fermion")
set(CTEST_BUILD_NAME "linux-gcc-4.4")
set(CTEST_SITE "box")
set(CTEST_SOURCE_DIRECTORY "/tmp/fermion/Source")
set(CTEST_BINARY_DIRECTORY "/tmp/fermion/${CTEST_BUILD_NAME}/${CTEST_BUILD_CONFIGURATION}")
set(CTEST_CMAKE_GENERATOR "Unix Makefiles")
ctest_empty_binary_directory(${CTEST_BINARY_DIRECTORY})
find_program(CTEST_GIT_COMMAND NAMES git)
set(CTEST_NIGHTLY_START_TIME "00:00:00 GMT")
set(CTEST_DROP_LOCATION "/submit.php?project=${CTEST_PROJECT_NAME}")
set(CTEST_DROP_METHOD "http")
set(CTEST_DROP_SITE "example.org")
set(CTEST_DROP_SITE_CDASH TRUE)
ctest_start(Nightly)
ctest_update(APPEND)
ctest_submit(PARTS Update)
ctest_configure(APPEND)
ctest_submit(PARTS Configure)
ctest_build(APPEND)
ctest_submit(PARTS Build)
ctest_test(APPEND)
ctest_submit(PARTS Test)
################## ctest -V -S nightly-fermion.cmake ##################
Run dashboard with model Nightly
Source directory: /tmp/fermion/Source
Build directory: /tmp/fermion/linux-gcc-4.4/
Reading ctest configuration file: /tmp/fermion/Source/CTestConfig.cmake
Site: box
Build name: linux-gcc-4.4
Determine Nightly Start Time
Specified time: 00:00:00 GMT
Use Nightly tag: 20120207-0000
Updating the repository: /tmp/fermion/Source
Use GIT repository type
Old revision of repository is: 907458f41ec7a3ca1967a367465b531cb0906a27
New revision of repository is: 907458f41ec7a3ca1967a367465b531cb0906a27
Gathering version information (one . per revision):
Submit files (using http)
Using HTTP submit method
Drop site:http://example.org/submit.php?project=fermion
Uploaded: /tmp/fermion/linux-gcc-4.4/Testing/20120207-0000/Update.xml
Submission successful
Configure project
Each . represents 1024 bytes of output
. Size of output: 0K
Submit files (using http)
Using HTTP submit method
Drop site:http://example.org/submit.php?project=fermion
Uploaded: /tmp/fermion/linux-gcc-4.4/Testing/20120207-0000/Configure.xml
Submission successful
Build project
Each symbol represents 1024 bytes of output.
'!' represents an error and '*' a warning.
. Size of output: 1K
0 Compiler errors
0 Compiler warnings
Submit files (using http)
Using HTTP submit method
Drop site:http://example.org/submit.php?project=fermion
Uploaded: /tmp/fermion/linux-gcc-4.4/Testing/20120207-0000/Build.xml
Submission successful
Test project /tmp/fermion/linux-gcc-4.4
Start 1: h5xx/attribute
1/4 Test #1: h5xx/attribute ................... Passed 0.04 sec
Start 2: h5xx/dataset
2/4 Test #2: h5xx/dataset ..................... Passed 0.03 sec
Start 3: h5xx/chunked_dataset
3/4 Test #3: h5xx/chunked_dataset ............. Passed 0.03 sec
Start 4: h5xx/group
4/4 Test #4: h5xx/group ....................... Passed 0.03 sec
100% tests passed, 0 tests failed out of 4
Total Test time (real) = 0.13 sec
Submit files (using http)
Using HTTP submit method
Drop site:http://example.org/submit.php?project=fermion
Uploaded: /tmp/fermion/linux-gcc-4.4/Testing/20120207-0000/Test.xml
Submission successful
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 1_boson_project_after_submission_to_boson.png
Type: image/png
Size: 7885 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/cdash/attachments/20120207/3a5a07fd/attachment-0006.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2_boson_project_after_submissions_to_boson_and_fermion.png
Type: image/png
Size: 8265 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/cdash/attachments/20120207/3a5a07fd/attachment-0007.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2_fermion_project_after_submissions_to_boson_and_fermion.png
Type: image/png
Size: 8345 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/cdash/attachments/20120207/3a5a07fd/attachment-0008.png>
More information about the CDash
mailing list