Commit Graph

162 Commits

Author SHA1 Message Date
Menghan Li 3e34e3aac7
xds/testing: print timestamp of commands in xds tests cripts to help debug timeout failures (#27000)
* xds/testing: print timestamp of commands in xds tests cripts to help debug timeout failures

There were recently many kokoro timeout, after job running for 6 hours.
In those, the run_xds_tests.py only ran less then 2 hours.

There was no enough timestamp to find what was taking so long (either
run_xds_tests.py is stuck, or something before it took too long). This
should add more timestamps to help debug.

* print script start time

* format
2021-08-12 17:12:08 -07:00
Jan Tattermusch 156edd687e
set xds user agent name everywhere where grpc_csharp_ext is built (#26337)
* set xds user agent name everywhere where grpc_csharp_ext is built

* regenerate projects
2021-06-14 08:25:14 +02:00
Lidi Zheng 25f5399b41
Add grpcio-admin Python package (#26166)
* Add grpcio-admin Python package

* Polish package content

* Make Linux artifact build happy

* Improve documentation
2021-05-05 13:20:50 -07:00
Lidi Zheng dc63d6a53e
Add CSDS API to Python (#26114)
* Add grpcio-csds pacakge

* Remove unused file

* Fix the proto import path issue

* Update the CSDS package and xds-protos for PY2

* Make tests happy

* Fix Bazel proto dependency

* Add Python2 tests for CSDS
2021-05-03 11:54:34 -07:00
Lidi Zheng 0b8cb0227b
Upgrade setuptools and ProtoBuf Python in prep_xds.sh (#26029)
* Upgrade

* Trick Kokoro to run xDS test

* Restore grpc_python_bazel_test.cfg

* Update protobuf

* Add extra layer of protection
2021-04-20 17:47:21 -07:00
Lidi Zheng 3625d9f75e
Update the Python dependency for xDS interop test (#26024)
`xds-protos` includes all the generated Python files for Envoy protos, which is required by Envoy.
2021-04-20 12:36:15 -07:00
Richard Belleville 1437dc9816
Fix pypa link (#25647)
* Fix pypa link

* And 3.5 as well
2021-03-08 17:26:52 -08:00
Donna Dionne a734650728 Modify build_python.sh because get-pip.py has moved. 2021-01-25 12:49:39 -08:00
Jan Tattermusch 113f5e89b5 build_ruby.sh: build Debug protoc on config=dbg 2020-12-12 18:07:10 +01:00
Jan Tattermusch c5c123efc9 add cmake to ruby dockerfiles 2020-12-09 11:54:45 +01:00
Jan Tattermusch a35cd4f89d build protoc artifacts with cmake 2020-12-09 11:54:44 +01:00
Lidi Zheng 5527e0f328 Simplify the check with existing if 2020-09-29 13:28:45 -07:00
Lidi Zheng 0bd1c6ae28 Check $VENV_PYTHON instead of python 2020-09-29 13:27:46 -07:00
Lidi Zheng c45f50581b Don't install enum34 for non-2.7 Python 2020-09-29 13:25:56 -07:00
Eric Gribkoff a6a7755c3f Pin grpcio and grpc-tools to 1.31.0
Can remove when https://github.com/grpc/grpc/pull/24094 is in a patch
release
2020-09-09 16:07:49 -07:00
Lidi Zheng c8fa1c9978 Pin setuptools in one more location 2020-08-31 12:26:24 -07:00
Menghan Li a7dc27d4e9 xds testing: check serving status is set correctly
And print what status was set. This helps debugging when the test fails
2020-08-20 23:16:54 -07:00
Jan Tattermusch c67db2e8eb fix pre_build_cmake.bat 2020-08-03 19:18:39 +02:00
Jan Tattermusch 31fa9a3530 switch run_tests.py C/C++ tests to cmake 2020-08-03 19:18:39 +02:00
Alexander Polcyn 9b4ef62cb9 Split up run_ruby_end2end_tests.sh into more granular test targets 2020-07-27 15:07:23 -07:00
Alexander Polcyn 95387716dc Make sure call creds user callbacks can't kill the ruby call credentials thread 2020-06-26 18:29:22 -07:00
Alexander Polcyn b88c0a22c7 Fix use-after-free in ruby call creds 2020-06-26 13:26:54 -07:00
Lidi Zheng 18054754c5 Install rsa==4.0 to avoid the egg cache race issue 2020-06-15 14:19:54 -07:00
Lidi Zheng 43a574d1ae Trust google-auth library will handle their dependency properly 2020-06-15 13:32:28 -07:00
Lidi Zheng 3f9e2148eb Fix typo ras -> rsa 2020-06-12 11:14:44 -07:00
Lidi Zheng 25491305ff Pin to 4.3 instead of 4.0 2020-06-12 10:57:57 -07:00
Lidi Zheng 9a3ae47658 Pump up the minimum version of google-auth to 1.17.1 2020-06-12 10:48:47 -07:00
Richard Belleville 3928f2fa69
Merge pull request #22561 from gnossen/python35_test
Add 3.5 to default interpreters to be tested.
2020-04-08 15:24:36 -07:00
Richard Belleville 1c1321ddea Indentation 2020-04-07 16:10:20 -07:00
Richard Belleville dbf3bb31cd Shellcheck 2020-04-07 11:09:27 -07:00
Richard Belleville fb2b2122ac Add quotes 2020-04-06 14:21:00 -07:00
Richard Belleville 9344a259b5 Fix MacOS Python 3.5 gevent build 2020-04-06 13:06:35 -07:00
Eric Gribkoff 86568c4de2 Update pip before installing grpcio 2020-04-02 15:33:35 -07:00
Jan Tattermusch 326939fb64 temporarily disable node tests 2020-04-02 14:06:49 +02:00
Eric Gribkoff 704415e252 Add params for running in other test environments 2020-02-21 02:19:44 -08:00
Lidi Zheng b2f72702c9 Pin virtualenv to 16.7.9 2020-02-11 11:05:23 -08:00
Eric Gribkoff 31fa9550e5 Add runner script for xDS integration tests 2020-02-02 17:18:21 -08:00
Lidi Zheng fe919dd71e Pin to 19.3.1 2019-12-19 10:53:55 -08:00
Lidi Zheng f692cf520a Upgrade the Cython version whenever we can 2019-12-11 11:59:31 -08:00
Lidi Zheng 61d463672d Windows' gevent is always special! 2019-10-31 13:39:43 -07:00
Lidi Zheng 52b5c5a575 Make shellcheck happy 2019-10-25 13:05:05 -07:00
Lidi Zheng ac6d942a5b Make the speed up of compilation automatic on Linux 2019-10-25 11:26:19 -07:00
Lidi Zheng c66bdcdbe0 Unblock the compilation speed up 2019-10-23 19:09:41 -07:00
Mike Moore b132c34c61
Allow loading grpc/errors before grpc 2019-08-13 10:36:07 -06:00
Tommy Chen 39ac83a49e ruby-sigint ready to be merged! 2018-12-26 11:17:48 -08:00
Lidi Zheng 97453a3d81
Merge pull request #17303 from lidizheng/sanity-python-3
Run pylint test in Python 3
2018-12-20 11:22:37 -08:00
Lidi Zheng 45b3230ef2 Add grpcio-status extension package
* The new package has 2 API `from_call` and `to_status`
* Utilize the experimental API `abort_with_status`
* Add 5 unit test cases
2018-12-13 10:18:44 -08:00
Lidi Zheng 8cb2d0546d Upgrade sanity Docker image to debian:stretch
* Use latest pylint in Python 3.7 (they dropped support for PY2)
* Make latest pylint happy
* Forced to upgrade to shellcheck 0.4.4
* Make shellcheck 0.4.4 happy
* Adopt reviewers' advice to reduce global disabled rules
2018-12-10 16:21:49 -08:00
Lidi Zheng 53476eced4 Adopt reviewer's suggestions
* Correct the StatusCode
* Format code
* Use @staticmethod
* Fix typo
2018-11-28 10:30:39 -08:00
Lidi Zheng 43599facf4 Channelz Python wrapper implementation
* Expose the C-Core API in Cython layer
* Handle the object translation
* Create a separate package for Channelz specifically
* Handle nullptr and raise exception if seen one
* Translate C++ Channelz unit tests
* Adding 5 more invalid query unit tests

Adding peripheral utility for grpcio-channelz package
* Add to `pylint_code.sh`
* Add to Python build script
* Add to artifact build script
* Add to Bazel
* Add to Sphinx module list
2018-11-27 17:27:39 -08:00