Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 691702 - net-libs/neon-0.30.2: Run subset of test suite
Summary: net-libs/neon-0.30.2: Run subset of test suite
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal
Assignee: Arfrever Frehtes Taifersar Arahesis
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-08-07 17:33 UTC by Arfrever Frehtes Taifersar Arahesis
Modified: 2022-02-01 18:19 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arfrever Frehtes Taifersar Arahesis 2019-08-07 17:33:27 UTC
Test suite has been restricted in an older version many years ago due to ever-present tests failures.

Test suite in net-libs/neon-0.30.2 (with dev-libs/openssl-1.1.1c and FEATURES="network-sandbox") prints the following and next hangs:

...
uri-tests............. 15/15 passed 
util-tests............  8/ 8 passed 
string-tests.......... 27/27 passed 
socket................ 45/45 passed 
session...............  8/ 8 passed 
request............... 90/90 passed 
auth.................. 14/14 passed 
basic................. 11/11 passed 
stubs.................  1/ 1 passed 
redirect..............  6/ 6 passed 
socket-ssl............ 21/46 SKIPPED - ssl_session_id (zero-length session ID, cannot test further)
socket-ssl............ 39/46 FAIL - ssl_truncate (socket got error -1 not truncation: `SSL error: The specified session has been invalidated for some reason.')
socket-ssl............ 44/46 passed, 1 failed (1 skipped) 
ssl................... 12/65 WARNING: no friendly name given
ssl................... 14/65 FAIL - simple (line 227: HTTP error:
Certificate verification error: signed using insecure algorithm)
ssl................... 15/65 FAIL - simple_eof (line 227: HTTP error:
Certificate verification error: signed using insecure algorithm)
ssl................... 16/65 FAIL - empty_truncated_eof (line 227: HTTP error:
Certificate verification error: signed using insecure algorithm)
ssl................... 19/65 FAIL - intermediary (line 227: HTTP error:
Certificate verification error: signed using insecure algorithm)
ssl................... 20/65 server child failed (client_cert_pkcs12): SSL accept failed: Client certificate verification failed
ssl................... 20/65 FAIL - client_cert_pkcs12 (server process terminated abnormally: FAIL (1))
ssl................... 21/65 server child failed (ccert_unencrypted): SSL accept failed: Client certificate verification failed
ssl................... 21/65 FAIL - ccert_unencrypted (server process terminated abnormally: FAIL (1))
ssl................... 22/65 server child failed (client_cert_provided): SSL accept failed: Client certificate verification failed
ssl................... 22/65 FAIL - client_cert_provided (server process terminated abnormally: FAIL (1))
ssl................... 23/65 server child failed (cc_provided_dnames): SSL accept failed: Client certificate verification failed
ssl................... 23/65 FAIL - cc_provided_dnames (server process terminated abnormally: FAIL (1))
ssl................... 24/65 FAIL - no_client_cert (error message was 'Certificate verification error: signed using insecure algorithm', missing 'client certificate was requested')
ssl................... 25/65 malloc(): invalid size (unsorted)
Comment 1 Arfrever Frehtes Taifersar Arahesis 2019-08-07 17:44:47 UTC
Actually above result is with USE="gnutls" and net-libs/gnutls-3.6.7.

With USE="-gnutls" and dev-libs/openssl-1.1.1c test suite fails but does not hang:

uri-tests............. 15/15 passed 
util-tests............  8/ 8 passed 
string-tests.......... 27/27 passed 
socket................ 45/45 passed 
session...............  8/ 8 passed 
request............... 90/90 passed 
auth.................. 14/14 passed 
basic................. 11/11 passed 
stubs.................  1/ 1 passed 
redirect..............  6/ 6 passed 
socket-ssl............ 21/46 SKIPPED - ssl_session_id (zero-length session ID, cannot test further)
socket-ssl............ 35/46 FAIL - blocking (ne_sock_block got 0 not timeout: with non-zero timeout)
socket-ssl............ 40/46 FAIL - read_timeout (operation did not timeout: got -3 (Connection closed))
socket-ssl............ 41/46 FAIL - peek_timeout (operation did not timeout: got -3 (Connection closed))
socket-ssl............ 42/46 FAIL - readline_timeout (operation did not timeout: got -3 (Connection closed))
socket-ssl............ 43/46 FAIL - fullread_timeout (operation did not timeout: got -3 (Connection closed))
socket-ssl............ 44/46 FAIL - block_timeout (operation did not timeout: got 0 (Connection refused))
socket-ssl............ 39/46 passed, 6 failed (1 skipped) 
ssl................... 24/65 FAIL - no_client_cert (error message was 'Could not read status line: SSL error: tlsv13 alert certificate required', missing 'client certificate was requested')
ssl................... 55/65 FAIL - fail_nul_cn (verification flags were 22 not 4)
ssl................... 56/65 FAIL - fail_nul_san (verification flags were 22 not 4)
ssl................... 64/65 server child failed (pkcs11): SSL accept failed: SSL error: wrong signature size
ssl................... 64/65 FAIL - pkcs11 (server process terminated abnormally: FAIL (1))
ssl................... 65/65 server child failed (pkcs11_dsa): SSL accept failed: SSL error: peer did not return a certificate
ssl................... 65/65 XFAIL - pkcs11_dsa (server process terminated abnormally: FAIL (1))
ssl................... 61/65 passed, 4 failed 
compress.............. 21/21 passed 
xml...................  5/ 5 passed 
xmlreq................  3/ 3 passed 
oldacl................  4/ 4 passed 
acl3744...............  4/ 4 passed 
props.................  7/ 7 passed 
lock.................. 14/14 passed 
make[1]: *** [Makefile:74: check] Error 4
make[1]: Opuszczenie katalogu '/var/tmp/portage/net-libs/neon-0.30.2/work/neon-0.30.2-abi_x86_64.amd64/test'
make: *** [Makefile:71: check] Error 2
Comment 2 Arfrever Frehtes Taifersar Arahesis 2022-02-01 08:50:30 UTC
neon-0.32.2[gnutls,pkcs11] + net-libs/gnutls-3.7.3:

uri-tests............. 15/15 passed 
util-tests............  9/ 9 passed 
string-tests.......... 31/32 SKIPPED - strhash_sha_512_256 (SHA-2-512/256 not supported)
string-tests.......... 31/32 passed (1 skipped) 
socket................  8/47 WARNING: reverse lookup for 127.0.0.1 got '...'
socket................ 47/47 passed (1 warning)
session...............  8/ 8 passed 
request............... 92/92 passed 
auth..................  9/21 SKIPPED - digest_sha512_256 (SHA-512/256 not supported)
auth.................. 20/21 passed (1 skipped) 
basic................. 11/11 passed 
stubs.................  1/ 1 passed 
redirect..............  6/ 6 passed 
socket-ssl............  9/48 WARNING: reverse lookup for 127.0.0.1 got '...'
socket-ssl............ 48/48 passed (1 warning)
ssl................... 13/63 WARNING: no friendly name given
ssl................... 62/63 server child failed (pkcs11): SSL accept failed: SSL error: Certificate is required.
ssl................... 62/63 FAIL - pkcs11 (line 277: HTTP error:
Could not read status line: connection was closed by server)
ssl................... 63/63 server child failed (pkcs11_dsa): SSL accept failed: SSL error: Certificate is required.
ssl................... 63/63 XFAIL - pkcs11_dsa (line 277: HTTP error:
Could not read status line: connection was closed by server)
ssl................... 62/63 passed, 1 failed (1 warning)
compress.............. 22/22 passed 
xml...................  5/ 5 passed 
xmlreq................  3/ 3 passed 
oldacl................  4/ 4 passed 
acl3744...............  4/ 4 passed 
props.................  7/ 7 passed 
lock.................. 16/16 passed 
make[1]: *** [Makefile:74: check] Error 1
Comment 3 Arfrever Frehtes Taifersar Arahesis 2022-02-01 08:51:49 UTC
neon-0.32.2[gnutls,-pkcs11] + net-libs/gnutls-3.7.3:

uri-tests............. 15/15 passed 
util-tests............  9/ 9 passed 
string-tests.......... 31/32 SKIPPED - strhash_sha_512_256 (SHA-2-512/256 not supported)
string-tests.......... 31/32 passed (1 skipped) 
socket................  8/47 WARNING: reverse lookup for 127.0.0.1 got '...'
socket................ 47/47 passed (1 warning)
session...............  8/ 8 passed 
request............... 92/92 passed 
auth..................  9/21 SKIPPED - digest_sha512_256 (SHA-512/256 not supported)
auth.................. 20/21 passed (1 skipped) 
basic................. 11/11 passed 
stubs.................  1/ 1 passed 
redirect..............  6/ 6 passed 
socket-ssl............  9/48 WARNING: reverse lookup for 127.0.0.1 got '...'
socket-ssl............ 48/48 passed (1 warning)
ssl................... 13/63 WARNING: no friendly name given
ssl................... 62/63 SKIPPED - pkcs11 (pakchois library required for PKCS#11 support)
ssl................... 63/63 SKIPPED - pkcs11_dsa (pakchois library required for PKCS#11 support)
ssl................... 61/63 passed (2 skipped) (1 warning)
compress.............. 22/22 passed 
xml...................  5/ 5 passed 
xmlreq................  3/ 3 passed 
oldacl................  4/ 4 passed 
acl3744...............  4/ 4 passed 
props.................  7/ 7 passed 
lock.................. 16/16 passed
Comment 4 Arfrever Frehtes Taifersar Arahesis 2022-02-01 08:53:18 UTC
neon-0.32.2[-gnutls,pkcs11] + dev-libs/openssl-1.1.1m:

uri-tests............. 15/15 passed 
util-tests............  9/ 9 passed 
string-tests.......... 32/32 passed 
socket................  8/47 WARNING: reverse lookup for 127.0.0.1 got '...'
socket................ 47/47 passed (1 warning)
session...............  8/ 8 passed 
request............... 92/92 passed 
auth.................. 21/21 passed 
basic................. 11/11 passed 
stubs.................  1/ 1 passed 
redirect..............  6/ 6 passed 
socket-ssl............  9/48 WARNING: reverse lookup for 127.0.0.1 got '...'
socket-ssl............ 22/48 SKIPPED - ssl_session_id (zero-length session ID, cannot test further)
socket-ssl............ 47/48 passed (1 skipped) (1 warning)
ssl................... 63/63 server child failed (pkcs11_dsa): SSL accept failed: SSL error: peer did not return a certificate
ssl................... 63/63 XFAIL - pkcs11_dsa (line 277: HTTP error:
Could not read status line (TLS client certificate was requested): SSL error: tlsv13 alert certificate required)
ssl................... 63/63 passed 
compress.............. 22/22 passed 
xml...................  5/ 5 passed 
xmlreq................  3/ 3 passed 
oldacl................  4/ 4 passed 
acl3744...............  4/ 4 passed 
props.................  7/ 7 passed 
lock.................. 16/16 passed
Comment 5 Arfrever Frehtes Taifersar Arahesis 2022-02-01 08:54:21 UTC
neon-0.32.2[-gnutls,-pkcs11] + dev-libs/openssl-1.1.1m:

uri-tests............. 15/15 passed 
util-tests............  9/ 9 passed 
string-tests.......... 32/32 passed 
socket................  8/47 WARNING: reverse lookup for 127.0.0.1 got '...'
socket................ 47/47 passed (1 warning)
session...............  8/ 8 passed 
request............... 92/92 passed 
auth.................. 21/21 passed 
basic................. 11/11 passed 
stubs.................  1/ 1 passed 
redirect..............  6/ 6 passed 
socket-ssl............  9/48 WARNING: reverse lookup for 127.0.0.1 got '...'
socket-ssl............ 22/48 SKIPPED - ssl_session_id (zero-length session ID, cannot test further)
socket-ssl............ 47/48 passed (1 skipped) (1 warning)
ssl................... 62/63 SKIPPED - pkcs11 (pakchois library required for PKCS#11 support)
ssl................... 63/63 SKIPPED - pkcs11_dsa (pakchois library required for PKCS#11 support)
ssl................... 61/63 passed (2 skipped) 
compress.............. 22/22 passed 
xml...................  5/ 5 passed 
xmlreq................  3/ 3 passed 
oldacl................  4/ 4 passed 
acl3744...............  4/ 4 passed 
props.................  7/ 7 passed 
lock.................. 16/16 passed
Comment 6 Arfrever Frehtes Taifersar Arahesis 2022-02-01 10:03:40 UTC
https://github.com/notroj/neon/issues/72
Comment 7 Larry the Git Cow gentoo-dev 2022-02-01 18:19:16 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed112f05668eecfd0064ab564684ad89bf14bc3b

commit ed112f05668eecfd0064ab564684ad89bf14bc3b
Author:     Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>
AuthorDate: 2022-02-01 01:00:00 +0000
Commit:     Jakov Smolić <jsmolic@gentoo.org>
CommitDate: 2022-02-01 18:10:31 +0000

    net-libs/neon: Enable test suite
    
    Closes: https://bugs.gentoo.org/691702
    Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>
    Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>

 net-libs/neon/neon-0.32.2.ebuild | 20 ++++++++++++++++----
 1 file changed, 16 insertions(+), 4 deletions(-)