[openstack-dev] [masakari]py35 unit tests are failed

Rikimaru Honjo honjo.rikimaru at po.ntt-tx.co.jp
Mon Oct 30 05:27:13 UTC 2017


Hello,

I understood why py35 unit tests were failed.

The 'message' attribute was deprecated and removed from Python3.[1]
But, some codes of masakari uses message attribute.[2]
So some unit tests are failed on py35.

I try to fix this by modifying below patch.

* Stop using deprecated 'message' attribute in Exception
   https://review.openstack.org/#/c/486576/

[1]
https://www.python.org/dev/peps/pep-0352/

[2]
For example...
https://github.com/openstack/masakari/blob/master/masakari/db/sqlalchemy/api.py#L231

On 2017/10/27 15:47, Rikimaru Honjo wrote:
> Hello,
> 
> py35 unit tests of masakari are failed by same errors on gerrit.
> 
> e.g.
> * https://review.openstack.org/#/c/441796/
>    =>http://logs.openstack.org/96/441796/3/check/openstack-tox-py35/d958f3f/testr_results.html.gz
> 
> * https://review.openstack.org/#/c/509782/
>    =>http://logs.openstack.org/82/509782/23/check/openstack-tox-py35/9612809/testr_results.html.gz
> 
> It seems to have been caused by sqlalchemy, but I haven't analyzed it enough yet.
> Please tell in this ML or submit a patch if you can solve it.
> 
> Best regards,

-- 
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
Rikimaru Honjo
E-mail:honjo.rikimaru at po.ntt-tx.co.jp





More information about the OpenStack-dev mailing list