Bug#942403: golang-github-hashicorp-raft breaks golang-github-canonicalltd-raft-membership autopkgtest

2019-10-19 Thread Pierre-Elliott Bécue
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)
> > FAILgithub.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.


signature.asc
Description: PGP signature


Bug#942403: golang-github-hashicorp-raft breaks golang-github-canonicalltd-raft-membership autopkgtest

2019-10-15 Thread Paul Gevers
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



signature.asc
Description: OpenPGP digital signature


Bug#942403: golang-github-hashicorp-raft breaks golang-github-canonicalltd-raft-membership autopkgtest

2019-10-15 Thread Paul Gevers
Source: golang-github-hashicorp-raft,golang-github-canonicalltd-raft-membership
Control: found -1 golang-github-hashicorp-raft/1.1.1-2
Control: found -1 
golang-github-canonicalltd-raft-membership/0.0~git20180413.3846634-1
Severity: serious
Tags: sid bullseye
X-Debbugs-CC: debian...@lists.debian.org
User: debian...@lists.debian.org
Usertags: breaks needs-update

Dear maintainers,

With a recent upload of golang-github-hashicorp-raft the autopkgtest of
golang-github-canonicalltd-raft-membership fails in testing when that
autopkgtest is run with the binary packages of
golang-github-hashicorp-raft from unstable. It passes when run with only
packages from testing. In tabular form:
pass fail
golang-github-hashicorp-raftfrom testing 1.1.1-2
golang-github-canonicalltd-raft-membership  from testing 
0.0~git20180413.3846634-1
all others  from testing from testing

I copied some of the output at the bottom of this report.

Currently this regression is blocking the migration of
golang-github-hashicorp-raft to testing [1]. Due to the nature of this
issue, I filed this bug report against both packages. Can you please
investigate the situation and reassign the bug to the right package?

More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

Paul

[1] https://qa.debian.org/excuses.php?package=golang-github-hashicorp-raft

https://ci.debian.net/data/autopkgtest/testing/amd64/g/golang-github-canonicalltd-raft-membership/3148902/log.gz

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)
FAILgithub.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



signature.asc
Description: OpenPGP digital signature