Bug 235396

Summary: [GStreamer] fast/mediastream/getUserMedia-to-canvas-*.html fails
Product: WebKit Reporter: Kimmo Kinnunen <kkinnunen>
Component: MediaAssignee: Kimmo Kinnunen <kkinnunen>
Status: REOPENED    
Severity: Normal CC: dpino, pnormand, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: PC   
OS: Linux   
See Also: https://bugs.webkit.org/show_bug.cgi?id=235233
Attachments:
Description Flags
Patch none

Kimmo Kinnunen
Reported 2022-01-20 02:27:19 PST
[GTK] fast/mediastream/getUserMedia-to-canvas-*.html seem to fail (setMockCameraOrientation() related?) Harness Error (FAIL), message = Test named ‘func: with2DContext, angle: 90, imageBitmap: false’ specified 2 ‘cleanup’ functions, and 1 failed. cleanup functions: t.add_cleanup(async () => { debuge.removeChild(video); // Reset orientation for the next test by going to 0. if (subcase.angle == 180) { // 180 -> 0 cannot detect rotation via video size change. Go via 90. const [angle, videoSize] = setMockCameraImageOrientation(90, realVideoSize); await waitForVideoSize(video, videoSize[0], videoSize[1]); } setMockCameraImageOrientation(0); await waitForVideoSize(video, realVideoSize[0], realVideoSize[1]); }); and t.add_cleanup(async () => debuge.removeChild(canvas));
Attachments
Patch (2.52 KB, patch)
2022-01-21 01:14 PST, Kimmo Kinnunen
no flags
Kimmo Kinnunen
Comment 1 2022-01-21 01:14:35 PST
EWS
Comment 2 2022-01-21 02:26:51 PST
Committed r288357 (246263@main): <https://commits.webkit.org/246263@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 449644 [details].
Radar WebKit Bug Importer
Comment 3 2022-01-21 02:27:17 PST
Philippe Normand
Comment 4 2022-01-21 02:48:05 PST
This needs a bug-fix. Reopening.
Diego Pino
Comment 5 2023-06-26 00:38:51 PDT
This test is now a flakey timeout since 263750@main (most times a timeout in GTK). ``` https://build.webkit.org/results/GTK-Linux-64-bit-Release-Tests/265504%40main%20%2811581%29/fast/mediastream/getUserMedia-to-canvas-1-diff.txt --- /home/buildbot/worker/GTK-Linux-64-bit-Release-Tests/build/layout-test-results/fast/mediastream/getUserMedia-to-canvas-1-expected.txt +++ /home/buildbot/worker/GTK-Linux-64-bit-Release-Tests/build/layout-test-results/fast/mediastream/getUserMedia-to-canvas-1-actual.txt @@ -1,17 +1,3 @@ +FAIL: Timed out waiting for notifyDone to be called -PASS func: with2DContext, angle: 0, imageBitmap: false -PASS func: with2DContext, angle: 0, imageBitmap: true -PASS func: with2DContext, angle: 90, imageBitmap: false -PASS func: with2DContext, angle: 90, imageBitmap: true -PASS func: with2DContext, angle: 180, imageBitmap: false -PASS func: with2DContext, angle: 180, imageBitmap: true -PASS func: withWebGL, angle: 0, imageBitmap: false, subImage: false, unpackFlipY: false -PASS func: withWebGL, angle: 0, imageBitmap: false, subImage: false, unpackFlipY: true -PASS func: withWebGL, angle: 0, imageBitmap: false, subImage: true, unpackFlipY: false -PASS func: withWebGL, angle: 0, imageBitmap: false, subImage: true, unpackFlipY: true -PASS func: withWebGL, angle: 0, imageBitmap: true, subImage: false, unpackFlipY: false -PASS func: withWebGL, angle: 0, imageBitmap: true, subImage: false, unpackFlipY: true -PASS func: withWebGL, angle: 0, imageBitmap: true, subImage: true, unpackFlipY: false -PASS func: withWebGL, angle: 0, imageBitmap: true, subImage: true, unpackFlipY: true -PASS func: withWebGL, angle: 90, imageBitmap: false, subImage: false, unpackFlipY: false ```
Note You need to log in before you can comment on or make changes to this bug.