Lucas Nussbaum <
[email protected]> writes:
During a rebuild of all packages in testing (trixie), your package failed
to build on arm64.
Relevant part (hopefully):
=== RUN TestOverlayView
snapshot_test.go:696: expected 1 mount option but got 2
--- FAIL: TestOverlayView (0.07s)
FAIL
FAIL github.com/awslabs/soci-snapshotter/snapshot 0.128s
[...]
The full build log is available from: http://qa-logs.debian.net/2025/04/16/golang-github-awslabs-soci-snapshotter_0.4.1-4_testing-arm64.log
Santiago Vila writes:
retitle 1103361 golang-github-awslabs-soci-snapshotter: FTBFS with the unshare backend
thanks
Some additional notes about this bug:
- It also happens on amd64, so it's not arm64-specific.
- It happens when using the unshare backend of sbuild,
but not when using the traditional schroot backend.
- The bug is quite similar to these ones, already fixed by
disabling the failing tests:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?src=golang-github-containerd-stargz-snapshotter
(Jochen: I think this was the pending report we had from the sbuild
testing two days ago, so we don't have to report it anymore).
So here is the thing, I could not reproduce the issue on my laptop:
=== RUN TestOverlayOverlayRead
helpers_unix.go:33: skipping test that requires root
--- SKIP: TestOverlayOverlayRead (0.00s)
=== RUN TestOverlayView
--- PASS: TestOverlayView (0.00s)
PASS
Any idea why this might work for me when using the unshare backend?
-*- mode: compilation; default-directory: "/srv/scratch/packages/go-team/golang-github-awslabs-soci-snapshotter/" -*-
Compilation started at Sun May 25 12:22:53
dgit sbuild
Format `3.0 (quilt)', need to check/update patch stack
dgit: split brain (separate dgit view) may be needed (--quilt=gbp).
dgit view: found cached (commit id bf49f6997ff9730c653fd215be9c60eb7b9c249b) dpkg-source: info: using source format '3.0 (quilt)'
dpkg-source: info: building golang-github-awslabs-soci-snapshotter using existing ./golang-github-awslabs-soci-snapshotter_0.4.1.orig.tar.gz
dpkg-source: info: using patch list from debian/patches/series
dpkg-source: info: building golang-github-awslabs-soci-snapshotter in golang-github-awslabs-soci-snapshotter_0.4.1-4.debian.tar.xz
dpkg-source: info: building golang-github-awslabs-soci-snapshott