Unify ps implementation to fix the PM integ test - #980
Merged
Conversation
emmuhamm
commented
Jul 21, 2026
emmuhamm
marked this pull request as ready for review
July 22, 2026 08:41
PawelPlesniak
approved these changes
Jul 22, 2026
PawelPlesniak
left a comment
Collaborator
There was a problem hiding this comment.
One small typo, otherwise changes look good. Running the process manager test as
pytest src/drunc/integtest/process_manager_test.py
passed. MSQT also passed, approved. Nice work!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Fixes issue #979
Fix the PM integ test
Fix PM integ test script itself
The PS command recently got updated to not print any table at all in case there is no process up and running (eg. before boot). This change was not reflected in the integ test. This is now rectified.
Unified the PS implementation
#912, among other things, unified a lot of the PM commands for them to be ported over to the US (see point 5). During this migration, the
pscommand was left behind ;-;.On its own this would have been fine, but as luck would have it there are two different implementations. The PM implementation had a working
--widthand--usercode, but the US did not. Hence, the integ tests (and any unified shell) will complain if doing eg.ps -w 140orps -u emmuhamm.This is now rectified by unifying the two implementations, exactly the same way as was done in #912
Type of change
Suggested manual testing checklist
pytest -s src/drunc/integtest/controller_test.py --integtest-verbosity 5. This should pass.Developer checklist
Prior to marking this as "Ready for Review"
Tests ran on: np04-srv-028 from release 21 June nightly.
pytest --marker) passeddaqsystemtest_integtest_bundle.sh -k minimal_system_quick_test.py./scripts/drunc_integtest_bundle.sh)Final checklist prior to marking this as "Ready for Review"
Reviewer checklist
src/daqsystemtest_integtest_bundle.sh -k minimal_system_quick_test.pyifdaqsystemtest_integtest_bundle.shdruncare in the log filesdruncfailure appears:scripts/drunc_integtest_bundle.sh)Once the above boxes are checked, the PR(s) can be merged following the steps below.
Choose one of the following an complete all substepsPrior to merging
Once completed, the reviewer can merge the PR.
Notification message for a Slack channel
Note - this should be to #dunedaq-integration for general workflow that isn't during a release candidate period, and to #daq-release-prep otherwise.
For an single merge that changes the user workflow
For co-ordinated merge