hsts-test failure
When I execute the libsoup test, the following error occurs:
+ /usr/bin/meson test -C x86_64-linux-gnu --num-processes 16 --print-errorlogs
[ 126s] ninja: Entering directory `/home/abuild/rpmbuild/BUILD/libsoup-2.71.0/x86_64-linux-gnu'
[ 126s] ninja: no work to do.
[ 140s] 1/32 cache-test OK 0.00 s
[ 140s] 2/32 chunk-test OK 0.00 s
[ 140s] 3/32 chunk-io-test OK 0.00 s
[ 140s] 4/32 coding-test OK 0.00 s
[ 140s] 5/32 context-test OK 0.00 s
[ 140s] 6/32 continue-test OK 0.00 s
[ 140s] 7/32 cookies-test OK 0.00 s
[ 140s] 8/32 date-test OK 0.00 s
[ 140s] 9/32 forms-test OK 0.00 s
[ 140s] 10/32 header-parsing-test OK 0.00 s
[ 140s] 11/32 hsts-test FAIL 0.00 s (exit status 1)
[ 140s] 12/32 hsts-db-test OK 0.00 s
[ 140s] 13/32 misc-test OK 0.00 s
[ 140s] 14/32 multipart-test OK 0.00 s
[ 140s] 15/32 no-ssl-test OK 0.00 s
[ 140s] 16/32 ntlm-test OK 0.00 s
[ 140s] 17/32 redirect-test OK 0.00 s
[ 140s] 18/32 requester-test OK 0.00 s
[ 140s] 19/32 resource-test OK 0.00 s
[ 140s] 20/32 samesite-test OK 0.00 s
[ 140s] 21/32 session-test OK 0.00 s
[ 140s] 22/32 server-auth-test OK 0.00 s
[ 140s] 23/32 server-test OK 0.00 s
[ 140s] 24/32 sniffing-test OK 0.00 s
[ 140s] 25/32 socket-test OK 0.00 s
[ 140s] 26/32 ssl-test OK 0.00 s
[ 140s] 27/32 streaming-test OK 0.00 s
[ 140s] 28/32 timeout-test OK 0.00 s
[ 140s] 29/32 tld-test OK 0.00 s
[ 140s] 30/32 uri-parsing-test OK 0.00 s
[ 140s] 31/32 websocket-test OK 0.00 s
[ 140s] 32/32 brotli-decompressor-test OK 0.00 s
[ 140s]
[ 140s] Ok: 31
[ 140s] Expected Fail: 0
[ 140s] Fail: 1
[ 140s] Unexpected Pass: 0
[ 140s] Skipped: 0
[ 140s] Timeout: 0
[ 140s]
[ 140s]
[ 140s] The output from the failed tests:
[ 140s]
[ 140s] 11/32 hsts-test FAIL 0.00 s (exit status 1)
--- Listing only the last 100 lines from a long log. ---
[ 140s] # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
[ 140s] # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
[ 140s] # GLib-GIO-DEBUG: GSocketClient: Connection successful!
[ 140s] # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
[ 140s] # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
[ 140s] # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
[ 140s] # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
[ 140s] # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
[ 140s] # GLib-GIO-DEBUG: GSocketClient: Connection successful!
[ 140s] ok 15 /hsts/invalid-values
[ 140s] # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
[ 140s] # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
[ 140s] # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
[ 140s] # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
[ 140s] # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
[ 140s] # GLib-GIO-DEBUG: GSocketClient: Connection successful!
[ 140s] # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
[ 140s] # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
[ 140s] # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
[ 140s] # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
[ 140s] # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
[ 140s] # GLib-GIO-DEBUG: GSocketClient: Connection successful!
[ 140s] ok 16 /hsts/extra-values
[ 140s] # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
[ 140s] # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
[ 140s] # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
[ 140s] # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
[ 140s] # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
[ 140s] # GLib-GIO-DEBUG: GSocketClient: Connection successful!
[ 140s] # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
[ 140s] # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
[ 140s] # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
[ 140s] # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
[ 140s] # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
[ 140s] # GLib-GIO-DEBUG: GSocketClient: Connection successful!
[ 140s] ok 17 /hsts/duplicated-directives
[ 140s] # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
[ 140s] # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
[ 140s] # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
[ 140s] # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
[ 140s] # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
[ 140s] # GLib-GIO-DEBUG: GSocketClient: Connection successful!
[ 140s] ok 18 /hsts/case-insensitive-directives
[ 140s] # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
[ 140s] # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
[ 140s] # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
[ 140s] # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
[ 140s] # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
[ 140s] # GLib-GIO-DEBUG: GSocketClient: Connection successful!
[ 140s] ok 19 /hsts/optional-quotations
[ 140s] # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
[ 140s] # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
[ 140s] # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
[ 140s] # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
[ 140s] # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
[ 140s] # GLib-GIO-DEBUG: GSocketClient: Connection successful!
[ 140s] # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
[ 140s] # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
[ 140s] # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
[ 140s] # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
[ 140s] # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
[ 140s] # GLib-GIO-DEBUG: GSocketClient: Connection successful!
[ 140s] ok 20 /hsts/ip-address
[ 140s] # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
[ 140s] # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
[ 140s] # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
[ 140s] # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
[ 140s] # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
[ 140s] # GLib-GIO-DEBUG: GSocketClient: Connection successful!
[ 140s] # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
[ 140s] # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
[ 140s] # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
[ 140s] # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
[ 140s] # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
[ 140s] # GLib-GIO-DEBUG: GSocketClient: Connection successful!
[ 140s] ok 21 /hsts/utf8-address
[ 140s] # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
[ 140s] # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
[ 140s] # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
[ 140s] # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
[ 140s] # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
[ 140s] # GLib-GIO-DEBUG: GSocketClient: Connection successful!
[ 140s] # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
[ 140s] # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
[ 140s] # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
[ 140s] # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
[ 140s] # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
[ 140s] # GLib-GIO-DEBUG: GSocketClient: Connection successful!
[ 140s] ok 22 /hsts/session-policy
[ 140s] ok 23 /hsts/idna-addresses
[ 140s] ok 24 /hsts/get-domains
[ 140s] ok 25 /hsts/get-policies
[ 140s] # End of hsts tests
[ 140s] --- stderr ---
[ 140s] **
[ 140s] ERROR:../tests/hsts-test.c:112:session_get_uri: Unexpected status 200 OK (expected 301 Moved Permanently)
[ 140s] **
[ 140s] ERROR:../tests/hsts-test.c:112:session_get_uri: Unexpected status 200 OK (expected 301 Moved Permanently)
[ 140s] -------
Edited by Andre Klapper