public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [Patch 1/1] EmulatorPkg/PlatformCI: stick with "ubuntu-18.04" for now
@ 2020-12-21  3:19 Bob Feng
  2020-12-21 13:47 ` [edk2-devel] " Laszlo Ersek
  2020-12-21 14:53 ` Laszlo Ersek
  0 siblings, 2 replies; 12+ messages in thread
From: Bob Feng @ 2020-12-21  3:19 UTC (permalink / raw)
  To: devel; +Cc: Jordan Justen, Andrew Fish, Ray Ni

"vm_image: 'ubuntu-latest'" now refers to Ubuntu Focal (20.04LTS), not
Ubuntu Bionic (18.04LTS), according to
<https://github.com/actions/virtual-environments/issues/1816>.

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
<https://github.com/actions/virtual-environments/issues/1816>.

Signed-off-by: Bob Feng <bob.c.feng@intel.com>
Cc: Jordan Justen <jordan.l.justen@intel.com>
Cc: Andrew Fish <afish@apple.com>
Cc: Ray Ni <ray.ni@intel.com>
---
 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:
-- 
2.29.1.windows.1


^ permalink raw reply related	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2021-01-11  8:24 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-21  3:19 [Patch 1/1] EmulatorPkg/PlatformCI: stick with "ubuntu-18.04" for now Bob Feng
2020-12-21 13:47 ` [edk2-devel] " Laszlo Ersek
2020-12-21 14:05   ` Laszlo Ersek
2020-12-21 14:53 ` Laszlo Ersek
2020-12-22  0:04   ` Bob Feng
2021-01-08 18:01   ` Sean
2021-01-08 18:14     ` Rebecca Cran
2021-01-08 18:34       ` Laszlo Ersek
2021-01-08 18:54         ` Rebecca Cran
     [not found]         ` <1658569DBC96D253.25961@groups.io>
2021-01-08 20:20           ` Rebecca Cran
2021-01-11  8:24             ` Laszlo Ersek
2021-01-08 18:21     ` Laszlo Ersek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox