Skip to content

FBTFS: test failure in t/connection.t #28

@gregoa

Description

@gregoa

We have the following bug reported to the Debian package of
Mojo-SQLite, c.f. https://bugs.debian.org/1014724

It doesn't seem to be a bug in the packaging, so you may want to take
a look. Thanks!

------8<-----------8<-----------8<-----------8<-----------8<-----

Source: libmojo-sqlite-perl
Version: 3.001-2
Severity: serious
Tags: upstream ftbfs
Justification: fails to build from source

As seen on ci.debian.net, libmojo-sqlite-perl recently fails the
t/connection.t test:

Use of uninitialized value in string eq at /build/libmojo-sqlite-perl-3.009/blib/lib/Mojo/SQLite.pm line 70.

    #   Failed test 'right data source'
    #   at t/connection.t line 60.
    #          got: 'dbi:SQLite:'
    #     expected: 'dbi:SQLite:dbname=/tmp/sqlite.db?#'
    # Looks like you failed 1 test of 2.

t/connection.t ......... 
    ok 1 - right data source
    ok 2 - right options
    1..2
ok 1 - Defaults
    ok 1 - right data source
    ok 2 - right options
    1..2
ok 2 - Minimal connection string with file
    ok 1 - right data source
    ok 2 - right options
    1..2
ok 3 - Minimal connection string with in-memory database and option
    not ok 1 - right data source
    ok 2 - right options
    1..2
not ok 4 - Connection string with absolute filename and options
    ok 1 - right data source
    ok 2 - right options
    1..2
ok 5 - Connection string with lots of zeros
    ok 1 - right data source
    ok 2 - right options
    1..2
ok 6 - Parse filename
    ok 1 - right error
    1..1
ok 7 - Invalid connection string
    ok 1 - right data source
    ok 2 - right options
    1..2
ok 8 - Legacy sqlite_unicode enabled
    ok 1 - right data source
    ok 2 - right options
    1..2
ok 9 - Legacy sqlite_unicode disabled
1..9
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/9 subtests 


Cf. https://ci.debian.net/data/autopkgtest/testing/amd64/libm/libmojo-sqlite-perl/23502612/log.gz


Maybe I'm wrong, but there's a coincidence with the recent upload of
URI 5.11 and some other test failures in other packages. And the
tests pass in testing (with URI 5.10).


Cheers,
gregor

------8<-----------8<-----------8<-----------8<-----------8<-----

Thanks for considering,
gregor herrmann,
Debian Perl Group

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions