ci: use ubuntu 20.04 for linux stage#227338
Conversation
Newer agents have issue starting docker container
```
docker: Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: unable to apply cgroup configuration: unable to start unit "docker-7c804237784bfb9e3acdc157b61934d5175a239f3ded81e98486d97157b4a316.scope" (properties [{Name:Description Value:"libcontainer container 7c804237784bfb9e3acdc157b61934d5175a239f3ded81e98486d97157b4a316"} {Name:Slice Value:"system.slice"} {Name:Delegate Value:true} {Name:PIDs Value:@au [11485]} {Name:MemoryAccounting Value:true} {Name:CPUAccounting Value:true} {Name:IOAccounting Value:true} {Name:TasksAccounting Value:true} {Name:DefaultDependencies Value:false}]): Launch helper exited with unknown return code 1: unknown.
```
|
Follow-up issue tracked in https://github.com/microsoft/vscode-internalbacklog/issues/5029 |
|
There is also a secondary issue with the agent update, arm64 and armhf linux clients fail in rpm packaging https://monacotools.visualstudio.com/Monaco/_build/results?buildId=290854&view=logs&j=15ca7ee2-e153-5761-fc3c-51cb7d92e001&t=456c5490-4f16-5432-cc42-adad43cfcd92 rpm package which is used to perform this step got updated from before https://monacotools.visualstudio.com/Monaco/_build/results?buildId=290832&view=logs&j=15ca7ee2-e153-5761-fc3c-51cb7d92e001&t=541d2f16-45b6-568a-d52c-42fbb4413709 Looking at the changelog of the rpm package, the update brings in a change that properly identifies elf binaries for stripping rpm-software-management/rpm@0ab151a. So far we have not been stripping the binaries, the issue is that we cross compile arm64 and armhf binaries so default strip binary shipped with the agent will only work on x86_64 binaries and fail otherwise. This fix to this would be either defining our custom strip from the sysroot as part of the spec file or disabling stripping to restore old behavior. Both of which need changes in the spec file and needs testing. I will revert the agent as a temporary fix and follow-up on this. |
e72f1f9 to
af64acc
Compare
|
Follow-up issue created at #227340 |
Addresses regression from #227312 /cc @lszomoru
Refs https://monacotools.visualstudio.com/Monaco/_build/results?buildId=290852&view=logs&j=c6d3aa27-fdbb-548f-1661-69ade68a4dac&t=8a03defa-7e82-5cb0-5804-f994c24d3a7b