Colin Watson
f7b4cbc5cb
Drop --ubuntu-series alias option now that britney1 no longer uses it.
11 years ago
Colin Watson
d0d4ea5fa8
Rename --ubuntu-series option to just --series.
11 years ago
Niels Thykier
3817e9bae8
inst/builder.py: Move a comment and write doc for method
...
Signed-off-by: Niels Thykier <niels@thykier.net>
11 years ago
Niels Thykier
5e7417f416
britney.py: _compute_groups returns sets of tuples, not str
...
Fix a call site to use a tuple instead of a str when testing if a
package has been smooth-updated.
Signed-off-by: Niels Thykier <niels@thykier.net>
11 years ago
Niels Thykier
ad84f50d1b
britney.py: dict does not have a .add (in _compute_groups)
...
Signed-off-by: Niels Thykier <niels@thykier.net>
11 years ago
Colin Watson
9dbef8c864
Adjust maybe-NBS check again, this time to check for newer versions of other binaries from the same source.
11 years ago
Colin Watson
f81e685f99
Fix out-of-date maximum version check to only check binaries, not sources.
11 years ago
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.
11 years ago
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.
11 years ago
Niels Thykier
9b24a1d4e7
britney.py: Fix use of undefined variable
...
A currently dead branch in _compute_group uses an undefined local
variable.
Signed-off-by: Niels Thykier <niels@thykier.net>
11 years ago
Adam D. Barratt
28389f730e
Remove an obsolete comment
...
The C library is no longer used so stop suggesting changing it when
there are issues.
Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
11 years ago
Niels Thykier
34d1a6c653
Solver: Add more (optional) debugging output
...
Signed-off-by: Niels Thykier <niels@thykier.net>
11 years ago
Niels Thykier
8d4753530c
Britney: Fix malformed removal hints from auto hinter
...
Signed-off-by: Niels Thykier <niels@thykier.net>
11 years ago
Niels Thykier
271fb11b33
britney.py: Fix bug with hinting removals
...
Fix a bug in the auto hinter that could make think that sources had
already been removed.
Signed-off-by: Niels Thykier <niels@thykier.net>
11 years ago
Niels Thykier
c0409c1b04
Add auto hinter on top of the new installability tester
...
The "new" auto hinter relies on partial ordering to determine, when
what can migrate (and what needs to migrate at the same time). At the
same time, it leverages on "_compute_groups" to allow it to include
"removals" in its hints.
Signed-off-by: Niels Thykier <niels@thykier.net>
11 years ago
Niels Thykier
ebc9af70fa
Handle smooth updates better in "easy"-hints
...
Avoid smooth-updating libraries in hints, when all of their reverse
dependencies will certainly disappear in the same hint.
Note that in "hint"-hint, reverse dependencies removed in the
following "full run" will not cause the smooth-updated library to be
removed. Instead these will still be removed in the end as usual, but
in some cases that is too late.
Signed-off-by: Niels Thykier <niels@thykier.net>
11 years ago
Niels Thykier
580f4a7f3d
Rewrite, rename and extend find_upgraded_binaries
...
Rename find_upgraded_binaries into _compute_groups. The new method
will also compute what binaries will be updated in or added to testing
after migration.
Signed-off-by: Niels Thykier <niels@thykier.net>
11 years ago
Colin Watson
3aab217f6c
Make sure that containing directories exist before writing output files.
11 years ago
Colin Watson
e38a4842d6
Make all output files series-specific, and remove dependency on "testing" and "unstable" symlinks.
11 years ago
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).
11 years ago
Julien Cristau
614ab74eb5
Add pochu
...
Signed-off-by: Julien Cristau <jcristau@debian.org>
11 years ago
Colin Watson
a6fbf59cbc
merge lp:~jibel/britney/fix_missing_results
11 years ago
Jean-Baptiste Lallement
890b82aaef
Merged trunk
11 years ago
Colin Watson
b3f45e59d7
merge lp:~canonical-platform-qa/britney/tests
11 years ago
Martin Pitt
9b4eeafef2
Mark test_result_from_older_version as XFAIL
11 years ago
Jean-Baptiste Lallement
2a3a8cb657
autopkgtest.py: Document method read() and code simplification
...
britney.py: code simplification
11 years ago
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
11 years ago
Jean-Baptiste Lallement
4382d5c1e0
tests/autopkgtest.py: Removed debugging code
11 years ago
Jean-Baptiste Lallement
d490ca6a87
tests/autopkgtest.py: Added new tests when results already exist in history
11 years ago
Jean-Baptiste Lallement
1f09f02570
tests/autopkgtest.py: Use the right key for sorting history
11 years ago
Jean-Baptiste Lallement
a190cedd55
tests/autopkgtest.py: shell test with history
11 years ago
Jean-Baptiste Lallement
acd4de7868
tests/autopkgtest.py: Fixed testsuite and added tests to match new labels and rules for regression/always failing tests
11 years ago
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
11 years ago
Jean-Baptiste Lallement
3948558ac2
merged trunk
11 years ago
Philipp Kern
a75002f472
britney{,_nobreakall.conf}: Drop sparc from testing.
...
Signed-off-by: Philipp Kern <pkern@debian.org>
11 years ago
Colin Watson
eecb3ba5fa
trusty -> utopic
11 years ago
Martin Pitt
0cd14d1394
fix source package name in cause of new_source tests
11 years ago
Martin Pitt
2b7e93515f
add test for uninstallable binary built from new source package
11 years ago
Martin Pitt
728bcc92ea
merge trunk
11 years ago
Niels Thykier
d644d7554a
Move "old_libraries" to britney_util
...
Signed-off-by: Niels Thykier <niels@thykier.net>
11 years ago
Niels Thykier
3f86ef3299
Move write_controlfiles to britney_util
...
Signed-off-by: Niels Thykier <niels@thykier.net>
11 years ago
Niels Thykier
329f1901b4
Factor write_sources into its own function
...
Signed-off-by: Niels Thykier <niels@thykier.net>
11 years ago
Colin Watson
9b75fcf037
Fix unsatisfied-deps handling of packages without dependencies.
11 years ago
Martin Pitt
612ed80785
merge with trunk
11 years ago
Colin Watson
5974b25d99
Fix inverted logic in should_upgrade_srcarch.
11 years ago
Colin Watson
c493d9380b
Merge lp:~pitti/britney/britney2-autopkgtest-fixes with my adjustments.
11 years ago
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 ).
11 years ago
Adam D. Barratt
92fe1724db
Fix a crash during installability testing
...
Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
11 years ago
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.
11 years ago
Martin Pitt
2d73f30d64
run britney in verbose mode
11 years ago