[pkg-go] Bug#998449: autopkgtest: dh-golang-autopkgtest FAIL non-zero exit status 2

Antonio Terceiro terceiro at debian.org
Thu Nov 4 11:54:30 GMT 2021


Source: libpod
Version: 3.4.1+ds1-2
Severity: serious
User: debian-ci at lists.debian.org
Usertags: regression
X-Debbugs-CC: debian-ci at lists.debian.org

The libpod autopkgtest curently fails in unstable. I have seen #993532,
but I don't know if it's the same issue.

See the log below, slightly edited for brevity. Unfortunately there is
zero diagnostics output, it just exits non-zero failing the test. Maybe
this is something that could be improved in dh_golang_autopkgtest, I
don't know.

----------------8<----------------8<----------------8<-----------------
autopkgtest [08:39:48]: test dh-golang-autopkgtest: /usr/bin/dh_golang_autopkgtest
autopkgtest [08:39:48]: test dh-golang-autopkgtest: [-----------------------
[info] Testing github.com/containers/podman...
[info] Source code installed by binary package, overriding dh_auto_configure...
dh build --buildsystem=golang --with=golang,bash-completion --builddirectory=_output
   dh_update_autotools_config -O--buildsystem=golang -O--builddirectory=_output
   dh_autoreconf -O--buildsystem=golang -O--builddirectory=_output
   debian/rules override_dh_auto_configure
make[1]: Entering directory '/tmp/autopkgtest-lxc.yyi7s1c4/downtmp/autopkgtest_tmp'
mkdir -p "_output"
cp -a /usr/share/gocode/src "_output"
make[1]: Leaving directory '/tmp/autopkgtest-lxc.yyi7s1c4/downtmp/autopkgtest_tmp'
   debian/rules override_dh_auto_build
make[1]: Entering directory '/tmp/autopkgtest-lxc.yyi7s1c4/downtmp/autopkgtest_tmp'
/usr/bin/make docs docker-docs
make[2]: Entering directory '/tmp/autopkgtest-lxc.yyi7s1c4/downtmp/autopkgtest_tmp'
mkdir -p "/tmp/autopkgtest-lxc.yyi7s1c4/downtmp/autopkgtest_tmp/debian/tmp/go/src/github.com/containers"
ln -sfn "/tmp/autopkgtest-lxc.yyi7s1c4/downtmp/autopkgtest_tmp" "/tmp/autopkgtest-lxc.yyi7s1c4/downtmp/autopkgtest_tmp/debian/tmp/go/src/github.com/containers/podman"
touch .gopathok
if [ ! -x "/usr/bin/go-md2man" ]; then \
		env GO111MODULE=off go get -u github.com/cpuguy83/go-md2man; \
fi
mkdir -p docs/build/man
(cd docs; ./dckrman.sh ./build/man/*.1)
make[2]: Leaving directory '/tmp/autopkgtest-lxc.yyi7s1c4/downtmp/autopkgtest_tmp'
dh_auto_build -v  --builddirectory=_output -- -tags "apparmor,ostree,seccomp,selinux,systemd" \
          -ldflags "-X main.buildInfo=3.4.1+ds1-2"
	cd _output && go version
go version go1.17.2 linux/amd64
	cd _output && go env
GO111MODULE="off"
GOARCH="amd64"
GOBIN=""
GOCACHE="/tmp/autopkgtest-lxc.yyi7s1c4/downtmp/autopkgtest_tmp/_output/go-build"
GOENV="/tmp/autopkgtest-lxc.yyi7s1c4/downtmp/autopkgtest_tmp/debian/.debhelper/generated/_source/home/.config/go/env"
GOEXE=""
GOEXPERIMENT=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GOMODCACHE="/tmp/autopkgtest-lxc.yyi7s1c4/downtmp/autopkgtest_tmp/_output/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/tmp/autopkgtest-lxc.yyi7s1c4/downtmp/autopkgtest_tmp/_output"
GOPRIVATE=""
GOPROXY="off"
GOROOT="/usr/lib/go-1.17"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/lib/go-1.17/pkg/tool/linux_amd64"
GOVCS=""
GOVERSION="go1.17.2"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2 -ffile-prefix-map=/tmp/autopkgtest-lxc.yyi7s1c4/downtmp/autopkgtest_tmp=. -fstack-protector-strong -Wformat -Werror=format-security"
CGO_CPPFLAGS="-Wdate-time -D_FORTIFY_SOURCE=2"
CGO_CXXFLAGS="-g -O2 -ffile-prefix-map=/tmp/autopkgtest-lxc.yyi7s1c4/downtmp/autopkgtest_tmp=. -fstack-protector-strong -Wformat -Werror=format-security"
CGO_FFLAGS="-g -O2 -ffile-prefix-map=/tmp/autopkgtest-lxc.yyi7s1c4/downtmp/autopkgtest_tmp=. -fstack-protector-strong"
CGO_LDFLAGS="-Wl,-z,relro"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build2850767338=/tmp/go-build -gno-record-gcc-switches"
	cd _output && go generate -v -tags apparmor,ostree,seccomp,selinux,systemd -ldflags "-X main.buildInfo=3.4.1+ds1-2" github.com/containers/podman/cmd/podman github.com/containers/podman/cmd/podman/common github.com/containers/podman/cmd/podman/completion github.com/containers/podman/cmd/podman/containers github.com/containers/podman/cmd/podman/diff github.com/containers/podman/cmd/podman/generate github.com/containers/podman/cmd/podman/healthcheck github.com/containers/podman/cmd/podman/images github.com/containers/podman/cmd/podman/inspect github.com/containers/podman/cmd/podman/machine github.com/containers/podman/cmd/podman/manifest github.com/containers/podman/cmd/podman/networks github.com/containers/podman/cmd/podman/parse github.com/containers/podman/cmd/podman/play github.com/containers/podman/cmd/podman/pods github.com/containers/podman/cmd/podman/registry github.com/containers/podman/cmd/podman/secrets github.com/containers/podman/cmd/podman/system github.com/containers/podman/cmd/podman/system/connection github.com/containers/podman/cmd/podman/utils github.com/containers/podman/cmd/podman/validate github.com/containers/podman/cmd/podman/volumes github.com/containers/podman/libpod github.com/containers/podman/libpod/common github.com/containers/podman/libpod/define github.com/containers/podman/libpod/driver github.com/containers/podman/libpod/events github.com/containers/podman/libpod/layers github.com/containers/podman/libpod/linkmode github.com/containers/podman/libpod/lock github.com/containers/podman/libpod/lock/file github.com/containers/podman/libpod/lock/shm github.com/containers/podman/libpod/logs github.com/containers/podman/libpod/logs/reversereader github.com/containers/podman/libpod/network github.com/containers/podman/libpod/network/cni github.com/containers/podman/libpod/network/types github.com/containers/podman/libpod/network/util github.com/containers/podman/libpod/plugin github.com/containers/podman/libpod/shutdown github.com/containers/podman/pkg/annotations github.com/containers/podman/pkg/api/handlers github.com/containers/podman/pkg/api/handlers/compat github.com/containers/podman/pkg/api/handlers/libpod github.com/containers/podman/pkg/api/handlers/swagger github.com/containers/podman/pkg/api/handlers/types github.com/containers/podman/pkg/api/handlers/utils github.com/containers/podman/pkg/api/server github.com/containers/podman/pkg/api/server/idle github.com/containers/podman/pkg/api/types github.com/containers/podman/pkg/auth github.com/containers/podman/pkg/autoupdate github.com/containers/podman/pkg/bindings github.com/containers/podman/pkg/bindings/containers github.com/containers/podman/pkg/bindings/generate github.com/containers/podman/pkg/bindings/images github.com/containers/podman/pkg/bindings/internal/util github.com/containers/podman/pkg/bindings/manifests github.com/containers/podman/pkg/bindings/network github.com/containers/podman/pkg/bindings/play github.com/containers/podman/pkg/bindings/pods github.com/containers/podman/pkg/bindings/secrets github.com/containers/podman/pkg/bindings/system github.com/containers/podman/pkg/bindings/volumes github.com/containers/podman/pkg/cgroups github.com/containers/podman/pkg/channel github.com/containers/podman/pkg/checkpoint github.com/containers/podman/pkg/checkpoint/crutils github.com/containers/podman/pkg/copy github.com/containers/podman/pkg/criu github.com/containers/podman/pkg/ctime github.com/containers/podman/pkg/domain/entities github.com/containers/podman/pkg/domain/entities/reports github.com/containers/podman/pkg/domain/entities/types github.com/containers/podman/pkg/domain/filters github.com/containers/podman/pkg/domain/infra github.com/containers/podman/pkg/domain/infra/abi github.com/containers/podman/pkg/domain/infra/abi/parse github.com/containers/podman/pkg/domain/infra/abi/terminal github.com/containers/podman/pkg/domain/infra/tunnel github.com/containers/podman/pkg/domain/utils github.com/containers/podman/pkg/env github.com/containers/podman/pkg/errorhandling github.com/containers/podman/pkg/hooks github.com/con
src/github.com/containers/podman/cmd/podman/auto-update.go
src/github.com/containers/podman/cmd/podman/diff.go
src/github.com/containers/podman/cmd/podman/early_init_linux.go
src/github.com/containers/podman/cmd/podman/inspect.go
[...]
src/github.com/containers/podman/utils/ports.go
src/github.com/containers/podman/utils/utils.go
src/github.com/containers/podman/utils/utils_supported.go
src/github.com/containers/podman/version/version.go
	cd _output && go install -trimpath -v -p 4 -tags apparmor,ostree,seccomp,selinux,systemd -ldflags "-X main.buildInfo=3.4.1+ds1-2" github.com/containers/podman/cmd/podman github.com/containers/podman/cmd/podman/common github.com/containers/podman/cmd/podman/completion github.com/containers/podman/cmd/podman/containers github.com/containers/podman/cmd/podman/diff github.com/containers/podman/cmd/podman/generate github.com/containers/podman/cmd/podman/healthcheck github.com/containers/podman/cmd/podman/images github.com/containers/podman/cmd/podman/inspect github.com/containers/podman/cmd/podman/machine github.com/containers/podman/cmd/podman/manifest github.com/containers/podman/cmd/podman/networks github.com/containers/podman/cmd/podman/parse github.com/containers/podman/cmd/podman/play github.com/containers/podman/cmd/podman/pods github.com/containers/podman/cmd/podman/registry github.com/containers/podman/cmd/podman/secrets github.com/containers/podman/cmd/podman/system github.com/containers/podman/cmd/podman/system/connection github.com/containers/podman/cmd/podman/utils github.com/containers/podman/cmd/podman/validate github.com/containers/podman/cmd/podman/volumes github.com/containers/podman/libpod github.com/containers/podman/libpod/common github.com/containers/podman/libpod/define github.com/containers/podman/libpod/driver github.com/containers/podman/libpod/events github.com/containers/podman/libpod/layers github.com/containers/podman/libpod/linkmode github.com/containers/podman/libpod/lock github.com/containers/podman/libpod/lock/file github.com/containers/podman/libpod/lock/shm github.com/containers/podman/libpod/logs github.com/containers/podman/libpod/logs/reversereader github.com/containers/podman/libpod/network github.com/containers/podman/libpod/network/cni github.com/containers/podman/libpod/network/types github.com/containers/podman/libpod/network/util github.com/containers/podman/libpod/plugin github.com/containers/podman/libpod/shutdown github.com/containers/podman/pkg/annotations github.com/containers/podman/pkg/api/handlers github.com/containers/podman/pkg/api/handlers/compat github.com/containers/podman/pkg/api/handlers/libpod github.com/containers/podman/pkg/api/handlers/swagger github.com/containers/podman/pkg/api/handlers/types github.com/containers/podman/pkg/api/handlers/utils github.com/containers/podman/pkg/api/server github.com/containers/podman/pkg/api/server/idle github.com/containers/podman/pkg/api/types github.com/containers/podman/pkg/auth github.com/containers/podman/pkg/autoupdate github.com/containers/podman/pkg/bindings github.com/containers/podman/pkg/bindings/containers github.com/containers/podman/pkg/bindings/generate github.com/containers/podman/pkg/bindings/images github.com/containers/podman/pkg/bindings/internal/util github.com/containers/podman/pkg/bindings/manifests github.com/containers/podman/pkg/bindings/network github.com/containers/podman/pkg/bindings/play github.com/containers/podman/pkg/bindings/pods github.com/containers/podman/pkg/bindings/secrets github.com/containers/podman/pkg/bindings/system github.com/containers/podman/pkg/bindings/volumes github.com/containers/podman/pkg/cgroups github.com/containers/podman/pkg/channel github.com/containers/podman/pkg/checkpoint github.com/containers/podman/pkg/checkpoint/crutils github.com/containers/podman/pkg/copy github.com/containers/podman/pkg/criu github.com/containers/podman/pkg/ctime github.com/containers/podman/pkg/domain/entities github.com/containers/podman/pkg/domain/entities/reports github.com/containers/podman/pkg/domain/entities/types github.com/containers/podman/pkg/domain/filters github.com/containers/podman/pkg/domain/infra github.com/containers/podman/pkg/domain/infra/abi github.com/containers/podman/pkg/domain/infra/abi/parse github.com/containers/podman/pkg/domain/infra/abi/terminal github.com/containers/podman/pkg/domain/infra/tunnel github.com/containers/podman/pkg/domain/utils github.com/containers/podman/pkg/env github.com/containers/podman/pkg/errorhandling github.com/containers/podman/pkg/hooks 
internal/unsafeheader
internal/goexperiment
internal/cpu
internal/abi
runtime/internal/atomic
runtime/internal/sys
[...]
golang.org/x/text/encoding/htmlindex
golang.org/x/net/html/charset
github.com/onsi/gomega/matchers
github.com/onsi/gomega
github.com/containers/podman/test/framework
github.com/containers/podman/vendor/k8s.io/api/apps/v1
dh_auto_build: error: cd _output && go install -trimpath -v -p 4 -tags apparmor,ostree,seccomp,selinux,systemd -ldflags "-X main.buildInfo=3.4.1+ds1-2" github.com/containers/podman/cmd/podman github.com/containers/podman/cmd/podman/common github.com/containers/podman/cmd/podman/completion github.com/containers/podman/cmd/podman/containers github.com/containers/podman/cmd/podman/diff github.com/containers/podman/cmd/podman/generate github.com/containers/podman/cmd/podman/healthcheck github.com/containers/podman/cmd/podman/images github.com/containers/podman/cmd/podman/inspect github.com/containers/podman/cmd/podman/machine github.com/containers/podman/cmd/podman/manifest github.com/containers/podman/cmd/podman/networks github.com/containers/podman/cmd/podman/parse github.com/containers/podman/cmd/podman/play github.com/containers/podman/cmd/podman/pods github.com/containers/podman/cmd/podman/registry github.com/containers/podman/cmd/podman/secrets github.com/containers/podman/cmd/podman/system github.com/containers/podman/cmd/podman/system/connection github.com/containers/podman/cmd/podman/utils github.com/containers/podman/cmd/podman/validate github.com/containers/podman/cmd/podman/volumes github.com/containers/podman/libpod github.com/containers/podman/libpod/common github.com/containers/podman/libpod/define github.com/containers/podman/libpod/driver github.com/containers/podman/libpod/events github.com/containers/podman/libpod/layers github.com/containers/podman/libpod/linkmode github.com/containers/podman/libpod/lock github.com/containers/podman/libpod/lock/file github.com/containers/podman/libpod/lock/shm github.com/containers/podman/libpod/logs github.com/containers/podman/libpod/logs/reversereader github.com/containers/podman/libpod/network github.com/containers/podman/libpod/network/cni github.com/containers/podman/libpod/network/types github.com/containers/podman/libpod/network/util github.com/containers/podman/libpod/plugin github.com/containers/podman/libpod/shutdown github.com/containers/podman/pkg/annotations github.com/containers/podman/pkg/api/handlers github.com/containers/podman/pkg/api/handlers/compat github.com/containers/podman/pkg/api/handlers/libpod github.com/containers/podman/pkg/api/handlers/swagger github.com/containers/podman/pkg/api/handlers/types github.com/containers/podman/pkg/api/handlers/utils github.com/containers/podman/pkg/api/server github.com/containers/podman/pkg/api/server/idle github.com/containers/podman/pkg/api/types github.com/containers/podman/pkg/auth github.com/containers/podman/pkg/autoupdate github.com/containers/podman/pkg/bindings github.com/containers/podman/pkg/bindings/containers github.com/containers/podman/pkg/bindings/generate github.com/containers/podman/pkg/bindings/images github.com/containers/podman/pkg/bindings/internal/util github.com/containers/podman/pkg/bindings/manifests github.com/containers/podman/pkg/bindings/network github.com/containers/podman/pkg/bindings/play github.com/containers/podman/pkg/bindings/pods github.com/containers/podman/pkg/bindings/secrets github.com/containers/podman/pkg/bindings/system github.com/containers/podman/pkg/bindings/volumes github.com/containers/podman/pkg/cgroups github.com/containers/podman/pkg/channel github.com/containers/podman/pkg/checkpoint github.com/containers/podman/pkg/checkpoint/crutils github.com/containers/podman/pkg/copy github.com/containers/podman/pkg/criu github.com/containers/podman/pkg/ctime github.com/containers/podman/pkg/domain/entities github.com/containers/podman/pkg/domain/entities/reports github.com/containers/podman/pkg/domain/entities/types github.com/containers/podman/pkg/domain/filters github.com/containers/podman/pkg/domain/infra github.com/containers/podman/pkg/domain/infra/abi github.com/containers/podman/pkg/domain/infra/abi/parse github.com/containers/podman/pkg/domain/infra/abi/terminal github.com/containers/podman/pkg/domain/infra/tunnel github.com/containers/podman/pkg/domain/utils github.com/containers/podman/pkg/env github.com/containers/podman/pkg/errorhandling github.com/contain
make[1]: *** [debian/rules:29: override_dh_auto_build] Error 25
make[1]: Leaving directory '/tmp/autopkgtest-lxc.yyi7s1c4/downtmp/autopkgtest_tmp'
make: *** [debian/rules:25: build] Error 2
autopkgtest [08:41:15]: test dh-golang-autopkgtest: -----------------------]
autopkgtest [08:41:15]: test dh-golang-autopkgtest:  - - - - - - - - - - results - - - - - - - - - -
dh-golang-autopkgtest FAIL non-zero exit status 2
autopkgtest [08:41:16]: @@@@@@@@@@@@@@@@@@@@ summary
dh-golang-autopkgtest FAIL non-zero exit status 2
Output directory: /tmp/autopkgtest-M11mRALfA
----------------8<----------------8<----------------8<-----------------


-- System Information:
Debian Release: bookworm/sid
  APT prefers testing-debug
  APT policy: (900, 'testing-debug'), (900, 'testing'), (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.14.0-2-amd64 (SMP w/4 CPU threads)
Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-go-maintainers/attachments/20211104/3223ac2d/attachment.sig>


More information about the Pkg-go-maintainers mailing list