Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1561011

Summary: python33: test_buffer fails on ppc64le
Product: [Fedora] Fedora Reporter: Miro Hrončok <mhroncok>
Component: python33Assignee: Miro Hrončok <mhroncok>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 28CC: cstratak, extras-qa, kevin, mhroncok, pviktori, TicoTimo, torsava
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1544833 Environment:
Last Closed: 2018-09-24 13:03:15 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-03-27 12:44:10 UTC
+++ This bug was initially created as a clone of Bug #1544833 +++

When building python33, the following test failure happens on ppc64le:

======================================================================
FAIL: test_memoryview_struct_module (test.test_buffer.TestBufferProtocol)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/Python-3.3.7/Lib/test/test_buffer.py", line 2506, in test_memoryview_struct_module
    self.assertEqual(m[1], nd[1])
AssertionError: -21.099998474121094 != -21.100000381469727
----------------------------------------------------------------------


This tests equivalence of struct.pack_into and assigning into a memoryview, and fails on a Decimal instance.

This doesn't look too serious, so I'll disable the test for now, but it would be nice to look into it some day.

(Given the nature of the package and the arch specificity of this test failure, I'm not sure it's worth it.)

Comment 1 Petr Viktorin 2018-09-24 13:03:15 UTC
Retired in f29+