Commit Graph

252 Commits (1c115eee112aba576c581c50594ac1504724417d)

Author SHA1 Message Date
Niels Thykier 77ec8a34f9 Optimize some hash lookups
7 years ago
Niels Thykier 499f7d993c Move loop-invariant out of loop
7 years ago
Niels Thykier 74fe0c8b8e Use finally to close handles from urlopen
7 years ago
Niels Thykier 2c34b70492 Remove unused import
7 years ago
Paul Gevers def9d81c76
Make retry URL configurable (two flavors)
7 years ago
Paul Gevers 9a28ec184b
Revert "autopkgtest: Drop retry_url from the excuses as this works different in Debian"
7 years ago
Paul Gevers cb716e3186
Don't excuse.force() on skiptest hint
7 years ago
Paul Gevers 6252826fad
autopkgtest: add adt_baseline = reference option
7 years ago
Niels Thykier 41978869ce Migrate solver's ad-hoc debug logging
7 years ago
Niels Thykier 8eaee4309e Rewrite "self.log -> self.logger.<severity>" for autopkgtest
7 years ago
Niels Thykier f752ea4ac7 Merge branch 'master' into autopkgtest
7 years ago
Niels Thykier 32b2ee326a Use lazy evaluation of format arguments in logging
7 years ago
Niels Thykier 8bf73610ee policies: Use logger instead of "log"
7 years ago
Niels Thykier ac69b3b5c7 Migrate hint parser to fully use logging
7 years ago
Niels Thykier 5e825043d3 Replace "print" logging with the "logging" module
7 years ago
Paul Gevers 5dfde99fe6
sources is a proper class with a version method
7 years ago
Paul Gevers c7107d1fd4
autopkgtest: rewrite processing of debci2britney data
7 years ago
Paul Gevers 12e2cb7596
autopkgtest: don't log a very much occuring ignored situation
7 years ago
Paul Gevers 67becb2aec
autopkgtest: in the final API, run_id is a number, convert it to string internally
7 years ago
Paul Gevers d0fd1872d4
autopkgtest: give blacklisted packages a version of 'blacklisted'
7 years ago
Paul Gevers df17112bbe
autopkgtest: ignore results without trigger
7 years ago
Paul Gevers adbe6d5f67
autopkgtest: redefine regression, if possible, only take test results in testing into account
7 years ago
Paul Gevers 054830d03f
autopkgtest: Drop retry_url from the excuses as this works different in Debian
7 years ago
Paul Gevers fc5eacf7d1
autopkgtest: minor change
7 years ago
Paul Gevers d59538a514
Enable correct result file url for Debian
7 years ago
Paul Gevers 93ca29c3aa
Load the debci API status file directly
7 years ago
Paul Gevers 03292d1df4
On ci.d.n the running test page is under status/pending
7 years ago
Paul Gevers 1e022af99e
Minor enhancement of log message as in Debian a package can be in unstable without being in testing.
7 years ago
Paul Gevers 9790dbf7c2
Don't reward bounty while tests are running or are always-failed
7 years ago
Paul Gevers 44f983dc63
autopkgtest: Remove hack for gccgo-5/6
7 years ago
Paul Gevers 011e9a14b7
Merge branch 'master' into autopkgtest
7 years ago
Paul Wise 94a3136f64 Drop duplicate 'has new bugs' excuses item
7 years ago
Paul Gevers fd03083ea5
Merge branch 'master' into autopkgtest
7 years ago
Niels Thykier b82f4fc632 autopkgtests policy: only load amqplib if needed
7 years ago
Niels Thykier 5c3229467a write_heidi: Include cruft arch:all packages in the output
7 years ago
Niels Thykier 7217c22b42 get_dependency_solvers: The "foo:any" modifier can also appear in B-D relations
7 years ago
Niels Thykier 2242821c01 BuildDependsPolicy: Add missing build_depends=True to get_dependency_solvers
7 years ago
Niels Thykier c195268019 piuparts: Properly discard the URL for testing
7 years ago
Niels Thykier bda39f8ca0 Support :native in build-dependency relations
7 years ago
Niels Thykier 89765bc374 BuildDependsPolicy: Keep block_txt and block in sync
7 years ago
Niels Thykier ee27d7a67c Add BuildDependsPolicy to check Build-Depends(-Arch) availability
7 years ago
Niels Thykier c537f0554f Move PolicyVerdict to britney2.policies
7 years ago
Niels Thykier 784d80ab4c Replace a few lists with sets
7 years ago
Niels Thykier 94034f225f excuse: Drop unused field
7 years ago
Paul Gevers f03f59548d
Fix logic in exception handling of unknown autopkgtest results
7 years ago
Paul Gevers 089c4f6e57
Rename new excuse field and method to unsatisfiable_on_archs and add_unsatisfiable_on_arch
7 years ago
Paul Gevers a16e4e5a55
Enable autopkgtesting on built arches when not all have been built yet
7 years ago
Paul Gevers 41c4729506
Only give bounty on passing packages if the package has a test suite itself
7 years ago
Paul Gevers d975b2fc39
Make the huge queue in autopkgtest optional
7 years ago
Paul Gevers b553b205ce
Add age changes due to penalties or bounties to the excuses output
7 years ago
Paul Gevers f2f20eb460
Limit accumulated bounties to configurable minum age
7 years ago
Paul Gevers 77ea1cc8d5
Enable no-penalties urgencies; to exempt urgency >= high from penalties
7 years ago
Paul Gevers be5a378da5
Enhance debugging information for applied bounties and penalties
7 years ago
Paul Gevers 287a9d328c
os.path.join(options.unstable, 'autopkgtest') isn't writable in the Debian setup and we have options.state_dir already
7 years ago
Paul Gevers eb60fc557e
Implement bounty/penalty system for autopkgtest
7 years ago
Paul Gevers acec564443
Make autopkgtest web site URL an option
7 years ago
Paul Gevers 648feb71d3
Implement swift free usage of autopkgtest
7 years ago
Paul Gevers bee197f085
policy/autopkgtest Add minor comments
7 years ago
Paul Gevers 77bb15e0e8
Plug in the new autopkgtest policy
7 years ago
Paul Gevers 2bce9e334e
Initial commit for autokpgtest
7 years ago
Niels Thykier 1042c626ec excuse: Improve text for REJECTED_NEEDS_APPROVAL
7 years ago
Niels Thykier 69473eefca solver: Extract compute_scc into a function
8 years ago
Niels Thykier bd375fdd85 solver: Make _compute_scc iterative
8 years ago
Niels Thykier 64653087d0 solver: Fix bug where some items were not emitted
8 years ago
Niels Thykier 189edf42ec britney: Move britney's start of day to 7 pm
8 years ago
Niels Thykier f6120e5ec3 Use the correct required age in html excuses
8 years ago
James McCoy 0c44d3ac27 excuse: Add an EOL to the verdict summary line in HTML output
8 years ago
Niels Thykier 67c784f796 excuse: Use verdict name rather than object in excuses.yaml
8 years ago
Niels Thykier 9ca5f7e24e Add more verdicts to provide more detailed excuses
8 years ago
Niels Thykier d7a676d074 Aggregate all migration decisions and present it in excuses
8 years ago
Niels Thykier f40a7f41b3 Replace dontinvalidate with forced
8 years ago
Niels Thykier b34ac3bdd9 Add a verdict field to all policies with the actual verdict
8 years ago
Niels Thykier 5f2a84a4f8 Remove redundant if-else - if branch is always true
8 years ago
Niels Thykier 42be17ad26 inst-tester: Correctly handle unresolved essential choices
8 years ago
Niels Thykier ed2a34e897 hints.py: Fix incorrect documentation of min_args parameter
8 years ago
Niels Thykier ee12b76885 tests: Add test for some invalid hints
8 years ago
Jonathan Wiltshire 3156b2c753 Fix call to super() in SimplePolicyHint
8 years ago
Niels Thykier 3e888a9fdf PiupartsPolicy: Improve html message
8 years ago
Niels Thykier bcdb2b39cd Add PiupartsPolicy to avoid piuparts regressions
8 years ago
Niels Thykier e6e221ad52 Extract a compile_nuninst and move it to utils
8 years ago
Niels Thykier eaf4660918 utils: Replace explicit loop index handling with enumerate
8 years ago
Niels Thykier 06504f2ae7 Move invalidate_exuses to utils
8 years ago
Niels Thykier 166a6533ba completer: Replace src[X] with src.X
8 years ago
Niels Thykier 0cc7f7a8d2 Move build_installability_tester to builder.py
8 years ago
Niels Thykier 7a63784876 Move get_dependency_solvers to utils
8 years ago
Niels Thykier c4be8436db Move read_sources_file to utils
8 years ago
Niels Thykier a14ced6403 Drop now unused "from __future__" imports
8 years ago
Niels Thykier 9ca30aac81 Rename a variable for clarity reasons
8 years ago
Niels Thykier a768432eb2 solver.py: Add missing "no cover" pragma
8 years ago
Niels Thykier d3e343a3bd AgePolicy: Fix bug in creating the age file
8 years ago
Niels Thykier 241b17602d utils: Remove condition that is always true
8 years ago
Niels Thykier fc2269ba02 rc-bugs policy: Ignored bugs are not unique to testing
8 years ago
Niels Thykier 9c563f1a96 Move data classes into britney2/__init__.py
8 years ago
Niels Thykier 20c2b87833 Sprinkle some "no cover" pragmas over the code base
8 years ago
Niels Thykier 54fd517062 excuse.py: Drop now unused urgency field
8 years ago
Niels Thykier 2d8a471f70 undo_changes: Simplify case for virtual packages
8 years ago
Niels Thykier 1f1086b929 utils: Replace a case of b[FOO] with b.foo
8 years ago
Niels Thykier 2ce2d7efb3 utils: Remove reundant VERSION=VERSION parameter
8 years ago
Niels Thykier dd426c81fa Remove dead case in undo code
8 years ago
Niels Thykier 50d4d45c59 Collect suite metadata in a new member hash
8 years ago
Niels Thykier c86e1f7e9c britney: Skip architectures not listed in Release files
8 years ago
Niels Thykier 9bc94db01c Refactor all modules into a britney2 subdir
8 years ago