← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1325246] [NEW] test_objects.test_versions fails with different hash but code is unchanged

 

Public bug reported:

After rebasing with community I'm seeing this failure, but I haven't
changed the Network object or any of it's base classes.

======================================================================
FAIL: nova.tests.objects.test_objects.TestObjectVersions.test_versions
tags: worker-0
----------------------------------------------------------------------
Empty attachments:
  stderr
  stdout

pythonlogging:'': {{{
INFO [migrate.versioning.api] 215 -> 216... 
INFO [migrate.versioning.api] done
INFO [migrate.versioning.api] 216 -> 217... 
INFO [migrate.versioning.api] done
INFO [migrate.versioning.api] 217 -> 218... 
INFO [migrate.versioning.api] done
INFO [migrate.versioning.api] 218 -> 219... 
INFO [migrate.versioning.api] done
INFO [migrate.versioning.api] 219 -> 220... 
INFO [migrate.versioning.api] done
INFO [migrate.versioning.api] 220 -> 221... 
INFO [migrate.versioning.api] done
INFO [migrate.versioning.api] 221 -> 222... 
INFO [migrate.versioning.api] done
INFO [migrate.versioning.api] 222 -> 223... 
INFO [migrate.versioning.api] done
INFO [migrate.versioning.api] 223 -> 224... 
INFO [migrate.versioning.api] done
INFO [migrate.versioning.api] 224 -> 225... 
INFO [migrate.versioning.api] done
INFO [migrate.versioning.api] 225 -> 226... 
INFO [migrate.versioning.api] done
INFO [migrate.versioning.api] 226 -> 227... 
INFO [migrate.versioning.api] done
INFO [migrate.versioning.api] 227 -> 228... 
INFO [migrate.versioning.api] done
INFO [migrate.versioning.api] 228 -> 229... 
INFO [migrate.versioning.api] done
INFO [migrate.versioning.api] 229 -> 230... 
INFO [migrate.versioning.api] done
INFO [migrate.versioning.api] 230 -> 231... 
INFO [migrate.versioning.api] done
INFO [migrate.versioning.api] 231 -> 232... 
INFO [migrate.versioning.api] done
INFO [migrate.versioning.api] 232 -> 233... 
INFO [migrate.versioning.api] done
INFO [migrate.versioning.api] 233 -> 234... 
INFO [migrate.versioning.api] done
INFO [migrate.versioning.api] 234 -> 235... 
INFO [migrate.versioning.api] done
INFO [migrate.versioning.api] 235 -> 236... 
INFO [migrate.versioning.api] done
INFO [migrate.versioning.api] 236 -> 237... 
INFO [migrate.versioning.api] done
INFO [migrate.versioning.api] 237 -> 238... 
INFO [migrate.versioning.api] done
INFO [migrate.versioning.api] 238 -> 239... 
INFO [migrate.versioning.api] done
INFO [migrate.versioning.api] 239 -> 240... 
INFO [migrate.versioning.api] done
INFO [migrate.versioning.api] 240 -> 241... 
INFO [migrate.versioning.api] done
INFO [migrate.versioning.api] 241 -> 242... 
INFO [migrate.versioning.api] done
INFO [migrate.versioning.api] 242 -> 243... 
INFO [migrate.versioning.api] done
INFO [migrate.versioning.api] 243 -> 244... 
INFO [migrate.versioning.api] done
}}}

Traceback (most recent call last):
  File "nova/tests/objects/test_objects.py", line 941, in test_versions
    self._test_versions_cls(obj_name)
  File "nova/tests/objects/test_objects.py", line 937, in _test_versions_cls
    'has been bumped, and then update this hash') % obj_name)
  File "/opt/stack/nova/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 321, in assertEqual
    self.assertThat(observed, matcher, message)
  File "/opt/stack/nova/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 406, in assertThat
    raise mismatch_error
MismatchError: !=:
reference = '1.1-faba26d0290395456f9a040584c4364b'
actual    = '1.1-6d5f3c575cfc4b25db53ee5f071207ce'
: Network object has changed; please make sure the version has been bumped, and then update this hash
======================================================================
FAIL: process-returncode
tags: worker-0
----------------------------------------------------------------------
Binary content:
  traceback (test/plain; charset="utf8")
Ran 2 tests in 3.262s (+2.164s)
FAILED (id=100, failures=2)
error: testr failed (1)


Looks like it's also happening in the check queue:

http://logstash.openstack.org/#eyJzZWFyY2giOiJtZXNzYWdlOlwiTmV0d29yayBvYmplY3QgaGFzIGNoYW5nZWQ7IHBsZWFzZSBtYWtlIHN1cmUgdGhlIHZlcnNpb24gaGFzIGJlZW4gYnVtcGVkLCBhbmQgdGhlbiB1cGRhdGUgdGhpcyBoYXNoXCIgQU5EIChidWlsZF9uYW1lOmdhdGUtbm92YS1weXRob24yNiBPUiBidWlsZF9uYW1lOmdhdGUtbm92YS1weXRob24yNykgQU5EIHRhZ3M6Y29uc29sZSIsImZpZWxkcyI6W10sIm9mZnNldCI6MCwidGltZWZyYW1lIjoiMTcyODAwIiwiZ3JhcGhtb2RlIjoiY291bnQiLCJ0aW1lIjp7InVzZXJfaW50ZXJ2YWwiOjB9LCJzdGFtcCI6MTQwMTU2MjMwMzg3Mn0=

10 hits in 48 hours, all failures, check queue only but different
changes.

** Affects: nova
     Importance: Undecided
         Status: New


** Tags: testing unified-objects

** Tags added: testing unified-objects

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1325246

Title:
  test_objects.test_versions fails with different hash but code is
  unchanged

Status in OpenStack Compute (Nova):
  New

Bug description:
  After rebasing with community I'm seeing this failure, but I haven't
  changed the Network object or any of it's base classes.

  ======================================================================
  FAIL: nova.tests.objects.test_objects.TestObjectVersions.test_versions
  tags: worker-0
  ----------------------------------------------------------------------
  Empty attachments:
    stderr
    stdout

  pythonlogging:'': {{{
  INFO [migrate.versioning.api] 215 -> 216... 
  INFO [migrate.versioning.api] done
  INFO [migrate.versioning.api] 216 -> 217... 
  INFO [migrate.versioning.api] done
  INFO [migrate.versioning.api] 217 -> 218... 
  INFO [migrate.versioning.api] done
  INFO [migrate.versioning.api] 218 -> 219... 
  INFO [migrate.versioning.api] done
  INFO [migrate.versioning.api] 219 -> 220... 
  INFO [migrate.versioning.api] done
  INFO [migrate.versioning.api] 220 -> 221... 
  INFO [migrate.versioning.api] done
  INFO [migrate.versioning.api] 221 -> 222... 
  INFO [migrate.versioning.api] done
  INFO [migrate.versioning.api] 222 -> 223... 
  INFO [migrate.versioning.api] done
  INFO [migrate.versioning.api] 223 -> 224... 
  INFO [migrate.versioning.api] done
  INFO [migrate.versioning.api] 224 -> 225... 
  INFO [migrate.versioning.api] done
  INFO [migrate.versioning.api] 225 -> 226... 
  INFO [migrate.versioning.api] done
  INFO [migrate.versioning.api] 226 -> 227... 
  INFO [migrate.versioning.api] done
  INFO [migrate.versioning.api] 227 -> 228... 
  INFO [migrate.versioning.api] done
  INFO [migrate.versioning.api] 228 -> 229... 
  INFO [migrate.versioning.api] done
  INFO [migrate.versioning.api] 229 -> 230... 
  INFO [migrate.versioning.api] done
  INFO [migrate.versioning.api] 230 -> 231... 
  INFO [migrate.versioning.api] done
  INFO [migrate.versioning.api] 231 -> 232... 
  INFO [migrate.versioning.api] done
  INFO [migrate.versioning.api] 232 -> 233... 
  INFO [migrate.versioning.api] done
  INFO [migrate.versioning.api] 233 -> 234... 
  INFO [migrate.versioning.api] done
  INFO [migrate.versioning.api] 234 -> 235... 
  INFO [migrate.versioning.api] done
  INFO [migrate.versioning.api] 235 -> 236... 
  INFO [migrate.versioning.api] done
  INFO [migrate.versioning.api] 236 -> 237... 
  INFO [migrate.versioning.api] done
  INFO [migrate.versioning.api] 237 -> 238... 
  INFO [migrate.versioning.api] done
  INFO [migrate.versioning.api] 238 -> 239... 
  INFO [migrate.versioning.api] done
  INFO [migrate.versioning.api] 239 -> 240... 
  INFO [migrate.versioning.api] done
  INFO [migrate.versioning.api] 240 -> 241... 
  INFO [migrate.versioning.api] done
  INFO [migrate.versioning.api] 241 -> 242... 
  INFO [migrate.versioning.api] done
  INFO [migrate.versioning.api] 242 -> 243... 
  INFO [migrate.versioning.api] done
  INFO [migrate.versioning.api] 243 -> 244... 
  INFO [migrate.versioning.api] done
  }}}

  Traceback (most recent call last):
    File "nova/tests/objects/test_objects.py", line 941, in test_versions
      self._test_versions_cls(obj_name)
    File "nova/tests/objects/test_objects.py", line 937, in _test_versions_cls
      'has been bumped, and then update this hash') % obj_name)
    File "/opt/stack/nova/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 321, in assertEqual
      self.assertThat(observed, matcher, message)
    File "/opt/stack/nova/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 406, in assertThat
      raise mismatch_error
  MismatchError: !=:
  reference = '1.1-faba26d0290395456f9a040584c4364b'
  actual    = '1.1-6d5f3c575cfc4b25db53ee5f071207ce'
  : Network object has changed; please make sure the version has been bumped, and then update this hash
  ======================================================================
  FAIL: process-returncode
  tags: worker-0
  ----------------------------------------------------------------------
  Binary content:
    traceback (test/plain; charset="utf8")
  Ran 2 tests in 3.262s (+2.164s)
  FAILED (id=100, failures=2)
  error: testr failed (1)

  
  Looks like it's also happening in the check queue:

  http://logstash.openstack.org/#eyJzZWFyY2giOiJtZXNzYWdlOlwiTmV0d29yayBvYmplY3QgaGFzIGNoYW5nZWQ7IHBsZWFzZSBtYWtlIHN1cmUgdGhlIHZlcnNpb24gaGFzIGJlZW4gYnVtcGVkLCBhbmQgdGhlbiB1cGRhdGUgdGhpcyBoYXNoXCIgQU5EIChidWlsZF9uYW1lOmdhdGUtbm92YS1weXRob24yNiBPUiBidWlsZF9uYW1lOmdhdGUtbm92YS1weXRob24yNykgQU5EIHRhZ3M6Y29uc29sZSIsImZpZWxkcyI6W10sIm9mZnNldCI6MCwidGltZWZyYW1lIjoiMTcyODAwIiwiZ3JhcGhtb2RlIjoiY291bnQiLCJ0aW1lIjp7InVzZXJfaW50ZXJ2YWwiOjB9LCJzdGFtcCI6MTQwMTU2MjMwMzg3Mn0=

  10 hits in 48 hours, all failures, check queue only but different
  changes.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1325246/+subscriptions


Follow ups

References