Closed Bug 2061031 Opened 1 month ago Closed 1 month ago

Add plumbing for vpn.error_encountered probes to send the error_code onward

Categories

(Firefox for Android :: Privacy, task)

All
Android
task

Tracking

()

RESOLVED FIXED
155 Branch
Tracking Status
firefox154 --- fixed
firefox155 --- fixed

People

(Reporter: jonalmeida, Assigned: jonalmeida)

References

(Blocks 1 open bug)

Details

Attachments

(3 files, 1 obsolete file)

We have the probe from bug 2031198, but we never added the plumbing to send it through when an error occurs. This makes it harder for us to know what error occurred when we activate/deactivate.

Pushed by jonalmeida942@gmail.com: https://github.com/mozilla-firefox/firefox/commit/a4ec7d2356a6 https://hg.mozilla.org/integration/autoland/rev/725147790f19 Add the error from IPProtectionController to vpn.error_encountered r=geckoview-reviewers,android-reviewers,kaya
Pushed by csabou@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/a8d6dd42ad6a https://hg.mozilla.org/integration/autoland/rev/e887d13b2393 Revert "Bug 2061031 - Add the error from IPProtectionController to vpn.error_encountered r=geckoview-reviewers,android-reviewers,kaya" for causing gv-junit failures on ipProxyExceptionUnknownErrorStringsMapsToErrorUnknown.

Backed out for causing gv-junit failures on ipProxyExceptionUnknownErrorStringsMapsToErrorUnknown.

Push with failures

Failure log

Backout link

Flags: needinfo?(jonalmeida942)
See Also: → 2061135
Pushed by jonalmeida942@gmail.com: https://github.com/mozilla-firefox/firefox/commit/d92cc9c302c9 https://hg.mozilla.org/integration/autoland/rev/3fc6ebbc3f9a Add the error from IPProtectionController to vpn.error_encountered r=geckoview-reviewers,android-reviewers,kaya
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 155 Branch

Clearing NI; this was landed with the gv hash version fixed.

Flags: needinfo?(jonalmeida942)
Attachment #9624399 - Flags: approval-mozilla-beta?

firefox-beta Uplift Approval Request

These patches fix the errors that users were seeing and also increased the telemetry needed to identify the types of errors that a user would have encountered if they happen again. With them, the feature roll-out is possible to continue.

  • Code covered by automated testing?: yes
  • Fix verified in Nightly?: yes
  • Needs manual QE testing?: yes
  • Steps to reproduce for manual QE testing: STR can be found in bug 2061841 and bug 2061846.
  • Risk associated with taking this patch: medium
  • Explanation of risk level: The first three patches in nightly can be considered "low" because they have been tested and verified amongst multiple people for feature stability. D317232 has only recently landed and we haven't yet seen data come in from Nightly for full verification - as such, I've marked the combined stack as 'medium'.
  • String changes made/needed?: No
  • Is Android affected?: yes
Flags: qe-verify+

firefox-beta Uplift Approval Request

These patches fix the errors that users were seeing and also increased the telemetry needed to identify the types of errors that a user would have encountered if they happen again. With them, the feature roll-out is possible to continue.

  • Code covered by automated testing?: yes
  • Fix verified in Nightly?: yes
  • Needs manual QE testing?: yes
  • Steps to reproduce for manual QE testing: STR can be found in bug 2061841 and bug 2061846.
  • Risk associated with taking this patch: medium
  • Explanation of risk level: The first three patches in nightly can be considered "low" because they have been tested and verified amongst multiple people for feature stability. D317232 has only recently landed and we haven't yet seen data come in from Nightly for full verification - as such, I've marked the combined stack as 'medium'.
  • String changes made/needed?: No
  • Is Android affected?: yes
Attachment #9624399 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Attachment #9624399 - Flags: approval-mozilla-beta+ → approval-mozilla-beta?
Attachment #9624578 - Flags: approval-mozilla-beta?
Attachment #9624578 - Attachment is obsolete: true
Attachment #9624578 - Flags: approval-mozilla-beta?

I've re-pushed again with the test failures fixed and a new try build to verify that: https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=76978

I'll wait for the build to pass before I removed the need-info.

Sorry about the trouble and wasting your time, I skipped a step before submitting that I should have caught.

(In reply to Jonathan Almeida [:jonalmeida] from comment #15)

I'll wait for the build to pass before I removed the need-info.

Try build is all green.

Flags: needinfo?(jonalmeida942)
Attachment #9624399 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Attached video video_new53.mp4

Hi Jonathan,

I haven't been able to reproduce the "Couldn't connect to VPN" and "Continue without VPN?" errors right after sign-in. Should I trigger these errors manually to check the telemetry? Also, could you let me know what specific changes were made to the telemetry so I know what to check for?

The builds listed below were verified using a Google Pixel 7a running Android 16:

  • Fx 154.0b9 (Build #2016177354) – build containing fixes for the snapshot of errors
  • Fx Nightly 155.0a1 (Build #2016177823)

Please let me know if any additional builds are needed for verification.

Thanks!

Flags: needinfo?(jonalmeida942)

I think for telemetry plumbing, we don't need verification. I can see data start to flow in already from those probes in this graph: https://sql.telemetry.mozilla.org/dashboard/fenix-vpn-telemetry?p_channel=beta

Thank you!

Flags: needinfo?(jonalmeida942)
Flags: qe-verify+ → qe-verify-
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: