autopkgtest: does not test installed package

Bug #1316416 reported by Martin Pitt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntuone-credentials (Ubuntu)
Triaged
Medium
Unassigned

Bug Description

The current autopkgtest fails during package build:

-- Detecting CXX compiler ABI info - done
CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:108 (message):
  Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
Call Stack (most recent call first):
  /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:315 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:106 (find_package_handle_standard_args)
  CMakeLists.txt:23 (find_package)

See e. g. https://jenkins.qa.ubuntu.com/job/utopic-adt-ubuntuone-credentials/9/ARCH=i386,label=adt/console for the full log. But aside from this (which is probably just a missing build dependency, there's more problems:

 * The autopkgtest does not actually test anything, the test is empty. It should test that the *installed* ubuntu-purchase-service package works, testing the build tree does not help to spot missing files, missing or uninstallable dependencies, etc. At the moment it merely tests that the package is still buildable when dependencies change, which is certainly helpful but not the real purpose.

 * debian/tests/control could do with some cleanup and will need to be adjusted once there is an actual test. Right now, the only thing it really needs is "build-needed", everything else should go (i. e. empty "Depends:"). Please note that if you need to (partially or fully) build the package in the actual test (instead of through build-needed), you can avoid repeating the build dependencies by using @builddeps@.

Thanks!

(Pretty much the same as bug 1316415, for the record)

Martin Pitt (pitti)
tags: added: autopkgtest qa-daily-testing
Revision history for this message
Martin Pitt (pitti) wrote :

The "fails" part is actually correct: the package is FTBFS in utopic, I filed that separately as bug 1318947. Retitling for the broken autopkgtest.

summary: - autopkgtest: fails, does not test installed package
+ autopkgtest: does not test installed package
dobey (dobey)
Changed in ubuntuone-credentials (Ubuntu):
status: New → Triaged
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.