[Bug 1552690] [NEW] i386 test failures test_address_space and test_resident_set_size

Corey Bryant corey.bryant at canonical.com
Thu Mar 3 13:01:08 UTC 2016


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
OpenStack, which is subscribed to python-oslo.concurrency in Ubuntu.
https://bugs.launchpad.net/bugs/1552690

Title:
  i386 test failures test_address_space and test_resident_set_size

Status in python-oslo.concurrency package in Ubuntu:
  New

Bug description:
  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)'

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



More information about the Ubuntu-openstack-bugs mailing list