Package: src:libengine-gost-openssl
Version: 3.0.2-1
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build.

Below you will find how the build ends (probably the most relevant part,
but not necessarily). If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202509/


Note: This seems to be some kind of Makefile bug. In my setup, it fails
always when the machine has 2 CPUs, and it does not fail when it has 1 CPU.
Maybe using --max-parallel=1 could help here, I don't know.


About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:libengine-gost-openssl, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
# Failed test 'GOST R 34.11-2012 256bit example 1 from standard'
# at /<<PKGBUILDDIR>>/test/01-digest.t line 106.
# +-----+----+-------------------------------------------------------------+
# | GOT | OP | CHECK                                                       |
# +-----+----+-------------------------------------------------------------+
# |     | =~ | (?^ms:^(?^:id-tc26-gost3411-12-256|md_gost12_256)\(testm1\. |
# |     |    | dat\)\=\ 9d151eefd8590b89daa6ba6cb74af9275dd051026bb149a452 |
# |     |    | fd84e5e57b5500\n$)                                          |
# +-----+----+-------------------------------------------------------------+
# Command was: openssl dgst -md_gost12_256 testm1.dat
testm1.dat: No such file or directory
40B7CBF15F7F0000:error:80000002:system library:file_ctrl:No such file or 
directory:../crypto/bio/bss_file.c:288:calling fopen(testm1.dat, r)
40B7CBF15F7F0000:error:10080002:BIO routines:file_ctrl:system 
lib:../crypto/bio/bss_file.c:291:
not ok 2 - GOST R 34.11-2012 512bit example 1 from standard

# Failed test 'GOST R 34.11-2012 512bit example 1 from standard'
# at /<<PKGBUILDDIR>>/test/01-digest.t line 114.
# +-----+----+-------------------------------------------------------------+
# | GOT | OP | CHECK                                                       |
# +-----+----+-------------------------------------------------------------+
# |     | =~ | (?^ms:^(?^:id-tc26-gost3411-12-512|md_gost12_512)\(testm1\. |
# |     |    | dat\)\=\ 1b54d01a4af5b9d5cc3d86d68d285462b19abc2475222f35c0 |
# |     |    | 85122be4ba1ffa00ad30f8767b3a82384c6574f024c311e2a481332b08e |
# |     |    | f7f41797891c1646f48\n$)                                     |
# +-----+----+-------------------------------------------------------------+
# Command was: openssl dgst -md_gost12_512 testm1.dat
ok 3 - GOST R 34.11-2012 256bit example 2 from standard
ok 4 - GOST R 34.11-2012 512bit example 2 from standard
ok 5 - GOST R 34.11-94 1K ascii
testdata.dat: No such file or directory
40B72426677F0000:error:80000002:system library:file_ctrl:No such file or 
directory:../crypto/bio/bss_file.c:288:calling fopen(testdata.dat, r)
40B72426677F0000:error:10080002:BIO routines:file_ctrl:system 
lib:../crypto/bio/bss_file.c:291:
not ok 6 - GOST R 34.11-2012 256bit 1K ascii

# Failed test 'GOST R 34.11-2012 256bit 1K ascii'
# at /<<PKGBUILDDIR>>/test/01-digest.t line 159.
# +-----+----+-------------------------------------------------------------+
# | GOT | OP | CHECK                                                       |
# +-----+----+-------------------------------------------------------------+
# |     | =~ | (?^ms:^(?^:id-tc26-gost3411-12-256|md_gost12_256)\(testdata |
# |     |    | \.dat\)\=\ 1906512b86a1283c68cec8419e57113efc562a1d0e95d8f4 |
# |     |    | 809542900c416fe4\n$)                                        |
# +-----+----+-------------------------------------------------------------+
# Command was: openssl dgst -md_gost12_256 testdata.dat
testdata.dat: No such file or directory
40A7030A627F0000:error:80000002:system library:file_ctrl:No such file or 
directory:../crypto/bio/bss_file.c:288:calling fopen(testdata.dat, r)
40A7030A627F0000:error:10080002:BIO routines:file_ctrl:system 
lib:../crypto/bio/bss_file.c:291:
not ok 7 - GOST R 34.11-2012 512bit 1K ascii

# Failed test 'GOST R 34.11-2012 512bit 1K ascii'
# at /<<PKGBUILDDIR>>/test/01-digest.t line 167.
# +-----+----+-------------------------------------------------------------+
# | GOT | OP | CHECK                                                       |
# +-----+----+-------------------------------------------------------------+
# |     | =~ | (?^ms:^(?^:id-tc26-gost3411-12-512|md_gost12_512)\(testdata |
# |     |    | \.dat\)\=\ 283587e434864d0d4bea97c0fb10e2dd421572fc859304bd |
# |     |    | f6a94673d652c59049212bad7802b4fcf5eecc1f8fab569d60f2c20dbd7 |
# |     |    | 89a7fe4efbd79d8137ee7\n$)                                   |
# +-----+----+-------------------------------------------------------------+
# Command was: openssl dgst -md_gost12_512 testdata.dat
testdata2.dat: No such file or directory
40C78D486E7F0000:error:80000002:system library:file_ctrl:No such file or 
directory:../crypto/bio/bss_file.c:288:calling fopen(testdata2.dat, r)
40C78D486E7F0000:error:10080002:BIO routines:file_ctrl:system 
lib:../crypto/bio/bss_file.c:291:
not ok 8 - GOST R 34.11-94 1K binary

# Failed test 'GOST R 34.11-94 1K binary'
# at /<<PKGBUILDDIR>>/test/01-digest.t line 183.
# +-----+----+-------------------------------------------------------------+
# | GOT | OP | CHECK                                                       |
# +-----+----+-------------------------------------------------------------+
# |     | =~ | (?^ms:^(?^:id-GostR3411-94|md_gost94)\(testdata2\.dat\)\=\  |
# |     |    | 69f529aa82d9344ab0fa550cdf4a70ecfd92a38b5520b1906329763e091 |
# |     |    | 05196\n$)                                                   |
# +-----+----+-------------------------------------------------------------+
# Command was: openssl dgst -md_gost94 testdata2.dat
testdata2.dat: No such file or directory
4077AF5AEC7F0000:error:80000002:system library:file_ctrl:No such file or 
directory:../crypto/bio/bss_file.c:288:calling fopen(testdata2.dat, r)
4077AF5AEC7F0000:error:10080002:BIO routines:file_ctrl:system 
lib:../crypto/bio/bss_file.c:291:
not ok 9 - GOST R 34.11-2012 256bit 1K binary

# Failed test 'GOST R 34.11-2012 256bit 1K binary'
# at /<<PKGBUILDDIR>>/test/01-digest.t line 191.
# +-----+----+-------------------------------------------------------------+
# | GOT | OP | CHECK                                                       |
# +-----+----+-------------------------------------------------------------+
# |     | =~ | (?^ms:^(?^:id-tc26-gost3411-12-256|md_gost12_256)\(testdata |
# |     |    | 2\.dat\)\=\ 2eb1306be3e490f18ff0e2571a077b3831c815c46c7d4fd |
# |     |    | f9e0e26de4032b3f3\n$)                                       |
# +-----+----+-------------------------------------------------------------+
# Command was: openssl dgst -md_gost12_256 testdata2.dat
testdata2.dat: No such file or directory
40C705EA327F0000:error:80000002:system library:file_ctrl:No such file or 
directory:../crypto/bio/bss_file.c:288:calling fopen(testdata2.dat, r)
40C705EA327F0000:error:10080002:BIO routines:file_ctrl:system 
lib:../crypto/bio/bss_file.c:291:
not ok 10 - GOST R 34.11-2012 512bit 1K binary

# Failed test 'GOST R 34.11-2012 512bit 1K binary'
# at /<<PKGBUILDDIR>>/test/01-digest.t line 199.
# +-----+----+-------------------------------------------------------------+
# | GOT | OP | CHECK                                                       |
# +-----+----+-------------------------------------------------------------+
# |     | =~ | (?^ms:^(?^:id-tc26-gost3411-12-512|md_gost12_512)\(testdata |
# |     |    | 2\.dat\)\=\ 55656e5bcf795b499031a7833cd7dc18fe10d4a47e15be5 |
# |     |    | 45c6ab3f304a4fe411c4c39de5b1fc6844880111441e0b92bf1ec2fb784 |
# |     |    | 0453fe39a2b70ced461968\n$)                                  |
# +-----+----+-------------------------------------------------------------+
# Command was: openssl dgst -md_gost12_512 testdata2.dat
ok 11 - GOST R 34.11-94 539 bytes
ok 12 - GOST R 34.11-2012 256bit 539 bytes
ok 13 - GOST R 34.11-2012 512bit 539 bytes
ok 14 - GOST R 34.11-94 128K
bigdata.dat: No such file or directory
403749A76F7F0000:error:80000002:system library:file_ctrl:No such file or 
directory:../crypto/bio/bss_file.c:288:calling fopen(bigdata.dat, r)
403749A76F7F0000:error:10080002:BIO routines:file_ctrl:system 
lib:../crypto/bio/bss_file.c:291:
not ok 15 - GOST R 34.11-2012 256bit 128K

# Failed test 'GOST R 34.11-2012 256bit 128K'
# at /<<PKGBUILDDIR>>/test/01-digest.t line 252.
# +-----+----+-------------------------------------------------------------+
# | GOT | OP | CHECK                                                       |
# +-----+----+-------------------------------------------------------------+
# |     | =~ | (?^ms:^(?^:id-tc26-gost3411-12-256|md_gost12_256)\(bigdata\ |
# |     |    | .dat\)\=\ 50e935d725d9359e5991b6b7eba8b3539fca03584d26adf4c |
# |     |    | 827c982ffd49367\n$)                                         |
# +-----+----+-------------------------------------------------------------+
# Command was: openssl dgst -md_gost12_256 bigdata.dat
bigdata.dat: No such file or directory
40477015107F0000:error:80000002:system library:file_ctrl:No such file or 
directory:../crypto/bio/bss_file.c:288:calling fopen(bigdata.dat, r)
40477015107F0000:error:10080002:BIO routines:file_ctrl:system 
lib:../crypto/bio/bss_file.c:291:
not ok 16 - GOST R 34.11-2012 512bit 128K

# Failed test 'GOST R 34.11-2012 512bit 128K'
# at /<<PKGBUILDDIR>>/test/01-digest.t line 260.
# +-----+----+-------------------------------------------------------------+
# | GOT | OP | CHECK                                                       |
# +-----+----+-------------------------------------------------------------+
# |     | =~ | (?^ms:^(?^:id-tc26-gost3411-12-512|md_gost12_512)\(bigdata\ |
# |     |    | .dat\)\=\ 1d93645ebfbb477660f98b7d1598e37fbf3bfc8234ead26e2 |
# |     |    | 246e1b979e590ac46138158a692f9a0c9ac2550758b4d0d4c9fb8af5e59 |
# |     |    | 5a16d3760c6516443f82\n$)                                    |
# +-----+----+-------------------------------------------------------------+
# Command was: openssl dgst -md_gost12_512 bigdata.dat
Dubious, test returned 9 (wstat 2304, 0x900)
Failed 9/16 subtests 
/<<PKGBUILDDIR>>/test/02-mac.t ....... 
# Seeded srand with seed '20250914' from local date.
1..19
# @ARGV = (provider)
# Running tests for test type conf
ok 1 - GOST MAC - default size
ok 2 - GOST MAC - size 1 bytes
ok 3 - GOST MAC - size 2 bytes
ok 4 - GOST MAC - size 3 bytes
ok 5 - GOST MAC - size 4 bytes
ok 6 - GOST MAC - size 5 bytes
ok 7 - GOST MAC - size 6 bytes
ok 8 - GOST MAC - size 7 bytes
ok 9 - GOST MAC - size 8 bytes
ok 10 - GOST MAC - big data
ok 11 - GOST MAC parameters 2012 - default size
ok 12 - GOST MAC parameters 2012 - size 1 bytes
ok 13 - GOST MAC parameters 2012 - size 2 bytes
ok 14 - GOST MAC parameters 2012 - size 3 bytes
ok 15 - GOST MAC parameters 2012 - size 4 bytes
ok 16 - GOST MAC parameters 2012 - size 5 bytes
ok 17 - GOST MAC parameters 2012 - size 6 bytes
Can't open "testdata.dat" for reading, No such file or directory
40A7C318F87F0000:error:80000002:system library:BIO_new_file:No such file or 
directory:../crypto/bio/bss_file.c:67:calling fopen(testdata.dat, rb)
40A7C318F87F0000:error:10000080:BIO routines:BIO_new_file:no such 
file:../crypto/bio/bss_file.c:75:
not ok 18 - GOST MAC parameters 2012 - size 7 bytes

# Failed test 'GOST MAC parameters 2012 - size 7 bytes'
# at /<<PKGBUILDDIR>>/test/02-mac.t line 204.
# +-----+----+------------------+
# | GOT | OP | CHECK            |
# +-----+----+------------------+
# |     | eq | BE4453EC1EC327\n |
# +-----+----+------------------+
# Command was: openssl mac  -macopt key:0123456789abcdef0123456789abcdef 
-macopt size:7 -in testdata.dat gost-mac-12
Can't open "testdata.dat" for reading, No such file or directory
4047642E657F0000:error:80000002:system library:BIO_new_file:No such file or 
directory:../crypto/bio/bss_file.c:67:calling fopen(testdata.dat, rb)
4047642E657F0000:error:10000080:BIO routines:BIO_new_file:no such 
file:../crypto/bio/bss_file.c:75:
not ok 19 - GOST MAC parameters 2012 - size 8 bytes

# Failed test 'GOST MAC parameters 2012 - size 8 bytes'
# at /<<PKGBUILDDIR>>/test/02-mac.t line 204.
# +-----+----+--------------------+
# | GOT | OP | CHECK              |
# +-----+----+--------------------+
# |     | eq | BE4453EC1EC327BE\n |
# +-----+----+--------------------+
# Command was: openssl mac  -macopt key:0123456789abcdef0123456789abcdef 
-macopt size:8 -in testdata.dat gost-mac-12
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/19 subtests 
/<<PKGBUILDDIR>>/test/03-encrypt.t ... 
# Seeded srand with seed '20250914' from local date.
1..48
# Running tests for test type conf
Use of uninitialized value $test_type in concatenation (.) or string at 
/<<PKGBUILDDIR>>/test/03-encrypt.t line 81.
ok 1 - CFB short text, paramset A - Trying to encrypt
ok 2 - CFB short text, paramset A - Checking that it encrypted correctly
ok 3 - CFB short text, paramset A - Trying to decrypt
ok 4 - CFB short text, paramset A - Checking that it decrypted correctly
Use of uninitialized value $test_type in concatenation (.) or string at 
/<<PKGBUILDDIR>>/test/03-encrypt.t line 81.
ok 5 - CFB short text, paramset B - Trying to encrypt
ok 6 - CFB short text, paramset B - Checking that it encrypted correctly
ok 7 - CFB short text, paramset B - Trying to decrypt
ok 8 - CFB short text, paramset B - Checking that it decrypted correctly
Use of uninitialized value $test_type in concatenation (.) or string at 
/<<PKGBUILDDIR>>/test/03-encrypt.t line 81.
ok 9 - CFB short text, paramset C - Trying to encrypt
ok 10 - CFB short text, paramset C - Checking that it encrypted correctly
ok 11 - CFB short text, paramset C - Trying to decrypt
ok 12 - CFB short text, paramset C - Checking that it decrypted correctly
Use of uninitialized value $test_type in concatenation (.) or string at 
/<<PKGBUILDDIR>>/test/03-encrypt.t line 81.
ok 13 - CFB short text, paramset D - Trying to encrypt
ok 14 - CFB short text, paramset D - Checking that it encrypted correctly
ok 15 - CFB short text, paramset D - Trying to decrypt
ok 16 - CFB short text, paramset D - Checking that it decrypted correctly
Use of uninitialized value $test_type in concatenation (.) or string at 
/<<PKGBUILDDIR>>/test/03-encrypt.t line 81.
ok 17 - CNT short text - Trying to encrypt
ok 18 - CNT short text - Checking that it encrypted correctly
ok 19 - CNT short text - Trying to decrypt
ok 20 - CNT short text - Checking that it decrypted correctly
Use of uninitialized value $test_type in concatenation (.) or string at 
/<<PKGBUILDDIR>>/test/03-encrypt.t line 81.
ok 21 - CNT short text, paramset param doesnt affect cnt - Trying to encrypt
ok 22 - CNT short text, paramset param doesnt affect cnt - Checking that it 
encrypted correctly
ok 23 - CNT short text, paramset param doesnt affect cnt - Trying to decrypt
ok 24 - CNT short text, paramset param doesnt affect cnt - Checking that it 
decrypted correctly
Use of uninitialized value $test_type in concatenation (.) or string at 
/<<PKGBUILDDIR>>/test/03-encrypt.t line 81.
ok 25 - CNT-12 short text - Trying to encrypt
ok 26 - CNT-12 short text - Checking that it encrypted correctly
ok 27 - CNT-12 short text - Trying to decrypt
ok 28 - CNT-12 short text - Checking that it decrypted correctly
Use of uninitialized value $test_type in concatenation (.) or string at 
/<<PKGBUILDDIR>>/test/03-encrypt.t line 81.
ok 29 - CNT-12 short text, paramset param doesnt affect cnt - Trying to encrypt
ok 30 - CNT-12 short text, paramset param doesnt affect cnt - Checking that it 
encrypted correctly
ok 31 - CNT-12 short text, paramset param doesnt affect cnt - Trying to decrypt
ok 32 - CNT-12 short text, paramset param doesnt affect cnt - Checking that it 
decrypted correctly
Use of uninitialized value $test_type in concatenation (.) or string at 
/<<PKGBUILDDIR>>/test/03-encrypt.t line 81.
ok 33 - CBC short text, paramset A - Trying to encrypt
ok 34 - CBC short text, paramset A - Checking that it encrypted correctly
ok 35 - CBC short text, paramset A - Trying to decrypt
ok 36 - CBC short text, paramset A - Checking that it decrypted correctly
Use of uninitialized value $test_type in concatenation (.) or string at 
/<<PKGBUILDDIR>>/test/03-encrypt.t line 81.
ok 37 - CBC short text, paramset B - Trying to encrypt
ok 38 - CBC short text, paramset B - Checking that it encrypted correctly
ok 39 - CBC short text, paramset B - Trying to decrypt
ok 40 - CBC short text, paramset B - Checking that it decrypted correctly
Use of uninitialized value $test_type in concatenation (.) or string at 
/<<PKGBUILDDIR>>/test/03-encrypt.t line 81.
ok 41 - CBC short text, paramset C - Trying to encrypt
ok 42 - CBC short text, paramset C - Checking that it encrypted correctly
ok 43 - CBC short text, paramset C - Trying to decrypt
ok 44 - CBC short text, paramset C - Checking that it decrypted correctly
Use of uninitialized value $test_type in concatenation (.) or string at 
/<<PKGBUILDDIR>>/test/03-encrypt.t line 81.
ok 45 - CBC short text, paramset D - Trying to encrypt
ok 46 - CBC short text, paramset D - Checking that it encrypted correctly
ok 47 - CBC short text, paramset D - Trying to decrypt
ok 48 - CBC short text, paramset D - Checking that it decrypted correctly
ok
/<<PKGBUILDDIR>>/test/04-pkey.t ...... skipped: TODO: add pkey support in 
provider

Test Summary Report
-------------------
/<<PKGBUILDDIR>>/test/01-digest.t  (Wstat: 2304 (exited 9) Tests: 16 Failed: 9)
  Failed tests:  1-2, 6-10, 15-16
  Non-zero exit status: 9
/<<PKGBUILDDIR>>/test/02-mac.t     (Wstat: 512 (exited 2) Tests: 19 Failed: 2)
  Failed tests:  18-19
  Non-zero exit status: 2
Files=6, Tests=84,  0 wallclock secs ( 0.02 usr  0.01 sys +  0.42 cusr  0.18 
csys =  0.63 CPU)
Result: FAIL

16: /<<PKGBUILDDIR>>/test/04-pkey.t ...... 
16: # Seeded srand with seed '20250914' from local date.
16: 1..2
16: ok 1 - keys {
16:     1..15
16:     ok 1 - Print key pair gost2001:A
16:     ok 2 - Compute public key gost2001:A
16:     ok 3 - Read and print public key gost2001:A
16:     ok 4 - Print key pair gost2001:B
16:     ok 5 - Compute public key gost2001:B
16:     ok 6 - Read and print public key gost2001:B
16:     ok 7 - Print key pair gost2001:C
16:     ok 8 - Compute public key gost2001:C
16:     ok 9 - Read and print public key gost2001:C
16:     ok 10 - Print key pair gost2001:XA
16:     ok 11 - Compute public key gost2001:XA
16:     ok 12 - Read and print public key gost2001:XA
16:     ok 13 - Print key pair gost2001:XB
16:     ok 14 - Compute public key gost2001:XB
16:     ok 15 - Read and print public key gost2001:XB
16: }
16: ok 2 - derive {
16:     1..64
16:     ok 1 - Compute public key:id-GostR3410-2001-CryptoPro-A-ParamSet:Alice
16:     ok 2 - Compute public key:id-GostR3410-2001-CryptoPro-A-ParamSet:Bob
16:     ok 3 - Compute shared 
key:id-GostR3410-2001-CryptoPro-A-ParamSet:Alice:Bob
16:     ok 4 - Compute shared 
key:id-GostR3410-2001-CryptoPro-A-ParamSet:Bob:Alice
16:     ok 5 - Compute public key:id-tc26-gost-3410-2012-512-paramSetA:Alice
16:     ok 6 - Compute public key:id-tc26-gost-3410-2012-512-paramSetA:Bob
16:     ok 7 - Compute shared key:id-tc26-gost-3410-2012-512-paramSetA:Alice:Bob
16:     ok 8 - Compute shared key:id-tc26-gost-3410-2012-512-paramSetA:Bob:Alice
16:     ok 9 - Compute public 
key:id-tc26-gost-3410-2012-512-paramSetC-rangetest:Alice
16:     ok 10 - Compute public 
key:id-tc26-gost-3410-2012-512-paramSetC-rangetest:Bob
16:     ok 11 - Compute shared 
key:id-tc26-gost-3410-2012-512-paramSetC-rangetest:Alice:Bob
16:     ok 12 - Compute shared 
key:id-tc26-gost-3410-2012-512-paramSetC-rangetest:Bob:Alice
16:     ok 13 - Compute public key:id-tc26-gost-3410-2012-256-paramSetA:Alice
16:     ok 14 - Compute public key:id-tc26-gost-3410-2012-256-paramSetA:Bob
16:     ok 15 - Compute shared 
key:id-tc26-gost-3410-2012-256-paramSetA:Alice:Bob
16:     ok 16 - Compute shared 
key:id-tc26-gost-3410-2012-256-paramSetA:Bob:Alice
16:     ok 17 - Compute shared 
key:id-tc26-gost-3410-2012-256-paramSetA:Alice:Malice
16:     ok 18 - Compute shared 
key:id-tc26-gost-3410-2012-256-paramSetA:Bob:Malice
16:     ok 19 - Compute public 
key:id-tc26-gost-3410-2012-256-paramSetA-rangetest:Alice
16:     ok 20 - Compute public 
key:id-tc26-gost-3410-2012-256-paramSetA-rangetest:Bob
16:     ok 21 - Compute shared 
key:id-tc26-gost-3410-2012-256-paramSetA-rangetest:Alice:Bob
16:     ok 22 - Compute shared 
key:id-tc26-gost-3410-2012-256-paramSetA-rangetest:Bob:Alice
16:     ok 23 - Compute public key:id-GostR3410-2001-TestParamSet:Alice
16:     ok 24 - Compute public key:id-GostR3410-2001-TestParamSet:Bob
16:     ok 25 - Compute shared key:id-GostR3410-2001-TestParamSet:Alice:Bob
16:     ok 26 - Compute shared key:id-GostR3410-2001-TestParamSet:Bob:Alice
16:     ok 27 - Compute public key:id-GostR3410-2001-CryptoPro-B-ParamSet:Alice
16:     ok 28 - Compute public key:id-GostR3410-2001-CryptoPro-B-ParamSet:Bob
16:     ok 29 - Compute shared 
key:id-GostR3410-2001-CryptoPro-B-ParamSet:Alice:Bob
16:     ok 30 - Compute shared 
key:id-GostR3410-2001-CryptoPro-B-ParamSet:Bob:Alice
16:     ok 31 - Compute public key:id-tc26-gost-3410-2012-512-paramSetB:Alice
16:     ok 32 - Compute public key:id-tc26-gost-3410-2012-512-paramSetB:Bob
16:     ok 33 - Compute shared 
key:id-tc26-gost-3410-2012-512-paramSetB:Alice:Bob
16:     ok 34 - Compute shared 
key:id-tc26-gost-3410-2012-512-paramSetB:Bob:Alice
16:     ok 35 - Compute public 
key:id-GostR3410-2001-CryptoPro-XchA-ParamSet:Alice
16:     ok 36 - Compute public key:id-GostR3410-2001-CryptoPro-XchA-ParamSet:Bob
16:     ok 37 - Compute shared 
key:id-GostR3410-2001-CryptoPro-XchA-ParamSet:Alice:Bob
16:     ok 38 - Compute shared 
key:id-GostR3410-2001-CryptoPro-XchA-ParamSet:Bob:Alice
16:     ok 39 - Compute public key:id-tc26-gost-3410-2012-256-paramSetD:Alice
16:     ok 40 - Compute public key:id-tc26-gost-3410-2012-256-paramSetD:Bob
16:     ok 41 - Compute shared 
key:id-tc26-gost-3410-2012-256-paramSetD:Alice:Bob
16:     ok 42 - Compute shared 
key:id-tc26-gost-3410-2012-256-paramSetD:Bob:Alice
16:     ok 43 - Compute public key:id-tc26-gost-3410-2012-256-paramSetC:Alice
16:     ok 44 - Compute public key:id-tc26-gost-3410-2012-256-paramSetC:Bob
16:     ok 45 - Compute shared 
key:id-tc26-gost-3410-2012-256-paramSetC:Alice:Bob
16:     ok 46 - Compute shared 
key:id-tc26-gost-3410-2012-256-paramSetC:Bob:Alice
16:     ok 47 - Compute public key:id-GostR3410-2001-CryptoPro-C-ParamSet:Alice
16:     ok 48 - Compute public key:id-GostR3410-2001-CryptoPro-C-ParamSet:Bob
16:     ok 49 - Compute shared 
key:id-GostR3410-2001-CryptoPro-C-ParamSet:Alice:Bob
16:     ok 50 - Compute shared 
key:id-GostR3410-2001-CryptoPro-C-ParamSet:Bob:Alice
16:     ok 51 - Compute public key:id-tc26-gost-3410-2012-512-paramSetC:Alice
16:     ok 52 - Compute public key:id-tc26-gost-3410-2012-512-paramSetC:Bob
16:     ok 53 - Compute shared 
key:id-tc26-gost-3410-2012-512-paramSetC:Alice:Bob
16:     ok 54 - Compute shared 
key:id-tc26-gost-3410-2012-512-paramSetC:Bob:Alice
16:     ok 55 - Compute shared 
key:id-tc26-gost-3410-2012-512-paramSetC:Alice:Malice
16:     ok 56 - Compute shared 
key:id-tc26-gost-3410-2012-512-paramSetC:Bob:Malice
16:     ok 57 - Compute public 
key:id-GostR3410-2001-CryptoPro-XchB-ParamSet:Alice
16:     ok 58 - Compute public key:id-GostR3410-2001-CryptoPro-XchB-ParamSet:Bob
16:     ok 59 - Compute shared 
key:id-GostR3410-2001-CryptoPro-XchB-ParamSet:Alice:Bob
16:     ok 60 - Compute shared 
key:id-GostR3410-2001-CryptoPro-XchB-ParamSet:Bob:Alice
16:     ok 61 - Compute public key:id-tc26-gost-3410-2012-256-paramSetB:Alice
16:     ok 62 - Compute public key:id-tc26-gost-3410-2012-256-paramSetB:Bob
16:     ok 63 - Compute shared 
key:id-tc26-gost-3410-2012-256-paramSetB:Alice:Bob
16:     ok 64 - Compute shared 
key:id-tc26-gost-3410-2012-256-paramSetB:Bob:Alice
16: }
16: ok
16: 
16: Test Summary Report
16: -------------------
16: /<<PKGBUILDDIR>>/test/01-digest.t  (Wstat: 256 (exited 1) Tests: 16 Failed: 
1)
16:   Failed test:  14
16:   Non-zero exit status: 1
16: Files=6, Tests=92,  2 wallclock secs ( 0.02 usr  0.01 sys +  0.79 cusr  
0.43 csys =  1.25 CPU)
16: Result: FAIL
17/17 Test #16: engine ...........................***Failed    1.31 sec
Added /usr/lib/x86_64-linux-gnu to:
  LD_LIBRARY_PATH, DYLD_LIBRARY_PATH, LIBPATH
Added /usr/bin to:
  PATH
LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu
DYLD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu
LIBPATH=/usr/lib/x86_64-linux-gnu
PATH=/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
/<<PKGBUILDDIR>>/test/00-engine.t .... 
# Seeded srand with seed '20250914' from local date.
1..7
ok 1 - load engine without any config
ok 2 - compute digest without config
ok 3 - load engine with config
ok 4 - compute digest with config without explicit engine param
ok 5 - compute digest with both config and explicit engine param
ok 6 - display GOST2001-GOST89-GOST89 cipher
ok 7 - display GOST2012-GOST8912-GOST8912 cipher
ok
/<<PKGBUILDDIR>>/test/00-provider.t .. skipped: This test is only suitable for 
the provider
/<<PKGBUILDDIR>>/test/01-digest.t .... 
# Seeded srand with seed '20250914' from local date.
1..16
# Running tests for test type conf
ok 1 - GOST R 34.11-2012 256bit example 1 from standard
ok 2 - GOST R 34.11-2012 512bit example 1 from standard
ok 3 - GOST R 34.11-2012 256bit example 2 from standard
ok 4 - GOST R 34.11-2012 512bit example 2 from standard
ok 5 - GOST R 34.11-94 1K ascii
ok 6 - GOST R 34.11-2012 256bit 1K ascii
ok 7 - GOST R 34.11-2012 512bit 1K ascii
ok 8 - GOST R 34.11-94 1K binary
ok 9 - GOST R 34.11-2012 256bit 1K binary
ok 10 - GOST R 34.11-2012 512bit 1K binary
ok 11 - GOST R 34.11-94 539 bytes
ok 12 - GOST R 34.11-2012 256bit 539 bytes
ok 13 - GOST R 34.11-2012 512bit 539 bytes
not ok 14 - GOST R 34.11-94 128K

# Failed test 'GOST R 34.11-94 128K'
# at /<<PKGBUILDDIR>>/test/01-digest.t line 244.
# +---------------------------------+----+---------------------------------+
# | GOT                             | OP | CHECK                           |
# +---------------------------------+----+---------------------------------+
# | md_gost94(bigdata.dat)= f5fc959 | =~ | (?^ms:^(?^:id-GostR3411-94|md_g |
# | 2fe4f531593f947aca08e9d2cfe16a7 |    | ost94)\(bigdata\.dat\)\=\ e5d3a |
# | 585837572aa99058d1f04de5c1\n    |    | c4ea3f67896c51ff919cedb9405ad77 |
# |                                 |    | 1e39f0f2eab103624f9a758e506f\n$ |
# |                                 |    | )                               |
# +---------------------------------+----+---------------------------------+
# Command was: openssl dgst -md_gost94 bigdata.dat
ok 15 - GOST R 34.11-2012 256bit 128K
ok 16 - GOST R 34.11-2012 512bit 128K
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/16 subtests 
/<<PKGBUILDDIR>>/test/02-mac.t ....... 
# Seeded srand with seed '20250914' from local date.
1..19
# @ARGV = (engine)
# Running tests for test type conf
ok 1 - GOST MAC - default size
ok 2 - GOST MAC - size 1 bytes
ok 3 - GOST MAC - size 2 bytes
ok 4 - GOST MAC - size 3 bytes
ok 5 - GOST MAC - size 4 bytes
ok 6 - GOST MAC - size 5 bytes
ok 7 - GOST MAC - size 6 bytes
ok 8 - GOST MAC - size 7 bytes
ok 9 - GOST MAC - size 8 bytes
ok 10 - GOST MAC - big data
ok 11 - GOST MAC parameters 2012 - default size
ok 12 - GOST MAC parameters 2012 - size 1 bytes
ok 13 - GOST MAC parameters 2012 - size 2 bytes
ok 14 - GOST MAC parameters 2012 - size 3 bytes
ok 15 - GOST MAC parameters 2012 - size 4 bytes
ok 16 - GOST MAC parameters 2012 - size 5 bytes
ok 17 - GOST MAC parameters 2012 - size 6 bytes
ok 18 - GOST MAC parameters 2012 - size 7 bytes
ok 19 - GOST MAC parameters 2012 - size 8 bytes
ok
/<<PKGBUILDDIR>>/test/03-encrypt.t ... 
# Seeded srand with seed '20250914' from local date.
1..48
# Running tests for test type conf
Use of uninitialized value $test_type in concatenation (.) or string at 
/<<PKGBUILDDIR>>/test/03-encrypt.t line 81.
ok 1 - CFB short text, paramset A - Trying to encrypt
ok 2 - CFB short text, paramset A - Checking that it encrypted correctly
ok 3 - CFB short text, paramset A - Trying to decrypt
ok 4 - CFB short text, paramset A - Checking that it decrypted correctly
Use of uninitialized value $test_type in concatenation (.) or string at 
/<<PKGBUILDDIR>>/test/03-encrypt.t line 81.
ok 5 - CFB short text, paramset B - Trying to encrypt
ok 6 - CFB short text, paramset B - Checking that it encrypted correctly
ok 7 - CFB short text, paramset B - Trying to decrypt
ok 8 - CFB short text, paramset B - Checking that it decrypted correctly
Use of uninitialized value $test_type in concatenation (.) or string at 
/<<PKGBUILDDIR>>/test/03-encrypt.t line 81.
ok 9 - CFB short text, paramset C - Trying to encrypt
ok 10 - CFB short text, paramset C - Checking that it encrypted correctly
ok 11 - CFB short text, paramset C - Trying to decrypt
ok 12 - CFB short text, paramset C - Checking that it decrypted correctly
Use of uninitialized value $test_type in concatenation (.) or string at 
/<<PKGBUILDDIR>>/test/03-encrypt.t line 81.
ok 13 - CFB short text, paramset D - Trying to encrypt
ok 14 - CFB short text, paramset D - Checking that it encrypted correctly
ok 15 - CFB short text, paramset D - Trying to decrypt
ok 16 - CFB short text, paramset D - Checking that it decrypted correctly
Use of uninitialized value $test_type in concatenation (.) or string at 
/<<PKGBUILDDIR>>/test/03-encrypt.t line 81.
ok 17 - CNT short text - Trying to encrypt
ok 18 - CNT short text - Checking that it encrypted correctly
ok 19 - CNT short text - Trying to decrypt
ok 20 - CNT short text - Checking that it decrypted correctly
Use of uninitialized value $test_type in concatenation (.) or string at 
/<<PKGBUILDDIR>>/test/03-encrypt.t line 81.
ok 21 - CNT short text, paramset param doesnt affect cnt - Trying to encrypt
ok 22 - CNT short text, paramset param doesnt affect cnt - Checking that it 
encrypted correctly
ok 23 - CNT short text, paramset param doesnt affect cnt - Trying to decrypt
ok 24 - CNT short text, paramset param doesnt affect cnt - Checking that it 
decrypted correctly
Use of uninitialized value $test_type in concatenation (.) or string at 
/<<PKGBUILDDIR>>/test/03-encrypt.t line 81.
ok 25 - CNT-12 short text - Trying to encrypt
ok 26 - CNT-12 short text - Checking that it encrypted correctly
ok 27 - CNT-12 short text - Trying to decrypt
ok 28 - CNT-12 short text - Checking that it decrypted correctly
Use of uninitialized value $test_type in concatenation (.) or string at 
/<<PKGBUILDDIR>>/test/03-encrypt.t line 81.
ok 29 - CNT-12 short text, paramset param doesnt affect cnt - Trying to encrypt
ok 30 - CNT-12 short text, paramset param doesnt affect cnt - Checking that it 
encrypted correctly
ok 31 - CNT-12 short text, paramset param doesnt affect cnt - Trying to decrypt
ok 32 - CNT-12 short text, paramset param doesnt affect cnt - Checking that it 
decrypted correctly
Use of uninitialized value $test_type in concatenation (.) or string at 
/<<PKGBUILDDIR>>/test/03-encrypt.t line 81.
ok 33 - CBC short text, paramset A - Trying to encrypt
ok 34 - CBC short text, paramset A - Checking that it encrypted correctly
ok 35 - CBC short text, paramset A - Trying to decrypt
ok 36 - CBC short text, paramset A - Checking that it decrypted correctly
Use of uninitialized value $test_type in concatenation (.) or string at 
/<<PKGBUILDDIR>>/test/03-encrypt.t line 81.
ok 37 - CBC short text, paramset B - Trying to encrypt
ok 38 - CBC short text, paramset B - Checking that it encrypted correctly
ok 39 - CBC short text, paramset B - Trying to decrypt
ok 40 - CBC short text, paramset B - Checking that it decrypted correctly
Use of uninitialized value $test_type in concatenation (.) or string at 
/<<PKGBUILDDIR>>/test/03-encrypt.t line 81.
ok 41 - CBC short text, paramset C - Trying to encrypt
ok 42 - CBC short text, paramset C - Checking that it encrypted correctly
ok 43 - CBC short text, paramset C - Trying to decrypt
ok 44 - CBC short text, paramset C - Checking that it decrypted correctly
Use of uninitialized value $test_type in concatenation (.) or string at 
/<<PKGBUILDDIR>>/test/03-encrypt.t line 81.
ok 45 - CBC short text, paramset D - Trying to encrypt
ok 46 - CBC short text, paramset D - Checking that it encrypted correctly
ok 47 - CBC short text, paramset D - Trying to decrypt
ok 48 - CBC short text, paramset D - Checking that it decrypted correctly
ok
/<<PKGBUILDDIR>>/test/04-pkey.t ...... 
# Seeded srand with seed '20250914' from local date.
1..2
ok 1 - keys {
    1..15
    ok 1 - Print key pair gost2001:A
    ok 2 - Compute public key gost2001:A
    ok 3 - Read and print public key gost2001:A
    ok 4 - Print key pair gost2001:B
    ok 5 - Compute public key gost2001:B
    ok 6 - Read and print public key gost2001:B
    ok 7 - Print key pair gost2001:C
    ok 8 - Compute public key gost2001:C
    ok 9 - Read and print public key gost2001:C
    ok 10 - Print key pair gost2001:XA
    ok 11 - Compute public key gost2001:XA
    ok 12 - Read and print public key gost2001:XA
    ok 13 - Print key pair gost2001:XB
    ok 14 - Compute public key gost2001:XB
    ok 15 - Read and print public key gost2001:XB
}
ok 2 - derive {
    1..64
    ok 1 - Compute public key:id-GostR3410-2001-CryptoPro-A-ParamSet:Alice
    ok 2 - Compute public key:id-GostR3410-2001-CryptoPro-A-ParamSet:Bob
    ok 3 - Compute shared key:id-GostR3410-2001-CryptoPro-A-ParamSet:Alice:Bob
    ok 4 - Compute shared key:id-GostR3410-2001-CryptoPro-A-ParamSet:Bob:Alice
    ok 5 - Compute public key:id-tc26-gost-3410-2012-512-paramSetA:Alice
    ok 6 - Compute public key:id-tc26-gost-3410-2012-512-paramSetA:Bob
    ok 7 - Compute shared key:id-tc26-gost-3410-2012-512-paramSetA:Alice:Bob
    ok 8 - Compute shared key:id-tc26-gost-3410-2012-512-paramSetA:Bob:Alice
    ok 9 - Compute public 
key:id-tc26-gost-3410-2012-512-paramSetC-rangetest:Alice
    ok 10 - Compute public 
key:id-tc26-gost-3410-2012-512-paramSetC-rangetest:Bob
    ok 11 - Compute shared 
key:id-tc26-gost-3410-2012-512-paramSetC-rangetest:Alice:Bob
    ok 12 - Compute shared 
key:id-tc26-gost-3410-2012-512-paramSetC-rangetest:Bob:Alice
    ok 13 - Compute public key:id-tc26-gost-3410-2012-256-paramSetA:Alice
    ok 14 - Compute public key:id-tc26-gost-3410-2012-256-paramSetA:Bob
    ok 15 - Compute shared key:id-tc26-gost-3410-2012-256-paramSetA:Alice:Bob
    ok 16 - Compute shared key:id-tc26-gost-3410-2012-256-paramSetA:Bob:Alice
    ok 17 - Compute shared key:id-tc26-gost-3410-2012-256-paramSetA:Alice:Malice
    ok 18 - Compute shared key:id-tc26-gost-3410-2012-256-paramSetA:Bob:Malice
    ok 19 - Compute public 
key:id-tc26-gost-3410-2012-256-paramSetA-rangetest:Alice
    ok 20 - Compute public 
key:id-tc26-gost-3410-2012-256-paramSetA-rangetest:Bob
    ok 21 - Compute shared 
key:id-tc26-gost-3410-2012-256-paramSetA-rangetest:Alice:Bob
    ok 22 - Compute shared 
key:id-tc26-gost-3410-2012-256-paramSetA-rangetest:Bob:Alice
    ok 23 - Compute public key:id-GostR3410-2001-TestParamSet:Alice
    ok 24 - Compute public key:id-GostR3410-2001-TestParamSet:Bob
    ok 25 - Compute shared key:id-GostR3410-2001-TestParamSet:Alice:Bob
    ok 26 - Compute shared key:id-GostR3410-2001-TestParamSet:Bob:Alice
    ok 27 - Compute public key:id-GostR3410-2001-CryptoPro-B-ParamSet:Alice
    ok 28 - Compute public key:id-GostR3410-2001-CryptoPro-B-ParamSet:Bob
    ok 29 - Compute shared key:id-GostR3410-2001-CryptoPro-B-ParamSet:Alice:Bob
    ok 30 - Compute shared key:id-GostR3410-2001-CryptoPro-B-ParamSet:Bob:Alice
    ok 31 - Compute public key:id-tc26-gost-3410-2012-512-paramSetB:Alice
    ok 32 - Compute public key:id-tc26-gost-3410-2012-512-paramSetB:Bob
    ok 33 - Compute shared key:id-tc26-gost-3410-2012-512-paramSetB:Alice:Bob
    ok 34 - Compute shared key:id-tc26-gost-3410-2012-512-paramSetB:Bob:Alice
    ok 35 - Compute public key:id-GostR3410-2001-CryptoPro-XchA-ParamSet:Alice
    ok 36 - Compute public key:id-GostR3410-2001-CryptoPro-XchA-ParamSet:Bob
    ok 37 - Compute shared 
key:id-GostR3410-2001-CryptoPro-XchA-ParamSet:Alice:Bob
    ok 38 - Compute shared 
key:id-GostR3410-2001-CryptoPro-XchA-ParamSet:Bob:Alice
    ok 39 - Compute public key:id-tc26-gost-3410-2012-256-paramSetD:Alice
    ok 40 - Compute public key:id-tc26-gost-3410-2012-256-paramSetD:Bob
    ok 41 - Compute shared key:id-tc26-gost-3410-2012-256-paramSetD:Alice:Bob
    ok 42 - Compute shared key:id-tc26-gost-3410-2012-256-paramSetD:Bob:Alice
    ok 43 - Compute public key:id-tc26-gost-3410-2012-256-paramSetC:Alice
    ok 44 - Compute public key:id-tc26-gost-3410-2012-256-paramSetC:Bob
    ok 45 - Compute shared key:id-tc26-gost-3410-2012-256-paramSetC:Alice:Bob
    ok 46 - Compute shared key:id-tc26-gost-3410-2012-256-paramSetC:Bob:Alice
    ok 47 - Compute public key:id-GostR3410-2001-CryptoPro-C-ParamSet:Alice
    ok 48 - Compute public key:id-GostR3410-2001-CryptoPro-C-ParamSet:Bob
    ok 49 - Compute shared key:id-GostR3410-2001-CryptoPro-C-ParamSet:Alice:Bob
    ok 50 - Compute shared key:id-GostR3410-2001-CryptoPro-C-ParamSet:Bob:Alice
    ok 51 - Compute public key:id-tc26-gost-3410-2012-512-paramSetC:Alice
    ok 52 - Compute public key:id-tc26-gost-3410-2012-512-paramSetC:Bob
    ok 53 - Compute shared key:id-tc26-gost-3410-2012-512-paramSetC:Alice:Bob
    ok 54 - Compute shared key:id-tc26-gost-3410-2012-512-paramSetC:Bob:Alice
    ok 55 - Compute shared key:id-tc26-gost-3410-2012-512-paramSetC:Alice:Malice
    ok 56 - Compute shared key:id-tc26-gost-3410-2012-512-paramSetC:Bob:Malice
    ok 57 - Compute public key:id-GostR3410-2001-CryptoPro-XchB-ParamSet:Alice
    ok 58 - Compute public key:id-GostR3410-2001-CryptoPro-XchB-ParamSet:Bob
    ok 59 - Compute shared 
key:id-GostR3410-2001-CryptoPro-XchB-ParamSet:Alice:Bob
    ok 60 - Compute shared 
key:id-GostR3410-2001-CryptoPro-XchB-ParamSet:Bob:Alice
    ok 61 - Compute public key:id-tc26-gost-3410-2012-256-paramSetB:Alice
    ok 62 - Compute public key:id-tc26-gost-3410-2012-256-paramSetB:Bob
    ok 63 - Compute shared key:id-tc26-gost-3410-2012-256-paramSetB:Alice:Bob
    ok 64 - Compute shared key:id-tc26-gost-3410-2012-256-paramSetB:Bob:Alice
}
ok

Test Summary Report
-------------------
/<<PKGBUILDDIR>>/test/01-digest.t  (Wstat: 256 (exited 1) Tests: 16 Failed: 1)
  Failed test:  14
  Non-zero exit status: 1
Files=6, Tests=92,  2 wallclock secs ( 0.02 usr  0.01 sys +  0.79 cusr  0.43 
csys =  1.25 CPU)
Result: FAIL


88% tests passed, 2 tests failed out of 17

Total Test time (real) =   1.50 sec

The following tests FAILED:
         16 - engine (Failed)
         17 - provider (Failed)
Errors while running CTest
make[1]: *** [Makefile:74: test] Error 8
make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
dh_auto_test: error: cd obj-x86_64-linux-gnu && make -j2 test ARGS\+=--verbose 
ARGS\+=-j2 returned exit code 2
make: *** [debian/rules:26: binary] Error 255
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

Reply via email to