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.rikim...@po.ntt-tx.co.jp



__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to