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

[8.0] fix(JobStateUpdate): for staging, make sure the jobID is an integer #7378

Merged
merged 1 commit into from
Dec 20, 2023

Conversation

andresailer
Copy link
Contributor

If jobID is not an integer, we never get a correct result, because the dictionary key is converted to an int,

and then the string jobID is not found

return S_OK(result["Value"].get(jobID, {}))

and we do not get the attribute value back

BEGINRELEASENOTES

  • WMS
    FIX: The callback for the Stager was failing, because of a type mismatch in the jobID used to retrieve the status. Jobs never came out of Staging.

ENDRELEASENOTES

If jobID is not an integer, we never get a correct result, because the dictionary key is converted to an int, and then the string is not found and we do not get the attribute value back.
@DIRACGridBot DIRACGridBot added the alsoTargeting:integration Cherry pick this PR to integration after merge label Dec 20, 2023
@fstagni fstagni enabled auto-merge December 20, 2023 14:42
@fstagni fstagni merged commit a007100 into DIRACGrid:rel-v8r0 Dec 20, 2023
25 checks passed
@andresailer andresailer deleted the 8_fixStage branch December 20, 2023 14:43
@DIRACGridBot DIRACGridBot added the sweep:done All sweeping actions have been done for this PR label Dec 20, 2023
DIRACGridBot pushed a commit to DIRACGridBot/DIRAC that referenced this pull request Dec 20, 2023
@DIRACGridBot
Copy link

Sweep summary

Sweep ran in https://github.com/DIRACGrid/DIRAC/actions/runs/7276918369

Successful:

  • integration

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
alsoTargeting:integration Cherry pick this PR to integration after merge sweep:done All sweeping actions have been done for this PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants