You have been subscribed to a public bug:

test_stack_update_replace_with_ip_rollback failed with below error.
Though there no previous occurrences of this error, I can see db errors
in neutron logs[1].


http://logs.openstack.org/39/377439/2/gate/gate-heat-dsvm-functional-convg-mysql-lbaasv2/8b93a55/console.html

2016-09-28 04:06:13.600724 | 2016-09-28 04:06:13.600 | Captured traceback:
2016-09-28 04:06:13.601965 | 2016-09-28 04:06:13.601 | ~~~~~~~~~~~~~~~~~~~
2016-09-28 04:06:13.603681 | 2016-09-28 04:06:13.603 |     Traceback (most 
recent call last):
2016-09-28 04:06:13.605168 | 2016-09-28 04:06:13.604 |       File 
"/opt/stack/new/heat/heat_integrationtests/functional/test_create_update_neutron_port.py",
 line 119, in test_stack_update_replace_with_ip_rollback
2016-09-28 04:06:13.607511 | 2016-09-28 04:06:13.606 |         
self.assertEqual(_id, new_id)
2016-09-28 04:06:13.608660 | 2016-09-28 04:06:13.608 |       File 
"/usr/local/lib/python2.7/dist-packages/testtools/testcase.py", line 411, in 
assertEqual
2016-09-28 04:06:13.611349 | 2016-09-28 04:06:13.611 |         
self.assertThat(observed, matcher, message)
2016-09-28 04:06:13.613880 | 2016-09-28 04:06:13.613 |       File 
"/usr/local/lib/python2.7/dist-packages/testtools/testcase.py", line 498, in 
assertThat
2016-09-28 04:06:13.616079 | 2016-09-28 04:06:13.615 |         raise 
mismatch_error
2016-09-28 04:06:13.617343 | 2016-09-28 04:06:13.617 |     
testtools.matchers._impl.MismatchError: !=:
2016-09-28 04:06:13.619135 | 2016-09-28 04:06:13.618 |     reference = 
u'04c2e178-5c96-4f22-9072-faea92fa6560'
2016-09-28 04:06:13.620321 | 2016-09-28 04:06:13.620 |     actual    = 
u'0255770f-e6a5-45de-b604-10c06f12d42c'



[1]

http://logs.openstack.org/39/377439/2/gate/gate-heat-dsvm-functional-
convg-mysql-
lbaasv2/8b93a55/logs/screen-q-svc.txt.gz#_2016-09-28_04_06_01_173


2016-09-28 04:06:01.173 4912 DEBUG neutron.callbacks.manager 
[req-f70ab80e-2870-4bbe-aad0-1841203355d8 demo -] Notify callbacks 
[('neutron.db.l3_db._notify_routers_callback-8748586454487', <function 
_notify_routers_callback at 0x7f4f0634dd70>), 
('neutron.api.rpc.agentnotifiers.dhcp_rpc_agent_api.DhcpAgentNotifyAPI._native_event_send_dhcp_notification--9223372036829987228',
 <bound method DhcpAgentNotifyAPI._native_event_send_dhcp_notification of 
<neutron.api.rpc.agentnotifiers.dhcp_rpc_agent_api.DhcpAgentNotifyAPI object at 
0x7f4f10337d50>>), 
('neutron.db.l3_dvrscheduler_db._notify_port_delete-8748585805241', <function 
_notify_port_delete at 0x7f4f05965b90>)] for port, after_delete _notify_loop 
/opt/stack/new/neutron/neutron/callbacks/manager.py:142
2016-09-28 04:06:01.173 4914 DEBUG neutron.db.api 
[req-dfcdfd65-63b9-45cd-913c-43f6287e2e37 - -] Retry wrapper got retriable 
exception: Traceback (most recent call last):
  File "/opt/stack/new/neutron/neutron/db/api.py", line 119, in wrapped
    return f(*dup_args, **dup_kwargs)
  File "/opt/stack/new/neutron/neutron/plugins/ml2/plugin.py", line 1733, in 
update_port_status
    context.session.flush()
  File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/session.py", line 
2019, in flush
    self._flush(objects)
  File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/session.py", line 
2137, in _flush
    transaction.rollback(_capture_exception=True)
  File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/util/langhelpers.py", 
line 60, in __exit__
    compat.reraise(exc_type, exc_value, exc_tb)
  File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/session.py", line 
2101, in _flush
    flush_context.execute()
  File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/unitofwork.py", 
line 373, in execute
    rec.execute(self)
  File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/unitofwork.py", 
line 532, in execute
    uow
  File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/persistence.py", 
line 170, in save_obj
    mapper, table, update)
  File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/persistence.py", 
line 728, in _emit_update_statements
    (table.description, len(records), rows))
StaleDataError: UPDATE statement on table 'standardattributes' expected to 
update 1 row(s); 0 were matched.
 wrapped /opt/stack/new/neutron/neutron/db/api.py:124

** Affects: neutron
     Importance: Undecided
         Status: New

-- 
test_stack_update_replace_with_ip_rollback filure
https://bugs.launchpad.net/bugs/1628377
You received this bug notification because you are a member of Yahoo! 
Engineering Team, which is subscribed to neutron.

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to