Drag Jenkins-importing code out of model managers
Bug #1179555 reported by
Allan LeSage
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Helipad |
Fix Released
|
Undecided
|
Allan LeSage |
Bug Description
Instead of doing our Jenkins work in model managers, e.g. psqa/models.
Of course move all of our unit tests over along with this; also ensure that nothing has changed with a set of live integration tests.
Related branches
lp:~allanlesage/helipad/frankendash
- PS Jenkins bot: Approve (continuous-integration)
- Chris Gagnon (community): Approve
-
Diff: 37651 lines (+27113/-3339)334 files modified.bzrignore (+1/-0)
.gitignore (+3/-0)
COPYING (+661/-0)
EXTERNALS (+7/-0)
README (+58/-0)
README.install (+33/-0)
README.upgrade (+6/-0)
Vagrantfile (+18/-0)
benchmarks/management/commands/jenkins_pull_mir_glmark.py (+1/-1)
benchmarks/management/commands/jenkins_pull_openarena.py (+1/-1)
benchmarks/templatetags/date_format.py (+1/-1)
benchmarks/urls.py (+4/-4)
benchmarks/util/jenkins_pull.py (+1/-1)
bootspeed/__init__.py (+14/-0)
bootspeed/admin.py (+95/-0)
bootspeed/api.py (+244/-0)
bootspeed/forms.py (+32/-0)
bootspeed/management/__init__.py (+14/-0)
bootspeed/management/commands/__init__.py (+14/-0)
bootspeed/management/commands/jenkins_pull_bootspeed.py (+291/-0)
bootspeed/migrations/0001_initial_migration.py (+133/-0)
bootspeed/migrations/0002_auto__add_imagemachineagg.py (+130/-0)
bootspeed/migrations/0003_add_image_type.py (+100/-0)
bootspeed/migrations/0004_auto__add_field_imagemachineagg_xorg_plumbing_min__add_field_imagemach.py (+128/-0)
bootspeed/migrations/0005_auto__add_imageresultlog.py (+125/-0)
bootspeed/migrations/0006_add_job_models.py (+199/-0)
bootspeed/migrations/__init__.py (+14/-0)
bootspeed/models.py (+520/-0)
bootspeed/tables.py (+37/-0)
bootspeed/templates/bootspeed/arch_overview.html (+31/-0)
bootspeed/templates/bootspeed/bootspeed_layout.html (+4/-0)
bootspeed/templates/bootspeed/bug_detail.html (+33/-0)
bootspeed/templates/bootspeed/bug_overview.html (+31/-0)
bootspeed/templates/bootspeed/image_bugs_detail.html (+40/-0)
bootspeed/templates/bootspeed/image_bugs_overview.html (+50/-0)
bootspeed/templates/bootspeed/machine_data.html (+66/-0)
bootspeed/templates/bootspeed/machine_raw_data.html (+22/-0)
bootspeed/templates/bootspeed/nav.html (+14/-0)
bootspeed/templates/bootspeed/overview.html (+74/-0)
bootspeed/templates/bootspeed/yui-charts-divs.html (+4/-0)
bootspeed/templates/bootspeed/yui-charts.html (+209/-0)
bootspeed/tests.py (+631/-0)
bootspeed/urls.py (+54/-0)
bootspeed/urls_api.py (+55/-0)
bootspeed/utils.py (+81/-0)
bootspeed/views.py (+313/-0)
common/__init__.py (+2/-2)
common/admin.py (+52/-0)
common/bread_crumbs.py (+183/-0)
common/context_processors.py (+28/-0)
common/management/__init__.py (+603/-0)
common/management/commands/__init__.py (+14/-0)
common/management/commands/clear_items.py (+60/-0)
common/management/commands/list_items.py (+57/-0)
common/management/commands/release.py (+38/-0)
common/management/commands/test_apps.py (+26/-0)
common/migrations/0001_add_bug_model.py (+44/-0)
common/migrations/0002_add_jenkins_models.py (+99/-0)
common/migrations/0003_auto__add_field_jenkinsbuild_build_description.py (+59/-0)
common/models.py (+117/-0)
common/static/css/jquery.dataTables.css (+11/-11)
common/static/css/style.css (+531/-73)
common/static/images/eng_hex.svg (+0/-18)
common/static/js/dygraph-combined.js (+1/-1)
common/static/js/graph.js (+352/-13)
common/templates/banner.html (+2/-1)
common/templates/includes/chart_tooltip.html (+2/-0)
common/templates/layout.html (+45/-17)
common/templatetags/__init__.py (+2/-2)
common/templatetags/analytics.py (+51/-0)
common/templatetags/dashboard_extras.py (+99/-3)
common/templatetags/instance.py (+2/-2)
common/tests/__init__.py (+19/-0)
common/tests/test_dashboard_extras.py (+85/-0)
common/tests/test_instance.py (+75/-0)
common/tests/test_jenkins.py (+185/-0)
common/tests/test_jenkins_base_command.py (+50/-0)
common/utah_parser.py (+179/-0)
common/utils.py (+43/-14)
common/views.py (+4/-9)
deployment/apache-mod-wsgi/README (+158/-0)
deployment/ports.conf (+0/-11)
deployment/qa_dashboard (+12/-8)
deployment/qa_dashboard-staging (+12/-8)
deployment/qa_dashboard-testing (+12/-8)
deployment/settings_production.py (+2/-2)
deployment/settings_staging.py (+2/-2)
deployment/settings_testing.py (+3/-3)
docs/Makefile (+153/-0)
docs/README (+10/-0)
docs/conf.py (+244/-0)
docs/index.rst (+22/-0)
docs/installing.rst (+69/-0)
eventstat/api.py (+98/-0)
eventstat/management/__init__.py (+24/-0)
eventstat/management/commands/__init__.py (+15/-0)
eventstat/management/commands/agg_metrics_eventstat.py (+102/-0)
eventstat/management/commands/agg_results_eventstat.py (+109/-0)
eventstat/management/commands/jenkins_pull_eventstat.py (+485/-0)
eventstat/migrations/0001_initial.py (+278/-0)
eventstat/models.py (+203/-0)
eventstat/scripts/fakeup_eventstat.py (+176/-0)
eventstat/scripts/test_agg.py (+48/-0)
eventstat/tables.py (+291/-0)
eventstat/templates/eventstat/arch_breakdown.html (+27/-0)
eventstat/templates/eventstat/arch_overview.html (+76/-0)
eventstat/templates/eventstat/days_include.html (+10/-0)
eventstat/templates/eventstat/image_details.html (+28/-0)
eventstat/templates/eventstat/task_details.html (+33/-0)
eventstat/templates/eventstat/task_overview.html (+25/-0)
eventstat/templates/eventstat/task_type_include.html (+10/-0)
eventstat/templates/eventstat/upgrade_details.html (+27/-0)
eventstat/tests.py (+335/-0)
eventstat/urls.py (+71/-0)
eventstat/urls_api.py (+39/-0)
eventstat/utils.py (+138/-0)
eventstat/views.py (+757/-0)
fabfile.py (+76/-63)
helipad/exclude_dirs.txt (+0/-4)
helipad/integration_testing.py (+0/-10)
helipad/settings.py (+0/-206)
helipad/unit_testing.py (+0/-15)
helipad/urls.py (+0/-11)
helipad/wsgi.py (+0/-28)
idle_power/__init__.py (+14/-0)
idle_power/admin.py (+77/-0)
idle_power/api.py (+100/-0)
idle_power/config.py (+27/-0)
idle_power/management/__init__.py (+14/-0)
idle_power/management/commands/__init__.py (+14/-0)
idle_power/management/commands/jenkins_pull_idlepower.py (+208/-0)
idle_power/migrations/0001_initial.py (+201/-0)
idle_power/migrations/0002_add_detail_duration.py (+122/-0)
idle_power/migrations/__init__.py (+14/-0)
idle_power/models.py (+86/-0)
idle_power/mommy_recipes.py (+78/-0)
idle_power/tables.py (+78/-0)
idle_power/templates/idle_power/arch_overview.html (+58/-0)
idle_power/templates/idle_power/machine_raw_data.html (+38/-0)
idle_power/templates/idle_power/machine_table.html (+42/-0)
idle_power/templates/idle_power/metrics.html (+28/-0)
idle_power/tests.py (+159/-0)
idle_power/urls.py (+39/-0)
idle_power/urls_api.py (+28/-0)
idle_power/utah_utils.py (+121/-0)
idle_power/views.py (+190/-0)
local_settings.py.example (+20/-0)
manage.py (+2/-1)
memory/__init__.py (+15/-0)
memory/admin.py (+141/-0)
memory/api.py (+339/-0)
memory/management/__init__.py (+15/-0)
memory/management/commands/__init__.py (+15/-0)
memory/management/commands/agg_metrics.py (+128/-0)
memory/management/commands/agg_processes.py (+97/-0)
memory/management/commands/agg_results.py (+72/-0)
memory/management/commands/jenkins_pull_memory.py (+410/-0)
memory/migrations/0001_initial.py (+365/-0)
memory/migrations/__init__.py (+15/-0)
memory/models.py (+353/-0)
memory/tables.py (+124/-0)
memory/templates/memory/arch_overview.html (+82/-0)
memory/templates/memory/machine_details.html (+35/-0)
memory/templates/memory/machine_results.html (+19/-0)
memory/templates/memory/memory_layout.html (+2/-0)
memory/templates/memory/process_overview.html (+108/-0)
memory/tests.py (+775/-0)
memory/urls.py (+62/-0)
memory/urls_api.py (+100/-0)
memory/views.py (+448/-0)
performance/__init__.py (+15/-0)
performance/management/__init__.py (+69/-0)
performance/migrations/__init__.py (+15/-0)
performance/models.py (+126/-0)
power/__init__.py (+14/-0)
power/admin.py (+90/-0)
power/api.py (+130/-0)
power/management/__init__.py (+14/-0)
power/management/commands/__init__.py (+14/-0)
power/management/commands/jenkins_pull_power.py (+243/-0)
power/migrations/0001_initial.py (+112/-0)
power/migrations/0002_auto__add_powerlog__add_field_powermetric_kernel.py (+103/-0)
power/migrations/0003_add_jenkins_url.py (+78/-0)
power/migrations/0004_add_metric_duration.py (+79/-0)
power/models.py (+100/-0)
power/tables.py (+36/-0)
power/templates/power/arch_overview.html (+58/-0)
power/templates/power/machine_detail.html (+15/-0)
power/templates/power/overview.html (+41/-0)
power/templates/power/power_layout.html (+6/-0)
power/tests.py (+220/-0)
power/urls.py (+34/-0)
power/urls_api.py (+42/-0)
power/views.py (+155/-0)
psqa/management/commands/poll_jenkins.py (+0/-27)
psqa/management/commands/slurp_build.py (+0/-30)
psqa/management/commands/slurp_cu2d_configs.py (+0/-141)
psqa/management/commands/slurp_job.py (+0/-30)
psqa/management/commands/slurp_run.py (+0/-28)
psqa/management/commands/snarf_all_jenkins_data.py (+0/-20)
psqa/management/commands/update_job.py (+0/-8)
psqa/tests/integration/test_jenkins.py (+0/-172)
psqa/util/command_utils.py (+0/-70)
psqa/util/util.py (+0/-67)
qa_dashboard/__init__.py (+14/-0)
qa_dashboard/integration_testing.py (+16/-0)
qa_dashboard/local_tests.py (+29/-0)
qa_dashboard/settings.py (+263/-0)
qa_dashboard/unit_testing.py (+25/-0)
qa_dashboard/urls.py (+61/-0)
qa_dashboard/version.py (+2/-0)
qa_dashboard/wsgi.py (+27/-0)
requirements.txt (+1/-0)
scripts/add_bootspeed_result.py (+85/-0)
scripts/branch-update.sh (+25/-0)
scripts/process_utah_log.py (+43/-0)
scripts/qa-dashboard-update.sh (+31/-0)
scripts/remove_unknown_images.py (+19/-0)
scripts/static_validation_cleanup.py (+56/-0)
setup.sh (+97/-0)
smoke/__init__.py (+14/-0)
smoke/admin.py (+69/-0)
smoke/management/__init__.py (+14/-0)
smoke/management/commands/__init__.py (+14/-0)
smoke/management/commands/jenkins_pull_smoke.py (+461/-0)
smoke/migrations/0001_initial_smoke_models.py (+169/-0)
smoke/models.py (+270/-0)
smoke/templates/smoke/build_overview.html (+97/-0)
smoke/templates/smoke/overview.html (+115/-0)
smoke/templates/smoke/result_logs.html (+45/-0)
smoke/templates/smoke/results.html (+108/-0)
smoke/templates/smoke/smoke_layout.html (+2/-0)
smoke/tests.py (+146/-0)
smoke/urls.py (+56/-0)
smoke/utah_utils.py (+142/-0)
smoke/views.py (+201/-0)
smokeng/__init__.py (+14/-0)
smokeng/admin.py (+59/-0)
smokeng/management/__init__.py (+14/-0)
smokeng/management/commands/__init__.py (+14/-0)
smokeng/management/commands/jenkins_pull_smokeng.py (+260/-0)
smokeng/migrations/0001_initial.py (+144/-0)
smokeng/models.py (+129/-0)
smokeng/tables.py (+90/-0)
smokeng/templates/smokeng/image_overview.html (+43/-0)
smokeng/templates/smokeng/overview.html (+31/-0)
smokeng/templates/smokeng/smoke_layout.html (+2/-0)
smokeng/templates/smokeng/table.html (+55/-0)
smokeng/tests.py (+231/-0)
smokeng/urls.py (+38/-0)
smokeng/views.py (+231/-0)
sru/__init__.py (+14/-0)
sru/admin.py (+81/-0)
sru/management/__init__.py (+14/-0)
sru/management/commands/__init__.py (+14/-0)
sru/management/commands/jenkins_pull_sru.py (+251/-0)
sru/migrations/0001_initial_sru_models.py (+140/-0)
sru/models.py (+173/-0)
sru/templates/sru/overview.html (+97/-0)
sru/templates/sru/overview_kernel.html (+106/-0)
sru/templates/sru/sru_layout.html (+2/-0)
sru/tests.py (+69/-0)
sru/urls.py (+30/-0)
sru/views.py (+134/-0)
upstream/admin.py (+3/-3)
upstream/fixtures/duplicate_job_fixture.json (+73/-73)
upstream/fixtures/phablet-apps.json (+234/-242)
upstream/management/commands/jenkins_pull_upstream.py (+279/-0)
upstream/migrations/0001_initial.py (+95/-95)
upstream/migrations/0002_auto__del_project__add_upstreamprojectgroup__add_upstreamproject__add_field_je.py (+57/-57)
upstream/migrations/0003_auto__add_field_jenkinsrun_parameters.py (+35/-35)
upstream/migrations/0004_auto__chg_field_jenkinsjob_parameters__chg_field_jenkinsrun_parameters.py (+37/-37)
upstream/migrations/0005_audo__add_field_jenkinsjob_project__del_field_upstreamproject_jenkins_job_.py (+60/-60)
upstream/migrations/0006_auto__add_field_jenkinsjob_upstream_job.py (+37/-37)
upstream/migrations/0007_auto.py (+46/-46)
upstream/migrations/0008_auto.py (+48/-48)
upstream/migrations/0009_auto.py (+40/-40)
upstream/migrations/0010_auto__del_field_jenkinscoveragereport_run__add_field_jenkinscoveragere.py (+41/-41)
upstream/migrations/0011_auto__add_field_jenkinsbuild_coverage_report.py (+39/-39)
upstream/migrations/0012_auto__add_release__add_field_upstream_project_release__add_field_upstreamprojec.py (+114/-114)
upstream/migrations/0013_auto__add_field_cu2dstack_release.py (+46/-46)
upstream/migrations/0014_auto.py (+71/-71)
upstream/migrations/0015_auto__add_unique_jenkinscoveragereport_jenkins_build.py (+42/-42)
upstream/migrations/0016_auto__add_field_jenkinsbuild_test_report__del_field_jenkinstestreport_.py (+46/-46)
upstream/migrations/0017_auto__del_jenkinsbuildparameter__del_jenkinsrunparameter__del_field_je.py (+60/-60)
upstream/migrations/0018_auto__add_field_cu2dstack_integration_job.py (+41/-41)
upstream/models.py (+5/-478)
upstream/templates/stack_list.html (+3/-2)
upstream/templatetags/percentage.py (+1/-1)
upstream/templatetags/upstream_extras.py (+1/-1)
upstream/tests/extractor/test_extractor.py (+3/-3)
upstream/tests/extractor/test_jenkins_build.py (+3/-5)
upstream/tests/extractor/test_jenkins_coverage.py (+2/-2)
upstream/tests/extractor/test_jenkins_job.py (+2/-2)
upstream/tests/extractor/test_jenkins_run.py (+3/-5)
upstream/tests/extractor/test_jenkins_test_report.py (+3/-3)
upstream/tests/integration/test_django_jenkins_build.py (+4/-1)
upstream/tests/integration/test_jenkins_build.py (+123/-0)
upstream/tests/integration/test_jenkins_job.py (+75/-0)
upstream/tests/integration/test_view_build.py (+1/-1)
upstream/tests/unit/test_build.py (+1/-1)
upstream/tests/unit/test_cu2d_stack.py (+1/-1)
upstream/tests/unit/test_cu2d_stack_import.py (+11/-21)
upstream/tests/unit/test_heuristics.py (+1/-1)
upstream/tests/unit/test_jenkins_build.py (+3/-4)
upstream/tests/unit/test_jenkins_build_import.py (+93/-67)
upstream/tests/unit/test_jenkins_coverage_report.py (+1/-1)
upstream/tests/unit/test_jenkins_coverage_report_import.py (+21/-31)
upstream/tests/unit/test_jenkins_flavor.py (+1/-1)
upstream/tests/unit/test_jenkins_job.py (+3/-3)
upstream/tests/unit/test_jenkins_job_import.py (+73/-86)
upstream/tests/unit/test_jenkins_result.py (+1/-1)
upstream/tests/unit/test_jenkins_run.py (+3/-3)
upstream/tests/unit/test_jenkins_run_import.py (+44/-60)
upstream/tests/unit/test_jenkins_test_report_import.py (+31/-0)
upstream/tests/unit/test_jenkins_utilities.py (+1/-1)
upstream/tests/unit/test_launchpad_project.py (+1/-1)
upstream/tests/unit/test_launchpad_project_import.py (+15/-20)
upstream/tests/unit/test_release.py (+1/-1)
upstream/tests/unit/test_series.py (+1/-1)
upstream/tests/unit/test_slurp_cu2d_configs.py (+14/-12)
upstream/tests/unit/test_upstream_project.py (+14/-14)
upstream/tests/unit/test_upstream_project_import.py (+45/-53)
upstream/urls.py (+22/-18)
upstream/util/coverage_report.py (+23/-0)
upstream/util/cu2d_stack.py (+21/-0)
upstream/util/extractor.py (+2/-4)
upstream/util/jenkins_build.py (+261/-0)
upstream/util/jenkins_job.py (+103/-0)
upstream/util/jenkins_run.py (+71/-0)
upstream/util/jenkins_test_report.py (+12/-0)
upstream/util/launchpad_project.py (+16/-0)
upstream/util/upstream_project.py (+39/-0)
upstream/views.py (+9/-9)
Changed in helipad: | |
assignee: | nobody → Allan LeSage (allanlesage) |
Changed in helipad: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fix committed into lp:helipad at revision 105, scheduled for release in helipad, milestone Unknown