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
Philipp Kern
a75002f472
britney{,_nobreakall.conf}: Drop sparc from testing.
...
Signed-off-by: Philipp Kern <pkern@debian.org>
2014-04-26 14:59:48 +00: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
Niels Thykier
d644d7554a
Move "old_libraries" to britney_util
...
Signed-off-by: Niels Thykier <niels@thykier.net>
2014-03-10 18:48:04 +01:00
Niels Thykier
3f86ef3299
Move write_controlfiles to britney_util
...
Signed-off-by: Niels Thykier <niels@thykier.net>
2014-03-10 18:48:04 +01:00
Niels Thykier
329f1901b4
Factor write_sources into its own function
...
Signed-off-by: Niels Thykier <niels@thykier.net>
2014-03-10 18:48:04 +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
Adam D. Barratt
92fe1724db
Fix a crash during installability testing
...
Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
2014-02-27 18:12:54 +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
Martin Pitt
a6a086c4b5
add failing test for test results from a previous version
2014-02-19 17:25:19 -08:00
Martin Pitt
d59d78f718
Add tests for multiple reverse dependencies with tests
...
This reproduces the failure to hold back gccgo-4.9 due to the broken libgcc1
package. This only seems to happen when a new source package takes over an
existing binary package.
2014-02-19 15:02:19 -08:00
Martin Pitt
899417b78d
return britney output as well, and add some commented-out extra debugging
2014-02-19 15:02:11 -08:00
Martin Pitt
0f5d8cfdcc
fix mock adt-britney request for RUNNING
2014-02-19 15:01:00 -08:00
Martin Pitt
fecf3be811
refactoring, add tests for passing and failing adt test
2014-02-19 13:36:20 -08:00
Martin Pitt
e1dc047c7e
Add first tests for the autopkgtest integration
...
This currently checks that an autopkgtest is triggered for an installable
package, and that no autopkgtest is triggered for an uninstallable one
(failing, demonstrating a bug).
2014-02-18 16:59:59 -08:00
Niels Thykier
131a51ea25
Sync britney_nobreakall.conf with recent changes
...
Signed-off-by: Niels Thykier <niels@thykier.net>
2014-01-31 21:48:17 +01:00
Niels Thykier
5dfa64624f
britney.conf: Remove ia64 from testing
...
Signed-off-by: Niels Thykier <niels@thykier.net>
2014-01-31 21:38:44 +01:00
Niels Thykier
07ad1de5de
britney.conf: Add sparc to {BREAK,FUCKED}_ARCHES
...
Signed-off-by: Niels Thykier <niels@thykier.net>
2014-01-29 23:04:28 +01:00
Niels Thykier
3dc4a6367f
Write "HeidiResultDelta" file containing the changes of the run
...
Based on Colin Watson's code to do the same from the "britney2-ubuntu"
repository[1] revision 306, 308 and 309.
Notable differences include:
* output include version of source package being removed
* output prefix removals with a "-" (otherwise it would be identical to
a upgrade/new source with the change above).
[1] http://bazaar.launchpad.net/~ubuntu-release/britney/britney2-ubuntu/revision/306
Signed-off-by: Niels Thykier <niels@thykier.net>
2014-01-11 09:03:16 +01:00
Colin Watson
33c441c500
ppc64el has pretty much caught up now; remove it from OUTOFSYNC_ARCHES.
2013-12-23 13:45:08 +00:00
Julien Cristau
cc644bc57f
Avoid exploding when reading broken hints
...
If hint.check() fails, just ignore the hint instead of killing britney.
Signed-off-by: Julien Cristau <jcristau@debian.org>
2013-12-16 23:05:09 +01:00
Colin Watson
504a95d7c6
Add ppc64el to ARCHITECTURES and OUTOFSYNC_ARCHES.
2013-12-16 11:32:42 +00:00
Niels Thykier
36da23b5b7
britney.py: Remove obsolete comment about AIEEE
...
Signed-off-by: Niels Thykier <niels@thykier.net>
2013-12-15 05:13:12 +01:00
Ivo De Decker
0214b41a4f
Add note when a pkg is being removed because it is not in sid
...
Signed-off-by: Niels Thykier <niels@thykier.net>
2013-12-11 21:56:51 +01:00
Niels Thykier
d9f04b88c9
britney.conf: Add EXCUSES_YAML_OUTPUT
...
Signed-off-by: Niels Thykier <niels@thykier.net>
2013-12-11 21:49:17 +01:00
Niels Thykier
36b58958a3
excuse: Rename "generated" to "generated-date"
...
"generated-date" suggests the value as a date, whereas "generated"
suggests a boolean value.
Signed-off-by: Niels Thykier <niels@thykier.net>
2013-12-11 21:21:15 +01:00
Niels Thykier
f9d2d78734
util: Add new "write_excuses" function
...
Signed-off-by: Niels Thykier <niels@thykier.net>
2013-12-11 21:21:15 +01:00
Niels Thykier
9e25dc2613
INSTALL: Mention the need for python-yaml
...
Also prune the "2.7" in the package names under the assumption
that people are running Jessie.
Signed-off-by: Niels Thykier <niels@thykier.net>
2013-12-11 21:21:15 +01:00