1058 Commits

Author SHA1 Message Date
Paul Gevers
e95315e57c
codecov: try alternative approach to get codecov data out of the docker container 2018-03-21 21:17:05 +01:00
Paul Gevers
5dfde99fe6
sources is a proper class with a version method
Thank nthykier
2018-03-21 20:20:11 +01:00
Paul Gevers
c7107d1fd4
autopkgtest: rewrite processing of debci2britney data 2018-03-21 12:19:28 +01:00
Paul Gevers
12e2cb7596
autopkgtest: don't log a very much occuring ignored situation 2018-03-19 20:24:22 +01:00
Paul Gevers
67becb2aec
autopkgtest: in the final API, run_id is a number, convert it to string internally 2018-03-19 20:23:26 +01:00
Paul Gevers
d0fd1872d4
autopkgtest: give blacklisted packages a version of 'blacklisted' 2018-03-19 20:22:35 +01:00
Paul Gevers
7635a22d55
tests: disable different live data set on Travis 2018-03-19 19:41:54 +01:00
Paul Gevers
495200e68f
travis: show ci_env for debugging 2018-03-19 19:41:09 +01:00
Paul Gevers
df17112bbe
autopkgtest: ignore results without trigger 2018-03-19 19:39:33 +01:00
Paul Gevers
0e6c43202d
Merge branch 'master' into autopkgtest 2018-03-15 16:51:17 +01:00
Paul Gevers
2e627f9be5
travis: Disable one live data test to prevent time outs 2018-03-15 16:49:25 +01:00
Paul Gevers
49cd47681b
travis: Enable submission to codecov 2018-03-15 16:46:52 +01:00
Paul Gevers
9988a6c7aa
Merge branch 'master' into autopkgtest 2018-03-15 11:40:24 +01:00
Paul Gevers
adbe6d5f67
autopkgtest: redefine regression, if possible, only take test results in testing into account 2018-03-15 11:38:47 +01:00
Paul Gevers
054830d03f
autopkgtest: Drop retry_url from the excuses as this works different in Debian 2018-03-15 11:38:47 +01:00
Paul Gevers
bc73500002
tests: data has moved to salsa 2018-03-15 11:33:24 +01:00
Paul Gevers
dbf024bf7a
travis: Build Debian stable docker image and use it for testing 2018-03-15 11:33:24 +01:00
Paul Gevers
754defc49c
doc: minor tweaks to autopkgtest part in solutions-to... 2018-03-12 19:07:19 +01:00
Paul Gevers
fc5eacf7d1
autopkgtest: minor change
reorder adding trigger vs removing
making two stings in the code more readable
2018-03-05 21:29:58 +01:00
Paul Gevers
d6f713b8a1
tests: Update for recent changes 2018-03-05 21:09:59 +01:00
Paul Gevers
d59538a514
Enable correct result file url for Debian 2018-03-05 21:09:59 +01:00
Paul Gevers
93ca29c3aa
Load the debci API status file directly 2018-03-05 21:09:59 +01:00
Paul Gevers
03292d1df4
On ci.d.n the running test page is under status/pending 2018-03-05 21:09:59 +01:00
Paul Gevers
1e022af99e
Minor enhancement of log message as in Debian a package can be in unstable without being in testing. 2018-03-05 21:09:59 +01:00
Paul Gevers
9790dbf7c2
Don't reward bounty while tests are running or are always-failed 2018-03-05 21:09:58 +01:00
Paul Gevers
4d9c1cdbea
doc: initial version talking about autopkgtest policy 2018-03-05 21:09:58 +01:00
Paul Gevers
1e277b81fe
doc: Initial version for piuparts solutions 2018-03-05 21:09:58 +01:00
Paul Gevers
072aff2af1
doc: Wording/typos 2018-03-05 21:09:58 +01:00
Paul Gevers
44f983dc63
autopkgtest: Remove hack for gccgo-5/6 2018-03-05 21:09:50 +01:00
Paul Gevers
011e9a14b7
Merge branch 'master' into autopkgtest 2018-02-11 20:58:54 +01:00
Niels Thykier
bc0a5f6e2b britney: Split "ood" and "unsat_deps" loops
The "Out of date" binaries loop has gotten too complex to also handle
the "unsatisifiable dependency" check.  Concretely, we failed to
generate proper excuses for arch:all packages due to this.

Separate the two loops to restore the arch:all check.

Signed-off-by: Niels Thykier <niels@thykier.net>
2018-01-07 13:16:08 +00:00
Niels Thykier
24bd315c20 Update .gitignore
Signed-off-by: Niels Thykier <niels@thykier.net>
2018-01-07 12:19:46 +00:00
Paul Wise
94a3136f64 Drop duplicate 'has new bugs' excuses item
The other item includes bug numbers so this one is less useful.

Closes: https://bugs.debian.org/886509
Signed-off-by: Niels Thykier <niels@thykier.net>
2018-01-07 12:18:13 +00:00
Niels Thykier
20f709e157 doc: Wording/typos
Signed-off-by: Niels Thykier <niels@thykier.net>
2017-12-05 06:31:23 +00:00
Niels Thykier
c11d329d77 Add Makefile to generate documentation
Signed-off-by: Niels Thykier <niels@thykier.net>
2017-12-03 13:00:41 +00:00
Niels Thykier
0f41b1b6df Rewrite hints as restructured text
Signed-off-by: Niels Thykier <niels@thykier.net>
2017-12-03 12:56:48 +00:00
Niels Thykier
90e4bb6ba2 Rewrite documentation in sphinx
Signed-off-by: Niels Thykier <niels@thykier.net>
2017-12-03 12:06:37 +00:00
Paul Gevers
fd03083ea5
Merge branch 'master' into autopkgtest 2017-11-28 20:19:48 +01:00
Niels Thykier
b86461f76e .travis-ci: Drop (now) unnecessary dependency
Signed-off-by: Niels Thykier <niels@thykier.net>
2017-11-28 18:54:54 +00:00
Niels Thykier
b82f4fc632 autopkgtests policy: only load amqplib if needed
Signed-off-by: Niels Thykier <niels@thykier.net>
2017-11-28 18:54:11 +00:00
Niels Thykier
b5319e33fa tests: Explicitly define encoding for excuses
Signed-off-by: Niels Thykier <niels@thykier.net>
2017-11-28 18:53:49 +00:00
Niels Thykier
5c3229467a write_heidi: Include cruft arch:all packages in the output
Signed-off-by: Niels Thykier <niels@thykier.net>
2017-11-19 21:47:38 +00:00
Paul Gevers
0b58a313cb
Treat arch:all nearly as regular arch when determining out-of-dateness
Closes #859566
2017-11-17 18:21:15 +01:00
Niels Thykier
7217c22b42 get_dependency_solvers: The "foo:any" modifier can also appear in B-D relations
Signed-off-by: Niels Thykier <niels@thykier.net>
2017-11-12 11:46:17 +00:00
Niels Thykier
2242821c01 BuildDependsPolicy: Add missing build_depends=True to get_dependency_solvers
Signed-off-by: Niels Thykier <niels@thykier.net>
2017-11-12 11:36:35 +00:00
Niels Thykier
c195268019 piuparts: Properly discard the URL for testing
The PiupartsPolicy does not use the report URL for testing, so we do
not need to store it in memory.  Unfortunately, the logic was broken
and the discard did not happen.

Signed-off-by: Niels Thykier <niels@thykier.net>
2017-11-12 08:41:39 +00:00
Niels Thykier
bda39f8ca0 Support :native in build-dependency relations
Signed-off-by: Niels Thykier <niels@thykier.net>
2017-11-12 07:50:49 +00:00
Niels Thykier
89765bc374 BuildDependsPolicy: Keep block_txt and block in sync
If a package had:

  Build-Depends: foo [i386], uninstallable-pkg

Then the excuses for amd64 would point to "foo [i386]" rather than
"uninstallable-pkg".

Signed-off-by: Niels Thykier <niels@thykier.net>
2017-11-11 22:07:49 +00:00
Niels Thykier
ee27d7a67c Add BuildDependsPolicy to check Build-Depends(-Arch) availability
Add a new "BuildDependsPolicy" that will check the satisfiability of
the build-dependencies listed in the Build-Depends and
Build-Depends-Arch fields.  This enables gating of packages based on
missing / broken build-dependencies.

There are some limitations:

 * Build-Depends-Indep is ignored for now.  Missing or broken packages
   listed in Build-Depends-Indep will be continue to be silently
   ignored.

 * Being a policy check, it does not enforce "self-containedness" as
   a package can still migrate before a build-dependency.  However,
   this can only happen if the build-dependency is ready to migrate
   itself.  If the build-dependency is not ready (e.g. new RC bugs),
   then packages build-depending on it cannot migrate either (unless
   the version in testing satisfies there requirements).

Signed-off-by: Niels Thykier <niels@thykier.net>
2017-11-11 15:49:48 +00:00
Niels Thykier
c537f0554f Move PolicyVerdict to britney2.policies 2017-11-02 19:31:11 +00:00