Martin Pitt
65a1d73164
tests: Don't touch original britney.conf
...
Don't change britney.conf from the source tree and restore it back after the
tests; this is prone to leave a broken config behind if a test gets
interrupted. Instead, copy the file to our temp dir, and let tests hack on it
there.
(Introduced in lp:~canonical-ci-engineering/britney/boottesting-support)
10 years ago
Martin Pitt
add46d2904
Store autopkgtest flag in sources
...
Extend read_sources to store a new AUTOPKGTEST boolean flag, which is true if
the Testsuite: field exists and starts with "autopkgtest" (this covers autodep8
cases like autopkgtest-pkg-perl).
Extend TestData.add() to take a new testsuite argument which specifies the
source's Testsuite: field.
10 years ago
Steve Langasek
6b775c50f3
Merge lp:~canonical-ci-engineering/britney/enable-vivid-boottest
10 years ago
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.
10 years ago
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.
10 years ago
Francis Ginther
7e38fec3cb
Use a list of url formats for downloading the appropriate touch image manifest for a given release.
10 years ago
Colin Watson
d412b71391
[r=adconrad] Fix autopkgtest version selection loop
10 years ago
Steve Langasek
c1fa1c0082
Enable gating on boot testing results
10 years ago
Francis Ginther
da2175f1f1
Set 'BOOTTEST_ENABLE = yes' to turn it on.
10 years ago
Steve Langasek
84983f5eae
Merge lp:~cprov/britney/boottest-double-blocking
10 years ago
Celso Providelo
50e0bc137d
Add 'boottest' excuse failure reason when it has failed even if the previous tests had already failed.
10 years ago
Celso Providelo
ea6493ae71
Only enable BOOTTEST for testing, so britney.conf is safe on trunk.
10 years ago
Celso Providelo
c76874fda5
Test ADT & BootTest criteria running simultaneously. Fixed minor issue related to doubling-blocking promotions.
10 years ago
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
10 years ago
Steve Langasek
9afd502e7f
Merge lp:~canonical-ci-engineering/britney/boottesting-support
10 years ago
Vincent Ladeuil
0b7d702f69
Poperly initialize Excuse.run_boottest.
10 years ago
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.
10 years ago
Celso Providelo
341ec4a3e0
Typo fixed
10 years ago
Celso Providelo
bf8056a061
Cope with missing/broken results due to outdated apt cache. Britney will not fail, but source promotion will be blocked.
10 years ago
Celso Providelo
496a2f3134
Suppress boottest SKIPPED notice on excuses, it's unnecessary noise.
10 years ago
Celso Providelo
60a0bcad76
Presenting links for the corresponding boottest jenkins job.
10 years ago
Celso Providelo
b9890e1b7c
Adding links to the boottest jobs (results) in the public and the private servers.
10 years ago
Celso Providelo
011aa3570e
Stop announcing skipped boottest attempts.
10 years ago
Celso Providelo
a80a1e4f1c
Boottest integration adjustments.
10 years ago
Celso Providelo
f98bab42b2
Re-fix get_status() doc string and remove commented code.
10 years ago
Celso Providelo
c3c9005d5f
Restore boottest status lookup by source name & version.
10 years ago
Joe Talbott
f9cfb6e49c
boottest - Add exception handling for manifest fetching
10 years ago
Joe Talbott
6269f50abc
Don't bother creating another mocked urllib.urlopen.
10 years ago
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.
10 years ago
Celso Providelo
9fb776f4c0
boottest-britney debug options respects BOOTTEST_DEBUG configuration option.
10 years ago
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).
10 years ago
Joe Talbott
f0a55936f5
boottest - Add exception message to warning print and fix typo
10 years ago
Joe Talbott
87ccbfd731
boottest - Add exception handling for manifest fetching
10 years ago
Celso Providelo
a729746fa8
[test-fix] Fixing test_autopkgtest.py configuration setup, so all tests pass now.
10 years ago
Celso Providelo
72b01f8cc7
Using addCleanup() for restoring original configuration contents in tests.
10 years ago
Celso Providelo
6e8e2adc35
Fix autopkgtest tests, extending the current test setup to mangle the shared configuration file appropriately for each test context (autopkgtest & boottest).
10 years ago
Celso Providelo
58dbb3f95c
[test-fix] Adjusting test setup for the new manifest path (using project) and the auto-package-testing project path.
10 years ago
Celso Providelo
df62c7fcf7
solve '~' expansion for tests.
10 years ago
Celso Providelo
8ffc7049b5
Test fixing (proposal)
10 years ago
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.
10 years ago
Joe Talbott
92a2156b10
boottest - Only make the manifest directory if it doesn't already exist.
10 years ago
Joe Talbott
f63896045f
boottest - Only make the manifest directory if it doesn't already exist.
10 years ago
Joe Talbott
18fe5cedde
boottest - Add retry loop (3) for manifest fetching.
10 years ago
Joe Talbott
7adfb13783
boottest - Add error message if fetching the manifest fails
10 years ago
Joe Talbott
aeecde32ed
boottest - Add retry loop (3) for manifest fetching
10 years ago
Celso Providelo
82b1c1cd83
Adjusting boottest-jenkins arguments to match reality.
10 years ago
Celso Providelo
436dadae0a
Cleanup the boottest-britney testing script to reflect better its real behavior.
10 years ago
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).
10 years ago
Celso Providelo
06ea2ab941
Request boottests for sources, not binaries. Jenkins glue will drive adt properly.
10 years ago
Celso Providelo
49f0a5b3ff
Wraps 'boottest-britney' script for checking status or submitting new jobs.
10 years ago