#3789 [Tests] "test-find-uid" and "find_uid-tests" are failed
Closed: Fixed 6 years ago Opened 6 years ago by slev.

A mentioned tests are failed with "Operation not permitted".

[==========] Running 3 test(s).
[ RUN      ] test_check_if_uid_is_active_success
(Thu Jul 26 17:12:04:419053 2018) [sssd] [get_uid_from_pid] (0x0020): open failed [/proc/1/status][1][Operation not permitted].
(Thu Jul 26 17:12:04:419097 2018) [sssd] [get_active_uid_linux] (0x0020): get_uid_from_pid failed.
(Thu Jul 26 17:12:04:419105 2018) [sssd] [check_if_uid_is_active] (0x0020): get_uid_table failed.
[  ERROR   ] --- ret == EOK
[   LINE   ] --- src/tests/cmocka/test_find_uid.c:46: error: Failure!
[  FAILED  ] test_check_if_uid_is_active_success
...

The target system: procfs is mounted with "hidepid=1".


Rereading the old thread I think you had a point with your patch and I don't understand my own arguments :-) handling EPERM gracefully seems like the right thing to do.

Metadata Update from @fidencio:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

6 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/4788

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.

Log in to comment on this ticket.

Metadata