Richard Belleville
2c889a9921
Fix stdout handling in jobset.py ( #27493 )
...
* Fix stdout handling in jobset.py
* Apparently ascii was a bad assumption
* Or how about this
* Just ignore non-utf8 characters
3 years ago
Jan Tattermusch
c1bf4e1a2a
Revert "Enable Alpine portability test to run under Python 3. ( #27464 )" ( #27485 )
...
This reverts commit 54d4e8f68b
.
3 years ago
Richard Belleville
54d4e8f68b
Enable Alpine portability test to run under Python 3. ( #27464 )
...
* Enable Alpine portability test to run under Python 3.
* Fix other scripts
3 years ago
Richard Belleville
b6cc72f129
Revert "Run 2to3 on tools directory ( #26002 )" ( #27183 )
...
This reverts commit a388361c3d
.
3 years ago
Richard Belleville
a388361c3d
Run 2to3 on tools directory ( #26002 )
...
* Run 2to3 on tools directory
* Delete github_stats_tracking
* Re-run 2to3
* Remove unused script
* Remove unused script
* Remove unused line count utility
* Yapf. Isort
* Remove accidentally included file
* Restore line_count directory
3 years ago
yifeizhuang
48b194f737
release v1.40.0: build gcr images for release, fix python2.7 ( #27045 )
3 years ago
Lidi Zheng
2231c2ba77
Introduce Python import sorting to our sanity test suite ( #26768 )
...
* Add isort_code.sh to sanity tests
* Run tools/distrib/isort_code.sh
* Fine tune the import order for relative imports
* Make pylint and project generation happy
* Fix a few corner cases
* Use --check instead of --diff
* The import order impacts test result somehow
* Make isort print diff and check output at the same time
* Let tools/run_tests/python_utils be firstparty library
* Run isort against latest HEAD
3 years ago
Lidi Zheng
39cc797025
[xDS Proto] Modernize buildgen scripts ( #25512 )
...
* [xDS Proto] Modernize buildgen scripts
* This PR only covers some buildgen scripts that will be used by xDS
proto
* This PR also improves the debuggability of some scripts
* Merge with master
* Adopt reviewer's advices
4 years ago
Sergii Tkachenko
8db79e2e71
Python style: reformat code using updated yapf 0.30.0
4 years ago
dapeng-mi
965aa55c9e
Bug fix: add __lt__ method for JobSpec class.
...
Another exception is found when running "./tools/run_tests/run_tests.py
-l c++ -c dbg" test in python3 environment. The exception complains
the "<" method is not supported when calling sorted() function to sort
the JobSpec class.
Here is the exception.
./tools/run_tests/run_tests.py -l c++ -c dbg
PASSED: make [time=1.6sec, retries=0:0]
Omitting EPOLLEXCLUSIVE tests
2020-12-01 10:49:42,122 detected port server running version 21
2020-12-01 10:49:42,182 my port server is version 21
Traceback (most recent call last):
File "./tools/run_tests/run_tests.py", line 1919, in <module>
build_only=args.build_only)
File "./tools/run_tests/run_tests.py", line 1800, in _build_and_run
one_run = set(spec for language in languages
File "./tools/run_tests/run_tests.py", line 1801, in <genexpr>
for spec in language.test_specs()
File "./tools/run_tests/run_tests.py", line 425, in test_specs
return sorted(out)
TypeError: '<' not supported between instances of 'JobSpec' and 'JobSpec'
Signed-off-by: dapeng-mi <clark_mdp@163.com>
4 years ago
Yash Tibrewal
2cdab491a3
Cleanup
5 years ago
Yash Tibrewal
c6fa7eefb9
testing with locks in ws
...
Remove no_logging and add missing mu locks
5 years ago
Esun Kim
7be821ac47
Yapf all target python sources
5 years ago
Richard Belleville
666fb1c5ee
Make run_tests.py python-version agnostic
6 years ago
Jan Tattermusch
d8056c5906
rename _tempfile -> _logfile
6 years ago
Jan Tattermusch
2488dff74b
address comments
6 years ago
Jan Tattermusch
87592fe9d9
support custom logfile name in jobset.py
6 years ago
Jan Tattermusch
62861977f2
run_tests: keep longer logs from individual test cases
7 years ago
Mehrdad Afshari
87cd994b04
Upgrade yapf to 0.20.0
...
Upgrade yapf version to 0.20.0 and reformat Python files.
7 years ago
ncteisen
0cd6cfefa0
yapf tools/run_tests/sanity
7 years ago
ncteisen
05687c3da9
yapf tools/run_tests/python_utils
7 years ago
Jan Tattermusch
3d1b6c1035
explain retries and jobset.max_time setting
7 years ago
Craig Tiller
a69912cb2c
Fixes
7 years ago
Jan Tattermusch
8dbc2364b3
report elapsed time for jobs that time out
7 years ago
Alexander Polcyn
dbfcd45af8
Limit max jobs cpu agnostic way, to avoid overloading the test
...
environment
7 years ago
Craig Tiller
2be06b43e7
Make unmeasured CPU costs be 1, not 0
...
Allows capturing 0 as a CPU cost, which we'll be able to leverage to
increase concurrency (once data has caught up in a few days)
7 years ago
Matt Kwong
69ce380ccc
Revert "Merge pull request #12513 from grpc/revert-12289-sig_hand"
...
This reverts commit 81ad19d4be
, reversing
changes made to ed63aac195
.
7 years ago
Craig Tiller
0852acd8b3
Revert "Let alarms trigger at end of jobset.py instead of clearing them"
7 years ago
Matt Kwong
738b1bb424
Get rid of have_alarm var in jobset.py
7 years ago
Matt Kwong
3da8c5defb
Let alarms at end of jobset.py trigger isntead of clearing
7 years ago
Matt Kwong
5920abc535
Revert "Don't clear alarm in jobset when running performance tests"
...
This reverts commit c15d32bbe8
.
7 years ago
Matt Kwong
c15d32bbe8
Don't clear alarm in jobset when running performance tests
7 years ago
Matt Kwong
60a672b87f
Clear alarms in jobset.py when finished running jobs
8 years ago
Jan Tattermusch
7897ae9308
auto-fix most of licenses
8 years ago
Matt Kwong
d8543c4e0f
Fix --measure_cpu_costs flag in run_tests.py on Windows
8 years ago
Craig Tiller
46356b72a0
Make jobset more eintr resilient
8 years ago
Craig Tiller
f09957bd04
Recover from more EINTRs
8 years ago
Craig Tiller
9d5d803bbf
Small fixes
8 years ago
Matt Kwong
d1f40bd3b3
Make --measure_cpu_costs flag Mac-friendly
8 years ago
Matt Kwong
52ff986f94
Add option to upload Jenkins test result to BQ
8 years ago
Yong Ni
35ee7e7967
Added verbose option to run_interop_test to ease tracing the commands invoked
8 years ago
Alexander Polcyn
f5521c33f9
Revert "Merge branch 'master' into v1.3.x"
...
This reverts commit 79759fea1a
, reversing
changes made to dc36f4df6a
.
8 years ago
Craig Tiller
8861386b86
Allow specifying a maximum run time to run_tests
8 years ago
Craig Tiller
a1ac2a1317
Allow specifying a maximum run time to run_tests
8 years ago
Jan Tattermusch
d159af31fc
return tuple from jobset.run when skipping tests
8 years ago
David Garcia Quintas
e6e7b017dd
PR comments
8 years ago
David Garcia Quintas
c30b84e6f3
Timestamp test logs
8 years ago
Jan Tattermusch
5c79a3199c
cleanup tools/run_tests directory
8 years ago
Jan Tattermusch
68e27bfef3
enable running many runs per test without flooding the logs
8 years ago
Jan Tattermusch
9fe161c789
readable output from run_tests.py on windows
8 years ago