New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 623779 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Email to this user bounced
Closed: Jun 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: Bug

Blocking:
issue 589168



Sign in to add a comment

HeapTest.TraceDeepEagerly fails on Nexus 5X

Project Member Reported by stip@chromium.org, Jun 28 2016

Issue description

The Android N5X Swarm Builder[1] is a new builder that we are greening up in order to eventually make a CQ bot for 64-bot Android M.

blink_heap_unittests currently fails on this bot in HeapTest.TraceDeepEagerly[2]:

I   40.267s run_tests_on_device(0048eeff96dd3753)  Note: Google Test filter = HeapTest.TraceDeepEagerly
I   40.267s run_tests_on_device(0048eeff96dd3753)  [==========] Running 1 test from 1 test case.
I   40.267s run_tests_on_device(0048eeff96dd3753)  [----------] Global test environment set-up.
I   40.268s run_tests_on_device(0048eeff96dd3753)  [----------] 1 test from HeapTest
I   40.268s run_tests_on_device(0048eeff96dd3753)  [ RUN      ] HeapTest.TraceDeepEagerly
I   40.268s run_tests_on_device(0048eeff96dd3753)  [ CRASHED      ]
I   40.268s run_tests_on_device(0048eeff96dd3753)  
I   40.268s run_tests_on_device(0048eeff96dd3753)  
I   40.268s run_tests_on_device(0048eeff96dd3753)  HeapTest.TraceDeepEagerlyUNKNOWN

Logcats show the following:

06-27 22:47:24.744  9291  9291 I cr_NativeTest: loaded: _blink_heap_unittests__library
06-27 22:47:24.748  9291  9291 I cr_NativeTest: Extras:
06-27 22:47:24.748  9291  9291 I cr_NativeTest:   org.chromium.native_test.NativeTest.StdoutFile
06-27 22:47:24.748  9291  9291 I cr_NativeTest:   org.chromium.native_test.NativeTest.Shard
06-27 22:47:24.777  9291  9306 D OpenGLRenderer: Use EGL_SWAP_BEHAVIOR_PRESERVED: true
--------- beginning of crash
06-27 22:47:25.334  9291  9291 F libc    : Fatal signal 11 (SIGSEGV), code 2, fault addr 0x7fdefcdfe0 in tid 9291 (st:test_process)
06-27 22:47:25.405   494   494 I SELinux : SELinux: Loaded file_contexts contexts from /file_contexts.
06-27 22:47:25.409   494   494 F DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
06-27 22:47:25.409   494   494 F DEBUG   : Build fingerprint: 'google/bullhead/bullhead:6.0.1/MMB29Q/2480792:userdebug/dev-keys'
06-27 22:47:25.409   494   494 F DEBUG   : Revision: 'rev_1.0'
06-27 22:47:25.409   494   494 F DEBUG   : ABI: 'arm64'
06-27 22:47:25.410   494   494 F DEBUG   : pid: 9291, tid: 9291, name: st:test_process  >>> org.chromium.native_test:test_process <<<
06-27 22:47:25.410   494   494 F DEBUG   : signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 0x7fdefcdfe0
06-27 22:47:25.424   494   494 F DEBUG   :     x0   00000010750f53d0  x1   0000007f978c53b0  x2   0000000000000001  x3   0000000000000000
06-27 22:47:25.424   494   494 F DEBUG   :     x4   000000105508c000  x5   0000000000000001  x6   0000000000000000  x7   0000000000000000
06-27 22:47:25.424   494   494 F DEBUG   :     x8   0000000000000001  x9   0000000000000004  x10  0000000000000000  x11  0000000000004000
06-27 22:47:25.424   494   494 F DEBUG   :     x12  0000000000004001  x13  0000000000000000  x14  0000000000000001  x15  0000007fae51b000
06-27 22:47:25.424   494   494 F DEBUG   :     x16  0000007f97888018  x17  0000000000000000  x18  dc69ab4550efd5c5  x19  0000007f978af000
06-27 22:47:25.425   494   494 F DEBUG   :     x20  0000007f978af000  x21  000000000001ff0f  x22  00000010750f53d0  x23  00000010e60cc000
06-27 22:47:25.425   494   494 F DEBUG   :     x24  0000007f978c5000  x25  0000007f978c5000  x26  0000007fdf7ca488  x27  00000010e603c038
06-27 22:47:25.425   494   494 F DEBUG   :     x28  0000007f96e78d65  x29  0000007fdefce020  x30  0000007f952ece00
06-27 22:47:25.425   494   494 F DEBUG   :     sp   0000007fdefce020  pc   0000007f952ecd90  pstate 0000000020000000
06-27 22:47:25.444   494   494 F DEBUG   : 
06-27 22:47:25.444   494   494 F DEBUG   : backtrace:
06-27 22:47:25.444   494   494 F DEBUG   :     #00 pc 00000000004abd90  /data/app/org.chromium.native_test-1/lib/arm64/lib_blink_heap_unittests__library.so
06-27 22:47:25.444   494   494 F DEBUG   :     #01 pc 00000000004abdfc  /data/app/org.chromium.native_test-1/lib/arm64/lib_blink_heap_unittests__library.so
06-27 22:47:25.445   494   494 F DEBUG   :     #02 pc 00000000004abdfc  /data/app/org.chromium.native_test-1/lib/arm64/lib_blink_heap_unittests__library.so
06-27 22:47:25.445   494   494 F DEBUG   :     #03 pc 00000000004abdfc  /data/app/org.chromium.native_test-1/lib/arm64/lib_blink_heap_unittests__library.so
06-27 22:47:25.445   494   494 F DEBUG   :     #04 pc 00000000004abdfc  /data/app/org.chromium.native_test-1/lib/arm64/lib_blink_heap_unittests__library.so
06-27 22:47:25.445   494   494 F DEBUG   :     #05 pc 00000000004abdfc  /data/app/org.chromium.native_test-1/lib/arm64/lib_blink_heap_unittests__library.so
06-27 22:47:25.445   494   494 F DEBUG   :     #06 pc 00000000004abdfc  /data/app/org.chromium.native_test-1/lib/arm64/lib_blink_heap_unittests__library.so
06-27 22:47:25.446   494   494 F DEBUG   :     #07 pc 00000000004abdfc  /data/app/org.chromium.native_test-1/lib/arm64/lib_blink_heap_unittests__library.so
06-27 22:47:25.446   494   494 F DEBUG   :     #08 pc 00000000004abdfc  /data/app/org.chromium.native_test-1/lib/arm64/lib_blink_heap_unittests__library.so
06-27 22:47:25.446   494   494 F DEBUG   :     #09 pc 00000000004abdfc  /data/app/org.chromium.native_test-1/lib/arm64/lib_blink_heap_unittests__library.so
06-27 22:47:25.447   494   494 F DEBUG   :     #10 pc 00000000004abdfc  /data/app/org.chromium.native_test-1/lib/arm64/lib_blink_heap_unittests__library.so
06-27 22:47:25.447   494   494 F DEBUG   :     #11 pc 00000000004abdfc  /data/app/org.chromium.native_test-1/lib/arm64/lib_blink_heap_unittests__library.so
06-27 22:47:25.447   494   494 F DEBUG   :     #12 pc 00000000004abdfc  /data/app/org.chromium.native_test-1/lib/arm64/lib_blink_heap_unittests__library.so
06-27 22:47:25.447   494   494 F DEBUG   :     #13 pc 00000000004abdfc  /data/app/org.chromium.native_test-1/lib/arm64/lib_blink_heap_unittests__library.so
06-27 22:47:25.447   494   494 F DEBUG   :     #14 pc 00000000004abdfc  /data/app/org.chromium.native_test-1/lib/arm64/lib_blink_heap_unittests__library.so
06-27 22:47:25.447   494   494 F DEBUG   :     #15 pc 00000000004abdfc  /data/app/org.chromium.native_test-1/lib/arm64/lib_blink_heap_unittests__library.so
06-27 22:47:25.447   494   494 F DEBUG   :     #16 pc 00000000004abdfc  /data/app/org.chromium.native_test-1/lib/arm64/lib_blink_heap_unittests__library.so
06-27 22:47:25.448   494   494 F DEBUG   :     #17 pc 00000000004abdfc  /data/app/org.chromium.native_test-1/lib/arm64/lib_blink_heap_unittests__library.so
06-27 22:47:25.448   494   494 F DEBUG   :     #18 pc 00000000004abdfc  /data/app/org.chromium.native_test-1/lib/arm64/lib_blink_heap_unittests__library.so
06-27 22:47:25.448   494   494 F DEBUG   :     #19 pc 00000000004abdfc  /data/app/org.chromium.native_test-1/lib/arm64/lib_blink_heap_unittests__library.so
06-27 22:47:25.448   494   494 F DEBUG   :     #20 pc 00000000004abdfc  /data/app/org.chromium.native_test-1/lib/arm64/lib_blink_heap_unittests__library.so
06-27 22:47:25.448   494   494 F DEBUG   :     #21 pc 00000000004abdfc  /data/app/org.chromium.native_test-1/lib/arm64/lib_blink_heap_unittests__library.so
06-27 22:47:25.448   494   494 F DEBUG   :     #22 pc 00000000004abdfc  /data/app/org.chromium.native_test-1/lib/arm64/lib_blink_heap_unittests__library.so
06-27 22:47:25.448   494   494 F DEBUG   :     #23 pc 00000000004abdfc  /data/app/org.chromium.native_test-1/lib/arm64/lib_blink_heap_unittests__library.so
06-27 22:47:25.449   494   494 F DEBUG   :     #24 pc 00000000004abdfc  /data/app/org.chromium.native_test-1/lib/arm64/lib_blink_heap_unittests__library.so
06-27 22:47:25.449   494   494 F DEBUG   :     #25 pc 00000000004abdfc  /data/app/org.chromium.native_test-1/lib/arm64/lib_blink_heap_unittests__library.so
06-27 22:47:25.449   494   494 F DEBUG   :     #26 pc 00000000004abdfc  /data/app/org.chromium.native_test-1/lib/arm64/lib_blink_heap_unittests__library.so
06-27 22:47:25.449   494   494 F DEBUG   :     #27 pc 00000000004abdfc  /data/app/org.chromium.native_test-1/lib/arm64/lib_blink_heap_unittests__library.so
06-27 22:47:25.449   494   494 F DEBUG   :     #28 pc 00000000004abdfc  /data/app/org.chromium.native_test-1/lib/arm64/lib_blink_heap_unittests__library.so
06-27 22:47:25.449   494   494 F DEBUG   :     #29 pc 00000000004abdfc  /data/app/org.chromium.native_test-1/lib/arm64/lib_blink_heap_unittests__library.so
06-27 22:47:25.450   494   494 F DEBUG   :     #30 pc 00000000004abdfc  /data/app/org.chromium.native_test-1/lib/arm64/lib_blink_heap_unittests__library.so
06-27 22:47:25.450   494   494 F DEBUG   :     #31 pc 00000000004abdfc  /data/app/org.chromium.native_test-1/lib/arm64/lib_blink_heap_unittests__library.so
06-27 22:47:25.450   494   494 F DEBUG   :     #32 pc 00000000004abdfc  /data/app/org.chromium.native_test-1/lib/arm64/lib_blink_heap_unittests__library.so
06-27 22:47:25.450   494   494 F DEBUG   :     #33 pc 00000000004abdfc  /data/app/org.chromium.native_test-1/lib/arm64/lib_blink_heap_unittests__library.so
06-27 22:47:25.450   494   494 F DEBUG   :     #34 pc 00000000004abdfc  /data/app/org.chromium.native_test-1/lib/arm64/lib_blink_heap_unittests__library.so
06-27 22:47:25.450   494   494 F DEBUG   :     #35 pc 00000000004abdfc  /data/app/org.chromium.native_test-1/lib/arm64/lib_blink_heap_unittests__library.so
06-27 22:47:25.450   494   494 F DEBUG   :     #36 pc 00000000004abdfc  /data/app/org.chromium.native_test-1/lib/arm64/lib_blink_heap_unittests__library.so
06-27 22:47:25.450   494   494 F DEBUG   :     #37 pc 00000000004abdfc  /data/app/org.chromium.native_test-1/lib/arm64/lib_blink_heap_unittests__library.so
06-27 22:47:25.451   494   494 F DEBUG   :     #38 pc 00000000004abdfc  /data/app/org.chromium.native_test-1/lib/arm64/lib_blink_heap_unittests__library.so
06-27 22:47:25.451   494   494 F DEBUG   :     #39 pc 00000000004abdfc  /data/app/org.chromium.native_test-1/lib/arm64/lib_blink_heap_unittests__library.so
06-27 22:47:25.451   494   494 F DEBUG   :     #40 pc 00000000004abdfc  /data/app/org.chromium.native_test-1/lib/arm64/lib_blink_heap_unittests__library.so
06-27 22:47:25.451   494   494 F DEBUG   :     #41 pc 00000000004abdfc  /data/app/org.chromium.native_test-1/lib/arm64/lib_blink_heap_unittests__library.so
06-27 22:47:25.451   494   494 F DEBUG   :     #42 pc 00000000004abdfc  /data/app/org.chromium.native_test-1/lib/arm64/lib_blink_heap_unittests__library.so
06-27 22:47:25.451   494   494 F DEBUG   :     #43 pc 00000000004abdfc  /data/app/org.chromium.native_test-1/lib/arm64/lib_blink_heap_unittests__library.so
06-27 22:47:25.451   494   494 F DEBUG   :     #44 pc 00000000004abdfc  /data/app/org.chromium.native_test-1/lib/arm64/lib_blink_heap_unittests__library.so
06-27 22:47:25.451   494   494 F DEBUG   :     #45 pc 00000000004abdfc  /data/app/org.chromium.native_test-1/lib/arm64/lib_blink_heap_unittests__library.so
06-27 22:47:25.452   494   494 F DEBUG   :     #46 pc 00000000004abdfc  /data/app/org.chromium.native_test-1/lib/arm64/lib_blink_heap_unittests__library.so
06-27 22:47:25.452   494   494 F DEBUG   :     #47 pc 00000000004abdfc  /data/app/org.chromium.native_test-1/lib/arm64/lib_blink_heap_unittests__library.so
06-27 22:47:25.452   494   494 F DEBUG   :     #48 pc 00000000004abdfc  /data/app/org.chromium.native_test-1/lib/arm64/lib_blink_heap_unittests__library.so
06-27 22:47:25.452   494   494 F DEBUG   :     #49 pc 00000000004abdfc  /data/app/org.chromium.native_test-1/lib/arm64/lib_blink_heap_unittests__library.so
06-27 22:47:25.452   494   494 F DEBUG   :     #50 pc 00000000004abdfc  /data/app/org.chromium.native_test-1/lib/arm64/lib_blink_heap_unittests__library.so
06-27 22:47:25.452   494   494 F DEBUG   :     #51 pc 00000000004abdfc  /data/app/org.chromium.native_test-1/lib/arm64/lib_blink_heap_unittests__library.so
06-27 22:47:25.452   494   494 F DEBUG   :     #52 pc 00000000004abdfc  /data/app/org.chromium.native_test-1/lib/arm64/lib_blink_heap_unittests__library.so
06-27 22:47:25.453   494   494 F DEBUG   :     #53 pc 00000000004abdfc  /data/app/org.chromium.native_test-1/lib/arm64/lib_blink_heap_unittests__library.so
06-27 22:47:25.453   494   494 F DEBUG   :     #54 pc 00000000004abdfc  /data/app/org.chromium.native_test-1/lib/arm64/lib_blink_heap_unittests__library.so
06-27 22:47:25.453   494   494 F DEBUG   :     #55 pc 00000000004abdfc  /data/app/org.chromium.native_test-1/lib/arm64/lib_blink_heap_unittests__library.so
06-27 22:47:25.453   494   494 F DEBUG   :     #56 pc 00000000004abdfc  /data/app/org.chromium.native_test-1/lib/arm64/lib_blink_heap_unittests__library.so
06-27 22:47:25.453   494   494 F DEBUG   :     #57 pc 00000000004abdfc  /data/app/org.chromium.native_test-1/lib/arm64/lib_blink_heap_unittests__library.so
06-27 22:47:25.453   494   494 F DEBUG   :     #58 pc 00000000004abdfc  /data/app/org.chromium.native_test-1/lib/arm64/lib_blink_heap_unittests__library.so
06-27 22:47:25.453   494   494 F DEBUG   :     #59 pc 00000000004abdfc  /data/app/org.chromium.native_test-1/lib/arm64/lib_blink_heap_unittests__library.so
06-27 22:47:25.454   494   494 F DEBUG   :     #60 pc 00000000004abdfc  /data/app/org.chromium.native_test-1/lib/arm64/lib_blink_heap_unittests__library.so
06-27 22:47:25.454   494   494 F DEBUG   :     #61 pc 00000000004abdfc  /data/app/org.chromium.native_test-1/lib/arm64/lib_blink_heap_unittests__library.so
06-27 22:47:25.454   494   494 F DEBUG   :     #62 pc 00000000004abdfc  /data/app/org.chromium.native_test-1/lib/arm64/lib_blink_heap_unittests__library.so
06-27 22:47:25.454   494   494 F DEBUG   :     #63 pc 00000000004abdfc  /data/app/org.chromium.native_test-1/lib/arm64/lib_blink_heap_unittests__library.so
06-27 22:47:25.753  9277  9277 E cr_NativeTest: Test process 9291 died unexpectedly.
06-27 22:47:25.754  9277  9277 I Process : Sending signal. PID: 9291 SIG: 9

[1] https://build.chromium.org/p/chromium.android/builders/Android%20N5X%20Swarm%20Builder
[2] https://luci-logdog.appspot.com/v/?s=chromium%2Fbb%2Fchromium.android%2FAndroid_N5X_Swarm_Builder%2F1411%2F%2B%2Frecipes%2Fsteps%2Fblink_heap_unittests_on_Android%2F0%2Fstdout
 

Comment 1 by sigbjo...@opera.com, Jun 28 2016

That unit test is allocation & GC heavy; if you look at the running times for blink_heap_unittests on the Nexus4 builder, e.g.,

 https://build.chromium.org/p/chromium.webkit/builders/WebKit%20Android%20%28Nexus4%29/builds/49413/steps/blink_heap_unittests/logs/stdio

it is by far the longest running test. I'm guessing the failure is either OOM or the longer-running process being forcefully killed by the OS (?)

For the test to be reliable across platforms, it really needs to be creating these very long object chains. But the test itself isn't that interesting to be exercising across all targets, so I think it'd be fine if we simply disable it for OS(ANDROID).
Project Member

Comment 3 by bugdroid1@chromium.org, Jun 28 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/4104ca9695921544d1d605d4fea76f0147dd2d48

commit 4104ca9695921544d1d605d4fea76f0147dd2d48
Author: sigbjornf <sigbjornf@opera.com>
Date: Tue Jun 28 15:06:17 2016

Disable HeapTest.TraceDeepEagerly for Android targets.

This test is heavy on allocation and considered too slow to be
running w/ asserts enabled. Disable it entirely for Android,
as the overhead is bogging down bots too much.

R=
BUG= 623779 

Review-Url: https://codereview.chromium.org/2101363002
Cr-Commit-Position: refs/heads/master@{#402470}

[modify] https://crrev.com/4104ca9695921544d1d605d4fea76f0147dd2d48/third_party/WebKit/Source/platform/heap/HeapTest.cpp

Comment 4 by sigbjo...@opera.com, Jun 28 2016

Status: Fixed (was: Available)

Sign in to add a comment