#1072151 src:golang-github-containerd-cgroups tries to access /sys/kernel/mm/hugepages in tests

#1072151#5
Date:
2024-05-29 09:04:09 UTC
From:
To:
Hi,

src:golang-github-containerd-cgroups tries to access
/sys/kernel/mm/hugepages which is not guaranteed to be there in
containers:

https://systemd.io/CONTAINER_INTERFACE/

This is for example the case with sbuild in unshare mode (starting with
0.85.9) due to #1071234. I would propose to either mock the path or
disable the test.

Cheers Jochen

#1072151#16
Date:
2024-10-08 09:26:49 UTC
From:
To:
close 1072151 3.0.3-3
close 1072067 0.14.3-3
thanks

#1072151#27
Date:
2024-10-21 20:57:05 UTC
From:
To:
Jochen Sprickerhof <jspricke@debian.org> writes:

Hi Jochen,

can you please show a build log that fails because of the unshare change in sbuild?

I'd like to make sure I'm disabling the correct test. The test that I
thought would be triggering the issue seems to be already disabled.

best,
-rt

#1072151#30
Date:
2024-10-22 09:57:46 UTC
From:
To:
Hello,

Bug #1072151 in golang-github-containerd-cgroups reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/go-team/packages/golang-github-containerd-cgroups/-/commit/41607b8c6d59f43d926b2f44d83dcb7a9c3caf32

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1072151

#1072151#37
Date:
2024-10-22 09:56:40 UTC
From:
To:
Reinhard Tartler <siretart@tauware.de> writes:

Never mind, I've found the issue and will be uploading a fix momentarily.

thanks for the bug report!
-rt

#1072151#42
Date:
2024-10-22 10:19:14 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
golang-github-containerd-cgroups, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1072151@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Reinhard Tartler <siretart@tauware.de> (supplier of updated golang-github-containerd-cgroups package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Tue, 22 Oct 2024 05:52:42 -0400
Source: golang-github-containerd-cgroups
Architecture: source
Version: 3.0.3-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Go Packaging Team <team+pkg-go@tracker.debian.org>
Changed-By: Reinhard Tartler <siretart@tauware.de>
Closes: 1072151
Changes:
 golang-github-containerd-cgroups (3.0.3-4) unstable; urgency=medium
 .
   * Avoid accessing to /sys/kernel/mm/hugepages in tests, Closes: #1072151
Checksums-Sha1:
 d4137dd83f27886e5d1c0bfe4b7322e2f59eede1 2882 golang-github-containerd-cgroups_3.0.3-4.dsc
 a1da692f78eb6e9cdba0bbaa34d0124516de09c7 4488 golang-github-containerd-cgroups_3.0.3-4.debian.tar.xz
Checksums-Sha256:
 95c8b571de45f5aa845724f3ead9a0077dcefdd386858f2dabc88787c1875d6d 2882 golang-github-containerd-cgroups_3.0.3-4.dsc
 c3f1644cb4429153982bdc76774443dfb4f7d44375b6b2d8fe663c4efec338dd 4488 golang-github-containerd-cgroups_3.0.3-4.debian.tar.xz
Files:
 b8814641b599ea1ce62acdb044879d71 2882 golang optional golang-github-containerd-cgroups_3.0.3-4.dsc
 40c11d8572ce7ce8adcb79aa05ba83cb 4488 golang optional golang-github-containerd-cgroups_3.0.3-4.debian.tar.xz
-----BEGIN PGP SIGNATURE-----

iQJIBAEBCgAyFiEEMN59F2OrlFLH4IJQSadpd5QoJssFAmcXd0gUHHNpcmV0YXJ0
QHRhdXdhcmUuZGUACgkQSadpd5QoJsvCcw/9GCCFyk8uAM+eWAwKF9H6gDyzS0XX
e9uXwmoQVe1Ir13gK67YTQxDSqARmOW4wrH+HY7uf5IhmmwZ5bCtoOZseZGGrj1Y
piJuZ31Z2/rZ3Wajw3iorVt1Cg9XEtQIakuBpxL/dSQPdRTD1A+Mm7t16reX0oB3
xFu0kxKEIbD3ferjQ82MH20EPStDF+8XylhQW9sljbfZ3SRJ+4XzHUBwp6aGpi0U
WN9CMQCwZUWsVElow6btz3CxVPLgEBcdKPBaVdaKBRGyhmzFbBiD1qB+B3niToC9
nulCaMM0w3Dq8adPGJ1KrJok2B+5CKKWElkkpUcstZ1S2V1njhCZ3fOCTVAbPxmT
5RPjrVwVn67SMaLpWX/3+/KB5UF49jqA3RrTNnZ22hIu3sQIs/gZzXN+Ln2myuCM
5qr25j1LWKNodgKFASACmJCt+7P3ypeZle1koK0YQt1G28XTxiaXVsJ/kAarCcrA
FQhOkfZQCuazNucl99dKZFJzkZxHXY3xnx4aMVxNTb9lY3I0Qge9QbkkR3iAKtD4
zfgKcusBgOePPNDwmfNjlug8cyR02IGZXh8Y+L7hfBrxPKrIDKmTv8pL+HIlGl00
BrfGDBNLfJeGLidXIdfBf4AH7T3O+jvNpLolMOBUGwcHqHQYbhwqdXGSu9d3Zb/V
kZ52V2NqrPhIhY4=
=MfXf
-----END PGP SIGNATURE-----