Closed Bug 1466139 Opened 6 years ago Closed 6 years ago

Devtools failures on browser_telemetry_sidebar.js when Gecko 62 merges to Beta on 14-06-2018

Categories

(DevTools :: Inspector, defect)

defect
Not set
normal

Tracking

(firefox-esr52 unaffected, firefox-esr60 unaffected, firefox60 unaffected, firefox61 unaffected, firefox62 verified)

VERIFIED FIXED
Firefox 62
Tracking Status
firefox-esr52 --- unaffected
firefox-esr60 --- unaffected
firefox60 --- unaffected
firefox61 --- unaffected
firefox62 --- verified

People

(Reporter: CosminS, Assigned: aryx)

Details

(Keywords: regression)

Attachments

(1 file)

Central as beta simulation: https://treeherder.mozilla.org/#/jobs?repo=try&revision=86bd65f4193bb4d637ef137f0a07dd404bc8abbe&filter-resultStatus=testfailed&filter-resultStatus=busted&filter-resultStatus=exception&filter-searchStr=devtools&selectedJob=181332089

Failure log: https://treeherder.mozilla.org/logviewer.html#?job_id=181332089&repo=try&lineNumber=2722

[task 2018-06-01T12:19:49.753Z] 12:19:49     INFO - TEST-UNEXPECTED-FAIL | devtools/client/shared/test/browser_telemetry_sidebar.js | newpanel is correct - Got animationinspector, expected fontinspector
[task 2018-06-01T12:19:49.754Z] 12:19:49     INFO - Stack trace:
[task 2018-06-01T12:19:49.755Z] 12:19:49     INFO - chrome://mochikit/content/browser-test.js:test_is:1285
[task 2018-06-01T12:19:49.757Z] 12:19:49     INFO - chrome://mochitests/content/browser/devtools/client/shared/test/browser_telemetry_sidebar.js:checkEventTelemetry:165
[task 2018-06-01T12:19:49.761Z] 12:19:49     INFO - chrome://mochitests/content/browser/devtools/client/shared/test/browser_telemetry_sidebar.js:null:100
[task 2018-06-01T12:19:49.762Z] 12:19:49     INFO - TEST-PASS | devtools/client/shared/test/browser_telemetry_sidebar.js | timestamp is greater than 0 - 
[task 2018-06-01T12:19:49.762Z] 12:19:49     INFO - TEST-PASS | devtools/client/shared/test/browser_telemetry_sidebar.js | category is correct - 
[task 2018-06-01T12:19:49.763Z] 12:19:49     INFO - TEST-PASS | devtools/client/shared/test/browser_telemetry_sidebar.js | method is correct - 
[task 2018-06-01T12:19:49.767Z] 12:19:49     INFO - TEST-PASS | devtools/client/shared/test/browser_telemetry_sidebar.js | object is correct - 
[task 2018-06-01T12:19:49.768Z] 12:19:49     INFO - TEST-PASS | devtools/client/shared/test/browser_telemetry_sidebar.js | value is correct - 
[task 2018-06-01T12:19:49.769Z] 12:19:49     INFO - Not taking screenshot here: see the one that was previously logged

This looks like a regression from https://bugzilla.mozilla.org/show_bug.cgi?id=1463083

https://hg.mozilla.org/integration/autoland/rev/375638c8a433
Product: Developer Documentation → Firefox
Product: Firefox → DevTools
:miker hi, can you please take a look at this?
Flags: needinfo?(mratcliffe)
Assignee: mratcliffe → aryx.bugmail
Status: NEW → ASSIGNED
Component: General → Inspector
Flags: needinfo?(mratcliffe)
Whiteboard: [stockwell disable-recommended]
Comment on attachment 8985902 [details]
Bug 1466139 - set animation panel ID depending on devtools.new-animationinspector.enabled.

https://reviewboard.mozilla.org/r/251394/#review258164

::: devtools/client/shared/test/browser_telemetry_sidebar.js:15
(Diff revision 2)
>  // Because we need to gather stats for the period of time that a tool has been
>  // opened we make use of setTimeout() to create tool active times.
>  const TOOL_DELAY = 200;
>  
> +var animationPanelId;
> +if (Services.prefs.getBoolPref("devtools.new-animationinspector.enabled")) {

thanks for catching this. I noticed that the test is not setting the bool -- are we testing both branches or is this set by default somewhere? If this isn't known at the moment we can do a follow up, just want to check
Attachment #8985902 - Flags: review?(ystartsev) → review+
The pref is set in devtools-client.js https://dxr.mozilla.org/mozilla-central/rev/e429320fcdd2d5236bb4713e6c435456146e42b9/devtools/client/preferences/devtools-client.js#65-69
Nightly uses the new one, beta and release the old one until the new one rides the trains. No branch tests with both pref values.
Pushed by archaeopteryx@coole-files.de:
https://hg.mozilla.org/integration/autoland/rev/1c5bd07226ca
set animation panel ID depending on devtools.new-animationinspector.enabled. r=yulia
https://hg.mozilla.org/mozilla-central/rev/1c5bd07226ca
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 62
Comment on attachment 8985902 [details]
Bug 1466139 - set animation panel ID depending on devtools.new-animationinspector.enabled.

https://reviewboard.mozilla.org/r/251394/#review263620

Well spotted, r+.
Attachment #8985902 - Flags: review?(mratcliffe) → review+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: