Tracebacks in py26 unit test console logs related to metadata agent
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Low
|
Oleg Bondarev |
Bug Description
After adding state reporting to metadata agent following tracebacks appeared in py26 unit test console logs:
2013-11-22 15:08:33.914 | ERROR:neutron.
2013-11-22 15:08:33.914 | Traceback (most recent call last):
2013-11-22 15:08:33.914 | File "/home/
2013-11-22 15:08:33.914 | use_call=
2013-11-22 15:08:33.914 | File "/home/
2013-11-22 15:08:33.914 | return self.cast(context, msg, topic=self.topic)
2013-11-22 15:08:33.915 | File "/home/
2013-11-22 15:08:33.915 | rpc.cast(context, self._get_
2013-11-22 15:08:33.915 | File "/home/
2013-11-22 15:08:33.915 | return _get_impl(
2013-11-22 15:08:33.915 | File "/home/
2013-11-22 15:08:33.915 | check_serialize
2013-11-22 15:08:33.916 | File "/home/
2013-11-22 15:08:33.916 | json.dumps(msg)
2013-11-22 15:08:33.916 | File "/usr/lib64/
2013-11-22 15:08:33.916 | return _default_
2013-11-22 15:08:33.916 | File "/usr/lib64/
2013-11-22 15:08:33.916 | chunks = list(self.
2013-11-22 15:08:33.917 | File "/usr/lib64/
2013-11-22 15:08:33.917 | for chunk in self._iterencod
2013-11-22 15:08:33.917 | File "/usr/lib64/
2013-11-22 15:08:33.917 | for chunk in self._iterencod
2013-11-22 15:08:33.917 | File "/usr/lib64/
2013-11-22 15:08:33.917 | for chunk in self._iterencod
2013-11-22 15:08:33.918 | File "/usr/lib64/
2013-11-22 15:08:33.918 | for chunk in self._iterencod
2013-11-22 15:08:33.918 | File "/usr/lib64/
2013-11-22 15:08:33.918 | for chunk in self._iterencod
2013-11-22 15:08:33.918 | File "/usr/lib64/
2013-11-22 15:08:33.918 | for chunk in self._iterencod
2013-11-22 15:08:33.919 | File "/usr/lib64/
2013-11-22 15:08:33.919 | for chunk in self._iterencod
2013-11-22 15:08:33.919 | File "/usr/lib64/
2013-11-22 15:08:33.919 | for chunk in self._iterencod
2013-11-22 15:08:33.919 | File "/usr/lib64/
2013-11-22 15:08:33.919 | for chunk in self._iterencod
2013-11-22 15:08:33.920 | File "/usr/lib64/
2013-11-22 15:08:33.920 | newobj = self.default(o)
2013-11-22 15:08:33.920 | File "/usr/lib64/
2013-11-22 15:08:33.920 | raise TypeError(repr(o) + " is not JSON serializable")
2013-11-22 15:08:33.920 | TypeError: <MagicMock name='cfg.
2013-11-22 15:08:33.921 | WARNING:
this can be observed in jenkins results for any patch on review.
Need to mock loopingcall in metadata agent tests in order to fix this
Changed in neutron: | |
milestone: | none → icehouse-2 |
status: | Fix Committed → Fix Released |
Changed in neutron: | |
milestone: | icehouse-2 → 2014.1 |
Fix proposed to branch: master /review. openstack. org/62822
Review: https:/