Closed Bug 1373913 Opened 7 years ago Closed 7 years ago

TEST-UNEXPECTED-FAIL | toolkit/components/telemetry/tests/unit/test_TelemetryEnvironment.js | test_delayed_defaultBrowser - [test_delayed_defaultBrowser : 1586] isDefaultBrowser must be of the right type. - "object" == "boolean"

Categories

(Thunderbird :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird 56.0

People

(Reporter: jorgk-bmo, Assigned: Dexter)

References

Details

(Whiteboard: [Thunderbird-testfailure: X all])

Attachments

(1 file, 1 obsolete file)

First seen Sat Jun 17, 2017, 8:27:05:
https://treeherder.mozilla.org/#/jobs?repo=comm-central&revision=e156549bd91a5036d58a7724dd386e041738cb46

TEST-UNEXPECTED-FAIL | toolkit/components/telemetry/tests/unit/test_TelemetryEnvironment.js | xpcshell return code: 0
 
TEST-UNEXPECTED-FAIL | toolkit/components/telemetry/tests/unit/test_TelemetryEnvironment.js | test_delayed_defaultBrowser - [test_delayed_defaultBrowser : 1586] isDefaultBrowser must be of the right type. - "object" == "boolean"

M-C last good: fe809f57bf2287bb937c3422ed03a63740
M-C first bad: bb8eab3c3ac4147848c4c85d628ba72029

https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=fe809f57bf2287bb937c3422ed03a63740&tochange=bb8eab3c3ac4147848c4c85d628ba72029

Caused by bug 1367029.

Maybe exclude TB here:
https://hg.mozilla.org/mozilla-central/rev/adb51b322ca8#l1.57

TB is not really a "default browser", so this test might not apply to it.

Alessio and Georg, please advise.
Flags: needinfo?(gfritzsche)
Flags: needinfo?(alessio.placitelli)
Maybe like this.
Attachment #8878765 - Flags: review?(gfritzsche)
Comment on attachment 8878765 [details] [diff] [review]
1373913-default-browser-thunderbird.patch

No, that didn't work, see try, still failing.
Attachment #8878765 - Flags: review?(gfritzsche)
Assignee: nobody → alessio.placitelli
Flags: needinfo?(alessio.placitelli)
Flags: needinfo?(gfritzsche)
Blocks: 1367029
Attachment #8878765 - Attachment is obsolete: true
Hey Jorg, this is due to the changes in bug 1367029. It includes always checking for valid values of isDefaultBrowser, while we were more relaxed before.

This patch skips the test on TB, would you mind checking that it works? If it does, I'll flag Georg for review and land it ASAP.
Flags: needinfo?(jorgk)
Status: NEW → ASSIGNED
Thank you for the quick response, let's see:
https://treeherder.mozilla.org/#/jobs?repo=try-comm-central&revision=1d996a5d1ff9319d286b14720020ed132b0624d2
Flags: needinfo?(jorgk)
Attachment #8879028 - Flags: review?(gfritzsche)
(In reply to Jorg K (GMT+2) from comment #6)
> Thank you for the quick response, let's see:
> https://treeherder.mozilla.org/#/jobs?repo=try-comm-
> central&revision=1d996a5d1ff9319d286b14720020ed132b0624d2

Thank you for pushing this to try ;) Looks like the patch is working, I've flagged Georg for review.
Yes, working, you beat me to checking it. I made a mistake by doing a debug run, opt would have been quicker, but never mind.
Comment on attachment 8879028 [details]
Bug 1373913 - Skip the default browser test on Thunderbird.

https://reviewboard.mozilla.org/r/150332/#review155146

rs=me with the below addressed.

::: toolkit/components/telemetry/tests/unit/test_TelemetryEnvironment.js:1572
(Diff revision 1)
>    data = TelemetryEnvironment.currentEnvironment;
>    Assert.equal(data.settings.searchCohort, "testcohort");
>  });
>  
>  add_task(async function test_delayed_defaultBrowser() {
> +  if (AppConstants.MOZ_APP_NAME == "thunderbird") {

Lets use the `skip_if` parameter for `add_task`.
Attachment #8879028 - Flags: review?(gfritzsche) → review+
Pushed by alessio.placitelli@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/ae1a0f735603
Skip the default browser test on Thunderbird. r=gfritzsche
https://hg.mozilla.org/mozilla-central/rev/ae1a0f735603
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 56.0
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: