Perma toolkit/components/translations/tests/browser/browser_remote_settings.js | The following record was expected to be present but was not found: env.version == 114.0 when Gecko 114 merges to Beta on 2023-05-08
Categories
(Firefox :: Translations, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr102 | --- | unaffected |
firefox112 | --- | unaffected |
firefox113 | --- | unaffected |
firefox114 | + | verified |
People
(Reporter: smolnar, Assigned: nordzilla)
References
(Regression)
Details
(Keywords: regression)
Attachments
(1 file)
NFO - TEST-PASS | toolkit/components/translations/tests/browser/browser_remote_settings.js | The following record was expected to be present but was not found: empty filter expression
[task 2023-04-14T10:39:50.199Z] 10:39:50 INFO - -
[task 2023-04-14T10:39:50.199Z] 10:39:50 INFO - Buffered messages finished
[task 2023-04-14T10:39:50.199Z] 10:39:50 INFO - TEST-UNEXPECTED-FAIL | toolkit/components/translations/tests/browser/browser_remote_settings.js | The following record was expected to be present but was not found: env.version == 114.0
[task 2023-04-14T10:39:50.199Z] 10:39:50 INFO - - Got false, expected true
[task 2023-04-14T10:39:50.199Z] 10:39:50 INFO - Stack trace:
[task 2023-04-14T10:39:50.199Z] 10:39:50 INFO - chrome://mochikit/content/browser-test.js:test_is:1522
[task 2023-04-14T10:39:50.199Z] 10:39:50 INFO - chrome://mochitests/content/browser/toolkit/components/translations/tests/browser/browser_remote_settings.js:test_filter_current_firefox_version:112
[task 2023-04-14T10:39:50.199Z] 10:39:50 INFO - chrome://mochikit/content/browser-test.js:handleTask:1043
[task 2023-04-14T10:39:50.200Z] 10:39:50 INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1115
[task 2023-04-14T10:39:50.200Z] 10:39:50 INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1257
[task 2023-04-14T10:39:50.200Z] 10:39:50 INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1032
[task 2023-04-14T10:39:50.200Z] 10:39:50 INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1056
[task 2023-04-14T10:39:50.200Z] 10:39:50 INFO - TEST-PASS | toolkit/components/translations/tests/browser/browser_remote_settings.js | The following record was expected to be present but was not found: env.version <= 114
[task 2023-04-14T10:39:50.200Z] 10:39:50 INFO - -
[task 2023-04-14T10:39:50.200Z] 10:39:50 INFO - TEST-PASS | toolkit/components/translations/tests/browser/browser_remote_settings.js | The following record was expected to be present but was not found: env.version > 114.a0
[task 2023-04-14T10:39:50.200Z] 10:39:50 INFO - -
[task 2023-04-14T10:39:50.200Z] 10:39:50 INFO - TEST-PASS | toolkit/components/translations/tests/browser/browser_remote_settings.js | The following record was expected to be absent but was found: env.version < 1
[task 2023-04-14T10:39:50.200Z] 10:39:50 INFO - -
[task 2023-04-14T10:39:50.200Z] 10:39:50 INFO - Not taking screenshot here: see the one that was previously logged
[task 2023-04-14T10:39:50.200Z] 10:39:50 INFO - TEST-UNEXPECTED-FAIL | toolkit/components/translations/tests/browser/browser_remote_settings.js | Expected 6 items but got 5 items
[task 2023-04-14T10:39:50.200Z] 10:39:50 INFO - - Got 5, expected 6
[task 2023-04-14T10:39:50.200Z] 10:39:50 INFO - Stack trace:
[task 2023-04-14T10:39:50.200Z] 10:39:50 INFO - chrome://mochikit/content/browser-test.js:test_is:1522
[task 2023-04-14T10:39:50.200Z] 10:39:50 INFO - chrome://mochitests/content/browser/toolkit/components/translations/tests/browser/browser_remote_settings.js:test_filter_current_firefox_version:131
[task 2023-04-14T10:39:50.200Z] 10:39:50 INFO - chrome://mochikit/content/browser-test.js:handleTask:1043
[task 2023-04-14T10:39:50.200Z] 10:39:50 INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1115
[task 2023-04-14T10:39:50.200Z] 10:39:50 INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1257
[task 2023-04-14T10:39:50.200Z] 10:39:50 INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1032
[task 2023-04-14T10:39:50.200Z] 10:39:50 INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1056
[task 2023-04-14T10:39:50.200Z] 10:39:50 INFO - Leaving test bound test_filter_current_firefox_version
[task 2023-04-14T10:39:50.200Z] 10:39:50 INFO - Entering test bound test_get_records_with_multiple_versions
[task 2023-04-14T10:39:50.201Z] 10:39:50 INFO - GECKO(10818) | console.log: "Mocking RemoteSettings client"
[task 2023-04-14T10:39:50.201Z] 10:39:50 INFO - TEST-PASS | toolkit/components/translations/tests/browser/browser_remote_settings.js | Expected record qualityModel.enes.bin to be contained in the nameToVersionMap, but found none
Updated•1 years ago
|
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Assignee | ||
Comment 4•1 years ago
|
||
It seems to be the case that AppConstants.MOZ_APP_VERSION
is reporting a different version than the RemoteSettings env.version
for these particular CI runs.
However, maintaining equality between these two values is not critical or necessary for Firefox Translations. I simply added this test case to help ensure that the count of records retrieved was correct, and because I didn't think these two values would ever have discrepancies.
The other test cases, which are critical to Firefox Translations versioning, appear to be working in CI.
I am going to remove this test case since it is causing inconsistencies in CI, and is not critical.
Assignee | ||
Comment 5•1 years ago
|
||
Removes a test case that is failing in some runs of CI due to the
RemoteSettings env.version not being equal to MOZ_APP_VERSION.
This equality is not a critical or necessary test case.
Updated•1 years ago
|
Comment 7•1 years ago
|
||
bugherder |
Description
•