#8999 enhancement closed duplicate (duplicate)

twisted.python.test.test_release.APIBuilderTests spurious failures

Reported by: Wilfredo Sánchez Vega Owned by:
Priority: normal Milestone:
Component: core Keywords:
Cc: Branch:
Author:

Description

twisted.python.test.test_release.APIBuilderTests is causing spurious failures:

https://buildbot.twistedmatrix.com/builders/ubuntu16.04-py2.7/builds/2208/steps/select/logs/problems

===============================================================================
[FAIL]
Traceback (most recent call last):
  File "/buildslave/ubuntu16.04-py2.7/Twisted/build/py27-alldeps-nocov-posix/local/lib/python2.7/site-packages/twisted/python/test/test_release.py", line 472, in test_buildWithPolicy
    self.assertEqual(stdout.getvalue(), '')
  File "/buildslave/ubuntu16.04-py2.7/Twisted/build/py27-alldeps-nocov-posix/local/lib/python2.7/site-packages/twisted/trial/_synctest.py", line 432, in assertEqual
    super(_Assertions, self).assertEqual(first, second, msg)
  File "/usr/lib/python2.7/unittest/case.py", line 513, in assertEqual
    assertion_func(first, second, msg=msg)
  File "/usr/lib/python2.7/unittest/case.py", line 506, in _baseAssertEqual
    raise self.failureException(msg)
twisted.trial.unittest.FailTest: 'Failed to get object inventory from https://python-hyper.org/h2/en/stable/objects.inv\n' != ''

twisted.python.test.test_release.APIBuilderTests.test_buildWithPolicy
-------------------------------------------------------------------------------

Change History (3)

comment:1 Changed 11 months ago by Wilfredo Sánchez Vega

If I kick the builders repeatedly, this eventually succeeds, which suggests that we are, indeed, trying to obtain a network resource from a web site as part of a test, which seems problematic.

comment:3 Changed 11 months ago by Wilfredo Sánchez Vega

Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.