neutron.tests.unit.objects.test_subnet.SubnetDbObjectTestCase.test_db_obj failing with <NetworkSegment at 0x7fdf760a7310> is not bound to a Session
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Low
|
Ihar Hrachyshka |
Bug Description
Today I found the same failure in two unrelated patches:
The traceback looks as follows:
2018-05-10 12:42:13.309505 | ubuntu-xenial | FAIL: neutron.
2018-05-10 12:42:13.309555 | ubuntu-xenial | tags: worker-1
2018-05-10 12:42:13.309605 | ubuntu-xenial | -------
2018-05-10 12:42:13.309632 | ubuntu-xenial | Traceback (most recent call last):
2018-05-10 12:42:13.309666 | ubuntu-xenial | File "neutron/
2018-05-10 12:42:13.309692 | ubuntu-xenial | return f(self, *args, **kwargs)
2018-05-10 12:42:13.309739 | ubuntu-xenial | File "neutron/
2018-05-10 12:42:13.309768 | ubuntu-xenial | old_model = copy.deepcopy(
2018-05-10 12:42:13.309806 | ubuntu-xenial | File "/usr/lib/
2018-05-10 12:42:13.309833 | ubuntu-xenial | y = _reconstruct(x, rv, 1, memo)
2018-05-10 12:42:13.309897 | ubuntu-xenial | File "/usr/lib/
2018-05-10 12:42:13.309928 | ubuntu-xenial | state = deepcopy(state, memo)
2018-05-10 12:42:13.309967 | ubuntu-xenial | File "/usr/lib/
2018-05-10 12:42:13.310010 | ubuntu-xenial | y = copier(x, memo)
2018-05-10 12:42:13.310066 | ubuntu-xenial | File "/usr/lib/
2018-05-10 12:42:13.310141 | ubuntu-xenial | y[deepcopy(key, memo)] = deepcopy(value, memo)
2018-05-10 12:42:13.310187 | ubuntu-xenial | File "/usr/lib/
2018-05-10 12:42:13.310214 | ubuntu-xenial | y = _reconstruct(x, rv, 1, memo)
2018-05-10 12:42:13.310255 | ubuntu-xenial | File "/usr/lib/
2018-05-10 12:42:13.310280 | ubuntu-xenial | state = deepcopy(state, memo)
2018-05-10 12:42:13.310318 | ubuntu-xenial | File "/usr/lib/
2018-05-10 12:42:13.310338 | ubuntu-xenial | y = copier(x, memo)
2018-05-10 12:42:13.310380 | ubuntu-xenial | File "/usr/lib/
2018-05-10 12:42:13.310414 | ubuntu-xenial | y[deepcopy(key, memo)] = deepcopy(value, memo)
2018-05-10 12:42:13.310452 | ubuntu-xenial | File "/usr/lib/
2018-05-10 12:42:13.310479 | ubuntu-xenial | y = _reconstruct(x, rv, 1, memo)
2018-05-10 12:42:13.310519 | ubuntu-xenial | File "/usr/lib/
2018-05-10 12:42:13.310538 | ubuntu-xenial | y.append(item)
2018-05-10 12:50:00.920204 | ubuntu-xenial | File "/home/
2018-05-10 12:50:00.920385 | ubuntu-xenial | item = __set(self, item, _sa_initiator)
2018-05-10 12:50:00.920620 | ubuntu-xenial | File "/home/
2018-05-10 12:50:00.920754 | ubuntu-xenial | item = executor.
2018-05-10 12:50:00.920975 | ubuntu-xenial | File "/home/
2018-05-10 12:50:00.921021 | ubuntu-xenial | item, initiator)
2018-05-10 12:50:00.921251 | ubuntu-xenial | File "/home/
2018-05-10 12:50:00.921335 | ubuntu-xenial | state, value, initiator or self._append_token)
2018-05-10 12:50:00.921566 | ubuntu-xenial | File "/home/
2018-05-10 12:50:00.921628 | ubuntu-xenial | passive=
2018-05-10 12:50:00.921845 | ubuntu-xenial | File "/home/
2018-05-10 12:50:00.921964 | ubuntu-xenial | self.set(state, dict_, value, initiator, passive=passive)
2018-05-10 12:50:00.922173 | ubuntu-xenial | File "/home/
2018-05-10 12:50:00.922227 | ubuntu-xenial | LOAD_AGAINST_
2018-05-10 12:50:00.922414 | ubuntu-xenial | File "/home/
2018-05-10 12:50:00.922479 | ubuntu-xenial | value = self.callable_
2018-05-10 12:50:00.922680 | ubuntu-xenial | File "/home/
2018-05-10 12:50:00.922743 | ubuntu-xenial | (orm_util.
2018-05-10 12:50:00.923061 | ubuntu-xenial | sqlalchemy.
Changed in neutron: | |
importance: | Undecided → Low |
tags: | added: gate-failure unittest |
I noticed this in another patch as well, changing to Confirmed.