mirror of
https://github.com/ubuntu/wsl-setup.git
synced 2026-03-25 00:05:04 +01:00
No description
It looks like a shutdown of WSL before validating the image is beneficial in CI, we had three successful runs in a row after replacing `wsl --terminate instance` with `wsl --shutdown`, see [1](https://github.com/ubuntu/wsl-setup/actions/runs/23439953757), [2](https://github.com/ubuntu/wsl-setup/actions/runs/23440423370) and [3](https://github.com/ubuntu/wsl-setup/actions/runs/23441471549). Some historical facts to get started: - Last in-sequence successful integration test happened on Jan 20th, 2026 - WSL was upgraded in GH runners on Jan 9th, we had at least one successful in-sequence run with that version of WSL. Since then no changes to WSL in GH hosted runners. - The version of cloud-init on the last successful and the first failed runs were the same: v25.3. - Recent images of resolute come with cloud-init v26.1 - The last CI failure was already running with that image. So it doesn’t seem a particular issue with a version of cloud-init or WSL. The symptom is always the same (not easily reproducible locally): ``` UNIT LOAD ACTIVE SUB DESCRIPTION ● user@1001.service loaded failed failed User Manager for UID 1001 Legend: LOAD → Reflects whether the unit definition was properly loaded. ACTIVE → The high-level unit activation state, i.e. generalization of SUB. SUB → The low-level unit activation state, values depend on unit type. 1 loaded units listed. ``` My small historical analysis since a little before the failure trend started until now didn't reveal any culprits or even suspects, but I realized that it would be nice to have kept the image manifests over time to compare the packages and versions. This doesn't seem the particular case where having that would help, but future problem solving might benefit from this idea, so I'm modifying the `get-wsl-image` action to download the image manifest and upload it as a CI artefact. --- UDENG-9298 |
||
|---|---|---|
| .github | ||
| cloud/cloud.cfg.d | ||
| debian | ||
| systemd/system/multipathd.socket.d | ||
| test | ||
| update-motd.d | ||
| wsl | ||
| .shellcheckrc | ||
| CONTRIBUTING.md | ||
| LICENSE | ||
| README.md | ||
| SECURITY.md | ||
| ubuntu-insights.sh | ||
| wait-for-cloud-init | ||
| wsl-setup | ||
wsl-setup
WSL integration setup. This project helps setting up a working WSL environment with systemd enabled by default.