780 Commits

Author SHA1 Message Date
Steve Langasek
6b775c50f3 Merge lp:~canonical-ci-engineering/britney/enable-vivid-boottest 2015-06-12 13:56:44 -07:00
Francis Ginther
9e238f7406 For selection of boottest candidates, use a list of url formats for downloading the appropriate touch image manifest for a given release. 2015-06-08 10:25:34 -05:00
Francis Ginther
ca1fc41f9e Refactor the __fetch_manifest() code so that the a successful response is immediately handled and we don't end up with an undefined 'response' on an exception. Also update the tests to return two mocked reponses to match the size of the url_list. 2015-06-05 11:08:48 -05:00
Francis Ginther
7e38fec3cb Use a list of url formats for downloading the appropriate touch image manifest for a given release. 2015-06-04 22:12:18 -05:00
Colin Watson
d412b71391 [r=adconrad] Fix autopkgtest version selection loop 2015-03-12 05:11:19 -06:00
Steve Langasek
c1fa1c0082 Enable gating on boot testing results 2015-03-05 11:28:19 -08:00
Francis Ginther
da2175f1f1 Set 'BOOTTEST_ENABLE = yes' to turn it on. 2015-03-05 08:57:03 -06:00
Steve Langasek
84983f5eae Merge lp:~cprov/britney/boottest-double-blocking 2015-02-23 07:13:24 -08:00
Celso Providelo
50e0bc137d Add 'boottest' excuse failure reason when it has failed even if the previous tests had already failed. 2015-02-20 17:02:00 -02:00
Celso Providelo
ea6493ae71 Only enable BOOTTEST for testing, so britney.conf is safe on trunk. 2015-02-20 14:28:47 -02:00
Celso Providelo
c76874fda5 Test ADT & BootTest criteria running simultaneously. Fixed minor issue related to doubling-blocking promotions. 2015-02-20 14:12:51 -02:00
Steve Langasek
8effd3d220 Disable boottesting for now.
Britney runs failed with:

Traceback (most recent call last):
  File "/home/ubuntu-archive/proposed-migration/code/b2/britney.py", line 3259, in <module>
    Britney().main()
  File "/home/ubuntu-archive/proposed-migration/code/b2/britney.py", line 3211, in main
    self.write_excuses()
  File "/home/ubuntu-archive/proposed-migration/code/b2/britney.py", line 1982, in write_excuses
    upgrade_me.remove(excuse.name)
ValueError: list.remove(x): x not in list
2015-02-19 19:03:31 -08:00
Steve Langasek
9afd502e7f Merge lp:~canonical-ci-engineering/britney/boottesting-support 2015-02-19 17:11:39 -08:00
Vincent Ladeuil
0b7d702f69 Poperly initialize Excuse.run_boottest. 2015-02-18 14:33:55 +01:00
Celso Providelo
0f3662ec67 Cope with missing/broken results due to outdated apt cache. Britney will not fail, but source promotion will be blocked. Also waiting for amd64 binaries (arch-indep deps) before running boottests. 2015-02-11 10:43:39 -05:00
Celso Providelo
341ec4a3e0 Typo fixed 2015-02-11 10:41:43 -05:00
Celso Providelo
bf8056a061 Cope with missing/broken results due to outdated apt cache. Britney will not fail, but source promotion will be blocked. 2015-02-11 09:45:20 -05:00
Celso Providelo
496a2f3134 Suppress boottest SKIPPED notice on excuses, it's unnecessary noise. 2015-02-10 15:56:35 -05:00
Celso Providelo
60a0bcad76 Presenting links for the corresponding boottest jenkins job. 2015-02-10 15:44:11 -05:00
Celso Providelo
b9890e1b7c Adding links to the boottest jobs (results) in the public and the private servers. 2015-02-10 14:51:44 -05:00
Celso Providelo
011aa3570e Stop announcing skipped boottest attempts. 2015-02-10 13:49:43 -05:00
Celso Providelo
a80a1e4f1c Boottest integration adjustments. 2015-02-06 11:43:38 -05:00
Celso Providelo
f98bab42b2 Re-fix get_status() doc string and remove commented code. 2015-02-06 11:16:41 -05:00
Celso Providelo
c3c9005d5f Restore boottest status lookup by source name & version. 2015-02-06 10:38:36 -05:00
Joe Talbott
f9cfb6e49c boottest - Add exception handling for manifest fetching 2015-02-05 18:17:08 -05:00
Joe Talbott
6269f50abc Don't bother creating another mocked urllib.urlopen. 2015-02-05 17:27:39 -05:00
Celso Providelo
760d08c459 Fix BootTest.get_status to return status for the latest known version. Boottests results are reported for the current (published) version, not the proposed one. 2015-02-05 16:42:29 -05:00
Celso Providelo
9fb776f4c0 boottest-britney debug options respects BOOTTEST_DEBUG configuration option. 2015-02-05 14:13:51 -05:00
Celso Providelo
cd49a7eae4 Calling boottest-britney with -dPU (debug, use -proposed and do not update caches) and also rsyncing boottest data to the correct place on d-jenkins (/var/local/boottest). 2015-02-05 14:04:52 -05:00
Joe Talbott
f0a55936f5 boottest - Add exception message to warning print and fix typo 2015-02-05 11:20:28 -05:00
Joe Talbott
87ccbfd731 boottest - Add exception handling for manifest fetching 2015-02-05 11:08:53 -05:00
Celso Providelo
a729746fa8 [test-fix] Fixing test_autopkgtest.py configuration setup, so all tests pass now. 2015-02-05 09:46:34 -05:00
Celso Providelo
72b01f8cc7 Using addCleanup() for restoring original configuration contents in tests. 2015-02-05 09:43:23 -05:00
Celso Providelo
6e8e2adc35 Fix autopkgtest tests, extending the current test setup to mangle the shared configuration file appropriately for each test context (autopkgtest & boottest). 2015-02-05 09:17:54 -05:00
Celso Providelo
58dbb3f95c [test-fix] Adjusting test setup for the new manifest path (using project) and the auto-package-testing project path. 2015-02-05 09:00:48 -05:00
Celso Providelo
df62c7fcf7 solve '~' expansion for tests. 2015-02-05 08:15:07 -05:00
Celso Providelo
8ffc7049b5 Test fixing (proposal) 2015-02-05 08:04:39 -05:00
Vincent Ladeuil
01fdb16995 According to cjwatson, cdimage deals with projects, not distribution, fix TouchManifest accordingly.
Fix boottest-britney location to match production.
Fix TestTouchManifest test failures, now that we retry on manifest download errors, the tests should inhibit the retries when testing the failures.

5 out of the 8 TestBoottestEnd2End are still failing because the excuse says the tests are skipped instead of running/failing/being in progress, etc.
2015-02-05 10:42:12 +01:00
Joe Talbott
92a2156b10 boottest - Only make the manifest directory if it doesn't already exist. 2015-02-04 16:46:45 -05:00
Joe Talbott
f63896045f boottest - Only make the manifest directory if it doesn't already exist. 2015-02-04 16:42:08 -05:00
Joe Talbott
18fe5cedde boottest - Add retry loop (3) for manifest fetching. 2015-02-04 16:33:45 -05:00
Joe Talbott
7adfb13783 boottest - Add error message if fetching the manifest fails 2015-02-04 16:25:36 -05:00
Joe Talbott
aeecde32ed boottest - Add retry loop (3) for manifest fetching 2015-02-04 16:13:32 -05:00
Celso Providelo
82b1c1cd83 Adjusting boottest-jenkins arguments to match reality. 2015-02-04 12:42:03 -05:00
Celso Providelo
436dadae0a Cleanup the boottest-britney testing script to reflect better its real behavior. 2015-02-04 11:15:08 -05:00
Celso Providelo
1e8dc398e9 Merge the boottest-jenkins script wrapper into BootTest class for simplicity and extend the API to match what we already for auto-package-testing (ADT). 2015-02-04 08:54:00 -05:00
Celso Providelo
06ea2ab941 Request boottests for sources, not binaries. Jenkins glue will drive adt properly. 2015-02-03 12:27:22 -05:00
Celso Providelo
49f0a5b3ff Wraps 'boottest-britney' script for checking status or submitting new jobs. 2015-02-02 17:04:24 -05:00
Celso Providelo
e254cf3625 Basic debug info when fetching manifests. 2015-02-02 14:00:24 -05:00
Celso Providelo
560421a65f Checking BOOTTEST_ARCHES binaries before attempting to boottest. 2015-02-02 13:42:35 -05:00