Comment 0 for bug 1552690

Revision history for this message
Corey Bryant (corey.bryant) wrote :

These tests fail on i386:

======================================================================
FAIL: oslo_concurrency.tests.unit.test_processutils.PrlimitTestCase.test_address_space
oslo_concurrency.tests.unit.test_processutils.PrlimitTestCase.test_address_space
----------------------------------------------------------------------
_StringException: Empty attachments:
  stderr

stdout: {{{CCB stdout=(1073741824L, 1073741824L)}}}

Traceback (most recent call last):
  File "oslo_concurrency/tests/unit/test_processutils.py", line 793, in test_address_space
    self.check_limit(prlimit, 'RLIMIT_AS', prlimit.address_space)
  File "oslo_concurrency/tests/unit/test_processutils.py", line 789, in check_limit
    self.assertEqual(stdout.rstrip(), str(expected))
  File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 350, in assertEqual
    self.assertThat(observed, matcher, message)
  File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 435, in assertThat
    raise mismatch_error
testtools.matchers._impl.MismatchError: '(1073741824L, 1073741824L)' != '(1073741824, 1073741824)'

======================================================================
FAIL: oslo_concurrency.tests.unit.test_processutils.PrlimitTestCase.test_resident_set_size
oslo_concurrency.tests.unit.test_processutils.PrlimitTestCase.test_resident_set_size
----------------------------------------------------------------------
_StringException: Empty attachments:
  stderr

stdout: {{{CCB stdout=(1073741824L, 1073741824L)}}}

Traceback (most recent call last):
  File "oslo_concurrency/tests/unit/test_processutils.py", line 798, in test_resident_set_size
    self.check_limit(prlimit, 'RLIMIT_RSS', max_memory)
  File "oslo_concurrency/tests/unit/test_processutils.py", line 789, in check_limit
    self.assertEqual(stdout.rstrip(), str(expected))
  File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 350, in assertEqual
    self.assertThat(observed, matcher, message)
  File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 435, in assertThat
    raise mismatch_error
testtools.matchers._impl.MismatchError: '(1073741824L, 1073741824L)' != '(1073741824, 1073741824)'