[SSSD] Could not create empty directory [tests_krb5_utils]. Please remove [tests_krb5_utils].

Lukas Slebodnik lslebodn at redhat.com
Wed Dec 4 14:03:58 UTC 2013


On (03/12/13 15:29), Antek Baranski wrote:
>Hi there
>
>I grabbed the sources for the 1.11.2 release (
>https://fedorahosted.org/released/sssd/sssd-1.11.2.tar.gz) and tried to
>build the rpm packages on a CentOS 6.4 (2.6.32-358.23.2.el6.x86_64) and it
>fails because of the krb5_util tests and subsequent check_and_open tests.
>
>I googled the error and it looks like this was discussed in 2012 already
>https://lists.fedorahosted.org/pipermail/sssd-devel/2012-June/010098.html,
>but the resolution is unclear to me. I"ve read the docs but was not able to
>find anything specific about how to 'fix' the problem, short of literally
>removing the references from the Makefile.am and building that way.
>
>Could not create empty directory [tests_krb5_utils]. Please remove
>[tests_krb5_utils].
>FAIL: krb5-utils-tests
>Running suite(s): check_and_open
>(Tue Dec  3 23:12:06:123706 2013) [sssd] [check_and_open_readonly]
>(0x0020): open [/bla/bla/bla] failed: [2][No such file or directory].
>(Tue Dec  3 23:12:06:124247 2013) [sssd] [perform_checks] (0x0020): File is
>not the right type.
>(Tue Dec  3 23:12:06:124335 2013) [sssd] [check_and_open_readonly]
>(0x0020): check_fd failed.
>(Tue Dec  3 23:12:06:124872 2013) [sssd] [perform_checks] (0x0020): File is
>not the right type.
>(Tue Dec  3 23:12:06:125803 2013) [sssd] [perform_checks] (0x0020): File
>must be owned by uid [1].
>(Tue Dec  3 23:12:06:125862 2013) [sssd] [check_and_open_readonly]
>(0x0020): check_fd failed.
>(Tue Dec  3 23:12:06:126299 2013) [sssd] [perform_checks] (0x0020): File
>must be owned by gid [1].
>(Tue Dec  3 23:12:06:126386 2013) [sssd] [check_and_open_readonly]
>(0x0020): check_fd failed.
>(Tue Dec  3 23:12:06:126834 2013) [sssd] [perform_checks] (0x0020): File
>has the wrong mode [0000600], expected [0000602].
>(Tue Dec  3 23:12:06:126896 2013) [sssd] [check_and_open_readonly]
>(0x0020): check_fd failed.
>100%: Checks: 9, Failures: 0, Errors: 0
>PASS: check_and_open-tests
>Running suite(s): files_suite
>100%: Checks: 4, Failures: 0, Errors: 0
>PASS: files-tests
>Running suite(s): refcount
>100%: Checks: 2, Failures: 0, Errors: 0
>PASS: refcount-tests
>Running suite(s): fail_over
>(Tue Dec  3 23:12:06:369361 2013) [sssd] [fo_resolve_service_send]
>(0x0020): No available servers for service 'http'
>(Tue Dec  3 23:12:06:369467 2013) [sssd] [fo_resolve_service_send]
>(0x0020): No available servers for service 'ldap'
>100%: Checks: 2, Failures: 0, Errors: 0
>PASS: fail_over-tests
>Running suite(s): find_uid
>100%: Checks: 3, Failures: 0, Errors: 0
>PASS: find_uid-tests
>Running suite(s): auth
>100%: Checks: 1, Failures: 0, Errors: 0
>PASS: auth-tests
>Running suite(s): ipa_ldap_opt
>100%: Checks: 5, Failures: 0, Errors: 0
>PASS: ipa_ldap_opt-tests
>Running suite(s): ad_ldap_opt
>100%: Checks: 2, Failures: 0, Errors: 0
>PASS: ad_ldap_opt-tests
>Running suite(s): access_simple
>100%: Checks: 11, Failures: 0, Errors: 0
>PASS: simple_access-tests
>Running suite(s): sss_crypto
>100%: Checks: 5, Failures: 0, Errors: 0
>PASS: crypto-tests
>Running suite(s): util
>test_murmurhash3_random seed: 1386112326
>100%: Checks: 20, Failures: 0, Errors: 0
>PASS: util-tests
>Running suite(s): debug
>100%: Checks: 18, Failures: 0, Errors: 0
>PASS: debug-tests
>Running suite(s): HBAC
>100%: Checks: 9, Failures: 0, Errors: 0
>PASS: ipa_hbac-tests
>Running suite(s): IDMAP
>100%: Checks: 22, Failures: 0, Errors: 0
>PASS: sss_idmap-tests
>Running suite(s): Responder socket access
>100%: Checks: 2, Failures: 0, Errors: 0
>PASS: responder_socket_access-tests
>Running suite(s): sysdb_ssh
>100%: Checks: 4, Failures: 0, Errors: 0
>PASS: sysdb_ssh-tests
>==================================================
>1 of 24 tests failed
>Please report to sssd-devel at lists.fedorahosted.org
>==================================================
>make[3]: *** [check-TESTS] Error 1
>make[3]: Leaving directory
>`/root/sssd/sssd-1.11.2/rpmbuild/BUILD/sssd-1.11.2'
>make[2]: *** [check-am] Error 2
>make[2]: Leaving directory
>`/root/sssd/sssd-1.11.2/rpmbuild/BUILD/sssd-1.11.2'
>make[1]: *** [check-recursive] Error 1
>make[1]: Leaving directory
>`/root/sssd/sssd-1.11.2/rpmbuild/BUILD/sssd-1.11.2'
>error: Bad exit status from /var/tmp/rpm-tmp.jRjLNf (%check)
>
>
>RPM build errors:
>    Bad exit status from /var/tmp/rpm-tmp.jRjLNf (%check)
>make: *** [rpms] Error 1
>

How did you build rpms?
Did you use command "make rpms"?
Did you rebuild src.rpm with rpmbuild?

LS



More information about the sssd-devel mailing list