Closed Bug 1176635 Opened 9 years ago Closed 8 years ago

browser_animation_playerWidgets_compositor_icon.js is going to permafail when Gecko 41 merges to Beta

Categories

(DevTools :: Inspector, defect)

defect
Not set
major

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: RyanVM, Unassigned)

References

Details

https://treeherder.mozilla.org/logviewer.html#?job_id=8742344&repo=try

10:28:13 INFO - 18 INFO checking window state
10:28:13 INFO - 19 INFO Entering test
10:28:13 INFO - 20 INFO Adding a new tab with URL: 'http://example.com/browser/browser/devtools/animationinspector/test/doc_simple_animation.html'
10:28:13 INFO - 21 INFO Loading the helper frame script chrome://mochitests/content/browser/browser/devtools/animationinspector/test/doc_frame_script.js
10:28:13 INFO - 22 INFO Loading the helper frame script chrome://browser/content/devtools/frame-script-utils.js
10:28:13 INFO - 23 INFO URL 'http://example.com/browser/browser/devtools/animationinspector/test/doc_simple_animation.html' loading complete
10:28:13 INFO - 24 INFO Opening the toolbox with the inspector selected
10:28:13 INFO - 25 INFO Console message: [JavaScript Warning: "Error in parsing value for 'text-anchor'. Declaration dropped." {file: "resource://gre/modules/devtools/server/actors/highlighter.css" line: 272 column: 15 source: " text-anchor: left;"}]
10:28:13 INFO - 26 INFO Switching to the animationinspector
10:28:13 INFO - 27 INFO Waiting for toolbox focus
10:28:13 INFO - 28 INFO Making sure that the toolbox's frame is focused
10:28:13 INFO - 29 INFO Waiting for the inspector and sidebar to be ready
10:28:13 INFO - 30 INFO Waiting for the animation controller and panel to be ready
10:28:13 INFO - 31 INFO Select the simple animated node
10:28:13 INFO - 32 INFO Selecting the node for '.animated'
10:28:13 INFO - 33 INFO TEST-PASS | browser/devtools/animationinspector/test/browser_animation_playerWidgets_compositor_icon.js | The compositor-icon element exists
10:28:13 INFO - 34 INFO TEST-UNEXPECTED-FAIL | browser/devtools/animationinspector/test/browser_animation_playerWidgets_compositor_icon.js | The compositor icon is visible, since the animation is running on compositor thread -
10:28:13 INFO - Stack trace:
10:28:13 INFO - chrome://mochitests/content/browser/browser/devtools/animationinspector/test/browser_animation_playerWidgets_compositor_icon.js:null:21
10:28:13 INFO - self-hosted:next:623
10:28:13 INFO - Tester_execTest@chrome://mochikit/content/browser-test.js:741:9
10:28:13 INFO - Tester.prototype.nextTest</<@chrome://mochikit/content/browser-test.js:664:7
10:28:13 INFO - SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:746:59
10:28:13 INFO - 35 INFO Leaving test
Flags: needinfo?(edoardo.putti)
I run the new test and is passing. What can I help you with?

In your trace I see that the last test of the new file is failing

10:28:13 INFO - 34 INFO TEST-UNEXPECTED-FAIL | browser/devtools/animationinspector/test/browser_animation_playerWidgets_compositor_icon.js | The compositor icon is visible, since the animation is running on compositor thread -

This test opens a html document with animated nodes on the compositor thread and require the compositor icon to be visible. Can we have timing for the test? Maybe it's been executing too fast and we can delay this check because the element is natively hidden and shown on request and only when animation is running.



edoardo@edoardo-desktop:~/firefox$ ./mach mochitest browser/devtools/animationinspector/test/browser_animation_playerWidgets_compositor_icon.js 
/usr/bin/make -j4 -s install-tests
From _tests: Kept 38932 existing; Added/updated 0; Removed 0 files and 0 directories.

######
### Now running mochitest-browser with subsuite devtools.
######

Checking for orphan ssltunnel processes...
Checking for orphan xpcshell processes...
SUITE-START | Running 1 tests
dir: browser/devtools/animationinspector/test
pk12util: PKCS12 IMPORT SUCCESSFUL
MochitestServer : launching [u'/home/edoardo/firefox/obj-x86_64-unknown-linux-gnu/dist/bin/xpcshell', '-g', u'/home/edoardo/firefox/obj-x86_64-unknown-linux-gnu/dist/bin', '-v', '170', '-f', u'/home/edoardo/firefox/obj-x86_64-unknown-linux-gnu/dist/bin/components/httpd.js', '-e', "const _PROFILE_PATH = '/tmp/tmpVvjjZt.mozrunner'; const _SERVER_PORT = '8888'; const _SERVER_ADDR = '127.0.0.1'; const _TEST_PREFIX = undefined; const _DISPLAY_RESULTS = false;", '-f', '/home/edoardo/firefox/obj-x86_64-unknown-linux-gnu/_tests/testing/mochitest/server.js']
runtests.py | Server pid: 18856
runtests.py | Websocket server pid: 18859
runtests.py | SSL tunnel pid: 18862
runtests.py | Running tests: start.

runtests.py | Application pid: 18885
(process:18885): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed
-*- Webapps.jsm : Saving /tmp/tmpVvjjZt.mozrunner/webapps/webapps.json
-*- Webapps.jsm : Saving /tmp/tmpVvjjZt.mozrunner/webapps/webapps.json
-*- Webapps.jsm : Success saving /tmp/tmpVvjjZt.mozrunner/webapps/webapps.json
-*- Webapps.jsm : Success saving /tmp/tmpVvjjZt.mozrunner/webapps/webapps.json
0 INFO *** Start BrowserChrome Test Results ***
1 INFO checking window state
2 INFO TEST-INFO | (browser-test.js) | Console message: [JavaScript Error: "DEPRECATION WARNING: FUEL is deprecated, you should use the add-on SDK instead.
You may find more details about this deprecation at: https://developer.mozilla.org/Add-ons/SDK/
file:///home/edoardo/firefox/obj-x86_64-unknown-linux-gnu/dist/bin/browser/components/fuelApplication.js 1458 Application
file:///home/edoardo/firefox/obj-x86_64-unknown-linux-gnu/dist/bin/browser/components/fuelApplication.js 726 af_ci
chrome://mochikit/content/browser-test.js 244 Tester_start
chrome://mochikit/content/browser-harness.xul 254 createTester/</<
null 0 null
" {file: "resource://gre/modules/Deprecated.jsm" line: 79}]

3 INFO TEST-START | browser/devtools/animationinspector/test/browser_animation_playerWidgets_compositor_icon.js
4 INFO Entering test 
5 INFO Adding a new tab with URL: 'http://example.com/browser/browser/devtools/animationinspector/test/doc_simple_animation.html'
6 INFO Loading the helper frame script chrome://mochitests/content/browser/browser/devtools/animationinspector/test/doc_frame_script.js
7 INFO Loading the helper frame script chrome://browser/content/devtools/frame-script-utils.js
8 INFO URL 'http://example.com/browser/browser/devtools/animationinspector/test/doc_simple_animation.html' loading complete
9 INFO Opening the toolbox with the inspector selected
10 INFO Console message: [JavaScript Warning: "Error in parsing value for 'text-anchor'.  Declaration dropped." {file: "resource://gre/modules/devtools/server/actors/highlighter.css" line: 272 column: 15 source: "  text-anchor: left;"}]
11 INFO Switching to the animationinspector
12 INFO Waiting for toolbox focus
13 INFO Making sure that the toolbox's frame is focused
14 INFO Waiting for the inspector and sidebar to be ready
15 INFO Console message: [JavaScript Warning: "Expected declaration but found '*'.  Skipped to next declaration." {file: "chrome://browser/content/devtools/codemirror/codemirror.css" line: 176 column: 2 source: "  *zoom:1;"}]
16 INFO Console message: [JavaScript Warning: "Expected declaration but found '*'.  Skipped to next declaration." {file: "chrome://browser/content/devtools/codemirror/codemirror.css" line: 177 column: 2 source: "  *display:inline;"}]
17 INFO Console message: [JavaScript Warning: "Unknown property '-moz-border-radius'.  Declaration dropped." {file: "chrome://browser/content/devtools/codemirror/codemirror.css" line: 190 column: 20 source: "  -moz-border-radius: 0; -webkit-border-radius: 0; border-radius: 0;"}]
18 INFO Console message: [JavaScript Warning: "Expected declaration but found '*'.  Skipped to next declaration." {file: "chrome://browser/content/devtools/codemirror/codemirror.css" line: 262 column: 19 source: ".CodeMirror span { *vertical-align: text-bottom; }"}]
19 INFO Waiting for the animation controller and panel to be ready
20 INFO Select the simple animated node
21 INFO Selecting the node for '.animated'
22 INFO TEST-PASS | browser/devtools/animationinspector/test/browser_animation_playerWidgets_compositor_icon.js | The compositor-icon element exists 
23 INFO TEST-PASS | browser/devtools/animationinspector/test/browser_animation_playerWidgets_compositor_icon.js | The compositor icon is visible, since the animation is running on compositor thread 
24 INFO Leaving test 
MEMORY STAT vsizeMaxContiguous not supported in this build configuration.
MEMORY STAT | vsize 1059MB | residentFast 251MB | heapAllocated 86MB
25 INFO TEST-OK | browser/devtools/animationinspector/test/browser_animation_playerWidgets_compositor_icon.js | took 1898ms
26 INFO checking window state
Completed ShutdownLeaks collections in process 18885
27 INFO TEST-START | Shutdown
28 INFO Browser Chrome Test Summary
29 INFO Passed:  2
30 INFO Failed:  0
31 INFO Todo:    0
32 INFO *** End BrowserChrome Test Results ***
###!!! [Parent][OnMaybeDequeueOne] Error: Channel closing: too late to send/recv, messages will be lost
###!!! [Parent][OnMaybeDequeueOne] Error: Channel closing: too late to send/recv, messages will be lost
###!!! [Parent][OnMaybeDequeueOne] Error: Channel closing: too late to send/recv, messages will be lost
###!!! [Parent][OnMaybeDequeueOne] Error: Channel closing: too late to send/recv, messages will be lost
###!!! [Parent][OnMaybeDequeueOne] Error: Channel closing: too late to send/recv, messages will be lost
TEST-INFO | Main app process: exit 0

runtests.py | Application ran for: 0:00:05.347487
zombiecheck | Reading PID log: /tmp/tmpcIPVfYpidlog
Stopping web server
Stopping web socket server
Stopping ssltunnel
WARNING | leakcheck | refcount logging is off, so leaks can't be detected!
runtests.py | Running tests: end.
TEST-INFO | checking window state
Browser Chrome Test Summary
	Passed: 2
	Failed: 0
	Todo: 0
*** End BrowserChrome Test Results ***
SUITE-END | took 6s
Flags: needinfo?(edoardo.putti)
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WORKSFORME
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.