This is an automated email from the ASF dual-hosted git repository.

wusheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/skywalking.git


The following commit(s) were added to refs/heads/master by this push:
     new 7e93babb2f Fix Virtual GenAI e2e test failure (#13810)
7e93babb2f is described below

commit 7e93babb2f694e6ed47cd09871ec50f85134a0a2
Author: 吴晟 Wu Sheng <[email protected]>
AuthorDate: Fri Apr 10 18:47:59 2026 +0800

    Fix Virtual GenAI e2e test failure (#13810)
    
    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.
---
 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
 

Reply via email to