[SSSD] [PATCH] CI: Allow disabling distro-(in)dependent tests

Nikolai Kondrashov Nikolai.Kondrashov at redhat.com
Wed Sep 3 13:06:48 UTC 2014


On 09/03/2014 03:19 PM, Lukas Slebodnik wrote:
> On (03/09/14 07:55), Nikolai Kondrashov wrote:
>> Hi everyone,
>>
>> As CI mock builds are taking a god-awful long time sometimes and Clang doesn't
> mock build  does not take "god-awful long".

It does sometimes. Take a look at this:

http://sssd-ci.duckdns.org/logs/job/0/19/rhel7/ci.html
http://sssd-ci.duckdns.org/logs/job/0/21/rhel7/ci.html

Depends on the VM host load. Which probably spikes if we start several mock
builds at the same time. That's with uncoditional caching, though.

> The londest part is downloading rpms to cache on firs time or after
> modification of mock config.

Yes, caching can take a while, which my other CI patch tries to avoid.

> I have few tips for you how you can speed up this part.
> At the moment, you are using mock on for building in fedora-20 chroot
> and rhel6 chroot. Even on rhel6, fedora21, fedora-rawhide.
> So you will reduce two mock build into one.

You don't exactly provide a tip here, but I'll assume that you meant some
hosts don't need to run mock builds. However, the whole CI run will be as long
as the longest host run, which will be one of those which include mock builds,
so this doesn't exactly speed up getting results.

> You can use default config, which is symbolic link to the configuration
> file of current platform. Or you needn't specify "--root" at all.

Will that speed the build up?

I still think that having a separate host for distro-independent tests (which
recuires this patch) is better, as it reduces runtime considerably.

Note that Clang analyzer run (usually taking 5 minutes) is also considered
distro-independent by this patch.

Nick



More information about the sssd-devel mailing list