578 Commits

Author SHA1 Message Date
Colin Watson
11af066dda Make sure that self.binaries['tpu'][arch] is properly initialised. 2014-12-09 15:36:09 +00:00
Colin Watson
9627ee7661 Merge trunk up to second commit from 2013-11-27 (rewritten installability tester) 2014-12-09 15:12:29 +00:00
Colin Watson
3290b4cccf Merge trunk up to first commit from 2013-11-27 2014-12-09 14:48:58 +00:00
Colin Watson
da9e838067 Revert to r414; this gets things wrong if there are sources with some Architecture: all binaries in unstable and some incompletely-built architecture-dependent ones. 2014-11-12 12:36:53 +00:00
Colin Watson
301dd2df1e Refine merging of binaries: only count unstable-architecture-independent as built if all binaries are now architecture-independent. 2014-11-12 12:17:50 +00:00
Colin Watson
4cc353296a When merging binaries, count a binary as built in unstable if the testing architecture is architecture-dependent and the unstable architecture is architecture-independent. 2014-11-12 12:08:46 +00:00
Colin Watson
72eb973a3c Change NOBREAKALL_ARCHES to amd64, now that that's nominatedarchindep for vivid. 2014-11-12 11:13:08 +00:00
Adam Conrad
ba2b250cfd Merge pitti's autopkgtest URL fix. 2014-10-31 01:44:36 -06:00
Martin Pitt
d57c0bbeb8 autopkgtest: Update public Jenkins URL to not depend on /view/<Release> to be created 2014-10-31 08:35:03 +01:00
Colin Watson
9dec8a1daf Fix log message if Dates is missing. 2014-10-23 18:28:42 -04:00
Colin Watson
1982bf4bd1 Remove a stray "break" that caused broken out-of-date output. 2014-08-19 12:49:35 +01:00
Colin Watson
52ad167312 Fix substitution ordering mistake in out-of-date rendering. 2014-07-25 12:37:16 +01:00
Colin Watson
0a4f948e3a Allow Dates to be absent. 2014-07-24 17:35:47 +01:00
Colin Watson
0a2b1fd4b0 Add a --distribution option; parameterise most mentions of "ubuntu" using it. 2014-07-24 15:28:12 +01:00
Colin Watson
f7b4cbc5cb Drop --ubuntu-series alias option now that britney1 no longer uses it. 2014-07-24 15:20:09 +01:00
Colin Watson
d0d4ea5fa8 Rename --ubuntu-series option to just --series. 2014-07-24 15:18:26 +01:00
Colin Watson
9dbef8c864 Adjust maybe-NBS check again, this time to check for newer versions of other binaries from the same source. 2014-07-10 09:22:40 +01:00
Colin Watson
f81e685f99 Fix out-of-date maximum version check to only check binaries, not sources. 2014-07-08 17:34:35 +01:00
Colin Watson
02e9779d35 Only flag an out-of-date package as possible NBS if the out-of-date version is also the maximum version across all architectures. 2014-07-08 15:12:22 +01:00
Colin Watson
18edacf8b2 Show a note for out-of-date binaries from a version between the one in testing and the one in unstable, since those are usually NBS and this makes such cases more searchable. 2014-07-08 14:32:22 +01:00
Colin Watson
3aab217f6c Make sure that containing directories exist before writing output files. 2014-06-06 14:45:55 +01:00
Colin Watson
e38a4842d6 Make all output files series-specific, and remove dependency on "testing" and "unstable" symlinks. 2014-06-06 13:22:26 +01:00
Colin Watson
6ac23e6d67 Add new --ubuntu-series option, replacing ADT_SERIES in the configuration file. Add ADT_ENABLE configuration file entry to allow disabling autopkgtests (previously done by setting ADT_SERIES to the empty string). 2014-06-05 11:42:14 +01:00
Colin Watson
a6fbf59cbc merge lp:~jibel/britney/fix_missing_results 2014-05-12 15:40:45 +01:00
Jean-Baptiste Lallement
890b82aaef Merged trunk 2014-05-12 15:01:36 +02:00
Colin Watson
b3f45e59d7 merge lp:~canonical-platform-qa/britney/tests 2014-05-12 13:44:52 +01:00
Martin Pitt
9b4eeafef2 Mark test_result_from_older_version as XFAIL 2014-05-12 14:04:55 +02:00
Jean-Baptiste Lallement
2a3a8cb657 autopkgtest.py: Document method read() and code simplification
britney.py: code simplification
2014-05-12 11:47:40 +02:00
Jean-Baptiste Lallement
1052dea946 * tests/test_autopkgtest.py:
- Added docstrings
- Replaced format by %
- Import ADT_EXCUSES_LABELS from autopkgtest.py instead of redefining it
- Renamed test to avoid name conflict with autopkgtest.py from britney
- Fixed some formatting
2014-05-12 11:12:24 +02:00
Jean-Baptiste Lallement
4382d5c1e0 tests/autopkgtest.py: Removed debugging code 2014-05-06 16:55:57 +02:00
Jean-Baptiste Lallement
d490ca6a87 tests/autopkgtest.py: Added new tests when results already exist in history 2014-05-06 16:55:16 +02:00
Jean-Baptiste Lallement
1f09f02570 tests/autopkgtest.py: Use the right key for sorting history 2014-05-06 09:10:53 +02:00
Jean-Baptiste Lallement
a190cedd55 tests/autopkgtest.py: shell test with history 2014-05-05 18:19:48 +02:00
Jean-Baptiste Lallement
acd4de7868 tests/autopkgtest.py: Fixed testsuite and added tests to match new labels and rules for regression/always failing tests 2014-05-05 18:08:40 +02:00
Jean-Baptiste Lallement
7e80d47eb6 autopkgtest.py:
- A test for a package/version can be triggered by several distincts causes with different results. Modify the data structure to store this instead of only storing the last cause and result, leading to missing test results in excuses.
- Check if failures are regressions (there is at least one pass and migration is blocked) or if test has always been failing. In the latter case, migration is not blocked.
- Add colours to excuses.html to distinguishes the test results
- Point jenkins URL to lastBuild
2014-04-29 23:38:45 +02:00
Jean-Baptiste Lallement
3948558ac2 merged trunk 2014-04-28 10:04:55 +02:00
Colin Watson
eecb3ba5fa trusty -> utopic 2014-04-23 20:46:40 +01:00
Martin Pitt
0cd14d1394 fix source package name in cause of new_source tests 2014-03-17 09:35:20 +01:00
Martin Pitt
2b7e93515f add test for uninstallable binary built from new source package 2014-03-17 08:43:25 +01:00
Martin Pitt
728bcc92ea merge trunk 2014-03-17 08:34:59 +01:00
Colin Watson
9b75fcf037 Fix unsatisfied-deps handling of packages without dependencies. 2014-03-05 16:14:48 +00:00
Martin Pitt
612ed80785 merge with trunk 2014-03-05 16:23:55 +01:00
Colin Watson
5974b25d99 Fix inverted logic in should_upgrade_srcarch. 2014-03-05 15:12:45 +00:00
Colin Watson
c493d9380b Merge lp:~pitti/britney/britney2-autopkgtest-fixes with my adjustments. 2014-03-05 15:04:19 +00:00
Colin Watson
62bf1130f7 Take a different approach to excluding packages with unsatisfiable dependencies (see https://code.launchpad.net/~pitti/britney/britney2-autopkgtest-fixes/+merge/208657). 2014-03-05 15:03:45 +00:00
Martin Pitt
3d95702a59 Block packages with unsatisfiable depends and don't run tests for them
In excuse_unsat_deps(), mark unsatisfiable dependencies not just in the HTML,
but also in the invalid_deps list. If we have any of those in
should_upgrade_src(), block the package and don't run the autopkgtest. This
avoid running tests for known-uninstallable packages, which just leads to
guaranteed failures, manual intervention of re-running tests after it becomes
installable, and spamming maintainers with a FAIL/PASS notification.
2014-02-27 18:40:50 +01:00
Martin Pitt
2d73f30d64 run britney in verbose mode 2014-02-27 18:38:20 +01:00
Martin Pitt
882a985966 add --debug option mock adt-britney 2014-02-27 16:01:34 +01:00
Martin Pitt
5e54ba9018 some more tests 2014-02-25 08:14:11 +01:00
Martin Pitt
319bb8260b use symbolic constants instead of True/False for considered status 2014-02-25 08:05:39 +01:00