Merge lp://staging/~canonical-platform-qa/ubuntu-system-tests/trigger_jenkins_builds into lp://staging/ubuntu-system-tests

Proposed by Santiago Baldassin
Status: Rejected
Rejected by: Santiago Baldassin
Proposed branch: lp://staging/~canonical-platform-qa/ubuntu-system-tests/trigger_jenkins_builds
Merge into: lp://staging/ubuntu-system-tests
Diff against target: 14071 lines (+13403/-0) (has conflicts)
122 files modified
LICENSE (+339/-0)
README (+148/-0)
debian/changelog (+127/-0)
debian/compat (+1/-0)
debian/control (+34/-0)
debian/copyright (+23/-0)
debian/docs (+1/-0)
debian/rules (+5/-0)
disk_footprint/df_check (+114/-0)
disk_footprint/iso_footprint.sh (+85/-0)
disk_footprint/iso_fssize_checker (+366/-0)
disk_footprint/lib/i18n_check.py (+220/-0)
disk_footprint/lib/image_utils.py (+182/-0)
disk_footprint/lib/iso_utils.py (+182/-0)
disk_footprint/lib/phone_utils.py (+169/-0)
i18_check/i18n_check (+130/-0)
i18_check/lib/i18n_check.py (+220/-0)
i18_check/lib/image_utils.py (+182/-0)
i18_check/lib/phone_utils.py (+169/-0)
qakit/__init__.py (+19/-0)
qakit/config.py (+27/-0)
qakit/config/__init__.py (+14/-0)
qakit/config/config.py (+25/-0)
qakit/dashboard/css/demo.css (+136/-0)
qakit/dashboard/css/kpi.css (+45/-0)
qakit/dashboard/css/sidebar-advanced.css (+241/-0)
qakit/dashboard/css/sidebar-basic.css (+124/-0)
qakit/dashboard/css/sidebar-collapse.css (+264/-0)
qakit/dashboard/css/sidebar-left.css (+179/-0)
qakit/dashboard/css/sidebar-light.css (+124/-0)
qakit/dashboard/images/logo_ubuntu.svg (+5/-0)
qakit/dashboard/index.html (+437/-0)
qakit/dashboard/js/appstartup.js (+46/-0)
qakit/dashboard/js/errors.js (+35/-0)
qakit/dashboard/js/kpi.js (+76/-0)
qakit/dashboard/js/landing-failures.js (+30/-0)
qakit/dashboard/js/landings.js (+113/-0)
qakit/dashboard/js/main.js (+62/-0)
qakit/dashboard/js/performance.js (+53/-0)
qakit/dashboard/js/scalability.js (+46/-0)
qakit/dashboard/js/test-execution.js (+195/-0)
qakit/dashboard/js/test-library.js (+144/-0)
qakit/dashboard/js/test-plans.js (+54/-0)
qakit/dashboard/tabs.html (+53/-0)
qakit/launchpad/__init__.py (+14/-0)
qakit/launchpad/ppa.py (+33/-0)
qakit/lkkb.py (+124/-0)
qakit/metrics/landings.py (+389/-0)
qakit/metrics/practitest/instances.py (+102/-0)
qakit/metrics/practitest/tests.py (+71/-0)
qakit/metrics/practitest/testsets.py (+144/-0)
qakit/metrics/reports/__init__.py (+140/-0)
qakit/metrics/reports/landings.py (+182/-0)
qakit/metrics/reports/templates/base.html (+48/-0)
qakit/metrics/reports/templates/landings.html (+36/-0)
qakit/metrics/reports/templates/test_execution.html (+32/-0)
qakit/metrics/reports/templates/test_library.html (+24/-0)
qakit/metrics/reports/test_execution.py (+171/-0)
qakit/metrics/reports/test_library.py (+163/-0)
qakit/metrics/test_execution.py (+114/-0)
qakit/metrics/test_library.py (+67/-0)
qakit/metrics/tests/test_landings.py (+342/-0)
qakit/metrics/tests/test_practitest_instances.py (+113/-0)
qakit/metrics/tests/test_practitest_tests.py (+112/-0)
qakit/metrics/tests/test_practitest_testsets.py (+80/-0)
qakit/metrics/tests/test_reports.py (+107/-0)
qakit/metrics/tests/test_test_execution.py (+99/-0)
qakit/metrics/tests/test_test_library.py (+31/-0)
qakit/metrics/trello.py (+209/-0)
qakit/metrics/util.py (+99/-0)
qakit/perf/__init__.py (+22/-0)
qakit/perf/engine/__init__.py (+16/-0)
qakit/perf/engine/dao.py (+90/-0)
qakit/perf/engine/executor.py (+64/-0)
qakit/perf/engine/parser.py (+79/-0)
qakit/perf/engine/reporting.py (+106/-0)
qakit/perf/grafana/datasource.py (+202/-0)
qakit/perf/grafana/process.py (+20/-0)
qakit/practitest/__init__.py (+47/-0)
qakit/practitest/auth.py (+34/-0)
qakit/practitest/config.ini.sample (+6/-0)
qakit/practitest/data/__init__.py (+14/-0)
qakit/practitest/data/domains.json (+8/-0)
qakit/practitest/lp2pt.py (+235/-0)
qakit/practitest/practisubunit.py (+127/-0)
qakit/practitest/practitest.py (+400/-0)
qakit/practitest/report_subunit_results_to_practitest.py (+193/-0)
qakit/practitest/sanity_suite.py (+43/-0)
qakit/practitest/subunit_results.py (+58/-0)
qakit/practitest/tests/test_practisubunit.py (+51/-0)
qakit/practitest/tests/test_practitest.py (+261/-0)
qakit/practitest/tests/test_report_subunit_results_to_practitest.py (+51/-0)
qakit/practitest/tests/test_sanity_suite.py (+45/-0)
qakit/practitest/util.py (+68/-0)
qakit/tests/__init__.py (+30/-0)
qakit/tests/test_config.py (+45/-0)
qakit/trello.py (+126/-0)
qakit/ust/__init__.py (+14/-0)
qakit/ust/worker.py (+171/-0)
qakit/vis/dashboard/main.js (+55/-0)
qakit/vis/dashboard/ust_rc-proposed_arale_regression.html (+48/-0)
qakit/vis/dashboard/ust_rc-proposed_arale_sanity.html (+48/-0)
qakit/vis/dashboard/ust_rc-proposed_krillin_regression.html (+48/-0)
qakit/vis/dashboard/ust_rc-proposed_krillin_sanity.html (+48/-0)
qakit/vis/dashboard/ust_rc_arale_regression.html (+48/-0)
qakit/vis/dashboard/ust_rc_arale_sanity.html (+48/-0)
qakit/vis/dashboard/ust_rc_krillin_regression.html (+48/-0)
qakit/vis/dashboard/ust_rc_krillin_sanity.html (+48/-0)
qakit/vis/jenkins_results.py (+70/-0)
qakit/vis/retrieve_jenkins_results.py (+229/-0)
qakit/vis/tests/test_retrieve_jenkins_results.py (+47/-0)
qakit/vis/tests/test_visualize.py (+194/-0)
qakit/vis/visualize.py (+294/-0)
setup.py (+45/-0)
silo-card-bot/README.md (+14/-0)
silo-card-bot/generate_data (+85/-0)
silo-card-bot/lib/silo_utils.py (+68/-0)
silo-card-bot/lib/trello_data.py (+46/-0)
silo-card-bot/silo_notifier (+512/-0)
silo-card-bot/tests/silo_utils (+129/-0)
start_worker.py (+31/-0)
tools/phone-decoder-ring (+284/-0)
Conflict adding file debian.  Moved existing file to debian.moved.
Conflict adding file setup.py.  Moved existing file to setup.py.moved.
To merge this branch: bzr merge lp://staging/~canonical-platform-qa/ubuntu-system-tests/trigger_jenkins_builds
Reviewer Review Type Date Requested Status
Richard Huddie Pending
Jean-Baptiste Lallement Pending
Review via email: mp+304846@code.staging.launchpad.net

Commit message

Ubuntu system tests worker

Description of the change

This mp includes a worker that could be used by Bileto to trigger the ubuntu system tests. There are only two public apis that should be used and that can be invoked directly with python or via an amqp message. Those apis are

run_ust(ppa)
get_results(ppa)

Every single request in Bileto gets it's own ppa with the source packages involved in the change.

The first api will execute the following steps:
        1. Get the source packages from launchpad that are
        included in the ppa under test
        2. Use the packages versions to create a request id that will be use to track
        the test results for the source packages. The idea is to run the tests for every
        version of the source packages in the ppa
        3. Get the practitest filter id associated to the source packages in the ppa
        4. Get the list of test cases to be run from practitest
        5. Trigger a jenkins build that will:
            a. Flash the device
            b. Update the device with the ppa under test
            c. Setup the device for testing
            d. Run the tests

The second api will retrive the test results for a given ppa

To post a comment you must log in.

Unmerged revisions

153. By Santiago Baldassin

Ubuntu system tests worker

152. By Sergio Cazzolato

Big change in performance, removing old code, leaving just the code needed for the grafana integration

151. By Jean-Baptiste Lallement

silo_notifier: shorten description even more

150. By Jean-Baptiste Lallement

silo_notifier: shorten description to 8000 characters

149. By Jean-Baptiste Lallement

Print head only once for changed files

148. By Jean-Baptiste Lallement

Don't explode is paths contains spaces
Don't blow up if there is no previous report

147. By Jean-Baptiste Lallement

Style fixes

146. By Jean-Baptiste Lallement

Added shell wrapper to run iso_fssize_checker

145. By Jean-Baptiste Lallement

Added disk footprint tools

144. By Jean-Baptiste Lallement

silo_notifier: leave a comment when a silo is blocked because not all the MP are top approved

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches

to all changes: