Bug 1236947 - [tc-gip] Retrieve and store logcat r=garndt

This commit is contained in:
Johan Lorenzo 2016-01-07 16:34:03 +01:00
parent 8bf20b18d5
commit 0950e2926f
5 changed files with 39 additions and 74 deletions

View File

@ -1,4 +1,3 @@
# This task is the base for most tests in gecko.
task:
created: '{{now}}'
deadline: '{{#from_now}}24 hours{{/from_now}}'
@ -29,6 +28,8 @@ task:
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
log: 'private/b2g/logs/live.log'
@ -55,6 +56,35 @@ task:
sims: '0'
build: '{{{img_url}}}'
command:
- >
adb
-H $PROXY_HOST
-P $ADB_PORT
logcat
-v threadtime
&> /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
--device $SERIAL_ID
--xml-output=/home/worker/upload/logs/xml_output.xml
--log-html=/home/worker/upload/logs/index.html
--log-mach=-
--log-raw=/home/worker/upload/logs/raw.log
--restart
--timeout=$TESTS_TIMEOUT_IN_MS
--type=$MANIFEST_INCLUDE_EXCLUDE
$MANIFEST_PATH
extra:
treeherder:
groupSymbol: tc

View File

@ -13,26 +13,6 @@ task:
phone:
sims: '1'
command:
- >
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
--device $SERIAL_ID
--xml-output=/home/worker/upload/logs/xml_output.xml
--timeout=$TESTS_TIMEOUT_IN_MS
--log-html=/home/worker/upload/logs/index.html
--restart
--type=b2g-dsds
--log-mach=-
--log-raw=/home/worker/upload/logs/raw.log
gaia/source/tests/python/gaia-ui-tests/gaiatest/tests/functional/manifest.ini
extra:
chunks:
total: 6

View File

@ -8,29 +8,14 @@ task:
workerType: flame-kk-2-sim
payload:
env:
MANIFEST_INCLUDE_EXCLUDE: b2g+dsds
capabilities:
devices:
phone:
sims: '2'
command:
- >
gaiatest
--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
--device $SERIAL_ID
--xml-output=/home/worker/upload/logs/xml_output.xml
--timeout=$TESTS_TIMEOUT_IN_MS
--log-html=/home/worker/upload/logs/index.html
--restart
--type=b2g+dsds
--log-mach=-
--log-raw=/home/worker/upload/logs/raw.log
gaia/source/tests/python/gaia-ui-tests/gaiatest/tests/functional/manifest.ini
extra:
treeherder:
groupName: Gaia Python Integration Tests

View File

@ -9,29 +9,14 @@ task:
retries: 0
payload:
env:
MANIFEST_INCLUDE_EXCLUDE: b2g+sanity
capabilities:
devices:
phone:
sims: '1'
command:
- >
gaiatest
--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
--device $SERIAL_ID
--xml-output=/home/worker/upload/logs/xml_output.xml
--timeout=$TESTS_TIMEOUT_IN_MS
--log-html=/home/worker/upload/logs/index.html
--restart
--type=b2g+sanity-dsds
--log-mach=-
--log-raw=/home/worker/upload/logs/raw.log
gaia/source/tests/python/gaia-ui-tests/gaiatest/tests/functional/manifest.ini
extra:
treeherder:
groupName: Gaia Python Integration Tests

View File

@ -8,23 +8,8 @@ task:
workerType: flame-kk-0-sim
payload:
command:
- >
gaiatest
--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
--device $SERIAL_ID
--xml-output=/home/worker/upload/logs/xml_output.xml
--timeout=$TESTS_TIMEOUT_IN_MS
--log-html=/home/worker/upload/logs/index.html
--restart
--type=b2g
--log-mach=-
--log-raw=/home/worker/upload/logs/raw.log
gaia/source/tests/python/gaia-ui-tests/gaiatest/tests/unit/manifest.ini
env:
MANIFEST_PATH: gaia/source/tests/python/gaia-ui-tests/gaiatest/tests/unit/manifest.ini
extra:
treeherder: