Source: golang-github-containers-ocicrypt
Version: 1.0.2-3
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20200926 ftbfs-bullseye

Hi,

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

Relevant part (hopefully):
> dpkg-buildpackage
> -----------------
> 
> Command: dpkg-buildpackage -us -uc -sa -rfakeroot
> dpkg-buildpackage: info: source package golang-github-containers-ocicrypt
> dpkg-buildpackage: info: source version 1.0.2-3
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Shengjing Zhu <z...@debian.org>
>  dpkg-source --before-build .
> dpkg-buildpackage: info: host architecture amd64
>  debian/rules clean
> dh clean --builddirectory=_build --buildsystem=golang --with=golang
>    dh_auto_clean -O--builddirectory=_build -O--buildsystem=golang
>    dh_autoreconf_clean -O--builddirectory=_build -O--buildsystem=golang
>    dh_clean -O--builddirectory=_build -O--buildsystem=golang
>  dpkg-source -b .
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building golang-github-containers-ocicrypt using existing 
> ./golang-github-containers-ocicrypt_1.0.2.orig.tar.gz
> dpkg-source: info: using patch list from debian/patches/series
> dpkg-source: info: building golang-github-containers-ocicrypt in 
> golang-github-containers-ocicrypt_1.0.2-3.debian.tar.xz
> dpkg-source: info: building golang-github-containers-ocicrypt in 
> golang-github-containers-ocicrypt_1.0.2-3.dsc
>  debian/rules binary
> dh binary --builddirectory=_build --buildsystem=golang --with=golang
>    dh_update_autotools_config -O--builddirectory=_build -O--buildsystem=golang
>    dh_autoreconf -O--builddirectory=_build -O--buildsystem=golang
>    dh_auto_configure -O--builddirectory=_build -O--buildsystem=golang
>    dh_auto_build -O--builddirectory=_build -O--buildsystem=golang
>       cd _build && go install -trimpath -v -p 4 
> github.com/containers/ocicrypt github.com/containers/ocicrypt/blockcipher 
> github.com/containers/ocicrypt/config github.com/containers/ocicrypt/helpers 
> github.com/containers/ocicrypt/keywrap 
> github.com/containers/ocicrypt/keywrap/jwe 
> github.com/containers/ocicrypt/keywrap/pgp 
> github.com/containers/ocicrypt/keywrap/pkcs7 
> github.com/containers/ocicrypt/spec github.com/containers/ocicrypt/utils
> internal/unsafeheader
> internal/cpu
> runtime/internal/atomic
> runtime/internal/sys
> internal/race
> runtime/internal/math
> sync/atomic
> unicode
> unicode/utf8
> internal/bytealg
> math/bits
> encoding
> internal/testlog
> math
> unicode/utf16
> crypto/internal/subtle
> crypto/subtle
> vendor/golang.org/x/crypto/cryptobyte/asn1
> runtime
> internal/nettrace
> runtime/cgo
> image/color
> golang.org/x/sys/internal/unsafeheader
> github.com/containers/ocicrypt/spec
> internal/reflectlite
> sync
> internal/singleflight
> math/rand
> errors
> sort
> io
> strconv
> internal/oserror
> vendor/golang.org/x/net/dns/dnsmessage
> syscall
> bytes
> strings
> reflect
> hash
> crypto/hmac
> crypto
> bufio
> crypto/internal/randutil
> path
> internal/syscall/unix
> time
> internal/syscall/execenv
> golang.org/x/crypto/openpgp/errors
> compress/bzip2
> hash/adler32
> golang.org/x/crypto/cast5
> golang.org/x/crypto/openpgp/s2k
> image
> golang.org/x/crypto/pbkdf2
> regexp/syntax
> encoding/binary
> internal/fmtsort
> internal/poll
> context
> encoding/base64
> crypto/cipher
> crypto/sha256
> crypto/sha512
> os
> crypto/ed25519/internal/edwards25519
> crypto/md5
> crypto/aes
> fmt
> crypto/des
> crypto/sha1
> encoding/pem
> path/filepath
> net
> io/ioutil
> golang.org/x/crypto/openpgp/armor
> encoding/json
> math/big
> encoding/hex
> net/url
> github.com/pkg/errors
> compress/flate
> image/internal/imageutil
> image/jpeg
> gopkg.in/square/go-jose.v2/json
> compress/zlib
> regexp
> crypto/rand
> crypto/elliptic
> encoding/asn1
> crypto/rsa
> crypto/dsa
> crypto/ed25519
> golang.org/x/crypto/openpgp/elgamal
> golang.org/x/crypto/ed25519
> vendor/golang.org/x/crypto/cryptobyte
> crypto/x509/pkix
> github.com/opencontainers/go-digest
> github.com/containers/ocicrypt/config
> log
> github.com/containers/ocicrypt/keywrap
> crypto/ecdsa
> mime
> github.com/opencontainers/image-spec/specs-go
> github.com/opencontainers/image-spec/specs-go/v1
> golang.org/x/sys/unix
> golang.org/x/crypto/openpgp/packet
> gopkg.in/square/go-jose.v2/cipher
> os/exec
> golang.org/x/crypto/openpgp
> golang.org/x/crypto/ssh/terminal
> net/textproto
> crypto/x509
> net/mail
> github.com/containers/ocicrypt/keywrap/pgp
> github.com/fullsailor/pkcs7
> gopkg.in/square/go-jose.v2
> github.com/containers/ocicrypt/utils
> github.com/containers/ocicrypt/blockcipher
> github.com/containers/ocicrypt/keywrap/pkcs7
> github.com/containers/ocicrypt/keywrap/jwe
> github.com/containers/ocicrypt
> github.com/containers/ocicrypt/helpers
>    dh_auto_test -O--builddirectory=_build -O--buildsystem=golang
>       cd _build && go test -vet=off -v -p 4 github.com/containers/ocicrypt 
> github.com/containers/ocicrypt/blockcipher 
> github.com/containers/ocicrypt/config github.com/containers/ocicrypt/helpers 
> github.com/containers/ocicrypt/keywrap 
> github.com/containers/ocicrypt/keywrap/jwe 
> github.com/containers/ocicrypt/keywrap/pgp 
> github.com/containers/ocicrypt/keywrap/pkcs7 
> github.com/containers/ocicrypt/spec github.com/containers/ocicrypt/utils
> === RUN   TestEncryptLayer
> --- PASS: TestEncryptLayer (0.00s)
> PASS
> ok    github.com/containers/ocicrypt  0.011s
> === RUN   TestBlockCipherAesCtrCreateValid
> --- PASS: TestBlockCipherAesCtrCreateValid (0.00s)
> === RUN   TestBlockCipherAesCtrCreateInvalid
> --- PASS: TestBlockCipherAesCtrCreateInvalid (0.00s)
> === RUN   TestBlockCipherAesCtrEncryption
> --- PASS: TestBlockCipherAesCtrEncryption (0.00s)
> === RUN   TestBlockCipherAesCtrEncryptionInvalidKey
> --- PASS: TestBlockCipherAesCtrEncryptionInvalidKey (0.00s)
> === RUN   TestBlockCipherAesCtrEncryptionInvalidKeyLength
> --- PASS: TestBlockCipherAesCtrEncryptionInvalidKeyLength (0.00s)
> === RUN   TestBlockCipherAesCtrEncryptionInvalidHMAC
> --- PASS: TestBlockCipherAesCtrEncryptionInvalidHMAC (0.00s)
> === RUN   TestBlockCipherHandlerCreate
> --- PASS: TestBlockCipherHandlerCreate (0.00s)
> === RUN   TestBlockCipherEncryption
> --- PASS: TestBlockCipherEncryption (0.00s)
> === RUN   TestBlockCipherEncryptionInvalidKey
> --- PASS: TestBlockCipherEncryptionInvalidKey (0.00s)
> PASS
> ok    github.com/containers/ocicrypt/blockcipher      0.006s
> ?     github.com/containers/ocicrypt/config   [no test files]
> ?     github.com/containers/ocicrypt/helpers  [no test files]
> ?     github.com/containers/ocicrypt/keywrap  [no test files]
> === RUN   TestKeyWrapJweSuccess
> --- PASS: TestKeyWrapJweSuccess (0.99s)
> === RUN   TestKeyWrapJweInvalid
> --- PASS: TestKeyWrapJweInvalid (0.34s)
> PASS
> ok    github.com/containers/ocicrypt/keywrap/jwe      1.338s
> === RUN   TestKeyWrapGpgSuccess
>     keywrapper_gpg_test.go:154: openpgp: invalid argument: cannot encrypt a 
> message to key id efc7d3cbf2357ec8 because it has no encryption keys
> --- FAIL: TestKeyWrapGpgSuccess (0.00s)
> === RUN   TestKeyWrapGpgInvalid
> --- PASS: TestKeyWrapGpgInvalid (0.00s)
> FAIL
> FAIL  github.com/containers/ocicrypt/keywrap/pgp      0.011s
> === RUN   TestKeyWrapPkcs7Success
> --- PASS: TestKeyWrapPkcs7Success (1.04s)
> === RUN   TestKeyWrapPkcs7Invalid
> --- PASS: TestKeyWrapPkcs7Invalid (0.40s)
> PASS
> ok    github.com/containers/ocicrypt/keywrap/pkcs7    1.449s
> ?     github.com/containers/ocicrypt/spec     [no test files]
> === RUN   TestDelayedReader
> --- PASS: TestDelayedReader (3.27s)
> PASS
> ok    github.com/containers/ocicrypt/utils    3.274s
> FAIL
> dh_auto_test: error: cd _build && go test -vet=off -v -p 4 
> github.com/containers/ocicrypt github.com/containers/ocicrypt/blockcipher 
> github.com/containers/ocicrypt/config github.com/containers/ocicrypt/helpers 
> github.com/containers/ocicrypt/keywrap 
> github.com/containers/ocicrypt/keywrap/jwe 
> github.com/containers/ocicrypt/keywrap/pgp 
> github.com/containers/ocicrypt/keywrap/pkcs7 
> github.com/containers/ocicrypt/spec github.com/containers/ocicrypt/utils 
> returned exit code 1

The full build log is available from:
   
http://qa-logs.debian.net/2020/09/26/golang-github-containers-ocicrypt_1.0.2-3_unstable.log

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!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.

Reply via email to