Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ChromeOS built with Clang times out on Octane telemetry test #25791

Closed
cmtice opened this issue Nov 5, 2015 · 5 comments
Closed

ChromeOS built with Clang times out on Octane telemetry test #25791

cmtice opened this issue Nov 5, 2015 · 5 comments
Assignees
Labels
bugzilla Issues migrated from bugzilla clang Clang issues not falling into any other category incomplete Issue not complete (e.g. missing a reproducer, build arguments, etc.)

Comments

@cmtice
Copy link
Contributor

cmtice commented Nov 5, 2015

Bugzilla Link 25417
Version unspecified
OS Linux
Blocks #24719
CC @jmolloy

Extended Description

If you build a ChromeOS image for daisy using the LLVM compiler, load the image onto a daisy Chromebook and try to run the Octane telemetry test on that Chromebook, it times out. GCC-built images do not have this problem.

python /var/cache/chromeos-cache/distfiles/target/chrome-src-internal/src/tools/perf/run_benchmark --browser=cros-chrome --remote=chromeos2-row5-rack4-host6.cros octane
[ RUN ] http://octane-benchmark.googlecode.com/svn/latest/index.html?auto=1
Traceback (most recent call last):
File "/var/cache/chromeos-cache/distfiles/target/chrome-src-internal/src/tools/telemetry/telemetry/internal/story_runner.py", line 83, in _RunStoryAndProcessErrorIfNeeded
state.RunStory(results)
File "/var/cache/chromeos-cache/distfiles/target/chrome-src-internal/src/tools/telemetry/telemetry/page/shared_page_state.py", line 298, in RunStory
self._current_page.Run(self)
File "/var/cache/chromeos-cache/distfiles/target/chrome-src-internal/src/tools/telemetry/telemetry/page/init.py", line 84, in Run
shared_state.page_test.RunNavigateSteps(self, current_tab)
File "/var/cache/chromeos-cache/distfiles/target/chrome-src-internal/src/tools/telemetry/telemetry/page/page_test.py", line 181, in RunNavigateSteps
page.RunNavigateSteps(action_runner)
File "/var/cache/chromeos-cache/distfiles/target/chrome-src-internal/src/tools/telemetry/telemetry/page/init.py", line 93, in RunNavigateSteps
url, script_to_evaluate_on_commit=self.script_to_evaluate_on_commit)
File "/var/cache/chromeos-cache/distfiles/target/chrome-src-internal/src/tools/telemetry/telemetry/page/action_runner.py", line 121, in Navigate
timeout_in_seconds=timeout_in_seconds))
File "/var/cache/chromeos-cache/distfiles/target/chrome-src-internal/src/tools/telemetry/telemetry/page/action_runner.py", line 44, in _RunAction
action.RunAction(self._tab)
File "/var/cache/chromeos-cache/distfiles/target/chrome-src-internal/src/tools/telemetry/telemetry/internal/actions/navigate.py", line 23, in RunAction
self._timeout_in_seconds)
File "/var/cache/chromeos-cache/distfiles/target/chrome-src-internal/src/tools/telemetry/telemetry/internal/browser/web_contents.py", line 245, in Navigate
self._inspector_backend.Navigate(url, script_to_evaluate_on_commit, timeout)
File "/var/cache/chromeos-cache/distfiles/target/chrome-src-internal/src/tools/telemetry/telemetry/internal/backends/chrome_inspector/inspector_backend.py", line 38, in inner
inspector_backend._ConvertExceptionFromInspectorWebsocket(e)
File "/var/cache/chromeos-cache/distfiles/target/chrome-src-internal/src/tools/telemetry/telemetry/internal/backends/chrome_inspector/inspector_backend.py", line 35, in inner
return func(inspector_backend, *args, **kwargs)
File "/var/cache/chromeos-cache/distfiles/target/chrome-src-internal/src/tools/telemetry/telemetry/internal/backends/chrome_inspector/inspector_backend.py", line 183, in Navigate
self._page.Navigate(url, script_to_evaluate_on_commit, timeout)
File "/var/cache/chromeos-cache/distfiles/target/chrome-src-internal/src/tools/telemetry/telemetry/internal/backends/chrome_inspector/inspector_page.py", line 104, in Navigate
self._SetScriptToEvaluateOnCommit(script_to_evaluate_on_commit)
File "/var/cache/chromeos-cache/distfiles/target/chrome-src-internal/src/tools/telemetry/telemetry/internal/backends/chrome_inspector/inspector_page.py", line 70, in _SetScriptToEvaluateOnCommit
res = self._inspector_websocket.SyncRequest(request)
File "/var/cache/chromeos-cache/distfiles/target/chrome-src-internal/src/tools/telemetry/telemetry/internal/backends/chrome_inspector/inspector_websocket.py", line 110, in SyncRequest
res = self._Receive(timeout)
File "/var/cache/chromeos-cache/distfiles/target/chrome-src-internal/src/tools/telemetry/telemetry/internal/backends/chrome_inspector/inspector_websocket.py", line 149, in _Receive
data = self._socket.recv()
File "/var/cache/chromeos-cache/distfiles/target/chrome-src-internal/src/tools/telemetry/third_party/websocket-client/websocket.py", line 596, in recv
opcode, data = self.recv_data()
File "/var/cache/chromeos-cache/distfiles/target/chrome-src-internal/src/tools/telemetry/third_party/websocket-client/websocket.py", line 606, in recv_data
frame = self.recv_frame()
File "/var/cache/chromeos-cache/distfiles/target/chrome-src-internal/src/tools/telemetry/third_party/websocket-client/websocket.py", line 637, in recv_frame
self._frame_header = self._recv_strict(2)
File "/var/cache/chromeos-cache/distfiles/target/chrome-src-internal/src/tools/telemetry/third_party/websocket-client/websocket.py", line 746, in _recv_strict
bytes = self._recv(shortage)
File "/var/cache/chromeos-cache/distfiles/target/chrome-src-internal/src/tools/telemetry/third_party/websocket-client/websocket.py", line 732, in _recv
raise WebSocketTimeoutException(e.message)
TimeoutException:


(/var/cache/chromeos-cache/distfiles/target/chrome-src-internal/src/tools/telemetry/telemetry/internal/backends/chrome_inspector/inspector_backend.py:351 _ConvertExceptionFromInspectorWebsocket) Original exception:
timed out


(/var/cache/chromeos-cache/distfiles/target/chrome-src-internal/src/tools/telemetry/telemetry/internal/backends/chrome_inspector/inspector_backend.py:372 _AddDebuggingInformation) Received a socket error in the browser connection and the tab still exists. The operation probably timed out.


(/var/cache/chromeos-cache/distfiles/target/chrome-src-internal/src/tools/telemetry/telemetry/internal/backends/chrome_inspector/inspector_backend.py:373 _AddDebuggingInformation) Debugger url: ws://127.0.0.1:43225/devtools/page/A6FDCAF4-AF9D-4710-98C2-819B6346D6CB

[ FAILED ] http://octane-benchmark.googlecode.com/svn/latest/index.html?auto=1 (26401 ms)
[ PASSED ] 0 tests.
[ FAILED ] 1 test, listed below:
[ FAILED ] http://octane-benchmark.googlecode.com/svn/latest/index.html?auto=1

1 FAILED TEST

Pages: []
RESULT telemetry_page_measurement_results: num_failed= 1 count
RESULT telemetry_page_measurement_results: num_errored= 0 count

View result at file:///var/cache/chromeos-cache/distfiles/target/chrome-src-internal/src/tools/perf/results.html
(WARNING) 2015-10-24 12:41:25,756 webpagereplay.StopServer:226 Attempting to stop WPR server that is not running.

@cmtice
Copy link
Contributor Author

cmtice commented Nov 5, 2015

assigned to @cmtice

@cmtice
Copy link
Contributor Author

cmtice commented Nov 5, 2015

f you build a ChromeOS image for daisy using the LLVM compiler, load the image onto a daisy Chromebook and try to run the Kraken telemetry test on that Chromebook, it times out. GCC-built images do not have this problem.

python /var/cache/chromeos-cache/distfiles/target/chrome-src-internal/src/tools/perf/run_benchmark --browser=cros-chrome --remote=chromeos2-row5-rack4-host6.cros kraken
[ RUN ] http://krakenbenchmark.mozilla.org/kraken-1.1/driver.html
Traceback (most recent call last):
File "/var/cache/chromeos-cache/distfiles/target/chrome-src-internal/src/tools/telemetry/telemetry/internal/story_runner.py", line 83, in _RunStoryAndProcessErrorIfNeeded
state.RunStory(results)
File "/var/cache/chromeos-cache/distfiles/target/chrome-src-internal/src/tools/telemetry/telemetry/page/shared_page_state.py", line 300, in RunStory
self._current_page, self._current_tab, results)
File "/var/cache/chromeos-cache/distfiles/target/chrome-src-internal/src/tools/perf/benchmarks/kraken.py", line 88, in ValidateAndMeasurePage
'document.title.indexOf("Results") != -1', 700)
File "/var/cache/chromeos-cache/distfiles/target/chrome-src-internal/src/tools/telemetry/telemetry/internal/browser/web_contents.py", line 129, in WaitForJavaScriptExpression
"""))
TimeoutException: Timed out while waiting 700s for IsJavaScriptExpressionTrue.

JavaScript |this|:
external: [object Object]
chrome: [object Object]
document: [object HTMLDocument]
tests: ai-astar,audio-beat-detection,audio-dft,audio-fft,audio-oscillator,imaging-gaussian-blur,imaging-darkroom,imaging-desaturate,json-parse-financial,json-stringify-tinderbox,stanford-crypto-aes,stanford-crypto-ccm,stanford-crypto-pbkdf2,stanford-crypto-sha256-iterative
categories: ai,audio,imaging,json,stanford
testContents:

...
Then comes a bunch of screen dumps of source files:

Captured full dump in a file, which is too big to attach to this bug. Email me for a copy of it.

@cmtice
Copy link
Contributor Author

cmtice commented Nov 5, 2015

The "second" comment, about Kraken, was a failed attempt to create a new bug. ignore it.

@jmolloy
Copy link

jmolloy commented Nov 13, 2015

Hi Caroline,

I'm afraid this bug report doesn't have enough detail to investigate. From the description it could either be a compiler malfunction or undefined/implementation defined behaviour being relied upon by the program.

I'm afraid compiling up a ChromeOS image and obtaining hardware is beyond the expectataion for a bug investigation on our side. Unfortunately you'll have to investigate further before we can help.

Cheers,

James

@cmtice
Copy link
Contributor Author

cmtice commented Nov 13, 2015

Will do.

@llvmbot llvmbot transferred this issue from llvm/llvm-bugzilla-archive Dec 10, 2021
@AaronBallman AaronBallman closed this as not planned Won't fix, can't repro, duplicate, stale Jun 14, 2023
@EugeneZelenko EugeneZelenko added the incomplete Issue not complete (e.g. missing a reproducer, build arguments, etc.) label Jun 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugzilla Issues migrated from bugzilla clang Clang issues not falling into any other category incomplete Issue not complete (e.g. missing a reproducer, build arguments, etc.)
Projects
None yet
Development

No branches or pull requests

4 participants