mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1142779 - Update job tasks to include functional unit and dual sim r=lightsofapollo
This commit is contained in:
parent
fa0880df73
commit
add1030b93
@ -31,7 +31,7 @@ RUN git config --global user.email "mozilla@example.com" && \
|
||||
|
||||
|
||||
# Get node packages
|
||||
RUN npm install -g taskcluster-vcs@2.3.0
|
||||
RUN npm install -g taskcluster-vcs@2.3.1
|
||||
|
||||
WORKDIR /home/worker
|
||||
|
||||
|
@ -23,11 +23,11 @@ echo "Retrieved device. Session: $SESSION_ID"
|
||||
|
||||
curl -o /home/worker/data/device.json -s -H "Accept: application/json" http://$CLOUD_HOST/device/properties
|
||||
|
||||
buildbot_step 'Gaia clone' tc-vcs checkout /home/worker/gaia/source $GAIA_BASE_REPOSITORY $GAIA_HEAD_REPOSITORY $GAIA_REV $GAIA_REF
|
||||
buildbot_step 'Clone gaia' tc-vcs checkout /home/worker/gaia/source $GAIA_BASE_REPOSITORY $GAIA_HEAD_REPOSITORY $GAIA_REV $GAIA_REF
|
||||
|
||||
cd gaia/source/tests/python/gaia-ui-tests/
|
||||
python setup.py develop
|
||||
pip install py
|
||||
pip install -Ur gaiatest/tests/requirements.txt
|
||||
cd /home/worker/
|
||||
|
||||
buildbot_step 'Running tests' eval $@
|
||||
|
@ -20,4 +20,17 @@ builds:
|
||||
task: tasks/builds/b2g_flame_kk_eng.yml
|
||||
|
||||
gaia-ui-test-sanity:
|
||||
task: tasks/tests/flame_kk_gaia_ui_test_sanity.yml
|
||||
task: tasks/tests/flame_kk_gaia_ui_test_sanity.yml
|
||||
gaia-ui-test-functional:
|
||||
allowed_build_tasks:
|
||||
tasks/builds/b2g_flame_kk_eng.yml:
|
||||
task: tasks/tests/flame_kk_gaia_ui_test_functional.yml
|
||||
chunks: 3
|
||||
gaia-ui-test-functional-dsds:
|
||||
allowed_build_tasks:
|
||||
tasks/builds/b2g_flame_kk_eng.yml:
|
||||
task: tasks/tests/flame_kk_gaia_ui_test_functional_dsds.yml
|
||||
gaia-ui-test-unit:
|
||||
allowed_build_tasks:
|
||||
tasks/builds/b2g_flame_kk_eng.yml:
|
||||
task: tasks/tests/flame_kk_gaia_ui_test_unit.yml
|
||||
|
@ -32,6 +32,7 @@ flags:
|
||||
- gaia-ui-test-oop
|
||||
- gaia-ui-test-accessibility
|
||||
- gaia-ui-test-functional
|
||||
- gaia-ui-test-functional-dsds
|
||||
- gaia-ui-test-unit
|
||||
- jetpack
|
||||
- jittests
|
||||
|
@ -0,0 +1,46 @@
|
||||
---
|
||||
$inherits:
|
||||
from: 'tasks/phone_test.yml'
|
||||
task:
|
||||
metadata:
|
||||
name: '[TC] Gaia Python Functional Integration Tests'
|
||||
description: Gaia Python Functional Integration Tests run {{chunk}}
|
||||
workerType: testdroid-device
|
||||
|
||||
payload:
|
||||
env:
|
||||
DEVICE_CAPABILITIES: '{"type":"flame","memory":"319","sims": "1","build":"{{{img_url}}}"}'
|
||||
features:
|
||||
testdroidProxy: true
|
||||
maxRunTime: 7200
|
||||
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=10000
|
||||
--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
|
||||
artifacts:
|
||||
'private/device.json':
|
||||
type: file
|
||||
path: '/home/worker/data/device.json'
|
||||
expires: '{{#from_now}}1 year{{/from_now}}'
|
||||
|
||||
extra:
|
||||
treeherder:
|
||||
groupName: Gaia Python Integration Tests
|
||||
groupSymbol: tc-Gip
|
||||
symbol: 'f{{chunk}}'
|
||||
productName: b2g
|
@ -0,0 +1,44 @@
|
||||
---
|
||||
$inherits:
|
||||
from: 'tasks/phone_test.yml'
|
||||
task:
|
||||
metadata:
|
||||
name: '[TC] Gaia Python Integration Functional DSDS Tests'
|
||||
description: Gaia Python Integration Functional DSDS Tests run
|
||||
workerType: testdroid-device
|
||||
|
||||
payload:
|
||||
env:
|
||||
DEVICE_CAPABILITIES: '{"type":"flame","memory":"319","sims": "2","build":"{{{img_url}}}"}'
|
||||
features:
|
||||
testdroidProxy: true
|
||||
maxRunTime: 7200
|
||||
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=10000
|
||||
--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
|
||||
artifacts:
|
||||
'private/device.json':
|
||||
type: file
|
||||
path: '/home/worker/data/device.json'
|
||||
expires: '{{#from_now}}1 year{{/from_now}}'
|
||||
|
||||
extra:
|
||||
treeherder:
|
||||
groupName: Gaia Python Integration Tests
|
||||
groupSymbol: tc-Gip
|
||||
symbol: 'f-dsds'
|
||||
productName: b2g
|
@ -3,8 +3,8 @@ $inherits:
|
||||
from: 'tasks/phone_test.yml'
|
||||
task:
|
||||
metadata:
|
||||
name: '[TC] Gaia Python Sanity Integration Tests'
|
||||
description: Gaia Python Integration Tests
|
||||
name: '[TC] Gaia Python Integration Sanity Tests'
|
||||
description: Gaia Python Integration Sanity Tests run
|
||||
workerType: testdroid-device
|
||||
retries: 0
|
||||
|
||||
@ -15,7 +15,22 @@ task:
|
||||
testdroidProxy: true
|
||||
maxRunTime: 7200
|
||||
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=10000 --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
|
||||
- >
|
||||
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=10000
|
||||
--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
|
||||
artifacts:
|
||||
'private/device.json':
|
||||
type: file
|
||||
@ -26,5 +41,5 @@ task:
|
||||
treeherder:
|
||||
groupName: Gaia Python Integration Tests
|
||||
groupSymbol: tc-Gip
|
||||
symbol: 'S'
|
||||
symbol: 's'
|
||||
productName: b2g
|
||||
|
@ -0,0 +1,44 @@
|
||||
---
|
||||
$inherits:
|
||||
from: 'tasks/phone_test.yml'
|
||||
task:
|
||||
metadata:
|
||||
name: '[TC] Gaia Python Integration Unit Tests'
|
||||
description: Gaia Python Integration Tests run
|
||||
workerType: testdroid-device
|
||||
|
||||
payload:
|
||||
env:
|
||||
DEVICE_CAPABILITIES: '{"type":"flame","memory":"319","sims": "0","build":"{{{img_url}}}"}'
|
||||
features:
|
||||
testdroidProxy: true
|
||||
maxRunTime: 7200
|
||||
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=10000
|
||||
--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
|
||||
artifacts:
|
||||
'private/device.json':
|
||||
type: file
|
||||
path: '/home/worker/data/device.json'
|
||||
expires: '{{#from_now}}1 year{{/from_now}}'
|
||||
|
||||
extra:
|
||||
treeherder:
|
||||
groupName: Gaia Python Integration Tests
|
||||
groupSymbol: tc-Gip
|
||||
symbol: 'u'
|
||||
productName: b2g
|
Loading…
Reference in New Issue
Block a user