See
<https://jenkins.osmocom.org/jenkins/job/TTCN3-centos7-pcap-client-test/1137/display/redirect>
Changes:
------------------------------------------
[...truncated 11.44 KiB...]
+ [ -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
#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
#4 [internal] load build context
#4 transferring context: 251B done
#4 DONE 0.0s
#10 [5/8] ADD
HTTPS://GERRIT.OSMOCOM.ORG/PLUGINS/GITILES/OSMO-PCAP/+/MASTER?FORMAT=TEXT
/tmp/commit-osmo-pcap
#10 DONE 0.2s
#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.515 From
https://gerrit.osmocom.org/osmo-pcap
#11 0.515 4bf57c2..f9eedab master -> origin/master
#11 0.516 + b69c374...5d4281d pespin/io -> origin/pespin/io (forced update)
#11 0.516 + f079862...bae4b2d pespin/tls -> origin/pespin/tls (forced update)
#11 0.549 Already on 'master'
#11 0.550 Your branch is behind 'origin/master' by 1 commit, and can be
fast-forwarded.
#11 0.550 (use "git pull" to update your local branch)
#11 0.553 refs/heads/master
#11 0.570 HEAD is now at f9eedab server: Correct error check calling
osmo_pcap_conn_process_data()
#11 0.574 master
#11 0.577 f9eedab949e5fd7dcfba728c5d525a0f9d6c4f27
#11 3.328 libtoolize: putting auxiliary files in `.'.
#11 3.328 libtoolize: copying file `./ltmain.sh'
#11 3.665 libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
#11 3.665 libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
#11 3.665 libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
#11 3.669 libtoolize: `AC_PROG_RANLIB' is rendered obsolete by `LT_INIT'
#11 5.853 configure.ac:63: installing './config.guess'
#11 5.857 configure.ac:63: installing './config.sub'
#11 5.861 configure.ac:6: installing './install-sh'
#11 5.865 configure.ac:6: installing './missing'
#11 5.975 src/Makefile.am: installing './depcomp'
#11 6.058 checking for a BSD-compatible install... /usr/bin/install -c
#11 6.067 checking whether build environment is sane... yes
#11 6.087 checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
#11 6.092 checking for gawk... gawk
#11 6.093 checking whether make sets $(MAKE)... yes
#11 6.115 checking whether make supports nested variables... yes
#11 6.130 checking whether make supports nested variables... (cached) yes
#11 6.131 checking whether make sets $(MAKE)... (cached) yes
#11 6.136 checking for gcc... gcc
#11 6.184 checking whether the C compiler works... yes
#11 6.262 checking for C compiler default output file name... a.out
#11 6.263 checking for suffix of executables...
#11 6.283 checking whether we are cross compiling... no
#11 6.329 checking for suffix of object files... o
#11 6.361 checking whether we are using the GNU C compiler... yes
#11 6.409 checking whether gcc accepts -g... yes
#11 6.436 checking for gcc option to accept ISO C89... none needed
#11 6.457 checking for style of include used by make... GNU
#11 6.461 checking dependency style of gcc... gcc3
#11 6.501 checking for ranlib... ranlib
#11 6.520 checking build system type... x86_64-unknown-linux-gnu
#11 6.631 checking host system type... x86_64-unknown-linux-gnu
#11 6.633 checking how to print strings... printf
#11 6.638 checking for a sed that does not truncate output... /usr/bin/sed
#11 6.650 checking for grep that handles long lines and -e... /usr/bin/grep
#11 6.655 checking for egrep... /usr/bin/grep -E
#11 6.659 checking for fgrep... /usr/bin/grep -F
#11 6.663 checking for ld used by gcc... /usr/bin/ld
#11 6.674 checking if the linker (/usr/bin/ld) is GNU ld... yes
#11 6.679 checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
#11 6.686 checking the name lister (/usr/bin/nm -B) interface... BSD nm
#11 6.719 checking whether ln -s works... yes
#11 6.719 checking the maximum length of command line arguments... 1572864
#11 6.729 checking whether the shell understands some XSI constructs... yes
#11 6.730 checking whether the shell understands "+="... yes
#11 6.739 checking how to convert x86_64-unknown-linux-gnu file names to
x86_64-unknown-linux-gnu format... func_convert_file_noop
#11 6.739 checking how to convert x86_64-unknown-linux-gnu file names to toolchain
format... func_convert_file_noop
#11 6.739 checking for /usr/bin/ld option to reload object files... -r
#11 6.740 checking for objdump... objdump
#11 6.741 checking how to recognize dependent libraries... pass_all
#11 6.743 checking for dlltool... no
#11 6.744 checking how to associate runtime and link libraries... printf %s\n
#11 6.745 checking for ar... ar
#11 6.745 checking for archiver @FILE support... @
#11 6.799 checking for strip... strip
#11 6.800 checking for ranlib... (cached) ranlib
#11 6.801 checking command to parse /usr/bin/nm -B output from gcc object... ok
#11 6.924 checking for sysroot... no
#11 6.937 ./configure: line 6418: /usr/bin/file: No such file or directory
#11 6.940 checking for mt... no
#11 6.941 checking if : is a manifest tool... no
#11 6.951 checking how to run the C preprocessor... gcc -E
#11 7.045 checking for ANSI C header files... yes
#11 7.175 checking for sys/types.h... yes
#11 7.227 checking for sys/stat.h... yes
#11 7.266 checking for stdlib.h... yes
#11 7.305 checking for string.h... yes
#11 7.343 checking for memory.h... yes
#11 7.383 checking for strings.h... yes
#11 7.421 checking for inttypes.h... yes
#11 7.452 checking for stdint.h... yes
#11 7.481 checking for unistd.h... yes
#11 7.521 checking for dlfcn.h... yes
#11 7.549 checking for objdir... .libs
#11 7.623 checking if gcc supports -fno-rtti -fno-exceptions... no
#11 7.644 checking for gcc option to produce PIC... -fPIC -DPIC
#11 7.644 checking if gcc PIC flag -fPIC -DPIC works... yes
#11 7.683 checking if gcc static flag -static works... no
#11 7.719 checking if gcc supports -c -o file.o... yes
#11 7.785 checking if gcc supports -c -o file.o... (cached) yes
#11 7.785 checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
#11 7.804 checking whether -lc should be explicitly linked in... no
#11 7.864 checking dynamic linker characteristics... GNU/Linux ld.so
#11 7.944 checking how to hardcode library paths into programs... immediate
#11 7.944 checking whether stripping libraries is possible... yes
#11 7.947 checking if libtool supports shared libraries... yes
#11 7.947 checking whether to build shared libraries... yes
#11 7.947 checking whether to build static libraries... yes
#11 7.948 checking for pkg-config... /usr/bin/pkg-config
#11 7.949 checking for pkg-config... /usr/bin/pkg-config
#11 7.950 checking pkg-config is at least version 0.20... yes
#11 7.954 checking for ANSI C header files... (cached) yes
#11 7.962 checking whether to enable VTY tests... no
#11 7.963 checking for pcap-config... /usr/bin/pcap-config
#11 7.971 checking for LIBOSMOCORE... yes
#11 7.993 checking for LIBOSMOGB... yes
#11 8.016 checking for LIBOSMOGSM... yes
#11 8.037 checking for LIBOSMOVTY... yes
#11 8.059 checking for LIBOSMONETIF... no
#11 8.076 configure: error: Package requirements (libosmo-netif >= 1.5.0) were not
met:
#11 8.076
#11 8.076 No package 'libosmo-netif' found
#11 8.076
#11 8.076 Consider adjusting the PKG_CONFIG_PATH environment variable if you
#11 8.076 installed software in a non-standard prefix.
#11 8.076
#11 8.076 Alternatively, you may set the environment variables LIBOSMONETIF_CFLAGS
#11 8.076 and LIBOSMONETIF_LIBS to avoid the need to call pkg-config.
#11 8.076 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:
8.076 configure: error: Package requirements
(libosmo-netif >= 1.5.0) were not met:
8.076
8.076 No package 'libosmo-netif' found
8.076
8.076 Consider adjusting the PKG_CONFIG_PATH environment variable if you
8.076 installed software in a non-standard prefix.
8.076
8.076 Alternatively, you may set the environment variables LIBOSMONETIF_CFLAGS
8.076 and LIBOSMONETIF_LIBS to avoid the need to call pkg-config.
8.076 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?