Closed Bug 1857927 Opened 2 years ago Closed 2 years ago

Doh telemetry event ping is not recorded

Categories

(Core :: Networking: DNS, defect, P2)

Firefox 119
Desktop
All
defect

Tracking

()

RESOLVED INVALID
Tracking Status
firefox-esr115 --- unaffected
firefox118 --- unaffected
firefox119 --- wontfix
firefox120 --- wontfix

People

(Reporter: oardelean, Assigned: valentin)

References

(Blocks 1 open bug, Regression)

Details

(Keywords: regression, Whiteboard: [necko-triaged][necko-priority-review])

Attachments

(1 file)

Attached file policies.json

Notes

  • We are regularly running a Networking test that was passed in earlier builds, but failed in the latest beta build, this bug was logged with this reasoning in mind.

Found in

  • Beta 119.0b6;

Affected versions

  • Beta 119.0b6;

Tested platforms

  • Windows 10;
  • Ubuntu 22;
  • macOS 13;

Affected platforms

  • Windows 10;
  • Ubuntu 22;
  • macOS 13;

Unaffected platforms

  • N/A;

Preconditions

  • doh-rollout.home-region to US

Steps to reproduce

  1. Open the folder where Firefox is installed.
  2. Create a new folder titled distribution and add the attached policies.json file.
  3. Open the browser and navigate to about:policies and confirm the DNSOverHTTPS policy is active.
  4. Navigate to about:config and add the doh-rollout.enabled boolean pref with the true value.
  5. Restart the browser.
  6. Navigate to about config and confirm the value of network.trr.mode is 2.
  7. Navigate to about:config and confirm that the value of network.trr.uri is https://mozilla.cloudfare-dns.com/dns-query .
  8. Navigate to about:telemetry and observe the events.

Expected result

  • A similar event ping should be displayed:

category: doh
method: evaluate_v2
object: heuristics
value: enable_doh
extra: {"evaluateReason": "startup", "steeredProvider": "", "captiveState": "not_captive", "networkID": "sRcGeOhzXINUV59AQZLZgHzMOdvIv/LTEMl4+s3C1UA=", "canaries": "", "filtering": "", "enterprise": ""}

Actual result

  • No event ping registered.

Regression range

  • Will look for one ASAP.

:oardelean, if you think that's a regression, could you try to find a regression range using for example mozregression?

Priority: -- → P3
Whiteboard: [necko-triaged][necko-priority-review]

manual regression range results:

Keywords: regression
Regressed by: 1784258
Assignee: nobody → valentin.gosu
Blocks: doh-rollout
Priority: P3 → P2

Set release status flags based on info from the regressing bug 1784258

:valentin we are in the final week of beta for Fx119.
Do we expect a fix for this to land this week and make it in time for a beta uplift?
Or, will this come in a later release

Flags: needinfo?(valentin.gosu)

@Oana, I think this specific scenario was a bug before.
If an enterprise policy sets the TRR mode and URI, in that case we really shouldn't run heuristics at all.
Please let me know if you disagree.

I would instead change the testcase to be:
Set a policy enabled, URL: https://dns0.eu/ region US
Make sure that the provider is dns0.eu and not something from heuristics.

@Donal, I think we might end up closing this as INVALID as WONTFIX. I believe the new behaviour is actually the correct one.

Flags: needinfo?(valentin.gosu) → needinfo?(oardelean)

Thank you for answering, Valentin. We will update the test accordingly. Please feel free to close this bug as you see fit.

Flags: needinfo?(oardelean)

Thank you, Oana! Please let me know if you find any other issues.
Cheers!

Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: