Closed Bug 1828086 Opened 1 years ago Closed 1 years ago

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)

defect

Tracking

()

VERIFIED FIXED
114 Branch
Tracking Status
firefox-esr102 --- unaffected
firefox112 --- unaffected
firefox113 --- unaffected
firefox114 + verified

People

(Reporter: smolnar, Assigned: nordzilla)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

Central as beta simulation

How to run these simulations

Failure log

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
Flags: needinfo?(enordin)

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.

Flags: needinfo?(enordin)

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.

Assignee: nobody → enordin
Status: NEW → ASSIGNED
Pushed by enordin@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/cad8a9f79a4f Fix test failure in browser_remote_settings r=gregtatum
Status: ASSIGNED → RESOLVED
Closed: 1 years ago
Resolution: --- → FIXED
Target Milestone: --- → 114 Branch

Fix verified in latest beta-sim.

Status: RESOLVED → VERIFIED
See Also: → 1837389
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: