grpc/test/distrib
Xuan Wang 9b424b5dd4 [Python o11y] Fix Python O11Y artifacts name (#35965)
Update observability to PYPI failed because the artifact name is not correct.

This PR:
* Fix the artifacts name.
* Add step to test observability artifacts in `test_packages.sh`.
* Added `-fno-ipa-cp` compile flag.
  * We're seeing `inlining failed in call to always_inline 'vsnprintf': function body can be overwritten at link time` errors when building from source using musl libc.
  * Based on [investigation](https://gitlab.alpinelinux.org/alpine/aports/-/issues/8626), it's because we're using `-flto` flag.
  * One solution is to [disable fortify by adding this flag](https://gitlab.alpinelinux.org/alpine/aports/-/issues/8626).

After this PR, the observability artifacts have the correct name:
* [Distribution Tests Python Linux](https://pantheon.corp.google.com/storage/browser/grpc-testing-kokoro-prod/test_result_public/prod/grpc/core/pull_request/linux/grpc_distribtests_python/28687/20240223-105306/github/grpc/artifacts;tab=objects?pageState=(%22StorageObjectListTable%22:(%22f%22:%22%255B%255D%22))&e=13802955&mods=-logs_tg_prod&prefix=&forceOnObjectsSortingFiltering=false)

Also tested that the artifacts build in this PR can be successfully uploaded to testpypi:
* https://test.pypi.org/project/grpcio-observability/1.63.0.dev0

<!--

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 #35965

PiperOrigin-RevId: 611268154
2024-02-28 16:33:28 -08:00
..
bazel [Python Bazel] Allow overwriting grpc_library in python_rules.bzl (#35629) 2024-02-13 11:45:29 -08:00
cpp Making windows/dll test no-op temporarily. This will be reenabled once DLL work is done. 2023-12-01 16:24:25 -08:00
csharp [csharp] Use a stable/supported C# runtime in ubuntu 22.04 distribtest docker images (#35955) 2024-02-27 10:34:33 -08:00
gcf/python [distribtest] Use the blessed method to get GCF support Python runtimes (#34554) 2023-10-04 11:55:14 -07:00
php [test] Run PHP distribtests with make -j8 (#33831) 2023-07-24 11:38:50 -07:00
python [Python o11y] Fix Python O11Y artifacts name (#35965) 2024-02-28 16:33:28 -08:00
ruby Pointing the protobuf submodule to the new URL (#26811) 2021-07-29 10:19:16 -07:00