Closed Bug 1918991 Opened 1 year ago Closed 1 year ago

Intermittent mozilla.components.browser.state.engine.middleware.TranslationsMiddlewareTest.WHEN InitTranslationsBrowserState is dispatched AND the engine is supported THEN SetOfferTranslateSettingAction is also dispatched | Wanted but not invoked:

Categories

(Firefox for Android :: Translations, defect, P5)

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=474437084&repo=mozilla-release
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/V1dHPf-EQhC_DhEYhiEQXg/runs/0/artifacts/public/logs/live_backing.log


[task 2024-09-16T09:10:30.623Z] SUITE: mozilla.components.browser.state.engine.middleware.TranslationsMiddlewareTest
[task 2024-09-16T09:10:30.623Z]   TEST: WHEN ManageLanguageModelsAction is dispatched and fails THEN SetLanguageModelsAction is dispatched and an error is dispatched
[task 2024-09-16T09:10:31.123Z]     I [TranslationsMiddleware] Requesting the translations engine update the language model(s).
[task 2024-09-16T09:10:31.123Z]     E [TranslationsMiddleware] Could not update the language model(s).
[task 2024-09-16T09:10:31.123Z]     java.lang.Throwable
[task 2024-09-16T09:10:31.123Z]     at mozilla.components.browser.state.engine.middleware.TranslationsMiddlewareTest$WHEN ManageLanguageModelsAction is dispatched and fails THEN SetLanguageModelsAction is dispatched and an error is dispatched$1.invokeSuspend(TranslationsMiddlewareTest.kt:1123)
[task 2024-09-16T09:10:31.123Z]     at mozilla.components.browser.state.engine.middleware.TranslationsMiddlewareTest$WHEN ManageLanguageModelsAction is dispatched and fails THEN SetLanguageModelsAction is dispatched and an error is dispatched$1.invoke(TranslationsMiddlewareTest.kt)
[task 2024-09-16T09:10:31.123Z]     at mozilla.components.browser.state.engine.middleware.TranslationsMiddlewareTest$WHEN ManageLanguageModelsAction is dispatched and fails THEN SetLanguageModelsAction is dispatched and an error is dispatched$1.invoke(TranslationsMiddlewareTest.kt)
<...>
[task 2024-09-16T09:10:31.329Z]   TEST: WHEN InitTranslationsBrowserState is dispatched AND the engine is supported THEN SetOfferTranslateSettingAction is also dispatched
[task 2024-09-16T09:10:31.423Z]     I [TranslationsMiddleware] Success requesting engine support. isEngineSupported: true
[task 2024-09-16T09:10:31.423Z]     I [TranslationsMiddleware] Requesting offer setting.
[task 2024-09-16T09:10:31.523Z]   TEST-UNEXPECTED-FAIL | mozilla.components.browser.state.engine.middleware.TranslationsMiddlewareTest.WHEN InitTranslationsBrowserState is dispatched AND the engine is supported THEN SetOfferTranslateSettingAction is also dispatched | Wanted but not invoked:
[task 2024-09-16T09:10:31.523Z] browserStore.dispatch(
[task 2024-09-16T09:10:31.523Z]     SetGlobalOfferTranslateSettingAction(offerTranslation=false)
[task 2024-09-16T09:10:31.523Z] );
[task 2024-09-16T09:10:31.523Z] -> at mozilla.components.lib.state.Store.dispatch(Store.kt:94)
[task 2024-09-16T09:10:31.523Z] Actually, there were zero interactions with this mock.
[task 2024-09-16T09:10:31.523Z] 
[task 2024-09-16T09:10:31.523Z] 
[task 2024-09-16T09:10:31.523Z]   TEST: WHEN an Operation to FETCH_AUTOMATIC_LANGUAGE_SETTINGS is dispatched THEN SetLanguageSettingsAction is dispatched
[task 2024-09-16T09:10:31.523Z]     I [TranslationsMiddleware] Success requesting language settings.
[task 2024-09-16T09:10:31.523Z]   SUCCESS

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

Component: General → Translations
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
You need to log in before you can comment on or make changes to this bug.