[pkg-go] Bug#796400: Bug#796400: golang-github-jacobsa-ratelimit: Non-determistically FTBFS due to unreliable timing in tests

2015-08-23 Thread Michael Stapelberg
Aaron, could you take a look at this problem please? It seems to me
like this is a shortcoming of your tests, unrelated to Debian.

On Fri, Aug 21, 2015 at 8:44 PM, Chris Lamb la...@debian.org wrote:
 Source: golang-github-jacobsa-ratelimit
 Version: 0.0~git20150723.0.2ca5e0c-1
 Severity: serious
 Justification: fails to build from source
 User: reproducible-bui...@lists.alioth.debian.org
 Usertags: ftbfs
 X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org

 Dear Maintainer,

 golang-github-jacobsa-ratelimit's testsuite appears to use method
 timing/benchmarking in such
 a way that it will non-deterministically FTBFS:

   throttle_test.go:
 expected := smallerRateHz * (float64(perCaseDuration) /
 float64(time.Second))

 For example:

   [..]
 go test -v github.com/jacobsa/ratelimit
   === RUN TestThrottle
   [--] Running tests from ThrottleTest
   [ RUN  ] ThrottleTest.IntegrationTest
   throttle_test.go:202:
   Expected: greater than 135, and less than 165
   Actual:   88
   Test case 0. expected: 150.00

   throttle_test.go:202:
   Expected: greater than 180, and less than 220.03
   Actual:   138
   Test case 1. expected: 200.00

   throttle_test.go:202:
   Expected: greater than 180, and less than 220.03
   Actual:   163
   Test case 2. expected: 200.00

   [  FAILED  ] ThrottleTest.IntegrationTest (6.031585896s)
   [--] Finished with tests from ThrottleTest
   [--] Running tests from ThrottledReaderTest
   [ RUN  ] ThrottledReaderTest.CallsThrottle
   [   OK ] ThrottledReaderTest.CallsThrottle
   [ RUN  ] ThrottledReaderTest.ThrottleReturnsError
   [   OK ] ThrottledReaderTest.ThrottleReturnsError
   [ RUN  ] ThrottledReaderTest.CallsWrapped
   [   OK ] ThrottledReaderTest.CallsWrapped
   [ RUN  ] ThrottledReaderTest.WrappedReturnsError
   [   OK ] ThrottledReaderTest.WrappedReturnsError
   [ RUN  ] ThrottledReaderTest.WrappedReturnsEOF
   [   OK ] ThrottledReaderTest.WrappedReturnsEOF
   [ RUN  ] ThrottledReaderTest.WrappedReturnsFullRead
   [   OK ] ThrottledReaderTest.WrappedReturnsFullRead
   [ RUN  ] ThrottledReaderTest.WrappedReturnsShortRead_CallsAgain
   [   OK ] ThrottledReaderTest.WrappedReturnsShortRead_CallsAgain
   [ RUN  ]
   ThrottledReaderTest.WrappedReturnsShortRead_SecondReturnsError
   [   OK ]
   ThrottledReaderTest.WrappedReturnsShortRead_SecondReturnsError
   [ RUN  ]
   ThrottledReaderTest.WrappedReturnsShortRead_SecondReturnsEOF
   [   OK ]
   ThrottledReaderTest.WrappedReturnsShortRead_SecondReturnsEOF
   [ RUN  ]
   ThrottledReaderTest.WrappedReturnsShortRead_SecondSucceedsInFull
   [   OK ]
   ThrottledReaderTest.WrappedReturnsShortRead_SecondSucceedsInFull
   [ RUN  ] ThrottledReaderTest.ReadSizeIsAboveThrottleCapacity
   [   OK ] ThrottledReaderTest.ReadSizeIsAboveThrottleCapacity
   [--] Finished with tests from ThrottledReaderTest
   [--] Running tests from TokenBucketTest
   [ RUN  ] TokenBucketTest.CarefulAccounting
   [   OK ] TokenBucketTest.CarefulAccounting
   [--] Finished with tests from TokenBucketTest
   --- FAIL: TestThrottle (6.03s)
   === RUN TestThrottledReader
   --- PASS: TestThrottledReader (0.00s)
   === RUN TestTokenBucket
   --- PASS: TestTokenBucket (0.00s)
   FAIL
   exit status 1
   FAILgithub.com/jacobsa/ratelimit6.074s
   dh_auto_test: go test -v github.com/jacobsa/ratelimit 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 or can be viewed here:

 
 https://reproducible.debian.net/logs/unstable/amd64/golang-github-jacobsa-ratelimit_0.0~git20150723.0.2ca5e0c-1.build2.log.gz


 Regards,

 --
   ,''`.
  : :'  : Chris Lamb
  `. `'`  la...@debian.org / chris-lamb.co.uk
`-

 ___
 Pkg-go-maintainers mailing list
 Pkg-go-maintainers@lists.alioth.debian.org
 http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-go-maintainers



-- 
Best regards,
Michael

___
Pkg-go-maintainers mailing list
Pkg-go-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-go-maintainers


[pkg-go] Processing of golang-snappy-go_0.0+git20150730.723cc1e-2_amd64.changes

2015-08-23 Thread Debian FTP Masters
golang-snappy-go_0.0+git20150730.723cc1e-2_amd64.changes uploaded successfully 
to localhost
along with the files:
  golang-snappy-go_0.0+git20150730.723cc1e-2.dsc
  golang-snappy-go_0.0+git20150730.723cc1e-2.debian.tar.xz
  golang-snappy-go-dev_0.0+git20150730.723cc1e-2_all.deb

Greetings,

Your Debian queue daemon (running on host franck.debian.org)

___
Pkg-go-maintainers mailing list
Pkg-go-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-go-maintainers


[pkg-go] golang-snappy-go_0.0+git20150730.723cc1e-2_amd64.changes ACCEPTED into unstable

2015-08-23 Thread Debian FTP Masters


Accepted:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Format: 1.8
Date: Sun, 23 Aug 2015 10:45:27 +
Source: golang-snappy-go
Binary: golang-snappy-go-dev
Architecture: source all
Version: 0.0+git20150730.723cc1e-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Go Packaging Team 
pkg-go-maintainers@lists.alioth.debian.org
Changed-By: Martín Ferrari tin...@debian.org
Description:
 golang-snappy-go-dev - Implementation of the Snappy compression format in Go
Changes:
 golang-snappy-go (0.0+git20150730.723cc1e-2) unstable; urgency=medium
 .
   * Handle compatibility symlink in postinst/prerm, as dpkg seems to choke on
 it, because it replaces a directory that was part of the previous version
 of the package.
Checksums-Sha1:
 a38d440e07dc2e46bdbe69c3bf889c6232931d48 2153 
golang-snappy-go_0.0+git20150730.723cc1e-2.dsc
 441cefbf3f27a2f2dd4a799c5502455a14d013f5 3248 
golang-snappy-go_0.0+git20150730.723cc1e-2.debian.tar.xz
 651af36bdb16a0f9336417a5b69c562f78caef60 11338 
golang-snappy-go-dev_0.0+git20150730.723cc1e-2_all.deb
Checksums-Sha256:
 da8a4fd93ca768a7457fbdccc7686ad2375d85f3709ba3c0666377d47d6b4e57 2153 
golang-snappy-go_0.0+git20150730.723cc1e-2.dsc
 49fef15bcbc328f1988764485abf461f1641a86cb014fb1ebda6387dcd09ff8b 3248 
golang-snappy-go_0.0+git20150730.723cc1e-2.debian.tar.xz
 02e1269ecddb17f5629e08f76f691b7627d509da16d2943199e7121ef0698e71 11338 
golang-snappy-go-dev_0.0+git20150730.723cc1e-2_all.deb
Files:
 a4792d8b53b180ae79a6b9a8c6bfdfb9 2153 devel extra 
golang-snappy-go_0.0+git20150730.723cc1e-2.dsc
 b7a14f21e9894ceaeb5843222ad706a5 3248 devel extra 
golang-snappy-go_0.0+git20150730.723cc1e-2.debian.tar.xz
 6c11ff272b91ad491b70f3a31d0bdda2 11338 devel extra 
golang-snappy-go-dev_0.0+git20150730.723cc1e-2_all.deb

-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iQIcBAEBCAAGBQJV2dTzAAoJEF3Y4L+Ro9PadMQQALqS+YSZwkyb2rg2Korx+vDe
wN4CWcRd4vNMERKep4M2OtYqIQQDWIfdOmzR6vdqDilxCPDRJZfHzoHkdjfvrhG2
Wj6bcCMuMaP6rNh7URWIYIU+bc/vnkaz0Y0+MBXFlSmXH39R1/V5+KhlugbkCX/5
aMx01R2aCAl4RfnXPlCWNqxPu5rlPD4DYg9A7KBdrLiFoeBmFcirqOha8eXcbrq0
FpTCpW4UNc7hEnZzT+LpS5u9VyEW1L8scS/iIZLLPQmjIdQ5AJ0UgWAuQYYiyIwe
u5DZI67lq8tcecuK4UljLZUsYUEG9nbeu5XeL+zRgZCjAR3om33CKnfe8ImCc/oe
JRA6CXzgY025Zkiv8RVbASX6NWUXvDea+ZlJsCTOQ8NCSWfzKg/ysBL7dcqyVXfG
fSgGy9bnHVnvI2NkU+LA/qyKI4nMJH3PGolGHOy2gipPfGYSxxs3i+c1kN9r13kh
V2IFWn+dwHfhxt8I2jpgeJzHHOfvafPNMod/yOXQB04GAlX7Adpfs8m+0qY3/VST
Op8XTnUSDz9FdUInj6blvsfXHDAsKDCM0mRUNDVeZdU6mWV9VfnOdeAhUP2Po24w
4EGtuyeZ/lL8LgQh7fVcRYIDrRZLnx7fkVU5qbprTbCovadi2U0XKPxjk9F7pjhm
P/BeJ6jpg+uGs5QaEDv0
=S1ua
-END PGP SIGNATURE-


Thank you for your contribution to Debian.

___
Pkg-go-maintainers mailing list
Pkg-go-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-go-maintainers