tox failure (Horizon)

Bug #1737031 reported by Mudassar Hashmi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Invalid
Undecided
Unassigned

Bug Description

I have a fresh installation of Horizon on Ubuntu Virtual Machine and I am having issue running tox command set. It comes up error while running "tox -e manage -- collectstatic".

ERROR:
ERROR: py27: could not install deps [.[test], -r/home/stack/project1/horizon/requirements.txt, -r/home/stack/project1/horizon/test-requirements.txt]; v = InvocationError('/home/stack/project1/horizon/.tox/py27/bin/pip install -chttps://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt .[test] -r/home/stack/project1/horizon/requirements.txt -r/home/stack/project1/horizon/test-requirements.txt (see /home/stack/project1/horizon/.tox/py27/log/py27-1.log)', 1)

Revision history for this message
Akihiro Motoki (amotoki) wrote :

Could you check py27-1.log? The file should contain more detail of the failure.

Changed in horizon:
status: New → Incomplete
Revision history for this message
Akihiro Motoki (amotoki) wrote :

In addition, there is a strange thing. "tox -e manage -- collectstatic" creates a tox env named 'manage', but the error message in the bug description is about "py27".

Revision history for this message
Mudassar Hashmi (mhashmi1979) wrote :
Download full text (6.2 KiB)

I am trying to make sense out of the error but I just reinstalled it and tried from global and virtual environment both. Hope this error gives an idea for observers to point me to right direction.

File Log: py27-1.log.
actionid: py27
msg: getenv
cmdargs: ['/home/stack/project1/horizon/.tox/py27/bin/pip', 'install', '-chttps://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt', '.[test]', '-r/home/stack/project1/horizon/requirements.txt', '-r/home/stack/project1/horizon/test-requirements.txt']

The directory '/home/stack/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/home/stack/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Ignoring jsbeautifier: markers 'python_version == "3.4"' don't match your environment
Ignoring jsbeautifier: markers 'python_version == "3.5"' don't match your environment
Ignoring hyperframe: markers 'python_version == "3.4"' don't match your environment
Ignoring hyperframe: markers 'python_version == "3.5"' don't match your environment
Ignoring cssutils: markers 'python_version == "3.4"' don't match your environment
Ignoring cssutils: markers 'python_version == "3.5"' don't match your environment
Ignoring kaitaistruct: markers 'python_version == "3.4"' don't match your environment
Ignoring kaitaistruct: markers 'python_version == "3.5"' don't match your environment
Ignoring tornado: markers 'python_version == "3.4"' don't match your environment
Ignoring tornado: markers 'python_version == "3.5"' don't match your environment
Ignoring ruamel.yaml: markers 'python_version == "3.4"' don't match your environment
Ignoring ruamel.yaml: markers 'python_version == "3.5"' don't match your environment
Ignoring html2text: markers 'python_version == "3.4"' don't match your environment
Ignoring html2text: markers 'python_version == "3.5"' don't match your environment
Ignoring dnspython3: markers 'python_version == "3.4"' don't match your environment
Ignoring dnspython3: markers 'python_version == "3.5"' don't match your environment
Ignoring hpack: markers 'python_version == "3.4"' don't match your environment
Ignoring hpack: markers 'python_version == "3.5"' don't match your environment
Ignoring brotlipy: markers 'python_version == "3.4"' don't match your environment
Ignoring brotlipy: markers 'python_version == "3.5"' don't match your environment
Ignoring mypy: markers 'python_version == "3.4"' don't match your environment
Ignoring mypy: markers 'python_version == "3.5"' don't match your environment
Ignoring urwid: markers 'python_version == "3.4"' don't match your environment
Ignoring urwid: markers 'python_version == "3.5"' don't match your environment
Ignoring argh: markers 'python_version == "3.4"' don't match your environment
Ignoring argh: markers 'python_version == "3.5"' don't match your environment
Ignoring blinker: markers 'python_version == "3.4"...

Read more...

Revision history for this message
Mudassar Hashmi (mhashmi1979) wrote :

I ran commands with sudo privileges but no resolution.

Revision history for this message
Mudassar Hashmi (mhashmi1979) wrote :

I rendered the repository from Git with the hunch that I am using the old repo. It worked and new repo didn't ran into same bugs.

Issue is ok to be closed.

Changed in horizon:
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.