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

[devel] fix: use another environment variable to spot pilots running in htcondor #236

Merged
merged 1 commit into from
Mar 27, 2024

Conversation

aldbr
Copy link
Contributor

@aldbr aldbr commented Mar 26, 2024

Pilots submitted to AREX and running through HTCondor under the hoods do not always have the CONDOR_JOBID variable set. This is not even part of the official documentation.

I picked up an environment variable from the documentation instead: https://htcondor.readthedocs.io/en/latest/users-manual/env-of-job.html#extra-environment-variables-htcondor-sets-for-jobs

From what I have observed so far, it is always present.
We should have less "Unknown" batch systems.

Pilot/pilotTools.py Outdated Show resolved Hide resolved
@aldbr aldbr force-pushed the devel_fix-collect-bs-info-htcondor branch from 5733b48 to 0418480 Compare March 27, 2024 09:14
Pilot/pilotTools.py Outdated Show resolved Hide resolved
@aldbr aldbr force-pushed the devel_fix-collect-bs-info-htcondor branch from 0418480 to c0cb14d Compare March 27, 2024 12:18
Copy link
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 merge this. It should be first tested in the certification setup before I merge devel to master.

@fstagni fstagni merged commit e7c421f into DIRACGrid:devel Mar 27, 2024
11 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.

2 participants