From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mx.groups.io with SMTP id smtpd.web10.94180.1597859997903528282 for ; Wed, 19 Aug 2020 10:59:58 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Z7TsZtxm; spf=pass (domain: redhat.com, ip: 216.205.24.124, mailfrom: lersek@redhat.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1597859997; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=/mV2hAWLwKhz1aaqm/biSpcTDaqPo1QIKDeNSLurylE=; b=Z7TsZtxmLVBZgnSrXmwOL8MlDt1ZA3yzRzAj8iaemWahE9B5H0Q17ekT4xG3ufZFRlHLZS gi/rewPDCiOSchfI7yikv+oy9hnPnxJzsT8se2Ue79BFeJgt8TN/8QSkuNGT4rIkiIlBUn 4KEHpnkBIYRh0fsn+M37UgxVLFnZsJ0= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-33-BpYbNewVO86gJJ7Cze9FKg-1; Wed, 19 Aug 2020 13:59:52 -0400 X-MC-Unique: BpYbNewVO86gJJ7Cze9FKg-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 92663805EE3; Wed, 19 Aug 2020 17:59:50 +0000 (UTC) Received: from lacos-laptop-7.usersys.redhat.com (ovpn-114-226.rdu2.redhat.com [10.10.114.226]) by smtp.corp.redhat.com (Postfix) with ESMTP id D32CE10013C4; Wed, 19 Aug 2020 17:59:48 +0000 (UTC) Subject: Re: [edk2-devel] running CI locally To: Sean Brogan , devel@edk2.groups.io, michael.d.kinney@intel.com, Sean Brogan , Bret Barkelew Cc: Vladimir Olovyannikov , Rebecca Cran , Tom Lendacky References: From: "Laszlo Ersek" Message-ID: <2d9572c6-7549-d0ae-3ec9-95158cfef484@redhat.com> Date: Wed, 19 Aug 2020 19:59:47 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=lersek@redhat.com X-Mimecast-Spam-Score: 0.001 X-Mimecast-Originator: redhat.com Content-Language: en-US Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit On 08/19/20 18:22, Sean Brogan wrote: > Laszlo/Mike, > > This is the joy of distributed repositories. > Remember edk2 ci is actually using edk2-pytool-extensions and > edk2-pytool-library.  Documentation is in those projects. > > https://github.com/tianocore/edk2-pytool-extensions/tree/master/docs > https://github.com/tianocore/edk2-pytool-library/tree/master/docs > > I won't say they are great and I hope someday relatively soon we can > talk about an edk2 static site generator that can include docs from > multiple repositories (much like https://microsoft.github.io/mu/) as I > think documentation on edk2 is a weak spot. > > Regarding Mono and nuget.  It is one of those things we wish was > different as we have found it very inconsistent across different > distributions of linux.  But we do have docs here. > https://github.com/tianocore/edk2-pytool-extensions/blob/master/docs/usability/using_linux.md > > > And more specifically here: > https://github.com/tianocore/edk2-pytool-extensions/blob/master/docs/usability/using_extdep.md#a-note-on-nuget-on-linux > > > > Finally getting to why you don't run the compile. > Core CI (stuart_ci_build)  is a plugin runner.  Compile test is just one > of those tests.  OvmfPkg is a platform and thus didn't opt into core ci > compile testing.  In the table here i tried to document that OvmfPkg > didn't compile using core ci and that a user should look at the readme. > https://github.com/tianocore/edk2/blob/master/.pytool/Readme.md#basic-status > > > So for OvmfPkg we enabled what we call platform ci (stuart_build).  I > think the write up here is pretty complete (although i see it has no > mention of mono either). > https://github.com/tianocore/edk2/tree/master/OvmfPkg/PlatformCI > > One final note.  Yes the logging to console is by default very brief. > This is by design as it is easier to quickly look and see what test > failed and then use the log file (as mike mentioned) to find the root > cause. > > Hope that helps and it is great to see people using it.  Feedback is > much appreciated. The documentation looks *awesome*, and it's entirely my fault that I couldn't find it. I apologize. I'll report back with more results. Thanks! Laszlo