Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
f1299f50
Unverified
Commit
f1299f50
authored
Feb 19, 2021
by
Stas Bekman
Committed by
GitHub
Feb 19, 2021
Browse files
Kill any run-away pytest processes (#10281)
parent
709c86b5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
38 additions
and
5 deletions
+38
-5
.github/workflows/self-push.yml
.github/workflows/self-push.yml
+21
-5
.github/workflows/self-scheduled.yml
.github/workflows/self-scheduled.yml
+17
-0
No files found.
.github/workflows/self-push.yml
View file @
f1299f50
...
@@ -27,8 +27,12 @@ jobs:
...
@@ -27,8 +27,12 @@ jobs:
-
name
:
Current dir
-
name
:
Current dir
run
:
pwd
run
:
pwd
-
run
:
nvidia-smi
-
run
:
nvidia-smi
-
name
:
Kill any run-away pytest processes
run
:
pkill -f tests; pkill -f examples
-
name
:
Loading cache.
-
name
:
Loading cache.
uses
:
actions/cache@v2
uses
:
actions/cache@v2
id
:
cache
id
:
cache
...
@@ -77,14 +81,14 @@ jobs:
...
@@ -77,14 +81,14 @@ jobs:
-
name
:
Failure short reports
-
name
:
Failure short reports
if
:
${{ always() }}
if
:
${{ always() }}
run
:
cat reports/tests_torch_gpu_failures_short.txt
run
:
cat reports/tests_torch_gpu_failures_short.txt
-
name
:
Test suite reports artifacts
-
name
:
Test suite reports artifacts
if
:
${{ always() }}
if
:
${{ always() }}
uses
:
actions/upload-artifact@v2
uses
:
actions/upload-artifact@v2
with
:
with
:
name
:
run_all_tests_torch_gpu_test_reports
name
:
run_all_tests_torch_gpu_test_reports
path
:
reports
path
:
reports
run_tests_tf_gpu
:
run_tests_tf_gpu
:
runs-on
:
[
self-hosted
,
gpu
,
single-gpu
]
runs-on
:
[
self-hosted
,
gpu
,
single-gpu
]
...
@@ -95,10 +99,15 @@ jobs:
...
@@ -95,10 +99,15 @@ jobs:
which python
which python
python --version
python --version
pip --version
pip --version
-
name
:
Current dir
-
name
:
Current dir
run
:
pwd
run
:
pwd
-
run
:
nvidia-smi
-
run
:
nvidia-smi
-
name
:
Kill any run-away pytest processes
run
:
pkill -f tests; pkill -f examples
-
name
:
Loading cache.
-
name
:
Loading cache.
uses
:
actions/cache@v2
uses
:
actions/cache@v2
id
:
cache
id
:
cache
...
@@ -146,7 +155,7 @@ jobs:
...
@@ -146,7 +155,7 @@ jobs:
-
name
:
Failure short reports
-
name
:
Failure short reports
if
:
${{ always() }}
if
:
${{ always() }}
run
:
cat reports/tests_tf_gpu_failures_short.txt
run
:
cat reports/tests_tf_gpu_failures_short.txt
-
name
:
Test suite reports artifacts
-
name
:
Test suite reports artifacts
if
:
${{ always() }}
if
:
${{ always() }}
uses
:
actions/upload-artifact@v2
uses
:
actions/upload-artifact@v2
...
@@ -166,8 +175,12 @@ jobs:
...
@@ -166,8 +175,12 @@ jobs:
-
name
:
Current dir
-
name
:
Current dir
run
:
pwd
run
:
pwd
-
run
:
nvidia-smi
-
run
:
nvidia-smi
-
name
:
Kill any run-away pytest processes
run
:
pkill -f tests; pkill -f examples
-
name
:
Loading cache.
-
name
:
Loading cache.
uses
:
actions/cache@v2
uses
:
actions/cache@v2
id
:
cache
id
:
cache
...
@@ -205,7 +218,7 @@ jobs:
...
@@ -205,7 +218,7 @@ jobs:
-
name
:
Failure short reports
-
name
:
Failure short reports
if
:
${{ always() }}
if
:
${{ always() }}
run
:
cat reports/tests_torch_multi_gpu_failures_short.txt
run
:
cat reports/tests_torch_multi_gpu_failures_short.txt
-
name
:
Test suite reports artifacts
-
name
:
Test suite reports artifacts
if
:
${{ always() }}
if
:
${{ always() }}
...
@@ -226,8 +239,12 @@ jobs:
...
@@ -226,8 +239,12 @@ jobs:
-
name
:
Current dir
-
name
:
Current dir
run
:
pwd
run
:
pwd
-
run
:
nvidia-smi
-
run
:
nvidia-smi
-
name
:
Kill any run-away pytest processes
run
:
pkill -f tests; pkill -f examples
-
name
:
Loading cache.
-
name
:
Loading cache.
uses
:
actions/cache@v2
uses
:
actions/cache@v2
id
:
cache
id
:
cache
...
@@ -272,4 +289,3 @@ jobs:
...
@@ -272,4 +289,3 @@ jobs:
with
:
with
:
name
:
run_all_tests_tf_multi_gpu_test_reports
name
:
run_all_tests_tf_multi_gpu_test_reports
path
:
reports
path
:
reports
.github/workflows/self-scheduled.yml
View file @
f1299f50
...
@@ -31,8 +31,12 @@ jobs:
...
@@ -31,8 +31,12 @@ jobs:
-
name
:
Current dir
-
name
:
Current dir
run
:
pwd
run
:
pwd
-
run
:
nvidia-smi
-
run
:
nvidia-smi
-
name
:
Kill any run-away pytest processes
run
:
pkill -f tests; pkill -f examples
-
name
:
Create new python env (on self-hosted runners we have to handle isolation ourselves)
-
name
:
Create new python env (on self-hosted runners we have to handle isolation ourselves)
if
:
steps.cache.outputs.cache-hit != 'true'
if
:
steps.cache.outputs.cache-hit != 'true'
run
:
|
run
:
|
...
@@ -125,8 +129,13 @@ jobs:
...
@@ -125,8 +129,13 @@ jobs:
-
name
:
Current dir
-
name
:
Current dir
run
:
pwd
run
:
pwd
-
run
:
nvidia-smi
-
run
:
nvidia-smi
-
name
:
Kill any run-away pytest processes
run
:
pkill -f tests; pkill -f examples
-
name
:
Create new python env (on self-hosted runners we have to handle isolation ourselves)
-
name
:
Create new python env (on self-hosted runners we have to handle isolation ourselves)
if
:
steps.cache.outputs.cache-hit != 'true'
if
:
steps.cache.outputs.cache-hit != 'true'
run
:
|
run
:
|
...
@@ -204,8 +213,12 @@ jobs:
...
@@ -204,8 +213,12 @@ jobs:
-
name
:
Current dir
-
name
:
Current dir
run
:
pwd
run
:
pwd
-
run
:
nvidia-smi
-
run
:
nvidia-smi
-
name
:
Kill any run-away pytest processes
run
:
pkill -f tests; pkill -f examples
-
name
:
Create new python env (on self-hosted runners we have to handle isolation ourselves)
-
name
:
Create new python env (on self-hosted runners we have to handle isolation ourselves)
if
:
steps.cache.outputs.cache-hit != 'true'
if
:
steps.cache.outputs.cache-hit != 'true'
run
:
|
run
:
|
...
@@ -299,8 +312,12 @@ jobs:
...
@@ -299,8 +312,12 @@ jobs:
-
name
:
Current dir
-
name
:
Current dir
run
:
pwd
run
:
pwd
-
run
:
nvidia-smi
-
run
:
nvidia-smi
-
name
:
Kill any run-away pytest processes
run
:
pkill -f tests; pkill -f examples
-
name
:
Create new python env (on self-hosted runners we have to handle isolation ourselves)
-
name
:
Create new python env (on self-hosted runners we have to handle isolation ourselves)
if
:
steps.cache.outputs.cache-hit != 'true'
if
:
steps.cache.outputs.cache-hit != 'true'
run
:
|
run
:
|
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment