six==1.5.2 conflicts with model_mommy-1.2's six==1.0.3

Bug #1309017 reported by Vincent Ladeuil
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu CI Engine
High
Vincent Ladeuil

Bug Description

This was revealed by using run-tests and is masked by ./tarmac running setup.py develop ; setup.py test for one component after the other.

Recipe:

# source your cloud credentials (otherwise the tests are skipped)

$ rm -fr .venv ; virtualenv .venv
$ ./tarmac.sh .venv

======================================================================
ERROR: test_create_container_twice (tstrun.tests.test_data_store.TestDataStore)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/vila/ci/uci-engine/trunk/test_runner/tstrun/tests/test_data_store.py", line 85, in setUp
    identifier='test', public=True)
  File "/home/vila/ci/uci-engine/trunk/ci-utils/ci_utils/data_store/__init__.py", line 39, in __init__
    self._setup_auth()
  File "/home/vila/ci/uci-engine/trunk/ci-utils/ci_utils/data_store/__init__.py", line 180, in _setup_auth
    os_options=os_options,
  File "/home/vila/ci/uci-engine/trunk/.venv/local/lib/python2.7/site-packages/swiftclient/client.py", line 302, in get_auth
    insecure=insecure)
  File "/home/vila/ci/uci-engine/trunk/.venv/local/lib/python2.7/site-packages/swiftclient/client.py", line 226, in get_keystoneclient_2_0
    variables to be set or overridden with -A, -U, or -K.''')
SystemExit:
Auth version 2.0 requires python-keystoneclient, install it or use Auth
version 1.0 which requires ST_AUTH, ST_USER, and ST_KEY environment
variables to be set or overridden with -A, -U, or -K.

======================================================================
ERROR: test_put_file_stores_content (tstrun.tests.test_data_store.TestDataStore)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/vila/ci/uci-engine/trunk/test_runner/tstrun/tests/test_data_store.py", line 85, in setUp
    identifier='test', public=True)
  File "/home/vila/ci/uci-engine/trunk/ci-utils/ci_utils/data_store/__init__.py", line 39, in __init__
    self._setup_auth()
  File "/home/vila/ci/uci-engine/trunk/ci-utils/ci_utils/data_store/__init__.py", line 180, in _setup_auth
    os_options=os_options,
  File "/home/vila/ci/uci-engine/trunk/.venv/local/lib/python2.7/site-packages/swiftclient/client.py", line 302, in get_auth
    insecure=insecure)
  File "/home/vila/ci/uci-engine/trunk/.venv/local/lib/python2.7/site-packages/swiftclient/client.py", line 226, in get_keystoneclient_2_0
    variables to be set or overridden with -A, -U, or -K.''')
SystemExit:
Auth version 2.0 requires python-keystoneclient, install it or use Auth
version 1.0 which requires ST_AUTH, ST_USER, and ST_KEY environment
variables to be set or overridden with -A, -U, or -K.

======================================================================
ERROR: test_store_created_empty (tstrun.tests.test_data_store.TestDataStore)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/vila/ci/uci-engine/trunk/test_runner/tstrun/tests/test_data_store.py", line 85, in setUp
    identifier='test', public=True)
  File "/home/vila/ci/uci-engine/trunk/ci-utils/ci_utils/data_store/__init__.py", line 39, in __init__
    self._setup_auth()
  File "/home/vila/ci/uci-engine/trunk/ci-utils/ci_utils/data_store/__init__.py", line 180, in _setup_auth
    os_options=os_options,
  File "/home/vila/ci/uci-engine/trunk/.venv/local/lib/python2.7/site-packages/swiftclient/client.py", line 302, in get_auth
    insecure=insecure)
  File "/home/vila/ci/uci-engine/trunk/.venv/local/lib/python2.7/site-packages/swiftclient/client.py", line 226, in get_keystoneclient_2_0
    variables to be set or overridden with -A, -U, or -K.''')
SystemExit:
Auth version 2.0 requires python-keystoneclient, install it or use Auth
version 1.0 which requires ST_AUTH, ST_USER, and ST_KEY environment
variables to be set or overridden with -A, -U, or -K.

Related branches

Revision history for this message
Vincent Ladeuil (vila) wrote :

I ran into the issue in a branch I've been working on where I diagnosed that we have a conflict on six:

- we want to use 1.5.2 (especially for keystoneclient),
- we use model_mommy-1.2 which requires six==1.3.0

Vincent Ladeuil (vila)
Changed in uci-engine:
status: Triaged → Fix Committed
summary: - six==1.5.3 conflicts with model_mommy-1.2's six==1.30
+ six==1.5.2 conflicts with model_mommy-1.2's six==1.30
summary: - six==1.5.2 conflicts with model_mommy-1.2's six==1.30
+ six==1.5.2 conflicts with model_mommy-1.2's six==1.0.3
Vincent Ladeuil (vila)
Changed in uci-engine:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers