build providers: hide systemd setup for LXD
Metadata
Current evaluation
Merged to hide verbose systemd setup output for LXD build providers. Approved by one reviewer, passed CI, and modified two files to streamline console output while preserving internal debug visibility.
Suggested action: —
No scores available.
Issue body
The LXD setup is overly verbose. This is a first pass to hide some of
the many unnecessary things show by default (snapcraft's internal debug
still shows them).
Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com>
- [ ] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)?
- [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [ ] Have you successfully run `./runtests.sh static`?
- [ ] Have you successfully run `./runtests.sh tests/unit`?
-----
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged to hide verbose systemd setup output for LXD build providers. Approved by one reviewer, passed CI, and modified two files to streamline console output while preserving internal debug visibility. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged to reduce verbosity in LXD build provider setup by hiding default systemd configuration output. Internal debug retains access. Integrated by maintainer sergiusens. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged a pull request that suppresses verbose systemd setup output for LXD build providers by default, while keeping it accessible for internal debugging. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #3052 build providers: wait for systemd and better nameserver setup on LXD | snapcraft | merged | Merged. Updated LXD build provider to handle systemd degraded state, enable core20 tests, and configure nameserver resolution via systemd-resolved with env var override. Approved, passed CI, +154/-50 lines across 8 files. | |
| #2964 build providers: remove LXD specific env setup | snapcraft | merged | Merged. Removes LXD-specific environment setup from build providers since Provider._get_env_command already handles it. Approved by reviewer, passed CI, and successfully integrated. | |
| #3033 build providers: do not print network test output for LXD | snapcraft | merged | Merged changes to suppress network test output during LXD environment setup. The update modifies two files to prevent printing getent hosts snapcraft.io results, passed CI checks, and received reviewer approval. | |
| #3112 spread: remove dead code for lxd setup and add debug prints | snapcraft | merged | Merged removal of redundant elif dead code in LXD setup logic and addition of debug prints for LXD snap install failures. Approved by one reviewer, passed CI checks, and integrated. | |
| #2976 cli: formalize developer debug as hidden build option | snapcraft | merged | Merged. Formalizes developer debug as a hidden build option, automatically passing it to LXD or Multipass build environments. Approved with passing CI. A reviewer noted managed-host handling will be addressed separately. | |
| #2966 build providers: move to buildd images | snapcraft | merged | Merged. Moves build providers to buildd images, enabling multi-architecture and core20 support for LXD. Approved, passed CI, and addressed reviewer feedback on network wait logic. | |
| #2647 build providers: catch LXD socket error | snapcraft | merged | Merged to catch LXD socket errors in build providers, resolving SNAPCRAFT-WA. Approved by reviewer, passed CI checks, and integrated with a 14-line addition and 6-line deletion across three files. Minor test coverage decrease noted but did not block merge. | |
| #3141 build providers: use LXD-provided DNS by default | snapcraft | merged | Merged into master. Configures the host to use systemd-resolved for DNS resolution, leveraging LXD-provided DNS by default. Approved with passing CI checks and 100% diff coverage across two files. | |
| #3271 build providers: use the releases endpoint for LXD | snapcraft | merged | Merged a two-file change switching the simplestreams endpoint from daily to releases for LXD image retrieval. Approved by one reviewer, passed CI checks, and completed despite noted unrelated test failures. | |
| #2936 build providers: clean up LXD startup message | snapcraft | merged | Merged removal of a confusing LXD startup message about waiting for cloud-init, which misled users into thinking data was being sent to the cloud. The change aligns with the transition to profile containers and was approved. |