grpc/tools/run_tests/helper_scripts
Xuan Wang 7f2ecdb3f8 [Python Observability] Building package and add to run_test (#34207)
### Changes in this PR
* Refactor and remove some Core/C++ dependencies to simplify Python Observability package build process.
* Refactored code to read config at Python layer.
* Enable observability build from source.
* Add observability to run_test.
  * Currently it's only enabled in Linux.
* Add error handler in run_test loaders.
  * Current framework will always visit modules in test directory then decide which tests to skip.
  * Since we're not building Observability for MacOS and Windows this step will fail with error `No module named 'grpc_observability'`.
  * After the change we'll just skip those modules.
    * We still have `_sanity_test` to make sure all tests are loaded correctly for each platform.
* Remov OC dependency as we're migrating to OTel.
  * Also removed trace from testing.
  * Note that trace propagation function was also removed because of this.

### Testing
* Passed existing tests.
* Tested locally, able to build observability from source using `GRPC_PYTHON_BUILD_WITH_CYTHON=1 pip install .`.

<!--

If you know who should review your pull request, please assign it to that
person, otherwise the pull request would get assigned randomly.

If your pull request is for a specific language, please add the appropriate
lang label.

-->

Closes #34207

PiperOrigin-RevId: 590258014
2023-12-12 10:51:35 -08:00
..
build_csharp.bat Remove C# implementation (individual packages will continue to be maintained through v2.46.x patches or moved to grpc-dotnet) (#29225) 2022-04-28 12:00:34 +02:00
build_csharp.sh Remove C# implementation (individual packages will continue to be maintained through v2.46.x patches or moved to grpc-dotnet) (#29225) 2022-04-28 12:00:34 +02:00
build_cxx.bat [cmake] Improved stdalign.h workaround for windows build (#32777) 2023-04-05 08:20:20 +00:00
build_cxx.sh Remove epollex poller (#29160) 2022-03-21 10:27:52 -07:00
build_php.sh run_tests.py cleanup and simplification (#28808) 2022-02-08 18:41:56 +01:00
build_python.sh [Python Observability] Building package and add to run_test (#34207) 2023-12-12 10:51:35 -08:00
build_python_msys2.sh Fix build_python_msys2.sh to pass shellcheck 2017-12-15 13:31:44 -08:00
build_ruby.sh [bazel] Reintroduce bazelified ruby and python tests (#34033) 2023-08-16 19:00:19 +02:00
bundle_install_wrapper.sh Build ruby artifacts in parallel (#28243) 2022-01-19 18:28:27 +01:00
post_tests_c.sh Fix post_tests_c.sh to pass shellcheck 2017-12-15 13:31:44 -08:00
post_tests_csharp.bat Remove C# implementation (individual packages will continue to be maintained through v2.46.x patches or moved to grpc-dotnet) (#29225) 2022-04-28 12:00:34 +02:00
post_tests_csharp.sh Remove C# implementation (individual packages will continue to be maintained through v2.46.x patches or moved to grpc-dotnet) (#29225) 2022-04-28 12:00:34 +02:00
post_tests_php.sh Fix post_tests_php.sh to pass shellcheck 2017-12-15 13:31:44 -08:00
post_tests_python.sh Fix post_tests_python.sh to pass shellcheck 2017-12-15 13:31:44 -08:00
post_tests_ruby.sh Fix post_tests_ruby.sh to pass shellcheck 2017-12-15 13:31:44 -08:00
pre_build_csharp.bat Remove C# implementation (individual packages will continue to be maintained through v2.46.x patches or moved to grpc-dotnet) (#29225) 2022-04-28 12:00:34 +02:00
pre_build_csharp.sh Remove C# implementation (individual packages will continue to be maintained through v2.46.x patches or moved to grpc-dotnet) (#29225) 2022-04-28 12:00:34 +02:00
pre_build_ruby.sh Fix pre_build_ruby.sh to pass shellcheck 2017-12-15 13:31:44 -08:00
prep_xds.sh [PSM Interop] Legacy tests: update Kokoro to Ubuntu 22.04 (#33685) 2023-07-25 11:08:19 -07:00
run_grpc-node.sh temporarily disable node tests 2020-04-02 14:06:49 +02:00
run_python.sh Fix python tests on kokoro macos monterey (#31126) 2022-10-10 17:45:31 +02:00
run_ruby.sh Move a script which has a pre-requirement to outside of spec 2018-06-16 22:38:15 +09:00
run_tests_in_workspace.sh run_tests_matrix.py: run workspace jobs with python3 (#28125) 2022-03-14 12:12:51 +01:00