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
8 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
Mark D. Roth
158a4a42b2
Add comment about testing with reviewable.
8 years ago
Mark D. Roth
6288542146
This time, for sure!
8 years ago
Mark D. Roth
405abfcba2
Move hex dump to before crash.
8 years ago
Mark D. Roth
562b684e19
My python-fu is rustier than an old nail.
8 years ago
Mark D. Roth
f8ef30c977
Stringify generator result.
8 years ago
Mark D. Roth
f9cffc7b70
List, not generator.
8 years ago
Mark D. Roth
6642b3899b
Fix python.
8 years ago