Skip to content
Snippets Groups Projects

Fix parameters usage for Online Bin tests: nb ts and nb threads

Merged Pierre-Alain Loizeau requested to merge p.-a.loizeau/cbmroot:ci_online_fix_nbthread into master
All threads resolved!

The number of threads was not fixed and our config script which force the OMP default to 1 is not loaded for the test for the online binary (typical case for htis binary which does not need the ROOT env setup).
=> This lead to the test using all available CPUs on computers with modern OS due to the OMP library implementation, stalling our ctest environment (and probably the host machine)

The bonus joke: the number of TS was defined on the cmake side but not used in the test wrapper script, meaning that the test was always running with a single TS for all test models
=>A good hint that the timeout observed in the Nightly tests on Virgo was also linked to the above bug with the number of threads!

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • added 2 commits

    • 895c105f - Fix parameters usage for Online Bin tests: nb ts and nb threads
    • bddbc1c6 - Force the online binary test to run alone + use all test CPUs

    Compare with previous version

  • added 1 commit

    • 6eab5051 - Force the online binary test to run alone + use all test CPUs

    Compare with previous version

  • added 1 commit

    • d9c2cef0 - Force the online binary test to run alone + use all test CPUs

    Compare with previous version

  • Looks okay now. I saw in htop that the main job only 400-500% CPU which should be something like 4-5 cores but beside that I saw many processes in htop. Currently I don't understand the logic here, probably something to check more carefully if everything works. I am not sure if the test really runs with no other test running in parallel.

  • Pierre-Alain Loizeau resolved all threads

    resolved all threads

  • Florian Uhlig approved this merge request

    approved this merge request

  • Florian Uhlig enabled an automatic merge when all merge checks for d9c2cef0 pass

    enabled an automatic merge when all merge checks for d9c2cef0 pass

  • Dear @d.smith, @fweig,

    you have been identified as code owner of at least one file which was changed with this merge request.

    Please check the changes and approve them or request changes.

  • Please register or sign in to reply
    Loading