[Qa-jenkins-scm] Build failed in Jenkins: reproducible_builder_arm64_25 #2007

jenkins at jenkins.debian.net jenkins at jenkins.debian.net
Sat Jan 14 17:11:17 UTC 2017


https://jenkins.debian.net/job/reproducible_builder_arm64_25/2007/------------------------------------------
[...truncated 67.67 KB...]
Setting up pkg-config (0.29-4) ...
Setting up golang-golang-x-crypto-dev (1:0.0~git20161012.0.5f31782-1) ...
Setting up golang-1.7-go (1.7.4-1) ...
Setting up automake (1:1.15-5) ...
update-alternatives: using /usr/bin/automake-1.15 to provide /usr/bin/automake (automake) in auto mode
Setting up man-db (2.7.6.1-2) ...
Building database of manual pages ...
Setting up libtool (2.4.6-2) ...
Setting up gettext (0.19.8.1-1) ...
Setting up golang-go.net-dev (1:0.0+git20161013.8b4af36+dfsg-3) ...
Setting up golang-go (2:1.7~5) ...
Setting up intltool-debian (0.35.0+20060710.4) ...
Setting up golang-github-jacobsa-reqtrace-dev (0.0~git20150505-4) ...
Setting up golang-github-jtolds-gls-dev (4.2.0-1) ...
Setting up golang-github-jacobsa-ogletest-dev (0.0~git20150610-6) ...
Setting up po-debconf (1.0.20) ...
Setting up golang-github-smartystreets-assertions-dev (1.6.0+dfsg-1) ...
Setting up golang-github-smartystreets-goconvey-dev (1.6.1-2) ...
Setting up dh-autoreconf (13) ...
Setting up dh-strip-nondeterminism (0.029-2) ...
Setting up debhelper (10.2.3) ...
Setting up dh-golang (1.19) ...
Processing triggers for libc-bin (2.24-8) ...
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 (1.21-3).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
I: Building the package
I: Running cd /build/1st/*/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b --buildinfo-id=arm64 -rfakeroot
dpkg-buildpackage: warning: --buildinfo-id is deprecated, it is without effect
dpkg-buildpackage: info: source package mongo-tools
dpkg-buildpackage: info: source version 3.2.11-1
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Apollon Oikonomopoulos <apoikos at debian.org>
 dpkg-source --before-build mongo-tools-3.2.11
dpkg-buildpackage: info: host architecture arm64
 fakeroot debian/rules clean
dh clean --with=golang --builddirectory=_build --buildsystem=golang
   dh_testdir -O--builddirectory=_build -O--buildsystem=golang
   debian/rules override_dh_auto_clean
make[1]: Entering directory '/build/1st/mongo-tools-3.2.11'
rm -rf debian/bin
rm -rf _build
find /build/1st/mongo-tools-3.2.11/vendor -type f -name '*.a' -exec rm -rf {} \;
dh_auto_clean
make[1]: Leaving directory '/build/1st/mongo-tools-3.2.11'
   dh_clean -O--builddirectory=_build -O--buildsystem=golang
 debian/rules build
dh build --with=golang --builddirectory=_build --buildsystem=golang
   dh_testdir -O--builddirectory=_build -O--buildsystem=golang
   dh_update_autotools_config -O--builddirectory=_build -O--buildsystem=golang
   debian/rules override_dh_auto_configure
make[1]: Entering directory '/build/1st/mongo-tools-3.2.11'
# First create the base for all vendorized deps. This is needed to
# avoid having dh-golang symlink a whole hierarchy (e.g. github.com)
# under which we have vendorized deps.
for dep in github.com/spacemonkeygo/spacelog github.com/spacemonkeygo/openssl github.com/jessevdk/go-flags github.com/howeyc/gopass github.com/3rf/mongo-lint gopkg.in/mgo.v2; do \
	mkdir -p /build/1st/mongo-tools-3.2.11/_build/src/$(dirname $dep); \
done
# Let dh-golang symlink all libraries from the system path
dh_auto_configure --buildsystem=golang
# Finally replace any symlinks to system copies with the vendorized versions
for dep in github.com/spacemonkeygo/spacelog github.com/spacemonkeygo/openssl github.com/jessevdk/go-flags github.com/howeyc/gopass github.com/3rf/mongo-lint gopkg.in/mgo.v2; do \
	rm -f /build/1st/mongo-tools-3.2.11/_build/src/$dep; \
	ln -r -s /build/1st/mongo-tools-3.2.11/vendor/src/$dep /build/1st/mongo-tools-3.2.11/_build/src/$dep; \
done
make[1]: Leaving directory '/build/1st/mongo-tools-3.2.11'
   debian/rules override_dh_auto_build
make[1]: Entering directory '/build/1st/mongo-tools-3.2.11'
for tool in bsondump mongodump mongoexport mongofiles mongoimport mongooplog mongorestore mongostat mongotop; do \
	go install -v -tags="ssl sasl" -ldflags -extldflags=-Wl,-z,now,-z,relro $tool/main/$tool.go; \
done
gopkg.in/mgo.v2/internal/json
gopkg.in/mgo.v2/internal/sasl
gopkg.in/mgo.v2/internal/scram
github.com/jessevdk/go-flags
github.com/mongodb/mongo-tools/common/log
github.com/spacemonkeygo/openssl/utils
github.com/spacemonkeygo/spacelog
golang.org/x/crypto/ssh/terminal
# github.com/spacemonkeygo/spacelog
_build/src/github.com/spacemonkeygo/spacelog/capture_other.go:26: undefined: syscall.Dup2
_build/src/github.com/spacemonkeygo/spacelog/capture_other.go:30: undefined: syscall.Dup2
github.com/howeyc/gopass
github.com/mongodb/mongo-tools/common/password
gopkg.in/mgo.v2/bson
gopkg.in/mgo.v2
github.com/mongodb/mongo-tools/common/util
github.com/mongodb/mongo-tools/common/json
github.com/mongodb/mongo-tools/common/signals
github.com/mongodb/mongo-tools/common/bsonutil
github.com/spacemonkeygo/spacelog
github.com/mongodb/mongo-tools/common/intents
github.com/mongodb/mongo-tools/common/text
github.com/mongodb/mongo-tools/common/progress
# github.com/spacemonkeygo/spacelog
_build/src/github.com/spacemonkeygo/spacelog/capture_other.go:26: undefined: syscall.Dup2
_build/src/github.com/spacemonkeygo/spacelog/capture_other.go:30: undefined: syscall.Dup2
github.com/spacemonkeygo/spacelog
# github.com/spacemonkeygo/spacelog
_build/src/github.com/spacemonkeygo/spacelog/capture_other.go:26: undefined: syscall.Dup2
_build/src/github.com/spacemonkeygo/spacelog/capture_other.go:30: undefined: syscall.Dup2
github.com/spacemonkeygo/spacelog
# github.com/spacemonkeygo/spacelog
_build/src/github.com/spacemonkeygo/spacelog/capture_other.go:26: undefined: syscall.Dup2
_build/src/github.com/spacemonkeygo/spacelog/capture_other.go:30: undefined: syscall.Dup2
github.com/spacemonkeygo/spacelog
github.com/mongodb/mongo-tools/mongoimport/csv
gopkg.in/tomb.v2
# github.com/spacemonkeygo/spacelog
_build/src/github.com/spacemonkeygo/spacelog/capture_other.go:26: undefined: syscall.Dup2
_build/src/github.com/spacemonkeygo/spacelog/capture_other.go:30: undefined: syscall.Dup2
github.com/spacemonkeygo/spacelog
# github.com/spacemonkeygo/spacelog
_build/src/github.com/spacemonkeygo/spacelog/capture_other.go:26: undefined: syscall.Dup2
_build/src/github.com/spacemonkeygo/spacelog/capture_other.go:30: undefined: syscall.Dup2
github.com/spacemonkeygo/spacelog
# github.com/spacemonkeygo/spacelog
_build/src/github.com/spacemonkeygo/spacelog/capture_other.go:26: undefined: syscall.Dup2
_build/src/github.com/spacemonkeygo/spacelog/capture_other.go:30: undefined: syscall.Dup2
github.com/spacemonkeygo/spacelog
# github.com/spacemonkeygo/spacelog
_build/src/github.com/spacemonkeygo/spacelog/capture_other.go:26: undefined: syscall.Dup2
_build/src/github.com/spacemonkeygo/spacelog/capture_other.go:30: undefined: syscall.Dup2
github.com/spacemonkeygo/spacelog
# github.com/spacemonkeygo/spacelog
_build/src/github.com/spacemonkeygo/spacelog/capture_other.go:26: undefined: syscall.Dup2
_build/src/github.com/spacemonkeygo/spacelog/capture_other.go:30: undefined: syscall.Dup2
debian/rules:41: recipe for target 'override_dh_auto_build' failed
make[1]: *** [override_dh_auto_build] Error 2
make[1]: Leaving directory '/build/1st/mongo-tools-3.2.11'
debian/rules:23: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
I: copying local configuration
E: Failed autobuilding of package
I: unmounting /dev/shm filesystem
I: unmounting dev/pts filesystem
I: unmounting run/shm filesystem
I: unmounting proc filesystem
I: unmounting sys filesystem
I: cleaning the build env 
I: removing directory /srv/workspace/pbuilder/13680 and its subdirectories
removed ‘/var/lib/jenkins/userContent/reproducible/debian/rbuild/unstable/arm64/mongo-tools_3.2.11-1.rbuild.log.gz’
removed ‘/var/lib/jenkins/userContent/reproducible/debian/logs/unstable/arm64/mongo-tools_3.2.11-1.build1.log.gz’
+ echo 'Compressing the 1st log...'
Compressing the 1st log...
+ gzip -9cvn b1/build.log
b1/build.log:	 81.4%
+ chmod 644 /var/lib/jenkins/userContent/reproducible/debian/logs/unstable/arm64/mongo-tools_3.2.11-1.build1.log.gz
+ update_rbuildlog
+ chmod 644 /srv/reproducible-results/rbuild-debian-mnfwneXe/tmp.vDzGyG28f6
+ mv /srv/reproducible-results/rbuild-debian-mnfwneXe/tmp.vDzGyG28f6 /var/lib/jenkins/userContent/reproducible/debian/rbuild/unstable/arm64/mongo-tools_3.2.11-1.rbuild.log
+ RBUILDLOG=/var/lib/jenkins/userContent/reproducible/debian/rbuild/unstable/arm64/mongo-tools_3.2.11-1.rbuild.log
+ '[' 1 -eq 1 ']'
+ handle_ftbfs
+ false
+ set +x
mongo-tools failed to build from source.
psql: could not connect to server: No such file or directory
	Is the server running locally and accepting
	connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
psql: could not connect to server: No such file or directory
	Is the server running locally and accepting
	connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
psql: could not connect to server: No such file or directory
	Is the server running locally and accepting
	connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
Starting cleanup.
/var/lib/jenkins/userContent/reproducible/debian/rbuild/unstable/arm64/mongo-tools_3.2.11-1.rbuild.log:	 78.8% -- replaced with /var/lib/jenkins/userContent/reproducible/debian/rbuild/unstable/arm64/mongo-tools_3.2.11-1.rbuild.log.gz
INFO: Starting at 2017-01-14 17:11:16.764443
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 950, in _do_get
    return self._pool.get(wait, self._timeout)
  File "/usr/lib/python3/dist-packages/sqlalchemy/util/queue.py", line 145, in get
    raise Empty
sqlalchemy.util.queue.Empty

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/sqlalchemy/engine/strategies.py", line 90, in connect
    return dialect.connect(*cargs, **cparams)
  File "/usr/lib/python3/dist-packages/sqlalchemy/engine/default.py", line 377, in connect
    return self.dbapi.connect(*cargs, **cparams)
  File "/usr/lib/python3/dist-packages/psycopg2/__init__.py", line 164, in connect
    conn = _connect(dsn, connection_factory=connection_factory, async=async)
psycopg2.OperationalError: could not connect to server: No such file or directory
	Is the server running locally and accepting
	connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?


The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/srv/jenkins/bin/reproducible_html_packages.py", line 13, in <module>
    from reproducible_common import *
  File "/srv/jenkins/bin/reproducible_common.py", line 126, in <module>
    conn_db = DB_ENGINE.connect()      # the local postgres reproducible db
  File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 1778, in connect
    return self._connection_cls(self, **kwargs)
  File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 60, in __init__
    self.__connection = connection or engine.raw_connection()
  File "/usr/lib/python3/dist-packages/sqlalchemy/engine/base.py", line 1847, in raw_connection
    return self.pool.unique_connection()
  File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 280, in unique_connection
    return _ConnectionFairy._checkout(self)
  File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 644, in _checkout
    fairy = _ConnectionRecord.checkout(pool)
  File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 440, in checkout
    rec = pool._do_get()
  File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 963, in _do_get
    return self._create_connection()
  File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 285, in _create_connection
    return _ConnectionRecord(self)
  File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 411, in __init__
    self.connection = self.__connect()
  File "/usr/lib/python3/dist-packages/sqlalchemy/pool.py", line 538, in __connect
    connection = self.__pool._creator()
  File "/usr/lib/python3/dist-packages/sqlalchemy/engine/strategies.py", line 96, in connect
    connection_invalidated=invalidated
  File "/usr/lib/python3/dist-packages/sqlalchemy/util/compat.py", line 188, in raise_from_cause
    reraise(type(exception), exception, tb=exc_tb, cause=exc_value)
  File "/usr/lib/python3/dist-packages/sqlalchemy/util/compat.py", line 181, in reraise
    raise value.with_traceback(tb)
  File "/usr/lib/python3/dist-packages/sqlalchemy/engine/strategies.py", line 90, in connect
    return dialect.connect(*cargs, **cparams)
  File "/usr/lib/python3/dist-packages/sqlalchemy/engine/default.py", line 377, in connect
    return self.dbapi.connect(*cargs, **cparams)
  File "/usr/lib/python3/dist-packages/psycopg2/__init__.py", line 164, in connect
    conn = _connect(dsn, connection_factory=connection_factory, async=async)
sqlalchemy.exc.OperationalError: (OperationalError) could not connect to server: No such file or directory
	Is the server running locally and accepting
	connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
 None None
Warning: cannot update HTML pages for mongo-tools
All cleanup done.
Sat 14 Jan 17:11:16 UTC 2017 - /srv/jenkins/bin/reproducible_build.sh stopped running as /tmp/jenkins-script-dguQiPW2, which will now be removed.
Build step 'Execute shell' marked build as failure



More information about the Qa-jenkins-scm mailing list