Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix logic for updating task-level site thresholds #11776

Merged
merged 1 commit into from
Oct 26, 2023

Conversation

amaltaro
Copy link
Contributor

Fixes #11775

Status

ready

Description

The previous logic was checking only the first element of the list, which unluckily was an IO bound task, thus not triggering any updates to the task-level thresholds.

With this PR, we separate CPU from IO bound tasks and update each of them as needed.
Bonus, print the number of agents connected to a given team name.

Is it backward compatible (if not, which system it affects?)

YES

Related PRs

None

External dependencies / deployment changes

None

remove break statement

Print information of number of agents connected to a given team name
@cmsdmwmbot
Copy link

Jenkins results:

  • Python3 Unit tests: failed
    • 1 new failures
    • 1 tests no longer failing
  • Python3 Pylint check: failed
    • 1 warnings and errors that must be fixed
    • 4 warnings
    • 9 comments to review
  • Pylint py3k check: succeeded
  • Pycodestyle check: succeeded

Details at https://cmssdt.cern.ch/dmwm-jenkins/view/All/job/DMWM-WMCore-PR-test/14582/artifact/artifacts/PullRequestReport.html

@amaltaro
Copy link
Contributor Author

We definitely need to mark this test as unstable...

    WMCore_t.WorkQueue_t.WorkQueue_t.WorkQueueTest:testThrottling changed from success to failure

Copy link
Contributor

@todor-ivanov todor-ivanov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good

@amaltaro amaltaro merged commit 92516fb into dmwm:master Oct 26, 2023
2 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Agent fails to update task-level resource control
3 participants