On (06/08/15 12:58), Lukas Slebodnik wrote:
On (06/08/15 12:57), Lukas Slebodnik wrote:
>ehlo,
>
>As you can see in ticket #2748, there are some failures in test_memory_cache.
>I was not bale to reproduce on my local machine and I didn't saw it before
>because of other broken tests responder_cache_req-tests, pam-srv-tests.
>
>I'm waiting from results from CI whether it will fail enev with attached patch.
>
and now with attached patches.
LS
From 771d83bd36a06aa6f270ef8188d3ba85fdd68b15 Mon Sep 17 00:00:00
2001
From: Lukas Slebodnik <lslebodn(a)redhat.com>
Date: Thu, 6 Aug 2015 11:09:38 +0200
Subject: [PATCH 1/3] test_memory_cache: Wait short time after cache
invalidation
The sss_cache cannot invlaidate memory cache directly
because the nss responder owns file locks to memory caches.
Therefore sss_cache just "tell" nss responder to invalidate
memory cache.
However there might be short interval between calling
the utility sss_cache and stopping sssd. So nss responder
needn't be so fast and therefore memory cache neend't be invalidated
The same issue was in another test
test_initgroups_without_change_in_membership
http://sssd-ci.duckdns.org/logs/job/20/57/fedora20/ci-build-debug/ci-make...
So updated version is attached.
Here are links to nice green tests:
http://sssd-ci.duckdns.org/logs/job/20/79/summary.html
http://sssd-ci.duckdns.org/logs/job/20/80/summary.html
http://sssd-ci.duckdns.org/logs/job/20/81/summary.html
http://sssd-ci.duckdns.org/logs/job/20/82/summary.html
http://sssd-ci.duckdns.org/logs/job/20/83/summary.html
http://sssd-ci.duckdns.org/logs/job/20/84/summary.html
http://sssd-ci.duckdns.org/logs/job/20/85/summary.html
All tests passed because I removed broken tests with simple patch
diff --git a/Makefile.am b/Makefile.am
index 5345d90d22cd285a5268ac50a6b527645acdb351..b2d9c1fec79be523fa6d0ef277a71eb02e469319
100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -228,10 +228,8 @@ if HAVE_CMOCKA
test_copy_ccache \
test_copy_keytab \
test_child_common \
- responder_cache_req-tests \
test_sbus_opath \
test_fo_srv \
- pam-srv-tests \
test_ipa_subdom_util \
test_ipa_subdom_server \
test_krb5_wait_queue \
--
2.5.0
LS