Bug 1570256

Summary: python35: test_buffer check fails on ppc64le
Product: [Fedora] Fedora Reporter: Miro Hrončok <mhroncok>
Component: python35Assignee: Miro Hrončok <mhroncok>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: low    
Version: 28CC: bkabrda, cstratak, dmalcolm, extras-qa, lzachar, mhroncok, pviktori, rkuska, tomspur, torsava, vstinner
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python35-3.5.7~rc1-1.fc31 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1540995 Environment:
Last Closed: 2019-03-14 11:21:48 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1540995    
Bug Blocks: 1071880    

Description Miro Hrončok 2018-04-21 08:32:39 UTC
+++ This bug was initially created as a clone of Bug #1540995 +++

======================================================================
FAIL: test_memoryview_struct_module (test.test_buffer.TestBufferProtocol)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/Python-3.5.5/Lib/test/test_buffer.py", line 2540, in test_memoryview_struct_module
    self.assertEqual(m[1], nd[1])
AssertionError: -21.099998474121094 != -21.100000381469727
----------------------------------------------------------------------
Ran 72 tests in 16.169s
FAILED (failures=1)

Version-Release number of selected component (if applicable):
python3-3.5.5-1.fc28


How reproducible:
100%


Steps to Reproduce:
1. Build python35 with test_buffer enabled in rawhide

Additional info:
The test was disabled in 3.5.5-1 so that the F28 rebuild can happen.


--- Additional comment from Iryna Shcherbina on 2018-02-27 20:22:54 CET ---

The culprit might be in the gcc update.

The test works with gcc-7.2.1-2.fc27.ppc64le, but if you update to gcc-8.0.1-0.14.fc28.ppc64le it starts to fail.

Comment 1 Petr Viktorin (pviktori) 2019-01-07 13:48:19 UTC
Setting this to low priority.

It would be great if someone else would get to this earlier than we can. If that's your case, please assign the bug to yourself (and adjust priority accordingly).

Comment 2 Victor Stinner 2019-03-05 13:29:54 UTC
This issue is duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=1540995 but for Python 3.5: this bug is caused by a compiler bug which has been fixed in Rawhide:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88892