Closed Bug 1886407 Opened 2 years ago Closed 8 months ago

Intermittent mozilla.components.support.webextensions.WebExtensionSupportTest.reacts to install permission request | java.lang.IllegalStateException: Dispatchers.Main is used concurrently with setting it

Categories

(Firefox for Android :: WebExtensions, defect, P2)

All
Android
defect

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: intermittent-bug-filer, Unassigned)

Details

(Keywords: intermittent-failure)

Filed by: nfay [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=451446223&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/ewGS4h12TxyRpJ7TUHfyNw/runs/0/artifacts/public/logs/live_backing.log


[task 2024-03-20T11:03:16.829Z]   TEST: reacts to install permission request
[task 2024-03-20T11:03:16.829Z]     Exception in thread "BrowserStore-thread-1 @coroutine#287" java.lang.RuntimeException: Exception while trying to handle coroutine exception
[task 2024-03-20T11:03:16.829Z]     at kotlinx.coroutines.CoroutineExceptionHandlerKt.handlerException(CoroutineExceptionHandler.kt:33)
[task 2024-03-20T11:03:16.829Z]     at kotlinx.coroutines.CoroutineExceptionHandlerKt.handleCoroutineException(CoroutineExceptionHandler.kt:24)
[task 2024-03-20T11:03:16.829Z]     at kotlinx.coroutines.StandaloneCoroutine.handleJobException(Builders.common.kt:190)
[task 2024-03-20T11:03:16.829Z]     at kotlinx.coroutines.JobSupport.finalizeFinishingState(JobSupport.kt:228)
[task 2024-03-20T11:03:16.829Z]     at kotlinx.coroutines.JobSupport.tryMakeCompletingSlowPath(JobSupport.kt:907)
[task 2024-03-20T11:03:16.829Z]     at kotlinx.coroutines.JobSupport.tryMakeCompleting(JobSupport.kt:864)
[task 2024-03-20T11:03:16.829Z]     at kotlinx.coroutines.JobSupport.makeCompletingOnce$kotlinx_coroutines_core(JobSupport.kt:829)
[task 2024-03-20T11:03:16.829Z]     at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:97)
[task 2024-03-20T11:03:16.829Z]     at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
[task 2024-03-20T11:03:16.829Z]     at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
[task 2024-03-20T11:03:16.829Z]     at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
[task 2024-03-20T11:03:16.829Z]     at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
[task 2024-03-20T11:03:16.829Z]     at java.base/java.lang.Thread.run(Thread.java:840)
[task 2024-03-20T11:03:16.829Z]     Suppressed: java.lang.IllegalStateException: Module with the Main dispatcher had failed to initialize. For tests Dispatchers.setMain from kotlinx-coroutines-test module can be used
[task 2024-03-20T11:03:16.829Z]     at kotlinx.coroutines.internal.MissingMainCoroutineDispatcher.missing(MainDispatchers.kt:111)
[task 2024-03-20T11:03:16.829Z]     at kotlinx.coroutines.internal.MissingMainCoroutineDispatcher.isDispatchNeeded(MainDispatchers.kt:92)
[task 2024-03-20T11:03:16.829Z]     at kotlinx.coroutines.test.internal.TestMainDispatcher.isDispatchNeeded(TestMainDispatcher.kt:27)
[task 2024-03-20T11:03:16.829Z]     at kotlinx.coroutines.DispatchedTaskKt.dispatch(DispatchedTask.kt:156)
[task 2024-03-20T11:03:16.829Z]     at kotlinx.coroutines.CancellableContinuationImpl.dispatchResume(CancellableContinuationImpl.kt:470)
[task 2024-03-20T11:03:16.829Z]     at kotlinx.coroutines.CancellableContinuationImpl.completeResume(CancellableContinuationImpl.kt:586)
[task 2024-03-20T11:03:16.829Z]     at kotlinx.coroutines.channels.BufferedChannelKt.tryResume0(BufferedChannel.kt:2904)
[task 2024-03-20T11:03:16.829Z]     at kotlinx.coroutines.channels.BufferedChannelKt.access$tryResume0(BufferedChannel.kt:1)
[task 2024-03-20T11:03:16.829Z]     at kotlinx.coroutines.channels.BufferedChannel$BufferedChannelIterator.tryResumeHasNext(BufferedChannel.kt:1694)
[task 2024-03-20T11:03:16.829Z]     at kotlinx.coroutines.channels.BufferedChannel.tryResumeReceiver(BufferedChannel.kt:642)
[task 2024-03-20T11:03:16.829Z]     at kotlinx.coroutines.channels.BufferedChannel.updateCellSend(BufferedChannel.kt:458)
[task 2024-03-20T11:03:16.829Z]     at kotlinx.coroutines.channels.BufferedChannel.access$updateCellSend(BufferedChannel.kt:36)
[task 2024-03-20T11:03:16.829Z]     at kotlinx.coroutines.channels.ConflatedBufferedChannel.trySendDropOldest-JP2dKIU(ConflatedBufferedChannel.kt:163)
[task 2024-03-20T11:03:16.829Z]     at kotlinx.coroutines.channels.ConflatedBufferedChannel.trySendImpl-Mj0NB7M(ConflatedBufferedChannel.kt:57)
[task 2024-03-20T11:03:16.829Z]     at kotlinx.coroutines.channels.ConflatedBufferedChannel.send$suspendImpl(ConflatedBufferedChannel.kt:37)
[task 2024-03-20T11:03:16.829Z]     at kotlinx.coroutines.channels.ConflatedBufferedChannel.send(ConflatedBufferedChannel.kt)
[task 2024-03-20T11:03:16.829Z]     at kotlinx.coroutines.channels.ChannelCoroutine.send(ChannelCoroutine.kt)
[task 2024-03-20T11:03:16.829Z]     at mozilla.components.lib.state.ext.StoreExtensionsKt$flow$1$subscription$1$1.invokeSuspend(StoreExtensions.kt:178)
[task 2024-03-20T11:03:16.829Z]     at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
[task 2024-03-20T11:03:16.829Z]     at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
[task 2024-03-20T11:03:16.829Z]     at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:277)
[task 2024-03-20T11:03:16.829Z]     at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:95)
[task 2024-03-20T11:03:16.829Z]     at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:69)
[task 2024-03-20T11:03:16.829Z]     at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
[task 2024-03-20T11:03:16.829Z]     at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:48)
[task 2024-03-20T11:03:16.829Z]     at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
[task 2024-03-20T11:03:16.829Z]     at mozilla.components.lib.state.ext.StoreExtensionsKt$flow$1$subscription$1.invoke(StoreExtensions.kt:176)
[task 2024-03-20T11:03:16.829Z]     at mozilla.components.lib.state.ext.StoreExtensionsKt$flow$1$subscription$1.invoke(StoreExtensions.kt:175)
[task 2024-03-20T11:03:16.829Z]     at mozilla.components.lib.state.Store$Subscription.dispatch$lib_state_release(Store.kt:157)
[task 2024-03-20T11:03:16.829Z]     at mozilla.components.lib.state.Store.transitionTo$lib_state_release(Store.kt:110)
[task 2024-03-20T11:03:16.829Z]     at mozilla.components.lib.state.internal.ReducerChainBuilder$build$chain$1.invoke(ReducerChainBuilder.kt:52)
[task 2024-03-20T11:03:16.829Z]     at mozilla.components.lib.state.internal.ReducerChainBuilder$build$chain$1.invoke(ReducerChainBuilder.kt:50)
[task 2024-03-20T11:03:16.829Z]     at mozilla.components.lib.state.internal.ReducerChainBuilder$build$threadCheck$1.invoke(ReducerChainBuilder.kt:57)
[task 2024-03-20T11:03:16.829Z]     at mozilla.components.lib.state.internal.ReducerChainBuilder$build$threadCheck$1.invoke(ReducerChainBuilder.kt:55)
[task 2024-03-20T11:03:16.829Z]     at mozilla.components.lib.state.internal.ReducerChainBuilder$build$1$1.invoke(ReducerChainBuilder.kt:62)
[task 2024-03-20T11:03:16.829Z]     at mozilla.components.lib.state.internal.ReducerChainBuilder$build$1$1.invoke(ReducerChainBuilder.kt:62)
[task 2024-03-20T11:03:16.829Z]     at mozilla.components.lib.state.Store$dispatch$1.invokeSuspend(Store.kt:96)
[task 2024-03-20T11:03:16.829Z]     at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
[task 2024-03-20T11:03:16.829Z]     ... 4 more
[task 2024-03-20T11:03:16.829Z]     Caused by: java.lang.RuntimeException: Method getMainLooper in android.os.Looper not mocked. See https://developer.android.com/r/studio-ui/build/not-mocked for details.
[task 2024-03-20T11:03:16.829Z]     at android.os.Looper.getMainLooper(Looper.java)
[task 2024-03-20T11:03:16.829Z]     at kotlinx.coroutines.android.AndroidDispatcherFactory.createDispatcher(HandlerDispatcher.kt:51)
[task 2024-03-20T11:03:16.829Z]     at kotlinx.coroutines.internal.MainDispatchersKt.tryCreateDispatcher(MainDispatchers.kt:53)
[task 2024-03-20T11:03:16.829Z]     at kotlinx.coroutines.test.internal.TestMainDispatcherFactory.createDispatcher(TestMainDispatcherJvm.kt:11)
[task 2024-03-20T11:03:16.829Z]     at kotlinx.coroutines.internal.MainDispatchersKt.tryCreateDispatcher(MainDispatchers.kt:53)
[task 2024-03-20T11:03:16.829Z]     at kotlinx.coroutines.internal.MainDispatcherLoader.loadMainDispatcher(MainDispatchers.kt:34)
[task 2024-03-20T11:03:16.829Z]     at kotlinx.coroutines.internal.MainDispatcherLoader.<clinit>(MainDispatchers.kt:18)
[task 2024-03-20T11:03:16.829Z]     at kotlinx.coroutines.Dispatchers.getMain(Dispatchers.kt:20)
[task 2024-03-20T11:03:16.829Z]     at kotlinx.coroutines.test.internal.TestMainDispatcher$Companion.getCurrentTestDispatcher$kotlinx_coroutines_test(TestMainDispatcher.kt:47)
[task 2024-03-20T11:03:16.829Z]     at kotlinx.coroutines.test.internal.TestMainDispatcher$Companion.getCurrentTestScheduler$kotlinx_coroutines_test(TestMainDispatcher.kt:50)
[task 2024-03-20T11:03:16.829Z]     at kotlinx.coroutines.test.TestCoroutineDispatchersKt.UnconfinedTestDispatcher(TestCoroutineDispatchers.kt:83)
[task 2024-03-20T11:03:16.829Z]     at kotlinx.coroutines.test.TestCoroutineDispatchersKt.UnconfinedTestDispatcher$default(TestCoroutineDispatchers.kt:79)
[task 2024-03-20T11:03:16.829Z]     at mozilla.components.support.test.rule.MainCoroutineRule.<init>(MainCoroutineRule.kt:38)
[task 2024-03-20T11:03:16.829Z]     at mozilla.components.support.webextensions.WebExtensionPopupObserverTest.<init>(WebExtensionPopupObserverTest.kt:24)
[task 2024-03-20T11:03:16.829Z]     at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[task 2024-03-20T11:03:16.829Z]     at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77)
[task 2024-03-20T11:03:16.829Z]     at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
[task 2024-03-20T11:03:16.829Z]     at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
[task 2024-03-20T11:03:16.829Z]     at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480)
[task 2024-03-20T11:03:16.829Z]     at org.junit.runners.BlockJUnit4ClassRunner.createTest(BlockJUnit4ClassRunner.java:250)
[task 2024-03-20T11:03:16.829Z]     at org.junit.runners.BlockJUnit4ClassRunner.createTest(BlockJUnit4ClassRunner.java:260)
[task 2024-03-20T11:03:16.829Z]     at org.junit.runners.BlockJUnit4ClassRunner$2.runReflectiveCall(BlockJUnit4ClassRunner.java:309)
[task 2024-03-20T11:03:16.829Z]     at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
[task 2024-03-20T11:03:16.829Z]     at org.junit.runners.BlockJUnit4ClassRunner.methodBlock(BlockJUnit4ClassRunner.java:306)
[task 2024-03-20T11:03:16.829Z]     at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
[task 2024-03-20T11:03:16.829Z]     at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
[task 2024-03-20T11:03:16.830Z]     at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
[task 2024-03-20T11:03:16.830Z]     at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
[task 2024-03-20T11:03:16.830Z]     at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
[task 2024-03-20T11:03:16.830Z]     at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
[task 2024-03-20T11:03:16.830Z]     at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
[task 2024-03-20T11:03:16.830Z]     at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
[task 2024-03-20T11:03:16.830Z]     at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
[task 2024-03-20T11:03:16.830Z]     at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
[task 2024-03-20T11:03:16.830Z]     at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
[task 2024-03-20T11:03:16.830Z]     at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.runTestClass(JUnitTestClassExecutor.java:112)
[task 2024-03-20T11:03:16.830Z]     at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:58)
[task 2024-03-20T11:03:16.830Z]     at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:40)
[task 2024-03-20T11:03:16.830Z]     at org.gradle.api.internal.tasks.testing.junit.AbstractJUnitTestClassProcessor.processTestClass(AbstractJUnitTestClassProcessor.java:60)
[task 2024-03-20T11:03:16.830Z]     at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:52)
[task 2024-03-20T11:03:16.830Z]     at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[task 2024-03-20T11:03:16.830Z]     at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
[task 2024-03-20T11:03:16.830Z]     at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[task 2024-03-20T11:03:16.830Z]     at java.base/java.lang.reflect.Method.invoke(Method.java:568)
[task 2024-03-20T11:03:16.830Z]     at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)
[task 2024-03-20T11:03:16.830Z]     at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
[task 2024-03-20T11:03:16.830Z]     at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33)
[task 2024-03-20T11:03:16.830Z]     at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94)
[task 2024-03-20T11:03:16.830Z]     at jdk.proxy2/jdk.proxy2.$Proxy5.processTestClass(Unknown Source)
[task 2024-03-20T11:03:16.830Z]     at org.gradle.api.internal.tasks.testing.worker.TestWorker$2.run(TestWorker.java:176)
[task 2024-03-20T11:03:16.830Z]     at org.gradle.api.internal.tasks.testing.worker.TestWorker.executeAndMaintainThreadName(TestWorker.java:129)
[task 2024-03-20T11:03:16.830Z]     at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:100)
[task 2024-03-20T11:03:16.830Z]     at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:60)
[task 2024-03-20T11:03:16.830Z]     at org.gradle.process.internal.worker.child.ActionExecutionWorker.execute(ActionExecutionWorker.java:56)
[task 2024-03-20T11:03:16.830Z]     at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:113)
[task 2024-03-20T11:03:16.830Z]     at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:65)
[task 2024-03-20T11:03:16.830Z]     at worker.org.gradle.process.internal.worker.GradleWorkerMain.run(GradleWorkerMain.java:69)
[task 2024-03-20T11:03:16.830Z]     at worker.org.gradle.process.internal.worker.GradleWorkerMain.main(GradleWorkerMain.java:74)
[task 2024-03-20T11:03:16.830Z]     Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [mozilla.components.lib.state.Store$special$$inlined$CoroutineExceptionHandler$1@4f0c82af, CoroutineId(287), "coroutine#287":StandaloneCoroutine{Cancelling}@1c1cc1a9, java.util.concurrent.Executors$FinalizableDelegatedExecutorService@75feac33]
[task 2024-03-20T11:03:16.830Z]     Caused by: java.lang.RuntimeException: Method getMainLooper in android.os.Looper not mocked. See https://developer.android.com/r/studio-ui/build/not-mocked for details.
[task 2024-03-20T11:03:16.830Z]     at android.os.Looper.getMainLooper(Looper.java)
[task 2024-03-20T11:03:16.830Z]     at mozilla.components.lib.state.Store$special$$inlined$CoroutineExceptionHandler$1.handleException(CoroutineExceptionHandler.kt:107)
[task 2024-03-20T11:03:16.830Z]     at kotlinx.coroutines.CoroutineExceptionHandlerKt.handleCoroutineException(CoroutineExceptionHandler.kt:20)
[task 2024-03-20T11:03:16.830Z]     ... 11 more
[task 2024-03-20T11:03:16.929Z]   TEST-UNEXPECTED-FAIL | mozilla.components.support.webextensions.WebExtensionSupportTest.reacts to install permission request | java.lang.IllegalStateException: Dispatchers.Main is used concurrently with setting it
[task 2024-03-20T11:03:16.929Z] 
[task 2024-03-20T11:03:16.929Z]   TEST: GIVEN extension WHEN calling onInstallationFailedRequest THEN show the installation prompt error
[task 2024-03-20T11:03:16.929Z]     E [mozac-webextensions] onInstallationFailedRequest extensionId
[task 2024-03-20T11:03:16.929Z]     mozilla.components.concept.engine.webextension.WebExtensionInstallException$Blocklisted: java.lang.Exception
[task 2024-03-20T11:03:16.929Z]     at mozilla.components.support.webextensions.WebExtensionSupportTest.GIVEN extension WHEN calling onInstallationFailedRequest THEN show the installation prompt error(WebExtensionSupportTest.kt:542)
[task 2024-03-20T11:03:16.929Z]     at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[task 2024-03-20T11:03:16.929Z]     at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
[task 2024-03-20T11:03:16.929Z]     at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[task 2024-03-20T11:03:16.929Z]     at java.base/java.lang.reflect.Method.invoke(Method.java:568)
[task 2024-03-20T11:03:16.929Z]     at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
[task 2024-03-20T11:03:16.929Z]     at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
[task 2024-03-20T11:03:16.929Z]     at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
[task 2024-03-20T11:03:16.929Z]     at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
[task 2024-03-20T11:03:16.929Z]     at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
[task 2024-03-20T11:03:16.929Z]     at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:61)
[task 2024-03-20T11:03:16.929Z]     at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
[task 2024-03-20T11:03:16.929Z]     at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
[task 2024-03-20T11:03:16.929Z]     at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
[task 2024-03-20T11:03:16.929Z]     at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
[task 2024-03-20T11:03:16.929Z]     at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
[task 2024-03-20T11:03:16.929Z]     at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
[task 2024-03-20T11:03:16.929Z]     at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
[task 2024-03-20T11:03:16.929Z]     at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
[task 2024-03-20T11:03:16.929Z]     at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
[task 2024-03-20T11:03:16.929Z]     at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
[task 2024-03-20T11:03:16.929Z]     at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
[task 2024-03-20T11:03:16.929Z]     at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
[task 2024-03-20T11:03:16.929Z]     at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.runTestClass(JUnitTestClassExecutor.java:112)
[task 2024-03-20T11:03:16.929Z]     at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:58)
[task 2024-03-20T11:03:16.929Z]     at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:40)
[task 2024-03-20T11:03:16.929Z]     at org.gradle.api.internal.tasks.testing.junit.AbstractJUnitTestClassProcessor.processTestClass(AbstractJUnitTestClassProcessor.java:60)
[task 2024-03-20T11:03:16.929Z]     at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:52)
[task 2024-03-20T11:03:16.929Z]     at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[task 2024-03-20T11:03:16.929Z]     at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
[task 2024-03-20T11:03:16.929Z]     at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[task 2024-03-20T11:03:16.929Z]     at java.base/java.lang.reflect.Method.invoke(Method.java:568)
[task 2024-03-20T11:03:16.929Z]     at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)
[task 2024-03-20T11:03:16.929Z]     at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
[task 2024-03-20T11:03:16.929Z]     at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33)
[task 2024-03-20T11:03:16.929Z]     at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94)
[task 2024-03-20T11:03:16.929Z]     at jdk.proxy2/jdk.proxy2.$Proxy5.processTestClass(Unknown Source)
[task 2024-03-20T11:03:16.929Z]     at org.gradle.api.internal.tasks.testing.worker.TestWorker$2.run(TestWorker.java:176)
[task 2024-03-20T11:03:16.929Z]     at org.gradle.api.internal.tasks.testing.worker.TestWorker.executeAndMaintainThreadName(TestWorker.java:129)
[task 2024-03-20T11:03:16.929Z]     at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:100)
[task 2024-03-20T11:03:16.929Z]     at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:60)
[task 2024-03-20T11:03:16.929Z]     at org.gradle.process.internal.worker.child.ActionExecutionWorker.execute(ActionExecutionWorker.java:56)
[task 2024-03-20T11:03:16.929Z]     at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:113)
[task 2024-03-20T11:03:16.929Z]     at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:65)
[task 2024-03-20T11:03:16.929Z]     at worker.org.gradle.process.internal.worker.GradleWorkerMain.run(GradleWorkerMain.java:69)
[task 2024-03-20T11:03:16.929Z]     at worker.org.gradle.process.internal.worker.GradleWorkerMain.main(GradleWorkerMain.java:74)
[task 2024-03-20T11:03:16.929Z]     Caused by: java.lang.Exception
[task 2024-03-20T11:03:16.929Z]     ... 46 more
[task 2024-03-20T11:03:16.929Z]   SUCCESS
[task 2024-03-20T11:03:16.929Z] 
[task 2024-03-20T11:03:17.229Z] 
[task 2024-03-20T11:03:17.229Z] 43 tests completed, 1 failed
[task 2024-03-20T11:03:17.329Z] 
[task 2024-03-20T11:03:17.329Z] > Task :support-webextensions:testReleaseUnitTest FAILED
[task 2024-03-20T11:03:17.329Z] > Task :support-webextensions:jacocoReleaseTestReport SKIPPED
[task 2024-03-20T11:03:17.329Z] > Task :support-webextensions:jacocoDebugTestReport SKIPPED
[task 2024-03-20T11:03:17.429Z] > Task :support-webextensions:packageDebugAndroidTest
[task 2024-03-20T11:03:17.429Z] > Task :support-webextensions:createDebugAndroidTestApkListingFileRedirect
[task 2024-03-20T11:03:23.129Z] > Task :browser-state:lintAnalyzeReleaseUnitTest
[task 2024-03-20T11:03:23.229Z] 
[task 2024-03-20T11:03:23.229Z] FAILURE: Build failed with an exception.
[task 2024-03-20T11:03:23.229Z] 
[task 2024-03-20T11:03:23.229Z] * What went wrong:
[task 2024-03-20T11:03:23.229Z] Execution failed for task ':support-webextensions:testReleaseUnitTest'.
[task 2024-03-20T11:03:23.229Z] > There were failing tests. See the report at: file:///builds/worker/checkouts/gecko/mobile/android/android-components/components/support/webextensions/build/reports/tests/testReleaseUnitTest/index.html
[task 2024-03-20T11:03:23.229Z] 
[task 2024-03-20T11:03:23.229Z] * Try:
[task 2024-03-20T11:03:23.229Z] > Run with --scan to get full insights.
[task 2024-03-20T11:03:23.229Z] 
[task 2024-03-20T11:03:23.229Z] Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
[task 2024-03-20T11:03:23.229Z] 
[task 2024-03-20T11:03:23.229Z] You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
[task 2024-03-20T11:03:23.229Z] 
[task 2024-03-20T11:03:23.229Z] For more on this, please refer to https://docs.gradle.org/8.6/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
[task 2024-03-20T11:03:23.229Z] 
[task 2024-03-20T11:03:23.229Z] BUILD FAILED in 3m
[task 2024-03-20T11:03:23.229Z] 879 actionable tasks: 617 executed, 262 from cache
[taskcluster 2024-03-20 11:03:24.545Z] === Task Finished ===

The Bugbug bot thinks this bug should belong to the 'Fenix::UI Tests' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: General → UI Tests
Component: UI Tests → WebExtensions

Clearing priority/severity because this breaks build tasks, not just tests, and as such impacts our ability to release.

Severity: S4 → --
Priority: P5 → --
Severity: -- → S2

Because this affects our ability to release I've set the severity as an S2 and will prioritize it tomorrow or update with a new severity.

Severity: S2 → S4
Priority: -- → P2
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Status: REOPENED → RESOLVED
Closed: 1 year ago1 year ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Status: REOPENED → RESOLVED
Closed: 1 year ago8 months ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.