Improving resiliency of test Infrastructure #4993
Replies: 3 comments
-
Re nested virtualization: https://learn.microsoft.com/en-us/virtualization/hyper-v-on-windows/user-guide/nested-virtualization
|
Beta Was this translation helpful? Give feedback.
-
Thank you for opening this! Some random answers:
Yes, agreed. There may be a way to reliably use Windows Server, but I haven't figured it out when I've tried. Also, I haven't tried it since we started using WSL-Docker-Inside, but still, requires performant nested virtualization. |
Beta Was this translation helpful? Give feedback.
-
I had forgotten about paperspace.com until their announcement of acquisition today. Last I tried them they couldn't do virtualization, but trying again. Update: Unfortunately unable to do WSL2, no virtualization. |
Beta Was this translation helpful? Give feedback.
-
To frame this discussion, here's a goal I think there's likely broad agreement on:
@rfay and I (along with a colleague of mine) had a good discussion at Drupalcon that touched on how ddev's testing is currently set up. This has also come up on some advisory group calls, from the lens of project sustainability.
One of the biggest challenges right now is automated tests for macOS and Windows hosts. Looking at an example PR at #4946 there are:
What I haven't found is a job for non-WSL2 Windows, which I thought was in place? I know that's on the way to being deprecated but I thought it wasn't there yet.
There's great docs on setting up Buildkite runners at https://ddev.readthedocs.io/en/stable/developers/buildkite-testmachine-setup/. There's also https://ddev.readthedocs.io/en/stable/developers/github-selfhosted-setup/, but it's missing macOS setup docs?
My understanding is that with Windows tests, the biggest challenge is the combination of testing with a client version of Windows, and not Windows Server, as well as some providers not offering nested virtualization. For example, AWS only offers nested virtualization on bare-metal instances which are expensive.
Ideas for Next Steps
Beta Was this translation helpful? Give feedback.
All reactions