Skip to content

Commit

Permalink
make sure the job actually completed, and didn't get held or removed (#…
Browse files Browse the repository at this point in the history
…409)

* make sure the job actually completed, and didn't get held or removed

* <bot> update requirements-docs.txt

* <bot> update requirements-tests.txt

* <bot> update requirements.txt

* <bot> update requirements-docs.txt

* <bot> update requirements-tests.txt

* <bot> update requirements.txt

---------

Co-authored-by: github-actions <[email protected]>
  • Loading branch information
dsschult and github-actions authored Dec 24, 2024
1 parent 7e0d2bd commit 021f3dd
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 39 deletions.
2 changes: 1 addition & 1 deletion iceprod/server/plugins/condor.py
Original file line number Diff line number Diff line change
Expand Up @@ -902,7 +902,7 @@ async def check_history(self):
if time_ is not None:
resources['time'] = time_/3600.

success = extra.get('ExitCode', 1) == 0
success = extra.get('JobStatus') == 4 and extra.get('ExitCode', 1) == 0
job.status = JobStatus.COMPLETED if success else JobStatus.FAILED

stats = {}
Expand Down
24 changes: 12 additions & 12 deletions requirements-docs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,19 @@
#
alabaster==1.0.0
# via sphinx
anyio==4.6.2.post1
anyio==4.7.0
# via httpx
asyncache==0.3.1
# via iceprod (setup.py)
attrs==24.2.0
attrs==24.3.0
# via
# jsonschema
# referencing
babel==2.16.0
# via sphinx
boto3==1.35.72
boto3==1.35.87
# via iceprod (setup.py)
botocore==1.35.72
botocore==1.35.87
# via
# boto3
# s3transfer
Expand All @@ -27,7 +27,7 @@ cachetools==5.5.0
# asyncache
# iceprod (setup.py)
# wipac-rest-tools
certifi==2024.8.30
certifi==2024.12.14
# via
# httpcore
# httpx
Expand All @@ -54,7 +54,7 @@ htcondor==24.2.1
# via iceprod (setup.py)
httpcore==1.0.7
# via httpx
httpx==0.28.0
httpx==0.28.1
# via iceprod (setup.py)
idna==3.10
# via
Expand All @@ -63,7 +63,7 @@ idna==3.10
# requests
imagesize==1.4.1
# via sphinx
jinja2==3.1.4
jinja2==3.1.5
# via sphinx
jmespath==1.0.1
# via
Expand All @@ -81,7 +81,7 @@ motor==3.6.0
# via iceprod (setup.py)
packaging==24.2
# via sphinx
psutil==6.1.0
psutil==6.1.1
# via iceprod (setup.py)
pyasn1==0.6.1
# via ldap3
Expand Down Expand Up @@ -123,15 +123,15 @@ requests-futures==1.0.2
# wipac-rest-tools
requests-toolbelt==1.0.0
# via iceprod (setup.py)
rpds-py==0.22.0
rpds-py==0.22.3
# via
# jsonschema
# referencing
s3transfer==0.10.4
# via boto3
setproctitle==1.3.4
# via iceprod (setup.py)
six==1.16.0
six==1.17.0
# via python-dateutil
sniffio==1.3.1
# via anyio
Expand Down Expand Up @@ -165,7 +165,7 @@ typing-extensions==4.12.2
# wipac-dev-tools
unidecode==1.3.8
# via iceprod (setup.py)
urllib3==2.2.3
urllib3==2.3.0
# via
# botocore
# requests
Expand All @@ -174,5 +174,5 @@ wipac-dev-tools==1.13.0
# via
# iceprod (setup.py)
# wipac-rest-tools
wipac-rest-tools==1.8.2
wipac-rest-tools==1.8.5
# via iceprod (setup.py)
30 changes: 15 additions & 15 deletions requirements-tests.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,21 @@
#
# pip-compile --extra=tests --output-file=requirements-tests.txt
#
anyio==4.6.2.post1
anyio==4.7.0
# via httpx
asyncache==0.3.1
# via iceprod (setup.py)
attrs==24.2.0
attrs==24.3.0
# via
# jsonschema
# referencing
beautifulsoup4==4.12.3
# via iceprod (setup.py)
boto3==1.35.72
boto3==1.35.87
# via
# iceprod (setup.py)
# moto
botocore==1.35.72
botocore==1.35.87
# via
# boto3
# moto
Expand All @@ -28,7 +28,7 @@ cachetools==5.5.0
# asyncache
# iceprod (setup.py)
# wipac-rest-tools
certifi==2024.8.30
certifi==2024.12.14
# via
# httpcore
# httpx
Expand All @@ -38,7 +38,7 @@ cffi==1.17.1
# via cryptography
charset-normalizer==3.4.0
# via requests
coverage[toml]==7.6.8
coverage[toml]==7.6.9
# via
# iceprod (setup.py)
# pytest-cov
Expand All @@ -64,7 +64,7 @@ htcondor==24.2.1
# via iceprod (setup.py)
httpcore==1.0.7
# via httpx
httpx==0.28.0
httpx==0.28.1
# via
# iceprod (setup.py)
# respx
Expand All @@ -75,7 +75,7 @@ idna==3.10
# requests
iniconfig==2.0.0
# via pytest
jinja2==3.1.4
jinja2==3.1.5
# via moto
jmespath==1.0.1
# via
Expand All @@ -95,15 +95,15 @@ mccabe==0.7.0
# via flake8
mock==5.1.0
# via iceprod (setup.py)
moto[s3]==5.0.22
moto[s3]==5.0.24
# via iceprod (setup.py)
motor==3.6.0
# via iceprod (setup.py)
packaging==24.2
# via pytest
pluggy==1.5.0
# via pytest
psutil==6.1.0
psutil==6.1.1
# via iceprod (setup.py)
py-partiql-parser==0.5.6
# via moto
Expand Down Expand Up @@ -171,17 +171,17 @@ requests-toolbelt==1.0.0
# via iceprod (setup.py)
responses==0.25.3
# via moto
respx==0.21.1
respx==0.22.0
# via iceprod (setup.py)
rpds-py==0.22.0
rpds-py==0.22.3
# via
# jsonschema
# referencing
s3transfer==0.10.4
# via boto3
setproctitle==1.3.4
# via iceprod (setup.py)
six==1.16.0
six==1.17.0
# via python-dateutil
sniffio==1.3.1
# via anyio
Expand All @@ -207,7 +207,7 @@ typing-extensions==4.12.2
# wipac-dev-tools
unidecode==1.3.8
# via iceprod (setup.py)
urllib3==2.2.3
urllib3==2.3.0
# via
# botocore
# requests
Expand All @@ -220,7 +220,7 @@ wipac-dev-tools==1.13.0
# via
# iceprod (setup.py)
# wipac-rest-tools
wipac-rest-tools==1.8.2
wipac-rest-tools==1.8.5
# via iceprod (setup.py)
xmltodict==0.14.2
# via moto
22 changes: 11 additions & 11 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@
#
# pip-compile --output-file=requirements.txt
#
anyio==4.6.2.post1
anyio==4.7.0
# via httpx
asyncache==0.3.1
# via iceprod (setup.py)
attrs==24.2.0
attrs==24.3.0
# via
# jsonschema
# referencing
boto3==1.35.72
boto3==1.35.87
# via iceprod (setup.py)
botocore==1.35.72
botocore==1.35.87
# via
# boto3
# s3transfer
Expand All @@ -23,7 +23,7 @@ cachetools==5.5.0
# asyncache
# iceprod (setup.py)
# wipac-rest-tools
certifi==2024.8.30
certifi==2024.12.14
# via
# httpcore
# httpx
Expand All @@ -48,7 +48,7 @@ htcondor==24.2.1
# via iceprod (setup.py)
httpcore==1.0.7
# via httpx
httpx==0.28.0
httpx==0.28.1
# via iceprod (setup.py)
idna==3.10
# via
Expand All @@ -67,7 +67,7 @@ ldap3==2.9.1
# via iceprod (setup.py)
motor==3.6.0
# via iceprod (setup.py)
psutil==6.1.0
psutil==6.1.1
# via iceprod (setup.py)
pyasn1==0.6.1
# via ldap3
Expand Down Expand Up @@ -106,15 +106,15 @@ requests-futures==1.0.2
# wipac-rest-tools
requests-toolbelt==1.0.0
# via iceprod (setup.py)
rpds-py==0.22.0
rpds-py==0.22.3
# via
# jsonschema
# referencing
s3transfer==0.10.4
# via boto3
setproctitle==1.3.4
# via iceprod (setup.py)
six==1.16.0
six==1.17.0
# via python-dateutil
sniffio==1.3.1
# via anyio
Expand All @@ -130,7 +130,7 @@ typing-extensions==4.12.2
# wipac-dev-tools
unidecode==1.3.8
# via iceprod (setup.py)
urllib3==2.2.3
urllib3==2.3.0
# via
# botocore
# requests
Expand All @@ -139,5 +139,5 @@ wipac-dev-tools==1.13.0
# via
# iceprod (setup.py)
# wipac-rest-tools
wipac-rest-tools==1.8.2
wipac-rest-tools==1.8.5
# via iceprod (setup.py)

0 comments on commit 021f3dd

Please sign in to comment.