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

Sean spbrogan at outlook.com
Fri Jan 8 18:01:30 UTC 2021


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.

Thanks
Sean



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 (#70065): https://edk2.groups.io/g/devel/message/70065
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