See
<https://jenkins.osmocom.org/jenkins/job/TTCN3-centos7-pcap-client-test/1136/display/redirect>
Changes:
------------------------------------------
[...truncated 11.32 KiB...]
+ echo FROM $USER/$DISTRO-build
+ grep -q $USER
+ pull_arg=
+ set +x
Building image: osmo-pcap-master-centos7 (export NO_DOCKER_IMAGE_BUILD=1 to prevent this)
+ docker_osmo_ttcn3_branch
+ [ -n ]
+ echo master
+ make -C ../osmo-pcap-master BUILD_ARGS= UPSTREAM_DISTRO=centos:centos7 DISTRO=centos7
IMAGE=osmocom-build/osmo-pcap-master-centos7 OSMO_TTCN3_BRANCH=master
make: Entering directory
'<https://jenkins.osmocom.org/jenkins/job/TTCN3-centos7-pcap-client-test/ws/osmo-pcap-master'>
awk: fatal: cannot open file `.release' for reading: No such file or directory
awk: fatal: cannot open file `.release' for reading: No such file or directory
awk: fatal: cannot open file `.release' for reading: No such file or directory
rm -rf .common
cp -r
<https://jenkins.osmocom.org/jenkins/job/TTCN3-centos7-pcap-client-test/ws/common>
.common
INFO: .release created
release=0.0.0
docker build \
--build-arg USER=osmocom-build \
--build-arg UID=1000 \
--build-arg
REGISTRY=registry.osmocom.org \
--build-arg OSMO_TTCN3_BRANCH=master \
--build-arg UPSTREAM_DISTRO=centos:centos7 \
--build-arg DISTRO=centos7 \
--build-arg
OSMOCOM_REPO_MIRROR=https://downloads.osmocom.org \
--build-arg OSMOCOM_REPO_PATH=packages/osmocom: \
--build-arg OSMOCOM_REPO_VERSION=latest \
--build-arg
OSMOCOM_REPO_TESTSUITE_MIRROR=https://downloads.osmocom.org \
--build-arg ASTERISK_BRANCH=sysmocom/20.7.0 \
--build-arg LIBOSMOCORE_BRANCH=master \
--build-arg OSMO_BB_BRANCH=master \
--build-arg OSMO_BSC_BRANCH=master \
--build-arg OSMO_BTS_BRANCH=master \
--build-arg OSMO_CBC_BRANCH=master \
--build-arg OSMO_DIA2GSUP_BRANCH=master \
--build-arg OSMO_EPDG_BRANCH=master \
--build-arg OSMO_GBPROXY_BRANCH=master \
--build-arg OSMO_GGSN_BRANCH=master \
--build-arg OSMO_GSM_TESTER_BRANCH=master \
--build-arg OSMO_HLR_BRANCH=master \
--build-arg OSMO_HNBGW_BRANCH=master \
--build-arg OSMO_HNODEB_BRANCH=master \
--build-arg OSMO_IUH_BRANCH=master \
--build-arg OSMO_MGW_BRANCH=master \
--build-arg OSMO_MSC_BRANCH=master \
--build-arg OSMO_NITB_BRANCH=master \
--build-arg OSMO_PCU_BRANCH=master \
--build-arg OSMO_REMSIM_BRANCH=master \
--build-arg OSMO_SGSN_BRANCH=master \
--build-arg OSMO_SIP_BRANCH=master \
--build-arg OSMO_STP_BRANCH=master \
--build-arg OSMO_UECUPS_BRANCH=master \
--build-arg OPEN5GS_BRANCH=main \
--build-arg PJPROJECT_BRANCH=sysmocom/2.14 \
-t osmocom-build/osmo-pcap-master-centos7:latest .
#0 building with "default" instance using docker driver
#1 [internal] load build definition from Dockerfile
#1 transferring dockerfile: 1.30kB done
#1 WARN: InvalidDefaultArgInFrom: Default value for ARG $USER/$DISTRO-build results in
empty or invalid base image name (line 3)
#1 DONE 0.0s
#2 [internal] load metadata for docker.io/osmocom-build/centos7-build:latest
#2 DONE 0.0s
#3 [internal] load .dockerignore
#3 transferring context: 2B done
#3 DONE 0.0s
#4 [internal] load build context
#4 DONE 0.0s
#5 [1/8] FROM docker.io/osmocom-build/centos7-build:latest
#5 DONE 0.0s
#6 [5/8] ADD
HTTPS://GERRIT.OSMOCOM.ORG/PLUGINS/GITILES/OSMO-PCAP/+/MASTER?FORMAT=TEXT
/tmp/commit-osmo-pcap
#6 DONE 0.1s
#7 [2/8] RUN CASE "centos7" in debian*) apt-get update && apt-get
install -y --no-install-recommends libosmocore-dev libzmq3-dev &&
apt-get clean ;; centos*) dnf install -y "pkgconfig(libosmocore)"
"pkgconfig(libosmoctrl)" "pkgconfig(libosmogb)"
"pkgconfig(libosmogsm)" "pkgconfig(libosmovty)"
"pkgconfig(libzmq)" ;; esac
#7 CACHED
#8 [3/8] WORKDIR /TMP
#8 CACHED
#9 [4/8] RUN GIT clone
https://gerrit.osmocom.org/osmo-pcap.git
#9 CACHED
#10 [5/8] ADD
HTTPS://GERRIT.OSMOCOM.ORG/PLUGINS/GITILES/OSMO-PCAP/+/MASTER?FORMAT=TEXT
/tmp/commit-osmo-pcap
#10 CACHED
#4 [internal] load build context
#4 transferring context: 251B done
#4 DONE 0.0s
#11 [6/8] RUN CD osmo-pcap && git fetch && git checkout master &&
(git symbolic-ref -q HEAD && git reset --hard origin/master || exit 1); git
rev-parse --abbrev-ref HEAD && git rev-parse HEAD && autoreconf -fi
&& ./configure && make "-j$(nproc)" install
#11 0.489 From
https://gerrit.osmocom.org/osmo-pcap
#11 0.489 + b69c374...5d4281d pespin/io -> origin/pespin/io (forced update)
#11 0.489 + f079862...bae4b2d pespin/tls -> origin/pespin/tls (forced update)
#11 0.520 Already on 'master'
#11 0.525 refs/heads/master
#11 0.531 HEAD is now at 4bf57c2 server: Use osmo_stream_srv_link on tcp listen socket
#11 0.531 master
#11 0.534 4bf57c2fe5cbf6622a19a2dd1764ebac178fc0c2
#11 3.203 libtoolize: putting auxiliary files in `.'.
#11 3.203 libtoolize: copying file `./ltmain.sh'
#11 3.607 libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
#11 3.607 libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
#11 3.607 libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
#11 3.611 libtoolize: `AC_PROG_RANLIB' is rendered obsolete by `LT_INIT'
#11 5.680 configure.ac:63: installing './config.guess'
#11 5.682 configure.ac:63: installing './config.sub'
#11 5.683 configure.ac:6: installing './install-sh'
#11 5.685 configure.ac:6: installing './missing'
#11 5.782 src/Makefile.am: installing './depcomp'
#11 5.856 checking for a BSD-compatible install... /usr/bin/install -c
#11 5.861 checking whether build environment is sane... yes
#11 5.872 checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
#11 5.875 checking for gawk... gawk
#11 5.875 checking whether make sets $(MAKE)... yes
#11 5.893 checking whether make supports nested variables... yes
#11 5.908 checking whether make supports nested variables... (cached) yes
#11 5.908 checking whether make sets $(MAKE)... (cached) yes
#11 5.913 checking for gcc... gcc
#11 5.958 checking whether the C compiler works... yes
#11 6.026 checking for C compiler default output file name... a.out
#11 6.027 checking for suffix of executables...
#11 6.060 checking whether we are cross compiling... no
#11 6.084 checking for suffix of object files... o
#11 6.112 checking whether we are using the GNU C compiler... yes
#11 6.145 checking whether gcc accepts -g... yes
#11 6.177 checking for gcc option to accept ISO C89... none needed
#11 6.213 checking for style of include used by make... GNU
#11 6.219 checking dependency style of gcc... gcc3
#11 6.301 checking for ranlib... ranlib
#11 6.316 checking build system type... x86_64-unknown-linux-gnu
#11 6.360 checking host system type... x86_64-unknown-linux-gnu
#11 6.360 checking how to print strings... printf
#11 6.364 checking for a sed that does not truncate output... /usr/bin/sed
#11 6.375 checking for grep that handles long lines and -e... /usr/bin/grep
#11 6.379 checking for egrep... /usr/bin/grep -E
#11 6.382 checking for fgrep... /usr/bin/grep -F
#11 6.386 checking for ld used by gcc... /usr/bin/ld
#11 6.397 checking if the linker (/usr/bin/ld) is GNU ld... yes
#11 6.401 checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
#11 6.408 checking the name lister (/usr/bin/nm -B) interface... BSD nm
#11 6.456 checking whether ln -s works... yes
#11 6.456 checking the maximum length of command line arguments... 1572864
#11 6.467 checking whether the shell understands some XSI constructs... yes
#11 6.469 checking whether the shell understands "+="... yes
#11 6.477 checking how to convert x86_64-unknown-linux-gnu file names to
x86_64-unknown-linux-gnu format... func_convert_file_noop
#11 6.478 checking how to convert x86_64-unknown-linux-gnu file names to toolchain
format... func_convert_file_noop
#11 6.478 checking for /usr/bin/ld option to reload object files... -r
#11 6.479 checking for objdump... objdump
#11 6.480 checking how to recognize dependent libraries... pass_all
#11 6.482 checking for dlltool... no
#11 6.483 checking how to associate runtime and link libraries... printf %s\n
#11 6.483 checking for ar... ar
#11 6.484 checking for archiver @FILE support... @
#11 6.538 checking for strip... strip
#11 6.539 checking for ranlib... (cached) ranlib
#11 6.540 checking command to parse /usr/bin/nm -B output from gcc object... ok
#11 6.661 checking for sysroot... no
#11 6.683 ./configure: line 6418: /usr/bin/file: No such file or directory
#11 6.687 checking for mt... no
#11 6.687 checking if : is a manifest tool... no
#11 6.699 checking how to run the C preprocessor... gcc -E
#11 6.794 checking for ANSI C header files... yes
#11 6.910 checking for sys/types.h... yes
#11 6.952 checking for sys/stat.h... yes
#11 6.991 checking for stdlib.h... yes
#11 7.022 checking for string.h... yes
#11 7.059 checking for memory.h... yes
#11 7.094 checking for strings.h... yes
#11 7.121 checking for inttypes.h... yes
#11 7.159 checking for stdint.h... yes
#11 7.192 checking for unistd.h... yes
#11 7.224 checking for dlfcn.h... yes
#11 7.244 checking for objdir... .libs
#11 7.293 checking if gcc supports -fno-rtti -fno-exceptions... no
#11 7.324 checking for gcc option to produce PIC... -fPIC -DPIC
#11 7.324 checking if gcc PIC flag -fPIC -DPIC works... yes
#11 7.369 checking if gcc static flag -static works... no
#11 7.410 checking if gcc supports -c -o file.o... yes
#11 7.477 checking if gcc supports -c -o file.o... (cached) yes
#11 7.477 checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
#11 7.496 checking whether -lc should be explicitly linked in... no
#11 7.551 checking dynamic linker characteristics... GNU/Linux ld.so
#11 7.620 checking how to hardcode library paths into programs... immediate
#11 7.620 checking whether stripping libraries is possible... yes
#11 7.622 checking if libtool supports shared libraries... yes
#11 7.622 checking whether to build shared libraries... yes
#11 7.622 checking whether to build static libraries... yes
#11 7.623 checking for pkg-config... /usr/bin/pkg-config
#11 7.624 checking for pkg-config... /usr/bin/pkg-config
#11 7.625 checking pkg-config is at least version 0.20... yes
#11 7.628 checking for ANSI C header files... (cached) yes
#11 7.636 checking whether to enable VTY tests... no
#11 7.637 checking for pcap-config... /usr/bin/pcap-config
#11 7.645 checking for LIBOSMOCORE... yes
#11 7.667 checking for LIBOSMOGB... yes
#11 7.690 checking for LIBOSMOGSM... yes
#11 7.712 checking for LIBOSMOVTY... yes
#11 7.733 checking for LIBOSMONETIF... no
#11 7.751 configure: error: Package requirements (libosmo-netif >= 1.5.0) were not
met:
#11 7.751
#11 7.751 No package 'libosmo-netif' found
#11 7.751
#11 7.751 Consider adjusting the PKG_CONFIG_PATH environment variable if you
#11 7.751 installed software in a non-standard prefix.
#11 7.751
#11 7.751 Alternatively, you may set the environment variables LIBOSMONETIF_CFLAGS
#11 7.751 and LIBOSMONETIF_LIBS to avoid the need to call pkg-config.
#11 7.751 See the pkg-config man page for more details.
#11 ERROR: process "/bin/sh -c cd osmo-pcap && \tgit fetch && git
checkout $OSMO_PCAP_BRANCH && \t(git symbolic-ref -q HEAD && git reset
--hard origin/$OSMO_PCAP_BRANCH || exit 1); \tgit rev-parse --abbrev-ref HEAD &&
git rev-parse HEAD && \tautoreconf -fi && \t./configure && \tmake
\"-j$(nproc)\" install" did not complete successfully: exit code: 1
------
[6/8] RUN CD osmo-pcap && git fetch
&& git checkout master && (git symbolic-ref -q HEAD && git reset
--hard origin/master || exit 1); git rev-parse --abbrev-ref HEAD && git rev-parse
HEAD && autoreconf -fi && ./configure && make
"-j$(nproc)" install:
7.751 configure: error: Package requirements
(libosmo-netif >= 1.5.0) were not met:
7.751
7.751 No package 'libosmo-netif' found
7.751
7.751 Consider adjusting the PKG_CONFIG_PATH environment variable if you
7.751 installed software in a non-standard prefix.
7.751
7.751 Alternatively, you may set the environment variables LIBOSMONETIF_CFLAGS
7.751 and LIBOSMONETIF_LIBS to avoid the need to call pkg-config.
7.751 See the pkg-config man page for more details.
------
[33m1 warning found (use docker --debug to expand):
[0m - InvalidDefaultArgInFrom: Default value for ARG $USER/$DISTRO-build results in empty
or invalid base image name (line 3)
Dockerfile:34
--------------------
33 |
34 | >>> RUN cd osmo-pcap && \
35 | >>> git fetch && git checkout $OSMO_PCAP_BRANCH && \
36 | >>> (git symbolic-ref -q HEAD && git reset --hard
origin/$OSMO_PCAP_BRANCH || exit 1); \
37 | >>> git rev-parse --abbrev-ref HEAD && git rev-parse HEAD
&& \
38 | >>> autoreconf -fi && \
39 | >>> ./configure && \
40 | >>> make "-j$(nproc)" install
41 |
--------------------
ERROR: failed to solve: process "/bin/sh -c cd osmo-pcap && \tgit fetch
&& git checkout $OSMO_PCAP_BRANCH && \t(git symbolic-ref -q HEAD
&& git reset --hard origin/$OSMO_PCAP_BRANCH || exit 1); \tgit rev-parse
--abbrev-ref HEAD && git rev-parse HEAD && \tautoreconf -fi &&
\t./configure && \tmake \"-j$(nproc)\" install" did not complete
successfully: exit code: 1
make: *** [../make/Makefile:95: docker-build] Error 1
make: Leaving directory
'<https://jenkins.osmocom.org/jenkins/job/TTCN3-centos7-pcap-client-test/ws/osmo-pcap-master'>
+ exit 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?