[edk2-devel] [Patch 1/1] EmulatorPkg/PlatformCI: stick with "ubuntu-18.04" for now

Laszlo Ersek lersek at redhat.com
Fri Jan 8 18:21:38 UTC 2021


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

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

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
>>> <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 at intel.com>
>>> Cc: Jordan Justen <jordan.l.justen at intel.com>
>>> Cc: Andrew Fish <afish at apple.com>
>>> Cc: Ray Ni <ray.ni at 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:
>>>
>>
>> Merged as commit 3ce3274a5ea4, via
>> <https://github.com/tianocore/edk2/pull/1255>.
>>
>> Thanks,
>> Laszlo
>>
>>
>>
>> 
>>
>>
> 



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#70067): https://edk2.groups.io/g/devel/message/70067
Mute This Topic: https://groups.io/mt/79119037/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-





More information about the edk2-devel-archive mailing list