GNOME Bugzilla – Bug 698220
libsoup-2.42.1: tests fail
Last modified: 2013-04-18 21:17:56 UTC
make[3]: Entering directory `/var/tmp/portage/net-libs/libsoup-2.42.1/work/libsoup-2.42.1/tests' SKIP: auth-test cache-test: OK PASS: cache-test chunk-test: OK PASS: chunk-test coding-test: OK PASS: coding-test connection-test: OK PASS: connection-test context-test: OK PASS: context-test continue-test: OK PASS: continue-test cookies-test: OK PASS: cookies-test date: OK PASS: date forms-test: OK PASS: forms-test header-parsing: OK PASS: header-parsing (misc-test:7639): libsoup-CRITICAL **: soup_server_add_handler: assertion `SOUP_IS_SERVER (server)' failed (misc-test:7639): libsoup-CRITICAL **: soup_server_run_async: assertion `SOUP_IS_SERVER (server)' failed (misc-test:7639): libsoup-CRITICAL **: soup_server_get_port: assertion `SOUP_IS_SERVER (server)' failed (misc-test:7639): GLib-GObject-CRITICAL **: g_object_add_weak_pointer: assertion `G_IS_OBJECT (object)' failed (misc-test:7639): GLib-GObject-CRITICAL **: g_object_get_data: assertion `G_IS_OBJECT (object)' failed (misc-test:7639): libsoup-CRITICAL **: soup_server_quit: assertion `SOUP_IS_SERVER (server)' failed (misc-test:7639): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed misc-test: 9 error(s). Run with '-d' for details FAIL: misc-test multipart-test: OK PASS: multipart-test ntlm-test: OK PASS: ntlm-test SKIP: proxy-test SKIP: pull-api SKIP: range-test redirect-test: OK PASS: redirect-test requester-test: OK PASS: requester-test resource-test: OK PASS: resource-test session-test: OK PASS: session-test server-auth-test: OK PASS: server-auth-test sniffing-test: OK PASS: sniffing-test socket-test: OK PASS: socket-test ssl-test: OK PASS: ssl-test streaming-test: OK PASS: streaming-test timeout-test: OK PASS: timeout-test tld-test: OK PASS: tld-test uri-parsing: OK PASS: uri-parsing SKIP: xmlrpc-server-test SKIP: xmlrpc-test ======================================================================== 1 of 25 tests failed (6 tests were not run) Please report to http://bugzilla.gnome.org/enter_bug.cgi?product=libsoup ======================================================================== make[3]: *** [check-TESTS] Error 1 make[3]: Leaving directory `/var/tmp/portage/net-libs/libsoup-2.42.1/work/libsoup-2.42.1/tests' make[2]: *** [check-am] Error 2 make[2]: Leaving directory `/var/tmp/portage/net-libs/libsoup-2.42.1/work/libsoup-2.42.1/tests' make[1]: *** [check] Error 2 make[1]: Leaving directory `/var/tmp/portage/net-libs/libsoup-2.42.1/work/libsoup-2.42.1/tests' make: *** [check-recursive] Error 1
what configure options? and do you have any local patches? please attach the output of "./misc-test -d"
No local patches, this are the options: ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --disable-silent-rules --disable-dependency-tracking --disable-gtk-doc --disable-static --disable-tls-check --with-gnome --without-apache-httpd --enable-introspection --without-ntlm-auth
Created attachment 241766 [details] output
oops, it tries to create an SSL server whether or not you have glib-networking SSL support available...
I have glib-networking-2.36.0 with ssl support compiled in :/
Oh... the warnings were at the top, so I was assuming it was warning about the SoupServers that were created before any tests ran, but I guess it's actually complaining about the servers in the IPv6 test: IPv6 server test HTTP/1.1 request failed: 4 Cannot connect to destination (::1) HTTP/1.0 request failed: 4 Cannot connect to destination (::1) and you just ran it as "./misc-test -d >& logfile" or something like that, and stdout and stderr got interleaved incorrectly... So, I guess you have IPv6 support disabled?
Created attachment 241856 [details] [review] misc-test: skip the IPv6 server test if there's no IPv6 support ==== does this fix it?
Probably like https://bugzilla.gnome.org/show_bug.cgi?id=667468 then Let me try
It works fine, thanks a lot :D
Attachment 241856 [details] pushed as ce2043a - misc-test: skip the IPv6 server test if there's no IPv6 support