it gets stuck when connecting to its auth_uri

Bug #1645144 reported by tarik
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tempest
Expired
Undecided
Unassigned

Bug Description

Hi,

When i trying to run tempest on our Mitaka environment, I am getting following errors and none of the test start.

ArgsAlreadyParsedError: arguments already parsed: cannot register CLI option

When i try to run that command for checking i get timeout.

python -m testtools.run tempest.api.identity.admin.v2.test_tokens.TokensTestJSON.test_create_get_delete_token

I attach tempest output also.

Thank You,

Tarik.

Revision history for this message
tarik (ustuner) wrote :
Revision history for this message
Andrea Frittoli (andrea-frittoli) wrote :

You should use test_discover to discover tests i.e. -t ./tempest/test_discover.
Even better, to run tests you can use tox directly:

tox -eall -- [regex]

Or the "tempest run" command.

(tempest) andreafrittoli@galadriel:/git/openstack.org/openstack/tempest$ tempest run --help
usage: tempest run [-h] [--workspace WORKSPACE]
                   [--workspace-path WORKSPACE_PATH]
                   [--config-file CONFIG_FILE] [--smoke | --regex REGEX]
                   [--whitelist-file WHITELIST_FILE | --blacklist-file BLACKLIST_FILE]
                   [--list-tests] [--concurrency CONCURRENCY]
                   [--parallel | --serial] [--subunit]

Run tempest

optional arguments:
  -h, --help show this help message and exit
  --workspace WORKSPACE
                        Name of tempest workspace to use for running tests.
                        You can see a list of workspaces with tempest
                        workspace list
  --workspace-path WORKSPACE_PATH
                        The path to the workspace file, the default is
                        ~/.tempest/workspace.yaml
  --config-file CONFIG_FILE
                        Configuration file to run tempest with
  --smoke Run the smoke tests only
  --regex REGEX, -r REGEX
                        A normal testr selection regex used to specify a
                        subset of tests to run
  --whitelist-file WHITELIST_FILE, --whitelist_file WHITELIST_FILE
                        Path to a whitelist file, this file contains a
                        separate regex on each newline.
  --blacklist-file BLACKLIST_FILE, --blacklist_file BLACKLIST_FILE
                        Path to a blacklist file, this file contains a
                        separate regex exclude on each newline
  --list-tests, -l List tests
  --concurrency CONCURRENCY, -w CONCURRENCY
                        The number of workers to use, defaults to the number
                        of cpus
  --parallel Run tests in parallel (this is the default)
  --serial Run tests serially
  --subunit Enable subunit v2 output

Changed in tempest:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for tempest because there has been no activity for 60 days.]

Changed in tempest:
status: Incomplete → Expired
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.