Public bug reported:

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

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

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)'

** Affects: python-oslo.concurrency (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

  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)}}}
+   stderr
  
  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
+   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)}}}
+   stderr
  
  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
+   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)'

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1552690

Title:
  i386 test failures test_address_space and test_resident_set_size

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-oslo.concurrency/+bug/1552690/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to