It's due to the way that docker for mac works, the IO pipe to the container is via the CPU path, so anything that needs a grep like this will take a long time.
> On 13 May 2020, at 17:15, Viktor Ashirov <[email protected]> wrote: > > On Wed, May 13, 2020 at 9:13 AM William Brown <[email protected]> wrote: >> >> >> >>> On 13 May 2020, at 17:01, Viktor Ashirov <[email protected]> wrote: >>> >>> Hi, >>> >>> On Wed, May 13, 2020 at 8:31 AM William Brown <[email protected]> wrote: >>>> >>>> Hi all, >>>> >>>> I noticed today that my tests now take minutes to start executing. It >>>> looks like it's spinning on: >>>> >>>> dirsrv 84605 12.8 0.1 16672 7704 pts/0 S+ 16:25 0:08 grep -rh >>>> ^@pytest.mark.\(ds\|bz\)[0-9]\+ >>>> >>>> Do we know anything about this? Did we add something in a fixture or >>>> something to grep for tests? That kind of pattern does look like our bz/ds >>>> here, so I suspect it comes from us. >>> It is this change: >>> https://pagure.io/389-ds-base/c/6a7a154159583c09fcbba0578eaf576d577ccb11?branch=master >>> But for me on Fedora it doesn't take minutes: >>> $ time grep -rh ^@pytest.mark.\(ds\|bz\)[0-9]\+ >>> >>> real 0m0.144s >>> user 0m0.093s >>> sys 0m0.050s >>> >>> How are you running your tests? Is it on OpenSUSE or some other OS? >> >> It's a known IO performance issue inside of docker. > Do you mount a volume with git/tests inside of the container or it's > in the container FS itself? >> >>> Thanks. >>>> >>>> >>>> >>>> — >>>> Sincerely, >>>> >>>> William Brown >>>> >>>> Senior Software Engineer, 389 Directory Server >>>> SUSE Labs >>>> _______________________________________________ >>>> 389-devel mailing list -- [email protected] >>>> To unsubscribe send an email to [email protected] >>>> Fedora Code of Conduct: >>>> https://docs.fedoraproject.org/en-US/project/code-of-conduct/ >>>> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines >>>> List Archives: >>>> https://lists.fedoraproject.org/archives/list/[email protected] >>> >>> >>> >>> -- >>> Viktor >>> _______________________________________________ >>> 389-devel mailing list -- [email protected] >>> To unsubscribe send an email to [email protected] >>> Fedora Code of Conduct: >>> https://docs.fedoraproject.org/en-US/project/code-of-conduct/ >>> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines >>> List Archives: >>> https://lists.fedoraproject.org/archives/list/[email protected] >> >> — >> Sincerely, >> >> William Brown >> >> Senior Software Engineer, 389 Directory Server >> SUSE Labs >> _______________________________________________ >> 389-devel mailing list -- [email protected] >> To unsubscribe send an email to [email protected] >> Fedora Code of Conduct: >> https://docs.fedoraproject.org/en-US/project/code-of-conduct/ >> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines >> List Archives: >> https://lists.fedoraproject.org/archives/list/[email protected] > > > > -- > Viktor > _______________________________________________ > 389-devel mailing list -- [email protected] > To unsubscribe send an email to [email protected] > Fedora Code of Conduct: > https://docs.fedoraproject.org/en-US/project/code-of-conduct/ > List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines > List Archives: > https://lists.fedoraproject.org/archives/list/[email protected] — Sincerely, William Brown Senior Software Engineer, 389 Directory Server SUSE Labs _______________________________________________ 389-devel mailing list -- [email protected] To unsubscribe send an email to [email protected] Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/[email protected]
