← Back to issue list

build providers: do not print network test output for LXD

View original Github issue

Metadata

Project
snapcraft
Number
#3033
Type
pull request
State
merged
Author
sergiusens
Labels
Created
Updated
Closed

Current evaluation

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.

Suggested action:

No scores available.

Issue body

Do not print out the output of "getent hosts snapcraft.io" which run during environment setup. 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 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.
qwen3.6-35b-a3b-mtp-q6 Merged suppression of getent hosts snapcraft.io network test output during LXD environment setup to prevent verbose logging.
qwen3.6-35b-a3b-mtp-q6 Merged to suppress console output during LXD environment setup. The change prevents printing network test results for snapcraft.io, reducing log noise without affecting functionality.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#3281 build providers: hide systemd setup for LXD snapcraft merged 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.
76%
#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.
74%
#1087 Don't wait for lxd networking in cleanbuild test snapcraft merged Merged to master. Removed an unnecessary LXD networking wait in the cleanbuild test, cutting runtime by five seconds. Approved by two reviewers, passed CI, and integrated successfully.
71%
#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.
71%
#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.
70%