-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Description
az feedbackauto-generates most of the information requested below, as of CLI version 2.0.62
Describe the bug
We recently started seeing an issue with the following:
pip install --pre azure-cli --extra-index-url https://azurecliprod.blob.core.windows.net/edge
This was running fine till around a week or so ago but now we see that pip is always looking for the correct verison of urllib3 and other libraries. This goes on FOREVER until the timeout is reached for the pipeline and then the pipeline fails. I think this is related to the latest pip version and backtracking issue but I am not sure how to resolve this.
Any ideas how I can solve this?
Log from the pipeline that is running this command
Requirement already satisfied: msrest>=0.6.21 in /opt/hostedtoolcache/Python/3.9.5/x64/lib/python3.9/site-packages (from azure-keyvault-administration==4.0.0b3->azure-cli) (0.6.21)
Requirement already satisfied: azure-core<2.0.0,>=1.7.0 in /opt/hostedtoolcache/Python/3.9.5/x64/lib/python3.9/site-packages (from azure-keyvault-administration==4.0.0b3->azure-cli) (1.12.0)
Collecting msrestazure<2.0.0,>=0.4.32
Downloading msrestazure-0.6.4-py2.py3-none-any.whl (40 kB)
Collecting python-dateutil<3,>=2.1.0
Downloading python_dateutil-2.8.1-py2.py3-none-any.whl (227 kB)
Requirement already satisfied: cffi in /opt/hostedtoolcache/Python/3.9.5/x64/lib/python3.9/site-packages (from azure-datalake-store~=0.0.49->azure-cli) (1.13.2)
Collecting vsts
Downloading vsts-0.1.25-py3-none-any.whl (2.3 MB)
Collecting jinja2
Downloading Jinja2-3.0.1-py3-none-any.whl (133 kB)
Collecting azure-nspkg>=2.0.0
Downloading azure_nspkg-3.0.2-py3-none-any.whl (1.5 kB)
Collecting azure-mgmt-nspkg>=2.0.0
Downloading azure_mgmt_nspkg-3.0.2-py3-none-any.whl (1.6 kB)
Collecting azure-mgmt-datalake-nspkg>=2.0.0
Downloading azure_mgmt_datalake_nspkg-3.0.1-py3-none-any.whl (1.7 kB)
Requirement already satisfied: pycparser in /opt/hostedtoolcache/Python/3.9.5/x64/lib/python3.9/site-packages (from cffi->azure-datalake-store~=0.0.49->azure-cli) (2.19)
Collecting pathlib2
Downloading pathlib2-2.3.5-py2.py3-none-any.whl (18 kB)
Collecting invoke<2.0,>=1.3
Downloading invoke-1.5.0-py3-none-any.whl (211 kB)
Requirement already satisfied: pyyaml in /opt/hostedtoolcache/Python/3.9.5/x64/lib/python3.9/site-packages (from knack~=0.8.2->azure-cli-core==2.25.0.post20210615155724->azure-cli) (5.3)
Collecting tabulate
Downloading tabulate-0.8.9-py3-none-any.whl (25 kB)
Collecting pygments
Downloading Pygments-2.9.0-py3-none-any.whl (1.0 MB)
Collecting colorama
Downloading colorama-0.4.4-py2.py3-none-any.whl (16 kB)
Collecting PyJWT[crypto]<3,>=1.0.0
Downloading PyJWT-2.1.0-py3-none-any.whl (16 kB)
Requirement already satisfied: isodate>=0.6.0 in /opt/hostedtoolcache/Python/3.9.5/x64/lib/python3.9/site-packages (from msrest>=0.6.21->azure-keyvault-administration==4.0.0b3->azure-cli) (0.6.0)
Requirement already satisfied: certifi>=2017.4.17 in /opt/hostedtoolcache/Python/3.9.5/x64/lib/python3.9/site-packages (from msrest>=0.6.21->azure-keyvault-administration==4.0.0b3->azure-cli) (2019.11.28)
Requirement already satisfied: requests-oauthlib>=0.5.0 in /opt/hostedtoolcache/Python/3.9.5/x64/lib/python3.9/site-packages (from msrest>=0.6.21->azure-keyvault-administration==4.0.0b3->azure-cli) (1.3.0)
Requirement already satisfied: pyparsing>=2.0.2 in /opt/hostedtoolcache/Python/3.9.5/x64/lib/python3.9/site-packages (from packaging~=20.9->azure-cli) (2.4.7)
Collecting bcrypt>=3.1.3
Downloading bcrypt-3.2.0-cp36-abi3-manylinux2010_x86_64.whl (63 kB)
Collecting pynacl>=1.0.1
Downloading PyNaCl-1.4.0-cp35-abi3-manylinux1_x86_64.whl (961 kB)
Collecting PyJWT[crypto]<3,>=1.0.0
Downloading PyJWT-2.0.1-py3-none-any.whl (15 kB)
Downloading PyJWT-2.0.0-py3-none-any.whl (15 kB)
Downloading PyJWT-2.0.0a2-py3-none-any.whl (15 kB)
Downloading PyJWT-2.0.0a1-py3-none-any.whl (16 kB)
Requirement already satisfied: idna<2.9,>=2.5 in /opt/hostedtoolcache/Python/3.9.5/x64/lib/python3.9/site-packages (from requests~=2.22->azure-cli-core==2.25.0.post20210615155724->azure-cli) (2.8)
Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in /opt/hostedtoolcache/Python/3.9.5/x64/lib/python3.9/site-packages (from requests~=2.22->azure-cli-core==2.25.0.post20210615155724->azure-cli) (1.25.8)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in /opt/hostedtoolcache/Python/3.9.5/x64/lib/python3.9/site-packages (from requests~=2.22->azure-cli-core==2.25.0.post20210615155724->azure-cli) (3.0.4)
Requirement already satisfied: oauthlib>=3.0.0 in /opt/hostedtoolcache/Python/3.9.5/x64/lib/python3.9/site-packages (from requests-oauthlib>=0.5.0->msrest>=0.6.21->azure-keyvault-administration==4.0.0b3->azure-cli) (3.1.0)
INFO: pip is looking at multiple versions of urllib3 to determine which version is compatible with other requirements. This could take a while.
Collecting urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1
Downloading urllib3-1.25.11-py2.py3-none-any.whl (127 kB)
Downloading urllib3-1.25.10-py2.py3-none-any.whl (127 kB)
Downloading urllib3-1.25.9-py2.py3-none-any.whl (126 kB)
Downloading urllib3-1.25.7-py2.py3-none-any.whl (125 kB)
Downloading urllib3-1.25.6-py2.py3-none-any.whl (125 kB)
Downloading urllib3-1.25.5-py2.py3-none-any.whl (125 kB)
Downloading urllib3-1.25.4-py2.py3-none-any.whl (125 kB)
Downloading urllib3-1.25.3-py2.py3-none-any.whl (150 kB)
To Reproduce
In an azure pipeline (yaml) file, write a script and run:
pip install --pre azure-cli --extra-index-url https://azurecliprod.blob.core.windows.net/edge
Yaml setup details
2021-06-15T19:15:20.0479257Z ##[section]Starting: Initialize job
2021-06-15T19:15:20.0480963Z Agent name: 'Hosted Agent'
2021-06-15T19:15:20.0481450Z Agent machine name: 'fv-az40-742'
2021-06-15T19:15:20.0481770Z Current agent version: '2.187.2'
2021-06-15T19:15:20.0544581Z ##[group]Operating System
2021-06-15T19:15:20.0545069Z Ubuntu
2021-06-15T19:15:20.0545303Z 20.04.2
2021-06-15T19:15:20.0545519Z LTS
2021-06-15T19:15:20.0545772Z ##[endgroup]
2021-06-15T19:15:20.0546057Z ##[group]Virtual Environment
2021-06-15T19:15:20.0546409Z Environment: ubuntu-20.04
2021-06-15T19:15:20.0546712Z Version: 20210606.1
Expected behavior
Azure cli is installed
Environment summary
Linux based pipeline
Additional context
This was working fine around 2 weeks ago but stopped working and just over the weekend (June 18th onwards) started working again. I am not sure if this is working temporarily.