[Bug 1346388] Re: bad error message when forgetting --click
Launchpad Bug Tracker
1346388 at bugs.launchpad.net
Wed Jul 23 09:02:33 UTC 2014
This bug was fixed in the package autopkgtest - 3.3
---------------
autopkgtest (3.3) unstable; urgency=medium
Improvements:
* Define "Classes:" (Debian) / "classes" (click manifest) test control field
in the specifications. For packages whose tests should run on particular/a
set of different hardware/platforms, this can specify a list of abstract
class names such as "desktop" or "graphics-driver". Consumers of
autopkgtest can then map these class names to particular
machines/platforms/policies.
* Fall back to searching for --setup-commands files in
/usr/share/autopkgtest/setup-commands/ if they are specified without path,
to reduce typing.
* Fall back to searching adt-virt-ssh's --setup-script in
/usr/share/autopkgtest/ssh-setup/ if they don't exist in the current
directory, to reduce typing.
Bug fixes:
* When running a test as user on a root testbed, run source extraction under
set -e, to fail early at the proper error. (LP: #1346388)
* Add test case for non-existing --apt-source package name.
* Add "installed" autopkgtest to run adt-run against a simple source tree in
$ADTTMP, to avoid using Python modules from the autopkgtest source tree.
This spots grave bugs like in 3.2.1.
-- Martin Pitt <martin.pitt at ubuntu.com> Wed, 23 Jul 2014 09:16:08 +0200
** Changed in: autopkgtest (Ubuntu)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to autopkgtest in Ubuntu.
https://bugs.launchpad.net/bugs/1346388
Title:
bad error message when forgetting --click
Status in “autopkgtest” package in Ubuntu:
Fix Released
Bug description:
$ adt-run /tmp/ap-setup-update/ com.ubuntu.notes --- ssh -s /usr/share/autopkgtest/ssh-setup/adb
[...]
adt-run [18:00:19]: @@@@@@@@@@@@@@@@@@@@ apt-source com.ubuntu.notes
[...]
Starting pkgProblemResolver with broken count: 0
Starting 2 pkgProblemResolver with broken count: 0
Done
Reading package lists...
Building dependency tree...
Reading state information...
E: You must put some 'source' URIs in your sources.list
sh: 1: cd: can't cd to [a-z0-9]*/.
sed: can't read debian/changelog: No such file or directory
grep: debian/tests/control: No such file or directory
blame: com.ubuntu.notes
badpkg: got 3 lines of results from extract where 5 expected
adt-run [18:00:22]: ERROR: erroneous package: got 3 lines of results from extract where 5 expected
This should get a better error message. In this case the user meant
--click. adt-run cannot know that, but it could at least say directly
that "com.ubuntu.notes" does not exist as an apt source package.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autopkgtest/+bug/1346388/+subscriptions
More information about the foundations-bugs
mailing list