[Bug 1453498] Re: Trim options in autopkgtest configuration file

Martin Pitt martin.pitt at ubuntu.com
Mon May 11 07:50:34 UTC 2015


Ah, thanks, can reproduce now. That parsing is done by Python's argparse
module, I'm not sure that one can actually influence its behaviour wrt.
trimming. I'll have a look at the documentation.

** Changed in: autopkgtest (Ubuntu)
   Importance: Undecided => Low

** Changed in: autopkgtest (Ubuntu)
       Status: Confirmed => Triaged

-- 
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/1453498

Title:
  Trim options in autopkgtest configuration file

Status in autopkgtest package in Ubuntu:
  Triaged

Bug description:
  If there are leading or trailing spaces in an argument in an
  autopkgtest configuration file the command will fail with:

  ⟫ adt-run asic0x @dkms/dkms.cfg                                                                                                                 
  usage: adt-run [options] action [action ...] --- virt-server [options]
  adt-run: error: argument -d/--debug: ignored explicit argument ' '

  In this case it was a trailing space.

  Arguments should be trimmed.

  ProblemType: Bug
  DistroRelease: Ubuntu 15.10
  Package: autopkgtest 3.14
  ProcVersionSignature: Ubuntu 3.19.0-16.16-generic 3.19.3
  Uname: Linux 3.19.0-16-generic x86_64
  ApportVersion: 2.17.2-0ubuntu1
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Sun May 10 10:19:04 2015
  InstallationDate: Installed on 2013-09-03 (613 days ago)
  InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Alpha amd64 (20130902)
  PackageArchitecture: all
  SourcePackage: autopkgtest
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autopkgtest/+bug/1453498/+subscriptions



More information about the foundations-bugs mailing list