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 1352046 - tests fail on s390x
Summary: tests fail on s390x
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: sssd
Version: rawhide
Hardware: s390x
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jakub Hrozek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: ZedoraTracker
TreeView+ depends on / blocked
 
Reported: 2016-07-01 13:37 UTC by Dan Horák
Modified: 2020-05-02 18:24 UTC (History)
8 users (show)

Fixed In Version: sssd-1.14.0-3.fc25
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-07-08 09:23:02 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github SSSD sssd issues 4112 0 None None None 2020-05-02 18:24:02 UTC

Description Dan Horák 2016-07-01 13:37:55 UTC
test_groups_by_recent_filter_valid fails on s390x

...
[ RUN      ] test_groups_by_recent_filter_valid
0x1 != 0x2
src/tests/cmocka/test_responder_cache_req.c:1662: error: Failure!
[  FAILED  ] test_groups_by_recent_filter_valid
...

for full logs please see http://s390.koji.fedoraproject.org/koji/taskinfo?taskID=2274095

As visible at http://s390.koji.fedoraproject.org/koji/packageinfo?packageID=8023 builds until sssd-1.14.0-1.fc25.alpha were successful.


Version-Release number of selected component (if applicable):
sssd-1.14.0-2.fc25.beta1

Comment 1 Dan Horák 2016-07-01 13:49:55 UTC
few more tests are failing, see below

make  check-TESTS
make[3]: Entering directory '/builddir/build/BUILD/sssd-1.13.91'
make[4]: Entering directory '/builddir/build/BUILD/sssd-1.13.91'
PASS: src/tests/pysss_murmur-test.py2.sh
PASS: src/tests/pyhbac-test.py2.sh
PASS: src/tests/pysss_murmur-test.py3.sh
PASS: src/tests/pyhbac-test.py3.sh
PASS: test-find-uid
PASS: test-io
PASS: nss-srv-tests
PASS: test-authtok
PASS: sss_nss_idmap-tests
PASS: src/config/SSSDConfigTest.py2.sh
PASS: src/config/SSSDConfigTest.py3.sh
PASS: fqnames-tests
PASS: test_sss_idmap
PASS: nestedgroups-tests
PASS: test_ipa_idmap
PASS: test_utils
PASS: dp_opt_tests
PASS: responder-get-domains-tests
PASS: sbus-internal-tests
PASS: sss_sifp-tests
PASS: test_search_bases
PASS: test_ldap_auth
PASS: test_sdap_access
PASS: sdap-tests
PASS: test_sysdb_views
FAIL: test_sysdb_ts_cache
PASS: test_sysdb_subdomains
PASS: test_sysdb_sudo
PASS: test_sysdb_utils
PASS: test_copy_ccache
PASS: test_copy_keytab
PASS: test_child_common
FAIL: responder_cache_req-tests
PASS: test_sbus_opath
PASS: test-negcache
PASS: dyndns-tests
PASS: test_ipa_subdom_util
PASS: test_tools_colondb
PASS: pam-srv-tests
PASS: test_cert_utils
PASS: test_ldap_id_cleanup
PASS: test_krb5_wait_queue
PASS: test_dp_request_table
PASS: test_be_ptask
PASS: test_dp_builtin
PASS: test_ipa_dn
PASS: test_resolv_fake
PASS: ifp_tests
PASS: ad_access_filter_tests
PASS: ad_gpo_tests
PASS: ad_common_tests
PASS: test_data_provider_be
PASS: test_dp_request
PASS: dlopen-tests
PASS: strtonum-tests
PASS: test_ipa_subdom_server
PASS: krb5-utils-tests
PASS: check_and_open-tests
PASS: files-tests
PASS: refcount-tests
PASS: fail_over-tests
PASS: find_uid-tests
PASS: auth-tests
PASS: ipa_ldap_opt-tests
PASS: ad_ldap_opt-tests
PASS: simple_access-tests
PASS: crypto-tests
PASS: util-tests
PASS: debug-tests
PASS: ipa_hbac-tests
PASS: sss_idmap-tests
PASS: sysdb-tests
PASS: responder_socket_access-tests
PASS: safe-format-tests
PASS: sysdb_ssh-tests
PASS: sbus_tests
PASS: sbus_codegen_tests
SKIP: src/tests/whitespace_test
PASS: sss_config-tests
PASS: test_fo_srv
PASS: resolv-tests
====================================
   sssd 1.13.91: ./test-suite.log
====================================
# TOTAL: 81
# PASS:  78
# SKIP:  1
# XFAIL: 0
# FAIL:  2
# XPASS: 0
# ERROR: 0
.. contents:: :depth: 2
FAIL: test_sysdb_ts_cache
=========================
[==========] Running 11 test(s).
[ RUN      ] test_sysdb_group_update
[       OK ] test_sysdb_group_update
[ RUN      ] test_sysdb_group_delete
0 != 0x1
src/tests/cmocka/test_sysdb_ts_cache.c:548: error: Failure!
[  FAILED  ] test_sysdb_group_delete
[ RUN      ] test_sysdb_group_rename
[       OK ] test_sysdb_group_rename
[ RUN      ] test_sysdb_getgr_merges
[       OK ] test_sysdb_getgr_merges
[ RUN      ] test_group_bysid
[       OK ] test_group_bysid
[ RUN      ] test_merge_ldb_results
0 != 0x2
src/tests/cmocka/test_sysdb_ts_cache.c:837: error: Failure!
[  FAILED  ] test_merge_ldb_results
[ RUN      ] test_sysdb_user_update
[       OK ] test_sysdb_user_update
[ RUN      ] test_sysdb_user_delete
0 != 0x1
src/tests/cmocka/test_sysdb_ts_cache.c:1088: error: Failure!
[  FAILED  ] test_sysdb_user_delete
[ RUN      ] test_sysdb_getpw_merges
[       OK ] test_sysdb_getpw_merges
[ RUN      ] test_user_bysid
[       OK ] test_user_bysid
[ RUN      ] test_user_byupn
[       OK ] test_user_byupn
[==========] 11 test(s) run.
[  PASSED  ] 8 test(s).
[  FAILED  ] 3 test(s), listed below:
[  FAILED  ] test_sysdb_group_delete
[  FAILED  ] test_merge_ldb_results
[  FAILED  ] test_sysdb_user_delete
 3 FAILED TEST(S)
FAIL test_sysdb_ts_cache (exit status: 3)
FAIL: responder_cache_req-tests
===============================
[==========] Running 67 test(s).
[ RUN      ] test_user_by_name_cache_valid
[       OK ] test_user_by_name_cache_valid
[ RUN      ] test_user_by_name_cache_expired
[       OK ] test_user_by_name_cache_expired
[ RUN      ] test_user_by_name_cache_midpoint
[       OK ] test_user_by_name_cache_midpoint
[ RUN      ] test_user_by_name_ncache
[       OK ] test_user_by_name_ncache
[ RUN      ] test_user_by_name_missing_found
[       OK ] test_user_by_name_missing_found
[ RUN      ] test_user_by_name_missing_notfound
[       OK ] test_user_by_name_missing_notfound
[ RUN      ] test_user_by_name_multiple_domains_found
[       OK ] test_user_by_name_multiple_domains_found
[ RUN      ] test_user_by_name_multiple_domains_notfound
[       OK ] test_user_by_name_multiple_domains_notfound
[ RUN      ] test_user_by_name_multiple_domains_parse
[       OK ] test_user_by_name_multiple_domains_parse
[ RUN      ] test_user_by_upn_cache_valid
[       OK ] test_user_by_upn_cache_valid
[ RUN      ] test_user_by_upn_cache_expired
[       OK ] test_user_by_upn_cache_expired
[ RUN      ] test_user_by_upn_cache_midpoint
[       OK ] test_user_by_upn_cache_midpoint
[ RUN      ] test_user_by_upn_ncache
[       OK ] test_user_by_upn_ncache
[ RUN      ] test_user_by_upn_missing_found
[       OK ] test_user_by_upn_missing_found
[ RUN      ] test_user_by_upn_missing_notfound
[       OK ] test_user_by_upn_missing_notfound
[ RUN      ] test_user_by_upn_multiple_domains_found
[       OK ] test_user_by_upn_multiple_domains_found
[ RUN      ] test_user_by_upn_multiple_domains_notfound
[       OK ] test_user_by_upn_multiple_domains_notfound
[ RUN      ] test_user_by_id_cache_valid
[       OK ] test_user_by_id_cache_valid
[ RUN      ] test_user_by_id_cache_expired
[       OK ] test_user_by_id_cache_expired
[ RUN      ] test_user_by_id_cache_midpoint
[       OK ] test_user_by_id_cache_midpoint
[ RUN      ] test_user_by_id_ncache
[       OK ] test_user_by_id_ncache
[ RUN      ] test_user_by_id_missing_found
[       OK ] test_user_by_id_missing_found
[ RUN      ] test_user_by_id_missing_notfound
[       OK ] test_user_by_id_missing_notfound
[ RUN      ] test_user_by_id_multiple_domains_found
[       OK ] test_user_by_id_multiple_domains_found
[ RUN      ] test_user_by_id_multiple_domains_notfound
[       OK ] test_user_by_id_multiple_domains_notfound
[ RUN      ] test_group_by_name_cache_valid
[       OK ] test_group_by_name_cache_valid
[ RUN      ] test_group_by_name_cache_expired
[       OK ] test_group_by_name_cache_expired
[ RUN      ] test_group_by_name_cache_midpoint
[       OK ] test_group_by_name_cache_midpoint
[ RUN      ] test_group_by_name_ncache
[       OK ] test_group_by_name_ncache
[ RUN      ] test_group_by_name_missing_found
[       OK ] test_group_by_name_missing_found
[ RUN      ] test_group_by_name_missing_notfound
[       OK ] test_group_by_name_missing_notfound
[ RUN      ] test_group_by_name_multiple_domains_found
[       OK ] test_group_by_name_multiple_domains_found
[ RUN      ] test_group_by_name_multiple_domains_notfound
[       OK ] test_group_by_name_multiple_domains_notfound
[ RUN      ] test_group_by_name_multiple_domains_parse
[       OK ] test_group_by_name_multiple_domains_parse
[ RUN      ] test_group_by_id_cache_valid
[       OK ] test_group_by_id_cache_valid
[ RUN      ] test_group_by_id_cache_expired
[       OK ] test_group_by_id_cache_expired
[ RUN      ] test_group_by_id_cache_midpoint
[       OK ] test_group_by_id_cache_midpoint
[ RUN      ] test_group_by_id_ncache
[       OK ] test_group_by_id_ncache
[ RUN      ] test_group_by_id_missing_found
[       OK ] test_group_by_id_missing_found
[ RUN      ] test_group_by_id_missing_notfound
[       OK ] test_group_by_id_missing_notfound
[ RUN      ] test_group_by_id_multiple_domains_found
[       OK ] test_group_by_id_multiple_domains_found
[ RUN      ] test_group_by_id_multiple_domains_notfound
[       OK ] test_group_by_id_multiple_domains_notfound
[ RUN      ] test_user_by_recent_filter_valid
[       OK ] test_user_by_recent_filter_valid
[ RUN      ] test_users_by_recent_filter_valid
[       OK ] test_users_by_recent_filter_valid
[ RUN      ] test_group_by_recent_filter_valid
[       OK ] test_group_by_recent_filter_valid
[ RUN      ] test_groups_by_recent_filter_valid
0x1 != 0x2
src/tests/cmocka/test_responder_cache_req.c:1662: error: Failure!
[  FAILED  ] test_groups_by_recent_filter_valid
[ RUN      ] test_users_by_filter_filter_old
[       OK ] test_users_by_filter_filter_old
[ RUN      ] test_users_by_filter_notfound
[       OK ] test_users_by_filter_notfound
[ RUN      ] test_users_by_filter_multiple_domains_notfound
[       OK ] test_users_by_filter_multiple_domains_notfound
[ RUN      ] test_groups_by_filter_notfound
[       OK ] test_groups_by_filter_notfound
[ RUN      ] test_groups_by_filter_multiple_domains_notfound
[       OK ] test_groups_by_filter_multiple_domains_notfound
[ RUN      ] test_object_by_sid_user_cache_valid
[       OK ] test_object_by_sid_user_cache_valid
[ RUN      ] test_object_by_sid_user_cache_expired
[       OK ] test_object_by_sid_user_cache_expired
[ RUN      ] test_object_by_sid_user_cache_midpoint
[       OK ] test_object_by_sid_user_cache_midpoint
[ RUN      ] test_object_by_sid_user_ncache
[       OK ] test_object_by_sid_user_ncache
[ RUN      ] test_object_by_sid_user_missing_found
[       OK ] test_object_by_sid_user_missing_found
[ RUN      ] test_object_by_sid_user_missing_notfound
[       OK ] test_object_by_sid_user_missing_notfound
[ RUN      ] test_object_by_sid_user_multiple_domains_found
[       OK ] test_object_by_sid_user_multiple_domains_found
[ RUN      ] test_object_by_sid_user_multiple_domains_notfound
[       OK ] test_object_by_sid_user_multiple_domains_notfound
[ RUN      ] test_object_by_sid_group_cache_valid
[       OK ] test_object_by_sid_group_cache_valid
[ RUN      ] test_object_by_sid_group_cache_expired
[       OK ] test_object_by_sid_group_cache_expired
[ RUN      ] test_object_by_sid_group_cache_midpoint
[       OK ] test_object_by_sid_group_cache_midpoint
[ RUN      ] test_object_by_sid_group_ncache
[       OK ] test_object_by_sid_group_ncache
[ RUN      ] test_object_by_sid_group_missing_found
[       OK ] test_object_by_sid_group_missing_found
[ RUN      ] test_object_by_sid_group_missing_notfound
[       OK ] test_object_by_sid_group_missing_notfound
[ RUN      ] test_object_by_sid_group_multiple_domains_found
[       OK ] test_object_by_sid_group_multiple_domains_found
[ RUN      ] test_object_by_sid_group_multiple_domains_notfound
[       OK ] test_object_by_sid_group_multiple_domains_notfound
[==========] 67 test(s) run.
[  PASSED  ] 66 test(s).
[  FAILED  ] 1 test(s), listed below:
[  FAILED  ] test_groups_by_recent_filter_valid
 1 FAILED TEST(S)
FAIL responder_cache_req-tests (exit status: 1)
SKIP: src/tests/whitespace_test
===============================
Git repository is required for this test!
SKIP src/tests/whitespace_test (exit status: 77)
============================================================================
Testsuite summary for sssd 1.13.91
============================================================================
# TOTAL: 81
# PASS:  78
# SKIP:  1
# XFAIL: 0
# FAIL:  2
# XPASS: 0
# ERROR: 0
============================================================================

Comment 2 Lukas Slebodnik 2016-07-04 13:37:04 UTC
Thank you for report. It is not just a bug in tests it is also a real bug on big endian machines.

I sent patches for review.
https://lists.fedorahosted.org/archives/list/sssd-devel@lists.fedorahosted.org/thread/JMS3I5G3TEI4BYIQT73E5232CRMDLBDU/

Comment 3 Jakub Hrozek 2016-07-05 08:18:45 UTC
Upstream ticket:
https://fedorahosted.org/sssd/ticket/3079

Comment 4 Jakub Hrozek 2016-07-07 11:07:51 UTC
master:
    c7c1941f9045531044121520fc2ca0e048732c25
    5d0d0f8067fb53285a38fe978cfa36dbeb53be9b

Comment 5 Dan Horák 2016-07-12 15:13:45 UTC
for the record - build now passes on s390x - http://s390.koji.fedoraproject.org/koji/buildinfo?buildID=415422


Note You need to log in before you can comment on or make changes to this bug.