URL:
https://github.com/SSSD/sssd/pull/5597
Title: #5597: sss_cache: reset original timestamp and USN
elkoniu commented:
"""
The reason why upstream CI fails:
```
=================================== FAILURES ===================================
_________________________ test_user_show_basic_sanity __________________________
Traceback (most recent call last):
File "/shared/sssd/src/tests/intg/test_sssctl.py", line 227, in
test_user_show_basic_sanity
assert output.find("Initgroups expiration time: Initgroups were not yet "
AssertionError: assert -1 != -1
+ where -1 = <built-in method find of str object at
0x7f9d65e46e00>('Initgroups expiration time: Initgroups were not yet
performed')
+ where <built-in method find of str object at 0x7f9d65e46e00> = 'Name:
user1\nCache entry creation date: 05/06/21 10:30:42\nCache entry last update time:
05/06/21 10:30:42\nCache entry expiration time: 05/06/21 12:00:42\nInitgroups expiration
time: Expired\nCached in InfoPipe: No\n'.find
_________________________ test_user_show_basic_fqname __________________________
Traceback (most recent call last):
File "/shared/sssd/src/tests/intg/test_sssctl.py", line 255, in
test_user_show_basic_fqname
assert output.find("Initgroups expiration time: Initgroups were not yet "
AssertionError: assert -1 != -1
+ where -1 = <built-in method find of str object at
0x7f9d65e468b0>('Initgroups expiration time: Initgroups were not yet
performed')
+ where <built-in method find of str object at 0x7f9d65e468b0> = 'Name:
user1@LDAP\nCache entry creation date: 05/06/21 10:30:44\nCache entry last update time:
05/06/21 10:30:44\nCache entry expiration time: 05/06/21 12:00:44\nInitgroups expiration
time: Expired\nCached in InfoPipe: No\n'.find
___________________ test_user_show_basic_fqname_insensitive ____________________
Traceback (most recent call last):
File "/shared/sssd/src/tests/intg/test_sssctl.py", line 284, in
test_user_show_basic_fqname_insensitive
assert output.find("Initgroups expiration time: Initgroups were not yet "
AssertionError: assert -1 != -1
+ where -1 = <built-in method find of str object at
0x7f9d65e46e00>('Initgroups expiration time: Initgroups were not yet
performed')
+ where <built-in method find of str object at 0x7f9d65e46e00> = 'Name:
user1@LDAP\nCache entry creation date: 05/06/21 10:30:46\nCache entry last update time:
05/06/21 10:30:46\nCache entry expiration time: 05/06/21 12:00:46\nInitgroups expiration
time: Expired\nCached in InfoPipe: No\n'.find
```
"""
See the full comment at
https://github.com/SSSD/sssd/pull/5597#issuecomment-834321019