Closed Bug 1717218 Opened 3 years ago Closed 3 years ago

Intermittent browser/components/places/tests/browser/interactions/browser_interactions_typing.js | Should have saved the keypresses into the database - 43 == 44 - JS frame :: chrome://mochitests/content/browser/browser/components/places/tests/br

Categories

(Firefox :: Bookmarks & History, defect, P5)

defect

Tracking

()

RESOLVED FIXED
95 Branch
Tracking Status
firefox-esr91 --- fixed
firefox95 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: acreskey)

Details

(Keywords: intermittent-failure, Whiteboard: [stockwell disable-recommended])

Attachments

(3 files)

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


INFO - TEST-START | browser/components/places/tests/browser/interactions/browser_interactions_typing.js
[task 2021-06-18T13:47:52.023Z] 13:47:52     INFO - GECKO(2257) | console.debug: InteractionsManager: "Reset"
[task 2021-06-18T13:47:52.066Z] 13:47:52     INFO - GECKO(2257) | console.debug: InteractionsManager: "Tab switch notified"
[task 2021-06-18T13:47:52.069Z] 13:47:52     INFO - GECKO(2257) | console.debug: InteractionsManager: "No interaction to update"
[task 2021-06-18T13:47:52.124Z] 13:47:52     INFO - GECKO(2257) | console.debug: InteractionsManager: "Deactivate window"
[task 2021-06-18T13:47:52.126Z] 13:47:52     INFO - GECKO(2257) | console.debug: InteractionsManager: "No interaction to update"
[task 2021-06-18T13:47:52.331Z] 13:47:52     INFO - GECKO(2257) | console.debug: InteractionsManager: "Activate window"
[task 2021-06-18T13:47:52.736Z] 13:47:52     INFO - GECKO(2257) | console.debug: InteractionsManager: "New interaction" ({isActive:true, url:"https://example.com/browser/browser/components/places/tests/browser/keyword_form.html"})
[task 2021-06-18T13:47:53.389Z] 13:47:53     INFO - GECKO(2257) | console.debug: InteractionsManager: "End of interaction"
[task 2021-06-18T13:47:53.393Z] 13:47:53     INFO - GECKO(2257) | console.debug: InteractionsManager: "Would update database: " ({url:"https://example.com/browser/browser/components/places/tests/browser/keyword_form.html", totalViewTime:638.721904, typingTime:0, keypresses:0})
[task 2021-06-18T13:47:53.566Z] 13:47:53     INFO - GECKO(2257) | console.debug: InteractionsManager: "New interaction" ({isActive:true, url:"https://example.com/browser"})
[task 2021-06-18T13:47:53.665Z] 13:47:53     INFO - GECKO(2257) | console.debug: InteractionsManager: "End of interaction"
[task 2021-06-18T13:47:53.667Z] 13:47:53     INFO - GECKO(2257) | console.debug: InteractionsManager: "Would update database: " ({url:"https://example.com/browser", totalViewTime:98.9067329999998, typingTime:0, keypresses:0})
[task 2021-06-18T13:47:53.753Z] 13:47:53     INFO - GECKO(2257) | console.debug: InteractionsManager: "Tab switch notified"
[task 2021-06-18T13:47:53.755Z] 13:47:53     INFO - GECKO(2257) | console.debug: InteractionsManager: "No interaction to update"
[task 2021-06-18T13:47:53.814Z] 13:47:53     INFO - GECKO(2257) | console.debug: InteractionsManager: "Tab switch notified"
[task 2021-06-18T13:47:53.815Z] 13:47:53     INFO - GECKO(2257) | console.debug: InteractionsManager: "No interaction to update"
[task 2021-06-18T13:47:53.922Z] 13:47:53     INFO - GECKO(2257) | ###!!! [Parent][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost
[task 2021-06-18T13:47:53.924Z] 13:47:53     INFO - GECKO(2257) | ###!!! [Parent][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost
[task 2021-06-18T13:47:54.140Z] 13:47:54     INFO - GECKO(2257) | console.debug: InteractionsManager: "New interaction" ({isActive:true, url:"https://example.com/browser/browser/components/places/tests/browser/keyword_form.html"})
[task 2021-06-18T13:47:55.430Z] 13:47:55     INFO - GECKO(2257) | -----------------------------------------------------
[task 2021-06-18T13:47:55.432Z] 13:47:55     INFO - GECKO(2257) | Suppressions used:
<...>
INFO - TEST-PASS | browser/components/places/tests/browser/interactions/browser_interactions_typing.js | Should have saved the interaction into the database - "https://example.com/browser/browser/components/places/tests/browser/keyword_form.html" == "https://example.com/browser/browser/components/places/tests/browser/keyword_form.html" - 
[task 2021-06-18T13:47:59.326Z] 13:47:59     INFO - Buffered messages finished
[task 2021-06-18T13:47:59.329Z] 13:47:59     INFO - TEST-UNEXPECTED-FAIL | browser/components/places/tests/browser/interactions/browser_interactions_typing.js | Should have saved the keypresses into the database - 43 == 44 - JS frame :: chrome://mochitests/content/browser/browser/components/places/tests/browser/interactions/browser_interactions_typing.js :: assertDatabaseValues :: line 70
[task 2021-06-18T13:47:59.330Z] 13:47:59     INFO - Stack trace:
[task 2021-06-18T13:47:59.331Z] 13:47:59     INFO - chrome://mochitests/content/browser/browser/components/places/tests/browser/interactions/browser_interactions_typing.js:assertDatabaseValues:70
[task 2021-06-18T13:47:59.333Z] 13:47:59     INFO - Leaving test bound test_typing_close_tab
[task 2021-06-18T13:47:59.337Z] 13:47:59     INFO - Entering test bound test_single_key_typing_and_delay
[task 2021-06-18T13:47:59.341Z] 13:47:59     INFO - GECKO(2257) | console.debug: InteractionsManager: "Tab switch notified"
[task 2021-06-18T13:47:59.342Z] 13:47:59     INFO - GECKO(2257) | console.debug: InteractionsManager: "No interaction to update"
[task 2021-06-18T13:47:59.344Z] 13:47:59     INFO - GECKO(2257) | -----------------------------------------------------
[task 2021-06-18T13:47:59.346Z] 13:47:59     INFO - GECKO(2257) | Suppressions used:
[task 2021-06-18T13:47:59.347Z] 13:47:59     INFO - GECKO(2257) |   count      bytes template
[task 2021-06-18T13:47:59.351Z] 13:47:59     INFO - GECKO(2257) |      14        448 nsComponentManagerImpl
[task 2021-06-18T13:47:59.353Z] 13:47:59     INFO - GECKO(2257) |       2        288 libfontconfig.so
[task 2021-06-18T13:47:59.355Z] 13:47:59     INFO - GECKO(2257) | -----------------------------------------------------
[task 2021-06-18T13:47:59.358Z] 13:47:59     INFO - GECKO(2257) | console.debug: InteractionsManager: "New interaction" ({isActive:true, url:"https://example.com/browser/browser/components/places/tests/browser/keyword_form.html"})
[task 2021-06-18T13:48:00.055Z] 13:48:00     INFO - GECKO(2257) | -----------------------------------------------------
[task 2021-06-18T13:48:00.056Z] 13:48:00     INFO - GECKO(2257) | Suppressions used:
[task 2021-06-18T13:48:00.057Z] 13:48:00     INFO - GECKO(2257) |   count      bytes template
[task 2021-06-18T13:48:00.058Z] 13:48:00     INFO - GECKO(2257) |      14        448 nsComponentManagerImpl
[task 2021-06-18T13:48:00.059Z] 13:48:00     INFO - GECKO(2257) |       2        288 libfontconfig.so
[task 2021-06-18T13:48:00.059Z] 13:48:00     INFO - GECKO(2257) | -----------------------------------------------------
[task 2021-06-18T13:48:01.576Z] 13:48:01     INFO - GECKO(2257) | console.debug: InteractionsManager: "Tab switch notified"
[task 2021-06-18T13:48:01.579Z] 13:48:01     INFO - GECKO(2257) | console.debug: InteractionsManager: "Would update database: " ({url:"https://example.com/browser/browser/components/places/tests/browser/keyword_form.html", totalViewTime:2373.4752289999997, typingTime:0, keypresses:0})
[task 2021-06-18T13:48:01.649Z] 13:48:01     INFO - TEST-PASS | browser/components/places/tests/browser/interactions/browser_interactions_typing.js | Should have saved the interaction into the database - "https://example.com/browser/browser/components/places/tests/browser/keyword_form.html" == "https://example.com/browser/browser/components/places/tests/browser/keyword_form.html" - 
[task 2021-06-18T13:48:01.653Z] 13:48:01     INFO - Leaving test bound test_single_key_typing_and_delay

I'm expecting to have this intermittent fixed with Bug 1716606

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Summary: Intermittent [Tier 2] browser/components/places/tests/browser/interactions/browser_interactions_typing.js | Should have saved the keypresses into the database - 43 == 44 - JS frame :: chrome://mochitests/content/browser/browser/components/places/tests/br → Intermittent browser/components/places/tests/browser/interactions/browser_interactions_typing.js | Should have saved the keypresses into the database - 43 == 44 - JS frame :: chrome://mochitests/content/browser/browser/components/places/tests/br
Assignee: nobody → acreskey

I may have fixed this with Bug 1718404 - verifying now and I'll take care of it if it's not fixed.

There are 57 total failures in the last 7 days on

[task 2021-09-24T20:18:26.413Z] 20:18:26     INFO - TEST-INFO | started process screentopng
[task 2021-09-24T20:18:27.228Z] 20:18:27     INFO - TEST-INFO | screentopng: exit 0
[task 2021-09-24T20:18:27.228Z] 20:18:27     INFO - Buffered messages logged at 20:18:20
[task 2021-09-24T20:18:27.228Z] 20:18:27     INFO - Entering test bound global_setup
[task 2021-09-24T20:18:27.228Z] 20:18:27     INFO - Leaving test bound global_setup
[task 2021-09-24T20:18:27.228Z] 20:18:27     INFO - Entering test bound test_load_and_navigate_away_no_keypresses
[task 2021-09-24T20:18:27.228Z] 20:18:27     INFO - Buffered messages logged at 20:18:22
[task 2021-09-24T20:18:27.228Z] 20:18:27     INFO - Found 1 interactions:
[task 2021-09-24T20:18:27.228Z] 20:18:27     INFO -  [{"url":"https://example.com/browser/browser/components/places/tests/browser/keyword_form.html","referrerUrl":null,"keypresses":0,"typingTime":0,"totalViewTime":314,"scrollingTime":0,"scrollingDistance":0}]
[task 2021-09-24T20:18:27.228Z] 20:18:27     INFO - TEST-PASS | browser/components/places/tests/browser/interactions/browser_interactions_typing.js | Found the expected number of entries - 1 == 1 - 
[task 2021-09-24T20:18:27.228Z] 20:18:27     INFO - TEST-PASS | browser/components/places/tests/browser/interactions/browser_interactions_typing.js | Should have saved the page into the database - "https://example.com/browser/browser/components/places/tests/browser/keyword_form.html" == "https://example.com/browser/browser/components/places/tests/browser/keyword_form.html" - 
[task 2021-09-24T20:18:27.228Z] 20:18:27     INFO - TEST-PASS | browser/components/places/tests/browser/interactions/browser_interactions_typing.js | Should have saved the keypresses into the database - 0 == 0 - 
[task 2021-09-24T20:18:27.228Z] 20:18:27     INFO - TEST-PASS | browser/components/places/tests/browser/interactions/browser_interactions_typing.js | Should have stored the exact typing time. - 0 == 0 - 
[task 2021-09-24T20:18:27.228Z] 20:18:27     INFO - Found 2 interactions:
[task 2021-09-24T20:18:27.228Z] 20:18:27     INFO -  [{"url":"https://example.com/browser/browser/components/places/tests/browser/keyword_form.html","referrerUrl":null,"keypresses":0,"typingTime":0,"totalViewTime":314,"scrollingTime":0,"scrollingDistance":0},{"url":"https://example.com/browser","referrerUrl":null,"keypresses":0,"typingTime":0,"totalViewTime":208,"scrollingTime":0,"scrollingDistance":0}]
[task 2021-09-24T20:18:27.228Z] 20:18:27     INFO - TEST-PASS | browser/components/places/tests/browser/interactions/browser_interactions_typing.js | Found the expected number of entries - 2 == 2 - 
[task 2021-09-24T20:18:27.232Z] 20:18:27     INFO - TEST-PASS | browser/components/places/tests/browser/interactions/browser_interactions_typing.js | Should have saved the page into the database - "https://example.com/browser/browser/components/places/tests/browser/keyword_form.html" == "https://example.com/browser/browser/components/places/tests/browser/keyword_form.html" - 
[task 2021-09-24T20:18:27.234Z] 20:18:27     INFO - TEST-PASS | browser/components/places/tests/browser/interactions/browser_interactions_typing.js | Should have saved the keypresses into the database - 0 == 0 - 
[task 2021-09-24T20:18:27.235Z] 20:18:27     INFO - TEST-PASS | browser/components/places/tests/browser/interactions/browser_interactions_typing.js | Should have stored the exact typing time. - 0 == 0 - 
[task 2021-09-24T20:18:27.236Z] 20:18:27     INFO - TEST-PASS | browser/components/places/tests/browser/interactions/browser_interactions_typing.js | Should have saved the page into the database - "https://example.com/browser" == "https://example.com/browser" - 
[task 2021-09-24T20:18:27.238Z] 20:18:27     INFO - TEST-PASS | browser/components/places/tests/browser/interactions/browser_interactions_typing.js | Should have saved the keypresses into the database - 0 == 0 - 
[task 2021-09-24T20:18:27.241Z] 20:18:27     INFO - TEST-PASS | browser/components/places/tests/browser/interactions/browser_interactions_typing.js | Should have stored the exact typing time. - 0 == 0 - 
[task 2021-09-24T20:18:27.241Z] 20:18:27     INFO - Buffered messages logged at 20:18:23
[task 2021-09-24T20:18:27.242Z] 20:18:27     INFO - Leaving test bound test_load_and_navigate_away_no_keypresses
[task 2021-09-24T20:18:27.242Z] 20:18:27     INFO - Entering test bound test_load_type_and_navigate_away
[task 2021-09-24T20:18:27.242Z] 20:18:27     INFO - Buffered messages logged at 20:18:26
[task 2021-09-24T20:18:27.243Z] 20:18:27     INFO - Found 1 interactions:
[task 2021-09-24T20:18:27.243Z] 20:18:27     INFO -  [{"url":"https://example.com/browser/browser/components/places/tests/browser/keyword_form.html","referrerUrl":null,"keypresses":43,"typingTime":247,"totalViewTime":1371,"scrollingTime":0,"scrollingDistance":0}]
[task 2021-09-24T20:18:27.244Z] 20:18:27     INFO - TEST-PASS | browser/components/places/tests/browser/interactions/browser_interactions_typing.js | Found the expected number of entries - 1 == 1 - 
[task 2021-09-24T20:18:27.250Z] 20:18:27     INFO - TEST-PASS | browser/components/places/tests/browser/interactions/browser_interactions_typing.js | Should have saved the page into the database - "https://example.com/browser/browser/components/places/tests/browser/keyword_form.html" == "https://example.com/browser/browser/components/places/tests/browser/keyword_form.html" - 
[task 2021-09-24T20:18:27.250Z] 20:18:27     INFO - Buffered messages finished
[task 2021-09-24T20:18:27.251Z] 20:18:27     INFO - TEST-UNEXPECTED-FAIL | browser/components/places/tests/browser/interactions/browser_interactions_typing.js | Should have saved the keypresses into the database - 43 == 44 - JS frame :: chrome://mochitests/content/browser/browser/components/places/tests/browser/interactions/head.js :: assertDatabaseValues :: line 107
[task 2021-09-24T20:18:27.251Z] 20:18:27     INFO - Stack trace:
[task 2021-09-24T20:18:27.251Z] 20:18:27     INFO - chrome://mochitests/content/browser/browser/components/places/tests/browser/interactions/head.js:assertDatabaseValues:107
[task 2021-09-24T20:18:27.252Z] 20:18:27     INFO - TEST-PASS | browser/components/places/tests/browser/interactions/browser_interactions_typing.js | Should have stored at least this amount of typing time. - 247 > 0 - 
[task 2021-09-24T20:18:27.252Z] 20:18:27     INFO - GECKO(8060) | console.debug: InteractionsManager: "Saw the end of an interaction"
[task 2021-09-24T20:18:27.253Z] 20:18:27     INFO - GECKO(8060) | console.debug: InteractionsManager: "No interaction to update"
[task 2021-09-24T20:18:27.253Z] 20:18:27     INFO - GECKO(8060) | console.debug: InteractionsManager: "Add to store: " ({url:"https://example.com/browser", referrer:(void 0), totalViewTime:1150.4076219999988, typingTime:0, keypresses:0, scrollingTime:0, scrollingDistance:0, created_at:1632514705200, updated_at:1632514706453})
[task 2021-09-24T20:18:27.254Z] 20:18:27     INFO - GECKO(8060) | console.debug: InteractionsManager: "Preparing interaction for storage" ({url:"https://example.com/browser", referrer:(void 0), totalViewTime:1150.4076219999988, typingTime:0, keypresses:0, scrollingTime:0, scrollingDistance:0, created_at:1632514705200, updated_at:1632514706453})
[task 2021-09-24T20:18:27.254Z] 20:18:27     INFO - GECKO(8060) | console.debug: InteractionsManager: "Saw the end of an interaction"
[task 2021-09-24T20:18:27.255Z] 20:18:27     INFO - GECKO(8060) | console.debug: InteractionsManager: "No interaction to update"
[task 2021-09-24T20:18:27.255Z] 20:18:27     INFO - GECKO(8060) | console.debug: InteractionsManager: "Storing 1 entries in the database"
[task 2021-09-24T20:18:27.256Z] 20:18:27     INFO - GECKO(8060) | console.debug: SnapshotsManager: "Testing 1 potential snapshots"
[task 2021-09-24T20:18:27.257Z] 20:18:27     INFO - Found 2 interactions:
[task 2021-09-24T20:18:27.257Z] 20:18:27     INFO -  [{"url":"https://example.com/browser/browser/components/places/tests/browser/keyword_form.html","referrerUrl":null,"keypresses":43,"typingTime":247,"totalViewTime":1371,"scrollingTime":0,"scrollingDistance":0},{"url":"https://example.com/browser","referrerUrl":null,"keypresses":0,"typingTime":0,"totalViewTime":1150,"scrollingTime":0,"scrollingDistance":0}]
[task 2021-09-24T20:18:27.257Z] 20:18:27     INFO - TEST-PASS | browser/components/places/tests/browser/interactions/browser_interactions_typing.js | Found the expected number of entries - 2 == 2 - 
[task 2021-09-24T20:18:27.258Z] 20:18:27     INFO - TEST-PASS | browser/components/places/tests/browser/interactions/browser_interactions_typing.js | Should have saved the page into the database - "https://example.com/browser/browser/components/places/tests/browser/keyword_form.html" == "https://example.com/browser/browser/components/places/tests/browser/keyword_form.html" - 
[task 2021-09-24T20:18:27.259Z] 20:18:27     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-09-24T20:18:27.264Z] 20:18:27     INFO - TEST-UNEXPECTED-FAIL | browser/components/places/tests/browser/interactions/browser_interactions_typing.js | Should have saved the keypresses into the database - 43 == 44 - JS frame :: chrome://mochitests/content/browser/browser/components/places/tests/browser/interactions/head.js :: assertDatabaseValues :: line 107
[task 2021-09-24T20:18:27.264Z] 20:18:27     INFO - Stack trace:
[task 2021-09-24T20:18:27.264Z] 20:18:27     INFO - chrome://mochitests/content/browser/browser/components/places/tests/browser/interactions/head.js:assertDatabaseValues:107
[task 2021-09-24T20:18:27.265Z] 20:18:27     INFO - TEST-PASS | browser/components/places/tests/browser/interactions/browser_interactions_typing.js | Should have stored at least this amount of typing time. - 247 > 0 - 
[task 2021-09-24T20:18:27.265Z] 20:18:27     INFO - TEST-PASS | browser/components/places/tests/browser/interactions/browser_interactions_typing.js | Should have saved the page into the database - "https://example.com/browser" == "https://example.com/browser" - 
[task 2021-09-24T20:18:27.266Z] 20:18:27     INFO - TEST-PASS | browser/components/places/tests/browser/interactions/browser_interactions_typing.js | Should have saved the keypresses into the database - 0 == 0 - 
[task 2021-09-24T20:18:27.266Z] 20:18:27     INFO - TEST-PASS | browser/components/places/tests/browser/interactions/browser_interactions_typing.js | Should have stored the exact typing time. - 0 == 0 - 

Andrew, can you please take a look?

Flags: needinfo?(acreskey)
Whiteboard: [stockwell needswork:owner]

Update:
There have been 64 failures within the last 7 days:
• 19 failures on Linux 18.04 x64 WebRender asan opt
• 14 failures on Linux 18.04 x64 WebRender debug
• 30 failures on linux1804-64-tsan-qr opt
• 1 failures on Windows 10 x64 2004 asan WebRender opt
Recent failure log: https://treeherder.mozilla.org/logviewer?job_id=353405806&repo=autoland&lineNumber=9938

[task 2021-10-01T22:53:16.713Z] 22:53:16     INFO - TEST-PASS | browser/components/places/tests/browser/interactions/browser_interactions_typing.js | Should have saved the page into the database - "https://example.com/browser/browser/components/places/tests/browser/keyword_form.html" == "https://example.com/browser/browser/components/places/tests/browser/keyword_form.html" - 
[task 2021-10-01T22:53:16.713Z] 22:53:16     INFO - Buffered messages finished
[task 2021-10-01T22:53:16.715Z] 22:53:16     INFO - TEST-UNEXPECTED-FAIL | browser/components/places/tests/browser/interactions/browser_interactions_typing.js | Should have saved the keypresses into the database - 43 == 44 - JS frame :: chrome://mochitests/content/browser/browser/components/places/tests/browser/interactions/head.js :: assertDatabaseValues :: line 107
[task 2021-10-01T22:53:16.715Z] 22:53:16     INFO - Stack trace:
[task 2021-10-01T22:53:16.715Z] 22:53:16     INFO - chrome://mochitests/content/browser/browser/components/places/tests/browser/interactions/head.js:assertDatabaseValues:107
[task 2021-10-01T22:53:16.715Z] 22:53:16     INFO - TEST-PASS | browser/components/places/tests/browser/interactions/browser_interactions_typing.js | Should have stored at least this amount of typing time. - 145 > 0 - 

I'm starting on this one.

Attachment #9244072 - Attachment description: Bug 1717218 - disable browser_interactions_typing.js on linux_64_qr_opt for frequent failures. r=#intermittent-reviewers → Bug 1717218 - Disable browser_interactions_typing.js on linux_64_qr_opt for frequent failures. r=#intermittent-reviewers

Hi Andrew, this has reached the disable-recommended queue. Can we land the patch until you have the fix or should we wait?

Hi Andreea, thank you for the patience.
I have a test patch pushed, just waiting for results.
I'll be able to answer by end of day.

I understand. Thank you for working on this!

In the scenario where we navigate to a second url immediately after typing we intermittently lose a keystroke on some builds.
I haven't been able to trace down how this happens, however waiting for the next tick in the event loop after each step appears to resolve the intermittent.

Unfortunately, I'm still seeing the occasional intermittent with the above patch.

I've tried quite a few variations and spent as much time debugging this, but it's not clear to me why we're losing a keystroke here.

I'm not sure if it's better to simply remove this subtest for all platforms, or disable browser_interactions_typing.js for the build configuration where it fails?

(In reply to Andrew Creskey [:acreskey] [he/him] from comment #24)

Unfortunately, I'm still seeing the occasional intermittent with the above patch.

I've tried quite a few variations and spent as much time debugging this, but it's not clear to me why we're losing a keystroke here.

I'm not sure if it's better to simply remove this subtest for all platforms, or disable browser_interactions_typing.js for the build configuration where it fails?

If it improves the situation, lets land it for now. I'm wondering if there's something we can do with waitForCondition around the database assertion - maybe custom for this case. If waitForCondition isn't enough it would indicate there's some other issue here.

Pushed by acreskey@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/cc9b6c2e9afd
Fix to intermittent failure in browser_interactions_typing.js r=Standard8

This patch expected to reduce the failures while I look at this from the database synchronization side.

Flags: needinfo?(acreskey)
Whiteboard: [stockwell disable-recommended] → [stockwell needswork:owner]
Status: REOPENED → RESOLVED
Closed: 3 years ago3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 95 Branch

As mentioned in Comment 29, some intermittent failures are still expected to appear, reopening.
https://treeherder.mozilla.org/logviewer?job_id=354598286&repo=autoland&lineNumber=31130

Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Target Milestone: 95 Branch → ---

This fixes the root cause of the intermittent failure (missing keystrokes) -- the function to send keys was not strictly synchronous.
We now wait for the input field to be populated before we proceed.

Pushed by acreskey@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/696afe3f9f6e
Intermittent failure in browser_interactions_typing.js r=Standard8
Status: REOPENED → RESOLVED
Closed: 3 years ago3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 95 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: