Bug 1236947 - [tc-gip] Retrieve and store logcat r=garndt
--- a/testing/taskcluster/tasks/phone_test.yml
+++ b/testing/taskcluster/tasks/phone_test.yml
@@ -25,16 +25,17 @@ task:
MOZ_BUILD_DATE: '{{pushdate}}'
GAIA_HEAD_REPOSITORY: '{{{gaia_head_repository}}}'
GAIA_BASE_REPOSITORY: '{{{gaia_base_repository}}}'
GAIA_REF: '{{{gaia_ref}}}'
GAIA_REV: '{{{gaia_rev}}}'
TESTS_TIMEOUT_IN_MS: 30000
MANIFEST_PATH: gaia/source/tests/python/gaia-ui-tests/gaiatest/tests/functional/manifest.ini
MANIFEST_INCLUDE_EXCLUDE: b2g-dsds
+ LOGCAT_FILE_MAX_SIZE_IN_KB: 102400
log: 'private/b2g/logs/live.log'
# All builds share a common artifact directory for ease of uploading.
artifacts:
'private/b2g/device.json':
type: file
path: '/home/worker/data/device.json'
@@ -53,16 +54,22 @@ task:
phone:
type: 'flame'
memory: '512'
sims: '0'
build: '{{{img_url}}}'
command:
- >
+ adb logcat
+ -v threadtime
+ -r LOGCAT_FILE_MAX_SIZE_IN_KB
+ &> /home/worker/upload/logs/logcat.log
+
+ - >
gaiatest
--total-chunks={{total_chunks}}
--this-chunk={{chunk}}
--testvars=/home/worker/data/gaia_testvars.json
--testvars=/home/worker/data/device.json
--adb-host=$PROXY_HOST
--adb-port=$ADB_PORT
--address=$PROXY_HOST:$MARIONETTE_PORT