Proxy tests fail after Qt update in Q

Bug #1061528 reported by Manuel de la Peña
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Single Sign On Client
Status tracked in Trunk
Stable-4-0
Fix Released
Critical
Manuel de la Peña
Trunk
Fix Released
High
Manuel de la Peña
ubuntu-sso-client (Ubuntu)
Fix Released
Critical
dobey
Quantal
Fix Released
Critical
dobey

Bug Description

The proxy tests in Q fail in the following way:

ubuntu_sso.qt.tests.test_reset_password.ResetPasswordTestCase.test_show_hide_event
===============================================================================
[FAIL]
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1045, in _inlineCallbacks
    result = g.send(result)
  File "/home/mandel/Canonical/ubuntu-sso-client/trunk/ubuntu_sso/utils/webclient/tests/test_webclient.py", line 572, in test_anonymous_proxy_is_used
    self.assert_header_contains(result.headers["Via"], "squid")
  File "/home/mandel/Canonical/ubuntu-sso-client/trunk/ubuntu_sso/utils/webclient/tests/test_webclient.py", line 564, in assert_header_contains
    self.assertTrue(any(expected in value for value in headers))
twisted.trial.unittest.FailTest: None

ubuntu_sso.utils.webclient.tests.test_webclient.BasicProxyTestCase.test_anonymous_proxy_is_used
===============================================================================
[FAIL]
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1045, in _inlineCallbacks
    result = g.send(result)
  File "/home/mandel/Canonical/ubuntu-sso-client/trunk/ubuntu_sso/utils/webclient/tests/test_webclient.py", line 620, in test_auth_proxy_is_requested_creds_bad_details
    self.assert_header_contains(result.headers["Via"], "squid")
  File "/home/mandel/Canonical/ubuntu-sso-client/trunk/ubuntu_sso/utils/webclient/tests/test_webclient.py", line 564, in assert_header_contains
    self.assertTrue(any(expected in value for value in headers))
twisted.trial.unittest.FailTest: None

ubuntu_sso.utils.webclient.tests.test_webclient.BasicProxyTestCase.test_auth_proxy_is_requested_creds_bad_details
===============================================================================
[FAIL]
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1045, in _inlineCallbacks
    result = g.send(result)
  File "/home/mandel/Canonical/ubuntu-sso-client/trunk/ubuntu_sso/utils/webclient/tests/test_webclient.py", line 668, in test_auth_proxy_is_requested_creds_bad_details_everywhere
    self.assert_header_contains(result.headers["Via"], "squid")
  File "/home/mandel/Canonical/ubuntu-sso-client/trunk/ubuntu_sso/utils/webclient/tests/test_webclient.py", line 564, in assert_header_contains
    self.assertTrue(any(expected in value for value in headers))
twisted.trial.unittest.FailTest: None

ubuntu_sso.utils.webclient.tests.test_webclient.BasicProxyTestCase.test_auth_proxy_is_requested_creds_bad_details_everywhere
===============================================================================
[FAIL]
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1045, in _inlineCallbacks
    result = g.send(result)
  File "/home/mandel/Canonical/ubuntu-sso-client/trunk/ubuntu_sso/utils/webclient/tests/test_webclient.py", line 643, in test_auth_proxy_is_requested_creds_bad_details_user
    self.assert_header_contains(result.headers["Via"], "squid")
  File "/home/mandel/Canonical/ubuntu-sso-client/trunk/ubuntu_sso/utils/webclient/tests/test_webclient.py", line 564, in assert_header_contains
    self.assertTrue(any(expected in value for value in headers))
twisted.trial.unittest.FailTest: None

ubuntu_sso.utils.webclient.tests.test_webclient.BasicProxyTestCase.test_auth_proxy_is_requested_creds_bad_details_user
===============================================================================
[FAIL]
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1045, in _inlineCallbacks
    result = g.send(result)
  File "/home/mandel/Canonical/ubuntu-sso-client/trunk/ubuntu_sso/utils/webclient/tests/test_webclient.py", line 599, in test_auth_proxy_is_used_creds_requested
    self.assert_header_contains(result.headers["Via"], "squid")
  File "/home/mandel/Canonical/ubuntu-sso-client/trunk/ubuntu_sso/utils/webclient/tests/test_webclient.py", line 564, in assert_header_contains
    self.assertTrue(any(expected in value for value in headers))
twisted.trial.unittest.FailTest: None

ubuntu_sso.utils.webclient.tests.test_webclient.BasicProxyTestCase.test_auth_proxy_is_used_creds_requested
===============================================================================
[FAIL]
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1045, in _inlineCallbacks
    result = g.send(result)
  File "/home/mandel/Canonical/ubuntu-sso-client/trunk/ubuntu_sso/utils/webclient/tests/test_webclient.py", line 580, in test_authenticated_proxy_is_used
    self.assert_header_contains(result.headers["Via"], "squid")
  File "/home/mandel/Canonical/ubuntu-sso-client/trunk/ubuntu_sso/utils/webclient/tests/test_webclient.py", line 564, in assert_header_contains
    self.assertTrue(any(expected in value for value in headers))
twisted.trial.unittest.FailTest: None

ubuntu_sso.utils.webclient.tests.test_webclient.BasicProxyTestCase.test_authenticated_proxy_is_used
-------------------------------------------------------------------------------
Ran 755 tests in 35.308s

FAILED (skips=3, failures=7, successes=745)

Tags: u1-proxy

Related branches

Changed in ubuntu-sso-client:
importance: Undecided → High
dobey (dobey)
Changed in ubuntu-sso-client (Ubuntu Quantal):
importance: Undecided → Critical
milestone: none → ubuntu-12.10
status: New → Triaged
status: Triaged → Confirmed
assignee: nobody → Rodney Dawes (dobey)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-sso-client - 4.0.0-0ubuntu1

---------------
ubuntu-sso-client (4.0.0-0ubuntu1) quantal; urgency=low

  * New upstream release.
    - Fix proxy failing to work with Qt 4.8.3 update. (LP: #1061528)
    - Improve test running on darwin platform.
 -- Rodney Dawes <email address hidden> Thu, 04 Oct 2012 15:42:03 -0400

Changed in ubuntu-sso-client (Ubuntu Quantal):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.