You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by "wu-sheng (via GitHub)" <gi...@apache.org> on 2026/04/10 09:41:47 UTC
[PR] Fix Virtual GenAI e2e test failure by pinning Python dependencies [skywalking]
wu-sheng opened a new pull request, #13810:
URL: https://github.com/apache/skywalking/pull/13810
### Fix Virtual GenAI e2e test broken on master since April 9
- [x] Explain briefly why the bug exists and how to fix it.
**Root cause:** On April 9, `opentelemetry-sdk` updated to 1.41.0. The `opentelemetry-bootstrap --action=install` step in the Dockerfile auto-installs `opentelemetry-instrumentation-openai-v2==2.3b0` (the official OTel package), which is **incompatible** with OTel SDK 1.41.0 — it crashes with `TypeError: wrap_function_wrapper() got an unexpected keyword argument 'module'`. This silently kills all GenAI span attribute generation at runtime, so no `VIRTUAL_GENAI` service is ever created.
**Fix:**
1. **Remove `opentelemetry-bootstrap --action=install`** — it auto-installs the broken official package that conflicts with the working Traceloop instrumentation.
2. **Pin all Python dependency versions** — prevents future breakage from upstream releases.
**Verified locally** that Traceloop `opentelemetry-instrumentation-openai==0.58.0` with OTel SDK 1.41.0 produces all required span attributes:
- `gen_ai.response.model` ✅
- `gen_ai.provider.name` ✅
- `gen_ai.usage.input_tokens` ✅
- `gen_ai.usage.output_tokens` ✅
Also includes a minor indentation fix in `pom.xml` (gpg-plugin closing tags).
- [ ] Update the [`CHANGES` log](https://github.com/apache/skywalking/blob/master/docs/en/changes/changes.md).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@skywalking.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Fix Virtual GenAI e2e test failure by pinning Python dependencies [skywalking]
Posted by "wu-sheng (via GitHub)" <gi...@apache.org>.
wu-sheng merged PR #13810:
URL: https://github.com/apache/skywalking/pull/13810
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@skywalking.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org