[Buildbot] #3387: www tests failing due to string vs int problems
Buildbot trac
trac at buildbot.net
Tue Dec 8 16:58:46 UTC 2015
#3387: www tests failing due to string vs int problems
---------------------+-------------------
Reporter: dustin | Owner:
Type: defect | Status: new
Priority: critical | Milestone: 0.9.0
Version: master | Keywords:
---------------------+-------------------
https://travis-ci.org/buildbot/buildbot/jobs/95408361
{{{
[FAIL]
Traceback (most recent call last):
File "/home/travis/virtualenv/python2.7.9/lib/python2.7/site-
packages/twisted/internet/defer.py", line 1126, in _inlineCallbacks
result = result.throwExceptionIntoGenerator(g)
File "/home/travis/virtualenv/python2.7.9/lib/python2.7/site-
packages/twisted/python/failure.py", line 389, in
throwExceptionIntoGenerator
return g.throw(self.type, self.value, self.tb)
File
"/home/travis/build/buildbot/buildbot/master/buildbot/test/unit/test_www_auth.py",
line 131, in test_maybeAutoLogin_mismatched_value
self.assertEqual(e.status, 403)
File "/home/travis/virtualenv/python2.7.9/lib/python2.7/site-
packages/twisted/trial/_synctest.py", line 437, in assertEqual
super(_Assertions, self).assertEqual(first, second, msg)
File "/opt/python/2.7.9/lib/python2.7/unittest/case.py", line 513, in
assertEqual
assertion_func(first, second, msg=msg)
File "/opt/python/2.7.9/lib/python2.7/unittest/case.py", line 506, in
_baseAssertEqual
raise self.failureException(msg)
twisted.trial.unittest.FailTest: '403' != 403
buildbot.test.unit.test_www_auth.RemoteUserAuth.test_maybeAutoLogin_mismatched_value
===============================================================================
[FAIL]
Traceback (most recent call last):
File "/home/travis/virtualenv/python2.7.9/lib/python2.7/site-
packages/twisted/internet/defer.py", line 1126, in _inlineCallbacks
result = result.throwExceptionIntoGenerator(g)
File "/home/travis/virtualenv/python2.7.9/lib/python2.7/site-
packages/twisted/python/failure.py", line 389, in
throwExceptionIntoGenerator
return g.throw(self.type, self.value, self.tb)
File
"/home/travis/build/buildbot/buildbot/master/buildbot/test/unit/test_www_auth.py",
line 121, in test_maybeAutoLogin_no_header
self.assertEqual(e.status, 403)
File "/home/travis/virtualenv/python2.7.9/lib/python2.7/site-
packages/twisted/trial/_synctest.py", line 437, in assertEqual
super(_Assertions, self).assertEqual(first, second, msg)
File "/opt/python/2.7.9/lib/python2.7/unittest/case.py", line 513, in
assertEqual
assertion_func(first, second, msg=msg)
File "/opt/python/2.7.9/lib/python2.7/unittest/case.py", line 506, in
_baseAssertEqual
raise self.failureException(msg)
twisted.trial.unittest.FailTest: '403' != 403
buildbot.test.unit.test_www_auth.RemoteUserAuth.test_maybeAutoLogin_no_header
===============================================================================
[FAIL]
Traceback (most recent call last):
File "/home/travis/virtualenv/python2.7.9/lib/python2.7/site-
packages/twisted/internet/defer.py", line 1128, in _inlineCallbacks
result = g.send(result)
File
"/home/travis/build/buildbot/buildbot/master/buildbot/test/unit/test_www_rest.py",
line 85, in test_invalid_http_method
self.assertSimpleError('invalid HTTP method', 400)
File
"/home/travis/build/buildbot/buildbot/master/buildbot/test/unit/test_www_rest.py",
line 73, in assertSimpleError
responseCode=responseCode)
File
"/home/travis/build/buildbot/buildbot/master/buildbot/test/util/www.py",
line 208, in assertRequest
self.assertEqual(got, exp)
File "/home/travis/virtualenv/python2.7.9/lib/python2.7/site-
packages/twisted/trial/_synctest.py", line 437, in assertEqual
super(_Assertions, self).assertEqual(first, second, msg)
File "/opt/python/2.7.9/lib/python2.7/unittest/case.py", line 513, in
assertEqual
assertion_func(first, second, msg=msg)
File "/opt/python/2.7.9/lib/python2.7/unittest/case.py", line 835, in
assertDictEqual
self.fail(self._formatMessage(msg, standardMsg))
twisted.trial.unittest.FailTest: {'content': '{"error": "invalid HTTP
method"}', 'responseCode': '400'} != {'content': '{"error": "invalid HTTP
method"}', 'responseCode': 400}
- {'content': '{"error": "invalid HTTP method"}', 'responseCode': '400'}
? - -
+ {'content': '{"error": "invalid HTTP method"}', 'responseCode': 400}
buildbot.test.unit.test_www_rest.V2RootResource.test_invalid_http_method
===============================================================================
[FAIL]
Traceback (most recent call last):
File "/home/travis/virtualenv/python2.7.9/lib/python2.7/site-
packages/twisted/internet/defer.py", line 1128, in _inlineCallbacks
result = g.send(result)
File
"/home/travis/build/buildbot/buildbot/master/buildbot/test/unit/test_www_rest.py",
line 165, in test_cors_origin_mismatch
self.assertNotOk('invalid origin')
File
"/home/travis/build/buildbot/buildbot/master/buildbot/test/unit/test_www_rest.py",
line 129, in assertNotOk
responseCode=400)
File
"/home/travis/build/buildbot/buildbot/master/buildbot/test/util/www.py",
line 208, in assertRequest
self.assertEqual(got, exp)
File "/home/travis/virtualenv/python2.7.9/lib/python2.7/site-
packages/twisted/trial/_synctest.py", line 437, in assertEqual
super(_Assertions, self).assertEqual(first, second, msg)
File "/opt/python/2.7.9/lib/python2.7/unittest/case.py", line 513, in
assertEqual
assertion_func(first, second, msg=msg)
File "/opt/python/2.7.9/lib/python2.7/unittest/case.py", line 835, in
assertDictEqual
self.fail(self._formatMessage(msg, standardMsg))
twisted.trial.unittest.FailTest: {'content': '{"error": "invalid
origin"}', 'responseCode': '400'} != {'content': '{"error": "invalid
origin"}', 'responseCode': 400}
- {'content': '{"error": "invalid origin"}', 'responseCode': '400'}
? - -
+ {'content': '{"error": "invalid origin"}', 'responseCode': 400}
buildbot.test.unit.test_www_rest.V2RootResource_CORS.test_cors_origin_mismatch
===============================================================================
[FAIL]
Traceback (most recent call last):
File "/home/travis/virtualenv/python2.7.9/lib/python2.7/site-
packages/twisted/internet/defer.py", line 1128, in _inlineCallbacks
result = g.send(result)
File
"/home/travis/build/buildbot/buildbot/master/buildbot/test/unit/test_www_rest.py",
line 160, in test_cors_origin_patterns
self.assertNotOk('invalid origin')
File
"/home/travis/build/buildbot/buildbot/master/buildbot/test/unit/test_www_rest.py",
line 129, in assertNotOk
responseCode=400)
File
"/home/travis/build/buildbot/buildbot/master/buildbot/test/util/www.py",
line 208, in assertRequest
self.assertEqual(got, exp)
File "/home/travis/virtualenv/python2.7.9/lib/python2.7/site-
packages/twisted/trial/_synctest.py", line 437, in assertEqual
super(_Assertions, self).assertEqual(first, second, msg)
File "/opt/python/2.7.9/lib/python2.7/unittest/case.py", line 513, in
assertEqual
assertion_func(first, second, msg=msg)
File "/opt/python/2.7.9/lib/python2.7/unittest/case.py", line 835, in
assertDictEqual
self.fail(self._formatMessage(msg, standardMsg))
twisted.trial.unittest.FailTest: {'content': '{"error": "invalid
origin"}', 'responseCode': '400'} != {'content': '{"error": "invalid
origin"}', 'responseCode': 400}
- {'content': '{"error": "invalid origin"}', 'responseCode': '400'}
? - -
+ {'content': '{"error": "invalid origin"}', 'responseCode': 400}
buildbot.test.unit.test_www_rest.V2RootResource_CORS.test_cors_origin_patterns
===============================================================================
[FAIL]
Traceback (most recent call last):
File "/home/travis/virtualenv/python2.7.9/lib/python2.7/site-
packages/twisted/internet/defer.py", line 1128, in _inlineCallbacks
result = g.send(result)
File
"/home/travis/build/buildbot/buildbot/master/buildbot/test/unit/test_www_rest.py",
line 186, in test_cors_origin_preflight_bad_method
self.assertNotOk(message='invalid method')
File
"/home/travis/build/buildbot/buildbot/master/buildbot/test/unit/test_www_rest.py",
line 129, in assertNotOk
responseCode=400)
File
"/home/travis/build/buildbot/buildbot/master/buildbot/test/util/www.py",
line 208, in assertRequest
self.assertEqual(got, exp)
File "/home/travis/virtualenv/python2.7.9/lib/python2.7/site-
packages/twisted/trial/_synctest.py", line 437, in assertEqual
super(_Assertions, self).assertEqual(first, second, msg)
File "/opt/python/2.7.9/lib/python2.7/unittest/case.py", line 513, in
assertEqual
assertion_func(first, second, msg=msg)
File "/opt/python/2.7.9/lib/python2.7/unittest/case.py", line 835, in
assertDictEqual
self.fail(self._formatMessage(msg, standardMsg))
twisted.trial.unittest.FailTest: {'content': '{"error": "invalid
method"}', 'responseCode': '400'} != {'content': '{"error": "invalid
method"}', 'responseCode': 400}
- {'content': '{"error": "invalid method"}', 'responseCode': '400'}
? - -
+ {'content': '{"error": "invalid method"}', 'responseCode': 400}
buildbot.test.unit.test_www_rest.V2RootResource_CORS.test_cors_origin_preflight_bad_method
===============================================================================
[FAIL]
Traceback (most recent call last):
File "/home/travis/virtualenv/python2.7.9/lib/python2.7/site-
packages/twisted/internet/defer.py", line 1128, in _inlineCallbacks
result = g.send(result)
File
"/home/travis/build/buildbot/buildbot/master/buildbot/test/unit/test_www_rest.py",
line 193, in test_cors_origin_preflight_bad_origin
self.assertNotOk(message='invalid origin')
File
"/home/travis/build/buildbot/buildbot/master/buildbot/test/unit/test_www_rest.py",
line 129, in assertNotOk
responseCode=400)
File
"/home/travis/build/buildbot/buildbot/master/buildbot/test/util/www.py",
line 208, in assertRequest
self.assertEqual(got, exp)
File "/home/travis/virtualenv/python2.7.9/lib/python2.7/site-
packages/twisted/trial/_synctest.py", line 437, in assertEqual
super(_Assertions, self).assertEqual(first, second, msg)
File "/opt/python/2.7.9/lib/python2.7/unittest/case.py", line 513, in
assertEqual
assertion_func(first, second, msg=msg)
File "/opt/python/2.7.9/lib/python2.7/unittest/case.py", line 835, in
assertDictEqual
self.fail(self._formatMessage(msg, standardMsg))
twisted.trial.unittest.FailTest: {'content': '{"error": "invalid
origin"}', 'responseCode': '400'} != {'content': '{"error": "invalid
origin"}', 'responseCode': 400}
- {'content': '{"error": "invalid origin"}', 'responseCode': '400'}
? - -
+ {'content': '{"error": "invalid origin"}', 'responseCode': 400}
buildbot.test.unit.test_www_rest.V2RootResource_CORS.test_cors_origin_preflight_bad_origin
-------------------------------------------------------------------------------
}}}
--
Ticket URL: <http://trac.buildbot.net/ticket/3387>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation
More information about the bugs
mailing list