Tests fail and do not fail the package build

Bug #1333672 reported by Robie Basak
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pycurl (Debian)
Fix Released
Unknown
pycurl (Ubuntu)
Fix Released
High
Barry Warsaw

Bug Description

pycurl is in main, so is expected to meet https://wiki.ubuntu.com/UbuntuMainInclusionRequirements, including "If the package ships a test suite, and there is no obvious reason why it cannot work during build (e. g. it needs root privileges or network access), it should be run during package build, and a failing test suite should fail the build."

pycurl currently (7.19.3-0ubuntu3) does have a test suite that does run during the build, but the test suite fails and this does not fail the build.

pycurl now depends on python-bottle, which is in universe, but it could still have a dep8 test that runs this test suite. However, even with python-bottle installed, not all tests pass.

That's as far as I got during a pycurl merge, so I'll leave this bug here for another time.

Revision history for this message
Barry Warsaw (barry) wrote :

I have 7.19.5-2ubuntu1 ready to go into Utopic as soon as the FFE is approved (LP: #1376736). Unfortunately, due to an upstream packaging bug, the test suite was not included in the tarball, and I elected not to re-add it in the Debian version (7.19.5-2). My plan is to re-enable it once upstream releases a new version, and exactly as you state, add a DEP-8 test that runs the test suite.

Barry Warsaw (barry)
Changed in pycurl (Ubuntu):
status: New → Triaged
importance: Undecided → Medium
assignee: nobody → Barry Warsaw (barry)
Barry Warsaw (barry)
Changed in pycurl (Ubuntu):
importance: Medium → High
Changed in pycurl (Debian):
status: Unknown → New
Changed in pycurl (Debian):
status: New → Fix Released
Revision history for this message
Scott Talbert (swt-techie) wrote :

This should now be fixed. The version that's in Groovy will now fail the build if any of the tests (which are now run!) fail.

Changed in pycurl (Ubuntu):
status: Triaged → Fix Released
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.