Closed Bug 1753034 Opened 3 years ago Closed 3 years ago

telemetry-tests-client should not create nonlocal connections to Search Engine pages

Categories

(Toolkit :: Telemetry, defect, P1)

defect

Tracking

()

RESOLVED FIXED
100 Branch
Tracking Status
firefox100 --- fixed

People

(Reporter: jdescottes, Assigned: b4hand)

References

Details

Attachments

(2 files)

See Bug 1371576.

Various telemetry-tests-client exercise the search feature from the URL bar: https://searchfox.org/mozilla-central/rev/e3a7a72713e1ba8696cb2af55e928059bc822572/toolkit/components/telemetry/tests/marionette/harness/telemetry_harness/testcase.py#75

This leads to load the results page of the selected search engine during the test.
Since those tests are tier1, they should not perform any network connection (see Bug 1371576 comment #39).

We should either find a way of running those without hitting the network (and ideally force MOZ_DISABLE_NONLOCAL_CONNECTIONS to avoid regressions) or set them as tier 2.

Note that those tests currently fail even earlier on try for a glean ping. See Bug 1753003

test_event_ping.py can be removed since coverage is present in xpcshell
test_search_counts_across_sessions.py can be removed because fixing it would require more investment than the decreasing importance of Firefox Telemetry (in the face of Glean) warrants
test_fog_deletion_request_ping.py can just load about:glean instead of searching.

Assignee: nobody → chutten
Severity: -- → S4
Status: NEW → ASSIGNED
Priority: -- → P1
Assignee: chutten → bforehand

There's a r+ patch which didn't land and no activity in this bug for 2 weeks.
:b4hand, could you have a look please?
If you still have some work to do, you can add an action "Plan Changes" in Phabricator.
For more information, please visit auto_nag documentation.

Flags: needinfo?(chutten)
Flags: needinfo?(bforehand)

Last I heard, b4hand was working on resubmitting a patch since the first one didn't apply

Flags: needinfo?(chutten)

Submitted another patch as the other one I tried to rebase on central and messed it all up.

Flags: needinfo?(bforehand)
Attachment #9266942 - Attachment description: Bug 1753034 - removed tests, and edited search test to use about:glean; r?chutten,jdescottes → Bug 1753034 - removed tests, and edited search test to use about:glean; r?jdescottes
Pushed by jdescottes@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e4c2053e7320 removed tests, and edited search test to use about:glean; r=jdescottes
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 100 Branch
Component: Marionette → Telemetry
Product: Testing → Toolkit
Version: Default → unspecified
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: