Source: python-django-openstack-auth
Version: 2.4.1-2
Severity: serious
Tags: buster sid

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/python-django-openstack-auth.html

...
set -e ; for pyversion in 2.7 3.5 ; do \
        NOSE_WITH_OPENSTACK=1 \
        NOSE_OPENSTACK_COLOR=1 \
        NOSE_OPENSTACK_RED=0.05 \
        NOSE_OPENSTACK_YELLOW=0.025 \
        NOSE_OPENSTACK_SHOW_ELAPSED=1 \
        PYTHONPATH=. python$pyversion openstack_auth/tests/run_tests.py ; \
done
No handlers could be found for logger "openstack_auth.utils"
.............................EE.....................
======================================================================
ERROR: test_websso_redirect_by_idp (tests.OpenStackAuthTestsWebSSO)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/build/1st/python-django-openstack-auth-2.4.1/openstack_auth/tests/tests.py", 
line 916, in test_websso_redirect_by_idp
    target_status_code=404)
  File "/usr/lib/python2.7/dist-packages/django/test/testcases.py", line 315, 
in assertRedirects
    % (url, domain)
ValueError: The test client is unable to fetch remote URLs (got 
http://localhost:5000/v3/auth/OS-FEDERATION/identity_providers/158fb42243b744d1acc3300c5ab0ecc6/protocols/oidc/websso?origin=http://testserver/auth/websso/).
 If the host is served by Django, add 'localhost' to ALLOWED_HOSTS. Otherwise, 
use assertRedirects(..., fetch_redirect_response=False).

======================================================================
ERROR: test_websso_redirect_by_protocol (tests.OpenStackAuthTestsWebSSO)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/build/1st/python-django-openstack-auth-2.4.1/openstack_auth/tests/tests.py", 
line 899, in test_websso_redirect_by_protocol
    target_status_code=404)
  File "/usr/lib/python2.7/dist-packages/django/test/testcases.py", line 315, 
in assertRedirects
    % (url, domain)
ValueError: The test client is unable to fetch remote URLs (got 
http://localhost:5000/v3/auth/OS-FEDERATION/websso/oidc?origin=http://testserver/auth/websso/).
 If the host is served by Django, add 'localhost' to ALLOWED_HOSTS. Otherwise, 
use assertRedirects(..., fetch_redirect_response=False).

----------------------------------------------------------------------
Ran 52 tests in 12.500s

FAILED (errors=2)
Creating test database for alias 'default'...
System check identified no issues (0 silenced).
Destroying test database for alias 'default'...
debian/rules:14: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 2

Reply via email to