perf: Avoid per-transaction Timer thread in SentryTracer (JAVA-596) #14999
build.yml
on: pull_request
Build Job ubuntu-latest - Java 17
17m 10s
Annotations
3 errors and 1 warning
|
io.sentry.android.core.ActivityLifecycleIntegrationTest ► When tracing auto finish is enabled and ttid and ttfd spans are finished, it schedules the transaction finish:
sentry-android-core/build/test-results/testReleaseUnitTest/TEST-io.sentry.android.core.ActivityLifecycleIntegrationTest.xml#L0
Failed test found in:
sentry-android-core/build/test-results/testReleaseUnitTest/TEST-io.sentry.android.core.ActivityLifecycleIntegrationTest.xml
Error:
org.mockito.exceptions.verification.WantedButNotInvoked: org.mockito.exceptions.verification.WantedButNotInvoked:
Wanted but not invoked:
scopes.captureTransaction(
<custom argument matcher>,
<any>,
<any>,
<any>
);
-> at io.sentry.Scopes.captureTransaction(Scopes.java:814)
However, there were exactly 19 interactions with this mock:
scopes.configureScope(
io.sentry.android.core.ActivityLifecycleIntegration$$Lambda$306/0x00007fba2878fcb8@73ef228b
);
-> at io.sentry.android.core.ActivityLifecycleIntegration.onActivityCreated(ActivityLifecycleIntegration.java:559)
scopes.startTransaction(
io.sentry.TransactionContext@2d0e203a,
io.sentry.TransactionOptions@58bc27a8
);
-> at io.sentry.android.core.ActivityLifecycleIntegration.startTracing(ActivityLifecycleIntegration.java:322)
scopes.getOptions();
-> at io.sentry.SentryTracer.setDefaultSpanData(SentryTracer.java:537)
scopes.getOptions();
-> at io.sentry.SentryTracer.getProfilerId(SentryTracer.java:550)
scopes.getOptions();
-> at io.sentry.SentryTracer.getProfilerId(SentryTracer.java:550)
scopes.getOptions();
-> at io.sentry.SentryTracer.<init>(SentryTracer.java:104)
scopes.getOptions();
-> at io.sentry.SentryTracer.createChild(SentryTracer.java:617)
scopes.getOptions();
-> at io.sentry.SentryTracer.createChild(SentryTracer.java:453)
scopes.getOptions();
-> at io.sentry.SentryTracer.createChild(SentryTracer.java:461)
scopes.getOptions();
-> at io.sentry.SentryTracer.setDefaultSpanData(SentryTracer.java:537)
scopes.getOptions();
-> at io.sentry.SentryTracer.getProfilerId(SentryTracer.java:550)
scopes.getOptions();
-> at io.sentry.SentryTracer.createChild(SentryTracer.java:617)
scopes.getOptions();
-> at io.sentry.SentryTracer.createChild(SentryTracer.java:453)
scopes.getOptions();
-> at io.sentry.SentryTracer.createChild(SentryTracer.java:461)
scopes.getOptions();
-> at io.sentry.SentryTracer.setDefaultSpanData(SentryTracer.java:537)
scopes.getOptions();
-> at io.sentry.SentryTracer.getProfilerId(SentryTracer.java:550)
scopes.configureScope(
io.sentry.android.core.ActivityLifecycleIntegration$$Lambda$314/0x00007fba28792cb8@120f6987
);
-> at io.sentry.android.core.ActivityLifecycleIntegration.startTracing(ActivityLifecycleIntegration.java:389)
scopes.getOptions();
-> at io.sentry.Span.finish(Span.java:177)
scopes.getOptions();
-> at io.sentry.Span.finish(Span.java:177)
|
|
io.sentry.android.core.ActivityLifecycleIntegrationTest ► ttfd span is trimmed if reportFullyDisplayed is never called:
sentry-android-core/build/test-results/testReleaseUnitTest/TEST-io.sentry.android.core.ActivityLifecycleIntegrationTest.xml#L0
Failed test found in:
sentry-android-core/build/test-results/testReleaseUnitTest/TEST-io.sentry.android.core.ActivityLifecycleIntegrationTest.xml
Error:
java.lang.AssertionError: java.lang.AssertionError: expected:<io.sentry.SentryInstantDate@2b66159c> but was:<io.sentry.SentryInstantDate@2db3fcea>
|
|
Build Job ubuntu-latest - Java 17
Process completed with exit code 2.
|
|
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
|
2.01 MB |
sha256:55688051216d732619a3663c3df223ac6d985c3bc2b57cb4b2b1d373117674d1
|
|