-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Provide htcondor module version info as a constant instead of a function * Test infrastructure update (#188) * resolve #186
- Loading branch information
1 parent
5be40dd
commit 7050948
Showing
27 changed files
with
247 additions
and
215 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
[run] | ||
branch = True | ||
|
||
data_file = /tmp/htmap-test-coverage | ||
|
||
include = | ||
htmap/* | ||
|
||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -108,3 +108,5 @@ venv.bak/ | |
.vscode/ | ||
|
||
!htmap-exec/singularity.d/* | ||
|
||
prof/ |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,23 @@ | ||
os: linux | ||
dist: xenial | ||
sudo: required | ||
services: | ||
- docker | ||
|
||
language: python | ||
python: | ||
- "3.6" | ||
- "3.7" | ||
# - "3.8" | ||
env: | ||
- HTCONDOR_VERSION=8.8 | ||
- HTCONDOR_VERSION=8.9 | ||
|
||
matrix: | ||
jobs: | ||
fast_finish: true | ||
|
||
install: | ||
- travis_retry docker build -t htmap-test --file tests/_inf/Dockerfile --build-arg HTCONDOR_VERSION --build-arg PYTHON_VERSION=$TRAVIS_PYTHON_VERSION . | ||
- pip install codecov | ||
- travis_retry docker build -t htmap-test --file tests/_inf/Dockerfile --build-arg HTCONDOR_VERSION --build-arg PYTHON_VERSION=${TRAVIS_PYTHON_VERSION} . | ||
|
||
script: | ||
- docker run htmap-test tests/_inf/travis.sh | ||
- docker run --mount type=bind,src="$PWD",dst=/home/mapper/htmap,readonly htmap-test bash tests/_inf/travis.sh |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
coverage: | ||
range: 50..90 | ||
round: down | ||
precision: 0 | ||
status: | ||
project: | ||
default: | ||
threshold: 1% # allow coverage to drop by up to 1% in a PR before marking it failed | ||
|
||
comment: | ||
layout: "diff, files" |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
v0.5.1 | ||
====== | ||
|
||
New Features | ||
------------ | ||
|
||
|
||
Deprecated Features | ||
------------------- | ||
|
||
|
||
Bug Fixes | ||
--------- | ||
|
||
* Maps can now be force-removed even if the schedd cannot be contacted. | ||
Graceful removal still requires contact with the schedd. | ||
Issue: https://github.com/htcondor/htmap/issues/186 | ||
|
||
|
||
Known Issues | ||
------------ | ||
|
||
* Execution errors that result in the job being terminated but no output being | ||
produced are still not handled entirely gracefully. Right now, the component | ||
state will just show as ``ERRORED``, but there won't be an actual error report. | ||
* Map component state may become corrupted when a map is manually vacated. | ||
Force-removal may be needed to clean up maps if HTCondor and HTMap disagree | ||
about the state of their components. | ||
Issue: https://github.com/htcondor/htmap/issues/129 |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
#!/usr/bin/env bash | ||
|
||
CONTAINER_TAG=htmap-tests | ||
CONTAINER_TAG='htmap-tests' | ||
|
||
set -e | ||
echo "Building HTMap testing container..." | ||
docker build --quiet -t ${CONTAINER_TAG} --file tests/_inf/Dockerfile . | ||
docker run -it --rm ${CONTAINER_TAG} $@ | ||
docker run -it --rm --mount type=bind,src="$PWD",dst=/home/mapper/htmap ${CONTAINER_TAG} $@ |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,7 +17,7 @@ | |
|
||
from . import utils | ||
|
||
__version__ = '0.5.0' | ||
__version__ = '0.5.1' | ||
|
||
|
||
def version() -> str: | ||
|
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,8 @@ pytest >= 4.1.1 | |
pytest-mock | ||
pytest-xdist | ||
pytest-timeout | ||
pytest-watch | ||
pytest-profiling | ||
coverage | ||
pytest-cov | ||
codecov |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
htcondor >= 8.8.0 | ||
cloudpickle ~= 1.2 | ||
toml ~= 0.10.0 | ||
toml ~= 0.10 | ||
tqdm ~= 4.36 | ||
click ~= 7.0 | ||
click-didyoumean == 0.0.3 | ||
halo == 0.0.28 | ||
click-didyoumean ~= 0.0.3 | ||
halo ~= 0.0.28 |
This file was deleted.
Oops, something went wrong.
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.