Tests fail when build in mock with rhel7 kernel on build system. ====================================================================== ERROR: test_sha256 (test.test_socket.LinuxKernelCryptoAPI) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/Python-3.6.3/Lib/test/test_socket.py", line 5425, in test_sha256 op.sendall(b"abc") OSError: [Errno 126] Required key not available ---------------------------------------------------------------------- Package really must be able to be build on target system, not only on fedora build system.
Created attachment 1372759 [details] Skip test_sha256 on rhel7. Patch to skip test_sha256 which fails on rhel7 kernel.
Hi and thanks for the bug report. Due to the Christmas break I was not able to get to this issue earlier. This is actually a know issue that I reported recently and it's due to a bug in the older linux kernel. Upstream now also disables that test for the older kernels. See the attached upstream issue. I'll backport the upstream fix.
python-rpm-macros-3-18.el7 python36-3.6.3-6.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-ddd7d1e59d
python-rpm-macros-3-18.el7, python36-3.6.3-6.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-ddd7d1e59d
python-rpm-macros-3-18.el7 python36-3.6.3-7.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-ddd7d1e59d
python-rpm-macros-3-18.el7, python36-3.6.3-7.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-ddd7d1e59d
python-rpm-macros-3-18.el7, python36-3.6.3-7.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.