#2854 FAIL test-find-uid
Closed: Fixed 2 years ago by jhrozek. Opened 5 years ago by lslebodn.

[==========] Running 3 test(s).
[ RUN      ] test_check_if_uid_is_active_success
[       OK ] test_check_if_uid_is_active_success
[ RUN      ] test_check_if_uid_is_active_fail
[       OK ] test_check_if_uid_is_active_fail
[ RUN      ] test_get_uid_table
ret == EOK
/home/build/sssd/src/tests/cmocka/test_find_uid.c:76: error: Failure!

[  FAILED  ] test_get_uid_table
[==========] 3 test(s) run.
[  PASSED  ] 2 test(s).
[  FAILED  ] 1 test(s), listed below:
[  FAILED  ] test_get_uid_table

 1 FAILED TEST(S)
FAIL test-find-uid (exit status: 1)

src/tests/cmocka/test_find_uid.c:76

 72     tmp_ctx = talloc_new(NULL);
 73     assert_true(tmp_ctx != NULL);
 74 
 75     ret = get_uid_table(tmp_ctx, &table);
 76     assert_true(ret == EOK);
 77 
 78     uid = getuid();
 79     key.type = HASH_KEY_ULONG;
 80     key.ul = (unsigned long) uid;

This test walks the /proc hierarchy, so it can be a bit flaky on a busy machine..

Fields changed

rhbz: => 0

Fields changed

milestone: NEEDS_TRIAGE => SSSD Continuous integration

Metadata Update from @lslebodn:
- Issue set to the milestone: SSSD Continuous integration

4 years ago

Metadata Update from @atikhonov:
- Issue assigned to atikhonov

2 years ago

Metadata Update from @atikhonov:
- Custom field design_review reset (from 0)
- Custom field mark reset (from 0)
- Custom field patch reset (from 0)
- Custom field review reset (from 0)
- Custom field sensitive reset (from 0)
- Custom field testsupdated reset (from 0)
- Issue close_status updated to: None

2 years ago

Metadata Update from @atikhonov:
- Custom field design_review reset (from false)
- Custom field mark reset (from false)
- Custom field patch reset (from false)
- Custom field review reset (from false)
- Custom field sensitive reset (from false)
- Custom field testsupdated reset (from false)
- Issue tagged with: PR

2 years ago

Metadata Update from @atikhonov:
- Custom field design_review reset (from false)
- Custom field mark reset (from false)
- Custom field patch reset (from false)
- Custom field review reset (from false)
- Custom field sensitive reset (from false)
- Custom field testsupdated reset (from false)
- Issue tagged with: bug

2 years ago

Metadata Update from @jhrozek:
- Custom field design_review reset (from false)
- Custom field mark reset (from false)
- Custom field patch reset (from false)
- Custom field review reset (from false)
- Custom field sensitive reset (from false)
- Custom field testsupdated reset (from false)
- Issue set to the milestone: SSSD 2.3 (was: SSSD Continuous integration)

2 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/3895

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