33 Commits

Author SHA1 Message Date
Martin Pitt
32f33baf09 Merge with trunk, port to Python 3 2015-08-24 20:46:42 +02: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
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
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
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
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
f63896045f boottest - Only make the manifest directory if it doesn't already exist. 2015-02-04 16:42:08 -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
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
Celso Providelo
37bd9924f7 Introduce BOOTTEST_FETCH configuration option for enabling/disabling TouchManifest auto-fetching feature, for faster and isolated tests. 2015-02-02 13:10:53 -05:00
Joe Talbott
2e5084ee79 boottest - Fetch manifests dynamically but use cached manifests if the fetch fails 2015-01-30 16:41:20 -05:00
Celso Providelo
eeaf8e3deb Silently skipping boottesting for sources not yet built on the allowed architectures (all and armhf). 2015-01-22 21:30:03 -02:00
Celso Providelo
ed31f1129b Cosmetic changes for adding excuse labels (html) and more readable image manifest path. 2015-01-22 16:44:18 -02:00
Celso Providelo
1bfe4c69eb Addressing cjwatson points, mainly moving 'excuse' handling logic back to britney. 2015-01-22 14:43:37 -02:00
Celso Providelo
cc9097e2ed Check phone-image presence for all binary files for the give excused sourcename. Tests improved. 2015-01-21 14:59:12 -02:00
Celso Providelo
26d134e011 Better docstring for BootTest.update(). 2015-01-21 12:44:20 -02:00
Celso Providelo
599fda8505 Basic (and ugly) phone image manifest wrapper. 2015-01-21 12:37:43 -02:00
Celso Providelo
f7e1fa67c0 Implementing boottest entry points for checking phone-image presence and test current status. 2015-01-21 10:25:40 -02:00
Celso Providelo
fe5f4c09ac Very basic bootstack testing criteria support. 2015-01-19 17:59:19 -02:00