[pkg-go] Bug#942403: golang-github-hashicorp-raft breaks golang-github-canonicalltd-raft-membership autopkgtest

Pierre-Elliott Bécue peb at debian.org
Sat Oct 19 20:31:42 BST 2019


Le mardi 15 octobre 2019 à 21:08:17+0200, Paul Gevers a écrit :
> Hi,
> 
> On 15-10-2019 21:00, Paul Gevers wrote:
> > github.com/CanonicalLtd/raft-membership
> >    dh_auto_test -O--buildsystem=golang
> > 	cd obj-x86_64-linux-gnu && go test -vet=off -v -p 2 github.com/CanonicalLtd/raft-membership
> > # github.com/CanonicalLtd/raft-test/internal/network
> > src/github.com/CanonicalLtd/raft-test/internal/network/network.go:53:2: cannot use transport (type *eventTransport) as type raft.Transport in return argument:
> > 	*eventTransport does not implement raft.Transport (missing TimeoutNow method)
> > FAIL	github.com/CanonicalLtd/raft-membership [build failed]
> > dh_auto_test: cd obj-x86_64-linux-gnu && go test -vet=off -v -p 2 github.com/CanonicalLtd/raft-membership returned exit code 2
> > make: *** [debian/rules:4: build] Error 255
> 
> By the way, this also looks very much like the error message in
> golang-github-canonicalltd-raft-test
> 
> Paul
> 
> https://ci.debian.net/data/autopkgtest/testing/amd64/g/golang-github-canonicalltd-raft-test/3142465/log.gz
> 
> github.com/CanonicalLtd/raft-test/internal/network
> # github.com/CanonicalLtd/raft-test/internal/network
> src/github.com/CanonicalLtd/raft-test/internal/network/network.go:53:2:
> cannot use transport (type *eventTransport) as type raft.Transport in
> return argument:
> 	*eventTransport does not implement raft.Transport (missing TimeoutNow
> method)
> dh_auto_build: cd obj-x86_64-linux-gnu && go install
> -gcflags=all=\"-trimpath=/tmp/autopkgtest-lxc.bqaeo2pm/downtmp/autopkgtest_tmp/obj-x86_64-linux-gnu/src\"
> -asmflags=all=\"-trimpath=/tmp/autopkgtest-lxc.bqaeo2pm/downtmp/autopkgtest_tmp/obj-x86_64-linux-gnu/src\"
> -v -p 2 github.com/CanonicalLtd/raft-test
> github.com/CanonicalLtd/raft-test/internal/election
> github.com/CanonicalLtd/raft-test/internal/event
> github.com/CanonicalLtd/raft-test/internal/fsms
> github.com/CanonicalLtd/raft-test/internal/logging
> github.com/CanonicalLtd/raft-test/internal/network returned exit code 2

Dear Paul,

Thanks for the bug report.

It seems to me that this bug is caused by the current version of
golang-github-canonicalltd-raft-test in the archive.

I'll upload the latest version ASAP.

I'm not sure if I should reassign the bug to
golang-github-canonicalltd-raft-test , feel free to do so.

Cheers!

-- 
Pierre-Elliott Bécue
GPG: 9AE0 4D98 6400 E3B6 7528  F493 0D44 2664 1949 74E2
It's far easier to fight for one's principles than to live up to them.
-------------- 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/20191019/b05a12b2/attachment.sig>


More information about the Pkg-go-maintainers mailing list