• Bug#1066778: golang-github-containerd-go-runc: FTBFS: dh_auto_test: err

    From Lucas Nussbaum@21:1/5 to All on Wed Mar 13 16:10:18 2024
    Source: golang-github-containerd-go-runc
    Version: 1.0.0-1
    Severity: serious
    Justification: FTBFS
    Tags: trixie sid ftbfs
    User: lucas@debian.org
    Usertags: ftbfs-20240313 ftbfs-trixie

    Hi,

    During a rebuild of all packages in sid, your package failed to build
    on amd64.


    Relevant part (hopefully):
    debian/rules binary
    dh binary --buildsystem=golang --with=golang
    dh_update_autotools_config -O--buildsystem=golang
    dh_autoreconf -O--buildsystem=golang
    dh_auto_configure -O--buildsystem=golang
    dh_auto_build -O--buildsystem=golang
    cd obj-x86_64-linux-gnu && go install -trimpath -v -p 8 github.com/containerd/go-runc
    internal/goarch
    internal/goos
    internal/coverage/rtcov
    internal/unsafeheader
    internal/godebugs
    internal/goexperiment
    internal/cpu
    runtime/internal/syscall
    runtime/internal/atomic
    internal/abi
    runtime/internal/math
    internal/chacha8rand
    runtime/internal/sys
    internal/race
    sync/atomic
    unicode
    unicode/utf8
    internal/itoa
    encoding
    math/bits
    cmp
    unicode/utf16
    log/internal
    internal/bytealg
    internal/nettrace
    slices
    math
    runtime
    internal/reflectlite
    sync
    internal/testlog
    internal/bisect
    internal/singleflight
    runtime/cgo
    errors
    internal/oserror
    internal/godebug
    io
    sort
    path
    internal/safefilepath
    strconv
    internal/intern
    vendor/golang.org/x/net/dns/dnsmessage
    syscall
    strings
    bytes
    reflect
    net/netip
    bufio
    internal/syscall/execenv
    internal/syscall/unix
    time
    context
    io/fs
    internal/poll
    internal/fmtsort
    encoding/binary
    encoding/base64
    golang.org/x/sys/unix
    os
    io/ioutil
    path/filepath
    fmt
    net
    os/exec
    github.com/opencontainers/runtime-spec/specs-go
    github.com/pkg/errors
    log
    encoding/json
    github.com/containerd/console
    github.com/sirupsen/logrus
    github.com/containerd/go-runc
    dh_auto_test -O--buildsystem=golang
    cd obj-x86_64-linux-gnu && go test -vet=off -v -p 8 github.com/containerd/go-runc
    === RUN TestTempConsole
    --- PASS: TestTempConsole (0.00s)
    === RUN TestTempConsoleWithXdgRuntimeDir
    console_test.go:42: mkdir /tmp/foo: not a directory
    --- FAIL: TestTempConsoleWithXdgRuntimeDir (0.00s)
    === RUN TestParseVersion
    === RUN TestParseVersion/Full
    === RUN TestParseVersion/WithoutCommit
    === RUN TestParseVersion/Oneline
    === RUN TestParseVersion/Garbage
    --- PASS: TestParseVersion (0.00s)
    --- PASS: TestParseVersion/Full (0.00s)
    --- PASS: TestParseVersion/WithoutCommit (0.00s)
    --- PASS: TestParseVersion/Oneline (0.00s)
    --- PASS: TestParseVersion/Garbage (0.00s)
    === RUN TestParallelCmds
    --- PASS: TestParallelCmds (0.10s)
    === RUN TestRuncRunExit
    --- PASS: TestRuncRunExit (0.00s)
    === RUN TestRuncExecExit
    --- PASS: TestRuncExecExit (0.00s)
    === RUN TestRuncStarted
    --- PASS: TestRuncStarted (0.00s)
    FAIL
    FAIL github.com/containerd/go-runc 0.113s
    FAIL
    dh_auto_test: error: cd obj-x86_64-linux-gnu && go test -vet=off -v -p 8 github.com/containerd/go-runc returned exit code 1


    The full build log is available from: http://qa-logs.debian.net/2024/03/13/golang-github-containerd-go-runc_1.0.0-1_unstable.log

    All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240313;users=lucas@debian.org
    or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240313&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

    A list of current common problems and possible solutions is available at http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

    If you reassign this bug to another package, please mark it as 'affects'-ing this package. See https://www.debian.org/Bugs/server-control#affects

    If you fail to reproduce this, please provide a build log and diff it with mine so that we can identify if something relevant changed in the meantime.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Shengjing Zhu@21:1/5 to lucas@debian.org on Thu Mar 14 09:50:01 2024
    On Wed, Mar 13, 2024 at 11:05 PM Lucas Nussbaum <lucas@debian.org> wrote:

    Source: golang-github-containerd-go-runc
    Version: 1.0.0-1
    Severity: serious
    Justification: FTBFS
    Tags: trixie sid ftbfs
    User: lucas@debian.org
    Usertags: ftbfs-20240313 ftbfs-trixie

    [...]
    console_test.go:42: mkdir /tmp/foo: not a directory
    --- FAIL: TestTempConsoleWithXdgRuntimeDir (0.00s)

    I wonder if your chroot doesn't have the /tmp directory?

    --
    Shengjing Zhu

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)