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 975044

Summary: customer_database_test fails on big-endian arches
Product: [Fedora] Fedora Reporter: Dan Horák <dan>
Component: cmockaAssignee: Andreas Schneider <asn>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 19CC: asn, dan, jhrozek
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: cmocka-0.3.1-1.fc19 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-07-23 01:02: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:    
Bug Blocks: 467765    
Attachments:
Description Flags
test log none

Description Dan Horák 2013-06-17 13:40:42 UTC
The customer_database_test fails on big-endian arches like ppc and s390x. Not sure now if it's both 32-bit and 64-bit or 64-bit only, but I'll add more details later. Let me know if you need access to big endian hardware.

Version-Release number of selected component (if applicable):
cmocka-0.3.0-1.fc19

Comment 1 Dan Horák 2013-06-17 13:41:54 UTC
from build.log at http://s390.koji.fedoraproject.org/koji/taskinfo?taskID=1079993

Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.M0axm6
+ umask 022
+ cd /builddir/build/BUILD
+ cd cmocka-0.3.0
+ pushd build
~/build/BUILD/cmocka-0.3.0/build ~/build/BUILD/cmocka-0.3.0
+ make test
Running tests...
/usr/bin/ctest --force-new-ctest-process 
Test project /builddir/build/BUILD/cmocka-0.3.0/build
    Start 1: calculator_test
1/9 Test #1: calculator_test ..................   Passed    0.01 sec
    Start 2: allocate_module_test
2/9 Test #2: allocate_module_test .............   Passed    0.00 sec
    Start 3: assert_macro_test
3/9 Test #3: assert_macro_test ................   Passed    0.00 sec
    Start 4: assert_module_test
4/9 Test #4: assert_module_test ...............   Passed    0.00 sec
    Start 5: customer_database_test
5/9 Test #5: customer_database_test ...........***Failed    0.00 sec
    Start 6: key_value_test
6/9 Test #6: key_value_test ...................   Passed    0.00 sec
    Start 7: product_database_test
7/9 Test #7: product_database_test ............   Passed    0.00 sec
    Start 8: run_tests
8/9 Test #8: run_tests ........................   Passed    0.00 sec
    Start 9: waiter_test_wrap
9/9 Test #9: waiter_test_wrap .................   Passed    0.00 sec
89% tests passed, 1 tests failed out of 9
Total Test time (real) =   0.03 sec
The following tests FAILED:
	  5 - customer_database_test (Failed)
Errors while running CTest
make: *** [test] Error 8

Comment 2 Andreas Schneider 2013-06-17 14:59:47 UTC
Could you attach 'Testing/Temporary/LastTest.log' from the build directory? Maybe we should remove the test it is really not a good example ...

Comment 3 Dan Horák 2013-06-17 15:16:58 UTC
Created attachment 762070 [details]
test log

Comment 4 Fedora Update System 2013-07-10 14:00:58 UTC
cmocka-0.3.1-1.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/cmocka-0.3.1-1.fc19

Comment 5 Fedora Update System 2013-07-10 14:08:22 UTC
cmocka-0.3.1-1.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/cmocka-0.3.1-1.fc18

Comment 6 Fedora Update System 2013-07-12 03:01:13 UTC
Package cmocka-0.3.1-1.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing cmocka-0.3.1-1.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-12778/cmocka-0.3.1-1.fc19
then log in and leave karma (feedback).

Comment 7 Fedora Update System 2013-07-23 01:02:48 UTC
cmocka-0.3.1-1.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2013-07-23 01:03:26 UTC
cmocka-0.3.1-1.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.