From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [63.128.21.124]) by mx.groups.io with SMTP id smtpd.web08.224.1610130107685946445 for ; Fri, 08 Jan 2021 10:21:47 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=ZiQ43Ts5; spf=pass (domain: redhat.com, ip: 63.128.21.124, mailfrom: lersek@redhat.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1610130106; 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=E4YcoZmKj86Ob1KSANICBurPeYw3uHw6R2+GQXy9DhY=; b=ZiQ43Ts5eFHux6otqqXylBqestRJH6GGAhD8z6kE4ckS7micfoDkrAD+OLCyFmG3GqpJVi 5S1zTS/fsoQcyz1tE+QmRYTLJsaDZ4WI0DWGWG8mksexV04ZrKL59/ps/McKufB1SFBWZa RETR910xu0yzcfF+0+kAC4pCBjujpEc= 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-512-7l5AvWsJN5an1hPj1BZv5g-1; Fri, 08 Jan 2021 13:21:42 -0500 X-MC-Unique: 7l5AvWsJN5an1hPj1BZv5g-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id E17BE801817; Fri, 8 Jan 2021 18:21:40 +0000 (UTC) Received: from lacos-laptop-7.usersys.redhat.com (ovpn-113-112.ams2.redhat.com [10.36.113.112]) by smtp.corp.redhat.com (Postfix) with ESMTP id 318FF60BF3; Fri, 8 Jan 2021 18:21:39 +0000 (UTC) Subject: Re: [edk2-devel] [Patch 1/1] EmulatorPkg/PlatformCI: stick with "ubuntu-18.04" for now To: Sean Brogan , devel@edk2.groups.io, bob.c.feng@intel.com, Michael Kinney Cc: Jordan Justen , Andrew Fish , Ray Ni References: <20201221031930.1799-1-bob.c.feng@intel.com> <1ceee144-3cd0-8991-a381-e368ed4245ef@redhat.com> From: "Laszlo Ersek" Message-ID: Date: Fri, 8 Jan 2021 19:21:38 +0100 MIME-Version: 1.0 In-Reply-To: X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=lersek@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit On 01/08/21 19:01, Sean Brogan wrote: > Looks like the switch to Ubuntu 20.04 was pretty negatively impactful. > Thanks Laszlo for tracking this down. > > Question to the community (especially those using a Linux environment) > is what priority should it be to go resolve these and update CI to run > on Ubuntu 20.04?  General premise is we should stay current without > being bleeding edge but I want to understand other perspectives. Yes, we should stay current. We discussed the topic this Tuesday, on the stewards' meeting. Subsequently -- two days ago --, I filed the following ticket (and CC'd you and Bret on it): https://bugzilla.tianocore.org/show_bug.cgi?id=3156 It's basically a request to track down & compensate for the specifics of the Ubuntu 20.04 breakage, and then advance to "ubuntu-latest" again. Mike's advice was to ask you guys to work out the issues with the Ubuntu image, interactively; mainly because (if I understood correctly) the Azure environment may layer additional smarts onto the VM image that's offered by . Also, as I said in the BZ, I'm not an Ubuntu user, so interactively tweaking an Ubuntu installation (VM image or otherwise), to make the CI tasks happy, is not my cup of tea. (Fedora would be different -- but such an image is not available yet: .) Mike, please correct any mistakes in the above. Thanks Laszlo > On 12/21/2020 6:53 AM, Laszlo Ersek wrote: >> On 12/21/20 04:19, Bob Feng wrote: >>> "vm_image: 'ubuntu-latest'" now refers to Ubuntu Focal (20.04LTS), not >>> Ubuntu Bionic (18.04LTS), according to >>> . >>> >>> In Focal, the "qemu" package is a dummy package with no dependencies, >>> and >>> so the actual emulators are not pulled in. Compare: >>> >>>    https://packages.ubuntu.com/bionic/qemu >>>    https://packages.ubuntu.com/focal/qemu >>> >>> This causes CI runs to fail. >>> >>> It would be best to switch to the "qemu-system" package name, which >>> continues to depend on the emulators: >>> >>>    https://packages.ubuntu.com/bionic/qemu-system >>>    https://packages.ubuntu.com/focal/qemu-system >>> >>> However, while that package does make the emulators available, the >>> emulators crash. So for now, stick with the previous Ubuntu environment, >>> which continues to be supported, per >>> . >>> >>> Signed-off-by: Bob Feng >>> Cc: Jordan Justen >>> Cc: Andrew Fish >>> Cc: Ray Ni >>> --- >>>   EmulatorPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml | 2 +- >>>   1 file changed, 1 insertion(+), 1 deletion(-) >>> >>> diff --git a/EmulatorPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml >>> b/EmulatorPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml >>> index 0e5f4d9961e3..17d62bb69ec5 100644 >>> --- a/EmulatorPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml >>> +++ b/EmulatorPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml >>> @@ -15,11 +15,11 @@ pr: >>>     - master >>>   jobs: >>>     - job: Platform_CI >>>       variables: >>>         package: 'EmulatorPkg' >>> -      vm_image: 'ubuntu-latest' >>> +      vm_image: 'ubuntu-18.04' >>>         should_run: false >>>         run_flags: "MAKE_STARTUP_NSH=TRUE" >>>         #Use matrix to speed up the build process >>>       strategy: >>> >> >> Merged as commit 3ce3274a5ea4, via >> . >> >> Thanks, >> Laszlo >> >> >> >> >> >> >