← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1418021] [NEW] Unittest 'test_migrate_flavor_on_save_when_not_loaded_on_get' failed

 

Public bug reported:

'test_migrate_flavor_on_save_when_not_loaded_on_get' failed in unrelated
patch: https://review.openstack.org/#/c/143393/

http://logs.openstack.org/93/143393/26/check/gate-nova-
python27/8db71fa/testr_results.html.gz

ft1.6714: nova.tests.unit.objects.test_instance.TestRemoteInstanceObject.test_migrate_flavor_on_save_when_not_loaded_on_get_StringException: pythonlogging:'': {{{
2015-02-04 10:05:46,418 INFO [nova.openstack.common.policy] Can not find policy directory: policy.d
2015-02-04 10:05:46,420 AUDIT [nova.service] Starting conductor node (version 2015.1)
}}}

Traceback (most recent call last):
  File "nova/tests/unit/objects/test_instance.py", line 1079, in test_migrate_flavor_on_save_when_not_loaded_on_get
    self.assertNotIn('instance_type_id', inst.system_metadata)
  File "/home/jenkins/workspace/gate-nova-python27/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 392, in assertNotIn
    self.assertThat(haystack, matcher, message)
  File "/home/jenkins/workspace/gate-nova-python27/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 433, in assertThat
    raise mismatch_error
MismatchError: {'instance_type_memory_mb': u'2048', 'instance_type_swap': u'0', 'instance_type_vcpu_weight': u'0', 'instance_type_root_gb': u'20', 'instance_type_id': u'5', 'instance_type_name': u'm1.small', 'instance_type_ephemeral_gb': u'0', 'instance_type_rxtx_factor': u'1.0', 'instance_type_flavorid': u'2', 'instance_type_vcpus': u'1'} matches Contains('instance_type_id')
Traceback (most recent call last):
_StringException: Empty attachments:
  stderr
  stdout

pythonlogging:'': {{{
2015-02-04 10:05:46,418 INFO [nova.openstack.common.policy] Can not find policy directory: policy.d
2015-02-04 10:05:46,420 AUDIT [nova.service] Starting conductor node (version 2015.1)
}}}

Traceback (most recent call last):
  File "nova/tests/unit/objects/test_instance.py", line 1079, in test_migrate_flavor_on_save_when_not_loaded_on_get
    self.assertNotIn('instance_type_id', inst.system_metadata)
  File "/home/jenkins/workspace/gate-nova-python27/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 392, in assertNotIn
    self.assertThat(haystack, matcher, message)
  File "/home/jenkins/workspace/gate-nova-python27/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 433, in assertThat
    raise mismatch_error
MismatchError: {'instance_type_memory_mb': u'2048', 'instance_type_swap': u'0', 'instance_type_vcpu_weight': u'0', 'instance_type_root_gb': u'20', 'instance_type_id': u'5', 'instance_type_name': u'm1.small', 'instance_type_ephemeral_gb': u'0', 'instance_type_rxtx_factor': u'1.0', 'instance_type_flavorid': u'2', 'instance_type_vcpus': u'1'} matches Contains('instance_type_id')

Traceback (most recent call last):
_StringException: Empty attachments:
  stderr
  stdout

pythonlogging:'': {{{
2015-02-04 10:05:46,418 INFO [nova.openstack.common.policy] Can not find policy directory: policy.d
2015-02-04 10:05:46,420 AUDIT [nova.service] Starting conductor node (version 2015.1)
}}}

Traceback (most recent call last):
  File "nova/tests/unit/objects/test_instance.py", line 1079, in test_migrate_flavor_on_save_when_not_loaded_on_get
    self.assertNotIn('instance_type_id', inst.system_metadata)
  File "/home/jenkins/workspace/gate-nova-python27/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 392, in assertNotIn
    self.assertThat(haystack, matcher, message)
  File "/home/jenkins/workspace/gate-nova-python27/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 433, in assertThat
    raise mismatch_error
MismatchError: {'instance_type_memory_mb': u'2048', 'instance_type_swap': u'0', 'instance_type_vcpu_weight': u'0', 'instance_type_root_gb': u'20', 'instance_type_id': u'5', 'instance_type_name': u'm1.small', 'instance_type_ephemeral_gb': u'0', 'instance_type_rxtx_factor': u'1.0', 'instance_type_flavorid': u'2', 'instance_type_vcpus': u'1'} matches Contains('instance_type_id')

** Affects: nova
     Importance: Undecided
         Status: New

-- 
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/1418021

Title:
  Unittest 'test_migrate_flavor_on_save_when_not_loaded_on_get' failed

Status in OpenStack Compute (Nova):
  New

Bug description:
  'test_migrate_flavor_on_save_when_not_loaded_on_get' failed in
  unrelated patch: https://review.openstack.org/#/c/143393/

  http://logs.openstack.org/93/143393/26/check/gate-nova-
  python27/8db71fa/testr_results.html.gz

  ft1.6714: nova.tests.unit.objects.test_instance.TestRemoteInstanceObject.test_migrate_flavor_on_save_when_not_loaded_on_get_StringException: pythonlogging:'': {{{
  2015-02-04 10:05:46,418 INFO [nova.openstack.common.policy] Can not find policy directory: policy.d
  2015-02-04 10:05:46,420 AUDIT [nova.service] Starting conductor node (version 2015.1)
  }}}

  Traceback (most recent call last):
    File "nova/tests/unit/objects/test_instance.py", line 1079, in test_migrate_flavor_on_save_when_not_loaded_on_get
      self.assertNotIn('instance_type_id', inst.system_metadata)
    File "/home/jenkins/workspace/gate-nova-python27/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 392, in assertNotIn
      self.assertThat(haystack, matcher, message)
    File "/home/jenkins/workspace/gate-nova-python27/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 433, in assertThat
      raise mismatch_error
  MismatchError: {'instance_type_memory_mb': u'2048', 'instance_type_swap': u'0', 'instance_type_vcpu_weight': u'0', 'instance_type_root_gb': u'20', 'instance_type_id': u'5', 'instance_type_name': u'm1.small', 'instance_type_ephemeral_gb': u'0', 'instance_type_rxtx_factor': u'1.0', 'instance_type_flavorid': u'2', 'instance_type_vcpus': u'1'} matches Contains('instance_type_id')
  Traceback (most recent call last):
  _StringException: Empty attachments:
    stderr
    stdout

  pythonlogging:'': {{{
  2015-02-04 10:05:46,418 INFO [nova.openstack.common.policy] Can not find policy directory: policy.d
  2015-02-04 10:05:46,420 AUDIT [nova.service] Starting conductor node (version 2015.1)
  }}}

  Traceback (most recent call last):
    File "nova/tests/unit/objects/test_instance.py", line 1079, in test_migrate_flavor_on_save_when_not_loaded_on_get
      self.assertNotIn('instance_type_id', inst.system_metadata)
    File "/home/jenkins/workspace/gate-nova-python27/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 392, in assertNotIn
      self.assertThat(haystack, matcher, message)
    File "/home/jenkins/workspace/gate-nova-python27/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 433, in assertThat
      raise mismatch_error
  MismatchError: {'instance_type_memory_mb': u'2048', 'instance_type_swap': u'0', 'instance_type_vcpu_weight': u'0', 'instance_type_root_gb': u'20', 'instance_type_id': u'5', 'instance_type_name': u'm1.small', 'instance_type_ephemeral_gb': u'0', 'instance_type_rxtx_factor': u'1.0', 'instance_type_flavorid': u'2', 'instance_type_vcpus': u'1'} matches Contains('instance_type_id')

  Traceback (most recent call last):
  _StringException: Empty attachments:
    stderr
    stdout

  pythonlogging:'': {{{
  2015-02-04 10:05:46,418 INFO [nova.openstack.common.policy] Can not find policy directory: policy.d
  2015-02-04 10:05:46,420 AUDIT [nova.service] Starting conductor node (version 2015.1)
  }}}

  Traceback (most recent call last):
    File "nova/tests/unit/objects/test_instance.py", line 1079, in test_migrate_flavor_on_save_when_not_loaded_on_get
      self.assertNotIn('instance_type_id', inst.system_metadata)
    File "/home/jenkins/workspace/gate-nova-python27/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 392, in assertNotIn
      self.assertThat(haystack, matcher, message)
    File "/home/jenkins/workspace/gate-nova-python27/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 433, in assertThat
      raise mismatch_error
  MismatchError: {'instance_type_memory_mb': u'2048', 'instance_type_swap': u'0', 'instance_type_vcpu_weight': u'0', 'instance_type_root_gb': u'20', 'instance_type_id': u'5', 'instance_type_name': u'm1.small', 'instance_type_ephemeral_gb': u'0', 'instance_type_rxtx_factor': u'1.0', 'instance_type_flavorid': u'2', 'instance_type_vcpus': u'1'} matches Contains('instance_type_id')

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


Follow ups

References