while unit testing, following exception is thrown
Traceback (most recent call last):
File "/usr/lib/python2.7/logging/__init__.py", line 862, in emit
Traceback (most recent call last):
File "/opt/stack/heat/.tox/py27/local/lib/python2.7/site-packages/eventlet/hubs/hub.py", line 457, in fire_timers
timer()
File "/opt/stack/heat/.tox/py27/local/lib/python2.7/site-packages/eventlet/hubs/timer.py", line 58, in __call__
cb(*args, **kw)
File "/opt/stack/heat/.tox/py27/local/lib/python2.7/site-packages/eventlet/greenthread.py", line 214, in main
result = function(*args, **kwargs)
File "heat/engine/service.py", line 109, in _start_with_trace
return func(*args, **kwargs)
File "heat/engine/service.py", line 643, in _stack_create
stack.adopt()
File "/opt/stack/heat/.tox/py27/local/lib/python2.7/site-packages/osprofiler/profiler.py", line 105, in wrapper
return f(*args, **kwargs)
File "heat/engine/stack.py", line 759, in adopt
creator(timeout=self.timeout_secs())
File "heat/engine/scheduler.py", line 178, in __call__
self.run_to_completion(wait_time=wait_time)
File "heat/engine/scheduler.py", line 236, in run_to_completion
while not self.step():
File "heat/engine/scheduler.py", line 222, in step
next(self._runner)
File "heat/engine/scheduler.py", line 323, in wrapper
subtask = next(parent)
File "heat/engine/stack.py", line 685, in stack_task
self.state_set(action, stack_status, reason)
File "/opt/stack/heat/.tox/py27/local/lib/python2.7/site-packages/osprofiler/profiler.py", line 105, in wrapper
return f(*args, **kwargs)
File "heat/engine/stack.py", line 582, in state_set
'status_reason': reason})
File "heat/objects/stack.py", line 142, in update_and_save
self.refresh()
File "heat/objects/stack.py", line 156, in refresh
show_deleted=True,
File "heat/objects/stack.py", line 69, in _from_db_object
stack[field] = db_stack.__dict__.get(field)
AttributeError: 'NoneType' object has no attribute '__dict__'
How did you catch it? I run test locally against last master and can not get the same error.
Also I have not met such error in logs for gate jobs.