Skip to content

Conversation

slabasan
Copy link
Collaborator

@slabasan slabasan commented Apr 9, 2025

Description

Benchpark dashboard: https://my.cdash.org/index.php?project=Benchpark

Currently Working:

  • After running, all gitlab CI jobs upload status to CDash
  • Nightly cron at midnight runs and uploads gitlab CI jobs to CDash. This is configured through the gitlab webpage build -> pipline schedules
  • show githash on dashboard
  • change test_command_x to be test name.
    • working for buildname, but testname is generic gitlab. Mapping is 1:1 though.
  • How to organize tests in dashboard -- nightly, experimental, continous. Maybe use labels?
    • tests organized by machine for gitlab CI. Dashboards must be added by admin on webpage before showing
  • make _auth_token private env

Helpful page for setting up ctest with python project: https://github.com/jeffbaumes/cdash-examples/blob/master/python/CTestConfiguration.ini

To reproduce:

  1. Activate venv: . /usr/workspace/benchpark-dev/benchpark-venv/$SYS_TYPE/bin/activate
  2. . setup.sh
  3. . workspace/setup.sh. Assumes you've run benchpark system init, benchpark experiment init, and benchpark setup
  4. Run ctest -S CTestScript.cmake --debug to execute tests and upload
  5. View results in cdash dashboard

Things to figure out:

Screenshot 2025-04-10 at 3 33 53 PM

Adding/modifying core functionality, CI, or documentation:

  • Update docs
  • Update .github/workflows and .gitlab/ci unit tests (if needed)

@slabasan slabasan added the WIP A work-in-progress not yet ready to commit label Apr 9, 2025
@slabasan slabasan force-pushed the enable-cdash branch 2 times, most recently from 33c0c84 to 6dc94af Compare April 10, 2025 06:01
@slabasan slabasan changed the title initial commit: enable cdash for test results setup cdash for test results Apr 10, 2025
@michaelmckinsey1 michaelmckinsey1 self-assigned this Apr 16, 2025
@michaelmckinsey1
Copy link
Collaborator

michaelmckinsey1 commented Apr 16, 2025

Once #701 is refactored to use a python script for dryruns, we can generate the xml report for all of the dryruns. Depends on #701 Using gitlab runs instead

@michaelmckinsey1 michaelmckinsey1 force-pushed the enable-cdash branch 2 times, most recently from d33f63b to ca9dd3f Compare April 29, 2025 19:04
@michaelmckinsey1 michaelmckinsey1 changed the title setup cdash for test results CDash Integration May 1, 2025
@slabasan slabasan requested a review from pearce8 May 2, 2025 17:17
@pearce8 pearce8 added this pull request to the merge queue May 2, 2025
Merged via the queue into develop with commit 5389791 May 2, 2025
21 of 23 checks passed
@pearce8 pearce8 deleted the enable-cdash branch May 2, 2025 17:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
WIP A work-in-progress not yet ready to commit
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants