public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: Zhihang Wei <wzh@ilbers.de>
To: Clara Kowalsky <clara.kowalsky@siemens.com>, isar-users@googlegroups.com
Subject: Re: [PATCH] test-container: use IPv4 loopback for Squid proxy
Date: Wed, 11 Nov 2026 17:08:59 +0100	[thread overview]
Message-ID: <c3fb21ec-58b9-454d-a6bd-5fa256e55726@ilbers.de> (raw)
In-Reply-To: <20261109124139.484495-1-clara.kowalsky@siemens.com>

Applied to next, thanks.

I'll bump the test-container version later.

Zhihang

On 11/9/26 13:41, 'Clara Kowalsky' via isar-users wrote:
> APT package downloads run against the target rootfs, whose resolver
> configuration may not resolve localhost. Running the test:
>
> ./scripts/run-tests.sh testsuite/citest.py:SingleTest.test_single_build \
>    -p machine=qemuamd64 -p distro=trixie -p rootless=0 -p sstate=0
>
> fails in rootfs_install_pkgs_download with:
> Could not resolve 'localhost'
>
> Fix this by pointing the proxy at 127.0.0.1 to avoid resolving its
> hostname. The rootfs command shares the test container's network
> namespace, so it can still reach Squid.
>
> Signed-off-by: Clara Kowalsky <clara.kowalsky@siemens.com>
> ---
>   testsuite/dockerdata/test-container-entrypoint | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/testsuite/dockerdata/test-container-entrypoint b/testsuite/dockerdata/test-container-entrypoint
> index 49771c15..8c3b3552 100755
> --- a/testsuite/dockerdata/test-container-entrypoint
> +++ b/testsuite/dockerdata/test-container-entrypoint
> @@ -78,7 +78,7 @@ mkdir /isar
>   
>   busybox syslogd
>   squid
> -export http_proxy=http://localhost:3128
> +export http_proxy=http://127.0.0.1:3128
>   
>   # Reuse the existing entrypoint script, exploiting that entry without
>   # parameters drops us into a shell, rather then calling kas.

-- 
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/c3fb21ec-58b9-454d-a6bd-5fa256e55726%40ilbers.de.

      reply	other threads:[~2026-11-11 16:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-09 12:41 'Clara Kowalsky' via isar-users
2026-11-11 16:08 ` Zhihang Wei [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c3fb21ec-58b9-454d-a6bd-5fa256e55726@ilbers.de \
    --to=wzh@ilbers.de \
    --cc=clara.kowalsky@siemens.com \
    --cc=isar-users@googlegroups.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox