#2260 nss-srv test sometimes fails
Closed: Invalid None Opened 10 years ago by jhrozek.

I've started seeing occasional test failures of the nss-srv-test. I can't reproduce the failure at will, though. I've seen the test fail sometimes during full "make check" run, but never when I ran the test from command line. This is the output I saw in the logs:

[ RUN      ] test_nss_getgrnam_mix_subdom
No entries for symbol sss_dp_get_account_recv.
/home/remote/jhrozek/devel/sssd/src/tests/cmocka/common_mock_resp.c:96: error: Could not get value to mock function sss_dp_get_account_recv
/home/remote/jhrozek/devel/sssd/src/tests/cmocka/test_nss_srv.c:165: note: Previously returned mock value was declared here
[  FAILED  ] test_nss_getgrnam_mix_subdom

I suspect that something causes the responder under test to try asking the mocked DP, which fails. The DP should not be queried in this test as the entry should have long cache timeout, though.


Fields changed

milestone: NEEDS_TRIAGE => SSSD 1.11.5
rhbz: => 0

This is a minor task that shouldn't block 1.11.5 and perhaps should be moved out of 1.11.x completely.

milestone: SSSD 1.11.5 => SSSD 1.11.6

We inspected the code in question and didn't find the reason for the failure. I'm moving the ticket to the Deferred queue so that it's still tracking the problem.

milestone: SSSD 1.11.6 => SSSD Deferred

The test does not fail anymore

mark: => 0
resolution: => worksforme
sensitive: => 0
status: new => closed

Metadata Update from @jhrozek:
- Issue set to the milestone: SSSD Patches welcome

7 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/3302

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.

Login to comment on this ticket.

Metadata