GNOME Bugzilla – Bug 680496
Can't compile - 1 of 9 tests failed - rygel-http-post-test
Last modified: 2015-04-24 09:15:58 UTC
Here's the output from make: make[3]: Entering directory `/home/ndbroadbent/code/rygel/tests' make[3]: `rygel-http-item-uri-test' is up to date. make[3]: `rygel-http-response-test' is up to date. make[3]: `rygel-http-byte-seek-test' is up to date. make[3]: `rygel-http-time-seek-test' is up to date. make[3]: `rygel-http-get-test' is up to date. make[3]: `rygel-http-post-test' is up to date. make[3]: `rygel-searchable-container-test' is up to date. make[3]: `rygel-item-creator-test' is up to date. make[3]: Leaving directory `/home/ndbroadbent/code/rygel/tests' make check-TESTS make[3]: Entering directory `/home/ndbroadbent/code/rygel/tests' PASS: rygel-http-item-uri-test PASS: rygel-http-response-test PASS: rygel-http-byte-seek-test PASS: rygel-http-time-seek-test (process:17996): Rygel-WARNING **: rygel-http-request_http-get.vala:97: Invalid Request (process:17996): Rygel-WARNING **: rygel-http-request_http-get.vala:97: Interactive mode not supported for 'VideoItem' (process:17996): Rygel-WARNING **: rygel-http-request_http-get.vala:97: Interactive mode not supported for 'VideoItem' (process:17996): Rygel-WARNING **: rygel-http-request_http-get.vala:97: No Thumbnail available for item 'AudioItem (process:17996): Rygel-WARNING **: rygel-http-request_http-get.vala:97: No Thumbnail available for item 'AudioItem (process:17996): Rygel-WARNING **: rygel-http-request_http-get.vala:97: Invalid seek request (process:17996): Rygel-WARNING **: rygel-http-request_http-get.vala:97: Invalid seek request PASS: rygel-http-get-test PASS: rygel-album-art-spec-test (process:18002): Rygel-CRITICAL **: rygel-http-post-test.vala:88: Timeout FAIL: rygel-http-post-test PASS: rygel-searchable-container-test (process:18027): Rygel-WARNING **: Failed to create item under '(null)': No such object (process:18027): Rygel-WARNING **: Failed to create item under '0': Comments not allowed in XML (process:18027): Rygel-WARNING **: Failed to create item under '0': 'Elements' argument missing. (process:18027): Rygel-WARNING **: Failed to create item under '0': Bad metadata (process:18027): Rygel-WARNING **: Failed to create item under '0': No items in DIDL-Lite from client: '<?xml version="1.0" encoding="UTF-8"?> <DIDL-Lite xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/" xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/ http://www.upnp.org/schemas/av/didl-lite-v2-20060531.xsd urn:schemas-upnp-org:metadata-1-0/upnp/ http://www.upnp.org/schemas/av/upnp-v2-20060531.xsd"> </DIDL-Lite> ' (process:18027): Rygel-WARNING **: Failed to create item under '0': Bad metadata (process:18027): Rygel-WARNING **: Failed to create item under '0': Cannot create restricted item (process:18027): Rygel-WARNING **: Failed to create item under '0': @id must be set to "" in CreateItem (process:18027): Rygel-WARNING **: Failed to create item under '0': @id must be set to "" in CreateItem (process:18027): Rygel-WARNING **: Failed to create item under '0': dc:title must be set in CreateItem (process:18027): Rygel-WARNING **: Failed to create item under '0': Invalid upnp:class given (process:18027): Rygel-WARNING **: Failed to create item under '0': Invalid upnp:class given (process:18027): Rygel-WARNING **: Failed to create item under '0': Invalid upnp:class given (process:18027): Rygel-WARNING **: Failed to create item under '0': No such object (process:18027): Rygel-WARNING **: Failed to create item under '0': No such object (process:18027): Rygel-WARNING **: Failed to create item under '0': Object creation in (null) not allowed (process:18027): Rygel-WARNING **: Failed to create item under '0': Object creation in (null) not allowed (process:18027): Rygel-WARNING **: Failed to create item under '0': Creating of objects with class object.item.audioItem is not supported in (null) (process:18027): Rygel-WARNING **: Failed to create item under 'DLNA.ORG_AnyContainer': No such object (process:18027): Rygel-WARNING **: Failed to create item under 'DLNA.ORG_AnyContainer': 'object.item.audioItem' UPnP class unsupported PASS: rygel-item-creator-test ====================================================================== 1 of 9 tests failed Please report to http://bugzilla.gnome.org/enter_bug.cgi?product=Rygel ====================================================================== make[3]: *** [check-TESTS] Error 1 make[3]: Leaving directory `/home/ndbroadbent/code/rygel/tests' make[2]: *** [check-am] Error 2 make[2]: Leaving directory `/home/ndbroadbent/code/rygel/tests' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/ndbroadbent/code/rygel' make: *** [all] Error 2
$ valac --version => Vala 0.16.1
hm, works here. Although we have reports of that failing on some exotic debian arch builders
Does running gst-inspect-0.10 before running the tests fix this?
The same test fails for me (on Fedora 17 in jhbuild), though the output looks slightly different: make[3]: Entering directory `/home/murrayc/checkout/gnome/github/rygel/tests' PASS: rygel-http-item-uri-test PASS: rygel-http-response-test PASS: rygel-http-byte-seek-test PASS: rygel-http-time-seek-test (process:5743): Rygel-WARNING **: rygel-http-request_http-get.vala:97: Invalid Request (process:5743): Rygel-WARNING **: rygel-http-request_http-get.vala:97: Interactive mode not supported for 'VideoItem' ** Rygel:ERROR:/home/murrayc/checkout/gnome/github/rygel/tests/rygel-http-get-test.vala:224:rygel_http_get_test_handle_client_message_co: assertion failed: (msg.status_code == this.current_request.expected_code) /bin/sh: line 5: 5743 Aborted (core dumped) ${dir}$tst FAIL: rygel-http-get-test
(In reply to comment #3) > Does running gst-inspect-0.10 before running the tests fix this? Not for me. Here is the gdb backtrace at the segfault, though I guess the warnings are where things first go wrong:
+ Trace 230876
No, the warnings are expected, that's "bounds checking".
I think the failure of the GET test is different from the POST test failure in the original report.
Created attachment 224921 [details] [review] Fixes RygelHTTPGetTest in Murray's case. No need to start async client.run again - it is already done in start_next_test_request.
No open questions here; removing NEEDINFO status
Tests need rework after 0.26 release.