[pkg-go] Bug#858630: golang-github-grpc-ecosystem-go-grpc-prometheus: FTBFS: grpc_server_started_total should be incremented for PingList

Chris Lamb lamby at debian.org
Fri Mar 24 16:59:37 UTC 2017


Source: golang-github-grpc-ecosystem-go-grpc-prometheus
Version: 1.1+git20160910.0.6b7015e-1
Severity: serious
Justification: fails to build from source
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

Dear Maintainer,

golang-github-grpc-ecosystem-go-grpc-prometheus fails to build from source in unstable/amd64:

  […]

   dpkg-buildpackage -rfakeroot -us -uc -b
  dpkg-buildpackage: info: source package golang-github-grpc-ecosystem-go-grpc-prometheus
  dpkg-buildpackage: info: source version 1.1+git20160910.0.6b7015e-1
  dpkg-buildpackage: info: source distribution unstable
  dpkg-buildpackage: info: source changed by Tim Potter <tpot at hpe.com>
   dpkg-source --before-build golang-github-grpc-ecosystem-go-grpc-prometheus-1.1+git20160910.0.6b7015e
  dpkg-buildpackage: info: host architecture amd64
   fakeroot debian/rules clean
  dh clean --buildsystem=golang --with=golang
     dh_testdir -O--buildsystem=golang
     dh_auto_clean -O--buildsystem=golang
     dh_autoreconf_clean -O--buildsystem=golang
     dh_clean -O--buildsystem=golang
   debian/rules build
  dh build --buildsystem=golang --with=golang
     dh_testdir -O--buildsystem=golang
     dh_update_autotools_config -O--buildsystem=golang
     dh_autoreconf -O--buildsystem=golang
     dh_auto_configure -O--buildsystem=golang
     debian/rules override_dh_auto_build
  make[1]: Entering directory '«BUILDDIR»'
  cd obj-x86_64-linux-gnu/src/github.com/grpc-ecosystem/go-grpc-prometheus/examples/testproto && \
  	GOPATH=obj-x86_64-linux-gnu make 
  make[2]: Entering directory '«BUILDDIR»/obj-x86_64-linux-gnu/src/github.com/grpc-ecosystem/go-grpc-prometheus/examples/testproto'
  PATH="obj-x86_64-linux-gnu/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11" protoc \
    -I. \
  	-Iobj-x86_64-linux-gnu/src \
  	--go_out=plugins=grpc:. \
  	test.proto
  obj-x86_64-linux-gnu/src: warning: directory does not exist.
  make[2]: Leaving directory '«BUILDDIR»/obj-x86_64-linux-gnu/src/github.com/grpc-ecosystem/go-grpc-prometheus/examples/testproto'
  dh_auto_build
  	go install -v -p 9 github.com/grpc-ecosystem/go-grpc-prometheus github.com/grpc-ecosystem/go-grpc-prometheus/examples/testproto
  github.com/beorn7/perks/quantile
  github.com/prometheus/common/internal/bitbucket.org/ww/goautoneg
  github.com/golang/protobuf/proto
  github.com/prometheus/common/model
  github.com/prometheus/procfs
  golang.org/x/net/context
  golang.org/x/net/http2/hpack
  golang.org/x/net/idna
  golang.org/x/net/internal/timeseries
  google.golang.org/grpc/codes
  google.golang.org/grpc/credentials
  google.golang.org/grpc/grpclog
  google.golang.org/grpc/internal
  google.golang.org/grpc/metadata
  google.golang.org/grpc/naming
  golang.org/x/net/lex/httplex
  golang.org/x/net/trace
  golang.org/x/net/http2
  google.golang.org/grpc/peer
  github.com/prometheus/client_model/go
  github.com/matttproud/golang_protobuf_extensions/pbutil
  github.com/prometheus/common/expfmt
  google.golang.org/grpc/transport
  github.com/prometheus/client_golang/prometheus
  google.golang.org/grpc
  github.com/grpc-ecosystem/go-grpc-prometheus
  github.com/grpc-ecosystem/go-grpc-prometheus/examples/testproto
  make[1]: Leaving directory '«BUILDDIR»'
     dh_auto_test -O--buildsystem=golang
  	go test -v -p 9 github.com/grpc-ecosystem/go-grpc-prometheus github.com/grpc-ecosystem/go-grpc-prometheus/examples/testproto
  === RUN   TestClientInterceptorSuite
  === RUN   TestStreamingIncrementsHandled
  --- PASS: TestStreamingIncrementsHandled (0.00s)
  === RUN   TestStreamingIncrementsHistograms
  --- PASS: TestStreamingIncrementsHistograms (0.00s)
  === RUN   TestStreamingIncrementsMessageCounts
  --- PASS: TestStreamingIncrementsMessageCounts (0.00s)
  === RUN   TestStreamingIncrementsStarted
  --- PASS: TestStreamingIncrementsStarted (0.00s)
  === RUN   TestUnaryIncrementsHandled
  --- PASS: TestUnaryIncrementsHandled (0.00s)
  === RUN   TestUnaryIncrementsHistograms
  --- PASS: TestUnaryIncrementsHistograms (0.00s)
  === RUN   TestUnaryIncrementsStarted
  --- PASS: TestUnaryIncrementsStarted (0.00s)
  --- PASS: TestClientInterceptorSuite (0.03s)
  	client_test.go:72: stopped grpc.Server at: 127.0.0.1:34623
  === RUN   TestServerInterceptorSuite
  2017/03/24 16:16:52 transport: http2Server.HandleStreams failed to read frame: read tcp 127.0.0.1:34623->127.0.0.1:49404: use of closed network connection
  === RUN   TestRegisterPresetsStuff
  --- PASS: TestRegisterPresetsStuff (0.01s)
  === RUN   TestStreamingIncrementsHandled
  --- PASS: TestStreamingIncrementsHandled (0.01s)
  === RUN   TestStreamingIncrementsHistograms
  --- PASS: TestStreamingIncrementsHistograms (0.01s)
  === RUN   TestStreamingIncrementsMessageCounts
  --- PASS: TestStreamingIncrementsMessageCounts (0.01s)
  === RUN   TestStreamingIncrementsStarted
  --- FAIL: TestStreamingIncrementsStarted (0.01s)
  	assertions.go:235: 
                        
	Error Trace:	server_test.go:163
  		
	Error:		Not equal: 6 (expected)
  			        != 5 (actual)
  		
	Messages:	grpc_server_started_total should be incremented for PingList
  		
  === RUN   TestUnaryIncrementsHandled
  --- PASS: TestUnaryIncrementsHandled (0.01s)
  === RUN   TestUnaryIncrementsHistograms
  --- PASS: TestUnaryIncrementsHistograms (0.01s)
  === RUN   TestUnaryIncrementsStarted
  --- PASS: TestUnaryIncrementsStarted (0.01s)
  --- FAIL: TestServerInterceptorSuite (0.06s)
  	server_test.go:81: stopped grpc.Server at: 127.0.0.1:33871
  FAIL
  FAIL	github.com/grpc-ecosystem/go-grpc-prometheus	0.100s
  ?   	github.com/grpc-ecosystem/go-grpc-prometheus/examples/testproto	[no test files]
  dh_auto_test: go test -v -p 9 github.com/grpc-ecosystem/go-grpc-prometheus github.com/grpc-ecosystem/go-grpc-prometheus/examples/testproto returned exit code 1
  debian/rules:6: recipe for target 'build' failed
  make: *** [build] Error 1
  dpkg-buildpackage: error: debian/rules build gave error exit status 2

  […]

The full build log is attached.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: golang-github-grpc-ecosystem-go-grpc-prometheus.1.1+git20160910.0.6b7015e-1.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 4805 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-go-maintainers/attachments/20170324/74abe4a5/attachment.obj>


More information about the Pkg-go-maintainers mailing list