Bug 235396 - [GStreamer] fast/mediastream/getUserMedia-to-canvas-*.html fails
Summary: [GStreamer] fast/mediastream/getUserMedia-to-canvas-*.html fails
Status: REOPENED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: Other
Hardware: PC Linux
: P2 Normal
Assignee: Kimmo Kinnunen
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-01-20 02:27 PST by Kimmo Kinnunen
Modified: 2023-06-26 00:38 PDT (History)
3 users (show)

See Also:


Attachments
Patch (2.52 KB, patch)
2022-01-21 01:14 PST, Kimmo Kinnunen
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kimmo Kinnunen 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));
Comment 1 Kimmo Kinnunen 2022-01-21 01:14:35 PST
Created attachment 449644 [details]
Patch
Comment 2 EWS 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].
Comment 3 Radar WebKit Bug Importer 2022-01-21 02:27:17 PST
<rdar://problem/87875670>
Comment 4 Philippe Normand 2022-01-21 02:48:05 PST
This needs a bug-fix. Reopening.
Comment 5 Diego Pino 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
 
```