ac9c3ad8228000140d80f91d4c5492d89d6e79f6 |
|
27-Apr-2018 |
Fabiano Fidêncio <fidencio@redhat.com> |
TESTS: Add test for responder_idle_timeout
Two new tests have been added in order to test the following scenarios
of responder_idle_timeout:
- responder is shutdown after n seconds;
- responder has its shutdown delayed due to some activity and then is
shutdown after n seconds;
In order to have the tests added, a new dep has been introduced:
python-psutil
Keep in mind those newly added tests make our test suite to take a few
minutes more to finish. As it may be an inconvenience for some
developers, the tests have been explicitly marked as slow (both by the
pytest markdown and by having _slow in their names) and can be skipped
by doing:
`make intgcheck-run make intgcheck-run \
INTGCHECK_PYTEST_ARGS="-k test_secrets.py -m 'not slow'"`
Resolves:
https://pagure.io/SSSD/sssd/issue/3633
Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com> |
a907aa07340ef0051cd74bbab9618820e1bca1b8 |
|
10-Mar-2018 |
Fabiano Fidêncio <fidencio@redhat.com> |
CI: Enable pep8 check
CI can now check pep8 issues for all .py files but the ones under
src/config (for those, there's an issue already filed[0]).
[0]: https://pagure.io/SSSD/sssd/issue/3514
Resolves:
https://pagure.io/SSSD/sssd/issue/3605
Reviewed-by: Michal Židek <mzidek@redhat.com>
Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com> |
15989964da9740e0bdc275d1446b053b771727de |
|
09-Mar-2018 |
Lukas Slebodnik <lslebodn@redhat.com> |
CI: Add dbus into debian dependencies
There is just weak dependency (recommends) between dbus
libraries and dbus daemon. It is installed by default but we should
not rely in integration tests on weak dependency if we directly need
binary dbus-daemon.
sh# apt-cache depends libdbus-1-dev libdbus-1-3
libdbus-1-dev
Depends: libdbus-1-3
Depends: pkg-config
pkgconf
libdbus-1-3
Depends: libc6
Depends: libsystemd0
Breaks: dbus
Recommends: dbus
Reviewed-by: Fabiano Fidêncio <fidencio@redhat.com> |
0df79781d78973e5462dbef1e89d8fd6001da05c |
|
23-Feb-2018 |
Lukas Slebodnik <lslebodn@redhat.com> |
intg: Add sample infopipe test in cwrap env
Resolves:
https://pagure.io/SSSD/sssd/issue/2823
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
Reviewed-by: Pavel Březina <pbrezina@redhat.com> |
0700118d8388c38b8cb28279510b206b76a3a411 |
|
27-Mar-2017 |
Jakub Hrozek <jhrozek@redhat.com> |
TESTS: Add integration tests for the KCM responder
Reviewed-by: Michal Židek <mzidek@redhat.com>
Reviewed-by: Simo Sorce <simo@redhat.com>
Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com> |
91b0592cdab22915dff27ceae6d8e49c608aea4a |
|
14-Mar-2017 |
Jakub Hrozek <jhrozek@redhat.com> |
TESTS: test the curl wrapper with a command-line tool
In order to test the curl integration code, this patch adds a
command-line tool and tests that it's possible to drive a conversation
with the secrets responder using the tool.
Reviewed-by: Pavel Březina <pbrezina@redhat.com>
Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com> |
99b2352f909c548811617389641a9ccc3e17bc53 |
|
24-Nov-2016 |
Fabiano Fidêncio <fidencio@redhat.com> |
BUILD: Drop libsss_config
libsss_config has been used only by OpenLMI and the project has been
deprecated making, then, no sense to keep the support on SSSD.
Distros that, for some reason, are still packing and distributing
OpenLMI can stick to SSSD 1.14 branch.
Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>
Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com> |
db0982c52294ee5ea08ed242d27660783fde29cd |
|
20-Sep-2016 |
Jakub Hrozek <jhrozek@redhat.com> |
TESTS: Add integration tests for the sssd-secrets
Implements a simple HTTP client and uses it to talk to the sssd-secrets
responder. Only the local provider is tested at the moment.
Resolves:
https://fedorahosted.org/sssd/ticket/3054
Reviewed-by: Petr Čech <pcech@redhat.com>
Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com> |
1dd679584241a0f9b29072c7eed1c5c5e4a577e4 |
|
29-Jun-2016 |
Simo Sorce <simo@redhat.com> |
Add initial providers infrastructure.
Also adds support for the basic LOCAL provider that stores data
on the local machine.
Signed-off-by: Simo Sorce <simo@redhat.com>
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com> |
b8946a5dbde01a87465de707092716349a35248b |
|
23-Jun-2016 |
Jakub Hrozek <jhrozek@redhat.com> |
TESTS: Add an integration test for the timestamps cache
Reviewed-by: Sumit Bose <sbose@redhat.com> |
acf7cee13f07b368b0ccae69776309f7f69cbca1 |
|
10-Jun-2016 |
Jakub Hrozek <jhrozek@redhat.com> |
BUILD: Enable systemtap during RPM build and CI
Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com> |
cccbf6f5b2b80cd3f6311ccad96780faab93e1f7 |
|
30-Sep-2015 |
Lukas Slebodnik <lslebodn@redhat.com> |
CI: Run integration tests on debian testing
Reviewed-by: Nikolai Kondrashov <Nikolai.Kondrashov@redhat.com> |
90063840941efb2015d4375333677e3c26b1f4e6 |
|
30-Sep-2015 |
Lukas Slebodnik <lslebodn@redhat.com> |
CI: Add missing dependency for debian
All test failed due to missing /usr/bin/libtool
e.g.
/home/build/sssd/build/test-driver: line 107: libtool: command not found
FAIL test-io (exit status: 127)
Reviewed-by: Nikolai Kondrashov <Nikolai.Kondrashov@redhat.com> |
cebf9d194dc99a1ef4acae3d63faa3eb65be695a |
|
28-Jul-2015 |
Petr Cech <pcech@redhat.com> |
BUILD: Repair dependecies on deprecated libraries
Modules libsystemd-journal and libsystemd-login are
deprecated and "libsystemd" should be used instead
of them.
Resolves:
https://fedorahosted.org/sssd/ticket/2733
Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com> |
bf01e8179cbb2be476805340636098deda7e1366 |
|
19-Jun-2015 |
Sumit Bose <sbose@redhat.com> |
certs: add PEM/DER conversion utilities
Related to https://fedorahosted.org/sssd/ticket/2596
Reviewed-by: Pavel Březina <pbrezina@redhat.com> |
9d453f1e8b28983b363b44c49b7cd701a994fd97 |
|
28-May-2015 |
Nikolai Kondrashov <Nikolai.Kondrashov@redhat.com> |
Add integration tests
Add "intgcheck" make target. Update CI to use it.
The "intgcheck" target configures and builds sssd in a sub-directory,
installs it into a prefix in another sub-directory, and then makes the
"intgcheck-installed" target from within src/tests/intg in that separate
build.
The "intgcheck-installed" target in src/tests/intg runs py.test for all
tests it can find in that directory, under fakeroot and
nss_wrapper/uid_wrapper environments emulating running under root.
It also adds the value of INTGCHECK_PYTEST_ARGS environment/make
variable to the py.test command line. You can use it to pass additional
py.test options, such as specifying a subset of tests to run. See
"py.test --help" output.
There are only two test suites in src/tests/intg at the moment:
ent_test.py and ldap_test.py.
The ent_test.py runs tests on ent.py - a module of assertion functions
for checking entries in NSS database (passwd and group), for use in
actual tests. The ent_test.py suite can be used as ent.py usage
reference.
The ldap_test.py suite sets up and starts a slapd instance, adds a few
user and group entries, configures and starts sssd and verifies that
those users and groups are retrieved correctly using various NSS
functions. The tests are very basic at the moment.
Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com>
Reviewed-by: Michal Židek <mzidek@redhat.com> |
889706cbc739358c2a0aac2ba6bc054fdc8e048b |
|
25-Feb-2015 |
Lukas Slebodnik <lslebodn@redhat.com> |
SPEC: Build python3 bindings on available platforms
Resolves:
https://fedorahosted.org/sssd/ticket/2574
Reviewed-by: Stephen Gallagher <sgallagh@redhat.com> |
e373fffbb8e06d0d7682d095c734e8df8a499ba0 |
|
22-Oct-2014 |
Nikolai Kondrashov <Nikolai.Kondrashov@redhat.com> |
CI: Remove Clang analyzer
Remove Clang analyzer run from contrib/ci/run as it takes a long time
(5-8 minutes) and its results are unused.
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com> |
428db8a58c0c149d5efccc6d788f70916c1d34d7 |
|
10-Oct-2014 |
Jakub Hrozek <jhrozek@redhat.com> |
TESTS: Add a test to change user IDs
Adds a unit test using the nss_wrapper and uid_wrapper libraries that
exercises the ability to become another user.
Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com> |
3b8a064895aaef68fb615cf0287167aa3d3c6cfc |
|
16-Sep-2014 |
Lukas Slebodnik <lslebodn@redhat.com> |
CI: Add missing debian dependency
make needn't be installed by default.
$ contrib/ci/run
install-deps: success 00:16:43 ci-install-deps.log
autoreconf: success 00:00:12 ci-autoreconf.log
DEBUG BUILD: ci-build-debug
configure: success 00:00:13 ci-build-debug/ci-configure.log
make-tests: failure 00:00:01 ci-build-debug/ci-make-tests.log
FAILURE
$ cat ci-build-debug/ci-make-tests.log
Start: Mon Sep 8 09:31:43 CEST 2014
+ make-check-wrap -j 4 check -- true
/tmp/sssd/contrib/ci/make-check-wrap: line 52: make: command not found
End: Mon Sep 8 09:31:44 CEST 2014
Reviewed-by: Michal Židek <mzidek@redhat.com> |
933c7c5efc76b4a9f3206b36bf6fe60e5dd635f1 |
|
05-Sep-2014 |
Nikolai Kondrashov <Nikolai.Kondrashov@redhat.com> |
CI: Consider libcmocka-devel always present
Add explicit dependency on libcmocka-devel when running on any Red Hat
distros, as it turns out it exists everywhere, if only in EPEL distros,
and even though the spec file doesn't require it.
This makes the contrib/ci/run consider cmocka present on all the
supported distros, so remove the corresponding condition as well.
Reviewed-by: Michal Židek <mzidek@redhat.com> |
261af6792759e510f698b9e37d14a6232e4714ed |
|
02-Sep-2014 |
Nikolai Kondrashov <Nikolai.Kondrashov@redhat.com> |
CI: Add libnfsidmap-dev Debian dependency
Add libnfsidmap-dev to CI Debian dependency list. This fixes CI builds
on Debian.
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com> |
3ce85a5f5264e7118beb6524e120fd8b53a13da4 |
|
02-Sep-2014 |
Nikolai Kondrashov <Nikolai.Kondrashov@redhat.com> |
Add basic support for CI test execution
Add basic support for executing continuous integration (CI) tests on
RHEL6, RHEL7, Fedora 20, Fedora Rawhide and Debian Testing.
This adds two front-end scripts which can be executed either locally by
developers, or on a CI server: contrib/ci/run and contrib/ci/clean.
The first one will run the tests and the second will wipe out the
artifacts.
See contrib/ci/README.md for further details.
Reviewed-by: Michal Židek <mzidek@redhat.com>
Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com> |