Commit Graph

20 Commits

Author SHA1 Message Date
Craig Tiller 5d81683faa
Add per-call memory bloat report to CI (#29037)
* Add per-call memory bloat report to CI

* fix

* test

* Automated change: Fix sanity tests

* Update grpc_bloat_diff_in_docker.sh

* Update memory_diff.py

* review feedback

* prep for new job

Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2022-03-12 11:56:48 +01:00
Craig Tiller 27662173e7
Clip long summaries (#28401) 2021-12-28 21:03:15 +00:00
Craig Tiller 8cbf308ce2
Use PUT not POST to avoid duplicate bloat labels (#27952) 2021-11-05 13:56:31 -07:00
Craig Tiller 59ed9d09a2
Reland bloat labelling code. (#27926)
* Revert "Revert "Assign a label for level of bloat diff (#27880)" (#27925)"

This reverts commit f2b96000a7.

* fix
2021-11-03 09:57:13 -07:00
Craig Tiller f2b96000a7
Revert "Assign a label for level of bloat diff (#27880)" (#27925)
This reverts commit 882cc1259e.
2021-11-03 08:14:19 -07:00
Craig Tiller 882cc1259e
Assign a label for level of bloat diff (#27880)
* upgrade bloaty

* Update check_submodules.sh

* fix

* label bloat

* set labels based on severity

* measure severity of changes

* Automated change: Fix sanity tests

* test

* test

* Update bloat_diff.py

* Update check_on_pr.py

* Automated change: Fix sanity tests

Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2021-11-02 22:39:15 -07:00
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
2021-07-26 12:31:21 -07:00
AJ Heller 6ff042277e
Fix invalid use of python's traceback.print_exc (#25743)
The exception is being interpreted as a `limit` (int) to cap the number
of stack trace entries to print.

https://docs.python.org/3/library/traceback.html#traceback.print_exc
2021-03-17 12:04:15 -07:00
AJ Heller 5139a012e7
Migrate the bm_diff benchmarks to python3 (#25619)
* Migrate the bm_diff benchmarks to python3

Includes a requirements.txt pinned at ~2017 versions, when this script
was first written.

* Replace p2 with p3 scipy/numpy dependencies.

* py2->3 for benchmark setup scripts

* upgrade pip to resolve python3 cryptography/setuptools-rust problem

* re-add jobset import (accidentally removed)

* re-add six's urllib import. This file is still used in py2 tests

* force py3 in run_if_c_cpp_modified.sh

* Fix another instance of subprocess.check_output binary mode

* Use the requirements.txt for CI perf environment setup

* Try to upgrade PyJWT. (v2.0.0 was problematic, #25053)

v2.x makes encode return strs from jwt.encode in both py2 and py3.
Previously, py3 would return bytes, and py2 a str.

* upgate cryptography lib version requirements for jwt.

* Wrap pip requirements specifier in quotes '>=x,<y'

* Decode subprocess output once instead of for every line

* Revert "Decode subprocess output once instead of for every line"

This reverts commit 28d14026431622ac7afd3535a8d7118e5be96628.

py2 doesn't support the `text` argument to subprocess.check_output.

* Address reviewer requests

* Pin a valid scipy version

* Remove scipy and tabulate dependencies from macos tests
2021-03-09 15:44:00 +01:00
Esun Kim 7be821ac47 Yapf all target python sources 2020-01-03 09:25:10 -08:00
Lidi Zheng 6b437ca80f Increase the retry interval 2019-03-06 15:30:33 -08:00
Lidi Zheng cf70b744f1 Silent the check_on_pr failure 2019-03-06 15:02:29 -08:00
Lidi Zheng 684690c2d7 Adopt reviewers' advice 2019-02-12 16:04:21 -08:00
Lidi Zheng bf8bef9c78 Add retries for check_on_pr 2019-02-12 15:13:27 -08:00
Lidi Zheng 886a932a1a Use KOKORO_GITHUB_PULL_REQUEST_NUMBER instead of ghprbPullId 2018-12-18 14:24:58 -08:00
Lidi Zheng eafb1d527d Reorgnize dependencies and variables 2018-12-17 18:14:58 -08:00
Lidi Zheng 6692429f31 Download private key from KeyStore 2018-12-17 16:25:25 -08:00
Nicolas Noble a744221a2c
Editing appid and installation id
Created these from the grpc-bot account.
2018-12-14 14:14:46 -08:00
Lidi Zheng 5a38d1956f Make yapf happy 2018-12-14 10:08:22 -08:00
Lidi Zheng 0f0822d53f WIP: Utilize the GitHub Check Feature 2018-12-13 16:40:47 -08:00