See
<https://jenkins.osmocom.org/jenkins/job/Osmocom-repo-install-centos8/feed=latest,label=repo-install-test/402/display/redirect>
Changes:
------------------------------------------
[...truncated 9.94 KB...]
test_conflict
install_repo_packages
test_binaries
services_check
+ [ -z ]
+ PROJ_CONFLICT=network:osmocom:nightly
+ docker inspect -f {{.State.Running}} centos8-repo-install-test-latest
+ [ = true ]
+ args=
+ [ -n ]
+ check_if_systemd_is_running
+ docker run --rm -v
<https://jenkins.osmocom.org/jenkins/job/Osmocom-repo-install-centos8/feed=latest,label=repo-install-test/ws/scripts/repo-install-test>:/repo-install-test:ro
--name centos8-repo-install-test-latest -e FEED=latest -e PROJ=network:osmocom:latest -e
PROJ_CONFLICT=network:osmocom:nightly -e DISTRO=centos8 -e TESTS=
test_conflict
install_repo_packages
test_binaries
services_check
-e container=docker --tmpfs /run --tmpfs /run/lock+ --tmpfs /tmp -v
/sys/fs/cgroup:/sys/fs/cgroup:ro --cap-add SYS_ADMIN --cap-add SYS_NICE
osmocom-build/centos8-repo-install-test /lib/systemd/systemd
seq 1 10
+ sleep 1
+ docker exec centos8-repo-install-test-latest systemctl status
● 133f7400b0cc
State: running
Jobs: 0 queued
Failed: 0 units
Since: Sat 2021-12-18 10:04:17 UTC; 309ms ago
CGroup: /docker/133f7400b0ccf0501ca4f8f39cf35591ffaf3446715dd978fe1805643d5d36ba
├─34 systemctl status
├─init.scope
│ └─1 /lib/systemd/systemd
└─system.slice
├─systemd-journald.service
│ └─26 /usr/lib/systemd/systemd-journald
└─dbus.service
└─32 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile
--systemd-activation --syslog-only
+ return
+ ret=0
+ docker exec centos8-repo-install-test-latest /repo-install-test/run-inside-docker.sh
+ SERVICES='
osmo-bsc
osmo-bts-virtual
osmo-gbproxy
osmo-gtphub
osmo-hlr
osmo-hnbgw
osmo-mgw
osmo-msc
osmo-pcap-client
osmo-pcu
osmo-sgsn
osmo-sip-connector
osmo-stp
'
+ SERVICES_NIGHTLY='
osmo-pcap-server
osmo-hnodeb
'
++ distro_obsdir
++ case "$DISTRO" in
++ echo CentOS_8
+ DISTRO_OBSDIR=CentOS_8
+ check_env
+ '[' -n latest ']'
+ echo 'Checking feed: latest'
Checking feed: latest
Checking project: network:osmocom:latest
+ '[' -n network:osmocom:latest ']'
+ echo 'Checking project: network:osmocom:latest'
+ '[' -n network:osmocom:nightly ']'
+ echo 'Checking conflicting project: network:osmocom:nightly'
+ '[' -n centos8 ']'
+ echo 'Linux distribution: centos8'
Checking conflicting project: network:osmocom:nightly
Linux distribution: centos8
Enabled tests:
test_conflict
install_repo_packages
test_binaries
services_check
+ '[' -n '
test_conflict
install_repo_packages
test_binaries
services_check
' ']'
+ echo 'Enabled tests:
test_conflict
install_repo_packages
test_binaries
services_check
'
+ configure_keep_cache
+ '[' -z '' ']'
+ return
+ configure_osmocom_repo network:osmocom:latest
+ case "$DISTRO" in
+ configure_osmocom_repo_centos network:osmocom:latest
+ local proj=network:osmocom:latest
++ proj_with_slashes network:osmocom:latest
++ echo network:osmocom:latest
++ sed s.:.:/.g
+ local
baseurl=https://download.opensuse.org/repositories/network:/osmocom:/latest…
+ echo 'Configuring Osmocom repository'
+ cat
Configuring Osmocom repository
++ proj_with_underscore network:osmocom:latest
++ echo network:osmocom:latest
++ tr : _
+ for test in $TESTS
+ set +x
+ case "$test" in
+ test_conflict
### Running test: test_conflict ###
+ case "$DISTRO" in
+ test_conflict_centos
+ dnf -y install libosmocore-devel
CentOS Linux 8 - AppStream 16 kB/s | 4.3 kB 00:00
CentOS Linux 8 - AppStream 37 MB/s | 8.2 MB 00:00
CentOS Linux 8 - BaseOS 13 kB/s | 3.9 kB 00:00
CentOS Linux 8 - BaseOS 30 MB/s | 3.5 MB 00:00
CentOS Linux 8 - Extras 7.3 kB/s | 1.5 kB 00:00
CentOS Linux 8 - Extras 229 kB/s | 10 kB 00:00
CentOS Linux 8 - PowerTools 5.2 MB/s | 2.3 MB 00:00
network:osmocom:latest 343 kB/s | 140 kB 00:00
Dependencies resolved.
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
libosmocore-devel x86_64 1.6.0-1.2 network_osmocom_latest 73 k
Installing dependencies:
libosmocore18 x86_64 1.6.0-1.2 network_osmocom_latest 102 k
libpkgconf x86_64 1.4.2-1.el8 baseos 35 k
libtalloc x86_64 2.3.2-1.el8 baseos 49 k
libtalloc-devel x86_64 2.3.2-1.el8 baseos 63 k
lksctp-tools x86_64 1.0.18-3.el8 baseos 100 k
osmocom-latest x86_64 1.0.0-4.14 network_osmocom_latest 6.9 k
pkgconf x86_64 1.4.2-1.el8 baseos 38 k
pkgconf-m4 noarch 1.4.2-1.el8 baseos 17 k
pkgconf-pkg-config x86_64 1.4.2-1.el8 baseos 15 k
Transaction Summary
================================================================================
Install 10 Packages
Total download size: 499 k
Installed size: 1.0 M
Downloading Packages:
(1/10): libpkgconf-1.4.2-1.el8.x86_64.rpm 2.0 MB/s | 35 kB 00:00
(2/10): libtalloc-2.3.2-1.el8.x86_64.rpm 2.2 MB/s | 49 kB 00:00
(3/10): libtalloc-devel-2.3.2-1.el8.x86_64.rpm 2.3 MB/s | 63 kB 00:00
(4/10): pkgconf-1.4.2-1.el8.x86_64.rpm 6.1 MB/s | 38 kB 00:00
(5/10): lksctp-tools-1.0.18-3.el8.x86_64.rpm 7.9 MB/s | 100 kB 00:00
(6/10): pkgconf-m4-1.4.2-1.el8.noarch.rpm 2.9 MB/s | 17 kB 00:00
(7/10): pkgconf-pkg-config-1.4.2-1.el8.x86_64.r 787 kB/s | 15 kB 00:00
(8/10): osmocom-latest-1.0.0-4.14.x86_64.rpm 25 kB/s | 6.9 kB 00:00
(9/10): libosmocore-devel-1.6.0-1.2.x86_64.rpm 225 kB/s | 73 kB 00:00
(10/10): libosmocore18-1.6.0-1.2.x86_64.rpm 292 kB/s | 102 kB 00:00
--------------------------------------------------------------------------------
Total 1.2 MB/s | 499 kB 00:00
warning:
/var/cache/dnf/network_osmocom_latest-8b7013a6e7aa66d4/packages/libosmocore-devel-1.6.0-1.2.x86_64.rpm:
Header V3 RSA/SHA256 Signature, key ID 17280ddf: NOKEY
network:osmocom:latest 24 kB/s | 1.1 kB 00:00
Importing GPG key 0x17280DDF:
Userid : "network OBS Project <network(a)build.opensuse.org>"
Fingerprint: 0080 689B E757 A876 CB7D C269 62EB 1A09 1728 0DDF
From :
https://download.opensuse.org/repositories/network:/osmocom:/latest/CentOS_…
Key imported successfully
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : osmocom-latest-1.0.0-4.14.x86_64 1/10
Installing : libtalloc-2.3.2-1.el8.x86_64 2/10
Installing : pkgconf-m4-1.4.2-1.el8.noarch 3/10
Installing : lksctp-tools-1.0.18-3.el8.x86_64 4/10
Running scriptlet: lksctp-tools-1.0.18-3.el8.x86_64 4/10
Installing : libosmocore18-1.6.0-1.2.x86_64 5/10
Running scriptlet: libosmocore18-1.6.0-1.2.x86_64 5/10
Installing : libpkgconf-1.4.2-1.el8.x86_64 6/10
Installing : pkgconf-1.4.2-1.el8.x86_64 7/10
Installing : pkgconf-pkg-config-1.4.2-1.el8.x86_64 8/10
Installing : libtalloc-devel-2.3.2-1.el8.x86_64 9/10
Installing : libosmocore-devel-1.6.0-1.2.x86_64 10/10
Running scriptlet: libosmocore-devel-1.6.0-1.2.x86_64 10/10
Verifying : libpkgconf-1.4.2-1.el8.x86_64 1/10
Verifying : libtalloc-2.3.2-1.el8.x86_64 2/10
Verifying : libtalloc-devel-2.3.2-1.el8.x86_64 3/10
Verifying : lksctp-tools-1.0.18-3.el8.x86_64 4/10
Verifying : pkgconf-1.4.2-1.el8.x86_64 5/10
Verifying : pkgconf-m4-1.4.2-1.el8.noarch 6/10
Verifying : pkgconf-pkg-config-1.4.2-1.el8.x86_64 7/10
Verifying : libosmocore-devel-1.6.0-1.2.x86_64 8/10
Verifying : libosmocore18-1.6.0-1.2.x86_64 9/10
Verifying : osmocom-latest-1.0.0-4.14.x86_64 10/10
Installed:
libosmocore-devel-1.6.0-1.2.x86_64 libosmocore18-1.6.0-1.2.x86_64
libpkgconf-1.4.2-1.el8.x86_64 libtalloc-2.3.2-1.el8.x86_64
libtalloc-devel-2.3.2-1.el8.x86_64 lksctp-tools-1.0.18-3.el8.x86_64
osmocom-latest-1.0.0-4.14.x86_64 pkgconf-1.4.2-1.el8.x86_64
pkgconf-m4-1.4.2-1.el8.noarch pkgconf-pkg-config-1.4.2-1.el8.x86_64
Complete!
+ configure_osmocom_repo_centos_remove network:osmocom:latest
+ local proj=network:osmocom:latest
+ rm /etc/yum.repos.d/network:osmocom:latest.repo
+ configure_osmocom_repo_centos network:osmocom:nightly
+ local proj=network:osmocom:nightly
++ proj_with_slashes network:osmocom:nightly
++ echo network:osmocom:nightly
++ sed s.:.:/.g
+ local
baseurl=https://download.opensuse.org/repositories/network:/osmocom:/nightl…
+ echo 'Configuring Osmocom repository'
+ cat
Configuring Osmocom repository
++ proj_with_underscore network:osmocom:nightly
++ echo network:osmocom:nightly
++ tr : _
+ tee /tmp/out
+ dnf -y install osmo-mgw
network:osmocom:nightly 702 kB/s | 228 kB 00:00
Error:
Problem: cannot install the best candidate for the job
- nothing provides osmocom-nightly = 1.0.0.202112170026 needed by
osmo-mgw-1.9.0.7.bc3f.202112170026-1.2.x86_64
(try to add '--skip-broken' to skip uninstallable packages or '--nobest'
to use not only best candidate packages)
+ '[' -e /tmp/fail ']'
+ find_patterns_or_exit /tmp/out '^Error:' 'but none of the providers can be
installed' 'conflicts with osmocom-'
+ local file=/tmp/out
+ local pattern
+ shift
+ for pattern in "$@"
+ grep -q '^Error:' /tmp/out
+ continue
+ for pattern in "$@"
+ grep -q 'but none of the providers can be installed' /tmp/out
+ echo 'ERROR: could not find pattern '\''but none of the providers can be
installed'\'' in file '\''/tmp/out'\''!'
+ exit 1
ERROR: could not find pattern 'but none of the providers can be installed' in file
'/tmp/out'!
+ ret=1
+ [ -n ]
+ docker container kill centos8-repo-install-test-latest
centos8-repo-install-test-latest
+ exit 1
Build step 'Execute shell' marked build as failure