Skip to content

POTEL 68 - Add SentryOpenTelemetryMode.OFF #8717

POTEL 68 - Add SentryOpenTelemetryMode.OFF

POTEL 68 - Add SentryOpenTelemetryMode.OFF #8717

Triggered via pull request December 19, 2024 10:05
Status Failure
Total duration 9m 37s
Artifacts 1
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

build.yml

on: pull_request
Build Job ubuntu-latest - Java 17
9m 26s
Build Job ubuntu-latest - Java 17
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 2 warnings
io.sentry.SentryTest ► init multiple times calls scopes close with isRestarting true: sentry/build/test-results/test/TEST-io.sentry.SentryTest.xml#L1
Failed test found in: sentry/build/test-results/test/TEST-io.sentry.SentryTest.xml Error: org.mockito.exceptions.verification.WantedButNotInvoked: Wanted but not invoked: iScopes.close(true); -> at io.sentry.SentryTest.init multiple times calls scopes close with isRestarting true(SentryTest.kt:81) However, there were exactly 4 interactions with this mock: iScopes.isNoOp(); -> at io.sentry.Sentry.getCurrentScopes(Sentry.java:101) iScopes.isEnabled(); -> at io.sentry.Sentry.isEnabled(Sentry.java:158) iScopes.isNoOp(); -> at io.sentry.Sentry.getCurrentScopes(Sentry.java:101) iScopes.isEnabled(); -> at io.sentry.Sentry.isEnabled(Sentry.java:158)
io.sentry.SentryTest ► global client is enabled after restart: sentry/build/test-results/test/TEST-io.sentry.SentryTest.xml#L1
Failed test found in: sentry/build/test-results/test/TEST-io.sentry.SentryTest.xml Error: org.mockito.exceptions.verification.WantedButNotInvoked: Wanted but not invoked: iScopes.close(true); -> at io.sentry.SentryTest.global client is enabled after restart(SentryTest.kt:141) However, there were exactly 4 interactions with this mock: iScopes.isNoOp(); -> at io.sentry.Sentry.getCurrentScopes(Sentry.java:101) iScopes.isEnabled(); -> at io.sentry.Sentry.isEnabled(Sentry.java:158) iScopes.isNoOp(); -> at io.sentry.Sentry.getCurrentScopes(Sentry.java:101) iScopes.isEnabled(); -> at io.sentry.Sentry.isEnabled(Sentry.java:158)
Build Job ubuntu-latest - Java 17
Process completed with exit code 2.
Build Job ubuntu-latest - Java 17
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build Job ubuntu-latest - Java 17
Test report summary exceeded limit of 65535 bytes and will be trimmed

Artifacts

Produced during runtime
Name Size Digest
test-results-build Expired
400 KB
sha256:19a31c195f5834999791e082caa197bb055e12d209c0147adae016163c11f39b