[debian-mysql] Bug#809022: Bug#809022: Bug#809022: autopkgtest patch for MariaDB

Paul Gevers elbrus at debian.org
Sat Sep 10 07:50:41 UTC 2016


Hi,

On 09-09-16 23:15, Kristian Nielsen wrote:
> Otto Kekäläinen <otto at debian.org> writes:
> 
>> 2016-09-09 23:04 GMT+03:00 Kristian Nielsen <knielsen at knielsen-hq.org>:
>>> ci.debian.net, maybe the docs have something, I can try looking. How is this
>>> configured, is everything in the debian packaging, read by autopkgtest?
>>
>> I am not an expert on autopkgtest. This was implemented by Paul Gevers
>> in commit
>> https://anonscm.debian.org/cgit/pkg-mysql/mariadb-10.0.git/commit/?id=b9d1c10300db04f273a161cbea1838211f4dea9f
> 
> Ok. So autopkgtest looks in the .deb packaging, and in this case runs
> debian/tests/upstream in a suitable virtualisation container, IIUC.

Indeed, and you can even run it on your own system (which I also since
recently do) by installing autopkgtest.

adt-run --user debci --output-dir /tmp/output-dir ./ --shell-fail
--apt-upgrade --- lxc --sudo adt-sid-amd64

runs the test-suite in the current (./) package directory and gives you
a shell on failure. (I haven't had the time to start it for the MariaDB
suite yet, very maybe today).

And you have FULL freedom in your test, you can do whatever you want.

> And from the log, it uses lxc --sudo. So there might be some UID magic going
> on.
> 
> Note that the corresponding mysql-5.6 tests (on which Paul based his
> implementation, I think) also started to fail the same way, so perhaps
> something changed on the test infrastructure:

I rather expect in the tool-chain. Has anybody seen the recent change in
Perl? Your remarks about including ./ in the Perl path sounds exactly
like the change that was recently made:

https://lists.debian.org/debian-devel-announce/2016/08/msg00013.html

Paul

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-mysql-maint/attachments/20160910/644d70ae/attachment.sig>


More information about the pkg-mysql-maint mailing list