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

Issue 596556 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner:
Closed: Jan 2017
Cc:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: ----



Sign in to add a comment

Fix and re-enable v8.google on low-end Android

Project Member Reported by pras...@chromium.org, Mar 21 2016

Issue description

Build is broken:
v8.google
v8.google.reference

Revision range:
Last known good revision: a0903eb6c26873d6d5e37ff0507dd695d54e25d3
First known bad revision: bf8c1b168b318343b64d8cf465a1520fefdbb745

Failing builders:
Android One Perf (3): https://build.chromium.org/p/chromium.perf/builders/Android%20One%20Perf%20(3)


 
Cc: nednguyen@chromium.org
Owner: hablich@chromium.org
Status: Assigned (was: Available)
Looks like v8.adwords was renamed to v8.google benchmark was added in e592d7448229a2b10cbf76e4530f945d99b8aa60 and it is continuously failing on chromium.perf. 

v8.adwords was not active before my change to v8.google. That is the reason why this error was not seen before.

I don't have a problem that this does not work on AndroidOne because the page_set is going to be a desktop one. Nevertheless, the error seems to be in the Catapult framework not in the test:

Traceback (most recent call last):
  File "/b/build/slave/Android_One_Perf__3_/build/src/third_party/catapult/telemetry/telemetry/internal/story_runner.py", line 84, in _RunStoryAndProcessErrorIfNeeded
    state.RunStory(results)
  File "/b/build/slave/Android_One_Perf__3_/build/src/third_party/catapult/telemetry/telemetry/page/shared_page_state.py", line 329, in RunStory
    self._current_page.Run(self)
  File "/b/build/slave/Android_One_Perf__3_/build/src/third_party/catapult/telemetry/telemetry/page/__init__.py", line 88, in Run
    self.RunPageInteractions(action_runner)
  File "/b/build/slave/Android_One_Perf__3_/build/src/tools/perf/page_sets/google_pages.py", line 79, in RunPageInteractions
    action_runner.WaitForElement(text='Welcome to AdWords!')
  File "/b/build/slave/Android_One_Perf__3_/build/src/third_party/catapult/telemetry/telemetry/page/action_runner.py", line 205, in WaitForElement
    timeout_in_seconds=timeout_in_seconds))
  File "/b/build/slave/Android_One_Perf__3_/build/src/third_party/catapult/telemetry/telemetry/page/action_runner.py", line 44, in _RunAction
    action.RunAction(self._tab)
  File "/b/build/slave/Android_One_Perf__3_/build/src/third_party/catapult/telemetry/telemetry/internal/actions/wait.py", line 22, in RunAction
    wait=True, timeout_in_seconds=self.timeout_in_seconds)
  File "/b/build/slave/Android_One_Perf__3_/build/src/third_party/catapult/telemetry/telemetry/internal/actions/page_action.py", line 113, in EvaluateCallbackWithElement
    tab.WaitForJavaScriptExpression(code, timeout_in_seconds)
  File "/b/build/slave/Android_One_Perf__3_/build/src/third_party/catapult/telemetry/telemetry/internal/browser/web_contents.py", line 98, in WaitForJavaScriptExpression
    util.WaitFor(IsJavaScriptExpressionTrue, timeout)
  File "/b/build/slave/Android_One_Perf__3_/build/src/third_party/catapult/telemetry/telemetry/core/util.py", line 86, in WaitFor
    res = condition()
  File "/b/build/slave/Android_One_Perf__3_/build/src/third_party/catapult/telemetry/telemetry/internal/browser/web_contents.py", line 91, in IsJavaScriptExpressionTrue
    return bool(self.EvaluateJavaScript(expr))
  File "/b/build/slave/Android_One_Perf__3_/build/src/third_party/catapult/telemetry/telemetry/internal/browser/web_contents.py", line 162, in EvaluateJavaScript
    expr, context_id=None, timeout=timeout)
  File "/b/build/slave/Android_One_Perf__3_/build/src/third_party/catapult/telemetry/telemetry/internal/browser/web_contents.py", line 190, in EvaluateJavaScriptInContext
    expr, context_id=context_id, timeout=timeout)
  File "/b/build/slave/Android_One_Perf__3_/build/src/third_party/catapult/telemetry/telemetry/internal/backends/chrome_inspector/inspector_backend.py", line 32, in inner
    return func(inspector_backend, *args, **kwargs)
  File "/b/build/slave/Android_One_Perf__3_/build/src/third_party/catapult/telemetry/telemetry/internal/backends/chrome_inspector/inspector_backend.py", line 203, in EvaluateJavaScript
    return self._runtime.Evaluate(expr, context_id, timeout)
  File "/b/build/slave/Android_One_Perf__3_/build/src/third_party/catapult/telemetry/telemetry/internal/backends/chrome_inspector/inspector_runtime.py", line 45, in Evaluate
    res = self._inspector_websocket.SyncRequest(request, timeout)
  File "/b/build/slave/Android_One_Perf__3_/build/src/third_party/catapult/telemetry/telemetry/internal/backends/chrome_inspector/inspector_websocket.py", line 110, in SyncRequest
    res = self._Receive(timeout)
  File "/b/build/slave/Android_One_Perf__3_/build/src/third_party/catapult/telemetry/telemetry/internal/backends/chrome_inspector/inspector_websocket.py", line 166, in _Receive
    self._HandleNotification(result)
  File "/b/build/slave/Android_One_Perf__3_/build/src/third_party/catapult/telemetry/telemetry/internal/backends/chrome_inspector/inspector_websocket.py", line 179, in _HandleNotification
    self._domain_handlers[domain_name](result)
  File "/b/build/slave/Android_One_Perf__3_/build/src/third_party/catapult/telemetry/telemetry/internal/backends/chrome_inspector/inspector_backend.py", line 288, in _HandleInspectorDomainNotification
    raise exception
DevtoolsTargetCrashException: Devtools target crashed
It's no longer failing in the last few build:
https://build.chromium.org/p/chromium.perf/builders/Android%20One%20Perf%20(3)

Let's wait a bit more and see, I suspect that this is some issue with the device.
Cc: jbudorick@chromium.org
Nvm, this is no longer failing because the benchmark has been disabled on low-end Android.

This is probably due to OOM. From the log:
	W/ResourcesManager(16960): Asset path '/system/framework/com.android.media.remotedisplay.jar' does not exist or contains no resources.
	W/ResourcesManager(16960): Asset path '/system/framework/com.android.location.provider.jar' does not exist or contains no resources.
	I/chromium(16777): [INFO:CONSOLE(100)] "Uncaught TypeError: Cannot set property 'src' of null", source: https://adwords.google.com/cm/CampaignMgmt?__u=3834618975&__c=2015072295&authuser=0 (100)
	V/JNIHelp (16960): Registering com/google/android/gms/org/conscrypt/NativeCrypto's 235 native methods...
	I/ProviderInstaller(16960): Installed default security provider GmsCore_OpenSSL
	W/art     (16960): Long monitor contention event with owner method=java.lang.Class java.lang.VMClassLoader.findLoadedClass!(java.lang.ClassLoader, java.lang.String) from VMClassLoader.java:4294967294 waiters=0 for 517ms
	W/art     (16960): Long monitor contention event with owner method=java.lang.Class java.lang.VMClassLoader.findLoadedClass!(java.lang.ClassLoader, java.lang.String) from VMClassLoader.java:4294967294 waiters=1 for 205ms
	I/art     (  973): Explicit concurrent mark sweep GC freed 2467(126KB) AllocSpace objects, 0(0B) LOS objects, 23% free, 6MB/8MB, paused 4.298ms total 54.710ms
	E/Vold    (  134): Failed to find mounted volume for /storage/sdcard0/Android/data/com.google.android.youtube/cache/
	W/Vold    (  134): Returning OperationFailed - no handler for errno 0
	W/ContextImpl(16960): Failed to ensure directory: /storage/sdcard0/Android/data/com.google.android.youtube/cache
	W/art     (16960): Suspending all threads took: 5.546ms
	W/System.err(16960): YouTube MDX: Bogus value in shared preferences for key MdxServerSelection value , returning default value.
	I/System.out(16960): YouTube MDX: MDX video stage moved to NEW
	I/System.out(16960): YouTube MDX: MDX video player state moved to UNSTARTED
	I/System.out(16960): YouTube MDX: MDX ad player state moved to UNSTARTED
	E/Vold    (  134): Failed to find mounted volume for /storage/sdcard0/Android/data/com.google.android.youtube/cache/
	W/Vold    (  134): Returning OperationFailed - no handler for errno 0
	W/ContextImpl(16960): Failed to ensure directory: /storage/sdcard0/Android/data/com.google.android.youtube/cache
	E/Vold    (  134): Failed to find mounted volume for /storage/sdcard0/Android/data/com.google.android.youtube/files/
	W/Vold    (  134): Returning OperationFailed - no handler for errno 0
	W/ContextImpl(16960): Failed to ensure directory: /storage/sdcard0/Android/data/com.google.android.youtube/files
	E/JavaBinder( 1025): *** Uncaught remote exception!  (Exceptions are not yet supported across processes.)
	E/JavaBinder( 1025): java.lang.RuntimeException: android.os.RemoteException
	E/JavaBinder( 1025): 	at android.os.Parcel.writeException(Parcel.java:1446)
	E/JavaBinder( 1025): 	at android.os.Binder.execTransact(Binder.java:452)
	E/JavaBinder( 1025): Caused by: android.os.RemoteException
	E/JavaBinder( 1025): 	at com.google.android.gms.ads.identifier.service.a.a(SourceFile:77)
	E/JavaBinder( 1025): 	at com.google.android.gms.ads.identifier.a.b.onTransact(SourceFile:63)
	E/JavaBinder( 1025): 	at android.os.Binder.execTransact(Binder.java:446)
	E/JavaBinder( 1025): *** Uncaught remote exception!  (Exceptions are not yet supported across processes.)
	E/JavaBinder( 1025): java.lang.RuntimeException: android.os.RemoteException
	E/JavaBinder( 1025): 	at android.os.Parcel.writeException(Parcel.java:1446)
	E/JavaBinder( 1025): 	at android.os.Binder.execTransact(Binder.java:452)
	E/JavaBinder( 1025): Caused by: android.os.RemoteException
	E/JavaBinder( 1025): 	at com.google.android.gms.ads.identifier.service.a.a(SourceFile:77)
	E/JavaBinder( 1025): 	at com.google.android.gms.ads.identifier.a.b.onTransact(SourceFile:63)
	E/JavaBinder( 1025): 	at android.os.Binder.execTransact(Binder.java:446)
	I/ActivityManager(  551): Start proc 17069:com.google.android.gms.wearable/u0a9 for service com.google.android.gms/.wearable.service.WearableService
	W/ResourcesManager(17069): Asset path '/system/framework/com.android.media.remotedisplay.jar' does not exist or contains no resources.
	W/ResourcesManager(17069): Asset path '/system/framework/com.android.location.provider.jar' does not exist or contains no resources.
	I/MultiDex(17069): VM with version 2.1.0 has multidex support
	I/MultiDex(17069): install
	I/MultiDex(17069): VM has multidex support, MultiDex support library is disabled.
	W/art     (17069): Suspending all threads took: 24.750ms
	I/ProviderInstaller(17069): Insert disabled by gate 'gms:security:enable_conscrypt_in_gms_application'
	D/GCM     (  973): GcmService start Intent { act=com.google.android.gms.INITIALIZE flg=0x10 pkg=com.google.android.gms cmp=com.google.android.gms/.gcm.GcmService } com.google.android.gms.INITIALIZE
	D/AuthorizationBluetoothService(  973): Received GmsCore event: Intent { act=com.google.android.gms.INITIALIZE flg=0x10 pkg=com.google.android.gms cmp=com.google.android.gms/.auth.be.proximity.authorization.bt.AuthorizationBluetoothService$AutoStarter }.
	E/AuthorizationBluetoothService(  973): Proximity feature is not enabled.
	V/GmsCoreStatsServiceLauncher( 1025): Received broadcast intent Intent { act=com.google.android.gms.INITIALIZE flg=0x10 pkg=com.google.android.gms cmp=com.google.android.gms/.common.stats.GmsCoreStatsServiceLauncher }
	I/ActivityManager(  551): Delay finish: com.google.android.gms/.init.InitializeGmsReceiver
	D/LocationInitializer( 1025): Restart initialization of location
	I/ActivityManager(  551): Resuming delayed broadcast
	I/ActivityManager(  551): Process com.android.chrome (pid 3799) has died
	E/SQLiteLog(17069): (284) automatic index on assetrefs(dataitems_id)
	I/chromium(16777): [INFO:CONSOLE(1)] "Tue Mar 22 01:07:44 GMT-800 2016 Class$S4572
	I/chromium(16777): SEVERE: PromoInterPageRequestEvent with null id sent", source:  (1)
	I/ActivityManager(  551): Process com.google.android.apps.plus (pid 2583) has died
	I/ActivityManager(  551): Process com.google.android.apps.gcs (pid 3481) has died
	I/ActivityManager(  551): Process android.process.media (pid 3413) has died
	I/X509Util(16777): Failed to validate the certificate chain, error: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.
	I/ActivityManager(  551): Process com.google.android.youtube (pid 16960) has died
	I/ActivityManager(  551): Process com.google.android.gms (pid 1025) has died
	I/ActivityManager(  551): Process com.google.android.deskclock (pid 5642) has died
	W/InputDispatcher(  551): channel '3c641059 com.android.launcher/com.android.launcher2.Launcher (server)' ~ Consumer closed input channel or an error occurred.  events=0x9
	E/InputDispatcher(  551): channel '3c641059 com.android.launcher/com.android.launcher2.Launcher (server)' ~ Channel is unrecoverably broken and will be disposed!
	I/ActivityManager(  551): Process com.android.launcher (pid 1270) has died
	I/WindowState(  551): WIN DEATH: Window{3c641059 u0 com.android.launcher/com.android.launcher2.Launcher}
	W/InputDispatcher(  551): Attempted to unregister already unregistered input channel '3c641059 com.android.launcher/com.android.launcher2.Launcher (server)'
	I/ActivityManager(  551): Process com.google.android.gms.wearable (pid 17069) has died
	W/ActivityManager(  551): Scheduling restart of crashed service com.google.android.gms/.wearable.service.WearableService in 43160ms
	I/ActivityManager(  551): Process com.google.android.apps.inputmethod.hindi (pid 855) has died
	W/ActivityManager(  551): Scheduling restart of crashed service com.google.android.apps.inputmethod.hindi/.HindiInputMethodService in 1000ms
 
(https://build.chromium.org/p/chromium.perf/builders/Android%20One%20Perf%20%283%29/builds/1364/steps/v8.google/logs/stdio)
Summary: Fix and re-enable v8.google on low-end Android (was: v8.google and v8.google.reference failure on Android One Perf (3))
Test was disabled in https://codereview.chromium.org/1820113002
Labels: Performance-Sheriff-BotHealth

Comment 8 by benhenry@google.com, Dec 21 2016

Labels: -Performance-BotHealth
Status: WontFix (was: Assigned)
It is not a problem that this is failing on Svelte as this is a page which a Svelte device should never see I suppose.

Sign in to add a comment