Source: golang-github-jacobsa-ratelimit
Version: 0.0~git20150723.0.2ca5e0c-1
Severity: serious
Justification: fails to build from source
User: reproducible-builds@lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-builds@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.000000
  
  throttle_test.go:202:
  Expected: greater than 180, and less than 220.00000000000003
  Actual:   138
  Test case 1. expected: 200.000000
  
  throttle_test.go:202:
  Expected: greater than 180, and less than 220.00000000000003
  Actual:   163
  Test case 2. expected: 200.000000
  
  [  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
  FAIL    github.com/jacobsa/ratelimit    6.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
       `-
I: using fakeroot in build.
I: pbuilder: network access will be disabled during build
I: Current time: samedi 22 août 2015, 06:22:59 (UTC+1400)
I: pbuilder-time-stamp: 1440174179
I: Building the build Environment
I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz]
I: creating local configuration
I: copying local configuration
I: mounting /proc filesystem
I: mounting /run/shm filesystem
I: mounting /dev/pts filesystem
I: Mounting /dev/shm
I: Mounting /sys
I: policy-rc.d already exists
I: Installing the build-deps
I: user script 
/var/cache/pbuilder/build//56821/tmp/hooks/D01_modify_environment starting
I: Changing hostname to test build reproducibility
I: user script 
/var/cache/pbuilder/build//56821/tmp/hooks/D01_modify_environment finished
 -> Attempting to satisfy build-dependencies
 -> Creating pbuilder-satisfydepends-dummy package
Package: pbuilder-satisfydepends-dummy
Version: 0.invalid.0
Architecture: amd64
Maintainer: Debian Pbuilder Team <pbuilder-ma...@lists.alioth.debian.org>
Description: Dummy package to satisfy dependencies with aptitude - created by 
pbuilder
 This package was created automatically by pbuilder to satisfy the
 build-dependencies of the package being currently built.
Depends: debhelper (>= 9), dh-golang, golang-go, 
golang-github-jacobsa-gcloud-dev, golang-github-jacobsa-oglematchers-dev, 
golang-github-jacobsa-ogletest-dev, golang-github-jacobsa-syncutil-dev, 
golang-golang-x-net-dev
dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in 
'/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'.
Selecting previously unselected package pbuilder-satisfydepends-dummy.
(Reading database ... 20199 files and directories currently installed.)
Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ...
Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ...
dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring 
anyway as you requested:
 pbuilder-satisfydepends-dummy depends on dh-golang; however:
  Package dh-golang is not installed.
 pbuilder-satisfydepends-dummy depends on golang-go; however:
  Package golang-go is not installed.
 pbuilder-satisfydepends-dummy depends on golang-github-jacobsa-gcloud-dev; 
however:
  Package golang-github-jacobsa-gcloud-dev is not installed.
 pbuilder-satisfydepends-dummy depends on 
golang-github-jacobsa-oglematchers-dev; however:
  Package golang-github-jacobsa-oglematchers-dev is not installed.
 pbuilder-satisfydepends-dummy depends on golang-github-jacobsa-ogletest-dev; 
however:
  Package golang-github-jacobsa-ogletest-dev is not installed.
 pbuilder-satisfydepends-dummy depends on golang-github-jacobsa-syncutil-dev; 
however:
  Package golang-github-jacobsa-syncutil-dev is not installed.
 pbuilder-satisfydepends-dummy depends on golang-golang-x-net-dev; however:
  Package golang-golang-x-net-dev is not installed
Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ...
Reading package lists...
Building dependency tree...
Reading state information...
Initializing package states...
Writing extended state information...
Building tag database...
The following NEW packages will be installed:
  dh-golang{a} golang-bazil-fuse-dev{a} 
  golang-github-jacobsa-bazilfuse-dev{a} golang-github-jacobsa-fuse-dev{a} 
  golang-github-jacobsa-gcloud-dev{a} 
  golang-github-jacobsa-oglematchers-dev{a} 
  golang-github-jacobsa-oglemock-dev{a} 
  golang-github-jacobsa-ogletest-dev{a} 
  golang-github-jacobsa-reqtrace-dev{a} 
  golang-github-jacobsa-syncutil-dev{a} 
  golang-github-jacobsa-timeutil-dev{a} golang-github-jacobsa-util-dev{a} 
  golang-go{a} golang-go-linux-amd64{a} golang-go.net-dev{a} 
  golang-golang-x-net-dev{a} golang-golang-x-oauth2-dev{a} 
  golang-golang-x-sys-dev{a} golang-google-api-dev{a} 
  golang-google-appengine-dev{a} 
  golang-google-cloud-compute-metadata-dev{a} golang-goprotobuf-dev{a} 
  golang-src{a} golang-x-text-dev{a} libprotobuf9v5{a} libprotoc9v5{a} 
  protobuf-compiler{a} 
0 packages upgraded, 27 newly installed, 0 to remove and 0 not upgraded.
Need to get 30.8 MB of archives. After unpacking 224 MB will be used.
Writing extended state information...
Get: 1 http://ftp.de.debian.org/debian/ unstable/main golang-src amd64 
2:1.4.2-3 [5'404 kB]
Get: 2 http://ftp.de.debian.org/debian/ unstable/main golang-go-linux-amd64 
amd64 2:1.4.2-3 [8'696 kB]
Get: 3 http://ftp.de.debian.org/debian/ unstable/main golang-go amd64 2:1.4.2-3 
[11.5 MB]
Get: 4 http://ftp.de.debian.org/debian/ unstable/main libprotobuf9v5 amd64 
2.6.1-1.2 [344 kB]
Get: 5 http://ftp.de.debian.org/debian/ unstable/main libprotoc9v5 amd64 
2.6.1-1.2 [289 kB]
Get: 6 http://ftp.de.debian.org/debian/ unstable/main protobuf-compiler amd64 
2.6.1-1.2 [36.0 kB]
Get: 7 http://ftp.de.debian.org/debian/ unstable/main dh-golang all 1.12 [9'402 
B]
Get: 8 http://ftp.de.debian.org/debian/ unstable/main golang-x-text-dev all 
0+git20150518.c93e7c9-1 [1'968 kB]
Get: 9 http://ftp.de.debian.org/debian/ unstable/main golang-golang-x-net-dev 
all 0.0+git20150226.3d87fd6-3 [343 kB]
Get: 10 http://ftp.de.debian.org/debian/ unstable/main golang-go.net-dev all 
0.0+git20150226.3d87fd6-3 [9'724 B]
Get: 11 http://ftp.de.debian.org/debian/ unstable/main golang-golang-x-sys-dev 
all 0.0~git20150612-1 [171 kB]
Get: 12 http://ftp.de.debian.org/debian/ unstable/main golang-bazil-fuse-dev 
all 0.0~git20150620-1 [52.1 kB]
Get: 13 http://ftp.de.debian.org/debian/ unstable/main 
golang-github-jacobsa-bazilfuse-dev all 0.0~git20150622-1 [52.3 kB]
Get: 14 http://ftp.de.debian.org/debian/ unstable/main 
golang-github-jacobsa-oglematchers-dev all 0.0~git20150320-1 [30.2 kB]
Get: 15 http://ftp.de.debian.org/debian/ unstable/main 
golang-github-jacobsa-oglemock-dev all 0.0~git20150428-2 [24.8 kB]
Get: 16 http://ftp.de.debian.org/debian/ unstable/main 
golang-github-jacobsa-reqtrace-dev all 0.0~git20150505-2 [4'830 B]
Get: 17 http://ftp.de.debian.org/debian/ unstable/main 
golang-github-jacobsa-ogletest-dev all 0.0~git20150610-2 [21.1 kB]
Get: 18 http://ftp.de.debian.org/debian/ unstable/main 
golang-github-jacobsa-syncutil-dev all 0.0~git20150615-1 [5'852 B]
Get: 19 http://ftp.de.debian.org/debian/ unstable/main 
golang-github-jacobsa-timeutil-dev all 0.0~git20150615-1 [3'726 B]
Get: 20 http://ftp.de.debian.org/debian/ unstable/main 
golang-github-jacobsa-fuse-dev all 0.0~git20150806.0.9a7512a-1 [63.3 kB]
Get: 21 http://ftp.de.debian.org/debian/ unstable/main 
golang-github-jacobsa-util-dev all 0.0~git20150504-1 [5'692 B]
Get: 22 http://ftp.de.debian.org/debian/ unstable/main golang-goprotobuf-dev 
amd64 0.0~git20150526-2 [779 kB]
Get: 23 http://ftp.de.debian.org/debian/ unstable/main 
golang-google-appengine-dev all 0.0~git20150606-2 [128 kB]
Get: 24 http://ftp.de.debian.org/debian/ unstable/main 
golang-google-cloud-compute-metadata-dev all 0.0~git20150613-1 [5'564 B]
Get: 25 http://ftp.de.debian.org/debian/ unstable/main 
golang-golang-x-oauth2-dev all 0.0~git20150527-2 [28.0 kB]
Get: 26 http://ftp.de.debian.org/debian/ unstable/main golang-google-api-dev 
all 0.0~git20150609-1 [682 kB]
Get: 27 http://ftp.de.debian.org/debian/ unstable/main 
golang-github-jacobsa-gcloud-dev all 0.0~git20150709-1 [49.6 kB]
Fetched 30.8 MB in 1s (23.4 MB/s)
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package golang-src.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 20199 files and directories currently installed.)
Preparing to unpack .../golang-src_2%3a1.4.2-3_amd64.deb ...
Unpacking golang-src (2:1.4.2-3) ...
Selecting previously unselected package golang-go-linux-amd64.
Preparing to unpack .../golang-go-linux-amd64_2%3a1.4.2-3_amd64.deb ...
Unpacking golang-go-linux-amd64 (2:1.4.2-3) ...
Selecting previously unselected package golang-go.
Preparing to unpack .../golang-go_2%3a1.4.2-3_amd64.deb ...
Unpacking golang-go (2:1.4.2-3) ...
Selecting previously unselected package libprotobuf9v5:amd64.
Preparing to unpack .../libprotobuf9v5_2.6.1-1.2_amd64.deb ...
Unpacking libprotobuf9v5:amd64 (2.6.1-1.2) ...
Selecting previously unselected package libprotoc9v5:amd64.
Preparing to unpack .../libprotoc9v5_2.6.1-1.2_amd64.deb ...
Unpacking libprotoc9v5:amd64 (2.6.1-1.2) ...
Selecting previously unselected package protobuf-compiler.
Preparing to unpack .../protobuf-compiler_2.6.1-1.2_amd64.deb ...
Unpacking protobuf-compiler (2.6.1-1.2) ...
Selecting previously unselected package dh-golang.
Preparing to unpack .../dh-golang_1.12_all.deb ...
Unpacking dh-golang (1.12) ...
Selecting previously unselected package golang-x-text-dev.
Preparing to unpack .../golang-x-text-dev_0+git20150518.c93e7c9-1_all.deb ...
Unpacking golang-x-text-dev (0+git20150518.c93e7c9-1) ...
Selecting previously unselected package golang-golang-x-net-dev.
Preparing to unpack 
.../golang-golang-x-net-dev_0.0+git20150226.3d87fd6-3_all.deb ...
Unpacking golang-golang-x-net-dev (0.0+git20150226.3d87fd6-3) ...
Selecting previously unselected package golang-go.net-dev.
Preparing to unpack .../golang-go.net-dev_0.0+git20150226.3d87fd6-3_all.deb ...
Unpacking golang-go.net-dev (0.0+git20150226.3d87fd6-3) ...
Selecting previously unselected package golang-golang-x-sys-dev.
Preparing to unpack .../golang-golang-x-sys-dev_0.0~git20150612-1_all.deb ...
Unpacking golang-golang-x-sys-dev (0.0~git20150612-1) ...
Selecting previously unselected package golang-bazil-fuse-dev.
Preparing to unpack .../golang-bazil-fuse-dev_0.0~git20150620-1_all.deb ...
Unpacking golang-bazil-fuse-dev (0.0~git20150620-1) ...
Selecting previously unselected package golang-github-jacobsa-bazilfuse-dev.
Preparing to unpack 
.../golang-github-jacobsa-bazilfuse-dev_0.0~git20150622-1_all.deb ...
Unpacking golang-github-jacobsa-bazilfuse-dev (0.0~git20150622-1) ...
Selecting previously unselected package golang-github-jacobsa-oglematchers-dev.
Preparing to unpack 
.../golang-github-jacobsa-oglematchers-dev_0.0~git20150320-1_all.deb ...
Unpacking golang-github-jacobsa-oglematchers-dev (0.0~git20150320-1) ...
Selecting previously unselected package golang-github-jacobsa-oglemock-dev.
Preparing to unpack 
.../golang-github-jacobsa-oglemock-dev_0.0~git20150428-2_all.deb ...
Unpacking golang-github-jacobsa-oglemock-dev (0.0~git20150428-2) ...
Selecting previously unselected package golang-github-jacobsa-reqtrace-dev.
Preparing to unpack 
.../golang-github-jacobsa-reqtrace-dev_0.0~git20150505-2_all.deb ...
Unpacking golang-github-jacobsa-reqtrace-dev (0.0~git20150505-2) ...
Selecting previously unselected package golang-github-jacobsa-ogletest-dev.
Preparing to unpack 
.../golang-github-jacobsa-ogletest-dev_0.0~git20150610-2_all.deb ...
Unpacking golang-github-jacobsa-ogletest-dev (0.0~git20150610-2) ...
Selecting previously unselected package golang-github-jacobsa-syncutil-dev.
Preparing to unpack 
.../golang-github-jacobsa-syncutil-dev_0.0~git20150615-1_all.deb ...
Unpacking golang-github-jacobsa-syncutil-dev (0.0~git20150615-1) ...
Selecting previously unselected package golang-github-jacobsa-timeutil-dev.
Preparing to unpack 
.../golang-github-jacobsa-timeutil-dev_0.0~git20150615-1_all.deb ...
Unpacking golang-github-jacobsa-timeutil-dev (0.0~git20150615-1) ...
Selecting previously unselected package golang-github-jacobsa-fuse-dev.
Preparing to unpack 
.../golang-github-jacobsa-fuse-dev_0.0~git20150806.0.9a7512a-1_all.deb ...
Unpacking golang-github-jacobsa-fuse-dev (0.0~git20150806.0.9a7512a-1) ...
Selecting previously unselected package golang-github-jacobsa-util-dev.
Preparing to unpack 
.../golang-github-jacobsa-util-dev_0.0~git20150504-1_all.deb ...
Unpacking golang-github-jacobsa-util-dev (0.0~git20150504-1) ...
Selecting previously unselected package golang-goprotobuf-dev.
Preparing to unpack .../golang-goprotobuf-dev_0.0~git20150526-2_amd64.deb ...
Unpacking golang-goprotobuf-dev (0.0~git20150526-2) ...
Selecting previously unselected package golang-google-appengine-dev.
Preparing to unpack .../golang-google-appengine-dev_0.0~git20150606-2_all.deb 
...
Unpacking golang-google-appengine-dev (0.0~git20150606-2) ...
Selecting previously unselected package 
golang-google-cloud-compute-metadata-dev.
Preparing to unpack 
.../golang-google-cloud-compute-metadata-dev_0.0~git20150613-1_all.deb ...
Unpacking golang-google-cloud-compute-metadata-dev (0.0~git20150613-1) ...
Selecting previously unselected package golang-golang-x-oauth2-dev.
Preparing to unpack .../golang-golang-x-oauth2-dev_0.0~git20150527-2_all.deb ...
Unpacking golang-golang-x-oauth2-dev (0.0~git20150527-2) ...
Selecting previously unselected package golang-google-api-dev.
Preparing to unpack .../golang-google-api-dev_0.0~git20150609-1_all.deb ...
Unpacking golang-google-api-dev (0.0~git20150609-1) ...
Selecting previously unselected package golang-github-jacobsa-gcloud-dev.
Preparing to unpack 
.../golang-github-jacobsa-gcloud-dev_0.0~git20150709-1_all.deb ...
Unpacking golang-github-jacobsa-gcloud-dev (0.0~git20150709-1) ...
Processing triggers for man-db (2.7.2-1) ...
Setting up golang-src (2:1.4.2-3) ...
Setting up golang-go-linux-amd64 (2:1.4.2-3) ...
Setting up golang-go (2:1.4.2-3) ...
update-alternatives: using /usr/lib/go/bin/go to provide /usr/bin/go (go) in 
auto mode
Setting up libprotobuf9v5:amd64 (2.6.1-1.2) ...
Setting up libprotoc9v5:amd64 (2.6.1-1.2) ...
Setting up protobuf-compiler (2.6.1-1.2) ...
Setting up dh-golang (1.12) ...
Setting up golang-x-text-dev (0+git20150518.c93e7c9-1) ...
Setting up golang-golang-x-net-dev (0.0+git20150226.3d87fd6-3) ...
Setting up golang-go.net-dev (0.0+git20150226.3d87fd6-3) ...
Setting up golang-golang-x-sys-dev (0.0~git20150612-1) ...
Setting up golang-bazil-fuse-dev (0.0~git20150620-1) ...
Setting up golang-github-jacobsa-bazilfuse-dev (0.0~git20150622-1) ...
Setting up golang-github-jacobsa-oglematchers-dev (0.0~git20150320-1) ...
Setting up golang-github-jacobsa-oglemock-dev (0.0~git20150428-2) ...
Setting up golang-github-jacobsa-reqtrace-dev (0.0~git20150505-2) ...
Setting up golang-github-jacobsa-ogletest-dev (0.0~git20150610-2) ...
Setting up golang-github-jacobsa-syncutil-dev (0.0~git20150615-1) ...
Setting up golang-github-jacobsa-timeutil-dev (0.0~git20150615-1) ...
Setting up golang-github-jacobsa-fuse-dev (0.0~git20150806.0.9a7512a-1) ...
Setting up golang-github-jacobsa-util-dev (0.0~git20150504-1) ...
Setting up golang-goprotobuf-dev (0.0~git20150526-2) ...
Setting up golang-google-appengine-dev (0.0~git20150606-2) ...
Setting up golang-google-cloud-compute-metadata-dev (0.0~git20150613-1) ...
Setting up golang-golang-x-oauth2-dev (0.0~git20150527-2) ...
Setting up golang-google-api-dev (0.0~git20150609-1) ...
Setting up golang-github-jacobsa-gcloud-dev (0.0~git20150709-1) ...
Processing triggers for libc-bin (2.19-19) ...
Reading package lists...
Building dependency tree...
Reading state information...
Reading extended state information...
Initializing package states...
Writing extended state information...
Building tag database...
 -> Finished parsing the build-deps
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
  libfakeroot
The following NEW packages will be installed:
  fakeroot libfakeroot
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 129 kB of archives.
After this operation, 434 kB of additional disk space will be used.
Get:1 http://ftp.de.debian.org/debian/ unstable/main libfakeroot amd64 1.20.2-1 
[44.7 kB]
Get:2 http://ftp.de.debian.org/debian/ unstable/main fakeroot amd64 1.20.2-1 
[84.7 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 129 kB in 0s (6'939 kB/s)
Selecting previously unselected package libfakeroot:amd64.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 27054 files and directories currently installed.)
Preparing to unpack .../libfakeroot_1.20.2-1_amd64.deb ...
Unpacking libfakeroot:amd64 (1.20.2-1) ...
Selecting previously unselected package fakeroot.
Preparing to unpack .../fakeroot_1.20.2-1_amd64.deb ...
Unpacking fakeroot (1.20.2-1) ...
Processing triggers for man-db (2.7.2-1) ...
Setting up libfakeroot:amd64 (1.20.2-1) ...
Setting up fakeroot (1.20.2-1) ...
update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot 
(fakeroot) in auto mode
I: Copying source file
I: copying [golang-github-jacobsa-ratelimit_0.0~git20150723.0.2ca5e0c-1.dsc]
I: copying 
[./golang-github-jacobsa-ratelimit_0.0~git20150723.0.2ca5e0c.orig.tar.bz2]
I: copying 
[./golang-github-jacobsa-ratelimit_0.0~git20150723.0.2ca5e0c-1.debian.tar.xz]
I: Extracting source
gpgv: keyblock resource `/tmp/buildd/.gnupg/trustedkeys.gpg': file open error
gpgv: Signature made dim 26 jui 2015 11:33:07 GMT-14 using RSA key ID 4AC8EE1D
gpgv: Can't check signature: public key not found
dpkg-source: warning: failed to verify signature on 
./golang-github-jacobsa-ratelimit_0.0~git20150723.0.2ca5e0c-1.dsc
dpkg-source: info: extracting golang-github-jacobsa-ratelimit in 
golang-github-jacobsa-ratelimit-0.0~git20150723.0.2ca5e0c
dpkg-source: info: unpacking 
golang-github-jacobsa-ratelimit_0.0~git20150723.0.2ca5e0c.orig.tar.bz2
dpkg-source: info: unpacking 
golang-github-jacobsa-ratelimit_0.0~git20150723.0.2ca5e0c-1.debian.tar.xz
I: Building the package
W: no hooks of type A found -- ignoring
I: Running cd tmp/buildd/*/ && env 
PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" 
dpkg-buildpackage -us -uc  -b -rfakeroot
dpkg-buildpackage: source package golang-github-jacobsa-ratelimit
dpkg-buildpackage: source version 0.0~git20150723.0.2ca5e0c-1
dpkg-buildpackage: source distribution unstable
dpkg-buildpackage: source changed by Michael Stapelberg <stapelb...@debian.org>
 dpkg-source --before-build 
golang-github-jacobsa-ratelimit-0.0~git20150723.0.2ca5e0c
dpkg-buildpackage: 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_clean -O--buildsystem=golang
 debian/rules build
dh build --buildsystem=golang --with=golang
   dh_testdir -O--buildsystem=golang
   dh_auto_configure -O--buildsystem=golang
   dh_auto_build -O--buildsystem=golang
        go install -v github.com/jacobsa/ratelimit
golang.org/x/net/context
google.golang.org/api/googleapi/internal/uritemplates
github.com/jacobsa/gcloud/httputil
github.com/jacobsa/reqtrace
golang.org/x/oauth2/internal
github.com/jacobsa/syncutil
google.golang.org/api/googleapi
golang.org/x/oauth2
google.golang.org/api/storage/v1
github.com/jacobsa/gcloud/gcs
github.com/jacobsa/ratelimit
   dh_auto_test -O--buildsystem=golang
        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.000000

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

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

[  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
FAIL    github.com/jacobsa/ratelimit    6.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
E: Failed autobuilding of package
W: no hooks of type C found -- ignoring
I: unmounting /sys filesystem
I: unmounting /dev/shm filesystem
I: unmounting dev/pts filesystem
I: unmounting run/shm filesystem
I: unmounting proc filesystem
I: cleaning the build env 
I: removing directory /var/cache/pbuilder/build//56821 and its subdirectories
_______________________________________________
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

Reply via email to