functional tests broken: cannot retrieve os-tenant-name

Bug #1474293 reported by Julia Varlamova
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-manilaclient
Fix Released
Critical
Julia Varlamova

Bug Description

 FAIL: manilaclient.tests.functional.test_common.ManilaClientTestCommonReadOnly.test_help_2_user
2015-07-13 11:58:16.294 | 2015-07-13 11:58:16.263 | tags: worker-4
2015-07-13 11:58:16.304 | 2015-07-13 11:58:16.266 | ----------------------------------------------------------------------
2015-07-13 11:58:16.314 | 2015-07-13 11:58:16.278 | Empty attachments:
2015-07-13 11:58:16.317 | 2015-07-13 11:58:16.286 | pythonlogging:''
2015-07-13 11:58:16.321 | 2015-07-13 11:58:16.290 | stderr
2015-07-13 11:58:16.382 | 2015-07-13 11:58:16.350 | stdout
2015-07-13 11:58:16.410 | 2015-07-13 11:58:16.378 |
2015-07-13 11:58:16.464 | 2015-07-13 11:58:16.390 | Traceback (most recent call last):
2015-07-13 11:58:16.490 | 2015-07-13 11:58:16.459 | File "/opt/stack/new/python-manilaclient/.tox/functional/local/lib/python2.7/site-packages/ddt.py", line 146, in wrapper
2015-07-13 11:58:16.518 | 2015-07-13 11:58:16.486 | return func(self, *args, **kwargs)
2015-07-13 11:58:16.585 | 2015-07-13 11:58:16.553 | File "manilaclient/tests/functional/test_common.py", line 32, in test_help
2015-07-13 11:58:16.614 | 2015-07-13 11:58:16.583 | help_text = self.clients[role].manila('help')
2015-07-13 11:58:16.676 | 2015-07-13 11:58:16.644 | File "manilaclient/tests/functional/client.py", line 96, in manila
2015-07-13 11:58:16.676 | 2015-07-13 11:58:16.645 | 'manila', action, flags, params, fail_ok, merge_stderr)
2015-07-13 11:58:16.693 | 2015-07-13 11:58:16.660 | File "/opt/stack/new/python-manilaclient/.tox/functional/local/lib/python2.7/site-packages/tempest_lib/cli/base.py", line 355, in cmd_with_auth
2015-07-13 11:58:16.694 | 2015-07-13 11:58:16.663 | self.cli_dir)
2015-07-13 11:58:16.695 | 2015-07-13 11:58:16.664 | File "/opt/stack/new/python-manilaclient/.tox/functional/local/lib/python2.7/site-packages/tempest_lib/cli/base.py", line 64, in execute
2015-07-13 11:58:16.697 | 2015-07-13 11:58:16.665 | result_err)
2015-07-13 11:58:16.709 | 2015-07-13 11:58:16.678 | tempest_lib.exceptions.CommandFailed: Command '['/opt/stack/new/python-manilaclient/.tox/functional/bin/manila', '--os-username', 'demo', '--os-tenant-name', '--os-password', 'secretadmin', '--os-auth-url', 'http://127.0.0.1:35357/v2.0', '--endpoint-type', 'publicURL', 'help']' returned non-zero exit status 2.
2015-07-13 11:58:16.765 | 2015-07-13 11:58:16.733 | stdout:
2015-07-13 11:58:16.782 | 2015-07-13 11:58:16.750 |
2015-07-13 11:58:16.789 | 2015-07-13 11:58:16.758 | stderr:
2015-07-13 11:58:16.804 | 2015-07-13 11:58:16.770 | usage: manila [--version] [-d] [--os-cache] [--os-reset-cache]
2015-07-13 11:58:16.809 | 2015-07-13 11:58:16.777 | [--os-username <auth-user-name>] [--os-password <auth-password>]
2015-07-13 11:58:16.867 | 2015-07-13 11:58:16.835 | [--os-tenant-name <auth-tenant-name>]
2015-07-13 11:58:16.885 | 2015-07-13 11:58:16.854 | [--os-tenant-id <auth-tenant-id>] [--os-auth-url <auth-url>]
2015-07-13 11:58:16.891 | 2015-07-13 11:58:16.859 | [--os-region-name <region-name>] [--service-type <service-type>]
2015-07-13 11:58:16.898 | 2015-07-13 11:58:16.867 | [--service-name <service-name>]
2015-07-13 11:58:16.965 | 2015-07-13 11:58:16.886 | [--share-service-name <share-service-name>]
2015-07-13 11:58:16.985 | 2015-07-13 11:58:16.953 | [--endpoint-type <endpoint-type>]
2015-07-13 11:58:16.990 | 2015-07-13 11:58:16.959 | [--os-share-api-version <compute-api-ver>]
2015-07-13 11:58:17.006 | 2015-07-13 11:58:16.975 | [--os-cacert <ca-certificate>] [--retries <retries>]
2015-07-13 11:58:17.010 | 2015-07-13 11:58:16.978 | error: argument --os-tenant-name: expected one argument
2015-07-13 11:58:17.064 | 2015-07-13 11:58:17.033 | Try 'manila help ' for more information.

Changed in python-manilaclient:
assignee: nobody → Julia Varlamova (jvarlamova)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-manilaclient (master)

Reviewed: https://review.openstack.org/201481
Committed: https://git.openstack.org/cgit/openstack/python-manilaclient/commit/?id=2a4f79cc0d3e38a3077980da404695a62319520e
Submitter: Jenkins
Branch: master

commit 2a4f79cc0d3e38a3077980da404695a62319520e
Author: Julia Varlamova <email address hidden>
Date: Tue Jul 14 06:02:15 2015 -0400

    Fix post_test_hook and update test-requirements

    Our gate jobs are broken in two places:

        - latest mock lib does not work on py26;
        - post_test_hook.sh is not compatible with devstack anymore after change to devstack [1]

    So, fix post_test_hook.sh and set proper version to mock lib.

    [1]: I613f1bdc6673f0c4bfe29aaab7b514348a617a8c

    Closes-Bug: #1474293
    Closes-Bug: #1474261
    Closes-Bug: #1474744

    Change-Id: Ia849a06275e738078dc4543680d499c6149117d5

Changed in python-manilaclient:
status: In Progress → Fix Committed
Changed in python-manilaclient:
importance: Undecided → Critical
Changed in python-manilaclient:
milestone: none → 1.3.0
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.