This is an automated email from the ASF dual-hosted git repository. wusheng pushed a commit to branch fix/genai-e2e-pinned-deps in repository https://gitbox.apache.org/repos/asf/skywalking.git
commit 31ff51bbd9e10dde35e7327229e043f4a013fbc5 Author: Wu Sheng <[email protected]> AuthorDate: Fri Apr 10 17:40:57 2026 +0800 Fix Virtual GenAI e2e test failure and pom.xml formatting Pin Python dependencies in the OpenAI e2e test Dockerfile and remove `opentelemetry-bootstrap --action=install` which auto-installs the official `opentelemetry-instrumentation-openai-v2` package that is incompatible with OTel SDK 1.41.0, crashing GenAI instrumentation at runtime. Also fix indentation in pom.xml gpg-plugin closing tags. --- pom.xml | 8 ++++---- test/e2e-v2/script/dockerfile/Dockerfile-openai.python | 17 ++++++++--------- 2 files changed, 12 insertions(+), 13 deletions(-) diff --git a/pom.xml b/pom.xml index 4b4465a4f9..1f8e8764e8 100755 --- a/pom.xml +++ b/pom.xml @@ -419,10 +419,10 @@ <phase>verify</phase> <goals> <goal>sign</goal> - </goals> - </execution> - </executions> - </plugin> + </goals> + </execution> + </executions> + </plugin> <plugin> <groupId>org.cyclonedx</groupId> <artifactId>cyclonedx-maven-plugin</artifactId> diff --git a/test/e2e-v2/script/dockerfile/Dockerfile-openai.python b/test/e2e-v2/script/dockerfile/Dockerfile-openai.python index c23f03d603..35b6d66258 100644 --- a/test/e2e-v2/script/dockerfile/Dockerfile-openai.python +++ b/test/e2e-v2/script/dockerfile/Dockerfile-openai.python @@ -23,15 +23,14 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ RUN pip install --no-cache-dir --upgrade pip && \ pip install --no-cache-dir \ - openai \ - opentelemetry-api \ - opentelemetry-sdk \ - opentelemetry-instrumentation-openai \ - opentelemetry-exporter-otlp-proto-grpc \ - opentelemetry-exporter-zipkin-json \ - opentelemetry-distro - -RUN opentelemetry-bootstrap --action=install + openai==2.31.0 \ + opentelemetry-api==1.41.0 \ + opentelemetry-sdk==1.41.0 \ + opentelemetry-instrumentation==0.62b0 \ + opentelemetry-instrumentation-openai==0.58.0 \ + opentelemetry-exporter-otlp-proto-grpc==1.41.0 \ + opentelemetry-exporter-zipkin-json==1.41.0 \ + opentelemetry-distro==0.62b0 COPY python/openai-call.py /openai-call.py
