Closed Bug 1579388 Opened 5 years ago Closed 5 years ago

Perma dom/media/tests/mochitest/test_enumerateDevices.html | undefined assertion name - got 2, expected +0 - when Gecko 71 merges to Beta on 2019-10-14

Categories

(Core :: WebRTC, defect)

defect
Not set
normal

Tracking

()

VERIFIED FIXED
mozilla71
Tracking Status
firefox-esr60 --- unaffected
firefox-esr68 --- unaffected
firefox69 --- unaffected
firefox70 --- unaffected
firefox71 --- verified

People

(Reporter: noemi_erli, Assigned: tnguyen)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

[Tracking Requested - why for this release]:

Central as Beta:
https://treeherder.mozilla.org/#/jobs?repo=try&selectedJob=265315129&resultStatus=testfailed%2Cbusted%2Cexception&revision=cb853226098e88a353228488821cf30d3c106ad0&searchStr=mochitest-media

Failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=265315129&repo=try&lineNumber=11297

[task 2019-09-06T11:12:48.245Z] 11:12:48 INFO - TEST-START | dom/media/tests/mochitest/test_enumerateDevices.html
[task 2019-09-06T11:12:48.321Z] 11:12:48 INFO - GECKO(3628) | TEST DEVICES: Got loopback audio: Monitor of Null Output
[task 2019-09-06T11:12:48.321Z] 11:12:48 INFO - GECKO(3628) | TEST DEVICES: Got loopback video: Dummy video device (0x0000)
[task 2019-09-06T11:12:48.846Z] 11:12:48 INFO - TEST-INFO | started process screentopng
[task 2019-09-06T11:12:49.271Z] 11:12:49 INFO - TEST-INFO | screentopng: exit 0
[task 2019-09-06T11:12:49.272Z] 11:12:49 INFO - Buffered messages logged at 11:12:48
[task 2019-09-06T11:12:49.273Z] 11:12:49 INFO - TEST-PASS | dom/media/tests/mochitest/test_enumerateDevices.html | A valid string reason is expected
[task 2019-09-06T11:12:49.274Z] 11:12:49 INFO - TEST-PASS | dom/media/tests/mochitest/test_enumerateDevices.html | Reason cannot be empty
[task 2019-09-06T11:12:49.275Z] 11:12:49 INFO - TEST-PASS | dom/media/tests/mochitest/test_enumerateDevices.html | At least one device found
[task 2019-09-06T11:12:49.276Z] 11:12:49 INFO - TEST-PASS | dom/media/tests/mochitest/test_enumerateDevices.html | kind survived serializer
[task 2019-09-06T11:12:49.277Z] 11:12:49 INFO - TEST-PASS | dom/media/tests/mochitest/test_enumerateDevices.html | deviceId survived serializer
[task 2019-09-06T11:12:49.278Z] 11:12:49 INFO - TEST-PASS | dom/media/tests/mochitest/test_enumerateDevices.html | Known device kind
[task 2019-09-06T11:12:49.279Z] 11:12:49 INFO - TEST-PASS | dom/media/tests/mochitest/test_enumerateDevices.html | deviceId length id as expected for Firefox
[task 2019-09-06T11:12:49.279Z] 11:12:49 INFO - TEST-PASS | dom/media/tests/mochitest/test_enumerateDevices.html | Device label: Dummy video device (0x0000)
[task 2019-09-06T11:12:49.283Z] 11:12:49 INFO - TEST-PASS | dom/media/tests/mochitest/test_enumerateDevices.html | groupId must be present.
[task 2019-09-06T11:12:49.283Z] 11:12:49 INFO - TEST-PASS | dom/media/tests/mochitest/test_enumerateDevices.html | Track label is a string
[task 2019-09-06T11:12:49.284Z] 11:12:49 INFO - TEST-PASS | dom/media/tests/mochitest/test_enumerateDevices.html | Track label is the device label
[task 2019-09-06T11:12:49.287Z] 11:12:49 INFO - TEST-PASS | dom/media/tests/mochitest/test_enumerateDevices.html | Known device kind
[task 2019-09-06T11:12:49.288Z] 11:12:49 INFO - TEST-PASS | dom/media/tests/mochitest/test_enumerateDevices.html | deviceId length id as expected for Firefox
[task 2019-09-06T11:12:49.288Z] 11:12:49 INFO - TEST-PASS | dom/media/tests/mochitest/test_enumerateDevices.html | Device label: Monitor of Null Output
[task 2019-09-06T11:12:49.289Z] 11:12:49 INFO - TEST-PASS | dom/media/tests/mochitest/test_enumerateDevices.html | groupId must be present.
[task 2019-09-06T11:12:49.289Z] 11:12:49 INFO - TEST-PASS | dom/media/tests/mochitest/test_enumerateDevices.html | Track label is a string
[task 2019-09-06T11:12:49.290Z] 11:12:49 INFO - TEST-PASS | dom/media/tests/mochitest/test_enumerateDevices.html | Track label is the device label
[task 2019-09-06T11:12:49.290Z] 11:12:49 INFO - TEST-PASS | dom/media/tests/mochitest/test_enumerateDevices.html | unknown plain deviceId on video must succeed
[task 2019-09-06T11:12:49.291Z] 11:12:49 INFO - TEST-PASS | dom/media/tests/mochitest/test_enumerateDevices.html | unknown plain deviceId on audio must succeed
[task 2019-09-06T11:12:49.292Z] 11:12:49 INFO - TEST-PASS | dom/media/tests/mochitest/test_enumerateDevices.html | unknown exact deviceId on video must fail: Constraints could be not satisfied.
[task 2019-09-06T11:12:49.292Z] 11:12:49 INFO - TEST-PASS | dom/media/tests/mochitest/test_enumerateDevices.html | unknown exact deviceId on video must fail w/correct constraint.
[task 2019-09-06T11:12:49.293Z] 11:12:49 INFO - TEST-PASS | dom/media/tests/mochitest/test_enumerateDevices.html | unknown exact deviceId on audio must fail: Constraints could be not satisfied.
[task 2019-09-06T11:12:49.293Z] 11:12:49 INFO - TEST-PASS | dom/media/tests/mochitest/test_enumerateDevices.html | unknown exact deviceId on audio must fail w/correct constraint.
[task 2019-09-06T11:12:49.294Z] 11:12:49 INFO - https://example.com/tests/dom/media/tests/mochitest/test_enumerateDevices.html
[task 2019-09-06T11:12:49.294Z] 11:12:49 INFO - https://example.com/tests/dom/media/tests/mochitest/test_enumerateDevices_iframe.html
[task 2019-09-06T11:12:49.295Z] 11:12:49 INFO - https://test1.example.com/tests/dom/media/tests/mochitest/test_enumerateDevices_iframe.html
[task 2019-09-06T11:12:49.295Z] 11:12:49 INFO - TEST-PASS | dom/media/tests/mochitest/test_enumerateDevices.html | Got message from expected origin
[task 2019-09-06T11:12:49.296Z] 11:12:49 INFO - TEST-PASS | dom/media/tests/mochitest/test_enumerateDevices.html | Got message from expected origin
[task 2019-09-06T11:12:49.296Z] 11:12:49 INFO - TEST-PASS | dom/media/tests/mochitest/test_enumerateDevices.html | undefined assertion name
[task 2019-09-06T11:12:49.296Z] 11:12:49 INFO - Buffered messages finished
[task 2019-09-06T11:12:49.297Z] 11:12:49 INFO - TEST-UNEXPECTED-FAIL | dom/media/tests/mochitest/test_enumerateDevices.html | undefined assertion name - got 2, expected +0
[task 2019-09-06T11:12:49.297Z] 11:12:49 INFO - SimpleTest.is@https://example.com/tests/SimpleTest/SimpleTest.js:322:16
[task 2019-09-06T11:12:49.298Z] 11:12:49 INFO - @https://example.com/tests/dom/media/tests/mochitest/test_enumerateDevices.html:111:5
[task 2019-09-06T11:12:49.298Z] 11:12:49 INFO - TEST-PASS | dom/media/tests/mochitest/test_enumerateDevices.html | Known device kind
[task 2019-09-06T11:12:49.298Z] 11:12:49 INFO - TEST-PASS | dom/media/tests/mochitest/test_enumerateDevices.html | deviceId length id as expected for Firefox
[task 2019-09-06T11:12:49.299Z] 11:12:49 INFO - TEST-PASS | dom/media/tests/mochitest/test_enumerateDevices.html | Device label: Dummy video device (0x0000)
[task 2019-09-06T11:12:49.299Z] 11:12:49 INFO - TEST-PASS | dom/media/tests/mochitest/test_enumerateDevices.html | groupId must be present.
[task 2019-09-06T11:12:49.300Z] 11:12:49 INFO - TEST-PASS | dom/media/tests/mochitest/test_enumerateDevices.html | Known device kind
[task 2019-09-06T11:12:49.300Z] 11:12:49 INFO - TEST-PASS | dom/media/tests/mochitest/test_enumerateDevices.html | deviceId length id as expected for Firefox
[task 2019-09-06T11:12:49.301Z] 11:12:49 INFO - TEST-PASS | dom/media/tests/mochitest/test_enumerateDevices.html | Device label: Monitor of Null Output
[task 2019-09-06T11:12:49.301Z] 11:12:49 INFO - TEST-PASS | dom/media/tests/mochitest/test_enumerateDevices.html | groupId must be present.
[task 2019-09-06T11:12:49.302Z] 11:12:49 INFO - TEST-PASS | dom/media/tests/mochitest/test_enumerateDevices.html | Known device kind
[task 2019-09-06T11:12:49.302Z] 11:12:49 INFO - TEST-PASS | dom/media/tests/mochitest/test_enumerateDevices.html | deviceId length id as expected for Firefox
[task 2019-09-06T11:12:49.303Z] 11:12:49 INFO - TEST-PASS | dom/media/tests/mochitest/test_enumerateDevices.html | Device label: Dummy video device (0x0000)
[task 2019-09-06T11:12:49.303Z] 11:12:49 INFO - TEST-PASS | dom/media/tests/mochitest/test_enumerateDevices.html | groupId must be present.
[task 2019-09-06T11:12:49.304Z] 11:12:49 INFO - TEST-PASS | dom/media/tests/mochitest/test_enumerateDevices.html | Known device kind
[task 2019-09-06T11:12:49.304Z] 11:12:49 INFO - TEST-PASS | dom/media/tests/mochitest/test_enumerateDevices.html | deviceId length id as expected for Firefox
[task 2019-09-06T11:12:49.304Z] 11:12:49 INFO - TEST-PASS | dom/media/tests/mochitest/test_enumerateDevices.html | Device label: Monitor of Null Output
[task 2019-09-06T11:12:49.305Z] 11:12:49 INFO - TEST-PASS | dom/media/tests/mochitest/test_enumerateDevices.html | groupId must be present.
[task 2019-09-06T11:12:49.305Z] 11:12:49 INFO - TEST-PASS | dom/media/tests/mochitest/test_enumerateDevices.html | Same origin deviceId for Dummy video device (0x0000) must match
[task 2019-09-06T11:12:49.306Z] 11:12:49 INFO - TEST-PASS | dom/media/tests/mochitest/test_enumerateDevices.html | Same origin deviceId for Monitor of Null Output must match
[task 2019-09-06T11:12:49.306Z] 11:12:49 INFO - TEST-PASS | dom/media/tests/mochitest/test_enumerateDevices.html | Different origin deviceId for Dummy video device (0x0000) must be different
[task 2019-09-06T11:12:49.306Z] 11:12:49 INFO - TEST-PASS | dom/media/tests/mochitest/test_enumerateDevices.html | Different origin deviceId for Monitor of Null Output must be different
[task 2019-09-06T11:12:49.306Z] 11:12:49 INFO - TEST-PASS | dom/media/tests/mochitest/test_enumerateDevices.html | No devices found
[task 2019-09-06T11:12:49.306Z] 11:12:49 INFO - GECKO(3628) | MEMORY STAT | vsize 20974693MB | residentFast 829MB
[task 2019-09-06T11:12:49.306Z] 11:12:49 INFO - TEST-OK | dom/media/tests/mochitest/test_enumerateDevices.html | took 644ms

This seems to be a regressin from https://bugzilla.mozilla.org/show_bug.cgi?id=1548087

Thomas, could you please take a look at this?

Flags: needinfo?(tnguyen)

dom.security.featurePolicy.enabled is enable only in nightly, so some
tests in beta will be failed. We should manually enable the pref in test.

That is because dom.security.featurePolicy.enabled is disabled in beta.
We should manually enable in the test.

Flags: needinfo?(tnguyen)

Thomas, can you get your patch reviewed so we can proceed to land it?

Flags: needinfo?(tnguyen)

Not yet, I will ping reviewer about this bug

Flags: needinfo?(tnguyen)

It is reviewed, can anyone help me push to nightly and beta? Thanks

Keywords: checkin-needed

Pushed by nbeleuzu@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/5e165ef7d318
Enable featurepolicy pref in beta test_enumerateDevices. r=baku

Keywords: checkin-needed
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla71
Assignee: nobody → tnguyen

:malexandru could you please tell me how I could run a try test on beta? The same way with nightly?
Thanks

Flags: needinfo?(malexandru)

You can find all the information you need here under "trunk as early beta" and "trunk as late beta" mainly:
https://wiki.mozilla.org/Sheriffing/How_To/Beta_simulations

This has already been tested on beta, as the try pushes where I mention it's fixed are from beta simulations, which is what we are doing here.

Flags: needinfo?(malexandru)

If you don't want to run all the tests, append --no-push to the command which modifies the configurations and hg commit -m 'Early beta config'. Select the jobs to run afterwards with ./mach try chooser

Noted it, thanks. There are different prefs in nightly and beta in my several patches, there would fail in beta and I need a way to check it.

Blocks: 1572461
Has Regression Range: --- → yes
Keywords: regression
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: