Uploaded image for project: 'Red Hat OpenStack Services on OpenShift'
  1. Red Hat OpenStack Services on OpenShift
  2. OSPRH-2922

Command 'openssl' returned non-zero exit status 4 in osp-rpm-py39 / OSP 18

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False
    • ?
    • ?
    • ?
    • No
    • Moderate

      Hello,

      we observe a failure in RPM job executed as part of Component CI for OSP 18

      ```
      keystoneclient.tests.unit.test_cms.CMSTest.test_cms_verify_token_unscoped
      -------------------------------------------------------------------------

      Captured traceback:
      ~~~~~~~~~~~~~~~~~~~
      Traceback (most recent call last):

      File "/home/zuul/src/code.engineering.redhat.com/python-keystoneclient/keystoneclient/tests/unit/test_cms.py", line 122, in test_cms_verify_token_unscoped
      self.assertTrue(cms.cms_verify(cms_content,

      File "/home/zuul/src/code.engineering.redhat.com/python-keystoneclient/keystoneclient/common/cms.py", line 211, in cms_verify
      raise subprocess.CalledProcessError(retcode, 'openssl', output=err)

      subprocess.CalledProcessError: Command 'openssl' returned non-zero exit status 4.
      ```

      What we do in the job, is:
      – we fetch the spec file and install the RPM dependencies listed there,
      – we install some missing RPMs identified (that should be in spec file probably, but they are not),
      – we run the tests defined in tox.

      The additional RPMs we install are listed here:
      https://github.com/RedHatCRE/znoyder/blob/6e728306f860ed90054144fefa454d5cd90cc4d0/znoyder/config.d/43-override-OSP-18.yml#L471

      So, in essence, this is a tox job but with truncated requirement.txt and site-packages enabled.

      You can use this change for debugging the issue.
      https://code.engineering.redhat.com/gerrit/c/python-keystoneclient/+/446902

      Yours,
      Szymon

              Unassigned Unassigned
              jira-bugzilla-migration RH Bugzilla Integration
              rhos-dfg-security
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: