• Help needed for test suite of asql

    From Andreas Tille@21:1/5 to All on Tue Dec 31 09:40:02 2024
    Hi,

    I've picked asql from the candidates for the Bug of the Day. After
    switching d/rules to short dh the build time test suite was executed but unfortunately it failed[1] with:

    Test Summary Report
    -------------------
    t/modules.t (Wstat: 512 (exited 2) Tests: 18 Failed: 2)
    Failed tests: 1, 10
    Non-zero exit status: 2
    t/perl-syntax.t (Wstat: 256 (exited 1) Tests: 6 Failed: 1)
    Failed test: 5
    Non-zero exit status: 1
    Files=4, Tests=31, 1 wallclock secs ( 0.03 usr 0.01 sys + 0.60 cusr 0.13 csys = 0.77 CPU)
    Result: FAIL


    It seems this is a result of building offline since if I build on my
    local box the test passes with:

    make -j8 test
    make[1]: Verzeichnis „/home/andreas/debian-maintain/salsa/salvage-team/build-area/asql-1.7“ wird betreten
    prove --shuffle t/
    t/perl-syntax.t .. ok
    t/no-tabs.t ...... ok
    t/modules.t ...... ok
    t/pod.t .......... skipped: Test::Pod 1.00 required for testing POD
    All tests successful.
    Files=4, Tests=31, 1 wallclock secs ( 0.02 usr 0.01 sys + 0.31 cusr 0.05 csys = 0.39 CPU)
    Result: PASS


    Any help to let the test pass even with no internet connection.

    Kind regards
    Andreas.

    [1] https://salsa.debian.org/salvage-team/asql/-/jobs/6842416

    --
    https://fam-tille.de

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Roland Rosenfeld@21:1/5 to Andreas Tille on Tue Dec 31 13:10:01 2024
    Hi Andreas!

    On Tue, 31 Dec 2024, Andreas Tille wrote:

    I've picked asql from the candidates for the Bug of the Day. After
    switching d/rules to short dh the build time test suite was executed but unfortunately it failed[1] with:

    Test Summary Report
    -------------------
    t/modules.t (Wstat: 512 (exited 2) Tests: 18 Failed: 2)
    Failed tests: 1, 10
    Non-zero exit status: 2
    t/perl-syntax.t (Wstat: 256 (exited 1) Tests: 6 Failed: 1)
    Failed test: 5
    Non-zero exit status: 1
    Files=4, Tests=31, 1 wallclock secs ( 0.03 usr 0.01 sys + 0.60 cusr 0.13 csys = 0.77 CPU)
    Result: FAIL

    In my cowbuilder it fails to build because DBI is not available.
    Adding libdbi-perl to build-dependencies solves the issue.

    Additionally I added some other minor changes to make testing more
    useful.

    Since I cannot push to salvage-team, I created a merge request: https://salsa.debian.org/salvage-team/asql/-/merge_requests/1

    Greetings
    Roland

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Andreas Tille@21:1/5 to All on Tue Dec 31 16:30:01 2024
    Hi Roland,

    Am Tue, Dec 31, 2024 at 01:01:32PM +0100 schrieb Roland Rosenfeld:
    In my cowbuilder it fails to build because DBI is not available.
    Adding libdbi-perl to build-dependencies solves the issue.

    Additionally I added some other minor changes to make testing more
    useful.

    Since I cannot push to salvage-team, I created a merge request: https://salsa.debian.org/salvage-team/asql/-/merge_requests/1

    Thanks a lot, this was extremely helpful

    Andreas.

    --
    https://fam-tille.de

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)