• Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • rhel-10.0.beta
    • python-cryptography
    • None
    • No
    • None
    • sst_idm_ipa
    • ssg_idm
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • All
    • None

      What were you trying to do that didn't work?

      Running tests that are in the RPM package are failing with the following error and then stop with return code 137:

      PYTHONPATH=$PYTHONPATH://tmp/tmp.pcMlGZeplr/BUILD/cryptography-43.0.0/vectors/ python -m pytest -k 'not (test_openssl_memleak)''
      ==================================================================== test session starts =====================================================================
      platform linux -- Python 3.12.5, pytest-7.4.3, pluggy-1.3.0
      OpenSSL: OpenSSL 3.2.2 4 Jun 2024
      FIPS Enabled: False
      rootdir: /tmp/tmp.pcMlGZeplr/BUILD/cryptography-43.0.0
      configfile: pyproject.toml
      collected 3285 items           
      tests/test_cryptography_utils.py ...                                                                                                            [  0%]
      tests/test_fernet.py ..............s................                 [  1%]
      tests/test_meta.py .                                                 [  1%]
      tests/test_utils.py .ss.....................................         [  2%]
      tests/test_warnings.py ..                                            [  2%]
      tests/bench/test_aead.py EEEEEEEEEE                                  [  2%]
      tests/bench/test_ec_load.py EE                                       [  2%]
      tests/bench/test_fernet.py E                                         [  2%]
      tests/bench/test_hashes.py E                                         [  2%]
      tests/bench/test_hmac.py E                                           [  2%]
      tests/bench/test_x509.py EEEEE                                       [  2%]
      tests/hazmat/test_oid.py ....                                        [  3%]
      tests/hazmat/backends/test_openssl.py ...................ss          [  3%]
      tests/hazmat/bindings/test_openssl.py .......                        [  3%]
      tests/hazmat/primitives/test_aead.py sF...........F..............F...........sF.............F..........F...........                                                                  [  6%]
      tests/hazmat/primitives/test_aes.py ................s..............  [  7%]
      tests/hazmat/primitives/test_aes_gcm.py ................             [  7%]
      tests/hazmat/primitives/test_asym_utils.py .......                   [  7%]
      tests/hazmat/primitives/test_block.py ........................       [  8%]
      tests/hazmat/primitives/test_camellia.py ....                        [  8%]
      tests/hazmat/primitives/test_chacha20.py .....................       [  9%]
      tests/hazmat/primitives/test_ciphers.py ....................................................... 

      What is the impact of this issue to you?

      Low

      Please provide the package NVR for which the bug is seen:

      python3-cryptography-43.0.0-2.el10

      How reproducible is this bug?:

      Always

      Steps to reproduce

      1. rpm --define '_topdir ${PWD}' -ivh python-cryptography*.src.rpm
      2. rpmbuild --define '_topdir ${PWD}' -bp ${PWD}/SPECS/python-cryptography.spec
      3. cd ${PWD}/BUILD/cryptography-*/
      4. export OPENSSL_ENABLE_SHA1_SIGNATURES=yes
      5. PYTHONPATH=${PWD}/vectors/ python -m pytest -k 'not (test_openssl_memleak)'

      Expected results

      All the tests are passing

      Actual results

      A lot of tests are failing

            ftrivino@redhat.com Francisco Trivino Garcia
            rh-ee-gpantela George Pantelakis
            Francisco Trivino Garcia Francisco Trivino Garcia
            Michal Polovka Michal Polovka
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: