stack.sh too slow due to pip with WARNING "This is taking longer than usual"

Bug #1946615 reported by Gunju Kim
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
devstack
New
Undecided
Unassigned

Bug Description

stack.sh does not finish for about more than 8 hours. I am not sure this will finish or will be stuck forever.

1. Made a Virtual Box VM with ubuntu-20.04.3-live-server-amd64.iso.
2. Follow the instructions(make "stack" user, git clone, copy local.conf)
3. apt purge python3-simplejson
Without this, stack.sh failed. I think there is a bug about this too. https://bugs.launchpad.net/devstack/+bug/1871485
4. ./stack.sh

$ ./stack.sh
...
Requirement already satisfied: PrettyTable>=0.7.1 in /usr/local/lib/python3.8/dist-packages (from oslo.upgradecheck>=1.1.1->cinder==19.1.0.dev47) (0.7.2)
Requirement already satisfied: netifaces>=0.10.4 in /usr/local/lib/python3.8/dist-packages (from oslo.utils>=4.8.0->cinder==19.1.0.dev47) (0.11.0)
Collecting suds-jurko>=0.6
  Downloading suds-jurko-0.6.zip (255 kB)
    ERROR: Command errored out with exit status 1:
     command: /usr/bin/python3.8 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-cnty1i7o/suds-jurko_182c411dec3e48f8a71356f11c294228/setup.py'"'"'; __file__='"'"'/tmp/p
ip-install-cnty1i7o/suds-jurko_182c411dec3e48f8a71356f11c294228/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools impor
t setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-fxe47gee
         cwd: /tmp/pip-install-cnty1i7o/suds-jurko_182c411dec3e48f8a71356f11c294228/
    Complete output (1 lines):
    error in suds-jurko setup command: use_2to3 is invalid.
    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/d0/88/f3bed9b494e0dae26bd55e5f3d527b8244208125024727267e8109956a11/suds-jurko-0.6.zip#sha256=1cb7252cb13018fc32887c3a834ed7c6648a5b5c4c159be580
6da2e1785399e8 (from https://pypi.org/simple/suds-jurko/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  Downloading suds-jurko-0.6.tar.bz2 (143 kB)
    ERROR: Command errored out with exit status 1:
     command: /usr/bin/python3.8 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-cnty1i7o/suds-jurko_477387c18a2048739c1127225088da9c/setup.py'"'"'; __file__='"'"'/tmp/p
ip-install-cnty1i7o/suds-jurko_477387c18a2048739c1127225088da9c/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools impor
t setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-5x8dkd_r
         cwd: /tmp/pip-install-cnty1i7o/suds-jurko_477387c18a2048739c1127225088da9c/
    Complete output (1 lines):
    error in suds-jurko setup command: use_2to3 is invalid.
    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/bd/6f/54fbf0999a606680d27c69b1ad12dfff62768ecb9fe48524cebda6eb4423/suds-jurko-0.6.tar.bz2#sha256=29edb72fd21e3044093d86f33c66cf847c5aaab26d64cb
90e69e528ef014e57f (from https://pypi.org/simple/suds-jurko/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
INFO: pip is looking at multiple versions of oslo-versionedobjects to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of netifaces to determine which version is compatible with other requirements. This could take a while.
Collecting netifaces>=0.10.4
  Using cached netifaces-0.11.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl (33 kB)
INFO: pip is looking at multiple versions of oslo-utils to determine which version is compatible with other requirements. This could take a while.
Collecting oslo.utils>=4.8.0
  Using cached oslo.utils-4.10.0-py3-none-any.whl (101 kB)
INFO: pip is looking at multiple versions of oslo-upgradecheck to determine which version is compatible with other requirements. This could take a while.
Collecting oslo.upgradecheck>=1.1.1
  Using cached oslo.upgradecheck-1.4.0-py3-none-any.whl (14 kB)
INFO: pip is looking at multiple versions of oslo-versionedobjects to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of netifaces to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of fixtures to determine which version is compatible with other requirements. This could take a while.
Collecting fixtures>=3.0.0
  Using cached fixtures-3.0.0-py2.py3-none-any.whl (67 kB)
INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. If you want to abort this run, you can press Ctrl + C to do so. To i
mprove how pip performs, tell us what happened here: https://pip.pypa.io/surveys/backtracking
INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. If you want to abort this run, you can press Ctrl + C to do so. To i
mprove how pip performs, tell us what happened here: https://pip.pypa.io/surveys/backtracking
INFO: pip is looking at multiple versions of oslo-utils to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of oslo-service to determine which version is compatible with other requirements. This could take a while.
Collecting oslo.service>=2.5.0
  Using cached oslo.service-2.6.0-py3-none-any.whl (77 kB)
...

stack.sh does not finish for about 8 hours? I executed stack.sh before going to bed...

Gunju Kim (gjkim)
description: updated
description: updated
description: updated
description: updated
Gunju Kim (gjkim)
summary: - stack.sh too slow due to pip with "This is taking longer than usual"
+ stack.sh too slow due to pip with WARNING "This is taking longer than
+ usual"
Revision history for this message
Gunju Kim (gjkim) wrote :
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.