Closed
Bug 1892113
Opened 1 year ago
Closed 1 year ago
Intermittent mozilla.components.browser.state.engine.middleware.TranslationsMiddlewareTest.WHEN RemoveNeverTranslateSiteAction is dispatched AND removing is unsuccessful THEN FETCH_NEVER_TRANSLATE_SITES is dispatched | Wanted but not invoked:
Categories
(Firefox for Android :: General, defect, P5)
Tracking
()
RESOLVED
INCOMPLETE
People
(Reporter: intermittent-bug-filer, Unassigned)
Details
(Keywords: intermittent-failure)
Filed by: ncsoregi [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=454908559&repo=mozilla-beta
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/IX33VDmpS72OeSmderU4DQ/runs/0/artifacts/public/logs/live_backing.log
[task 2024-04-17T21:57:05.596Z] TEST: WHEN UpdatePageSettingAction is dispatched WITH UPDATE_NEVER_TRANSLATE_LANGUAGE AND updating the setting is unsuccessful THEN OperationRequestedAction with FETCH_PAGE_SETTINGS is dispatched
[task 2024-04-17T21:57:05.596Z] I [TranslationsMiddleware] Preparing to update the translations language preference.
[task 2024-04-17T21:57:05.596Z] I [TranslationsMiddleware] Updating language setting.
[task 2024-04-17T21:57:05.596Z] I [TranslationsMiddleware] Setting the translations language preference.
[task 2024-04-17T21:57:05.596Z] E [TranslationsMiddleware] Could not update the language preference.
[task 2024-04-17T21:57:05.596Z] java.lang.Throwable
[task 2024-04-17T21:57:05.596Z] at mozilla.components.browser.state.engine.middleware.TranslationsMiddlewareTest$WHEN UpdatePageSettingAction is dispatched WITH UPDATE_NEVER_TRANSLATE_LANGUAGE AND updating the setting is unsuccessful THEN OperationRequestedAction with FETCH_PAGE_SETTINGS is dispatched$1.invokeSuspend$lambda$0(TranslationsMiddlewareTest.kt:658)
[task 2024-04-17T21:57:05.596Z] at org.mockito.internal.stubbing.StubbedInvocationMatcher.answer(StubbedInvocationMatcher.java:42)
[task 2024-04-17T21:57:05.596Z] at org.mockito.internal.handler.MockHandlerImpl.handle(MockHandlerImpl.java:103)
[task 2024-04-17T21:57:05.596Z] at org.mockito.internal.handler.NullResultGuardian.handle(NullResultGuardian.java:29)
[task 2024-04-17T21:57:05.596Z] at org.mockito.internal.handler.InvocationNotifierHandler.handle(InvocationNotifierHandler.java:34)
[task 2024-04-17T21:57:05.597Z] at org.mockito.internal.creation.bytebuddy.MockMethodInterceptor.doIntercept(MockMethodInterceptor.java:82)
[task 2024-04-17T21:57:05.597Z] at org.mockito.internal.creation.bytebuddy.MockMethodInterceptor.doIntercept(MockMethodInterceptor.java:56)
[task 2024-04-17T21:57:05.597Z] at org.mockito.internal.creation.bytebuddy.MockMethodInterceptor$DispatcherDefaultingToRealMethod.interceptAbstract(MockMethodInterceptor.java:161)
[task 2024-04-17T21:57:05.597Z] at mozilla.components.concept.engine.Engine$MockitoMock$bhaDvZN1.setLanguageSetting(Unknown Source)
[task 2024-04-17T21:57:05.597Z] at mozilla.components.browser.state.engine.middleware.TranslationsMiddleware.updateLanguageSetting(TranslationsMiddleware.kt:727)
[task 2024-04-17T21:57:05.597Z] at mozilla.components.browser.state.engine.middleware.TranslationsMiddleware.updateLanguagePageSetting(TranslationsMiddleware.kt:704)
[task 2024-04-17T21:57:05.597Z] at mozilla.components.browser.state.engine.middleware.TranslationsMiddleware.access$updateLanguagePageSetting(TranslationsMiddleware.kt:35)
[task 2024-04-17T21:57:05.597Z] at mozilla.components.browser.state.engine.middleware.TranslationsMiddleware$invoke$11.invokeSuspend(TranslationsMiddleware.kt:136)
[task 2024-04-17T21:57:05.597Z] at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
[task 2024-04-17T21:57:05.597Z] at kotlinx.coroutines.internal.DispatchedContinuationKt.resumeCancellableWith(DispatchedContinuation.kt:363)
[task 2024-04-17T21:57:05.597Z] at kotlinx.coroutines.intrinsics.CancellableKt.startCoroutineCancellable(Cancellable.kt:26)
[task 2024-04-17T21:57:05.597Z] at kotlinx.coroutines.intrinsics.CancellableKt.startCoroutineCancellable$default(Cancellable.kt:21)
[task 2024-04-17T21:57:05.597Z] at kotlinx.coroutines.CoroutineStart.invoke(CoroutineStart.kt:88)
[task 2024-04-17T21:57:05.597Z] at kotlinx.coroutines.AbstractCoroutine.start(AbstractCoroutine.kt:123)
[task 2024-04-17T21:57:05.598Z] at kotlinx.coroutines.BuildersKt__Builders_commonKt.launch(Builders.common.kt:52)
[task 2024-04-17T21:57:05.598Z] at kotlinx.coroutines.BuildersKt.launch(Unknown Source)
[task 2024-04-17T21:57:05.598Z] at kotlinx.coroutines.BuildersKt__Builders_commonKt.launch$default(Builders.common.kt:43)
[task 2024-04-17T21:57:05.598Z] at kotlinx.coroutines.BuildersKt.launch$default(Unknown Source)
[task 2024-04-17T21:57:05.598Z] at mozilla.components.browser.state.engine.middleware.TranslationsMiddleware.invoke(TranslationsMiddleware.kt:135)
[task 2024-04-17T21:57:05.598Z] at mozilla.components.browser.state.engine.middleware.TranslationsMiddlewareTest$WHEN UpdatePageSettingAction is dispatched WITH UPDATE_NEVER_TRANSLATE_LANGUAGE AND updating the setting is unsuccessful THEN OperationRequestedAction with FETCH_PAGE_SETTINGS is dispatched$1.invokeSuspend(TranslationsMiddlewareTest.kt:667)
[task 2024-04-17T21:57:05.598Z] at mozilla.components.browser.state.engine.middleware.TranslationsMiddlewareTest$WHEN UpdatePageSettingAction is dispatched WITH UPDATE_NEVER_TRANSLATE_LANGUAGE AND updating the setting is unsuccessful THEN OperationRequestedAction with FETCH_PAGE_SETTINGS is dispatched$1.invoke(TranslationsMiddlewareTest.kt)
[task 2024-04-17T21:57:05.598Z] at mozilla.components.browser.state.engine.middleware.TranslationsMiddlewareTest$WHEN UpdatePageSettingAction is dispatched WITH UPDATE_NEVER_TRANSLATE_LANGUAGE AND updating the setting is unsuccessful THEN OperationRequestedAction with FETCH_PAGE_SETTINGS is dispatched$1.invoke(TranslationsMiddlewareTest.kt)
[task 2024-04-17T21:57:05.598Z] at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt$runTest$2$1$1.invokeSuspend(TestBuilders.kt:316)
[task 2024-04-17T21:57:05.598Z] at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
[task 2024-04-17T21:57:05.598Z] at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
[task 2024-04-17T21:57:05.598Z] at kotlinx.coroutines.test.TestDispatcher.processEvent$kotlinx_coroutines_test(TestDispatcher.kt:24)
[task 2024-04-17T21:57:05.598Z] at kotlinx.coroutines.test.TestCoroutineScheduler.tryRunNextTaskUnless$kotlinx_coroutines_test(TestCoroutineScheduler.kt:99)
[task 2024-04-17T21:57:05.598Z] at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt$runTest$2$1$workRunner$1.invokeSuspend(TestBuilders.kt:322)
[task 2024-04-17T21:57:05.598Z] at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
[task 2024-04-17T21:57:05.598Z] at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
[task 2024-04-17T21:57:05.598Z] at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:277)
[task 2024-04-17T21:57:05.598Z] at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:95)
[task 2024-04-17T21:57:05.598Z] at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:69)
[task 2024-04-17T21:57:05.598Z] at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
[task 2024-04-17T21:57:05.598Z] at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:48)
[task 2024-04-17T21:57:05.598Z] at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
[task 2024-04-17T21:57:05.598Z] at kotlinx.coroutines.test.TestBuildersJvmKt.createTestResult(TestBuildersJvm.kt:10)
[task 2024-04-17T21:57:05.598Z] at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt.runTest-8Mi8wO0(TestBuilders.kt:310)
[task 2024-04-17T21:57:05.598Z] at kotlinx.coroutines.test.TestBuildersKt.runTest-8Mi8wO0(Unknown Source)
[task 2024-04-17T21:57:05.598Z] at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt.runTest-8Mi8wO0(TestBuilders.kt:168)
[task 2024-04-17T21:57:05.598Z] at kotlinx.coroutines.test.TestBuildersKt.runTest-8Mi8wO0(Unknown Source)
[task 2024-04-17T21:57:05.598Z] at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt.runTest-8Mi8wO0$default(TestBuilders.kt:160)
[task 2024-04-17T21:57:05.598Z] at kotlinx.coroutines.test.TestBuildersKt.runTest-8Mi8wO0$default(Unknown Source)
[task 2024-04-17T21:57:05.598Z] at mozilla.components.browser.state.engine.middleware.TranslationsMiddlewareTest.WHEN UpdatePageSettingAction is dispatched WITH UPDATE_NEVER_TRANSLATE_LANGUAGE AND updating the setting is unsuccessful THEN OperationRequestedAction with FETCH_PAGE_SETTINGS is dispatched(TranslationsMiddlewareTest.kt:646)
[task 2024-04-17T21:57:05.598Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[task 2024-04-17T21:57:05.599Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
[task 2024-04-17T21:57:05.599Z] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[task 2024-04-17T21:57:05.599Z] at java.base/java.lang.reflect.Method.invoke(Method.java:568)
[task 2024-04-17T21:57:05.599Z] at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
[task 2024-04-17T21:57:05.599Z] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
[task 2024-04-17T21:57:05.599Z] at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
[task 2024-04-17T21:57:05.599Z] at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
[task 2024-04-17T21:57:05.599Z] at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
[task 2024-04-17T21:57:05.599Z] at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:61)
[task 2024-04-17T21:57:05.599Z] at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
[task 2024-04-17T21:57:05.599Z] at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
[task 2024-04-17T21:57:05.599Z] at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
[task 2024-04-17T21:57:05.600Z] at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
[task 2024-04-17T21:57:05.600Z] at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
[task 2024-04-17T21:57:05.600Z] at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
[task 2024-04-17T21:57:05.600Z] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
[task 2024-04-17T21:57:05.600Z] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
[task 2024-04-17T21:57:05.600Z] at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
[task 2024-04-17T21:57:05.600Z] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
[task 2024-04-17T21:57:05.600Z] at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
[task 2024-04-17T21:57:05.600Z] at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
[task 2024-04-17T21:57:05.600Z] at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.runTestClass(JUnitTestClassExecutor.java:112)
[task 2024-04-17T21:57:05.600Z] at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:58)
[task 2024-04-17T21:57:05.600Z] at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:40)
[task 2024-04-17T21:57:05.600Z] at org.gradle.api.internal.tasks.testing.junit.AbstractJUnitTestClassProcessor.processTestClass(AbstractJUnitTestClassProcessor.java:60)
[task 2024-04-17T21:57:05.600Z] at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:52)
[task 2024-04-17T21:57:05.600Z] at jdk.internal.reflect.GeneratedMethodAccessor58.invoke(Unknown Source)
[task 2024-04-17T21:57:05.600Z] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[task 2024-04-17T21:57:05.600Z] at java.base/java.lang.reflect.Method.invoke(Method.java:568)
[task 2024-04-17T21:57:05.600Z] at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)
[task 2024-04-17T21:57:05.600Z] at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
[task 2024-04-17T21:57:05.600Z] at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33)
[task 2024-04-17T21:57:05.600Z] at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94)
[task 2024-04-17T21:57:05.600Z] at jdk.proxy2/jdk.proxy2.$Proxy5.processTestClass(Unknown Source)
[task 2024-04-17T21:57:05.600Z] at org.gradle.api.internal.tasks.testing.worker.TestWorker$2.run(TestWorker.java:176)
[task 2024-04-17T21:57:05.600Z] at org.gradle.api.internal.tasks.testing.worker.TestWorker.executeAndMaintainThreadName(TestWorker.java:129)
[task 2024-04-17T21:57:05.600Z] at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:100)
[task 2024-04-17T21:57:05.600Z] at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:60)
[task 2024-04-17T21:57:05.600Z] at org.gradle.process.internal.worker.child.ActionExecutionWorker.execute(ActionExecutionWorker.java:56)
[task 2024-04-17T21:57:05.600Z] at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:113)
[task 2024-04-17T21:57:05.600Z] at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:65)
[task 2024-04-17T21:57:05.600Z] at worker.org.gradle.process.internal.worker.GradleWorkerMain.run(GradleWorkerMain.java:69)
[task 2024-04-17T21:57:05.600Z] at worker.org.gradle.process.internal.worker.GradleWorkerMain.main(GradleWorkerMain.java:74)
[task 2024-04-17T21:57:05.600Z] I [TranslationsMiddleware] Requesting page settings.
[task 2024-04-17T21:57:05.694Z] SUCCESS
[task 2024-04-17T21:57:05.694Z]
[task 2024-04-17T21:57:05.694Z] TEST: WHEN RemoveNeverTranslateSiteAction is dispatched AND removing is unsuccessful THEN FETCH_NEVER_TRANSLATE_SITES is dispatched
[task 2024-04-17T21:57:05.794Z] TEST-UNEXPECTED-FAIL | mozilla.components.browser.state.engine.middleware.TranslationsMiddlewareTest.WHEN RemoveNeverTranslateSiteAction is dispatched AND removing is unsuccessful THEN FETCH_NEVER_TRANSLATE_SITES is dispatched | Wanted but not invoked:
[task 2024-04-17T21:57:05.794Z] browserStore.dispatch(
[task 2024-04-17T21:57:05.794Z] OperationRequestedAction(tabId=1, operation=FETCH_NEVER_TRANSLATE_SITES)
[task 2024-04-17T21:57:05.794Z] );
[task 2024-04-17T21:57:05.794Z] -> at mozilla.components.lib.state.Store.dispatch(Store.kt:94)
[task 2024-04-17T21:57:05.794Z] Actually, there were zero interactions with this mock.
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
Comment 4•1 year ago
|
||
https://wiki.mozilla.org/Bug_Triage#Intermittent_Test_Failure_Cleanup
For more information, please visit BugBot documentation.
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•