Closed Bug 1874136 Opened 10 months ago Closed 6 months ago

Running crash tests locally shows "Welcome back" popup

Categories

(Firefox :: Messaging System, defect, P1)

defect
Points:
3

Tracking

()

RESOLVED WORKSFORME
Iteration:
127.2 - Apr 29 - May 10
Tracking Status
firefox-esr115 --- unaffected
firefox121 --- unaffected
firefox122 --- wontfix
firefox123 --- wontfix
firefox124 --- wontfix

People

(Reporter: jstutte, Assigned: jprickett)

References

(Blocks 1 open bug, Regression)

Details

(Keywords: regression)

Attachments

(1 file)

Attached image Welcome back Popup

If I run MOZ_DISABLE_NONLOCAL_CONNECTIONS=0 mach crashtest docshell/base/crashtests/1341657.html locally, I get the attached popup. I do not think that this should happen?

:jprickett, since you are the author of the regressor, bug 1831144, could you take a look? Also, could you set the severity field?

For more information, please visit BugBot documentation.

Flags: needinfo?(jprickett)

(that I need MOZ_DISABLE_NONLOCAL_CONNECTIONS=0 to run them locally is a different piece of cake)

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

FWIW, I see this only on my linux environment, on my Windows machine it works as expected and it seems to also work for others on linux. Not sure what is the trigger then.

We have some guardrails in place to prevent this message from appearing in tests, but it seems that we might not have caught all of the edge cases. Specifically, we are checking the values of the MOZ_AUTOMATION environment variable, Cu.isInAutomation, and Services.env.exists("XPCSHELL_TEST_PROFILE_DIR"). If any of these values are truthy, the message is supposed to be prevented from being displayed. Additionally, the message should not be displayed unless the profile is > 28 days old. I suspect that there might be something happening on linux causing that. I'll do some testing on my linux machine to see if I can recreate the issue.

Flags: needinfo?(jprickett)

Thanks. Maybe my profile was just > 28 days old, I am not running the built browser very often there.

(In reply to Jens Stutte [:jstutte] from comment #6)

Thanks. Maybe my profile was just > 28 days old, I am not running the built browser very often there.

But it continues to do so also in subsequent runs, so not sure if that matters.

:Jason Prickett any updates from Comment 5?
Wondering if this indicates any user facing issue or is only an issue with tests?

Flags: needinfo?(jprickett)
Assignee: nobody → jprickett
Status: NEW → ASSIGNED
Iteration: --- → 123.3 - Jan 15 - Jan 19
Points: --- → 3
Priority: -- → P1

I don't believe this is a user-facing issue. The message is indeed meant to appear for users that meet the criteria for it to appear, but the issue is that it is sometimes also appearing in certain circumstances in automation, such as this crash test, where there shouldn't be a message interrupting the flow of the automation. Nonetheless, I believe it warrants fixing, and I'll try and get to the bottom of it before the code freeze this week, however I'm having difficulty reproducing this locally.

:jstutte Silly question, but am I correct in assuming that the build you're running the crash test on is an up-to-date nightly build?

Flags: needinfo?(jprickett) → needinfo?(jstutte)

(In reply to Jason Prickett from comment #9)

:jstutte Silly question, but am I correct in assuming that the build you're running the crash test on is an up-to-date nightly build?

Yes, as of the time of filing the bug.

Flags: needinfo?(jstutte)
Iteration: 123.3 - Jan 15 - Jan 19 → 124.1 - Jan 22 - Feb 2

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

The severity field is not set for this bug.
:pdahiya, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(pdahiya)
Severity: -- → S3
Flags: needinfo?(pdahiya)

Setting severity to S3 as per #comment 9 issue being not user facing and so far seen in automation tests

Iteration: 124.1 - Jan 22 - Feb 2 → 124.2 - Feb 4 - Feb 16
Iteration: 124.2 - Feb 4 - Feb 16 → 125.1 - Feb 19 - Mar 1
Blocks: spotlight
Iteration: 125.1 - Feb 19 - Mar 1 → 125.2 - Mar 4 - Mar 15
Iteration: 125.2 - Mar 4 - Mar 15 → 126.1 - Mar 18 - Mar 29
Iteration: 126.1 - Mar 18 - Mar 29 → 126.2 - Apr 1 - Apr 12
Iteration: 126.2 - Apr 1 - Apr 12 → 127.1 - Apr 15 - Apr 26
Iteration: 127.1 - Apr 15 - Apr 26 → 127.2 - Apr 29 - May 10

:jstutte I've been unable to recreate this across multiple attempts. If this is still reoccurring, please re-open this bug and I'll give it another look!

Status: ASSIGNED → RESOLVED
Closed: 6 months ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: