Closed Bug 1693301 Opened 5 years ago Closed 5 years ago

Test utility for automatic enrollment and cleanup

Categories

(Firefox :: Nimbus Desktop Client, enhancement, P1)

enhancement
Points:
3

Tracking

()

RESOLVED FIXED
88 Branch
Tracking Status
firefox88 --- fixed

People

(Reporter: andreio, Assigned: andreio)

References

Details

Attachments

(1 file)

We should write some utils to make it easier to enroll and cleanup.

Priority: -- → P1
Blocks: 1694408
Points: --- → 3
Pushed by aoprea@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/2ee3856bd2ae Nimbus test utility for automatic enrollment and cleanup r=k88hudson

Backed out for failures on browser_remotesettingsexperimentloader_init.js

backout: https://hg.mozilla.org/integration/autoland/rev/0caed8e54b79bd4f9bdd8972d429ad2df7ad890a

push: https://treeherder.mozilla.org/jobs?repo=autoland&revision=2ee3856bd2aebb4ae25455088809895fc408a4ac&group_state=expanded&selectedTaskRun=d2p_TCvJQAyDPdFmttKqfw.0

failure log: https://treeherder.mozilla.org/logviewer?job_id=331875760&repo=autoland&lineNumber=2808

[task 2021-03-03T11:18:27.004Z] 11:18:27 INFO - TEST-PASS | toolkit/components/nimbus/test/browser/browser_remotesettingsexperimentloader_init.js | Clean state - true == true -
[task 2021-03-03T11:18:27.004Z] 11:18:27 INFO - Console message: [JavaScript Error: "Unknown Collection "main/nimbus-desktop-experiments"" {file: "resource://services-settings/RemoteSettingsClient.jsm" line: 160}]
[task 2021-03-03T11:18:27.004Z] 11:18:27 INFO - UnknownCollectionError@resource://services-settings/RemoteSettingsClient.jsm:160:5
[task 2021-03-03T11:18:27.004Z] 11:18:27 INFO - sync@resource://services-settings/RemoteSettingsClient.jsm:470:13
[task 2021-03-03T11:18:27.005Z] 11:18:27 INFO -
[task 2021-03-03T11:18:27.005Z] 11:18:27 INFO - Buffered messages finished
[task 2021-03-03T11:18:27.005Z] 11:18:27 INFO - TEST-UNEXPECTED-FAIL | toolkit/components/nimbus/test/browser/browser_remotesettingsexperimentloader_init.js | Uncaught exception - at resource://nimbus/lib/ExperimentManager.jsm:200 - Error: An experiment with the slug "foo0.5839170966619033" already exists.
[task 2021-03-03T11:18:27.005Z] 11:18:27 INFO - Stack trace:
[task 2021-03-03T11:18:27.005Z] 11:18:27 INFO - enroll@resource://nimbus/lib/ExperimentManager.jsm:200:13
[task 2021-03-03T11:18:27.005Z] 11:18:27 INFO - onRecipe@resource://nimbus/lib/ExperimentManager.jsm:118:18
[task 2021-03-03T11:18:27.005Z] 11:18:27 INFO - Leaving test bound test_double_feature_enrollment
[task 2021-03-03T11:18:27.005Z] 11:18:27 INFO - Console message: 1614770306363 Toolkit.Telemetry WARN TelemetryEnvironment::setExperimentActive - the experiment type was truncated.
[task 2021-03-03T11:18:27.005Z] 11:18:27 INFO - GECKO(2155) | console.debug: ExperimentManager:
[task 2021-03-03T11:18:27.005Z] 11:18:27 INFO - GECKO(2155) | Skipping enrollment for "bar0.9567669995147388" because there is an existing experiment for its feature.
[task 2021-03-03T11:18:27.005Z] 11:18:27 INFO - GECKO(2155) | console.debug: RSLoader:
[task 2021-03-03T11:18:27.005Z] 11:18:27 INFO - GECKO(2155) | 2 recipes matched. Finalizing ExperimentManager.
[task 2021-03-03T11:18:27.005Z] 11:18:27 INFO - GECKO(2155) | MEMORY STAT | vsize 20975062MB | residentFast 1120MB
[task 2021-03-03T11:18:27.005Z] 11:18:27 INFO - TEST-OK | toolkit/components/nimbus/test/browser/browser_remotesettingsexperimentloader_init.js | took 773ms

Flags: needinfo?(andrei.br92)
Pushed by aoprea@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/3d03ee4e4606 Nimbus test utility for automatic enrollment and cleanup r=k88hudson
Pushed by aoprea@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/635ba804cdd8 Nimbus test utility for automatic enrollment and cleanup r=k88hudson
Pushed by aoprea@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/9551a9d272d7 Nimbus test utility for automatic enrollment and cleanup r=k88hudson
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → 88 Branch
Flags: needinfo?(andrei.br92)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: