The following tests fail under an unpriviliged user account:
./make-test ipatests/test_ipapython/test_keyring.py [...] Add a new key and value, then remove it ... ERROR Delete a non_existent key ... ok Add a duplicate key ... ok Update the value in a key ... ERROR Read a non-existent key ... ok See if a key is available ... ERROR Test a 256-byte key ... ERROR Test 512-bytes of data ... ERROR Test 1k bytes of data ... ERROR
Tests should not require root. On the other hand, we should run these tests in CI.
These tests did not require root for me:
[buildbot@xxx freeipa]$ ./make-test ipatests/test_ipapython/test_keyring.py Add a new key and value, then remove it ... ok Delete a non_existent key ... ok Add a duplicate key ... ok Update the value in a key ... ok Read a non-existent key ... ok See if a key is available ... ok Test a 256-byte key ... ok Test 512-bytes of data ... ok Test 1k bytes of data ... ok ---------------------------------------------------------------------- Ran 9 tests in 0.264s OK ====================================================================== passed under '/usr/bin/python2.7' ** pass **
This is probably a different issue, we need logs to debug.
Petr found out these failures were either due to too old kernel on his machine or missing kernel keyring session configuration for the CI user.
I think you can close it now.
Metadata Update from @pviktori: - Issue assigned to pviktori - Issue set to the milestone: FreeIPA 4.0 - 2014/01
Login to comment on this ticket.