ftbfs (1 failed test) with current cairo version

Bug #187823 reported by Matthias Klose
6
Affects Status Importance Assigned to Milestone
libcairo-perl (Ubuntu)
Fix Released
High
Didier Roche-Tolomelli
Hardy
Invalid
High
Unassigned
Maverick
Fix Released
High
Didier Roche-Tolomelli

Bug Description

Binary package hint: libcairo-perl

t/CairoSurface....unknown surface type 4096 encountered at t/CairoSurface.t line 187.

# Failed test 'The object isa Cairo::ImageSurface'
# in t/CairoSurface.t at line 193.
# The object isn't a 'Cairo::ImageSurface' it's a 'Cairo::Surface'
# Looks like you failed 1 test of 64.
dubious
        Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 40
        Failed 1/64 tests, 98.44% okay
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/CairoSurface.t 1 256 64 1 1.56% 40
Failed 1/6 test scripts, 83.33% okay. 1/191 subtests failed, 99.48% okay.
make[1]: *** [test_dynamic] Error 1
make[1]: Leaving directory `/build/user/libcairo-perl-1.043'
make: *** [install] Error 2
dpkg-buildpackage: failure: /usr/bin/fakeroot debian/rules binary gave error exit status 2
******************************************************************************
Build finished at 20080131-0300

Matthias Klose (doko)
Changed in libcairo-perl:
importance: Undecided → High
milestone: none → hardy-alpha-5
Steve Langasek (vorlon)
Changed in libcairo-perl:
status: New → Confirmed
Steve Langasek (vorlon)
Changed in libcairo-perl:
milestone: hardy-alpha-5 → none
Revision history for this message
Adam Conrad (adconrad) wrote :

This is still failing in the latest rebuild test:

https://lists.ubuntu.com/archives/ubuntu-autotest/2008-February/018558.html

Revision history for this message
Matthias Klose (doko) wrote :

this is again failing in maverick, see
https://launchpad.net/ubuntu/+source/libcairo-perl/1.070-1

Changed in libcairo-perl (Ubuntu Maverick):
milestone: none → ubuntu-10.10
Revision history for this message
Matthias Klose (doko) wrote :

desktop team, the package currently fails to build. please have a look if the test failures are real, or the testsuite needs updates and should be ignored.

Changed in libcairo-perl (Ubuntu Maverick):
assignee: nobody → Canonical Desktop Team (canonical-desktop-team)
assignee: Canonical Desktop Team (canonical-desktop-team) → nobody
Revision history for this message
Matthias Klose (doko) wrote :

the failing test cases are (all architectures):

make[1]: Entering directory `/build/buildd/libcairo-perl-1.070'
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/Cairo.t ......... ok
t/CairoFont.t ..... ok
t/CairoFt.t ....... ok
t/CairoMatrix.t ... ok
t/CairoPath.t ..... ok
t/CairoPattern.t .. ok

# Failed test at t/CairoSurface.t line 87.
# got: 'color'
# expected: 'color-alpha'

# Failed test at t/CairoSurface.t line 98.
# Structures begin differing at:
# $got->[0] = '0'
# $expected->[0] = '23'

# Failed test at t/CairoSurface.t line 105.
# got: 'no-memory'
# expected: 'success'

# Failed test at t/CairoSurface.t line 128.
# At [0]: 0.0000000 and 72.0000000 are not equal to within 0.000001
unknown surface type 16 encountered at t/CairoSurface.t line 212.
# Looks like you failed 4 tests of 74.
t/CairoSurface.t ..
Dubious, test returned 4 (wstat 1024, 0x400)
Failed 4/74 subtests

Test Summary Report
-------------------
t/CairoSurface.t (Wstat: 1024 Tests: 74 Failed: 4)
  Failed tests: 15, 17, 19, 22
  Non-zero exit status: 4
Files=7, Tests=235, 1 wallclock secs ( 0.12 usr 0.01 sys + 0.40 cusr 0.12 csys = 0.65 CPU)
Result: FAIL
Failed 1/7 test programs. 4/235 subtests failed.
make[1]: *** [test_dynamic] Error 4
make[1]: Leaving directory `/build/buildd/libcairo-perl-1.070'
dh_auto_test: make -j1 test returned exit code 2
make: *** [build] Error 29

Changed in libcairo-perl (Ubuntu Maverick):
assignee: nobody → Canonical Desktop Team (canonical-desktop-team)
Changed in libcairo-perl (Ubuntu Maverick):
assignee: Canonical Desktop Team (canonical-desktop-team) → Didier Roche (didrocks)
Revision history for this message
Didier Roche-Tolomelli (didrocks) wrote :

after discussion with slomo, we skip the testsuite.

Changed in libcairo-perl (Ubuntu Maverick):
status: Confirmed → Fix Committed
Revision history for this message
Emmet Hikory (persia) wrote :

Skipping the entire testsuite seems like an awfully big hammer, when we can use the SKIP mechanism to only skip the tests that are failing. While this means releasing either poorly tested or potentially buggy libcairo-perl, we can at least be sure that most of it works, and ensure we maintain the same level of tests for any potential updates or security fixes post-release.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libcairo-perl - 1.070-1ubuntu1

---------------
libcairo-perl (1.070-1ubuntu1) maverick; urgency=low

  * Temporarily deactivate failing tests in the testsuite: newer
    cairo causing test failures that will not be addressed by
    Maverick release (according to slomo the test suite needs to
    be updated). Thanks to Didier Roche for investigating the issue.
    (LP: #187823)
 -- Emmet Hikory <email address hidden> Thu, 23 Sep 2010 18:37:35 +0900

Changed in libcairo-perl (Ubuntu Maverick):
status: Fix Committed → Fix Released
Revision history for this message
shankao (shankao) wrote :

Thank you for reporting this bug to Ubuntu. Hardy reached EOL on May 9, 2013.
See this document for currently supported Ubuntu releases: https://wiki.ubuntu.com/Releases

Changed in libcairo-perl (Ubuntu Hardy):
status: Confirmed → Invalid
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.