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

Issue 908106 link

Starred by 2 users

Issue metadata

Status: Untriaged
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

performance_test_suite fails on random pages on Android Nexus 5X

Project Member Reported by skyostil@google.com, Nov 23

Issue description

Sample logs:

https://chrome-swarming.appspot.com/task?id=415558191f98e410&refresh=10&show_raw=1
https://chrome-swarming.appspot.com/task?id=415391d000a37210&refresh=10&show_raw=1
https://chrome-swarming.appspot.com/task?id=4151360a3b381a10&refresh=10&show_raw=1
https://chrome-swarming.appspot.com/task?id=414ea7b7979ac010&refresh=10&show_raw=1
https://chrome-swarming.appspot.com/task?id=4158997bb1a72d10&refresh=10&show_raw=1

This seems to be because Chrome is unable to create preferences, caches, etc. files on disk:

	11-21 12:26:19.667   908  3572 I ActivityManager: Start proc 3059:com.google.android.apps.chrome/u0a96 for activity com.google.android.apps.chrome/.Main
	11-21 12:26:19.710  3059  3059 W ContextImpl: Unable to create files subdir /data/user/0/com.google.android.apps.chrome/cache
	11-21 12:26:19.710  3059  3059 V ActivityThread: Unable to initialize "java.io.tmpdir" property due to missing cache directory
	11-21 12:26:19.710  3059  3059 W ContextImpl: Unable to create files subdir /data/user/0/com.google.android.apps.chrome/code_cache
	11-21 12:26:19.710  3059  3059 E ActivityThread: Unable to setupGraphicsSupport due to missing code-cache directory
	11-21 12:26:19.741  3059  3059 W ContextImpl: Unable to create files subdir /data/user/0/com.google.android.apps.chrome/files
	11-21 12:26:19.745  3059  3059 W ContextImpl: Unable to create files subdir /data/user/0/com.google.android.apps.chrome/files
	11-21 12:26:19.745  3059  3059 W ContextImpl: Unable to create files subdir /data/user/0/com.google.android.apps.chrome/cache
	11-21 12:26:19.745  3059  3059 W ContextImpl: Unable to create files subdir /data/user/0/com.google.android.apps.chrome/cache
	11-21 12:26:19.746  3059  3059 W ContextImpl: Unable to create files subdir /data/user/0/com.google.android.apps.chrome/cache
	11-21 12:26:19.746  3059  3059 W ContextImpl: Unable to create files subdir /data/user/0/com.google.android.apps.chrome/cache
	11-21 12:26:19.827  3059  3074 E SharedPreferencesImpl: Couldn't create directory for SharedPreferences file /data/user/0/com.google.android.apps.chrome/shared_prefs/com.google.android.apps.chrome_preferences.xml
	11-21 12:26:19.866  3059  3076 W FileUtils: Failed to chmod(/data/user/0/com.google.android.apps.chrome/app_chrome): android.system.ErrnoException: chmod failed: ENOENT (No such file or directory)
	11-21 12:26:19.867  3059  3076 E cr_PathUtils: Failed to set permissions for path "/data/user/0/com.google.android.apps.chrome/app_chrome"
	11-21 12:26:19.867  3059  3076 W FileUtils: Failed to chmod(/data/user/0/com.google.android.apps.chrome/app_textures): android.system.ErrnoException: chmod failed: ENOENT (No such file or directory)
	11-21 12:26:19.867  3059  3076 W ContextImpl: Unable to create files subdir /data/user/0/com.google.android.apps.chrome/cache
	11-21 12:26:19.881  3059  3075 W GooglePlayServicesUtil: Google Play services out of date.  Requires 11200000 but found 8186448
	11-21 12:26:19.893  3059  3082 I cr_LibraryLoader: Using linker: LegacyLinker
	11-21 12:26:19.917  3059  3082 I cr_LibraryLoader: Loading chrome from within /data/app/com.google.android.apps.chrome-1/base.apk
	11-21 12:26:20.020  3059  3059 I cr_base : Android Locale: en_US requires .pak files: [en-GB, en-US]
	11-21 12:26:20.029  3059  3083 W ContextImpl: Unable to create files subdir /data/user/0/com.google.android.apps.chrome/cache
	11-21 12:26:20.030  3059  3083 E AndroidRuntime: FATAL EXCEPTION: AsyncTask #3
	11-21 12:26:20.030  3059  3083 E AndroidRuntime: Process: com.google.android.apps.chrome, PID: 3059
	11-21 12:26:20.030  3059  3083 E AndroidRuntime: java.lang.RuntimeException: An error occurred while executing doInBackground()
	11-21 12:26:20.030  3059  3083 E AndroidRuntime: 	at android.os.AsyncTask$3.done(AsyncTask.java:309)
	11-21 12:26:20.030  3059  3083 E AndroidRuntime: 	at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:354)
	11-21 12:26:20.030  3059  3083 E AndroidRuntime: 	at java.util.concurrent.FutureTask.setException(FutureTask.java:223)
	11-21 12:26:20.030  3059  3083 E AndroidRuntime: 	at java.util.concurrent.FutureTask.run(FutureTask.java:242)
	11-21 12:26:20.030  3059  3083 E AndroidRuntime: 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
	11-21 12:26:20.030  3059  3083 E AndroidRuntime: 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
	11-21 12:26:20.030  3059  3083 E AndroidRuntime: 	at java.lang.Thread.run(Thread.java:818)
	11-21 12:26:20.030  3059  3083 E AndroidRuntime: Caused by: java.lang.RuntimeException
	11-21 12:26:20.030  3059  3083 E AndroidRuntime: 	at ZL.a(PG:10)
	11-21 12:26:20.030  3059  3083 E AndroidRuntime: 	at ZL.doInBackground(PG:92)
	11-21 12:26:20.030  3059  3083 E AndroidRuntime: 	at android.os.AsyncTask$2.call(AsyncTask.java:295)
	11-21 12:26:20.030  3059  3083 E AndroidRuntime: 	at java.util.concurrent.FutureTask.run(FutureTask.java:237)
	11-21 12:26:20.030  3059  3083 E AndroidRuntime: 	... 3 more
	11-21 12:26:20.031   908  3572 W ActivityManager:   Force finishing activity com.google.android.apps.chrome/.Main
	11-21 12:26:20.035  3059  3086 W cr_tabmodel: Starting to perform legacy migration.
	11-21 12:26:20.036  3059  3086 W FileUtils: Failed to chmod(/data/user/0/com.google.android.apps.chrome/app_tabs): android.system.ErrnoException: chmod failed: ENOENT (No such file or directory)
	11-21 12:26:20.036  3059  3086 E cr_tabmodel: Failed to create state folder: /data/user/0/com.google.android.apps.chrome/app_tabs/0
	11-21 12:26:20.037  3059  3086 W ContextImpl: Unable to create files subdir /data/user/0/com.google.android.apps.chrome/files
 
Since it's a different set of pages failing every time I don't think there's an easy way to make the green again by disabling parts of it.
Components: -Infra Infra>Client>Perf

Sign in to add a comment