py26 test target has deprecation warnings.

Bug #1298524 reported by manas kelshikar
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Mistral
Fix Released
Low
Timur Nurlygayanov

Bug Description

From py26 test log.

py26 create: /home/jenkins/workspace/gate-mistral-python26/.tox/py26
2014-03-27 00:30:37.242 | py26 installdeps: -r/home/jenkins/workspace/gate-mistral-python26/requirements.txt, -r/home/jenkins/workspace/gate-mistral-python26/test-requirements.txt
2014-03-27 00:32:45.035 | py26 develop-inst: /home/jenkins/workspace/gate-mistral-python26
2014-03-27 00:32:52.129 | py26 runtests: commands[0] | nosetests
2014-03-27 00:32:53.138 | /home/jenkins/workspace/gate-mistral-python26/.tox/py26/lib/python2.6/site-packages/sqlalchemy/engine/strategies.py:119: SADeprecationWarning: The 'listeners' argument to Pool (and create_engine()) is deprecated. Use event.listen().
2014-03-27 00:32:53.138 | pool = poolclass(creator, **pool_args)
2014-03-27 00:32:53.139 | /home/jenkins/workspace/gate-mistral-python26/.tox/py26/lib/python2.6/site-packages/sqlalchemy/pool.py:238: SADeprecationWarning: Pool.add_listener is deprecated. Use event.listen()
2014-03-27 00:32:53.139 | self.add_listener(l)
2014-03-27 00:32:53.328 | .../home/jenkins/workspace/gate-mistral-python26/mistral/tests/api/base.py:64: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
2014-03-27 00:32:53.329 | if hasattr(error, 'message'):
2014-03-27 00:32:53.329 | /home/jenkins/workspace/gate-mistral-python26/mistral/tests/api/base.py:65: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
2014-03-27 00:32:53.329 | self.assertIn('Bad response: 404 Not Found', error.message)
2014-03-27 00:32:53.377 | ../home/jenkins/workspace/gate-mistral-python26/mistral/tests/api/v1/controllers/test_executions.py:95: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
2014-03-27 00:32:53.377 | self.assertIn('Bad response: 400', context.exception.message)
2014-03-27 00:32:57.074 | ............................................S.S..................................

Revision history for this message
Timur Nurlygayanov (tnurlygayanov) wrote :
Changed in mistral:
importance: Undecided → Medium
importance: Medium → Low
assignee: nobody → Timur Nurlygayanov (tnurlygayanov)
milestone: none → 0.1
status: New → Triaged
Changed in mistral:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to mistral (master)

Reviewed: https://review.openstack.org/83682
Committed: https://git.openstack.org/cgit/stackforge/mistral/commit/?id=0b743fdd74cc5ba432a0f09c74b81eef384ba3ee
Submitter: Jenkins
Branch: master

commit 0b743fdd74cc5ba432a0f09c74b81eef384ba3ee
Author: TimurNurlygayanov <email address hidden>
Date: Fri Mar 28 11:46:02 2014 +0400

    Fixed issue with deprecated exception

    Change-Id: Ic2f1fec236f193fa4b07ebfd96e878d86cc6ad37
    Closes-Bug: #1298524

Changed in mistral:
status: In Progress → Fix Committed
Changed in mistral:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.