Backout Bug 1236947 - [tc-gip] Retrieve and store logcat

--HG--
extra : commitid : KO1gwlLhlI8
This commit is contained in:
Johan Lorenzo 2016-01-07 16:24:55 +01:00
Родитель f7063b110d
Коммит 194b1268d3
5 изменённых файлов: 74 добавлений и 40 удалений

Просмотреть файл

@ -1,3 +1,4 @@
# This task is the base for most tests in gecko.
task:
created: '{{now}}'
deadline: '{{#from_now}}24 hours{{/from_now}}'
@ -28,9 +29,6 @@ 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
LOGCAT_FILE_MAX_SIZE_IN_KB: 102400
log: 'private/b2g/logs/live.log'
@ -57,35 +55,6 @@ task:
sims: '0'
build: '{{{img_url}}}'
command:
- >
adb logcat
-H $PROXY_HOST
-P $ADB_PORT
-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
--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

Просмотреть файл

@ -13,6 +13,26 @@ 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

Просмотреть файл

@ -8,14 +8,29 @@ 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

Просмотреть файл

@ -9,14 +9,29 @@ 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

Просмотреть файл

@ -8,8 +8,23 @@ task:
workerType: flame-kk-0-sim
payload:
env:
MANIFEST_PATH: gaia/source/tests/python/gaia-ui-tests/gaiatest/tests/unit/manifest.ini
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
extra:
treeherder: