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

Signed-off-by: Nick Hill <nickhill123@gmail.com>

Nick Hill committed Jul 1, 2026 at 15:00 UTC f1cf6b0086b95c9594ea685673b9cf8d95ed9b0a
1 file changed +4 -5
tests/v1/tracing/test_tracing.py
+4 -5
@@ -25,11 +25,10 @@ def test_traces(
25 ):
26 with monkeypatch.context() as m:
27 m.setenv(OTEL_EXPORTER_OTLP_TRACES_INSECURE, "true")
28 - if current_platform.is_rocm():
29 - # The fake OTLP server starts gRPC worker threads before the engine
30 - # core is launched. On ROCm CI, forking while those threads are
31 - # active can segfault in gRPC during engine startup or teardown.
32 - m.setenv("VLLM_WORKER_MULTIPROC_METHOD", "spawn")
28 + # The fake OTLP server starts gRPC worker threads before the engine
29 + # core is launched. gRPC's C-core is not fork-safe and can segfault
30 + # if forked.
31 + m.setenv("VLLM_WORKER_MULTIPROC_METHOD", "spawn")
32
33 sampling_params = SamplingParams(
34 temperature=0.01,