Control: tag -1 pending

Hello Ben,

Ben Finney [2016-04-23  9:16 +1000]:
> AttributeError: 'NoneType' object has no attribute 'flush'

Thanks for the report. You actually hit a corner case here:

> adt-run --changes 
> /home/bignose/Projects/debian/python-lockfile/build-area/python-lockfile/python-lockfile_0.12.2-2_amd64.changes
>  --no-built-binaries --source 
> /home/bignose/Projects/debian/python-lockfile/build-area/python-lockfile/python-lockfile_0.12.2-2.dsc
>  --- schroot unstable-amd64-sbuild

Please note that this will run the python-lockfile tests *twice* --
first from the .dsc included in the _amd64.changes, and then *again*
from the explicitly specified .dsc argument. The log also shows that.

You probably want to drop the .dsc argument and --no-built-binaries
(as running a binary .changes already implies that -- it just takes
the binaries from that .changes too). See
/usr/share/doc/autopkgtest/README.running-tests.html for the details.

Running multiple tests in one command line is supported in principle,
but was broken some time ago with the above crash. This was trivially
reproducible in a test case which also pointed out another bug when
using multiple --built-tree arguments.

http://anonscm.debian.org/cgit/autopkgtest/autopkgtest.git/commit/?id=41bc04
fixes both issues with a test.

Thanks,

Martin

P.S. I know this is confusing, but the CLI specification was done way
before my time. See https://launchpad.net/bugs/1453509 for simplifying
the CLI in the future.

-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)

Attachment: signature.asc
Description: PGP signature

Reply via email to