Package: src:golang-github-mxk-go-flowrate
Version: 0.0~git20140419.0.cca7078-1
Severity: serious

Dear maintainer:

I tried to build this package in stretch with "dpkg-buildpackage -A"
(which is what the "Arch: all" autobuilder would do to build it)
but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
dh build-indep --buildsystem=golang --with=golang
   dh_testdir -i -O--buildsystem=golang
   dh_update_autotools_config -i -O--buildsystem=golang
   dh_auto_configure -i -O--buildsystem=golang
   dh_auto_build -i -O--buildsystem=golang
        go install -v -p 1 github.com/mxk/go-flowrate/flowrate
github.com/mxk/go-flowrate/flowrate
   dh_auto_test -i -O--buildsystem=golang
        go test -v -p 1 github.com/mxk/go-flowrate/flowrate
=== RUN   TestReader
--- PASS: TestReader (0.45s)
=== RUN   TestWriter
--- FAIL: TestWriter (0.50s)
        io_test.go:140: w.Status(0) expected {true 2016-11-01 17:06:04.18 +0100 
CET 400ms 0s 80 4 200 200 200 200 20 100ms 80.000%}; got {true 2016-11-01 
17:06:04.18 +0100 CET 420ms 0s 80 4 200 175 190 200 20 120ms 80.000%}
        io_test.go:140: w.Status(1) expected {true 2016-11-01 17:06:04.18 +0100 
CET 500ms 100ms 100 5 200 200 200 200 0 0s 100.000%}; got {true 2016-11-01 
17:06:04.18 +0100 CET 520ms 100ms 100 5 200 178 192 200 0 0s 100.000%}
FAIL
exit status 1
FAIL    github.com/mxk/go-flowrate/flowrate     0.951s
dh_auto_test: go test -v -p 1 github.com/mxk/go-flowrate/flowrate returned exit 
code 1
debian/rules:4: recipe for target 'build-indep' failed
make: *** [build-indep] Error 1
dpkg-buildpackage: error: debian/rules build-indep gave error exit status 2
--------------------------------------------------------------------------------

The relevant part of the build log is included above.

The failure happens randomly. Sometimes it fails, sometimes it does not.

The failing test seems to expect a certain task to be completed in a
certain amount of time. This is usually not a good idea, because there
is no guarantee anywhere that the CPU performace of anautobuilders
will remain constat during the package build,, as the same machine
could well be doing many other things in parallel.

Thanks.

Attachment: binU2XdZXBLtT.bin
Description: application/gzip

Attachment: binLGKIsY8t88.bin
Description: application/gzip

Attachment: bin7vvQaOcPPw.bin
Description: application/gzip

Attachment: binjGdbyznNyo.bin
Description: application/gzip

Attachment: binYaNfDlmBFb.bin
Description: application/gzip

Reply via email to