• Bug#1102965: pkcs11-provider: FTBFS in testing: tests failures (12/12)

    From Lucas Nussbaum@21:1/5 to All on Sun Apr 13 14:50:04 2025
    [continued from previous message]

    command: TEST_PATH=/build/reproducible-path/pkcs11-provider-1.0/tests MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=217 TESTBLDDIR=/build/reproducible-path/pkcs11-provider-1.0/obj-x86_64-linux-gnu/
    tests ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_TEST_ITERATION=1 /build/reproducible-path/pkcs11-provider-1.0/tests/test-wrapper tls-kryoptic.t
    ==============================================================================

    =================================== 77/92 ====================================
    test: pkcs11-provider:kryoptic.nss / tls
    start time: 10:06:51
    duration: 0.01s
    result: exit status 77
    command: TEST_PATH=/build/reproducible-path/pkcs11-provider-1.0/tests MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=130 TESTBLDDIR=/build/reproducible-path/pkcs11-provider-1.0/obj-x86_64-linux-gnu/
    tests ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_TEST_ITERATION=1 /build/reproducible-path/pkcs11-provider-1.0/tests/test-wrapper tls-kryoptic.nss.t
    ==============================================================================

    =================================== 78/92 ====================================
    test: pkcs11-provider:softokn / tlsfuzzer
    start time: 10:06:51
    duration: 0.01s
    result: exit status 77
    command: TEST_PATH=/build/reproducible-path/pkcs11-provider-1.0/tests MALLOC_PERTURB_=152 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 TESTBLDDIR=/build/reproducible-path/pkcs11-provider-1.0/obj-x86_64-linux-gnu/
    tests ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_TEST_ITERATION=1 /build/reproducible-path/pkcs11-provider-1.0/tests/test-wrapper tlsfuzzer-softokn.
    t
    ==============================================================================

    =================================== 79/92 ====================================
    test: pkcs11-provider:softhsm / tlsfuzzer
    start time: 10:06:51
    duration: 0.01s
    result: exit status 77
    command: TEST_PATH=/build/reproducible-path/pkcs11-provider-1.0/tests MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=157 TESTBLDDIR=/build/reproducible-path/pkcs11-provider-1.0/obj-x86_64-linux-gnu/
    tests ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_TEST_ITERATION=1 /build/reproducible-path/pkcs11-provider-1.0/tests/test-wrapper tlsfuzzer-softhsm.
    t
    ----------------------------------- stdout -----------------------------------
    Executing /build/reproducible-path/pkcs11-provider-1.0/tests/ttlsfuzzer
    TLS fuzzer is not available -- skipping ==============================================================================

    =================================== 80/92 ====================================
    test: pkcs11-provider:kryoptic / tlsfuzzer
    start time: 10:06:51
    duration: 0.01s
    result: exit status 77
    command: TEST_PATH=/build/reproducible-path/pkcs11-provider-1.0/tests MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 TESTBLDDIR=/build/reproducible-path/pkcs11-provider-1.0/obj-x86_64-linux-gnu/tests ASAN_OPTIONS=
    halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=232 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_TEST_ITERATION=1 /build/reproducible-path/pkcs11-provider-1.0/tests/test-wrapper tlsfuzzer-
    kryoptic.t
    ==============================================================================

    =================================== 81/92 ====================================
    test: pkcs11-provider:kryoptic.nss / tlsfuzzer
    start time: 10:06:51
    duration: 0.01s
    result: exit status 77
    command: TEST_PATH=/build/reproducible-path/pkcs11-provider-1.0/tests MALLOC_PERTURB_=221 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 TESTBLDDIR=/build/reproducible-path/pkcs11-provider-1.0/obj-x86_64-linux-gnu/
    tests ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_TEST_ITERATION=1 /build/reproducible-path/pkcs11-provider-1.0/tests/test-wrapper tlsfuzzer-
    kryoptic.nss.t
    ==============================================================================

    =================================== 82/92 ====================================
    test: pkcs11-provider:softokn / uri
    start time: 10:06:51
    duration: 0.01s
    result: exit status 77
    command: TEST_PATH=/build/reproducible-path/pkcs11-provider-1.0/tests MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 TESTBLDDIR=/build/reproducible-path/pkcs11-provider-1.0/obj-x86_64-linux-gnu/tests ASAN_OPTIONS=
    halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=187 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_TEST_ITERATION=1 /build/reproducible-path/pkcs11-provider-1.0/tests/test-wrapper uri-softokn.t
    ==============================================================================

    =================================== 83/92 ====================================
    test: pkcs11-provider:softhsm / uri
    start time: 10:06:51
    duration: 1.42s
    result: exit status 0
    command: TEST_PATH=/build/reproducible-path/pkcs11-provider-1.0/tests MALLOC_PERTURB_=152 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 TESTBLDDIR=/build/reproducible-path/pkcs11-provider-1.0/obj-x86_64-linux-gnu/
    tests ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_TEST_ITERATION=1 /build/reproducible-path/pkcs11-provider-1.0/tests/test-wrapper uri-softhsm.t
    ----------------------------------- stdout -----------------------------------
    Executing /build/reproducible-path/pkcs11-provider-1.0/tests/turi

    ## Check that storeutl returns URIs
    openssl storeutl -text pkcs11:

    ## Check returned URIs work to find objects $uri=pkcs11:model=SoftHSM%20v2;manufacturer=SoftHSM%20project;serial=12ff3650cd2e8d99;token=SoftHSM%20Token;id=%83%13%F6%41%38%E6%1E%BE%A6%29%8C%3C%B6%F0%62%07;object=Fork-Test;type=private
    openssl storeutl -text "$uri" $uri=pkcs11:model=SoftHSM%20v2;manufacturer=SoftHSM%20project;serial=12ff3650cd2e8d99;token=SoftHSM%20Token;id=%00%10;object=testRsaPssCert;type=private
    openssl storeutl -text "$uri" $uri=pkcs11:model=SoftHSM%20v2;manufacturer=SoftHSM%20project;serial=12ff3650cd2e8d99;token=SoftHSM%20Token;id=%02%F4%E4%55%A4%69%BC%8F%04%4D%DE%D9%7A%2D%4C%BC;type=private
    openssl storeutl -text "$uri" $uri=pkcs11:model=SoftHSM%20v2;manufacturer=SoftHSM%20project;serial=12ff3650cd2e8d99;token=SoftHSM%20Token;id=%00%05;object=testCert2;type=private
    openssl storeutl -text "$uri" $uri=pkcs11:model=SoftHSM%20v2;manufacturer=SoftHSM%20project;serial=12ff3650cd2e8d99;token=SoftHSM%20Token;id=%00%03;object=ecPeerCert;type=private
    openssl storeutl -text "$uri" $uri=pkcs11:model=SoftHSM%20v2;manufacturer=SoftHSM%20project;serial=12ff3650cd2e8d99;token=SoftHSM%20Token;id=%58%79%B9%6F%D3%0C%C0%4A%7D%21%B9%96%BA%8F%69%36;object=Test-RSA-PSS-gen-5879b96f;type=private
    openssl storeutl -text "$uri" $uri=pkcs11:model=SoftHSM%20v2;manufacturer=SoftHSM%20project;serial=12ff3650cd2e8d99;token=SoftHSM%20Token;id=%39%8D%28%39%9B%6D%30%8B%DF%F8%3A%38%CC%F8%7B%5A;object=Test-RSA-Key-Usage-398d2839;type=private
    openssl storeutl -text "$uri" $uri=pkcs11:model=SoftHSM%20v2;manufacturer=SoftHSM%20project;serial=12ff3650cd2e8d99;token=SoftHSM%20Token;id=%00%00;object=caCert;type=private
    openssl storeutl -text "$uri" $uri=pkcs11:model=SoftHSM%20v2;manufacturer=SoftHSM%20project;serial=12ff3650cd2e8d99;token=SoftHSM%20Token;id=%27%BA%67%F3%C7%F6%53%8B%5F%F2%6F%94%31%F2%D1%CC;object=Pkey%20sigver%20Test;type=private
    openssl storeutl -text "$uri" $uri=pkcs11:model=SoftHSM%20v2;manufacturer=SoftHSM%20project;serial=12ff3650cd2e8d99;token=SoftHSM%20Token;id=%9A%39%E9%65%D7%4B%AE%20%F5%02%6E%C7%88%53%69%E6;object=Test-EC-gen-9a39e965;type=private
    openssl storeutl -text "$uri" $uri=pkcs11:model=SoftHSM%20v2;manufacturer=SoftHSM%20project;serial=12ff3650cd2e8d99;token=SoftHSM%20Token;id=%8C%40%0E%C2%BD%FF%0C%6A%6A%23%3E%DA%8C%54%6A%27;object=Test-RSA-gen-8c400ec2;type=private
    openssl storeutl -text "$uri" $uri=pkcs11:model=SoftHSM%20v2;manufacturer=SoftHSM%20project;serial=12ff3650cd2e8d99;token=SoftHSM%20Token;id=%00%11;object=testRsaPss2Cert;type=private
    openssl storeutl -text "$uri" $uri=pkcs11:model=SoftHSM%20v2;manufacturer=SoftHSM%20project;serial=12ff3650cd2e8d99;token=SoftHSM%20Token;id=%00%04;object=edCert;type=private
    openssl storeutl -text "$uri" $uri=pkcs11:model=SoftHSM%20v2;manufacturer=SoftHSM%20project;serial=12ff3650cd2e8d99;token=SoftHSM%20Token;id=%00%08;object=ecCert3;type=private
    openssl storeutl -text "$uri" $uri=pkcs11:model=SoftHSM%20v2;manufacturer=SoftHSM%20project;serial=12ff3650cd2e8d99;token=SoftHSM%20Token;id=%00%09;object=ed2Cert;type=private
    openssl storeutl -text "$uri" $uri=pkcs11:model=SoftHSM%20v2;manufacturer=SoftHSM%20project;serial=12ff3650cd2e8d99;token=SoftHSM%20Token;id=%00%01;object=testCert;type=private
    openssl storeutl -text "$uri" $uri=pkcs11:model=SoftHSM%20v2;manufacturer=SoftHSM%20project;serial=12ff3650cd2e8d99;token=SoftHSM%20Token;id=%A2%EA%19%9C%C7%3C%D1%38%0A%04%90%7A%98%D7%CE%EC;object=Test-Ed-gen-a2ea199c;type=private
    openssl storeutl -text "$uri" $uri=pkcs11:model=SoftHSM%20v2;manufacturer=SoftHSM%20project;serial=12ff3650cd2e8d99;token=SoftHSM%20Token;id=%89%68%9A%CD%A6%06%E5%A6%00%F2%F4%0D%A4%C7%AE%7C;object=Test-Ed-gen-89689acd;type=private
    openssl storeutl -text "$uri" $uri=pkcs11:model=SoftHSM%20v2;manufacturer=SoftHSM%20project;serial=12ff3650cd2e8d99;token=SoftHSM%20Token;id=%B3%4D%0D%A5%62%A6%43%B4%31%CB%85%BB%7D%34%81%F2;type=private
    openssl storeutl -text "$uri" $uri=pkcs11:model=SoftHSM%20v2;manufacturer=SoftHSM%20project;serial=12ff3650cd2e8d99;token=SoftHSM%20Token;id=%00%06;object=ecCert2;type=private
    openssl storeutl -text "$uri" $uri=pkcs11:model=SoftHSM%20v2;manufacturer=SoftHSM%20project;serial=12ff3650cd2e8d99;token=SoftHSM%20Token;id=%00%02;object=ecCert;type=private
    openssl storeutl -text "$uri"

    ## Check each URI component is tested
    $cmp=pkcs11:model=SoftHSM%20v2
    openssl storeutl -text "pkcs11:${cmp}"
    $cmp=manufacturer=SoftHSM%20project
    openssl storeutl -text "pkcs11:${cmp}"
    $cmp=serial=12ff3650cd2e8d99
    openssl storeutl -text "pkcs11:${cmp}"
    $cmp=token=SoftHSM%20Token
    openssl storeutl -text "pkcs11:${cmp}" $cmp=id=%83%13%F6%41%38%E6%1E%BE%A6%29%8C%3C%B6%F0%62%07
    openssl storeutl -text "pkcs11:${cmp}"
    $cmp=object=Fork-Test
    openssl storeutl -text "pkcs11:${cmp}"
    $cmp=type=private
    openssl storeutl -text "pkcs11:${cmp}" ==============================================================================

    =================================== 84/92 ====================================
    test: pkcs11-provider:kryoptic / uri
    start time: 10:06:52
    duration: 0.01s
    result: exit status 77
    command: MALLOC_PERTURB_=164 TEST_PATH=/build/reproducible-path/pkcs11-provider-1.0/tests MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 TESTBLDDIR=/
    build/reproducible-path/pkcs11-provider-1.0/obj-x86_64-linux-gnu/tests UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_TEST_ITERATION=1 /build/reproducible-path/pkcs11-provider-1.0/tests/test-wrapper uri-kryoptic.t
    ==============================================================================

    =================================== 85/92 ====================================
    test: pkcs11-provider:kryoptic.nss / uri
    start time: 10:06:52
    duration: 0.01s
    result: exit status 77
    command: TEST_PATH=/build/reproducible-path/pkcs11-provider-1.0/tests MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 TESTBLDDIR=/build/reproducible-path/pkcs11-provider-1.0/obj-x86_64-linux-gnu/tests ASAN_OPTIONS=
    halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=110 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_TEST_ITERATION=1 /build/reproducible-path/pkcs11-provider-1.0/tests/test-wrapper uri-kryoptic.nss.
    t
    ==============================================================================

    =================================== 86/92 ====================================
    test: pkcs11-provider:softhsm / ecxc
    start time: 10:06:52
    duration: 0.01s
    result: exit status 77
    command: TEST_PATH=/build/reproducible-path/pkcs11-provider-1.0/tests MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 TESTBLDDIR=/build/reproducible-path/pkcs11-provider-1.0/obj-x86_64-linux-gnu/tests ASAN_OPTIONS=
    halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=115 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_TEST_ITERATION=1 /build/reproducible-path/pkcs11-provider-1.0/tests/test-wrapper ecxc-softhsm.t
    ----------------------------------- stdout -----------------------------------
    Executing /build/reproducible-path/pkcs11-provider-1.0/tests/tecxc ==============================================================================

    =================================== 87/92 ====================================
    test: pkcs11-provider:kryoptic / ecxc
    start time: 10:06:52
    duration: 0.01s
    result: exit status 77
    command: TEST_PATH=/build/reproducible-path/pkcs11-provider-1.0/tests MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 TESTBLDDIR=/build/reproducible-path/pkcs11-provider-1.0/obj-x86_64-linux-gnu/tests ASAN_OPTIONS=
    halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=109 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_TEST_ITERATION=1 /build/reproducible-path/pkcs11-provider-1.0/tests/test-wrapper ecxc-kryoptic.t
    ==============================================================================

    =================================== 88/92 ====================================
    test: pkcs11-provider:kryoptic.nss / ecxc
    start time: 10:06:53
    duration: 0.01s
    result: exit status 77
    command: TEST_PATH=/build/reproducible-path/pkcs11-provider-1.0/tests MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 TESTBLDDIR=/build/reproducible-path/pkcs11-provider-1.0/obj-x86_64-linux-gnu/tests ASAN_OPTIONS=
    halt_on_error=1:abort_on_error=1:print_summary=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_TEST_ITERATION=1 MALLOC_PERTURB_=13 /build/reproducible-path/pkcs11-provider-1.0/tests/test-wrapper ecxc-kryoptic.nss.
    t
    ==============================================================================

    =================================== 89/92 ====================================
    test: pkcs11-provider:softokn / cms
    start time: 10:06:53
    duration: 0.01s
    result: exit status 77
    command: TEST_PATH=/build/reproducible-path/pkcs11-provider-1.0/tests MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=173 TESTBLDDIR=/build/reproducible-path/pkcs11-provider-1.0/obj-x86_64-linux-gnu/
    tests ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_TEST_ITERATION=1 /build/reproducible-path/pkcs11-provider-1.0/tests/test-wrapper cms-softokn.t
    ==============================================================================

    =================================== 90/92 ====================================
    test: pkcs11-provider:kryoptic / cms
    start time: 10:06:53
    duration: 0.01s
    result: exit status 77
    command: TEST_PATH=/build/reproducible-path/pkcs11-provider-1.0/tests MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=167 TESTBLDDIR=/build/reproducible-path/pkcs11-provider-1.0/obj-x86_64-linux-gnu/
    tests ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_TEST_ITERATION=1 /build/reproducible-path/pkcs11-provider-1.0/tests/test-wrapper cms-kryoptic.t
    ==============================================================================

    =================================== 91/92 ====================================
    test: pkcs11-provider:kryoptic.nss / cms
    start time: 10:06:53
    duration: 0.02s
    result: exit status 77
    command: TEST_PATH=/build/reproducible-path/pkcs11-provider-1.0/tests MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 TESTBLDDIR=/build/reproducible-path/pkcs11-provider-1.0/obj-x86_64-linux-gnu/tests ASAN_OPTIONS=
    halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=6 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_TEST_ITERATION=1 /build/reproducible-path/pkcs11-provider-1.0/tests/test-wrapper cms-kryoptic.nss.t
    ==============================================================================

    =================================== 92/92 ====================================
    test: pkcs11-provider:kryoptic / pinlock
    start time: 10:06:53
    duration: 0.01s
    result: exit status 77
    command: TEST_PATH=/build/reproducible-path/pkcs11-provider-1.0/tests MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 TESTBLDDIR=/build/reproducible-path/pkcs11-provider-1.0/obj-x86_64-linux-gnu/tests ASAN_OPTIONS=
    halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=33 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_TEST_ITERATION=1 /build/reproducible-path/pkcs11-provider-1.0/tests/test-wrapper pinlock-kryoptic.t
    ==============================================================================


    Summary of Failures:

    75/92 pkcs11-provider:softhsm / tls FAIL 1.92s exit status 1

    Ok: 20
    Expected Fail: 0
    Fail: 1
    Unexpected Pass: 0
    Skipped: 71
    Timeout: 0
    dh_auto_test: error: cd obj-x86_64-linux-gnu && DEB_PYTHON_INSTALL_LAYOUT=deb LC_ALL=C.UTF-8 MESON_TESTTHREADS=8 meson test --verbose -t 10 returned exit code 1


    The full build log is available from: http://qa-logs.debian.net/2025/04/12/pkcs11-provider_1.0-2_testing.log

    All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20250412;[email protected]
    or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20250412&[email protected]&allbugs=1&cseverity=1&ctags=1&caffected=1#results

    A list of current common problems and possible solutions is available at http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

    If you reassign this bug to another package, please mark it as 'affects'-ing this package. See https://www.debian.org/Bugs/server-control#affects

    If you fail to reproduce this, please provide a build log and diff it with mine so that we can identify if something relevant changed in the meantime.

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