Closed Bug 1755411 Opened 4 years ago Closed 4 years ago

intermittent under certain test groups /input-events/input-events-cut-paste.html | Event order and dataTransfer on contenteditable. | Event order and data on textarea - assert_equals: expected "rich" but got "xyz"

Categories

(Core :: DOM: Events, defect)

Unspecified
Linux
defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: intermittent-bug-filer, Unassigned)

Details

(Keywords: intermittent-failure, Whiteboard: [stockwell needswork:owner])

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


[task 2022-02-15T00:58:12.154Z] 00:58:12     INFO - TEST-PASS | /input-events/input-events-cut-paste.html | Event order and data on textarea. 
[task 2022-02-15T00:58:12.155Z] 00:58:12     INFO - TEST-UNEXPECTED-FAIL | /input-events/input-events-cut-paste.html | Event order and dataTransfer on contenteditable. - assert_equals: expected "rich" but got "xyz"
[task 2022-02-15T00:58:12.156Z] 00:58:12     INFO - @http://web-platform.test:8000/input-events/input-events-cut-paste.html:105:30
[task 2022-02-15T00:58:12.156Z] 00:58:12     INFO - Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2534:25
[task 2022-02-15T00:58:12.157Z] 00:58:12     INFO - Test.prototype.step_func/<@http://web-platform.test:8000/resources/testharness.js:2581:35
[task 2022-02-15T00:58:12.157Z] 00:58:12     INFO - .
[task 2022-02-15T00:58:12.158Z] 00:58:12     INFO - TEST-OK | /input-events/input-events-cut-paste.html | took 2447ms
[task 2022-02-15T00:58:12.159Z] 00:58:12     INFO - PID 1295 | 1644886692149	Marionette	INFO	Stopped listening on port 59642
[task 2022-02-15T00:58:12.590Z] 00:58:12     INFO - PID 1285 | ###!!! [Parent][PImageBridgeParent] Error: RunMessage(msgname=PImageBridge::Msg_WillClose) Channel closing: too late to send/recv, messages will be lost
[task 2022-02-15T00:58:12.631Z] 00:58:12     INFO - Browser exited with return code 0
[task 2022-02-15T00:58:12.634Z] 00:58:12     INFO - Closing logging queue
[task 2022-02-15T00:58:12.634Z] 00:58:12     INFO - queue closed
[task 2022-02-15T00:58:12.899Z] 00:58:12     INFO - Browser exited with return code 0
[task 2022-02-15T00:58:12.903Z] 00:58:12     INFO - Closing logging queue
[task 2022-02-15T00:58:12.903Z] 00:58:12     INFO - queue closed
[task 2022-02-15T00:58:12.924Z] 00:58:12     INFO - Application command: /builds/worker/workspace/build/application/firefox/firefox --marionette about:blank -profile /tmp/tmpe6gqars0
[task 2022-02-15T00:58:12.932Z] 00:58:12     INFO - Starting runner
[task 2022-02-15T00:58:13.689Z] 00:58:13     INFO - PID 1872 | 1644886693687	Marionette	INFO	Marionette enabled
[task 2022-02-15T00:58:17.806Z] 00:58:17     INFO - PID 1872 | console.warn: SearchSettings: "get: No settings file exists, new profile?" (new NotFoundError("Could not open the file at /tmp/tmpe6gqars0/search.json.mozlz4", (void 0)))
[task 2022-02-15T00:58:18.664Z] 00:58:18     INFO - PID 1872 | 1644886698662	Marionette	INFO	Listening on port 41590
[task 2022-02-15T00:58:18.844Z] 00:58:18     INFO - TEST-START | /input-events/input-events-exec-command.html

I tried to find the regression bug but I couldn't find it, there is the rate of the failure and a range
And we also have a different failure on the same test: https://treeherder.mozilla.org/logviewer?job_id=367890943&repo=autoland

This sometimes fails with only "Event order and data on textarea" https://treeherder.mozilla.org/logviewer?job_id=367913006&repo=autoland&lineNumber=1590

Summary: High frequency /input-events/input-events-cut-paste.html | Event order and dataTransfer on contenteditable. - assert_equals: expected "rich" but got "xyz" → High frequency /input-events/input-events-cut-paste.html | Event order and dataTransfer on contenteditable. | Event order and data on textarea - assert_equals: expected "rich" but got "xyz"

I have continued with the backfills but still didn't get to a result as what could cause this, so I eventually stopped. Here is the complete backfill range.

git log --since=2022-02-10 --until=2022-02-11

shows nothing obvious. Grepped for "event", "textarea", "input".

Flags: needinfo?(mbrodesser)
OS: Unspecified → Linux

I'll try to reproduce this locally.

Flags: needinfo?(mbrodesser)

Repeated the single test run 40 times locally with an optimized build on Linux, but it never failed.

This fails only when these two test groups are ran in the same job:

    /clipboard-apis/permissions
    /input-events

When multiple test groups are ran such as this job,
Test Groups:

    /FileAPI/file
    /WebCryptoAPI/generateKey
    /_mozilla/dom
    /_mozilla/mediacapture-streams
    /app-history/app-history-entry
    /background-fetch
    /bluetooth/characteristic/readValue
    /bluetooth/idl
    /bluetooth/service/getCharacteristic
    /clipboard-apis/feature-policy/clipboard-read
    /content-index
    /content-security-policy/frame-src
    /content-security-policy/navigate-to/form-action
    /content-security-policy/script-src
    /content-security-policy/worker-src
    /cookies/path
    /credential-management
    /css/css-align
    /css/css-animations/responsive
    /css/css-cascade
    /css/css-contain
    /css/css-display/parsing
    /css/css-fonts
    /css/css-grid/alignment
    /css/css-highlight-api
    /css/css-lists
    /css/css-masking/parsing
    /css/css-page/parsing
    /css/css-ruby
    /css/css-shadow-parts
    /css/css-sizing/animation
    /css/css-tables/tentative
    /css/css-text/parsing
    /css/css-transforms/parsing
    /css/css-ui
    /css/css-writing-modes/parsing
    /css/motion/animation
    /custom-elements/form-associated
    /device-memory
    /dom/events
    /editing
    /encoding/legacy-mb-schinese/gb18030
    /eyedropper
    /fetch/api/headers
    /fetch/cross-origin-resource-policy
    /fetch/range
    /fullscreen/api
    /html/browsers/history
    /html/cross-origin-embedder-policy/anonymous-iframe
    /html/editing/dnd
    /html/links/icon
    /html/semantics/disabled-elements
    /html/semantics/tabular-data
    /html/the-xhtml-syntax/parsing-xhtml-documents
    /html/webappapis/timers
    /inert
    /input-events
    /js-self-profiling/without-document-policy
    /loading
    /mathml/presentation-markup/radicals
    /media-source/dedicated-worker
    /merchant-validation
    /mixed-content/gen/top.http-rp
    /native-io
    /orientation-sensor
    /paint-timing/with-first-paint
    /periodic-background-sync
    /pointerevents/parsing
    /private-click-measurement
    /referrer-policy/css-integration/font-face
    /referrer-policy/gen/top.http-rp
    /resize-observer
    /screen-wake-lock
    /selection/textcontrols
    /service-workers/service-worker/multi-globals
    /shadow-dom/untriaged/styles
    /storage-access-api
    /svg/animations
    /svg/linking/scripted
    /svg/render
    /svg/text/scripted
    /uievents/click
    /upgrade-insecure-requests/gen/iframe-blank-inherit.meta
    /upgrade-insecure-requests/gen/worker-classic-data.meta
    /virtual-keyboard
    /wasm/jsapi/instance
    /web-animations/animation-model/combining-effects
    /web-animations/responsive
    /web-otp
    /webaudio/the-audio-api/the-audioworklet-interface
    /webaudio/the-audio-api/the-iirfilternode-interface
    /webaudio/the-audio-api/the-waveshapernode-interface
    /webmessaging
    /webrtc-encoded-transform
    /websockets
    /websockets/security
    /webvtt/parsing/cue-text-parsing
    /webxr/hand-input
    /workers/interfaces/SharedWorkerGlobalScope
    /workers/semantics/run-a-worker

input-events-cut-paste.html is always OK.
It first failed on this job where only those two test groups ran and it was backfiled and retriggered from there under the same circumstances hence the high failure rate. It only fails on linux1804-64-qr opt (not shippable, asan or tsan) which only runs on autoland.

Mirko, maybe you could try and repro under these conditions and I think you could get it to fail.

(In reply to Cosmin Sabou [:CosminS] from comment #7)

This fails only when these two test groups are ran in the same job:

    /clipboard-apis/permissions
    /input-events

That's helpful information, thanks. I'll try to reproduce the failure by executing only those two test groups later today.

When multiple test groups are ran such as this job,
Test Groups:

    /FileAPI/file
    /WebCryptoAPI/generateKey
    /_mozilla/dom
    /_mozilla/mediacapture-streams
    /app-history/app-history-entry
    /background-fetch
    /bluetooth/characteristic/readValue
    /bluetooth/idl
    /bluetooth/service/getCharacteristic
    /clipboard-apis/feature-policy/clipboard-read
    /content-index
    /content-security-policy/frame-src
    /content-security-policy/navigate-to/form-action
    /content-security-policy/script-src
    /content-security-policy/worker-src
    /cookies/path
    /credential-management
    /css/css-align
    /css/css-animations/responsive
    /css/css-cascade
    /css/css-contain
    /css/css-display/parsing
    /css/css-fonts
    /css/css-grid/alignment
    /css/css-highlight-api
    /css/css-lists
    /css/css-masking/parsing
    /css/css-page/parsing
    /css/css-ruby
    /css/css-shadow-parts
    /css/css-sizing/animation
    /css/css-tables/tentative
    /css/css-text/parsing
    /css/css-transforms/parsing
    /css/css-ui
    /css/css-writing-modes/parsing
    /css/motion/animation
    /custom-elements/form-associated
    /device-memory
    /dom/events
    /editing
    /encoding/legacy-mb-schinese/gb18030
    /eyedropper
    /fetch/api/headers
    /fetch/cross-origin-resource-policy
    /fetch/range
    /fullscreen/api
    /html/browsers/history
    /html/cross-origin-embedder-policy/anonymous-iframe
    /html/editing/dnd
    /html/links/icon
    /html/semantics/disabled-elements
    /html/semantics/tabular-data
    /html/the-xhtml-syntax/parsing-xhtml-documents
    /html/webappapis/timers
    /inert
    /input-events
    /js-self-profiling/without-document-policy
    /loading
    /mathml/presentation-markup/radicals
    /media-source/dedicated-worker
    /merchant-validation
    /mixed-content/gen/top.http-rp
    /native-io
    /orientation-sensor
    /paint-timing/with-first-paint
    /periodic-background-sync
    /pointerevents/parsing
    /private-click-measurement
    /referrer-policy/css-integration/font-face
    /referrer-policy/gen/top.http-rp
    /resize-observer
    /screen-wake-lock
    /selection/textcontrols
    /service-workers/service-worker/multi-globals
    /shadow-dom/untriaged/styles
    /storage-access-api
    /svg/animations
    /svg/linking/scripted
    /svg/render
    /svg/text/scripted
    /uievents/click
    /upgrade-insecure-requests/gen/iframe-blank-inherit.meta
    /upgrade-insecure-requests/gen/worker-classic-data.meta
    /virtual-keyboard
    /wasm/jsapi/instance
    /web-animations/animation-model/combining-effects
    /web-animations/responsive
    /web-otp
    /webaudio/the-audio-api/the-audioworklet-interface
    /webaudio/the-audio-api/the-iirfilternode-interface
    /webaudio/the-audio-api/the-waveshapernode-interface
    /webmessaging
    /webrtc-encoded-transform
    /websockets
    /websockets/security
    /webvtt/parsing/cue-text-parsing
    /webxr/hand-input
    /workers/interfaces/SharedWorkerGlobalScope
    /workers/semantics/run-a-worker

input-events-cut-paste.html is always OK.
It first failed on this job where only those two test groups ran and it was backfiled and retriggered from there under the same circumstances hence the high failure rate. It only fails on linux1804-64-qr opt (not shippable, asan or tsan) which only runs on autoland.

Mirko, maybe you could try and repro under these conditions and I think you could get it to fail.

Yesterday and today no failures occurred according to https://treeherder.mozilla.org/intermittent-failures/bugdetails?startday=2022-02-09&endday=2022-02-16&tree=trunk&bug=1755411. So I'll stop the investigation for now. Please ni? me when new failures occur, then I'll take a look again.

Still no new failures. So presumably fixed.

Summary: High frequency /input-events/input-events-cut-paste.html | Event order and dataTransfer on contenteditable. | Event order and data on textarea - assert_equals: expected "rich" but got "xyz" → intermittent under certain test groups /input-events/input-events-cut-paste.html | Event order and dataTransfer on contenteditable. | Event order and data on textarea - assert_equals: expected "rich" but got "xyz"

Not seeing this for more than 2 months. Close as WORKSFORME.

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.