Bug#627272: libdancer-plugin-rest-perl: failing tests
Salvatore Bonaccorso
carnil at debian.org
Thu May 19 06:35:45 UTC 2011
Source: libdancer-plugin-rest-perl
Version: 0.05-2
Severity: serious
Justification: FTBFS
Hi
libdancer-plugin-rest-perl FTBFS due to test failures:
> t/01_base.t ...........................
> 1..1
> ok 1 - use Dancer::Plugin::REST;
> ok
> t/02_prepare_serializer_for_format.t ..
> 1..8
> ok 1 - headers have content_type set to text/html
> ok 2 - $data has been encoded
> ok 3 - headers have content_type set to application/json
> ok 4 - $data has been encoded
> ok 5 - headers have content_type set to text/x-yaml
> ok 6 - $data has been encoded
> ok 7 - headers have content_type set to text/html
> ok 8 - $data has been encoded
> ok
>
> # Failed test 'create user works'
> # at t/03_resource.t line 65.
> # Structures begin differing at:
> # $got->{user}{name} = Does not exist
> # $expected->{user}{name} = 'Alexis'
>
> # Failed test 'user 1 is defined'
> # at t/03_resource.t line 69.
> # Structures begin differing at:
> # $got->{user}{name} = Does not exist
> # $expected->{user}{name} = 'Alexis'
>
> # Failed test 'user 1 is updated'
> # at t/03_resource.t line 78.
> # Structures begin differing at:
> # $got->{user}{name} = Does not exist
> # $expected->{user}{name} = 'Alexis Sukrieh'
>
> # Failed test 'user 1 is deleted'
> # at t/03_resource.t line 82.
> # Structures begin differing at:
> # $got->{user}{name} = Does not exist
> # $expected->{user}{name} = 'Alexis Sukrieh'
>
> # Failed test 'id is correctly increased'
> # at t/03_resource.t line 94.
> # Structures begin differing at:
> # $got->{user}{name} = Does not exist
> # $expected->{user}{name} = 'Franck Cuny'
> # Looks like you failed 5 tests of 8.
> t/03_resource.t .......................
> 1..8
> ok 1 - resource must have 4 hooks
> ok 2 - user 1 is not defined
> not ok 3 - create user works
> not ok 4 - user 1 is defined
> not ok 5 - user 1 is updated
> not ok 6 - user 1 is deleted
> ok 7 - user 1 is not defined
> not ok 8 - id is correctly increased
> Dubious, test returned 5 (wstat 1280, 0x500)
> Failed 5/8 subtests
> t/04_plugin_settings.t ................
> 1..5
> ok 1 - response looks good for 'GET /'
> ok 2 - response looks good for 'GET /foo.json'
> ok 3 - response looks good for 'GET /foo.yaml'
> ok 4 - response looks good for 'GET /foo.foobar'
> ok 5 - response looks good for 'GET /'
> ok
>
> Test Summary Report
> -------------------
> t/03_resource.t (Wstat: 1280 Tests: 8 Failed: 5)
> Failed tests: 3-6, 8
> Non-zero exit status: 5
> Files=4, Tests=22, 1 wallclock secs ( 0.01 usr 0.01 sys + 0.59 cusr 0.04 csys = 0.65 CPU)
> Result: FAIL
> Failed 1/4 test programs. 5/22 subtests failed.
> make[1]: *** [test_dynamic] Error 255
> make[1]: Leaving directory `/build/salvi-libdancer-plugin-rest-perl_0.05-2-amd64-QFESrd/libdancer-plugin-rest-perl-0.05'
> make: *** [debian/stamp-makefile-check] Error 2
> dpkg-buildpackage: error: debian/rules build gave error exit status 2
Bests
Salvatore
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-amd64 (SMP w/8 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libdancer-plugin-rest-perl_0.05-2_amd64.build.gz
Type: application/x-gzip
Size: 6854 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20110519/c604ae4c/attachment-0001.bin>
More information about the pkg-perl-maintainers
mailing list