Perma [tier 2] org.mozilla.fenix.ui.WebControlsTest#verifyEmailLinkTest | java.lang.AssertionError: MozUITestLog com.google.android.gm not found
Categories
(Fenix :: UI Tests, defect, P5)
Tracking
(firefox132 unaffected, firefox133 fixed)
Tracking | Status | |
---|---|---|
firefox132 | --- | unaffected |
firefox133 | --- | fixed |
People
(Reporter: intermittent-bug-filer, Assigned: ajoltan)
Details
(Keywords: intermittent-failure, regression)
Attachments
(1 file)
4.02 KB,
patch
|
Details | Diff | Splinter Review |
Filed by: amarc [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=482677143&repo=mozilla-beta
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/SuzKlW83RP-nb2pC1lsHKQ/runs/0/artifacts/public/logs/live_backing.log
[task 2024-11-14T15:16:57.680Z] Shard 98: Expected: 0s, Actual: 47s, Diff: 47s
[task 2024-11-14T15:16:57.680Z] Shard 99: Expected: 0s, Actual: 42s, Diff: 42s
[task 2024-11-14T15:16:57.680Z]
[task 2024-11-14T15:16:57.680Z]
[task 2024-11-14T15:16:57.680Z] Command /usr/bin/java -jar /builds/worker/test-tools/flank.jar android run --config ./automation/taskcluster/androidTest/flank-arm64-v8a.yml --app /builds/worker/checkouts/gecko/mobile/android/fenix/app.apk --local-result-dir /builds/worker/artifacts/results --project moz-fenix --client-details matrixLabel=mozilla-beta,geckoRev=636403c3e8214db108cc84b1f941071d64572b50 --test /builds/worker/checkouts/gecko/mobile/android/fenix/android-test.apk failed with exit code 10
[task 2024-11-14T15:16:57.736Z] TEST-UNEXPECTED-FAIL | org.mozilla.fenix.ui.WebControlsTest#verifyEmailLinkTest | java.lang.AssertionError: MozUITestLog com.google.android.gm not found
[task 2024-11-14T15:16:57.736Z] at org.junit.Assert.fail(Assert.java:89)
[task 2024-11-14T15:16:57.736Z] at org.junit.Assert.assertTrue(Assert.java:42)
[task 2024-11-14T15:16:57.736Z] at org.mozilla.fenix.helpers.AppAndSystemHelper.assertNativeAppOpens(AppAndSystemHelper.kt:343)
[task 2024-11-14T15:16:57.736Z] at org.mozilla.fenix.ui.WebControlsTest$verifyEmailLinkTest$2.invoke(WebControlsTest.kt:135)
[task 2024-11-14T15:16:57.736Z] at org.mozilla.fenix.ui.WebControlsTest$verifyEmailLinkTest$2.invoke(WebControlsTest.kt:132)
[task 2024-11-14T15:16:57.736Z] at org.mozilla.fenix.ui.robots.NavigationToolbarRobot$Transition.enterURLAndEnterToBrowser(NavigationToolbarRobot.kt:226)
[task 2024-11-14T15:16:57.736Z] at org.mozilla.fenix.ui.WebControlsTest.verifyEmailLinkTest(WebControlsTest.kt:132)
[task 2024-11-14T15:16:57.736Z]
[task 2024-11-14T15:16:57.736Z]
[task 2024-11-14T15:16:57.736Z] ╔══════════════════════════════════════════════════════════════════════════════╤═════════╤═════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╗
[task 2024-11-14T15:16:57.736Z] ║ UI Test │ Outcome │ Details ║
[task 2024-11-14T15:16:57.736Z] ╟──────────────────────────────────────────────────────────────────────────────┼─────────┼─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╢
[task 2024-11-14T15:16:57.736Z] ║ org.mozilla.fenix.ui.WebControlsTest#verifyEmailLinkTest │ Failure │ java.lang.AssertionError: MozUITestLog com.google.android.gm not found ║
[task 2024-11-14T15:16:57.736Z] ║ │ │ at org.junit.Assert.fail(Assert.java:89) ║
[task 2024-11-14T15:16:57.736Z] ║ │ │ at org.junit.Assert.assertTrue(Assert.java:42) ║
[task 2024-11-14T15:16:57.736Z] ║ │ │ at org.mozilla.fenix.helpers.AppAndSystemHelper.assertNativeAppOpens(AppAndSystemHelper.kt:343) ║
[task 2024-11-14T15:16:57.736Z] ║ │ │ at org.mozilla.fenix.ui.WebControlsTest$verifyEmailLinkTest$2.invoke(WebControlsTest.kt:135) ║
[task 2024-11-14T15:16:57.736Z] ║ │ │ at org.mozilla.fenix.ui.WebControlsTest$verifyEmailLinkTest$2.invoke(WebControlsTest.kt:132) ║
[task 2024-11-14T15:16:57.736Z] ║ │ │ at org.mozilla.fenix.ui.robots.NavigationToolbarRobot$Transition.enterURLAndEnterToBrowser(NavigationToolbarRobot.kt:226) ║
[task 2024-11-14T15:16:57.736Z] ║ │ │ at org.mozilla.fenix.ui.WebControlsTest.verifyEmailLinkTest(WebControlsTest.kt:132) ║
[task 2024-11-14T15:16:57.736Z] ║ │ │ ║
[task 2024-11-14T15:16:57.736Z] ║ │ │ ║
[task 2024-11-14T15:16:57.736Z] ╟──────────────────────────────────────────────────────────────────────────────┼─────────┼─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╢
[task 2024-11-14T15:16:57.736Z] ║ org.mozilla.fenix.ui.SearchTest#verifyAPageIsAddedToASearchGroupOnlyOnceTest │ Flaky │ java.security.InvalidKeyException: unknown label: org.mozilla.fenix.debug ║
[task 2024-11-14T15:16:57.736Z] ║ │ │ at mozilla.components.lib.dataprotect.Keystore.createEncryptCipher(Keystore.kt:285) ║
[task 2024-11-14T15:16:57.736Z] ║ │ │ at mozilla.components.lib.dataprotect.Keystore.encryptBytes(Keystore.kt:233) ║
[task 2024-11-14T15:16:57.736Z] ║ │ │ at mozilla.components.lib.dataprotect.SecurePreferencesImpl23.putString(SecureAbove22Preferences.kt:211) ║
[task 2024-11-14T15:16:57.736Z] ║ │ │ at mozilla.components.lib.dataprotect.SecureAbove22Preferences.putString(SecureAbove22Preferences.kt:78) ║
[task 2024-11-14T15:16:57.736Z] ║ │ │ at mozilla.components.service.sync.logins.LoginsCrypto.storeKeyAndCanary(LoginsCrypto.kt:60) ║
[task 2024-11-14T15:16:57.736Z] ║ │ │ at mozilla.components.concept.storage.KeyManager.generateAndStoreKey(KeyManager.kt:105) ║
[task 2024-11-14T15:16:57.736Z] ║ │ │ at mozilla.components.concept.storage.KeyManager.getManagedKey(KeyManager.kt:93) ║
[task 2024-11-14T15:16:57.736Z] ║ │ │ at mozilla.components.concept.storage.KeyManager.getOrGenerateKey$suspendImpl(KeyManager.kt:52) ║
[task 2024-11-14T15:16:57.736Z] ║ │ │ at mozilla.components.concept.storage.KeyManager.getOrGenerateKey(Unknown Source:0) ║
[task 2024-11-14T15:16:57.736Z] ║ │ │ at mozilla.components.service.sync.logins.SyncableLoginsStorage$list$2.invokeSuspend(SyncableLoginsStorage.kt:159) ║
[task 2024-11-14T15:16:57.736Z] ║ │ │ at mozilla.components.service.sync.logins.SyncableLoginsStorage$list$2.invoke(Unknown Source:8) ║
[task 2024-11-14T15:16:57.736Z] ║ │ │ at mozilla.components.service.sync.logins.SyncableLoginsStorage$list$2.invoke(Unknown Source:4) ║
[task 2024-11-14T15:16:57.736Z] ║ │ │ at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:61) ║
[task 2024-11-14T15:16:57.736Z] ║ │ │ at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:163) ║
[task 2024-11-14T15:16:57.736Z] ║ │ │ at kotlinx.coroutines.BuildersKt.withContext(Unknown Source:1) ║
[task 2024-11-14T15:16:57.736Z] ║ │ │ at mozilla.components.service.sync.logins.SyncableLoginsStorage.list(SyncableLoginsStorage.kt:158) ║
[task 2024-11-14T15:16:57.736Z] ║ │ │ at org.mozilla.fenix.FenixApplication$setAutofillMetrics$1.invokeSuspend(FenixApplication.kt:986) ║
[task 2024-11-14T15:16:57.736Z] ║ │ │ at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) ║
[task 2024-11-14T15:16:57.736Z] ║ │ │ at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104) ║
[task 2024-11-14T15:16:57.736Z] ║ │ │ at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:111) ║
[task 2024-11-14T15:16:57.736Z] ║ │ │ at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:99) ║
[task 2024-11-14T15:16:57.736Z] ║ │ │ at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584) ║
[task 2024-11-14T15:16:57.736Z] ║ │ │ at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:811) ║
[task 2024-11-14T15:16:57.736Z] ║ │ │ at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:715) ║
[task 2024-11-14T15:16:57.736Z] ║ │ │ at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:702) ║
[task 2024-11-14T15:16:57.736Z] ║ │ │ Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelling}@72933ce, Dispatchers.IO] ║
[task 2024-11-14T15:16:57.736Z] ║ │ │ ║
[task 2024-11-14T15:16:57.736Z] ║ │ │ ║
[task 2024-11-14T15:16:57.736Z] ╟──────────────────────────────────────────────────────────────────────────────┼─────────┼─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╢
[task 2024-11-14T15:16:57.737Z] ║ org.mozilla.fenix.ui.TextSelectionTest#verifySearchTextOptionTest │ Flaky │ java.security.ProviderException: Keystore operation failed ║
[task 2024-11-14T15:16:57.737Z] ║ │ │ at android.security.keystore.AndroidKeyStoreKeyGeneratorSpi.engineGenerateKey(AndroidKeyStoreKeyGeneratorSpi.java:331) ║
[task 2024-11-14T15:16:57.737Z] ║ │ │ at javax.crypto.KeyGenerator.generateKey(KeyGenerator.java:612) ║
[task 2024-11-14T15:16:57.737Z] ║ │ │ at mozilla.components.lib.dataprotect.KeyStoreWrapper.makeKeyFor(Keystore.kt:106) ║
[task 2024-11-14T15:16:57.737Z] ║ │ │ at mozilla.components.lib.dataprotect.Keystore.generateKey(Keystore.kt:195) ║
[task 2024-11-14T15:16:57.737Z] ║ │ │ at mozilla.components.lib.dataprotect.Keystore.<init>(Keystore.kt:162) ║
[task 2024-11-14T15:16:57.737Z] ║ │ │ at mozilla.components.lib.dataprotect.Keystore.<init>(Keystore.kt:155) ║
[task 2024-11-14T15:16:57.737Z] ║ │ │ at mozilla.components.lib.dataprotect.SecurePreferencesImpl23$keystore$2.invoke(SecureAbove22Preferences.kt:158) ║
[task 2024-11-14T15:16:57.737Z] ║ │ │ at mozilla.components.lib.dataprotect.SecurePreferencesImpl23$keystore$2.invoke(SecureAbove22Preferences.kt:158) ║
[task 2024-11-14T15:16:57.737Z] ║ │ │ at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:74) ║
[task 2024-11-14T15:16:57.737Z] ║ │ │ at mozilla.components.lib.dataprotect.SecurePreferencesImpl23.getKeystore(SecureAbove22Preferences.kt:158) ║
[task 2024-11-14T15:16:57.737Z] ║ │ │ at mozilla.components.lib.dataprotect.SecurePreferencesImpl23.generateManagedKeyIfNecessary(SecureAbove22Preferences.kt:227) ║
[task 2024-11-14T15:16:57.737Z] ║ │ │ at mozilla.components.lib.dataprotect.SecurePreferencesImpl23.getString(SecureAbove22Preferences.kt:187) ║
[task 2024-11-14T15:16:57.742Z] ║ │ │ at mozilla.components.lib.dataprotect.SecureAbove22Preferences.getString(SecureAbove22Preferences.kt:76) ║
[task 2024-11-14T15:16:57.742Z] ║ │ │ at mozilla.components.service.sync.logins.LoginsCrypto.getStoredKey(LoginsCrypto.kt:53) ║
[task 2024-11-14T15:16:57.742Z] ║ │ │ at mozilla.components.concept.storage.KeyManager.getManagedKey(KeyManager.kt:65) ║
[task 2024-11-14T15:16:57.742Z] ║ │ │ at mozilla.components.concept.storage.KeyManager.getOrGenerateKey$suspendImpl(KeyManager.kt:52) ║
[task 2024-11-14T15:16:57.742Z] ║ │ │ at mozilla.components.concept.storage.KeyManager.getOrGenerateKey(Unknown Source:0) ║
[task 2024-11-14T15:16:57.742Z] ║ │ │ at mozilla.components.service.sync.logins.SyncableLoginsStorage$list$2.invokeSuspend(SyncableLoginsStorage.kt:159) ║
[task 2024-11-14T15:16:57.742Z] ║ │ │ at mozilla.components.service.sync.logins.SyncableLoginsStorage$list$2.invoke(Unknown Source:8) ║
[task 2024-11-14T15:16:57.742Z] ║ │ │ at mozilla.components.service.sync.logins.SyncableLoginsStorage$list$2.invoke(Unknown Source:4) ║
[task 2024-11-14T15:16:57.742Z] ║ │ │ at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:61) ║
[task 2024-11-14T15:16:57.742Z] ║ │ │ at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:163) ║
[task 2024-11-14T15:16:57.742Z] ║ │ │ at kotlinx.coroutines.BuildersKt.withContext(Unknown Source:1) ║
[task 2024-11-14T15:16:57.742Z] ║ │ │ at mozilla.components.service.sync.logins.SyncableLoginsStorage.list(SyncableLoginsStorage.kt:158) ║
[task 2024-11-14T15:16:57.742Z] ║ │ │ at org.mozilla.fenix.FenixApplication$setAutofillMetrics$1.invokeSuspend(FenixApplication.kt:986) ║
[task 2024-11-14T15:16:57.742Z] ║ │ │ at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) ║
[task 2024-11-14T15:16:57.742Z] ║ │ │ at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104) ║
[task 2024-11-14T15:16:57.742Z] ║ │ │ at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:111) ║
[task 2024-11-14T15:16:57.742Z] ║ │ │ at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:99) ║
[task 2024-11-14T15:16:57.742Z] ║ │ │ at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584) ║
[task 2024-11-14T15:16:57.742Z] ║ │ │ at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:811) ║
[task 2024-11-14T15:16:57.742Z] ║ │ │ at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:715) ║
[task 2024-11-14T15:16:57.742Z] ║ │ │ at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:702) ║
[task 2024-11-14T15:16:57.742Z] ║ │ │ Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelling}@a91fab8, Dispatchers.IO] ║
[task 2024-11-14T15:16:57.742Z] ║ │ │ Caused by: android.security.KeyStoreException: 16 ║
[task 2024-11-14T15:16:57.742Z] ║ │ │ at android.security.KeyStore.getKeyStoreException(KeyStore.java:1289) ║
[task 2024-11-14T15:16:57.742Z] ║ │ │ ... 33 more ║
[task 2024-11-14T15:16:57.742Z] ║ │ │ ║
[task 2024-11-14T15:16:57.742Z] ║ │ │ ║
[task 2024-11-14T15:16:57.742Z] ╚══════════════════════════════════════════════════════════════════════════════╧═════════╧═════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╝
[task 2024-11-14T15:16:57.742Z] Command ./automation/taskcluster/androidTest/parse-ui-test-fromfile.py --results /builds/worker/artifacts/results failed with exit code 1
[taskcluster 2024-11-14 15:16:57.998Z] === Task Finished ===
[taskcluster 2024-11-14 15:17:22.129Z] Unsuccessful task run with exit code: 10 completed in 863.885 seconds
Comment 1•26 days ago
|
||
:amejia could you take a look at this?
Comment 2•26 days ago
|
||
Test dialog fixes are on m-c in https://bugzilla.mozilla.org/show_bug.cgi?id=1930811 although Andi's patch has additional fixes for https://bugzilla.mozilla.org/show_bug.cgi?id=1906681 only on m-c
Comment 4•26 days ago
|
||
Thanks Aaron!
Comment 5•26 days ago
|
||
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.
Updated•26 days ago
|
Comment 7•26 days ago
|
||
Assigning to :andi, a fix for beta will be attached here. I will uplift it as test-only.
Assignee | ||
Comment 8•26 days ago
|
||
As per the Slack discussion with Donal, I've attached the patch that should fix the UI tests that will fail because of 1836921 on beta
Updated•26 days ago
|
Comment hidden (Intermittent Failures Robot) |
Description
•