scenario_unit tests fails bug job on ci green

Bug #1490544 reported by Evgeny Sikachev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Sahara
Invalid
Undecided
Unassigned

Bug Description

In logs of job http://paste.openstack.org/show/434792/ i see:

| Captured traceback:
2015-08-24 19:59:13.678 | ~~~~~~~~~~~~~~~~~~~
2015-08-24 19:59:13.681 | Traceback (most recent call last):
2015-08-24 19:59:13.688 | File "sahara/tests/scenario/base.py", line 87, in setUp
2015-08-24 19:59:13.691 | self._init_clients()
2015-08-24 19:59:13.698 | File "sahara/tests/scenario/base.py", line 114, in _init_clients
2015-08-24 19:59:13.700 | sahara_url=sahara_url)
2015-08-24 19:59:13.706 | File "sahara/tests/scenario/clients.py", line 63, in __init__
2015-08-24 19:59:13.713 | self.sahara_client = sahara_client.Client('1.1', *args, **kwargs)
2015-08-24 19:59:13.728 | File "/home/jenkins/workspace/gate-sahara-tox-py27-scenario-unit/.tox/py27-scenario-unit/local/lib/python2.7/site-packages/saharaclient/client.py", line 47, in Client
2015-08-24 19:59:13.731 | return client_class(*args, **kwargs)
2015-08-24 19:59:13.747 | File "/home/jenkins/workspace/gate-sahara-tox-py27-scenario-unit/.tox/py27-scenario-unit/local/lib/python2.7/site-packages/saharaclient/api/client.py", line 86, in __init__
2015-08-24 19:59:13.749 | endpoint_type)
2015-08-24 19:59:13.765 | File "/home/jenkins/workspace/gate-sahara-tox-py27-scenario-unit/.tox/py27-scenario-unit/local/lib/python2.7/site-packages/saharaclient/api/client.py", line 150, in _determine_service_type
2015-08-24 19:59:13.768 | interface=interface)
2015-08-24 19:59:13.786 | File "/home/jenkins/workspace/gate-sahara-tox-py27-scenario-unit/.tox/py27-scenario-unit/local/lib/python2.7/site-packages/keystoneclient/auth/identity/base.py", line 219, in get_endpoint
2015-08-24 19:59:13.792 | service_catalog = self.get_access(session).service_catalog
2015-08-24 19:59:13.810 | File "/home/jenkins/workspace/gate-sahara-tox-py27-scenario-unit/.tox/py27-scenario-unit/local/lib/python2.7/site-packages/keystoneclient/auth/identity/base.py", line 145, in get_access
2015-08-24 19:59:13.814 | self.auth_ref = self.get_auth_ref(session)
2015-08-24 19:59:13.832 | File "/home/jenkins/workspace/gate-sahara-tox-py27-scenario-unit/.tox/py27-scenario-unit/local/lib/python2.7/site-packages/keystoneclient/auth/identity/v3/base.py", line 180, in get_auth_ref
2015-08-24 19:59:13.837 | authenticated=False, log=False, **rkwargs)
2015-08-24 19:59:13.854 | File "/home/jenkins/workspace/gate-sahara-tox-py27-scenario-unit/.tox/py27-scenario-unit/local/lib/python2.7/site-packages/keystoneclient/session.py", line 497, in post
2015-08-24 19:59:13.858 | return self.request(url, 'POST', **kwargs)
2015-08-24 19:59:13.874 | File "/home/jenkins/workspace/gate-sahara-tox-py27-scenario-unit/.tox/py27-scenario-unit/local/lib/python2.7/site-packages/keystoneclient/utils.py", line 336, in inner
2015-08-24 19:59:13.878 | return func(*args, **kwargs)
2015-08-24 19:59:13.895 | File "/home/jenkins/workspace/gate-sahara-tox-py27-scenario-unit/.tox/py27-scenario-unit/local/lib/python2.7/site-packages/keystoneclient/session.py", line 382, in request
2015-08-24 19:59:13.898 | resp = send(**kwargs)
2015-08-24 19:59:13.913 | File "/home/jenkins/workspace/gate-sahara-tox-py27-scenario-unit/.tox/py27-scenario-unit/local/lib/python2.7/site-packages/keystoneclient/session.py", line 426, in _send_request
2015-08-24 19:59:13.918 | raise exceptions.ConnectionRefused(msg)
2015-08-24 19:59:13.932 | keystoneclient.openstack.common.apiclient.exceptions.ConnectionRefused: Unable to establish connection to http://127.0.0.1:5000/v2/auth/tokens
2015-08-24 19:59:13.933 |
2015-08-24 19:59:13.933 |

But tests exit code is 0
py27-scenario-unit: commands succeeded
congratulations :)

Changed in sahara:
assignee: nobody → Evgeny Sikachev (esikachev)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to sahara (master)

Fix proposed to branch: master
Review: https://review.openstack.org/218836

Changed in sahara:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to sahara (master)

Reviewed: https://review.openstack.org/218836
Committed: https://git.openstack.org/cgit/openstack/sahara/commit/?id=2fff3aadedea88510428a3897fa87eb7053e4e22
Submitter: Jenkins
Branch: master

commit 2fff3aadedea88510428a3897fa87eb7053e4e22
Author: Evgeny Sikachev <email address hidden>
Date: Mon Aug 31 15:34:12 2015 +0300

    Fix mocks in scenario_unit tests

    In patch https://review.openstack.org/#/c/216396/ has been
    fixed scenario tests, os.system -> subprocess.call, but in
    unit-tests missing fix
    Partial-bug: #1490544

    Change-Id: I3fbea77700e6a48ff43cdf417d55c27b073f880d

Revision history for this message
Sergey Reshetnyak (sreshetniak) wrote :

This bug is > 60 days without activity. We are unsetting assignee and milestone and setting status to Incomplete in order to allow its expiry in 60 days.

If the bug is still valid, then update the bug status.

Changed in sahara:
assignee: Evgeny Sikachev (esikachev) → nobody
status: In Progress → Incomplete
Changed in sahara:
status: Incomplete → Invalid
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.