#4003 SSSD 1.16.3 Buildpackage error
Closed: cloned-to-github 4 years ago by pbrezina. Opened 5 years ago by izzetaydin.

Hello everyone,

I use debian testing for sssd customization however, even i change nothing in the source code, when i try to build sssd original package, i get the following errors:

FAIL: util-tests
================

Running suite(s): util
test_murmurhash3_random seed: 1557229508
96%: Checks: 27, Failures: 1, Errors: 0
../src/tests/util-tests.c:342:P:util:test_diff_string_lists:0: Passed
../src/tests/util-tests.c:433:P:util:test_sss_filter_sanitize:0: Passed
../src/tests/util-tests.c:471:P:util:test_size_t_overflow:0: Passed
../src/tests/util-tests.c:179:P:util:test_parse_args:0: Passed
../src/tests/util-tests.c:76:P:util:test_add_string_to_list:0: Passed
../src/tests/util-tests.c:117:P:util:test_string_in_list:0: Passed
../src/tests/util-tests.c:865:P:util:test_split_on_separator:0: Passed
../src/tests/util-tests.c:949:P:util:test_check_ipv4_addr:0: Passed
../src/tests/util-tests.c:999:P:util:test_check_ipv6_addr:0: Passed
../src/tests/util-tests.c:1028:P:util:test_is_host_in_domain:0: Passed
../src/tests/util-tests.c:1050:P:util:test_known_service:0: Passed
../src/tests/util-tests.c:456:P:util:test_fd_nonblocking:0: Passed
../src/tests/util-tests.c:486:P:utf8:test_utf8_lowercase:0: Passed
../src/tests/util-tests.c:505:P:utf8:test_utf8_talloc_lowercase:0: Passed
../src/tests/util-tests.c:521:P:utf8:test_utf8_talloc_str_lowercase:0: Passed
../src/tests/util-tests.c:542:P:utf8:test_utf8_caseeq:0: Passed
../src/tests/util-tests.c:556:P:utf8:test_utf8_check:0: Passed
../src/tests/util-tests.c:572:P:murmurhash3:test_murmurhash3_check:0: Passed
../src/tests/util-tests.c:602:P:murmurhash3:test_murmurhash3_random:0: Passed
../src/tests/util-tests.c:653:P:atomicio:test_atomicio_read_from_file:0: Passed
../src/tests/util-tests.c:686:P:atomicio:test_atomicio_read_from_small_file:0: Passed
../src/tests/util-tests.c:725:P:atomicio:test_atomicio_read_from_large_file:0: Passed
../src/tests/util-tests.c:769:P:atomicio:test_atomicio_read_exact_sized_file:0: Passed
../src/tests/util-tests.c:788:P:atomicio:test_atomicio_read_from_empty_file:0: Passed
../src/tests/util-tests.c:1077:F:convert_time:test_convert_time:0: Assertion 'ret == EOK && difftime(1406894262, unix_time) == 0' failed
../src/tests/util-tests.c:1104:P:sss_strerror:test_sss_strerror_err_last:0: Passed
../src/tests/util-tests.c:1125:P:sss_strerror:test_sss_strerror_string_validation:0: Passed
FAIL util-tests (exit status: 1)

SKIP: src/tests/whitespace_test
===============================

Git repository is required for this test!
SKIP src/tests/whitespace_test (exit status: 77)

SKIP: src/tests/double_semicolon_test
=====================================

Git repository is required for this test!
SKIP src/tests/double_semicolon_test (exit status: 77)

============================================================================
Testsuite summary for sssd 1.16.3
============================================================================
# TOTAL: 99
# PASS:  96
# SKIP:  2
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0
============================================================================
See ./test-suite.log
Please report to sssd-devel@lists.fedorahosted.org
============================================================================
make[6]: *** [Makefile:35425: test-suite.log] Error 1
make[6]: Leaving directory '/tmp/sssd/sssd-1.16.3/build'
make[5]: *** [Makefile:35533: check-TESTS] Error 2
make[5]: Leaving directory '/tmp/sssd/sssd-1.16.3/build'
make[4]: *** [Makefile:36409: check-am] Error 2
make[4]: Leaving directory '/tmp/sssd/sssd-1.16.3/build'
make[3]: *** [Makefile:35310: check-recursive] Error 1
make[3]: Leaving directory '/tmp/sssd/sssd-1.16.3/build'
make[2]: *** [Makefile:36411: check] Error 2
make[2]: Leaving directory '/tmp/sssd/sssd-1.16.3/build'
dh_auto_test: cd build && make -j1 check VERBOSE=1 VERBOSE=yes returned exit code 2
make[1]: *** [debian/rules:46: override_dh_auto_test] Error 2
make[1]: Leaving directory '/tmp/sssd/sssd-1.16.3'
make: *** [debian/rules:3: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
debuild: fatal error at line 1182:
dpkg-buildpackage -us -uc -ui -i -I failed
gbp:error: 'debuild -i -I -uc -us' failed: it exited with 29

What can cause the problem ? Thanks


Hi,

which timezone is used on the system where you try to build SSSD? is the TZ environment variable set?

bye,
Sumit

TZ is set Europe/Istanbul

Hi,

thank you, I can reproduce the issue with 'Europe/Istanbul' and it turned out that there are other POSIX timezones where the test fails as well:

Antarctica/Casey
Antarctica/Palmer
Pacific/Norfolk
Pacific/Bougainville
W-SU
Europe/Istanbul
Europe/Kirov
Europe/Simferopol
Europe/Kaliningrad
Europe/Moscow
Europe/Volgograd
Asia/Istanbul
Asia/Pyongyang
Asia/Krasnoyarsk
Asia/Omsk
Asia/Irkutsk
Asia/Chita
Asia/Yakutsk
Asia/Khandyga
Asia/Yekaterinburg
Asia/Magadan
Asia/Vladivostok
Asia/Srednekolymsk
Asia/Ust-Nera
Asia/Famagusta
America/Fort_Nelson
America/Caracas
America/Cancun
America/Metlakatla
America/Punta_Arenas
America/Grand_Turk
Turkey

Currently I have no idea what is going wrong here. As a workaround you can call

TZ=UTC make check

to run the tests.

bye,
Sumit

I reconfigured tzdata to UTC and problem solved.
Thanks

Metadata Update from @pbrezina:
- Issue tagged with: Future milestone

4 years ago

SSSD is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in SSSD's github repository.

This issue has been cloned to Github and is available here:
- https://github.com/SSSD/sssd/issues/4974

If you want to receive further updates on the issue, please navigate to the github issue
and click on subscribe button.

Thank you for understanding. We apologize for all inconvenience.

Metadata Update from @pbrezina:
- Issue close_status updated to: cloned-to-github
- Issue status updated to: Closed (was: Open)

4 years ago

Login to comment on this ticket.

Metadata