2.67 tests failure when building on current Ubuntu
Trying to build 2.67 on Ubuntu fails with some test errors
11/40 hsts-test FAIL 13.75 s (exit status 1)
--- command ---
MALLOC_CHECK_='2' G_DEBUG='gc-friendly' G_TEST_BUILDDIR='/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/tests' MALLOC_PERTURB_='' LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/libsoup' G_TEST_SRCDIR='/<<PKGBUILDDIR>>/tests' /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/tests/hsts-test
--- stdout ---
# random seed: R02Se4b0ced4b1419c5ef120e6c12fff376e
# GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation gnutls (GTlsBackendGnutls) for ‘gio-tls-backend’
1..25
# Start of hsts tests
ok 1 /hsts/case-insensitive-header
# ERROR:../tests/hsts-test.c:112:session_get_uri: Unexpected status 2 Error resolving “subdomain.localhost”: Name or service not known (expected 301 Moved Permanently)
not ok 2 /hsts/basic
ok 3 /hsts/expire
ok 4 /hsts/delete
ok 5 /hsts/replace
ok 6 /hsts/update
ok 7 /hsts/set_and_delete
ok 8 /hsts/no_hsts_header
ok 9 /hsts/persistency
# ERROR:../tests/hsts-test.c:112:session_get_uri: Unexpected status 2 Error resolving “subdomain.localhost”: Name or service not known (expected 6 SSL handshake failed)
not ok 10 /hsts/subdomains
ok 11 /hsts/superdomain
ok 12 /hsts/multiple-headers
ok 13 /hsts/insecure-sts
ok 14 /hsts/missing-values
ok 15 /hsts/invalid-values
ok 16 /hsts/extra-values
ok 17 /hsts/duplicated-directives
ok 18 /hsts/case-insensitive-directives
ok 19 /hsts/optional-quotations
ok 20 /hsts/ip-address
# ERROR:../tests/hsts-test.c:112:session_get_uri: Unexpected status 2 Error resolving “xn--85x722f.xn--fiqs8s.localhost”: Name or service not known (expected 6 SSL handshake failed)
not ok 21 /hsts/utf8-address
ok 22 /hsts/session-policy
ok 23 /hsts/idna-addresses
ok 24 /hsts/get-domains
ok 25 /hsts/get-policies
# End of hsts tests
--- stderr ---
Build log from 2.67.91