[ovirt-devel] Vdsm tests are 4X times faster on travis

Nir Soffer nsoffer at redhat.com
Mon Dec 5 08:07:59 UTC 2016


On Mon, Dec 5, 2016 at 9:59 AM, Barak Korren <bkorren at redhat.com> wrote:
>> Here are builds that do not change the build system:
>> - http://jenkins.ovirt.org/job/vdsm_master_check-patch-fc24-x86_64/5767/console:
>> 10:07
>> - http://jenkins.ovirt.org/job/vdsm_master_check-patch-el7-x86_64/4157/console:
>> 10:16
>>
>> So we about 2X times faster now.
>
> Awesome! also for fc24:
>
> 22:11:22 Init took 73 seconds
>
> 22:13:45 Install packages took 143 seconds
>
> So 3m 36s, our pending patches can probably bring that down to around
> 20s.

20 seconds setup sounds great.

Can we try the patches with vdsm builds?

> That will get us to around 7m...
> Maybe we could shave some more seconds off by optimizing the git clone
> and making some of the cleanups happen less frequently.
> (It seems we spend 16s total outside of mock_runner.sh, so perhaps not
> much to gain there).
>
> So any more ideas where we can get extra 2-3m?
>
> Things we didn`t try yet:
> 1. Ensure all downloads happen through the proxy (there is a patch
> pending, but some tweaking in check_patch.sh may be needed as well)
> 2. Run mock in tmpfs (it has a plugin for that)
> 3. Avoid setting some FS attributes on files (mock is configured for
> that but we don't install the OS package needed to make that actually
> work)
>
> Nut sure any of the above will provide significant gains though.
>
> --
> Barak Korren
> bkorren at redhat.com
> RHCE, RHCi, RHV-DevOps Team
> https://ifireball.wordpress.com/



More information about the Devel mailing list