Source: golang-check.v1
Version: 0.0+git20150729.11d3bc7-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-check.v1's testsuite appears to use method timing/benchmarking in
such
a way that it will non-deterministically FTBFS:

  [..]

     dh_auto_test -O--buildsystem=golang
        go test -v gopkg.in/check.v1
  === RUN Test
  
  ----------------------------------------------------------------------
  FAIL: benchmark_test.go:39: BenchmarkS.TestBenchmark
  
  benchmark_test.go:59:
      c.Assert(output.value, Matches, expected)
  ... value string = "PASS: check_test.go:144:
  FixtureHelper.Benchmark1\t      50\t    261765 ns/op\n"
  ... regex string = "PASS: check_test\\.go:[0-9]+:
  FixtureHelper\\.Benchmark1\t *100\t *[12][0-9]{5} ns/op\n"
  
  
  ----------------------------------------------------------------------
  FAIL: benchmark_test.go:62: BenchmarkS.TestBenchmarkBytes
  
  benchmark_test.go:74:
      c.Assert(output.value, Matches, expected)
  ... value string = "PASS: check_test.go:151:
  FixtureHelper.Benchmark2\t      50\t    346352 ns/op\t   2.96 MB/s\n"
  ... regex string = "PASS: check_test\\.go:[0-9]+:
  FixtureHelper\\.Benchmark2\t *100\t *[12][0-9]{5} ns/op\t
  *[4-9]\\.[0-9]{2} MB/s\n"
  
  OOPS: 125 passed, 2 FAILED
  --- FAIL: Test (0.46s)
  FAIL
  exit status 1
  FAIL    gopkg.in/check.v1       0.469s
  dh_auto_test: go test -v gopkg.in/check.v1 returned exit code 1
  debian/rules:7: 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-check.v1_0.0+git20150729.11d3bc7-1.build1.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: Fri Aug 21 23:48:20 GMT+12 2015
I: pbuilder-time-stamp: 1440244100
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
 -> 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.0.0), dh-golang, golang-go
dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in 
'/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'.
Selecting previously unselected package pbuilder-satisfydepends-dummy.
(Reading database ... 20247 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.

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-go{a} golang-go-linux-amd64{a} golang-src{a} 
0 packages upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 25.7 MB of archives. After unpacking 181 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 [5404 kB]
Get: 2 http://ftp.de.debian.org/debian/ unstable/main golang-go-linux-amd64 
amd64 2:1.4.2-3 [8696 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 dh-golang all 1.12 [9402 
B]
Fetched 25.7 MB in 0s (30.2 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 ... 20247 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 dh-golang.
Preparing to unpack .../dh-golang_1.12_all.deb ...
Unpacking dh-golang (1.12) ...
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 dh-golang (1.12) ...
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...
fakeroot is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
I: Copying source file
I: copying [golang-check.v1_0.0+git20150729.11d3bc7-1.dsc]
I: copying [./golang-check.v1_0.0+git20150729.11d3bc7.orig.tar.bz2]
I: copying [./golang-check.v1_0.0+git20150729.11d3bc7-1.debian.tar.xz]
I: Extracting source
gpgv: keyblock resource `/tmp/buildd/.gnupg/trustedkeys.gpg': file open error
gpgv: Signature made Wed Jul 29 19:41:46 2015 GMT+12 using RSA key ID 4AC8EE1D
gpgv: Can't check signature: public key not found
dpkg-source: warning: failed to verify signature on 
./golang-check.v1_0.0+git20150729.11d3bc7-1.dsc
dpkg-source: info: extracting golang-check.v1 in 
golang-check.v1-0.0+git20150729.11d3bc7
dpkg-source: info: unpacking 
golang-check.v1_0.0+git20150729.11d3bc7.orig.tar.bz2
dpkg-source: info: unpacking 
golang-check.v1_0.0+git20150729.11d3bc7-1.debian.tar.xz
I: Building the package
I: Running cd tmp/buildd/*/ && env 
PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" dpkg-buildpackage -us -uc  -b 
-rfakeroot
dpkg-buildpackage: source package golang-check.v1
dpkg-buildpackage: source version 0.0+git20150729.11d3bc7-1
dpkg-buildpackage: source distribution unstable
dpkg-buildpackage: source changed by Michael Stapelberg <stapelb...@debian.org>
 dpkg-source --before-build golang-check.v1-0.0+git20150729.11d3bc7
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 gopkg.in/check.v1
gopkg.in/check.v1
   dh_auto_test -O--buildsystem=golang
        go test -v gopkg.in/check.v1
=== RUN Test

----------------------------------------------------------------------
FAIL: benchmark_test.go:39: BenchmarkS.TestBenchmark

benchmark_test.go:59:
    c.Assert(output.value, Matches, expected)
... value string = "PASS: check_test.go:144: FixtureHelper.Benchmark1\t      
50\t    261765 ns/op\n"
... regex string = "PASS: check_test\\.go:[0-9]+: FixtureHelper\\.Benchmark1\t 
*100\t *[12][0-9]{5} ns/op\n"


----------------------------------------------------------------------
FAIL: benchmark_test.go:62: BenchmarkS.TestBenchmarkBytes

benchmark_test.go:74:
    c.Assert(output.value, Matches, expected)
... value string = "PASS: check_test.go:151: FixtureHelper.Benchmark2\t      
50\t    346352 ns/op\t   2.96 MB/s\n"
... regex string = "PASS: check_test\\.go:[0-9]+: FixtureHelper\\.Benchmark2\t 
*100\t *[12][0-9]{5} ns/op\t *[4-9]\\.[0-9]{2} MB/s\n"

OOPS: 125 passed, 2 FAILED
--- FAIL: Test (0.46s)
FAIL
exit status 1
FAIL    gopkg.in/check.v1       0.469s
dh_auto_test: go test -v gopkg.in/check.v1 returned exit code 1
debian/rules:7: 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
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//35614 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