GNOME Bugzilla – Bug 783542
souphttpsrc: test_https unit test failure
Last modified: 2018-02-05 08:48:03 UTC
elements/souphttpsrc.c:244:F:general:test_https:0: Assertion 'run_test (TRUE, "/", 0)' failed The reason seems to be the following: 0:00:00.125483546 30887 0x2445e30 WARN souphttpsrc gstsouphttpsrc.c:1285:gst_soup_http_src_parse_status:<souphttpsrc0@0x244f4f0> error: Secure connection setup failed. 0:00:00.125495232 30887 0x2445e30 WARN souphttpsrc gstsouphttpsrc.c:1285:gst_soup_http_src_parse_status:<souphttpsrc0@0x244f4f0> error: Unacceptable TLS certificate (6), URL: https://127.0.0.1:46469/, Redirect to: (NULL)
Note: also happens with 1.12.0
Issue seems to be with recent gnutls (3.5.x) . The certificates don't have a cipher supported by recent versions.
Fixed by these commits : commit aa8ac28d86a5c45314a6d62cfd579842f8aecad2 Author: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com> Date: Tue Jun 20 16:39:36 2017 +0200 tests: souphttpsrc: Avoid deprecated ssl-ca-file property SoupSession's ssl-ca-file property is deprecated. Use the recommended tls-database property. This is a bit more complex as it requires creating a GTlsFileDatabase object for an absolute (!) path to the CA certificates file. https://bugzilla.gnome.org/show_bug.cgi?id=784005 commit 9922091f1b50bf6c48ffb25be4e3bccabcee209c Author: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com> Date: Tue Jun 20 16:37:55 2017 +0200 tests: souphttpsrc: Avoid deprecated server ssl properties The ssl-cert-file and ssl-key-file properties are deprecated. Use the soup_server_set_ssl_cert_file function to load the files. https://bugzilla.gnome.org/show_bug.cgi?id=784005 commit 27a0ea8cf54f580f2babb03ddadccb7ea7616f56 Author: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com> Date: Tue Jun 20 16:34:41 2017 +0200 tests: souphttpsrc: Make ssl_cert/key_file static Just a bit of cleanup. https://bugzilla.gnome.org/show_bug.cgi?id=784005
I also have this failure in Arch Linux. I get the following in my test-suite.log file: FAIL: elements/souphttpsrc ========================== Running suite(s): souphttpsrc 92%: Checks: 14, Failures: 1, Errors: 0 elements/souphttpsrc.c:385:F:internet:test_icy_stream:0: Assertion 'caps != NULL' failed FAIL elements/souphttpsrc (exit status: 1) I have gnutls 3.5.17 installed. -Dave