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 nodb 2 #3016

Merged
merged 610 commits into from
Sep 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
610 commits
Select commit Hold shift + click to select a range
6480fc5
merge from devel
andre-merzky Apr 24, 2023
2b801b0
merge from devel
andre-merzky Apr 24, 2023
e6558d7
merge from devel
andre-merzky Apr 25, 2023
f7688ca
merge from devel
andre-merzky Apr 25, 2023
7f8fc48
Merge branch 'feature/use_registry' of github.com:radical-cybertools/…
andre-merzky Apr 25, 2023
d292e9c
merge from devel
andre-merzky Apr 25, 2023
638d985
merge from devel
andre-merzky Apr 25, 2023
da33676
merge from devel
andre-merzky Apr 25, 2023
4bbc669
merge from devel
andre-merzky Apr 25, 2023
e648dd6
merge from devel
andre-merzky Apr 25, 2023
14b7290
merge from devel
andre-merzky Apr 25, 2023
4a20b67
merge from devel
andre-merzky May 3, 2023
c478519
merge from devel
andre-merzky May 3, 2023
eececf2
snap
andre-merzky May 3, 2023
26af359
Merge branch 'feature/use_registry' of github.com:radical-cybertools/…
andre-merzky May 3, 2023
63d4a34
switch to registry configs instead of config files
andre-merzky May 7, 2023
f8a924f
fix some tests
andre-merzky May 8, 2023
aed58ce
linting
andre-merzky May 8, 2023
798b068
recover missing state transition
andre-merzky May 8, 2023
c180e19
remove debug marker
andre-merzky May 8, 2023
b49c342
compensate component workdir change
andre-merzky May 8, 2023
7b27990
merge from devel
andre-merzky May 12, 2023
40948d8
merge from devel
andre-merzky May 12, 2023
022c915
reorder agent startup
andre-merzky May 13, 2023
9d55ebe
Merge branch 'feature/use_registry' of github.com:radical-cybertools/…
andre-merzky May 13, 2023
39ed925
reorder agent startup
andre-merzky May 13, 2023
c35a921
fix some tests
andre-merzky May 13, 2023
935b509
tests
andre-merzky May 13, 2023
f9d1ef8
merge feature/use_registry
andre-merzky May 15, 2023
c5c6744
merge from devel
andre-merzky May 16, 2023
9737ca2
merge from devel
andre-merzky May 16, 2023
1142b85
merge from devel
andre-merzky May 18, 2023
1eedf88
merge from devel
andre-merzky May 18, 2023
ddbdb5e
snapshot
andre-merzky May 18, 2023
507ce86
merge from devel
andre-merzky May 18, 2023
5ee8c19
merge from devel
andre-merzky May 19, 2023
3bc71ad
merge from devel
andre-merzky May 19, 2023
ca59e31
merge from devel
andre-merzky May 19, 2023
6afb6f3
merge from devel
andre-merzky May 20, 2023
236e0a8
merge from devel
andre-merzky May 20, 2023
a4caa5e
merge from devel
andre-merzky May 20, 2023
b1a87bd
response to comments, add missing file
andre-merzky May 23, 2023
9fde14c
snap
andre-merzky May 24, 2023
2b4c326
Merge branch 'feature/nodb_2' of github.com:radical-cybertools/radica…
andre-merzky May 24, 2023
66e7939
session init
andre-merzky May 24, 2023
c23bced
agent starts up
andre-merzky May 24, 2023
7575bf7
update registry layout
andre-merzky May 25, 2023
294c373
snap
andre-merzky May 26, 2023
55558fa
Merge branch 'devel' into feature/nodb_2
andre-merzky May 26, 2023
5f6d794
end-to-end
andre-merzky May 30, 2023
e5caf79
Merge branch 'feature/nodb_2' of github.com:radical-cybertools/radica…
andre-merzky May 30, 2023
b6896f4
wait for all tasks, not only last chunk!
andre-merzky May 30, 2023
60218ab
snapshot
andre-merzky May 31, 2023
aaee832
merge from devel
andre-merzky Jun 1, 2023
ff9e189
merge from devel
andre-merzky Jun 1, 2023
8661e58
merge from devel
andre-merzky Jun 1, 2023
99f82dd
fix heartbeat management
andre-merzky Jun 5, 2023
81672c3
Merge branch 'feature/nodb_2' of github.com:radical-cybertools/radica…
andre-merzky Jun 5, 2023
66550fa
merge from devel
andre-merzky Jun 6, 2023
0a2b4c1
merge from devel
andre-merzky Jun 6, 2023
7ea1bfe
merge from devel
andre-merzky Jun 6, 2023
e7536f2
Merge pull request #2926 from radical-cybertools/feature/use_registry
andre-merzky Jun 6, 2023
8ea4e20
cleanup
andre-merzky Jun 6, 2023
87d8ea1
Merge branch 'feature/nodb_2' of github.com:radical-cybertools/radica…
andre-merzky Jun 6, 2023
e3e9c9e
merge
andre-merzky Jun 6, 2023
ec37635
resolve conflict
andre-merzky Jun 6, 2023
47c57d8
clean agent startup
andre-merzky Jun 7, 2023
316e3b4
snapshot
andre-merzky Jun 9, 2023
2c8a7c9
merge from devel
andre-merzky Jun 12, 2023
4a702ca
merge from devel
andre-merzky Jun 12, 2023
5ddd568
merge from devel
andre-merzky Jun 12, 2023
cc00bcf
merge from devel
andre-merzky Jun 14, 2023
36b1318
merge from devel
andre-merzky Jun 14, 2023
def7f4a
Merge branch 'devel' into devel_nodb
andre-merzky Jun 14, 2023
f509c12
use hb msg class type
andre-merzky Jun 14, 2023
46eccb6
Merge branch 'feature/nodb_2' of github.com:radical-cybertools/radica…
andre-merzky Jun 14, 2023
2fc34ca
Enable doc testing
mturilli Jun 14, 2023
d998268
Enable testing of all notebooks
mturilli Jun 14, 2023
95609c2
Install the required branch of RU
mturilli Jun 14, 2023
85dc249
fix branch name
mturilli Jun 14, 2023
0ffafc5
add missing file
andre-merzky Jun 14, 2023
5d197d0
Merge branch 'feature/nodb_2' of github.com:radical-cybertools/radica…
andre-merzky Jun 14, 2023
1e39a6a
add missing file
andre-merzky Jun 14, 2023
52fa865
dbs cleanup
andre-merzky Jun 15, 2023
d5916af
merge from devel
andre-merzky Jun 19, 2023
ae1c252
merge from devel
andre-merzky Jun 19, 2023
3e5c2e8
Merge branch 'devel' into devel_nodb
andre-merzky Jun 19, 2023
08e0525
merge from devel
andre-merzky Jun 22, 2023
ea6d28a
merge from devel
andre-merzky Jun 22, 2023
b49fb89
Merge branch 'devel' into devel_nodb
andre-merzky Jun 22, 2023
8164657
merge from devel
andre-merzky Jul 3, 2023
ed90623
merge from devel
andre-merzky Jul 3, 2023
42710b4
Merge branch 'devel' into devel_nodb
andre-merzky Jul 3, 2023
706191a
merge from devel
andre-merzky Jul 11, 2023
9099663
merge from devel
andre-merzky Jul 11, 2023
d671a7f
Merge branch 'devel' into devel_nodb
andre-merzky Jul 11, 2023
3d4c6f0
snapshot
andre-merzky Jul 17, 2023
6969cdd
Merge branch 'feature/nodb_2' of github.com:radical-cybertools/radica…
andre-merzky Jul 17, 2023
c493936
merge from devel
andre-merzky Jul 17, 2023
45b2ea0
merge from devel
andre-merzky Jul 17, 2023
9d47f6c
fewer logfiles
andre-merzky Jul 17, 2023
6e93ded
Remove MDB from documentation
mturilli Jul 21, 2023
77c19a4
merge from devel
andre-merzky Jul 21, 2023
67eec25
merge from devel
andre-merzky Jul 21, 2023
2ffaafe
Merge branch 'devel' into docs/nodb
mturilli Jul 24, 2023
4913d08
merge from devel
andre-merzky Jul 25, 2023
9b3e6c3
merge from devel
andre-merzky Jul 25, 2023
8a3fa99
merge from devel
andre-merzky Jul 25, 2023
06c0cd9
merge from devel
andre-merzky Jul 25, 2023
eb1555a
merge from devel
andre-merzky Jul 25, 2023
58d57b7
merge from devel
andre-merzky Jul 25, 2023
6322b05
cleanup rpc
andre-merzky Jul 26, 2023
f719517
cleaner RPC handling
andre-merzky Jul 26, 2023
43392ff
import fix
andre-merzky Jul 28, 2023
e56aff3
adress comments
andre-merzky Jul 28, 2023
4f68d54
merge from devel
andre-merzky Aug 1, 2023
58538dd
merge from devel
andre-merzky Aug 1, 2023
e80ed79
merge from devel
andre-merzky Aug 1, 2023
7b5d9a6
Merge branch 'devel' into devel_nodb_2
andre-merzky Aug 1, 2023
7d6864e
apply resource schema
andre-merzky Aug 2, 2023
2e4e962
service startup snapshot
andre-merzky Aug 4, 2023
50251d0
merge upstream
andre-merzky Aug 4, 2023
97761d9
response to comments
andre-merzky Aug 4, 2023
51250d2
iteration on tests
andre-merzky Aug 9, 2023
87ec222
snap
andre-merzky Aug 9, 2023
d9fd62e
merge from devel
andre-merzky Aug 9, 2023
693843f
merge from devel
andre-merzky Aug 9, 2023
f7e6749
merge from devel
andre-merzky Aug 9, 2023
bf4560e
merge from devel
andre-merzky Aug 9, 2023
bd26e7e
merge from nodb2
andre-merzky Aug 9, 2023
809e854
Merge branch 'feature/nodb_2' of github.com:radical-cybertools/radica…
andre-merzky Aug 9, 2023
979a426
merge from feature/resource_description
andre-merzky Aug 9, 2023
9ca5c37
test updates
andre-merzky Aug 9, 2023
1608886
test fixes
andre-merzky Aug 10, 2023
c752188
space
andre-merzky Aug 10, 2023
8b2dc62
merge
andre-merzky Aug 10, 2023
84baf1e
fixed RM related tests
mtitov Aug 10, 2023
2307c59
fixed RM related tests
mtitov Aug 10, 2023
ebf6a00
fixed Sched related tests
mtitov Aug 10, 2023
b560c05
cleaned obsolete configs
mtitov Aug 11, 2023
05e09e4
cleanup
mtitov Aug 21, 2023
1119891
fixed bootstrapping for sub-agents
mtitov Aug 21, 2023
0b4dafa
fixed requirements (using RU devel/nodb temporary)
mtitov Aug 21, 2023
ca5f1aa
cleanup
mtitov Aug 21, 2023
6dd6289
fixed typo
mtitov Aug 21, 2023
49cb914
version RP devel/nodb temporary
mtitov Aug 21, 2023
e17b1ec
fixed config setup (tutorial)
mtitov Aug 21, 2023
19545bd
fixed creation of HeartbeatMessage instance
mtitov Aug 21, 2023
d711940
temporary fix for ResourceDescription
mtitov Aug 21, 2023
348addb
fixed resource configuration handling
mtitov Aug 21, 2023
783d537
fixed Session close options
mtitov Aug 21, 2023
349a985
Merge branch 'devel_nodb_2' into docs/nodb
mturilli Aug 21, 2023
d7a30c3
fixed TMGR Staging Input
mtitov Aug 22, 2023
7fe18f3
cleaned Services counting (`startup_flag`): removed `_service_state_c…
mtitov Aug 22, 2023
b0b7fbf
fixed channels
mtitov Aug 22, 2023
27cb7e9
fixed staging
mtitov Aug 22, 2023
10bb906
cleanup for `hb_term_cb`
mtitov Aug 22, 2023
30045c6
Merge pull request #2996 from radical-cybertools/feature/nodb_2
mtitov Aug 22, 2023
e2b0473
Merge branch 'devel' into devel_nodb_2
mtitov Aug 22, 2023
bec91cd
Merge branch 'devel_nodb_2' into docs/nodb
mtitov Aug 22, 2023
799868e
updated branches
mtitov Aug 22, 2023
6de14d2
cleaned and reworked CI configs and requirements
mtitov Aug 23, 2023
45c047a
fix
mtitov Aug 23, 2023
5adafc9
Merge branch 'devel_nodb_2' into docs/nodb
mturilli Aug 23, 2023
4dd777e
Merge pull request #3017 from radical-cybertools/fix/nodb-ci-cleanup
mturilli Aug 23, 2023
9eda4cc
fixed RP installation within `requirements-ci.txt`
mtitov Aug 23, 2023
517641f
Merge branch 'devel_nodb_2' into docs/nodb
mturilli Aug 23, 2023
0138689
Address comment
mturilli Aug 24, 2023
6fbbbc0
Merge pull request #2993 from radical-cybertools/docs/nodb
mturilli Aug 24, 2023
75f90cd
fixed Agent_0 scripts
mtitov Aug 25, 2023
362debd
fixed RMBase tests
mtitov Aug 25, 2023
6ccd216
fixed TMGRStagingInput tests
mtitov Aug 25, 2023
5e026e6
fixed Agent_0 test (py36 exception)
mtitov Aug 25, 2023
2270291
fixed Agent_0 test (py36 exception)
mtitov Aug 25, 2023
f567c28
fixed base example
mtitov Aug 25, 2023
f52fa15
Merge branch 'devel' into devel_nodb_2
mturilli Aug 25, 2023
d5c6aef
fixed pilot publishing
mtitov Aug 25, 2023
11ea090
fixed `pilot_state` in bootstrapping
mtitov Aug 25, 2023
5f96ecd
fixed `pilot_rpc` in TaskManager (uses corresponding pilot method)
mtitov Aug 25, 2023
dc6c306
added base path to `Proxy`
mtitov Aug 26, 2023
08064d9
added termination calls in `Session` for `HeartBeat`, `RegistryClient…
mtitov Aug 26, 2023
989bdc2
fixed Session test (`close` method)
mtitov Aug 26, 2023
af17334
ensure bridges time out
andre-merzky Aug 29, 2023
288c2b0
updated staging-tutorial
mtitov Aug 30, 2023
02decef
fixed `task_pre_exec` configurable parameter for Popen
mtitov Aug 30, 2023
0adcc35
fix msg forwarding, clean logs
andre-merzky Aug 31, 2023
c7ef235
Merge branch 'devel_nodb_2' of github.com:radical-cybertools/radical.…
andre-merzky Aug 31, 2023
3b68355
Merge branch 'devel' into devel_nodb_2
mtitov Aug 31, 2023
bce3d4d
adapted resource config for `ccs.mahti` to the new structure
mtitov Aug 31, 2023
f26cb12
fixed `csc.mahti` config
mtitov Aug 31, 2023
9812824
fixed test for `Popen._extend_pre_exec`
mtitov Aug 31, 2023
7cc4434
closing session in the "describing tasks" tutorial
mtitov Aug 31, 2023
2c71d52
snapshot
andre-merzky Sep 6, 2023
b901cc4
Merge branch 'devel_nodb_2' of github.com:radical-cybertools/radical.…
andre-merzky Sep 6, 2023
72a715f
typo
andre-merzky Sep 6, 2023
4c0a274
fix staging back
andre-merzky Sep 6, 2023
cf7c159
cfg cleanup
andre-merzky Sep 7, 2023
924efce
cfg cleanup
andre-merzky Sep 8, 2023
d1ae00b
Merge branch 'devel' into devel_nodb_2
mtitov Sep 9, 2023
a1893e4
Upload session when testing notebooks
mturilli Sep 11, 2023
5528b19
Call test matrix
mturilli Sep 11, 2023
03e18ed
tar sessions
mturilli Sep 11, 2023
d657e95
debug
mturilli Sep 11, 2023
e4d9f44
debug
mturilli Sep 11, 2023
cbd17df
debug
mturilli Sep 11, 2023
b7e4e9a
typo
mturilli Sep 11, 2023
861e775
Timeout and separate data collection
mturilli Sep 11, 2023
dc00b0a
Check agent sandbox existence
mturilli Sep 11, 2023
6c2ecbb
test timeout
mturilli Sep 11, 2023
78c6399
test production
mturilli Sep 11, 2023
e1a3735
Manage naming
mturilli Sep 11, 2023
ce9ecba
Try keeping failed mark
mturilli Sep 11, 2023
edced6d
introducte naming convention
mturilli Sep 11, 2023
2a21b8e
Merge pull request #3027 from radical-cybertools/docs/ci
mturilli Sep 11, 2023
39e38a5
fixed directory to be staged (staging tutorial)
mtitov Sep 11, 2023
c9da969
Merge branch 'devel_nodb_2' into fix/tutorial_staging
mtitov Sep 11, 2023
93255c8
added description about input staging data
mtitov Sep 12, 2023
31b1214
deprecated `python.system_packages`
mtitov Sep 12, 2023
cfeb3d9
Merge pull request #3028 from radical-cybertools/fix/tutorial_staging
mtitov Sep 12, 2023
c0497dc
updated "Describing Tasks" tutorial (added check for MPI LM being ins…
mtitov Sep 12, 2023
d6844e2
added package `mpich` into dependencies for CI Notebooks
mtitov Sep 12, 2023
7e4f0b9
added package `mpich` into dependencies for ReadTheDocs config
mtitov Sep 12, 2023
a4b4e13
Merge branch 'devel_nodb_2' into fix/docs_config
mturilli Sep 13, 2023
92d77a1
Merge pull request #3029 from radical-cybertools/fix/docs_config
mturilli Sep 13, 2023
899bc9b
fixed test for `Agent_0`
mtitov Sep 13, 2023
739efbb
fixed tests for `AgentExecutingComponent`
mtitov Sep 13, 2023
4aa0fb6
fixed tests for Executor `Popen`
mtitov Sep 13, 2023
944a47f
fixed tests for Base Scheduling
mtitov Sep 13, 2023
03e464f
enable tests for all devel-branches
mtitov Sep 13, 2023
2af1ed9
Merge pull request #3032 from radical-cybertools/fix/nodb_tests
mtitov Sep 13, 2023
83f3cf7
Merge branch 'devel_nodb_2' into fix/tutorial_task_description
mtitov Sep 13, 2023
b0ac106
snap
andre-merzky Sep 16, 2023
ec3f84a
snap
andre-merzky Sep 16, 2023
a5e6532
fix RPC calls, fix log level setting
andre-merzky Sep 18, 2023
12eb5e5
Merge branch 'devel_nodb_2' of github.com:radical-cybertools/radical.…
andre-merzky Sep 18, 2023
f882c1a
Merge branch 'devel_nodb_2' into fix/tutorial_task_description
mturilli Sep 18, 2023
ca5c400
shield agains missing mpi
andre-merzky Sep 21, 2023
853d3b4
fixes in control msg handling
andre-merzky Sep 22, 2023
b49bd37
fix tests
andre-merzky Sep 22, 2023
d1ef2b1
addr rpc
andre-merzky Sep 22, 2023
48d2df4
keep pilot RPCs local
andre-merzky Sep 22, 2023
dd8420e
fix tests
andre-merzky Sep 22, 2023
7cad463
resolve conflict
andre-merzky Sep 22, 2023
6db5982
resolve conflict
andre-merzky Sep 22, 2023
a501bbf
merge from devel
andre-merzky Sep 23, 2023
f7668e0
merge from devel
andre-merzky Sep 23, 2023
a6726f0
Merge branch 'devel' into devel_nodb_2
mtitov Sep 26, 2023
1aa3b8f
Merge branch 'devel_nodb_2' into fix/tutorial_task_description
mtitov Sep 26, 2023
ef06deb
Merge pull request #3030 from radical-cybertools/fix/tutorial_task_de…
mtitov Sep 26, 2023
5a517f1
removed excessive line (in `TaskManager.add_pilots` method)
mtitov Sep 27, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
168 changes: 68 additions & 100 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,14 @@ name: CI

on:
push:
branches: [ devel ]
branches:
- 'devel*'
pull_request:
branches: [ devel ]
branches:
- 'devel*'

jobs:

linting:
runs-on: ubuntu-latest
steps:
Expand All @@ -22,10 +25,7 @@ jobs:
python -m venv testenv
. testenv/bin/activate
python -m pip install --upgrade pip setuptools wheel
python -m pip install git+https://github.com/radical-cybertools/radical.utils.git@devel
python -m pip install git+https://github.com/radical-cybertools/radical.saga.git@devel
python -m pip install --upgrade .
python -m pip install -r requirements-tests.txt
python -m pip install -r requirements-ci.txt
- name: Lint with flake8 and pylint
run: |
. testenv/bin/activate
Expand All @@ -41,22 +41,8 @@ jobs:
flake8 $FILTERED
pylint $FILTERED

notebook_integration_test:
strategy:
matrix:
python-version: [ '3.7', '3.8', '3.9', '3.10', '3.11' ]
uses: ./.github/workflows/run-rp-notebook.yml
with:
python-version: ${{ matrix.python-version }}
notebook-name: 'getting_started.ipynb'

tests:
runs-on: ${{ matrix.os }}
services:
mongodb:
image: mongo
ports:
- 27017/tcp
strategy:
matrix:
os: [ ubuntu-latest ]
Expand All @@ -65,53 +51,40 @@ jobs:
- os: ubuntu-20.04
python-version: '3.6'
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 2
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m venv testenv
. testenv/bin/activate
python -m pip install --upgrade pip setuptools wheel
python -m pip install git+https://github.com/radical-cybertools/radical.utils.git@devel
python -m pip install git+https://github.com/radical-cybertools/radical.saga.git@devel
python -m pip install --upgrade .
python -m pip install -r requirements-tests.txt
- name: Unit tests
env:
RADICAL_PILOT_DBURL: mongodb://localhost:${{ job.services.mongodb.ports[27017] }}/test
run: |
. testenv/bin/activate
coverage run --source=radical.pilot -m pytest -ra -vvv --showlocals tests/unit_tests/ tests/component_tests/
coverage xml
- uses: codecov/codecov-action@v3
if: ${{ matrix.python-version == '3.7' }}
with:
files: ./coverage.xml
# - name: Integration test
# env:
# MONGODB_HOST: localhost
# MONGODB_PORT: ${{ job.services.mongodb.ports[27017] }}
# RADICAL_PILOT_DBURL: mongodb://localhost:${{ job.services.mongodb.ports[27017] }}/test
# TARGET_PATH: 'docs/source/getting_started.ipynb'
# run: |
# . testenv/bin/activate
# python -m pip install -r requirements-docs.txt
# python -m pip install jupyter
# jupyter nbconvert --clear-output --inplace $TARGET_PATH
# jupyter nbconvert --to notebook --execute --inplace $TARGET_PATH
- uses: actions/checkout@v3
with:
fetch-depth: 2
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m venv testenv
. testenv/bin/activate
python -m pip install --upgrade pip setuptools wheel
python -m pip install -r requirements-ci.txt
- name: Unit tests
run: |
. testenv/bin/activate
coverage run --source=radical.pilot -m pytest -ra -vvv --showlocals tests/unit_tests/ tests/component_tests/
coverage xml
- uses: codecov/codecov-action@v3
if: ${{ matrix.python-version == '3.7' }}
with:
files: ./coverage.xml

notebook_integration_test:
strategy:
matrix:
python-version: [ '3.7', '3.8', '3.9', '3.10', '3.11' ]
uses: ./.github/workflows/run-rp-notebook.yml
with:
python-version: ${{ matrix.python-version }}
requirements-file: 'requirements-docs-ci.txt'
notebook-name: 'getting_started.ipynb'

analytics:
runs-on: ${{ matrix.os }}
services:
mongodb:
image: mongo
ports:
- 27017/tcp
strategy:
matrix:
os: [ ubuntu-latest ]
Expand All @@ -120,41 +93,36 @@ jobs:
- os: ubuntu-20.04
python-version: '3.6'
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 2
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
sudo apt update
sudo apt install -y texlive cm-super
sudo apt install -y texlive-fonts-extra texlive-extra-utils dvipng
sudo apt install -y texlive-fonts-recommended texlive-latex-extra
python -m venv testenv
. testenv/bin/activate
python -m pip install --upgrade pip setuptools wheel
python -m pip install git+https://github.com/radical-cybertools/radical.utils.git@devel
python -m pip install git+https://github.com/radical-cybertools/radical.saga.git@devel
python -m pip install --upgrade .
python -m pip install git+https://github.com/radical-cybertools/radical.analytics.git@devel
- name: analyze example session
timeout-minutes: 5
env:
RADICAL_PILOT_DBURL: mongodb://localhost:${{ job.services.mongodb.ports[27017] }}/test
run: |
. testenv/bin/activate
./examples/00_getting_started.py local.localhost
SID=$(ls -rt | grep rp.session)
echo "$SID: $SID"
radical-analytics-inspect "$SID"
mkdir artifacts
ls -la
cp -R *.png *.stats artifacts
- name: upload artifacts
uses: actions/upload-artifact@v3
with:
name: artifacts
path: artifacts
- uses: actions/checkout@v3
with:
fetch-depth: 2
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
sudo apt update
sudo apt install -y texlive cm-super
sudo apt install -y texlive-fonts-extra texlive-extra-utils dvipng
sudo apt install -y texlive-fonts-recommended texlive-latex-extra
python -m venv testenv
. testenv/bin/activate
python -m pip install --upgrade pip setuptools wheel
python -m pip install -r requirements-ci.txt
- name: analyze example session
timeout-minutes: 5
run: |
. testenv/bin/activate
./examples/00_getting_started.py local.localhost
SID=$(ls -rt | grep rp.session)
echo "$SID: $SID"
radical-analytics-inspect "$SID"
mkdir artifacts
ls -la
cp -R *.png *.stats artifacts
- name: upload artifacts
uses: actions/upload-artifact@v3
with:
name: artifacts
path: artifacts

15 changes: 9 additions & 6 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ name: 'Test Jupyter notebooks'
on:
push:
branches:
- docs/nb_section3
- 'devel*'
pull_request:
branches:
- docs/nb_section3
- 'devel*'

# This allows a subsequently queued workflow run to interrupt previous runs
concurrency:
Expand All @@ -24,23 +24,26 @@ jobs:
uses: ./.github/workflows/run-rp-notebook.yml
with:
python-version: 3.7
requirements-file: 'requirements-docs-ci.txt'
notebook-name: 'getting_started.ipynb'

test-tutorials:
strategy:
matrix:
tutorial: [
'configuration.ipynb',
# 'debugging.ipynb',
'debugging.ipynb',
'describing_tasks.ipynb',
'multiple_pilots.ipynb',
# 'profiling.ipynb',
# 'raptor.ipynb',
'profiling.ipynb',
'raptor.ipynb',
'staging_data.ipynb',
'submission.ipynb'
]
uses: ./.github/workflows/run-rp-notebook.yml
with:
python-version: 3.7
requirements-file: 'requirements-docs-ci.txt'
notebook-name: ${{ matrix.tutorial }}
notebook-path: 'tutorials'
notebook-path: 'tutorials'

41 changes: 31 additions & 10 deletions .github/workflows/run-rp-notebook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ on:
description: 'Python version for running the Jupyter notebook'
required: true
type: string
requirements-file:
description: 'File with dependencies'
required: false
default: 'requirements-docs.txt'
type: string
notebook-name:
description: 'File name of the Jupyter notebook'
required: true
Expand All @@ -25,11 +30,6 @@ on:
jobs:
tests:
runs-on: ubuntu-latest
services:
mongodb:
image: mongo
ports:
- 27017/tcp # will assign a random free host port
steps:
- name: Checkout repository
uses: actions/checkout@v3
Expand All @@ -41,18 +41,39 @@ jobs:
python-version: ${{ inputs.python-version }}
- name: Install dependencies
run: |
sudo apt update -y && sudo apt install -y mpich
python -m venv testenv
. testenv/bin/activate
python -m pip install --upgrade pip
python -m pip install -r requirements-docs.txt
python -m pip install --upgrade pip setuptools wheel
python -m pip install -r ${{ inputs.requirements-file }}
python -m pip install jupyter
- name: Run Jupyter Notebook
env:
MONGODB_HOST: localhost
MONGODB_PORT: ${{ job.services.mongodb.ports[27017] }}
RADICAL_PILOT_DBURL: mongodb://localhost:${{ job.services.mongodb.ports[27017] }}/test
TARGET_PATH: ${{ format('{0}/{1}/{2}', inputs.documentation-path, inputs.notebook-path, inputs.notebook-name) }}
timeout-minutes: 5
# continue-on-error: true
run: |
. testenv/bin/activate
jupyter nbconvert --clear-output --inplace $TARGET_PATH
jupyter nbconvert --to notebook --execute --inplace $TARGET_PATH
- name: Collect session
if: always()
run: |
SIDCLIENT=$(ls -rt | grep rp.session)
SIDAGENT="$HOME/radical.pilot.sandbox/$SIDCLIENT"
CLIENTNAME="${{inputs.notebook-name}}_client_$SIDCLIENT"
AGENTNAME="${{inputs.notebook-name}}_agent_$SIDCLIENT"
mkdir session
tar cvfj $CLIENTNAME.tar.bz2 $SIDCLIENT
cp -R $CLIENTNAME.tar.bz2 session
if [ -d "$SIDAGENT" ]; then
tar cvfj $AGENTNAME.tar.bz2 $SIDAGENT
cp -R $AGENTNAME.tar.bz2 session
fi
- name: upload session
if: always()
uses: actions/upload-artifact@v3
with:
name: session
path: session
retention-days: 5
9 changes: 7 additions & 2 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,14 @@ version: 2

formats: [htmlzip]

build:
os: "ubuntu-22.04"
tools:
python: "3.7"
apt_packages:
- mpich

python:
system_packages: true
version: 3.7
install:
- requirements: requirements-docs.txt
- method: pip
Expand Down
5 changes: 5 additions & 0 deletions TODO
Original file line number Diff line number Diff line change
Expand Up @@ -252,9 +252,14 @@ term iv
- Exception in SA startup causes hang (agent_0 does not die)


others
------
- `PRTE` switches in scheduler should become `partition` switches, where the
partitions are defined by the RM

- stager and other RPC like workers should get a proper async RPC channel
(req/res). That should be built upon `ru.zmq.Service`. The client side
should wrap the request into a proper async Future.

- create_named_env needs to issue a client error on failures

Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.38.0
1.40.0
Loading