Skip to content

Commit

Permalink
Update other regression tests for mila code
Browse files Browse the repository at this point in the history
Signed-off-by: Fabrice Normandin <[email protected]>
  • Loading branch information
lebrice committed May 2, 2024
1 parent 5572540 commit ccd6c9d
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 16 deletions.
7 changes: 4 additions & 3 deletions tests/integration/test_code/test_code_beluga__salloc_.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
Checking disk quota on $HOME...
Disk usage: X / LIMIT GiB and X / LIMIT files
Installing VSCode extensions that are on the local machine on beluga in the background.
Installing VSCode extensions that are on the local machine on beluga.
(beluga) $ cd $SCRATCH && salloc --wckey=milatools_test --account=SLURM_ACCOUNT --nodes=1 --ntasks=1 --cpus-per-task=1 --mem=1G --time=0:05:00 --oversubscribe --job-name=mila-code
Waiting for job JOB_ID to start.
(local) echo --new-window --wait --remote ssh-remote+COMPUTE_NODE $HOME/bob
✓ Syncing vscode extensions: N/N ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100% 0:00:00 H:MM:SS
✓ localhost -> beluga - Done. N/N ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100% 0:00:00 H:MM:SS
(local) $ echo --new-window --wait --remote ssh-remote+COMPUTE_NODE $HOME/bob
--new-window --wait --remote ssh-remote+COMPUTE_NODE $HOME/bob

The editor was closed. Reopen it with <Enter> or terminate the process with <Ctrl+C> (maybe twice).
(beluga) $ scancel JOB_ID
Ended session on 'COMPUTE_NODE'
10 changes: 6 additions & 4 deletions tests/integration/test_code/test_code_beluga__sbatch_.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
Checking disk quota on $HOME...
Disk usage: X / LIMIT GiB and X / LIMIT files
Installing VSCode extensions that are on the local machine on beluga in the background.
(beluga) $ cd $SCRATCH && sbatch --parsable --wckey=milatools_test --account=SLURM_ACCOUNT --nodes=1 --ntasks=1 --cpus-per-task=1 --mem=1G --time=0:05:00 --oversubscribe --job-name=mila-code --wrap
'srun sleep 7d'
Installing VSCode extensions that are on the local machine on beluga.
(beluga) $ cd $SCRATCH && sbatch --parsable --wckey=milatools_test --account=SLURM_ACCOUNT --nodes=1 --ntasks=1 --cpus-per-task=1 --mem=1G --time=0:05:00 --oversubscribe
--job-name=mila-code --wrap 'srun sleep 7d'
JOB_ID

(local) echo --new-window --wait --remote ssh-remote+COMPUTE_NODE $HOME/bob
✓ Syncing vscode extensions: N/N ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100% 0:00:00 H:MM:SS
✓ localhost -> beluga - Done. N/N ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100% 0:00:00 H:MM:SS
(local) $ echo --new-window --wait --remote ssh-remote+COMPUTE_NODE $HOME/bob
--new-window --wait --remote ssh-remote+COMPUTE_NODE $HOME/bob

The editor was closed. Reopen it with <Enter> or terminate the process with <Ctrl+C> (maybe twice).
Expand Down
8 changes: 5 additions & 3 deletions tests/integration/test_code/test_code_graham__salloc_.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
Checking disk quota on $HOME...
Installing VSCode extensions that are on the local machine on graham in the background.
Disk usage: X / LIMIT GiB and X / LIMIT files
Installing VSCode extensions that are on the local machine on graham.
(graham) $ cd $SCRATCH && salloc --wckey=milatools_test --account=SLURM_ACCOUNT --nodes=1 --ntasks=1 --cpus-per-task=1 --mem=1G --time=0:05:00 --oversubscribe --job-name=mila-code
Waiting for job JOB_ID to start.
(local) echo --new-window --wait --remote ssh-remote+COMPUTE_NODE $HOME/bob
✓ Syncing vscode extensions: N/N ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100% 0:00:00 H:MM:SS
✓ localhost -> graham - Done. N/N ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100% 0:00:00 H:MM:SS
(local) $ echo --new-window --wait --remote ssh-remote+COMPUTE_NODE $HOME/bob
--new-window --wait --remote ssh-remote+COMPUTE_NODE $HOME/bob

The editor was closed. Reopen it with <Enter> or terminate the process with <Ctrl+C> (maybe twice).
(graham) $ scancel JOB_ID
Ended session on 'COMPUTE_NODE'
11 changes: 7 additions & 4 deletions tests/integration/test_code/test_code_graham__sbatch_.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
Checking disk quota on $HOME...
Installing VSCode extensions that are on the local machine on graham in the background.
(graham) $ cd $SCRATCH && sbatch --parsable --wckey=milatools_test --account=SLURM_ACCOUNT --nodes=1 --ntasks=1 --cpus-per-task=1 --mem=1G --time=0:05:00 --oversubscribe --job-name=mila-code --wrap
'srun sleep 7d'
Disk usage: X / LIMIT GiB and X / LIMIT files
Installing VSCode extensions that are on the local machine on graham.
(graham) $ cd $SCRATCH && sbatch --parsable --wckey=milatools_test --account=SLURM_ACCOUNT --nodes=1 --ntasks=1 --cpus-per-task=1 --mem=1G --time=0:05:00 --oversubscribe
--job-name=mila-code --wrap 'srun sleep 7d'
JOB_ID

(local) echo --new-window --wait --remote ssh-remote+COMPUTE_NODE $HOME/bob
✓ Syncing vscode extensions: N/N ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100% 0:00:00 H:MM:SS
✓ localhost -> graham - Done. N/N ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100% 0:00:00 H:MM:SS
(local) $ echo --new-window --wait --remote ssh-remote+COMPUTE_NODE $HOME/bob
--new-window --wait --remote ssh-remote+COMPUTE_NODE $HOME/bob

The editor was closed. Reopen it with <Enter> or terminate the process with <Ctrl+C> (maybe twice).
Expand Down
4 changes: 2 additions & 2 deletions tests/integration/test_code/test_code_narval__sbatch_.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Checking disk quota on $HOME...
Disk usage: X / LIMIT GiB and X / LIMIT files
Installing VSCode extensions that are on the local machine on narval.
(narval) $ cd $SCRATCH && cd $SCRATCH && sbatch --parsable --wckey=milatools_test --account=SLURM_ACCOUNT --nodes=1 --ntasks=1 --cpus-per-task=1 --mem=1G --time=0:05:00 --oversubscribe
--job-name=mila-code --wrap 'srun sleep 7d'
(narval) $ cd $SCRATCH && sbatch --parsable --wckey=milatools_test --account=SLURM_ACCOUNT --nodes=1 --ntasks=1 --cpus-per-task=1 --mem=1G --time=0:05:00 --oversubscribe --job-name=mila-code --wrap
'srun sleep 7d'
JOB_ID

✓ Syncing vscode extensions: N/N ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100% 0:00:00 H:MM:SS
Expand Down

0 comments on commit ccd6c9d

Please sign in to comment.