From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail5.wrs.com (mail5.windriver.com [192.103.53.11]) by mail.openembedded.org (Postfix) with ESMTP id 11E1774CB4 for ; Thu, 26 Jul 2018 09:19:11 +0000 (UTC) Received: from ALA-HCA.corp.ad.wrs.com (ala-hca.corp.ad.wrs.com [147.11.189.40]) by mail5.wrs.com (8.15.2/8.15.2) with ESMTPS id w6Q9J0cY013742 (version=TLSv1 cipher=AES128-SHA bits=128 verify=FAIL); Thu, 26 Jul 2018 02:19:01 -0700 Received: from [128.224.162.161] (128.224.162.161) by ALA-HCA.corp.ad.wrs.com (147.11.189.40) with Microsoft SMTP Server id 14.3.399.0; Thu, 26 Jul 2018 02:19:00 -0700 To: , References: <20180716163325.13847-1-richard.purdie@linuxfoundation.org> <1e41274ab544bfa905bf98a75d6729c492bec19b.camel@linuxfoundation.org> From: Robert Yang Message-ID: Date: Thu, 26 Jul 2018 17:18:12 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <1e41274ab544bfa905bf98a75d6729c492bec19b.camel@linuxfoundation.org> Subject: Re: [PATCH 1/6] oeqa: Add selftest parallelisation support X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jul 2018 09:19:12 -0000 Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit On 07/26/2018 05:10 PM, richard.purdie@linuxfoundation.org wrote: > On Thu, 2018-07-26 at 14:00 +0800, Robert Yang wrote: >> >> On 07/26/2018 11:03 AM, Robert Yang wrote: >>> Hi RP, >>> >>> On 07/17/2018 12:33 AM, Richard Purdie wrote: >>>> This allows oe-selftest to take a -j option which specifies how >>>> much test >>>> parallelisation to use. Currently this is "module" based with >>>> each module >>>> being split and run in a separate build directory. Further >>>> splitting could >>>> be done but this seems a good compromise between test setup and >>>> parallelism. >>>> >>>> You need python-testtools and python-subunit installed to use >>>> this but only >>>> when the -j option is specified. >>> >>> Should we add python-testtools-native and python-subunit-native, >>> please ? >>> >>> And add them to TESTIMAGEDEPENDS ? >> >> After talked with Qi, this won't work since we use host's python3. So >> we need install them on host, or use buildtools-tarball. > > Correct, this is why the modules are only loaded if you use the -j > option, so the dependency is only needed if you use bitbake -j. That at > least minimises the cross-section of users affected. There might be a bug since we don't use -j in our build farm, but I see the no testtools module error, I will do more investigations on it. > > You can't use buildtools-tarball as yet as we don't have the -native or > -nativesdk recipes you mention to add to it. They are in meta-openstack layer, I can move them into oe-core if oe-core can accept them, and I think that we need move them to make buildtools-tarball completed. // Robert > > Cheers, > > Richard > > > >