Commit Graph

246 Commits (e25ce3df68eb65d3e85390b16d1933d45d180cbd)

Author SHA1 Message Date
Paul Gevers 7611231ee2
Fix all pycodestyle issues in b/p/autopkgtest.py
6 years ago
Paul Gevers 992b27abb3
autopkgtest: retrigger old failures
6 years ago
Paul Gevers 42ac9c34a1
autopkgtest: add timestamp to results
6 years ago
Niels Thykier f4ecd86000
Pass migration items to policies (instead of src + suite)
6 years ago
Niels Thykier 59633a92b5
Clone all_buildarchs before mutating it
6 years ago
Paul Gevers 16f823dd91 autopkgtest: in Debian we want linux to be treated as any other
6 years ago
Paul Gevers 1ca76486b5
Replace libreoffice with doxygen as the libgcc smoke test for gcc.
6 years ago
Niels Thykier 4eb038ab6d
autopkgtest: Move field creation into __init__
6 years ago
Paul Gevers 1ecb07ac2d
autopkgtest: bug fix in baseline cache
6 years ago
Paul Gevers 075d4d823b
autopkgtest: fix copy() in save_state
6 years ago
Paul Gevers c6c5c45287
autopkgtest: tiny change for easier understanding
6 years ago
Paul Gevers d038e7bbe6
autopkgtest: simplify bin_triggers logic/naming
6 years ago
Niels Thykier 427328821e
Remove redundant variables
6 years ago
Niels Thykier b0835fa4a1
Fix pycodestyle warnings
6 years ago
Ivo De Decker 66648c1a03
Add BuiltUsingPolicy
6 years ago
Ivo De Decker 35ae8848b4
Fix apply_src_policies when policy is applied on multiple archs
6 years ago
Niels Thykier c9d523da93
Remove trailing whitespace
6 years ago
Ivo De Decker cd08deb943 Fix build-dep check for source with only arch: all binaries
6 years ago
Ivo De Decker 15e5228669 Add src_policy option to policies.
6 years ago
Niels Thykier 82fa58df20 Extract a compute_item_name method
6 years ago
Ivo De Decker 97ed917db4 Sort some data for deterministic output in excuses
6 years ago
Niels Thykier f928c7ed3d Make SourcePackage.binaries a set
6 years ago
Niels Thykier 6c3f8354e5
BlockPolicy: Compile regex once rather than once per migration item
6 years ago
Niels Thykier c4371b9f58
BlockPolicy: Replace print with logger.info
6 years ago
Niels Thykier 603aa9fdca
Drop unused local variables
6 years ago
Ivo De Decker f1cd87dc9c Check build-depends-indep
6 years ago
Ivo De Decker 1c115eee11 For build-depends-indep, only add best result
6 years ago
Ivo De Decker 3f575a1cd0 For b-d-indep track best result and archs per result
6 years ago
Ivo De Decker fa44a3f968 Implement get_check_archs for build-depends-indep
6 years ago
Ivo De Decker 65128a13b7 Read all_buildarch config option
6 years ago
Ivo De Decker a28a7665f3 Split off adding build-dep info into separate function
6 years ago
Ivo De Decker 07643f4c30 Define BuildDepResult object (based on IntEnum)
6 years ago
Ivo De Decker c9148d475a Get dependency type from variable
6 years ago
Ivo De Decker ccbaedab1d Split of _get_check_archs into separate function
6 years ago
Ivo De Decker a073e35940 BuildDependsPolicy: split off checking in separate function
6 years ago
Ivo De Decker 0709f8d96c Move block handling to BlockPolicy
6 years ago
Ivo De Decker 49d9a38d25 Skip unimplemented policies in excuses
6 years ago
Ivo De Decker 7e05c0e5ac Apply policy to srcarch excuses
6 years ago
Ivo De Decker d0b5cc2ce1 Rename apply_policy to apply_src_policy
6 years ago
Ivo De Decker 0d80bad65c Move handling of policies to PolicyEngine
6 years ago
Niels Thykier b16ae8046a
Add some '# pragma: no cover' for error cases, abstract methods, etc.
6 years ago
Niels Thykier 6174d2c3f9
Create a MigrationItemFactory and migrate most code to use it
6 years ago
Ivo De Decker 18d951be25 Handle dependencies between excuses in a generic way
6 years ago
Niels Thykier dd3dcf818f
Mark a regex pattern as a raw string
6 years ago
Ivo De Decker 348274947e Add option fake_runtime to override runtime in britney.conf
6 years ago
Niels Thykier 65b67e763c
Replace the use of inst_tester with new suite functionality
6 years ago
Niels Thykier 0a669461ca
Separate inst_tester from universe
6 years ago
Niels Thykier 6c5300d873
Unfold the suite.binaries tuple into two members
6 years ago
Niels Thykier 99a35a2986
autopkgtest.py: Update previous commit to match recent changes
6 years ago
Iain Lane c09a229dc9
autopkgtest: Run gcc-n's testuite, if it has one
6 years ago
Paul Gevers 18633e275c
autopkgtest: figure out which packages from unstable are needed
6 years ago
Paul Gevers 20a64cadef
Process space separated triggers individually
6 years ago
Niels Thykier fc834624fc Avoid some unnecessary hash look ups
6 years ago
Niels Thykier 1d45b2a3b2 Move autopkgtest specific field to Autopkgtest policy
6 years ago
Paul Gevers 0868962ee3
autopkgtest: Ignore triggers without a forward slash
6 years ago
Niels Thykier f67fc00292 AgePolicy: Move self.options usage to constructor/initialization
6 years ago
Niels Thykier 8e9e099a67 BasePolicy: Make an easy accessor for state_dir
6 years ago
Niels Thykier b0e193d955 Add missing @property - otherwise "verdict.is_blocked" is always True
6 years ago
Niels Thykier 36608194f8 test_policy: Add additional tests of AgePolicy
6 years ago
Niels Thykier e88f4d2e5e AgePolicy: Explicitly ignore comment lines in data files
6 years ago
Paul Gevers c219c42804 Add text to excuses in case autopkgtest is delayed
7 years ago
Paul Gevers 08a6cdde6f Don't have britney create migration-references itself
7 years ago
Niels Thykier 97d707e5c0 britney: Avoid some references to britney.{sources,binaries}
7 years ago
Niels Thykier 6c6b8fcb96 policies: Make policies suite name agnostic
7 years ago
Niels Thykier 54e5eb0e74 policies: Use suite class instead of suite name
7 years ago
Niels Thykier 37f02d611c Revert "Rename autopkgtest related hints"
7 years ago
Niels Thykier a07fa9f907 Rename autopkgtest related hints
7 years ago
Paul Gevers bfa5c9f191
Don't show excuses for packages that are PASS, NEUTRAL, RUNNING-ALWAYSFAIL or ALWAYSFAIL
7 years ago
Paul Gevers 0da1e4d589
autopkgtest: Drop broken reference update
7 years ago
Paul Gevers 624b185ba6
autopkgtest: enable NEUTRAL state for the case where all tests were skipped (or none available)
7 years ago
Paul Gevers 8bbe112735
Rephrase 'Always failed' as it is confusing in Debian
7 years ago
Niels Thykier e51a3b91ff autopkgtest.py: Avoid unnecessary indirection
7 years ago
Niels Thykier d3638cc08f Make adt_baseline config optional
7 years ago
Paul Gevers a4d0c4a854
Don't start the tests before arch:all has been build (if applicable)
7 years ago
Paul Gevers 022d6ed564
Packages need passing tests on all tested architectures to receive the bounty
7 years ago
Paul Gevers 7e8ec20bc1
Put autopkgtest state files in their own namespace
7 years ago
Paul Gevers 575993d77b
Drop some linux-meta hardcoded stuff; not in Debian and bug 779559 is fixed long time
7 years ago
Niels Thykier d7045af2b7 Leverage defaultdict to simplify some code
7 years ago
Niels Thykier 641df09570 Fix typo in a comment
7 years ago
Niels Thykier 686721e91f Rewrite some set constructs
7 years ago
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 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 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 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
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 2bce9e334e
Initial commit for autokpgtest
7 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
Niels Thykier 9ca5f7e24e Add more verdicts to provide more detailed excuses
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
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 d3e343a3bd AgePolicy: Fix bug in creating the age file
8 years ago
Niels Thykier fc2269ba02 rc-bugs policy: Ignored bugs are not unique to testing
8 years ago
Niels Thykier 20c2b87833 Sprinkle some "no cover" pragmas over the code base
8 years ago
Niels Thykier 50d4d45c59 Collect suite metadata in a new member hash
8 years ago
Niels Thykier 9bc94db01c Refactor all modules into a britney2 subdir
8 years ago