Closed Whissi closed 2 years ago
Is this issue still there or can it be closed. I think the later.
I imagine this is gentoo specific issue, will be getting blocked by the build sandboxing.
Just tested with debian with deactivated network. test-init works. The one failing is url-test which takes around 2 Minutes. So I guess init was fixed and without network I would expect a test that does name-lookup to fail.
Just did a clean checkout from master to create a package for Haiku, we are having issues on 32bit Haiku with the same error messages (or simular), have been looking around for this but haven't managed to find a fix (gerbera fails to launch with the same error code) EDIT --enable-debug was used with configure EDIT2 doing a fresh build on a nighly version for Haiku made gerbera work, so that one is ok
Terminal output when the tests have been completed:
Making check in ixml
make[1]: Entering directory '/sources/pupnp-0fa0bfcee5c387d8928b36c4db0ec2d160c04aab/ixml'
make test_document
make[2]: Entering directory '/sources/pupnp-0fa0bfcee5c387d8928b36c4db0ec2d160c04aab/ixml'
make[2]: 'test_document' is up to date.
make[2]: Leaving directory '/sources/pupnp-0fa0bfcee5c387d8928b36c4db0ec2d160c04aab/ixml'
make check-TESTS
make[2]: Entering directory '/sources/pupnp-0fa0bfcee5c387d8928b36c4db0ec2d160c04aab/ixml'
make[3]: Entering directory '/sources/pupnp-0fa0bfcee5c387d8928b36c4db0ec2d160c04aab/ixml'
PASS: test/test_document.sh
============================================================================
Testsuite summary for libupnp 1.16.0
============================================================================
# TOTAL: 1
# PASS: 1
# SKIP: 0
# XFAIL: 0
# FAIL: 0
# XPASS: 0
# ERROR: 0
============================================================================
make[3]: Leaving directory '/sources/pupnp-0fa0bfcee5c387d8928b36c4db0ec2d160c04aab/ixml'
make[2]: Leaving directory '/sources/pupnp-0fa0bfcee5c387d8928b36c4db0ec2d160c04aab/ixml'
make[1]: Leaving directory '/sources/pupnp-0fa0bfcee5c387d8928b36c4db0ec2d160c04aab/ixml'
Making check in upnp
make[1]: Entering directory '/sources/pupnp-0fa0bfcee5c387d8928b36c4db0ec2d160c04aab/upnp'
Making check in .
make[2]: Entering directory '/sources/pupnp-0fa0bfcee5c387d8928b36c4db0ec2d160c04aab/upnp'
make test_init test_url test_log test_list
make[3]: Entering directory '/sources/pupnp-0fa0bfcee5c387d8928b36c4db0ec2d160c04aab/upnp'
make[3]: 'test_init' is up to date.
make[3]: 'test_url' is up to date.
make[3]: 'test_log' is up to date.
make[3]: 'test_list' is up to date.
make[3]: Leaving directory '/sources/pupnp-0fa0bfcee5c387d8928b36c4db0ec2d160c04aab/upnp'
make check-TESTS
make[3]: Entering directory '/sources/pupnp-0fa0bfcee5c387d8928b36c4db0ec2d160c04aab/upnp'
make[4]: Entering directory '/sources/pupnp-0fa0bfcee5c387d8928b36c4db0ec2d160c04aab/upnp'
FAIL: test_init
FAIL: test_url
PASS: test_log
PASS: test_list
============================================================================
Testsuite summary for libupnp 1.16.0
============================================================================
# TOTAL: 4
# PASS: 2
# SKIP: 0
# XFAIL: 0
# FAIL: 2
# XPASS: 0
# ERROR: 0
============================================================================
See upnp/test-suite.log
Please report to mroberto@users.sourceforge.net
============================================================================
make[4]: *** [Makefile:1836: test-suite.log] Error 1
make[4]: Leaving directory '/sources/pupnp-0fa0bfcee5c387d8928b36c4db0ec2d160c04aab/upnp'
make[3]: *** [Makefile:1944: check-TESTS] Error 2
make[3]: Leaving directory '/sources/pupnp-0fa0bfcee5c387d8928b36c4db0ec2d160c04aab/upnp'
make[2]: *** [Makefile:2064: check-am] Error 2
make[2]: Leaving directory '/sources/pupnp-0fa0bfcee5c387d8928b36c4db0ec2d160c04aab/upnp'
make[1]: *** [Makefile:1728: check-recursive] Error 1
make[1]: Leaving directory '/sources/pupnp-0fa0bfcee5c387d8928b36c4db0ec2d160c04aab/upnp'
make: *** [Makefile:516: check-recursive] Error 1
Warning: Command '['bash', '-c', '. /wrapper-script']' returned non-zero exit status 2.
Error: Test has failed - stopping.
test-suite.log
=========================================
libupnp 1.16.0: upnp/test-suite.log
=========================================
# TOTAL: 4
# PASS: 2
# SKIP: 0
# XFAIL: 0
# FAIL: 2
# XPASS: 0
# ERROR: 0
.. contents:: :depth: 2
FAIL: test_init
===============
UPNP_VERSION_STRING = "1.16.0"
UPNP_VERSION_MAJOR = 1
UPNP_VERSION_MINOR = 16
UPNP_VERSION_PATCH = 0
UPNP_VERSION = 11600
UPNP_HAVE_DEBUG = no
UPNP_HAVE_CLIENT = yes
UPNP_HAVE_DEVICE = yes
UPNP_HAVE_WEBSERVER = yes
UPNP_HAVE_TOOLS = yes
Initializing UPnP ...
** ERROR UpnpInit2(): -121 UPNP_E_INVALID_INTERFACE
FAIL test_init (exit status: 1)
FAIL: test_url
==============
test/test_url.c:88: 'http://pupnp.sourceforge.net/path1/' + 'http://pupnp.sourceforge.net/path1/path1' != '(null)' (expected 'http://pupnp.sourceforge.net/path1/path1') (-108)
test/test_url.c:89: 'http://pupnp.sourceforge.net/path1/' + '' != '(null)' (expected 'http://pupnp.sourceforge.net/path1/') (-108)
test/test_url.c:90: 'http://pupnp.sourceforge.net/path1/' + '//localhost/path2' != '(null)' (expected 'http://localhost/path2') (-108)
test/test_url.c:91: 'http://pupnp.sourceforge.net/path1/path1' + '//localhost/path2' != '(null)' (expected 'http://localhost/path2') (-108)
test/test_url.c:92: 'http://pupnp.sourceforge.net/path1/' + '/path3' != '(null)' (expected 'http://pupnp.sourceforge.net/path3') (-108)
test/test_url.c:93: 'http://pupnp.sourceforge.net/path1/path1' + '/path3' != '(null)' (expected 'http://pupnp.sourceforge.net/path3') (-108)
test/test_url.c:94: 'http://pupnp.sourceforge.net/path1/' + 'path4' != '(null)' (expected 'http://pupnp.sourceforge.net/path1/path4') (-108)
test/test_url.c:95: 'http://pupnp.sourceforge.net/path1/path1' + 'path4' != '(null)' (expected 'http://pupnp.sourceforge.net/path1/path4') (-108)
test/test_url.c:96: 'http://pupnp.sourceforge.net/path1/' + '../path5' != '(null)' (expected 'http://pupnp.sourceforge.net/path5') (-108)
test/test_url.c:97: 'http://pupnp.sourceforge.net/path1/path1' + '../path5' != '(null)' (expected 'http://pupnp.sourceforge.net/path5') (-108)
test/test_url.c:98: 'http://pupnp.sourceforge.net/path1/' + '#frag1' != '(null)' (expected 'http://pupnp.sourceforge.net/path1/#frag1') (-108)
test/test_url.c:101: 'http://pupnp.sourceforge.net/path1/path1' + '#frag1' != '(null)' (expected 'http://pupnp.sourceforge.net/path1/path1#frag1') (-108)
FAIL test_url (exit status: 1)
test_url failed in this case for disconnected network, when network is connected it's ok, so only the test_init fails)
Hi Begasus,
Are you sure you are using the latest version? Both of these problems should be fixed now, and the tests are passing on github. The testing without network has also been fixed, although I don't think we have an automatic test for that situation.
Regards, Marcelo.
Used the latest checkout (earlier today) for this "0fa0bfcee5c387d8928b36c4db0ec2d160c04aab" Did a check on R1B2 from Haiku (a bit old), and a nightly, both fail the test for test_init, we are now using npupnp for gerbera which seems to be doing ok (didn't check the tests there though as someone else did a merge for that earlier) Regards, Luc
Interessting. When I deactivate the net bridge from the vm, everything works. If I do a systemctl stop networking.service, they fail.
Can we close this one?
Haven't checked a recent checkout, but our gerbera port is working fine, so for me it's ok :)
If it's OK, this can be closed.
Test "test_url" is probably failing if test is requiring internet access (this is blocked).