Source: golang-github-golang-leveldb
Version: 0.0~git20150720.0.df57eb2-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-golang-leveldb's testsuite appears to
non-deterministically fail, causing the
itself to FTBFS. I can reliably reproduce this simply by building the
package in a dumb "while $build; do :; done" loop.

If it helps, my /tmp is completely vanilla ext4 (it looks lock related?)

  [..]

  === RUN TestDefCmp
  --- PASS: TestDefCmp (0.00s)
  === RUN TestConcatenatingIterator
  --- PASS: TestConcatenatingIterator (0.03s)
  === RUN TestMergingIterator
  --- PASS: TestMergingIterator (0.02s)
  === RUN TestLock
  --- FAIL: TestLock (0.01s)
        file_lock_test.go:48: Locking /tmp/321042224
        file_lock_test.go:55: Spawning child, should fail to grab lock.
        file_lock_test.go:58: Attempt to grab open lock should have
        failed.
                === RUN TestLock
                --- PASS: TestLock (0.00s)
                        file_lock_test.go:48: Locking /tmp/321042224
                        file_lock_test.go:66: Unlocking /tmp/321042224
                PASS
  FAIL
  FAIL    github.com/golang/leveldb/db    0.058s
  === RUN TestBasic
  --- PASS: TestBasic (0.00s)

  [..]

The full build log is attached or can be viewed here:

    
https://reproducible.debian.net/logs/unstable/amd64/golang-github-golang-leveldb_0.0~git20150720.0.df57eb2-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: Sun Sep 20 01:34:20 GMT-14 2015
I: pbuilder-time-stamp: 1442662460
I: Building the build Environment
I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz]
I: creating local configuration
I: copying local configuration
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = "fr_CH.UTF-8",
        LANG = "fr_CH.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
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//5746/tmp/hooks/D01_modify_environment 
starting
I: Changing hostname to test build reproducibility
I: user script /var/cache/pbuilder/build//5746/tmp/hooks/D01_modify_environment 
finished
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (fr_CH.UTF-8)
 -> 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-golang-snappy-dev
dpkg-deb : construction du paquet « pbuilder-satisfydepends-dummy » dans 
« /tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb ».
Sélection du paquet pbuilder-satisfydepends-dummy précédemment 
désélectionné.
(Lecture de la base de données... 20254 fichiers et répertoires déjà 
installés.)
Préparation du dépaquetage de .../pbuilder-satisfydepends-dummy.deb ...
Dépaquetage de pbuilder-satisfydepends-dummy (0.invalid.0) ...
dpkg: pbuilder-satisfydepends-dummy : problèmes de dépendances, mais 
configuration comme demandé :
 pbuilder-satisfydepends-dummy dépend de dh-golang ; cependant :
  Le paquet dh-golang n'est pas installé.
 pbuilder-satisfydepends-dummy dépend de golang-go ; cependant :
  Le paquet golang-go n'est pas installé.
 pbuilder-satisfydepends-dummy dépend de golang-github-golang-snappy-dev ; 
cependant :
  Le paquet golang-github-golang-snappy-dev n'est pas installé.

Paramétrage de pbuilder-satisfydepends-dummy (0.invalid.0) ...
Lecture des listes de paquets...
Construction de l'arbre des dépendances...
Lecture des informations d'état...
Initialisation de l'état des paquets...
Écriture de l'information d'état étendu...
Construction de la base de données des étiquettes...
pbuilder-satisfydepends-dummy est déjà installé avec la version demandée 
(0.invalid.0)
pbuilder-satisfydepends-dummy est déjà installé avec la version demandée 
(0.invalid.0)
Les NOUVEAUX paquets suivants vont être installés : 
  dh-golang{a} golang-github-golang-snappy-dev{a} golang-go{a} 
  golang-go-linux-amd64{a} golang-src{a} 
0 paquets mis à jour, 5 nouvellement installés, 0 à enlever et 0 non mis à 
jour.
Il est nécessaire de télécharger 25.8 Mo d'archives. Après dépaquetage, 
183 Mo seront utilisés.
Écriture de l'information d'état étendu...
Prendre :  1 http://ftp.de.debian.org/debian/ unstable/main golang-src amd64 
2:1.4.2-4 [5'396 kB]
Prendre :  2 http://ftp.de.debian.org/debian/ unstable/main 
golang-go-linux-amd64 amd64 2:1.4.2-4 [8'697 kB]
Prendre :  3 http://ftp.de.debian.org/debian/ unstable/main golang-go amd64 
2:1.4.2-4 [11.7 MB]
Prendre :  4 http://ftp.de.debian.org/debian/ unstable/main dh-golang all 1.12 
[9'402 B]
Prendre :  5 http://ftp.de.debian.org/debian/ unstable/main 
golang-github-golang-snappy-dev all 0.0+git20150730.723cc1e-3 [10.6 kB]
 25.8 Mo téléchargés en 0s (28.9 Mo/s)
debconf: la configuration des paquets est différée, car apt-utils n'est pas 
installé
Sélection du paquet golang-src précédemment désélectionné.
(Lecture de la base de données... 
(Lecture de la base de données... 5%
(Lecture de la base de données... 10%
(Lecture de la base de données... 15%
(Lecture de la base de données... 20%
(Lecture de la base de données... 25%
(Lecture de la base de données... 30%
(Lecture de la base de données... 35%
(Lecture de la base de données... 40%
(Lecture de la base de données... 45%
(Lecture de la base de données... 50%
(Lecture de la base de données... 55%
(Lecture de la base de données... 60%
(Lecture de la base de données... 65%
(Lecture de la base de données... 70%
(Lecture de la base de données... 75%
(Lecture de la base de données... 80%
(Lecture de la base de données... 85%
(Lecture de la base de données... 90%
(Lecture de la base de données... 95%
(Lecture de la base de données... 100%
(Lecture de la base de données... 20254 fichiers et répertoires déjà 
installés.)
Préparation du dépaquetage de .../golang-src_2%3a1.4.2-4_amd64.deb ...
Dépaquetage de golang-src (2:1.4.2-4) ...
Sélection du paquet golang-go-linux-amd64 précédemment désélectionné.
Préparation du dépaquetage de .../golang-go-linux-amd64_2%3a1.4.2-4_amd64.deb 
...
Dépaquetage de golang-go-linux-amd64 (2:1.4.2-4) ...
Sélection du paquet golang-go précédemment désélectionné.
Préparation du dépaquetage de .../golang-go_2%3a1.4.2-4_amd64.deb ...
Dépaquetage de golang-go (2:1.4.2-4) ...
Sélection du paquet dh-golang précédemment désélectionné.
Préparation du dépaquetage de .../dh-golang_1.12_all.deb ...
Dépaquetage de dh-golang (1.12) ...
Sélection du paquet golang-github-golang-snappy-dev précédemment 
désélectionné.
Préparation du dépaquetage de 
.../golang-github-golang-snappy-dev_0.0+git20150730.723cc1e-3_all.deb ...
Dépaquetage de golang-github-golang-snappy-dev (0.0+git20150730.723cc1e-3) ...
Traitement des actions différées (« triggers ») pour man-db (2.7.3-1) ...
Paramétrage de golang-src (2:1.4.2-4) ...
Paramétrage de golang-go-linux-amd64 (2:1.4.2-4) ...
Paramétrage de golang-go (2:1.4.2-4) ...
update-alternatives: utilisation de « /usr/lib/go/bin/go » pour fournir « 
/usr/bin/go » (go) en mode automatique
Paramétrage de dh-golang (1.12) ...
Paramétrage de golang-github-golang-snappy-dev (0.0+git20150730.723cc1e-3) ...
Lecture des listes de paquets...
Construction de l'arbre des dépendances...
Lecture des informations d'état...
Lecture de l'information d'état étendu...
Initialisation de l'état des paquets...
Écriture de l'information d'état étendu...
Construction de la base de données des étiquettes...
 -> Finished parsing the build-deps
Lecture des listes de paquets…
Construction de l'arbre des dépendances…
Lecture des informations d'état…
fakeroot est déjà la plus récente version disponible.
0 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.
I: Copying source file
I: copying [golang-github-golang-leveldb_0.0~git20150720.0.df57eb2-1.dsc]
I: copying 
[./golang-github-golang-leveldb_0.0~git20150720.0.df57eb2.orig.tar.bz2]
I: copying 
[./golang-github-golang-leveldb_0.0~git20150720.0.df57eb2-1.debian.tar.xz]
I: Extracting source
gpgv: keyblock resource `/tmp/buildd/.gnupg/trustedkeys.gpg': file open error
gpgv: Signature made jeu 06 aoû 2015 02:53:09 GMT-14 using RSA key ID 5C213A7E
gpgv: Can't check signature: public key not found
dpkg-source: avertissement: impossible de vérifier la signature sur 
./golang-github-golang-leveldb_0.0~git20150720.0.df57eb2-1.dsc
dpkg-source: info: extraction de golang-github-golang-leveldb dans 
golang-github-golang-leveldb-0.0~git20150720.0.df57eb2
dpkg-source: info: extraction de 
golang-github-golang-leveldb_0.0~git20150720.0.df57eb2.orig.tar.bz2
dpkg-source: info: extraction de 
golang-github-golang-leveldb_0.0~git20150720.0.df57eb2-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: paquet source golang-github-golang-leveldb
dpkg-buildpackage: version source 0.0~git20150720.0.df57eb2-1
dpkg-buildpackage: distribution source unstable
dpkg-buildpackage: source changé par Hilko Bengen <ben...@debian.org>
 dpkg-source --before-build 
golang-github-golang-leveldb-0.0~git20150720.0.df57eb2
dpkg-buildpackage: architecture hôte 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
   debian/rules override_dh_auto_configure
make[1]: Entering directory 
'/tmp/buildd/golang-github-golang-leveldb-0.0~git20150720.0.df57eb2'
dh_auto_configure
cp -r testdata obj-x86_64-linux-gnu/src/github.com/golang/leveldb/
make[1]: Leaving directory 
'/tmp/buildd/golang-github-golang-leveldb-0.0~git20150720.0.df57eb2'
   dh_auto_build -O--buildsystem=golang
        go install -v github.com/golang/leveldb github.com/golang/leveldb/bloom 
github.com/golang/leveldb/cmd/ldbdump github.com/golang/leveldb/crc 
github.com/golang/leveldb/db github.com/golang/leveldb/memdb 
github.com/golang/leveldb/memfs github.com/golang/leveldb/record 
github.com/golang/leveldb/table
github.com/golang/leveldb/db
github.com/golang/leveldb/crc
github.com/golang/snappy
github.com/golang/leveldb/bloom
github.com/golang/leveldb/record
github.com/golang/leveldb/memdb
github.com/golang/leveldb/table
github.com/golang/leveldb/memfs
github.com/golang/leveldb
github.com/golang/leveldb/cmd/ldbdump
   dh_auto_test -O--buildsystem=golang
        go test -v github.com/golang/leveldb github.com/golang/leveldb/bloom 
github.com/golang/leveldb/cmd/ldbdump github.com/golang/leveldb/crc 
github.com/golang/leveldb/db github.com/golang/leveldb/memdb 
github.com/golang/leveldb/memfs github.com/golang/leveldb/record 
github.com/golang/leveldb/table
=== RUN TestBatch
--- PASS: TestBatch (0.00s)
=== RUN TestBatchIncrement
--- PASS: TestBatchIncrement (0.00s)
=== RUN TestPickCompaction
--- PASS: TestPickCompaction (0.00s)
=== RUN TestIsBaseLevelForUkey
--- PASS: TestIsBaseLevelForUkey (0.00s)
=== RUN TestCompaction
--- PASS: TestCompaction (0.02s)
=== RUN TestParseDBFilename
--- PASS: TestParseDBFilename (0.00s)
=== RUN TestFilenameRoundTrip
--- PASS: TestFilenameRoundTrip (0.00s)
=== RUN TestInternalKey
--- PASS: TestInternalKey (0.00s)
=== RUN TestInvalidInternalKey
--- PASS: TestInvalidInternalKey (0.00s)
=== RUN TestInternalKeyComparer
--- PASS: TestInternalKeyComparer (0.00s)
=== RUN TestErrorIfDBExists
--- PASS: TestErrorIfDBExists (0.00s)
=== RUN TestNewDBFilenames
--- PASS: TestNewDBFilenames (0.00s)
=== RUN TestBasicReads
--- PASS: TestBasicReads (0.01s)
=== RUN TestBasicWrites
--- PASS: TestBasicWrites (0.01s)
=== RUN TestRandomWrites
--- PASS: TestRandomWrites (0.05s)
=== RUN TestOpenCloseOpenClose
--- PASS: TestOpenCloseOpenClose (0.05s)
=== RUN TestTableCacheRandomAccessSequential
--- PASS: TestTableCacheRandomAccessSequential (0.10s)
=== RUN TestTableCacheRandomAccessConcurrent
--- PASS: TestTableCacheRandomAccessConcurrent (0.10s)
=== RUN TestTableCacheFrequentlyUsed
--- PASS: TestTableCacheFrequentlyUsed (0.05s)
=== RUN TestTableCacheEvictions
--- PASS: TestTableCacheEvictions (0.04s)
=== RUN TestVersionEditRoundTrip
--- PASS: TestVersionEditRoundTrip (0.00s)
=== RUN TestVersionEditDecode
--- PASS: TestVersionEditDecode (0.00s)
=== RUN TestIkeyRange
--- PASS: TestIkeyRange (0.00s)
=== RUN TestVersion
--- PASS: TestVersion (0.00s)
=== RUN TestOverlaps
--- PASS: TestOverlaps (0.00s)
PASS
ok      github.com/golang/leveldb       0.436s
=== RUN TestSmallBloomFilter
--- PASS: TestSmallBloomFilter (0.00s)
=== RUN TestBloomFilter
--- PASS: TestBloomFilter (0.08s)
=== RUN TestHash
--- PASS: TestHash (0.00s)
PASS
ok      github.com/golang/leveldb/bloom 0.087s
?       github.com/golang/leveldb/cmd/ldbdump   [no test files]
?       github.com/golang/leveldb/crc   [no test files]
=== RUN TestDefCmp
--- PASS: TestDefCmp (0.00s)
=== RUN TestConcatenatingIterator
--- PASS: TestConcatenatingIterator (0.03s)
=== RUN TestMergingIterator
--- PASS: TestMergingIterator (0.02s)
=== RUN TestLock
--- FAIL: TestLock (0.01s)
        file_lock_test.go:48: Locking /tmp/321042224
        file_lock_test.go:55: Spawning child, should fail to grab lock.
        file_lock_test.go:58: Attempt to grab open lock should have failed.
                === RUN TestLock
                --- PASS: TestLock (0.00s)
                        file_lock_test.go:48: Locking /tmp/321042224
                        file_lock_test.go:66: Unlocking /tmp/321042224
                PASS
FAIL
FAIL    github.com/golang/leveldb/db    0.058s
=== RUN TestBasic
--- PASS: TestBasic (0.00s)
=== RUN TestCount
--- PASS: TestCount (0.00s)
=== RUN TestEmpty
--- PASS: TestEmpty (0.00s)
=== RUN Test1000Entries
--- PASS: Test1000Entries (0.04s)
PASS
ok      github.com/golang/leveldb/memdb 0.059s
=== RUN TestBasics
--- PASS: TestBasics (0.00s)
=== RUN TestList
--- PASS: TestList (0.00s)
PASS
ok      github.com/golang/leveldb/memfs 0.008s
=== RUN TestEmpty
--- PASS: TestEmpty (0.00s)
=== RUN TestMany
--- PASS: TestMany (0.46s)
=== RUN TestRandom
--- PASS: TestRandom (0.03s)
=== RUN TestBasic
--- PASS: TestBasic (0.00s)
=== RUN TestBoundary
--- PASS: TestBoundary (2.51s)
=== RUN TestFlush
--- PASS: TestFlush (0.00s)
=== RUN TestNonExhaustiveRead
--- PASS: TestNonExhaustiveRead (0.03s)
=== RUN TestStaleReader
--- PASS: TestStaleReader (0.00s)
=== RUN TestStaleWriter
--- PASS: TestStaleWriter (0.00s)
PASS
ok      github.com/golang/leveldb/record        3.042s
=== RUN TestReader
--- PASS: TestReader (0.14s)
=== RUN TestWriter
--- PASS: TestWriter (0.14s)
=== RUN TestNoCompressionOutput
--- PASS: TestNoCompressionOutput (0.00s)
=== RUN TestBlockIter
--- PASS: TestBlockIter (0.00s)
=== RUN TestFinalBlockIsWritten
--- PASS: TestFinalBlockIsWritten (0.01s)
PASS
ok      github.com/golang/leveldb/table 0.300s
dh_auto_test: go test -v github.com/golang/leveldb 
github.com/golang/leveldb/bloom github.com/golang/leveldb/cmd/ldbdump 
github.com/golang/leveldb/crc github.com/golang/leveldb/db 
github.com/golang/leveldb/memdb github.com/golang/leveldb/memfs 
github.com/golang/leveldb/record github.com/golang/leveldb/table returned exit 
code 1
debian/rules:9: recipe for target 'build' failed
make: *** [build] Error 1
dpkg-buildpackage: erreur: debian/rules build a produit une erreur de sortie de 
type 2
E: Failed autobuilding of package
W: no hooks of type C found -- ignoring
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = "fr_CH.UTF-8",
        LANG = "fr_CH.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
I: unmounting /sys filesystem
/usr/lib/pbuilder/pbuilder-modules: line 163: warning: setlocale: LC_ALL: 
cannot change locale (fr_CH.UTF-8)
I: unmounting /dev/shm filesystem
/usr/lib/pbuilder/pbuilder-modules: line 163: warning: setlocale: LC_ALL: 
cannot change locale (fr_CH.UTF-8)
I: unmounting dev/pts filesystem
/usr/lib/pbuilder/pbuilder-modules: line 163: warning: setlocale: LC_ALL: 
cannot change locale (fr_CH.UTF-8)
I: unmounting run/shm filesystem
/usr/lib/pbuilder/pbuilder-modules: line 163: warning: setlocale: LC_ALL: 
cannot change locale (fr_CH.UTF-8)
I: unmounting proc filesystem
/usr/lib/pbuilder/pbuilder-modules: line 163: warning: setlocale: LC_ALL: 
cannot change locale (fr_CH.UTF-8)
I: cleaning the build env 
I: removing directory /var/cache/pbuilder/build//5746 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