Repository navigation
Test: Integration stack for HTCondor - #34
Draft
Alexander-Auer wants to merge 10 commits into
Draft
Alexander-Auer wants to merge 10 commits into
Alexander-Auer wants to merge 10 commits into
Conversation
Alexander-Auer
force-pushed
the
stack/htcondor-2-integration-stack
branch
from
November 6, 2026 13:11
3198fa6 to
6a58e1b
Compare
Alexander-Auer
force-pushed
the
stack/htcondor-2-integration-stack
branch
from
November 16, 2026 08:24
6a58e1b to
9556be7
Compare
Alexander-Auer
marked this pull request as ready for review
November 16, 2026 09:10
4 tasks
Moves test_fake_backend.py to tests/unit/backends/fake/, ready for the HTCondor tests that follow. The tests themselves do not change. Part of DIRACGrid#23.
Renders a submit description from a plan: one process per copy, per-copy values indexed by ProcId, quoting, and refusing what a description cannot hold. It sets no policy on the job except keeping finished jobs until they are purged, so output can be collected again. Shared with the HTCondor scheduler to come (DIRACGrid#21), so it knows nothing about any backend. Expected values were checked against HTCondor 25. Part of DIRACGrid#23.
Builds the tools' command lines and reads what they print: condor_submit -terse, condor_rm, and the job ads of condor_q and condor_history, mapped to the common JobStatus. A finished job's result comes from its exit, a removed job keeps the result it had, and any hold that interCEde did not cause counts as aborted. Part of DIRACGrid#23.
interCEde no longer supports proxies, so a description has nothing to say about one.
The core is tested through the HTCondor-CE backend that uses it, and on the htcondor stack by the shared suite.
A stack's tests run with pytest-xdist (stacks.yml `workers`, default 4), and `-rs --no-fold-skipped` makes the log name every skipped test and why. The workflow also runs when src/ changes, since that is what it exists to test. Part of DIRACGrid#23.
An HTCondor-CE in front of a one-machine HTCondor pool. The image refuses package mirrors below 1 MB/s and caches its slow installs per version. No test selects this stack yet, so its CI job only shows that the stack starts (pytest exit 5 is tolerated). The shared suite lands later. Part of DIRACGrid#23.
Alexander-Auer
force-pushed
the
stack/htcondor-2-integration-stack
branch
from
December 1, 2026 16:47
7e71c02 to
7809b88
Compare
Alexander-Auer
marked this pull request as draft
December 1, 2026 16:50
…emaps Each is written on a line of its own, so a line break would start another submit command. A stream name given by the consumer is also written as it is: its "$" is escaped, and only the default names one file per process.
With -match it stops reading the history file at the number of jobs asked about, as DIRAC's HTCondorCEComputingElement does.
This branch has not been deployed
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.
test: the htcondor stack, and running integration tests side by side
Part of #23, related to #5. PR 2 of 6 for the HTCondor-CE backend.
No dependencies: this changes nothing in
src/, applies directly tomain, and can merge at any time.What's added
stacks/_images/htcondor-ce): AlmaLinux 9 with an HTCondor-CE in front of a one-machine pool, both in one container. It buildslatestorlts, following the stack'sversions.stacks/htcondor): publishes the CE on127.0.0.1:9619, with abasicconfiguration.workerssetting instacks.yml(default 4).-rs --no-fold-skippedmakes the log name every skipped test and why.src/changes.What to expect from CI
No test selects this stack yet, so its job only shows that the stack builds and starts (pytest exit 5 is tolerated). The suite arrives in PR 6.
Testing
1 new manifest test for
workers. The same image and stack passed the full suite on bothltsandlateston my fork (eb0fec6).