Changes

Jump to: navigation, search

Auto-tools/Projects/Marionette update tests

351 bytes added, 16:44, 7 August 2015
m
minor adjustments
There is a hacky way to run these jobs on [https://treeherder.mozilla.org/ui/#/jobs?repo=try treeherder].
What we're going to do is hijack a job on buildbot to execute the firefox_ui_updates.py script and fake which arguments the script was called with.
You can use this patch (ADD LINK HERE) or follow these steps:
# have a checkout of mozilla-central
# cd mozilla-entral/testing/mozharness/scripts
# rm desktop_unittest.py; ln -s firefox_ui_updates.py desktop_unittests.py# Just before calling [http://hg.mozilla.org/mozilla-central/file/default/testing/mozharness/scripts/firefox_ui_updates.py#l104 super()] create a new sys.argv values: command = 'scripts/scripts/firefox_ui_updates.py --cfg generic_releng_config.py --cfg generic_releng_linux64.py --firefox-ui-branch mozilla-beta --update-verify-config mozBeta-firefox-linux64.cfg --tools-tag FIREFOX_40_0b6_RELEASE_RUNTIME --total-chunks 6 --this-chunk [1 --build-number 1' sys.argv = command.split(' ')]# after that you can push to try with this commit message (TBDtry: -b o -p android-x86 -u none -t none)#* The try message should contain at least one platform that would be triggered on buildbot, otherwise, we want be able to use BuildApi since the revision won't exist unless there is at least one platform to schedule
# once you push to try, you will have to schedule a job with Mozilla CI tools
#* pip install -U mozci
#* mozci-trigger --cancel-all try 8d25a1dfde15
#* mozci-trigger -b "Ubuntu VM 12.04 x64 try opt test mochitest-1" -r 8d25a1dfde15 --file http://who-cares.com
#** Using --file is a necessary hack that avoids checking if there is an existing build
 
[1] Specifying a sys.argv:
command = 'scripts/scripts/firefox_ui_updates.py --cfg generic_releng_config.py --cfg generic_releng_linux64.py --firefox-ui-branch mozilla-beta --update-verify-config mozBeta-firefox-linux64.cfg --tools-tag FIREFOX_40_0b6_RELEASE_RUNTIME --total-chunks 6 --this-chunk 1 --build-number 1'
sys.argv = command.split(' ')
== Selecting the right platform and the right command ==
Confirm
3,990
edits

Navigation menu