From 0ad29e8349512cae2e9735e9667b3c6373ed0ab4 Mon Sep 17 00:00:00 2001 From: Greg Arndt Date: Wed, 26 Nov 2014 10:11:38 -0800 Subject: [PATCH] Bug 1099239 - add reftests to linux64 mulet r=lightsofapollo --HG-- extra : rebase_source : e3e7881e766a78ab00173e17436237294755a72a extra : source : 35a7d68956cdb3cbf26fc7296b05315e54e77542 --- testing/docker/tester/VERSION | 2 +- .../mozharness_configs/remove_executables.py | 3 ++ testing/taskcluster/job_flags.yml | 5 ++ .../tasks/tests/mulet_reftests.yml | 52 +++++++++++++++++++ 4 files changed, 61 insertions(+), 1 deletion(-) create mode 100644 testing/docker/tester/mozharness_configs/remove_executables.py create mode 100644 testing/taskcluster/tasks/tests/mulet_reftests.yml diff --git a/testing/docker/tester/VERSION b/testing/docker/tester/VERSION index 1750564f270..5a5831ab6bf 100644 --- a/testing/docker/tester/VERSION +++ b/testing/docker/tester/VERSION @@ -1 +1 @@ -0.0.6 +0.0.7 diff --git a/testing/docker/tester/mozharness_configs/remove_executables.py b/testing/docker/tester/mozharness_configs/remove_executables.py new file mode 100644 index 00000000000..4af82980a23 --- /dev/null +++ b/testing/docker/tester/mozharness_configs/remove_executables.py @@ -0,0 +1,3 @@ +config = { + "exes": {} +} diff --git a/testing/taskcluster/job_flags.yml b/testing/taskcluster/job_flags.yml index bd4bac9dcf1..5a0900e672e 100644 --- a/testing/taskcluster/job_flags.yml +++ b/testing/taskcluster/job_flags.yml @@ -147,3 +147,8 @@ tests: tasks/builds/b2g_desktop_debug.yml: task: tasks/tests/b2g_gaia_js_integration_tests.yml chunks: 4 + reftest: + allowed_build_tasks: + tasks/builds/mulet_linux.yml: + task: tasks/tests/mulet_reftests.yml + chunks: 6 diff --git a/testing/taskcluster/tasks/tests/mulet_reftests.yml b/testing/taskcluster/tasks/tests/mulet_reftests.yml new file mode 100644 index 00000000000..c85e058dd6d --- /dev/null +++ b/testing/taskcluster/tasks/tests/mulet_reftests.yml @@ -0,0 +1,52 @@ +--- +task: + created: '{{now}}' + deadline: '{{#from_now}}24 hours{{/from_now}}' + metadata: + source: http://todo.com/soon + owner: {{owner}} + name: Reftest + description: Reftest test run {{chunk}} + + workerType: b2gtest + provisionerId: aws-provisioner + + scopes: + - 'docker-worker:cache:sources-gaia' + + payload: + cache: + sources-gaia: '/home/worker/gaia' + image: '{{#docker_image}}tester{{/docker_image}}' + maxRunTime: 3600 + env: + MOZ_DISABLE_NONLOCAL_CONNECTIONS: 0 + command: + - entrypoint + - ./bin/pull_gaia.sh && + - > + python ./mozharness/scripts/mulet_unittest.py --no-read-buildbot-config + --config-file ./mozharness/configs/b2g/generic_config.py + --config-file ./mozharness/configs/b2g/mulet_config.py + --config-file ./mozharness_configs/remove_executables.py + --installer-url {{build_url}} + --test-url {{tests_url}} + --download-symbols ondemand + --test-suite reftest + --test-manifest tests/layout/reftests/reftest.list + --this-chunk {{chunk}} + --total-chunk {{total_chunks}} + --gaia-repo https://hg.mozilla.org/integration/gaia-central + --gaia-dir /home/worker/gaia + artifacts: + 'public/build': + type: directory + path: '/home/worker/artifacts/' + expires: '{{#from_now}}1 year{{/from_now}}' + + extra: + treeherder: + groupName: Reftest + groupSymbol: R + symbol: 'R{{chunk}}' + productName: b2g