← Back to team overview

canonical-ubuntu-qa team mailing list archive

[Merge] autopkgtest-cloud:updates-sources into autopkgtest-cloud:master

 

Brian Murray has proposed merging autopkgtest-cloud:updates-sources into autopkgtest-cloud:master.

Requested reviews:
  Canonical's Ubuntu QA (canonical-ubuntu-qa)

For more details, see:
https://code.launchpad.net/~ubuntu-release/autopkgtest-cloud/+git/autopkgtest-cloud/+merge/462527

With the newly created armhf noble images I was seeing the following error:

77s sed: can't read /etc/apt/sources.list: No such file or directory

To get things working again I just cowboy'ed out the sed part of the setup command in the worker-lxd-armhf.conf file on the autopkgtest-lxd-worker unit. However, we should modify the apt sources to use the fastest mirror available which is presumably ftpmaster. The merge proposal here does just that and while I've tested it locally it has not been tested in production (or staging) and should be.
-- 
Your team Canonical's Ubuntu QA is requested to review the proposed merge of autopkgtest-cloud:updates-sources into autopkgtest-cloud:master.
diff --git a/mojo/service-bundle b/mojo/service-bundle
index 934a4e3..24de83b 100644
--- a/mojo/service-bundle
+++ b/mojo/service-bundle
@@ -140,7 +140,7 @@ applications:
             <<: *common-options
             worker-args: lxd -r $LXD_REMOTE $LXD_REMOTE:autopkgtest/ubuntu/$RELEASE/$ARCHITECTURE
 {%- if stage_name == "production" or stage_name == "staging" %}
-            worker-setup-command2: sed -i "s/ports.ubuntu.com/ftpmaster.internal/; s/ubuntu-ports/ubuntu/" /etc/apt/sources.list `ls /etc/apt/sources.list.d/*.list 2>/dev/null || true`; ln -s /dev/null /etc/systemd/system/bluetooth.service; printf "http_proxy={{ http_proxy }}\nhttps_proxy={{ https_proxy }}\nno_proxy={{ no_proxy }}\n" >> /etc/environment
+            worker-setup-command2: sed -i "s/ports.ubuntu.com/ftpmaster.internal/; s/ubuntu-ports/ubuntu/" /etc/apt/sources.list.d/ubuntu.sources `ls /etc/apt/sources.list.d/*.list 2>/dev/null || true`; ln -s /dev/null /etc/systemd/system/bluetooth.service; printf "http_proxy={{ http_proxy }}\nhttps_proxy={{ https_proxy }}\nno_proxy={{ no_proxy }}\n" >> /etc/environment
 {%- endif %}
 {%- if stage_name == "production" %}
             lxd-remotes: |-