[monasca][Release-job-failures] Release of openstack/monasca-agent for ref refs/tags/6.0.0 failed

Herve Beraud hberaud at redhat.com
Wed Oct 6 13:09:19 UTC 2021


Hello Monasca team,

Please have a look at the job error below.
Indeed your publish-monasca-agent-docker-images fail with a cryptography
error [1].

Indeed cryptography has been recently upgraded from version 3.4.8 to the
version 35.0.0 [2]. This could explain the reason why this job fails to
build rust.

We think that your used docker image needs some updating to solve this
issue.

For more details about the experienced issue please have a look at the jobs
links below (the forwarded email).

You should also note that the same problem appears with
monasca-notification.

Thank you for reading.

[1] ```

2021-10-06 11:22:30.035239 | ubuntu-focal |   writing manifest file
'src/cryptography.egg-info/SOURCES.txt'

2021-10-06 11:22:30.035260 | ubuntu-focal |   copying
src/cryptography/py.typed -> build/lib.linux-x86_64-3.6/cryptography

2021-10-06 11:22:30.035282 | ubuntu-focal |   creating
build/lib.linux-x86_64-3.6/cryptography/hazmat/bindings/_rust

2021-10-06 11:22:30.035303 | ubuntu-focal |   copying
src/cryptography/hazmat/bindings/_rust/__init__.pyi ->
build/lib.linux-x86_64-3.6/cryptography/hazmat/bindings/_rust

2021-10-06 11:22:30.035325 | ubuntu-focal |   copying
src/cryptography/hazmat/bindings/_rust/asn1.pyi ->
build/lib.linux-x86_64-3.6/cryptography/hazmat/bindings/_rust

2021-10-06 11:22:30.035358 | ubuntu-focal |   copying
src/cryptography/hazmat/bindings/_rust/ocsp.pyi ->
build/lib.linux-x86_64-3.6/cryptography/hazmat/bindings/_rust

2021-10-06 11:22:30.035381 | ubuntu-focal |   copying
src/cryptography/hazmat/bindings/_rust/x509.pyi ->
build/lib.linux-x86_64-3.6/cryptography/hazmat/bindings/_rust

2021-10-06 11:22:30.035422 | ubuntu-focal |   running build_ext

2021-10-06 11:22:30.035446 | ubuntu-focal |   generating cffi module
'build/temp.linux-x86_64-3.6/_openssl.c'

2021-10-06 11:22:30.035467 | ubuntu-focal |   creating
build/temp.linux-x86_64-3.6

2021-10-06 11:22:30.035489 | ubuntu-focal |   running build_rust

2021-10-06 11:22:30.035510 | ubuntu-focal |

2021-10-06 11:22:30.035532 | ubuntu-focal |
=============================DEBUG
ASSISTANCE=============================

2021-10-06 11:22:30.035553 | ubuntu-focal |       If you are seeing a
compilation error please try the following steps to

2021-10-06 11:22:30.035575 | ubuntu-focal |       successfully install
cryptography:

2021-10-06 11:22:30.035596 | ubuntu-focal |       1) Upgrade to the
latest pip and try again. This will fix errors for most

2021-10-06 11:22:30.035618 | ubuntu-focal |          users. See:
https://pip.pypa.io/en/stable/installing/#upgrading-pip

2021-10-06 11:22:30.035639 | ubuntu-focal |       2) Read
https://cryptography.io/en/latest/installation/ for specific

2021-10-06 11:22:30.035660 | ubuntu-focal |          instructions for
your platform.

2021-10-06 11:22:30.035682 | ubuntu-focal |       3) Check our
frequently asked questions for more information:

2021-10-06 11:22:30.035703 | ubuntu-focal |
https://cryptography.io/en/latest/faq/

2021-10-06 11:22:30.035724 | ubuntu-focal |       4) Ensure you have a
recent Rust toolchain installed:

2021-10-06 11:22:30.035763 | ubuntu-focal |
https://cryptography.io/en/latest/installation/#rust

2021-10-06 11:22:30.035786 | ubuntu-focal |

2021-10-06 11:22:30.035807 | ubuntu-focal |       Python: 3.6.8

2021-10-06 11:22:30.035828 | ubuntu-focal |       platform:
Linux-5.4.0-88-generic-x86_64-with

2021-10-06 11:22:30.035850 | ubuntu-focal |       pip: n/a

2021-10-06 11:22:30.035871 | ubuntu-focal |       setuptools: 58.2.0

2021-10-06 11:22:30.035893 | ubuntu-focal |       setuptools_rust: 0.12.1

2021-10-06 11:22:30.035914 | ubuntu-focal |
=============================DEBUG
ASSISTANCE=============================

2021-10-06 11:22:30.035936 | ubuntu-focal |

2021-10-06 11:22:30.035959 | ubuntu-focal |   error: can't find Rust compiler

2021-10-06 11:22:30.035981 | ubuntu-focal |

2021-10-06 11:22:30.036009 | ubuntu-focal |   If you are using an
outdated pip version, it is possible a prebuilt wheel is available for
this package but pip is not able to install from it. Installing from
the wheel would avoid the need for a Rust compiler.

2021-10-06 11:22:30.036040 | ubuntu-focal |

2021-10-06 11:22:30.036061 | ubuntu-focal |   To update pip, run:

2021-10-06 11:22:30.036082 | ubuntu-focal |

2021-10-06 11:22:30.036103 | ubuntu-focal |       pip install --upgrade pip

2021-10-06 11:22:30.036124 | ubuntu-focal |

2021-10-06 11:22:30.036145 | ubuntu-focal |   and then retry package
installation.

2021-10-06 11:22:30.036166 | ubuntu-focal |

2021-10-06 11:22:30.036206 | ubuntu-focal |   If you did intend to
build this package from source, try installing a Rust compiler from
your system package manager and ensure it is on the PATH during
installation. Alternatively, rustup (available at https://rustup.rs)
is the recommended way to download and update the Rust compiler
toolchain.

2021-10-06 11:22:30.036237 | ubuntu-focal |

2021-10-06 11:22:30.036259 | ubuntu-focal |   This package requires
Rust >=1.41.0.

2021-10-06 11:22:30.036280 | ubuntu-focal |
----------------------------------------

2021-10-06 11:22:30.036305 | ubuntu-focal |  [0m [91m  ERROR: Failed
building wheel for cryptography

```
[2]
https://opendev.org/openstack/requirements/commit/1fa22ce584ef8a5f5ec0c0e606e5e0daf38de148

---------- Forwarded message ---------
De : <zuul at openstack.org>
Date: mer. 6 oct. 2021 à 13:37
Subject: [Release-job-failures] Release of openstack/monasca-agent for ref
refs/tags/6.0.0 failed
To: <release-job-failures at lists.openstack.org>


Build failed.

- openstack-upload-github-mirror
https://zuul.opendev.org/t/openstack/build/1bb52ee7d5e74741b8b5f180ba48061f
: SUCCESS in 1m 32s
- release-openstack-python
https://zuul.opendev.org/t/openstack/build/ecd6b609a8f1440f98f521d018aae2bb
: SUCCESS in 5m 39s
- announce-release
https://zuul.opendev.org/t/openstack/build/6022c2ed55bb411498b5359ed606a3a1
: SUCCESS in 7m 43s
- propose-update-constraints
https://zuul.opendev.org/t/openstack/build/0f767adb04294e05ab2f54175c38c12e
: SUCCESS in 7m 46s
- publish-monasca-agent-docker-images
https://zuul.opendev.org/t/openstack/build/09e6e50adb8649e8a61083e8fa0cc602
: POST_FAILURE in 13m 19s

_______________________________________________
Release-job-failures mailing list
Release-job-failures at lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/release-job-failures



-- 
Hervé Beraud
Senior Software Engineer at Red Hat
irc: hberaud
https://github.com/4383/
https://twitter.com/4383hberaud
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20211006/b430cc82/attachment-0001.htm>


More information about the openstack-discuss mailing list