Started by user laforge
Building remotely on build1-debian9-lxc (linux_amd64_debian9) in workspace /home/osmocom-build/jenkins/workspace/ttcn3-nitb-sysinfo
[ttcn3-nitb-sysinfo] $ /bin/sh -xe /tmp/hudson5319157541706593883.sh
+ env
JENKINS_HOME=/usr/local/jenkins
MAIL=/var/mail/osmocom-build
SSH_CLIENT=192.168.122.1 41038 22
USER=osmocom-build
RUN_CHANGES_DISPLAY_URL=http://jenkins.osmocom.org/jenkins/job/ttcn3-nitb-sysinfo/3/display/redirect?page=changes
NODE_LABELS=build1-debian9-lxc linux_amd64_debian9
HUDSON_URL=http://jenkins.osmocom.org/jenkins/
SHLVL=1
OLDPWD=/home/osmocom-build
HOME=/home/osmocom-build
BUILD_URL=http://jenkins.osmocom.org/jenkins/job/ttcn3-nitb-sysinfo/3/
HUDSON_COOKIE=d7b9262f-8338-4cf3-81c5-a7072e21f41b
JENKINS_SERVER_COOKIE=8cd9590adb8bfe87
WORKSPACE=/home/osmocom-build/jenkins/workspace/ttcn3-nitb-sysinfo
LOGNAME=osmocom-build
NODE_NAME=build1-debian9-lxc
_=/usr/bin/java
EXECUTOR_NUMBER=1
XDG_SESSION_ID=2468
BUILD_DISPLAY_NAME=#3
HUDSON_HOME=/usr/local/jenkins
JOB_BASE_NAME=ttcn3-nitb-sysinfo
PATH=/usr/local/bin:/usr/bin:/bin:/usr/games:/home/osmocom-build/bin
BUILD_ID=3
XDG_RUNTIME_DIR=/run/user/1000
BUILD_TAG=jenkins-ttcn3-nitb-sysinfo-3
LANG=en_US.UTF-8
JENKINS_URL=http://jenkins.osmocom.org/jenkins/
JOB_URL=http://jenkins.osmocom.org/jenkins/job/ttcn3-nitb-sysinfo/
BUILD_NUMBER=3
PARALLEL_MAKE=-j 3
SHELL=/bin/bash
RUN_DISPLAY_URL=http://jenkins.osmocom.org/jenkins/job/ttcn3-nitb-sysinfo/3/display/redirect
HUDSON_SERVER_COOKIE=8cd9590adb8bfe87
JOB_DISPLAY_URL=http://jenkins.osmocom.org/jenkins/job/ttcn3-nitb-sysinfo/display/redirect
JOB_NAME=ttcn3-nitb-sysinfo
PWD=/home/osmocom-build/jenkins/workspace/ttcn3-nitb-sysinfo
SSH_CONNECTION=192.168.122.1 41038 192.168.122.224 22
MAKE=make
+ OLDPWD=/home/osmocom-build/jenkins/workspace/ttcn3-nitb-sysinfo
+ DIR=/home/osmocom-build/jenkins/docker-playground
+ cd /home/osmocom-build/jenkins/docker-playground
+ git fetch
+ git checkout -f -B master origin/master
Reset branch 'master'
Branch master set up to track remote branch master from origin.
Your branch is up-to-date with 'origin/master'.
+ cd /home/osmocom-build/jenkins/docker-playground/osmo-nitb-master
+ make
docker build -t docker.io/osmocom-build/osmo-nitb-master:0.0.0-9c937dd .
Sending build context to Docker daemon 12.29kB
Step 1/14 : FROM laforge/debian-jessie-build
---> 5eb2e10cb5d1
Step 2/14 : MAINTAINER Harald Welte <laforge@gnumonks.org>
---> Using cache
---> ec9bf14044bb
Step 3/14 : COPY Release.key /tmp/Release.key
---> Using cache
---> caa7c9b4d88b
Step 4/14 : RUN apt-key add /tmp/Release.key && rm /tmp/Release.key && echo "deb http://download.opensuse.org/repositories/network:/osmocom:/nightly/Debian_8.0/ ./" > /etc/apt/sources.list.d/osmocom-nightly.list
---> Using cache
---> 701c9885dfcf
Step 5/14 : RUN apt-get update && apt-get install -y telnet libosmocore-dev libosmo-abis-dev libosmo-netif-dev libosmo-sccp-dev libsmpp34-dev libgtp-dev
---> Using cache
---> 743a49d1171c
Step 6/14 : WORKDIR /tmp
---> Using cache
---> ca627a3953c0
Step 7/14 : RUN git clone git://git.osmocom.org/openbsc.git
---> Using cache
---> 416d69102897
Step 8/14 : ADD http://git.osmocom.org/openbsc/patch /tmp/commit-openbsc
---> Using cache
---> b2df79bff82a
Step 9/14 : RUN cd openbsc/openbsc && git fetch && git checkout -f -B master origin/master && autoreconf -fi && ./configure --enable-nat --enable-osmo-bsc --enable-smpp && make -j8 install && ldconfig
---> Running in 3b651ffdc0a8
[91mReset branch 'master'
[0mBranch master set up to track remote branch master from origin.
Your branch is up-to-date with 'origin/master'.
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: putting macros in `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~obsolete.m4'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
[91mconfigure.ac:17: installing './compile'
[0m[91mconfigure.ac:19: installing './config.guess'
[0m[91mconfigure.ac:19: installing './config.sub'
[0m[91mconfigure.ac:9: installing './install-sh'
[0m[91mconfigure.ac:9: installing './missing'
[0m[91msrc/gprs/Makefile.am: installing './depcomp'
[0m[91mtests/bsc-nat-trie/Makefile.am:9: warning: source file '$(top_srcdir)/src/osmo-bsc_nat/bsc_nat_rewrite_trie.c' is in a subdirectory,
tests/bsc-nat-trie/Makefile.am:9: but option 'subdir-objects' is disabled
automake: warning: possible forward-incompatibility.
automake: At least a source file is in a subdirectory, but the 'subdir-objects'
automake: automake option hasn't been enabled. For now, the corresponding output
automake: object file(s) will be placed in the top-level directory. However,
automake: this behaviour will change in future Automake versions: they will
automake: unconditionally cause object files to be placed in the same subdirectory
automake: of the corresponding sources.
automake: You are advised to start using 'subdir-objects' option throughout your
automake: project, to avoid future incompatibilities.
[0m[91mtests/bsc-nat/Makefile.am:34: warning: source file '$(top_srcdir)/src/osmo-bsc_nat/bsc_filter.c' is in a subdirectory,
tests/bsc-nat/Makefile.am:34: but option 'subdir-objects' is disabled
[0m[91mtests/bsc-nat/Makefile.am:34: warning: source file '$(top_srcdir)/src/osmo-bsc_nat/bsc_sccp.c' is in a subdirectory,
tests/bsc-nat/Makefile.am:34: but option 'subdir-objects' is disabled
[0m[91mtests/bsc-nat/Makefile.am:34: warning: source file '$(top_srcdir)/src/osmo-bsc_nat/bsc_nat_utils.c' is in a subdirectory,
tests/bsc-nat/Makefile.am:34: but option 'subdir-objects' is disabled
[0m[91mtests/bsc-nat/Makefile.am:34: warning: source file '$(top_srcdir)/src/osmo-bsc_nat/bsc_nat_rewrite.c' is in a subdirectory,
tests/bsc-nat/Makefile.am:34: but option 'subdir-objects' is disabled
[0m[91mtests/bsc-nat/Makefile.am:34: warning: source file '$(top_srcdir)/src/osmo-bsc_nat/bsc_nat_rewrite_trie.c' is in a subdirectory,
tests/bsc-nat/Makefile.am:34: but option 'subdir-objects' is disabled
[0m[91mtests/bsc-nat/Makefile.am:34: warning: source file '$(top_srcdir)/src/osmo-bsc_nat/bsc_mgcp_utils.c' is in a subdirectory,
tests/bsc-nat/Makefile.am:34: but option 'subdir-objects' is disabled
[0m[91mtests/bsc-nat/Makefile.am:34: warning: source file '$(top_srcdir)/src/osmo-bsc_nat/bsc_nat_filter.c' is in a subdirectory,
tests/bsc-nat/Makefile.am:34: but option 'subdir-objects' is disabled
[0m[91mtests/bsc/Makefile.am:28: warning: source file '$(top_srcdir)/src/osmo-bsc/osmo_bsc_filter.c' is in a subdirectory,
tests/bsc/Makefile.am:28: but option 'subdir-objects' is disabled
[0m[91mtests/gprs/Makefile.am:8: warning: source file '$(top_srcdir)/src/gprs/gprs_utils.c' is in a subdirectory,
tests/gprs/Makefile.am:8: but option 'subdir-objects' is disabled
[0m[91mtests/smpp/Makefile.am:31: warning: source file '$(top_builddir)/src/libmsc/smpp_utils.c' is in a subdirectory,
tests/smpp/Makefile.am:31: but option 'subdir-objects' is disabled
[0mchecking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking whether make sets $(MAKE)... (cached) yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for pkg-config... /usr/bin/pkg-config
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.20... yes
checking for library containing dlopen... -ldl
checking for LIBOSMOCORE... yes
checking for LIBOSMOVTY... yes
checking for LIBOSMOCTRL... yes
checking for LIBOSMOGSM... yes
checking for LIBOSMOABIS... yes
checking for LIBOSMOGB... yes
checking for LIBOSMONETIF... yes
checking for LIBCRYPTO... no
[91mconfigure: error: Package requirements (libcrypto >= 0.9.5) were not met:
No package 'libcrypto' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables LIBCRYPTO_CFLAGS
and LIBCRYPTO_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
[0mThe command '/bin/sh -c cd openbsc/openbsc && git fetch && git checkout -f -B master origin/master && autoreconf -fi && ./configure --enable-nat --enable-osmo-bsc --enable-smpp && make -j8 install && ldconfig' returned a non-zero code: 1
../make/Makefile:43: recipe for target 'docker-build' failed
make: *** [docker-build] Error 1
Build step 'Execute shell' marked build as failure
Recording test results
ERROR: Step ‘Publish JUnit test result report’ failed: No test report files were found. Configuration error?
Sending e-mails to: laforge@gnumonks.org
ERROR: Could not connect to SMTP host: localhost, port: 25
javax.mail.MessagingException: Could not connect to SMTP host: localhost, port: 25;
nested exception is:
java.net.ConnectException: Connection refused (Connection refused)
at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1934)
at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:638)
at javax.mail.Service.connect(Service.java:295)
at javax.mail.Service.connect(Service.java:176)
at javax.mail.Service.connect(Service.java:125)
at javax.mail.Transport.send0(Transport.java:194)
at javax.mail.Transport.send(Transport.java:124)
at hudson.tasks.MailSender.run(MailSender.java:131)
at hudson.tasks.Mailer.perform(Mailer.java:170)
at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:78)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779)
at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:720)
at hudson.model.Build$BuildExecution.post2(Build.java:186)
at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:665)
at hudson.model.Run.execute(Run.java:1753)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:98)
at hudson.model.Executor.run(Executor.java:405)
Caused by: java.net.ConnectException: Connection refused (Connection refused)
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:589)
at com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:286)
at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:231)
at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1900)
... 18 more
Finished: FAILURE