Number of jobs fail with RETRY_LIMIT, No module named 'setuptools_rust

Bug #1915101 reported by Rabi Mishra
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Sandeep Yadav

Bug Description

Noticed at:

Looks like newly released cryptography 3.4.1 is broken.

I've proposed a requirements patch to bump uc.

We can probably also pin cryptography till that merges.

2021-02-08 23:32:13.070337 | primary | ERROR: Item: tripleo-common
2021-02-08 23:32:13.070658 | primary | {
2021-02-08 23:32:13.070759 | primary | "ansible_loop_var": "item",
2021-02-08 23:32:13.070850 | primary | "item": "tripleo-common",
2021-02-08 23:32:13.070948 | primary | "msg": "stdout: Collecting oslo.concurrency===4.4.0 (from -c /home/zuul/src/ (line 24))\n Downloading (47kB)\nCollecting python-ironic-inspector-client===4.4.0 (from -c /home/zuul/src/ (line 29))\n Downloading\nRequirement already satisfied: pbr===5.5.1 in /home/zuul/workspace/venv/lib/python3.6/site-packages (from -c /home/zuul/src/ (line 46))\nCollecting oslo.i18n===5.0.1 (from -c /home/zuul/src/ (line 52))\n Downloading (42kB)\nCollecting python-mistralclient===4.2.0 (from -c /home/zuul/src/ (line 54))\n Downloading (142kB)\nCollecting python-glanceclient===3.2.2 (from -c /home/zuul/src/ (line 116))\n Downloading (189kB)\nCollecting netaddr===0.8.0 (from -c /home/zuul/src/ (line 135))\n Downloading (1.9MB)\nCollecting prettytable===0.7.2 (from -c /home/zuul/src/ (line 143))\n Downloading\nCollecting eventlet===0.30.1 (from -c /home/zuul/src/ (line 157))\n Downloading (224kB)\nCollecting paramiko===2.7.2 (from -c /home/zuul/src/ (line 167))\n Downloading (206kB)\nRequirement already satisfied: PyYAML===5.4.1 in /home/zuul/workspace/venv/lib/python3.6/site-packages (from -c /home/zuul/src/ (line 181))\nCollecting cryptography===3.4.1 (from -c /home/zuul/src/ (line 185))\n Downloading (544kB)\n Complete output from command python egg_info:\n \n =============================DEBUG ASSISTANCE==========================\n If you are seeing an error here please try the following to\n successfully install cryptography:\n \n Upgrade to the latest pip and try again. This will fix errors for most\n users. See:\n =============================DEBUG ASSISTANCE==========================\n \n Traceback (most recent call last):\n File \"<string>\", line 1, in <module>\n File \"/tmp/pip-build-b4vatkr1/cryptography/\", line 14, in <module>\n from setuptools_rust import RustExtension\n ModuleNotFoundError: No module named 'setuptools_rust'\n \n ----------------------------------------\n\n:stderr: Ignoring scipy: markers 'python_version == \"3.8\"' don't match your environment\nIgnoring numpy: markers 'python_version == \"3.8\"' don't match your environment\nIgnoring importlib-resources: markers 'python_version == \"3.8\"' don't match your environment\nCommand \"python egg_info\" failed with error code 1 in /tmp/pip-build-b4vatkr1/cryptography/\nYou are using pip version 9.0.3, however version 21.0.1 is available.\nYou should consider upgrading via the 'pip install --upgrade pip' command.\n"

Rabi Mishra (rabi)
Changed in tripleo:
status: New → Triaged
importance: Undecided → Critical
Revision history for this message
wes hayutin (weshayutin) wrote :


not sure it's fixed in all cases, but..

[11:24:49] <weshay|ruck> any insight into "no module named setuptools_rust"'setuptools_rust'%5C%22)%20AND%20tags%3Aconsole%20AND%20voting%3A1

[11:27:26] <clarkb> weshay|ruck: cryptography pushed new sdists without wheels so pip tried to install cryptography from source and failed due to missing build deps. They pushed wheels and now things are happy again

Revision history for this message
Rabi Mishra (rabi) wrote :
tags: added: promotion-blocker
Revision history for this message
Rabi Mishra (rabi) wrote :

I these image build jobs we've an old pip that's why it's not installing[1] a pre-compiled wheel.


Revision history for this message
Rabi Mishra (rabi) wrote :

Looks like upgrading to 3.4.3 probably is not helping due to [1].

We would need to upgrade pip in the venv to fix it like what Sandeep is trying with


Changed in tripleo:
milestone: none → wallaby-3
assignee: nobody → Sandeep Yadav (sandeepyadav93)
Revision history for this message
Sandeep Yadav (sandeepyadav93) wrote :
Changed in tripleo:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers