Skip to content

[9.0] Move JobWrapperUtilities after Script.parseCommandLine()#8100

Merged
chrisburr merged 1 commit intoDIRACGrid:integrationfrom
chrisburr:fix-matched-jobs
Mar 26, 2025
Merged

[9.0] Move JobWrapperUtilities after Script.parseCommandLine()#8100
chrisburr merged 1 commit intoDIRACGrid:integrationfrom
chrisburr:fix-matched-jobs

Conversation

@chrisburr
Copy link
Copy Markdown
Member

I've seen jobs getting stuck in Matched at some sites. I'm 90% sure this is caused by JobWrapperUtilities being imported in JobWrapperTemplate before the config is initialised. This makes the CS refresh latency dependent as it's a race for if the CS is loaded before it is used.

BEGINRELEASENOTES

*WorkloadManagement
FIX: Move JobWrapperUtilities after import Script.parseCommandLine()

ENDRELEASENOTES

Copy link
Copy Markdown
Contributor

@fstagni fstagni left a comment

Choose a reason for hiding this comment

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

I can't be fully sure you are right but this was anyway a bug.

@chrisburr chrisburr merged commit 9a8d360 into DIRACGrid:integration Mar 26, 2025
29 of 31 checks passed
@chrisburr chrisburr deleted the fix-matched-jobs branch March 26, 2025 14:27
@DIRACGridBot DIRACGridBot added the sweep:ignore Prevent sweeping from being ran for this PR label Mar 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

sweep:ignore Prevent sweeping from being ran for this PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants