[CI] Fix segfault in tracing test (#47299)

Signed-off-by: Nick Hill <nickhill123@gmail.com>
This commit is contained in:
Nick Hill
2026-07-01 14:00:37 +00:00
committed by GitHub
parent a78c15616f
commit f1cf6b0086
+4 -5
View File
@@ -25,11 +25,10 @@ def test_traces(
):
with monkeypatch.context() as m:
m.setenv(OTEL_EXPORTER_OTLP_TRACES_INSECURE, "true")
if current_platform.is_rocm():
# The fake OTLP server starts gRPC worker threads before the engine
# core is launched. On ROCm CI, forking while those threads are
# active can segfault in gRPC during engine startup or teardown.
m.setenv("VLLM_WORKER_MULTIPROC_METHOD", "spawn")
# The fake OTLP server starts gRPC worker threads before the engine
# core is launched. gRPC's C-core is not fork-safe and can segfault
# if forked.
m.setenv("VLLM_WORKER_MULTIPROC_METHOD", "spawn")
sampling_params = SamplingParams(
temperature=0.01,