Bug#1144856: x32 builders not properly isolated from network

Mattias Ellert <[email protected]>
Newsgroups gmane.linux.debian.ports.amd64
Message-ID <0d2f8379cf8d60a1068788ea02b8ae3fd6b12c2d.camel__11339.7341383219$1787142211$gmane$org@physics.uu.se>
Package: buildd.debian.org
Severity: important
User: [email protected]
Usertags: x32
X-Debbugs-CC: [email protected]

The xrootd package runs tests during the build. Some of these tests use
some precompiled binaries that are donwloaded from google to run. This
download attempt happens on amd64, arm64 and x32 -- the software is
available for x86_64 and aarch64 only, but the processor match in the
cmake script also triggers on x32 since it checks processor type and
not build target. If the download fails the tests needing this software
are disabled and not run.

On amd64 and arm64 buildds this works as expected -- the downloads fail
because the network is not available and the tests are akipped:

-- Could not find minio. Attempting to download it.
-- Downloading https://dl.min.io/server/minio/release/linux-amd64/minio
to /build/reproducible-path/xrootd-6.1.1/obj-x86_64-linux-
gnu/tests/XrdClS3/minio
-- Could not download minio: "Could not resolve hostname", skipping
XrdClS3 tests

However, on the x32 buildds the downloads succeed, which they
shouldn't.

-- Could not find minio. Attempting to download it.
-- Downloading https://dl.min.io/server/minio/release/linux-amd64/minio
to /build/reproducible-path/xrootd-6.1.1/obj-x86_64-linux-
gnux32/tests/XrdClS3/minio
-- Could not find mc. Attempting to download it.
-- Downloading https://dl.min.io/client/mc/release/linux-amd64/mc to
/build/reproducible-path/xrootd-6.1.1/obj-x86_64-linux-
gnux32/tests/XrdClS3/mc

This is true for both the x32-do-01 and the x32-do-02 x32 buildd. The
debian/rules file currently disables the tests using this software by
adding them to the -E flags to ctest, so the software isn't used during
the build.

But it shouldn't be possible to doenload it during the build in the
first place.

	Mattias
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEE6hgwr99NQxrZ4RRS6K7C/zvhqUsFAmqFn3UACgkQ6K7C/zvh
qUuTAhAAkHJXzTGiqlmcJhpvXdhsbkn+eBNHDuB8hSKwna/GJZJ1TB3y918tuMnm
lLzoysnz9xw805B6ZQMwPdYnHXbcN7fo13ybOkaFW77hCD2/tE4qBPyvZnMtiFAk
YzXScmm6f3u17gPyZdGOwu9IDfMncrpevWZC+K8otQTHyhHWobSY5idiGPprZzvZ
BOnnwox9rjo5CoW/Q9KjuRY4RDRKQNQH/q5F+0lDgKEaBZSKc7roeRRFD1MBBgKC
dnFwos+aKJCz0sVRbYRkrKDlVnnUjyQhhllS7GJ1j1bdONAW6H1eU2yMY3DE7bef
1Hs89PwfFV4izSv3mCWQfVN8Alr9zE5PPiqA/mrvygjWp/zDrgPhiLdTx2EQJVtg
B1CyCNB1qmw7lIQItf2W608hCkN85OaEoie1KEwP0aNLA6laaJDAApj8G6AjUI1M
x/H4GUdV8I6DpUXN3uzY056qj02Przz0/te/6gtgtveHRX0ytNbRycZfFjIRWKZq
RNe8xSju/turRkOy3K9tntZc8AGTTCEqfHPnShyfE1D3Dk09YYTrbTkKKZCZmVyC
DeKgB2SiyTvJCfIVxk6Yk10JD284kjOdZsL+Xql8P4G451VaoFRsusxHcg7KHUM/
5IN2W2es9RC08c65tB0TLhkpd4U57D8W7nJ01pKkm3EG7/LoD/Q=
=T8Oj
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.