Bug 135014

Summary: inspector-protocol/profiler/console-profile.html is flaky on Mac
Product: WebKit Reporter: Alexey Proskuryakov <ap>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal CC: joepeck, timothy
Priority: P2 Keywords: LayoutTestFailure
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   

Description Alexey Proskuryakov 2014-07-17 10:14:55 PDT
http://webkit-test-results.appspot.com/dashboards/flakiness_dashboard.html#showAllRuns=true&tests=inspector-protocol%2Fprofiler%2Fconsole-profile.html

 Tests that console.profile/profileEnd will record CPU profile when inspector front-end is connected.
-SUCCESS: retrieved 'inner' profile
-SUCCESS: found 'collectProfiles' function in the profile
+FAIL: Cannot retrive headers: {
+    "result": {
+        "headers": [
+            {
+                "typeId": "CPU",
+                "uid": 42,
+                "title": "Test"
+            },
+            {
+                "typeId": "CPU",
+                "uid": 23,
+                "title": "Other window executing JavaScript"
+            },
+            {
+                "typeId": "CPU",
+                "uid": 15,
+                "title": "Call Document.write()"
+            },
+            {
+                "typeId": "CPU",
+                "uid": 44,
+                "title": "User defined function calles built-in functions"
+            },
+            {
+                "typeId": "CPU",
+                "uid": 18,
+                "title": "Inline event handler"
+            },
+            {
+                "typeId": "CPU",
+                "uid": 9,
+                "title": "Using the call() method"
+            },
+            {
+                "typeId": "CPU",
+                "uid": 33,
+                "title": "Profiling From A Nested Location"
+            },
+            {
+                "typeId": "CPU",
+                "uid": 22,
+                "title": "Multiple calls to different anonymous functions"
+            },
+            {
+                "typeId": "CPU",
+                "uid": 19,
+                "title": "Many Calls In The Same Scope"
+            },
+            {
+                "typeId": "CPU",
+                "uid": 6,
+                "title": "Using the apply() method"
+            },
+            {
+                "typeId": "CPU",
+                "uid": 1,
+                "title": "Anonymous event handler"
+            },
+            {
+                "typeId": "CPU",
+                "uid": 10,
+                "title": "Calling the same function where the profile started from another function"
+            },
+            {
+                "typeId": "CPU",
+                "uid": 47,
+                "title": "inner"
+            },
+            {
+                "typeId": "CPU",
+                "uid": 30,
+                "title": "Profile call in included file"
+            },
+            {
+                "typeId": "CPU",
+                "uid": 36,
+                "title": "Start the profiler the first time."
+            },
+            {
+                "typeId": "CPU",
+                "uid": 8,
+                "title": "Built-in function calls a user defined function"
+            },
+            {
+                "typeId": "CPU",
+                "uid": 29,
+                "title": "One Execution Context"
+            },
+            {
+                "typeId": "CPU",
+                "uid": 41,
+                "title": "Stop profiling from a timeout"
+            },
+            {
+                "typeId": "CPU",
+                "uid": 17,
+                "title": "Two Execution Contexts on the same line"
+            },
+            {
+                "typeId": "CPU",
+                "uid": 25,
+                "title": "Nested anonymous functions called"
+            },
+            {
+                "typeId": "CPU",
+                "uid": 4,
+                "title": "Anonymous function calles eval"
+            },
+            {
+                "typeId": "CPU",
+                "uid": 32,
+                "title": "Profiling From A Nested Location But Stop Profiling Outside The Nesting"
+            },
+            {
+                "typeId": "CPU",
+                "uid": 31,
+                "title": "org.webkit.profiles.user-initiated.1"
+            },
+            {
+                "typeId": "CPU",
+                "uid": 35,
+                "title": "A simple profile test where no scope chagnes"
+            },
+            {
+                "typeId": "CPU",
+                "uid": 13,
+                "title": "Using a constructor."
+            },
+            {
+                "typeId": "CPU",
+                "uid": 16,
+                "title": "Event handler"
+            },
+            {
+                "typeId": "CPU",
+                "uid": 7,
+                "title": "Built-in function calls an anonymous function"
+            },
+            {
+                "typeId": "CPU",
+                "uid": 3,
+                "title": "Anonymous function calls built-in functions"
+            },
+            {
+                "typeId": "CPU",
+                "uid": 34,
+                "title": "A simple profile test where an event happens."
+            },
+            {
+                "typeId": "CPU",
+                "uid": 24,
+                "title": "Named functions with display names"
+            },
+            {
+                "typeId": "CPU",
+                "uid": 39,
+                "title": "Profiling From A Nested Location"
+            },
+            {
+                "typeId": "CPU",
+                "uid": 14,
+                "title": "Dead time in profile."
+            },
+            {
+                "typeId": "CPU",
+                "uid": 46,
+                "title": "outer"
+            },
+            {
+                "typeId": "CPU",
+                "uid": 45,
+                "title": "Call window.eval()"
+            },
+            {
+                "typeId": "CPU",
+                "uid": 11,
+                "title": "Test"
+            },
+            {
+                "typeId": "CPU",
+                "uid": 26,
+                "title": "Start the profiler the first time."
+            },
+            {
+                "typeId": "CPU",
+                "uid": 5,
+                "title": "Anonymous functions with display names"
+            },
+            {
+                "typeId": "CPU",
+                "uid": 2,
+                "title": "Same anonymous function called from different contexts"
+            },
+            {
+                "typeId": "CPU",
+                "uid": 37,
+                "title": "Start the profiler the second time."
+            },
+            {
+                "typeId": "CPU",
+                "uid": 38,
+                "title": "Start the profiler the third time."
+            },
+            {
+                "typeId": "CPU",
+                "uid": 27,
+                "title": "Start the profiler the second time."
+            },
+            {
+                "typeId": "CPU",
+                "uid": 21,
+                "title": "Multiple and different scoped calls to the same function"
+            },
+            {
+                "typeId": "CPU",
+                "uid": 20,
+                "title": "Multiple and different scoped calls to the same anonymous function"
+            },
+            {
+                "typeId": "CPU",
+                "uid": 28,
+                "title": "Start the profiler the third time."
+            },
+            {
+                "typeId": "CPU",
+                "uid": 43,
+                "title": "Two Execution Contexts"
+            },
+            {
+                "typeId": "CPU",
+                "uid": 12,
+                "title": "Test"
+            }
+        ]
+    },
+    "id": 2
+}
Comment 1 Timothy Hatcher 2014-07-17 14:18:31 PDT
https://trac.webkit.org/changeset/171195 removed these profiler tests.
Comment 2 Alexey Proskuryakov 2014-07-17 14:27:46 PDT
Nice. Removed the test from TestExpectations in <http://trac.webkit.org/r171196>.