<feed xmlns='http://www.w3.org/2005/Atom'>
<title>sssd.git/contrib/ci/run, branch certificate_mapping</title>
<subtitle>Unnamed repository; edit this file to name it for gitweb.</subtitle>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/sbose/public_git/sssd.git/'/>
<entry>
<title>CI: Remove dlopen-test from valgrind blacklist</title>
<updated>2016-10-19T10:10:19+00:00</updated>
<author>
<name>Lukas Slebodnik</name>
<email>lslebodn@redhat.com</email>
</author>
<published>2016-09-29T11:45:04+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/sbose/public_git/sssd.git/commit/?id=bc85b85227b87758d80e84b30e4823370d5ffca7'/>
<id>bc85b85227b87758d80e84b30e4823370d5ffca7</id>
<content type='text'>
Dlopen test was added to blacklist due to following reason:
&gt; Disable running dlopen-tests under Valgrind as their use of dlclose
&gt; makes Valgrind drop symbols and produce meaningless backtraces, which
&gt; cannot be matched with specific suppressions.

It's true that dlclose makes meaningless backtraces but backtraces should
not be generated otherwise there is a bug in some library which need to be
fixed and not suppressed.

Reviewed-by: Nikolai Kondrashov &lt;Nikolai.Kondrashov@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Dlopen test was added to blacklist due to following reason:
&gt; Disable running dlopen-tests under Valgrind as their use of dlclose
&gt; makes Valgrind drop symbols and produce meaningless backtraces, which
&gt; cannot be matched with specific suppressions.

It's true that dlclose makes meaningless backtraces but backtraces should
not be generated otherwise there is a bug in some library which need to be
fixed and not suppressed.

Reviewed-by: Nikolai Kondrashov &lt;Nikolai.Kondrashov@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>TESTS: Add simple test for double semicolon</title>
<updated>2016-09-21T14:46:19+00:00</updated>
<author>
<name>Lukas Slebodnik</name>
<email>lslebodn@redhat.com</email>
</author>
<published>2016-09-17T19:12:36+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/sbose/public_git/sssd.git/commit/?id=6ad1f2da4055e2cfe9bf8c79b79e408dba171691'/>
<id>6ad1f2da4055e2cfe9bf8c79b79e408dba171691</id>
<content type='text'>
Reviewed-by: Pavel Březina &lt;pbrezina@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reviewed-by: Pavel Březina &lt;pbrezina@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>CI: Use /bin/sh as a CONFIG SHELL</title>
<updated>2016-07-22T06:57:05+00:00</updated>
<author>
<name>Lukas Slebodnik</name>
<email>lslebodn@redhat.com</email>
</author>
<published>2016-07-21T15:44:58+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/sbose/public_git/sssd.git/commit/?id=35f29b17699c3d52f77857c530300318b14148f8'/>
<id>35f29b17699c3d52f77857c530300318b14148f8</id>
<content type='text'>
There is a bug on debian_testing in bash.
  sh$ valgrind /bin/bash
  ==25145== Memcheck, a memory error detector
  ==25145== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al.
  ==25145== Using Valgrind-3.12.0.SVN and LibVEX; rerun with -h for copyright info
  ==25145== Command: /bin/bash
  ==25145==
  ==25145== Invalid read of size 1
  ==25145==    at 0x4B90B1: ??? (in /bin/bash)
  ==25145==    by 0x43FE9B: initialize_shell_variables (in /bin/bash)
  ==25145==    by 0x41E4C0: ??? (in /bin/bash)
  ==25145==    by 0x41F722: main (in /bin/bash)
  ==25145==  Address 0x58307f8 is 8 bytes before a block of size 31 alloc'd
  ==25145==    at 0x4C2BBCF: malloc (vg_replace_malloc.c:299)
  ==25145==    by 0x475D1A: xmalloc (in /bin/bash)
  ==25145==    by 0x4B7F4A: tilde_expand (in /bin/bash)
  ==25145==    by 0x42E63D: bash_tilde_expand (in /bin/bash)
  ==25145==    by 0x43FE79: initialize_shell_variables (in /bin/bash)
  ==25145==    by 0x41E4C0: ??? (in /bin/bash)
  ==25145==    by 0x41F722: main (in /bin/bash)
  ==25145==

  malloc: .././variables.c:570: assertion botched
  free: called with unallocated block argument
  last command: (null)
  Aborting...==25145==

And /bin/bash was used as a default SHELL in scripts generated by
configure+libtool. It starting to fail with the latest valgrind
valgrind-3.12.0~svn20160714-1

Workaround is to use /bin/sh which is a symlink to /bin/dash

Reviewed-by: Petr Cech &lt;pcech@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There is a bug on debian_testing in bash.
  sh$ valgrind /bin/bash
  ==25145== Memcheck, a memory error detector
  ==25145== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al.
  ==25145== Using Valgrind-3.12.0.SVN and LibVEX; rerun with -h for copyright info
  ==25145== Command: /bin/bash
  ==25145==
  ==25145== Invalid read of size 1
  ==25145==    at 0x4B90B1: ??? (in /bin/bash)
  ==25145==    by 0x43FE9B: initialize_shell_variables (in /bin/bash)
  ==25145==    by 0x41E4C0: ??? (in /bin/bash)
  ==25145==    by 0x41F722: main (in /bin/bash)
  ==25145==  Address 0x58307f8 is 8 bytes before a block of size 31 alloc'd
  ==25145==    at 0x4C2BBCF: malloc (vg_replace_malloc.c:299)
  ==25145==    by 0x475D1A: xmalloc (in /bin/bash)
  ==25145==    by 0x4B7F4A: tilde_expand (in /bin/bash)
  ==25145==    by 0x42E63D: bash_tilde_expand (in /bin/bash)
  ==25145==    by 0x43FE79: initialize_shell_variables (in /bin/bash)
  ==25145==    by 0x41E4C0: ??? (in /bin/bash)
  ==25145==    by 0x41F722: main (in /bin/bash)
  ==25145==

  malloc: .././variables.c:570: assertion botched
  free: called with unallocated block argument
  last command: (null)
  Aborting...==25145==

And /bin/bash was used as a default SHELL in scripts generated by
configure+libtool. It starting to fail with the latest valgrind
valgrind-3.12.0~svn20160714-1

Workaround is to use /bin/sh which is a symlink to /bin/dash

Reviewed-by: Petr Cech &lt;pcech@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>CI: Exclude files in /tmp during coverage runs</title>
<updated>2016-06-10T16:15:27+00:00</updated>
<author>
<name>Lukas Slebodnik</name>
<email>lslebodn@redhat.com</email>
</author>
<published>2016-05-06T13:50:25+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/sbose/public_git/sssd.git/commit/?id=94b860e8fc51c659c6ac09d69481b838555fff76'/>
<id>94b860e8fc51c659c6ac09d69481b838555fff76</id>
<content type='text'>
Exclude files from /tmp during coverage generation to avoid issues with
(presumably) files generated by dtrace that couldn't otherwise be opened
or parsed.

Reviewed-by: Jakub Hrozek &lt;jhrozek@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Exclude files from /tmp during coverage generation to avoid issues with
(presumably) files generated by dtrace that couldn't otherwise be opened
or parsed.

Reviewed-by: Jakub Hrozek &lt;jhrozek@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>CI: Use make check instead of make-check-wrap</title>
<updated>2016-04-01T07:45:23+00:00</updated>
<author>
<name>Lukas Slebodnik</name>
<email>lslebodn@redhat.com</email>
</author>
<published>2016-03-31T10:34:55+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/sbose/public_git/sssd.git/commit/?id=444a82bd6d68c6f23e05d523ff92d328f6b2ec05'/>
<id>444a82bd6d68c6f23e05d523ff92d328f6b2ec05</id>
<content type='text'>
make-check-wrap had to be used due to missing LOG_COMPILER
on rhel6 which is enabled with parallel test harness

Reviewed-by: Nikolai Kondrashov &lt;Nikolai.Kondrashov@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
make-check-wrap had to be used due to missing LOG_COMPILER
on rhel6 which is enabled with parallel test harness

Reviewed-by: Nikolai Kondrashov &lt;Nikolai.Kondrashov@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>CI: Enforce coverage make check failures</title>
<updated>2015-11-09T13:38:48+00:00</updated>
<author>
<name>Nikolai Kondrashov</name>
<email>Nikolai.Kondrashov@redhat.com</email>
</author>
<published>2015-06-17T12:13:41+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/sbose/public_git/sssd.git/commit/?id=8d1b572126afceb60693ff4c4a734bd6dbdaf548'/>
<id>8d1b572126afceb60693ff4c4a734bd6dbdaf548</id>
<content type='text'>
Fail CI coverage build, if make-check stage fails. Previously make-check
stage failures were ignored for coverage build for the sake of
collecting coverage data in any case. However, catching extra test
failures seems more important than getting coverage data in all cases,
thus the change.

Reviewed-by: Lukáš Slebodník &lt;lslebodn@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fail CI coverage build, if make-check stage fails. Previously make-check
stage failures were ignored for coverage build for the sake of
collecting coverage data in any case. However, catching extra test
failures seems more important than getting coverage data in all cases,
thus the change.

Reviewed-by: Lukáš Slebodník &lt;lslebodn@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>CI: Workaroung for code coverage with old gcc</title>
<updated>2015-11-09T13:30:44+00:00</updated>
<author>
<name>Lukas Slebodnik</name>
<email>lslebodn@redhat.com</email>
</author>
<published>2015-11-09T07:56:54+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/sbose/public_git/sssd.git/commit/?id=057f699b401097ad7f48fe3760e81c6993619a4b'/>
<id>057f699b401097ad7f48fe3760e81c6993619a4b</id>
<content type='text'>
It's fixed in upstream gcc &gt;= 4.6.0

Resolves:
https://fedorahosted.org/sssd/ticket/2819

Reviewed-by: Nikolai Kondrashov &lt;Nikolai.Kondrashov@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It's fixed in upstream gcc &gt;= 4.6.0

Resolves:
https://fedorahosted.org/sssd/ticket/2819

Reviewed-by: Nikolai Kondrashov &lt;Nikolai.Kondrashov@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>CI: Exclude whitespace_test from Valgrind checks</title>
<updated>2015-10-02T18:51:55+00:00</updated>
<author>
<name>Nikolai Kondrashov</name>
<email>Nikolai.Kondrashov@redhat.com</email>
</author>
<published>2015-10-02T12:54:23+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/sbose/public_git/sssd.git/commit/?id=8dff4a773dd9525ec587cd31646a9f67252122c1'/>
<id>8dff4a773dd9525ec587cd31646a9f67252122c1</id>
<content type='text'>
Exclude whitespace_test from Valgrind checks in contrib/ci/run to
prevent it from failing the tests due to Bash bugs.

Reviewed-by: Lukáš Slebodník &lt;lslebodn@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Exclude whitespace_test from Valgrind checks in contrib/ci/run to
prevent it from failing the tests due to Bash bugs.

Reviewed-by: Lukáš Slebodník &lt;lslebodn@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Add integration tests</title>
<updated>2015-05-28T11:55:52+00:00</updated>
<author>
<name>Nikolai Kondrashov</name>
<email>Nikolai.Kondrashov@redhat.com</email>
</author>
<published>2014-11-24T17:13:16+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/sbose/public_git/sssd.git/commit/?id=9d453f1e8b28983b363b44c49b7cd701a994fd97'/>
<id>9d453f1e8b28983b363b44c49b7cd701a994fd97</id>
<content type='text'>
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 &lt;lslebodn@redhat.com&gt;
Reviewed-by: Michal Židek &lt;mzidek@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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 &lt;lslebodn@redhat.com&gt;
Reviewed-by: Michal Židek &lt;mzidek@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>CI: Remove Clang analyzer</title>
<updated>2014-10-22T10:55:26+00:00</updated>
<author>
<name>Nikolai Kondrashov</name>
<email>Nikolai.Kondrashov@redhat.com</email>
</author>
<published>2014-10-17T08:41:05+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/sbose/public_git/sssd.git/commit/?id=e373fffbb8e06d0d7682d095c734e8df8a499ba0'/>
<id>e373fffbb8e06d0d7682d095c734e8df8a499ba0</id>
<content type='text'>
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 &lt;jhrozek@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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 &lt;jhrozek@redhat.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
