Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Intermittent many test failures, e.g. java.lang.NoClassDefFoundError: org.mozilla.appservices.places.GleanMetrics.PlacesManager #2155

Open
Archaeopteryx opened this issue Dec 20, 2022 · 0 comments
Labels
eng:ui-test UI Tests

Comments

@Archaeopteryx
Copy link

Firebase Test Run:

https://treeherder.mozilla.org/logviewer?job_id=400024802&repo=reference-browser

Stacktrace:

java.lang.NoClassDefFoundError: org.mozilla.appservices.places.GleanMetrics.PlacesManager

     FATAL EXCEPTION: DefaultDispatcher-worker-8
Process: org.mozilla.reference.browser.debug, PID: 7742
java.lang.NoClassDefFoundError: org.mozilla.appservices.places.GleanMetrics.PlacesManager
	at mozilla.appservices.places.PlacesWriterConnection$writeQueryCounters$2.invoke(PlacesConnection.kt:482)
	at mozilla.appservices.places.PlacesWriterConnection$writeQueryCounters$2.invoke(PlacesConnection.kt:480)
	at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:74)
	at mozilla.appservices.places.PlacesWriterConnection.getWriteQueryCounters(PlacesConnection.kt:480)
	at mozilla.appservices.places.PlacesWriterConnection.noteObservation(PlacesConnection.kt:295)
	at mozilla.components.browser.storage.sync.PlacesHistoryStorage$recordObservation$2.invokeSuspend(PlacesHistoryStorage.kt:88)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
	at java.lang.Thread.run(Thread.java:923)
	Suppressed: kotlinx.coroutines.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelling}@b80a2d1, Dispatchers.IO]
Caused by: java.lang.UnsatisfiedLinkError: Error looking up function 'ffi_glean_b955_OnGleanEvents_init_callback': undefined symbol: ffi_glean_b955_OnGleanEvents_init_callback
	at com.sun.jna.Function.<init>(Function.java:252)
	at com.sun.jna.NativeLibrary.getFunction(NativeLibrary.java:604)
	at com.sun.jna.NativeLibrary.getFunction(NativeLibrary.java:580)
	at com.sun.jna.NativeLibrary.getFunction(NativeLibrary.java:566)
	at com.sun.jna.Library$Handler.invoke(Library.java:243)
	at java.lang.reflect.Proxy.invoke(Proxy.java:1006)
	at $Proxy16.ffi_glean_b955_OnGleanEvents_init_callback(Unknown Source)
	at mozilla.telemetry.glean.internal.FfiConverterTypeOnGleanEvents.register$glean_release(glean.kt:4043)
	at mozilla.telemetry.glean.internal._UniFFILib$Companion$INSTANCE$2.invoke(glean.kt:261)
	at mozilla.telemetry.glean.internal._UniFFILib$Companion$INSTANCE$2.invoke(glean.kt:258)
	at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:74)
	at mozilla.telemetry.glean.internal._UniFFILib$Companion.getINSTANCE$glean_release(glean.kt:258)
	at mozilla.telemetry.glean.internal.CounterMetric.<init>(glean.kt:1268)
	at org.mozilla.appservices.places.GleanMetrics.PlacesManager.<clinit>(PlacesManager.kt:48)
	at mozilla.appservices.places.PlacesWriterConnection$writeQueryCounters$2.invoke(PlacesConnection.kt:482)
	at mozilla.appservices.places.PlacesWriterConnection$writeQueryCounters$2.invoke(PlacesConnection.kt:480)
	at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:74)
	at mozilla.appservices.places.PlacesWriterConnection.getWriteQueryCounters(PlacesConnection.kt:480)
	at mozilla.appservices.places.PlacesWriterConnection.noteObservation(PlacesConnection.kt:295)
	at mozilla.components.browser.storage.sync.PlacesHistoryStorage$recordVisit$2.invokeSuspend(PlacesHistoryStorage.kt:66)
	... 5 more

Build:

c3c90c3

@Archaeopteryx Archaeopteryx added the eng:ui-test UI Tests label Dec 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
eng:ui-test UI Tests
Projects
None yet
Development

No branches or pull requests

1 participant