osmith has submitted this change. ( 
https://gerrit.osmocom.org/c/docker-playground/+/15901 )

Change subject: repo-install-test: disable osmo-ggsn service
......................................................................

repo-install-test: disable osmo-ggsn service

OsmoGGSN is not able to use the tun4 device from the default config in
docker. Since the more strict config checking in [1], it does not just
report a warning, but fails to start:

        <0002> ggsn.c:189 APN(internet): Opening TUN device tun4
        <0001> tun.c:184 errno=2/No such file or directory open() failed
        <0002> ggsn.c:191 APN(internet): Failed to configure tun device
        Error occurred during reading the below line:
          no shutdown
        Failed to open config file: '/etc/osmocom/osmo-ggsn.cfg'

Fix the repo install test jenkins job by not checking osmo-ggsn anymore.
In theory, we could probably create the tun device on the host, and
mount it inside the docker container. But that would require some
additional logic to clean it up properly, and it does not seem worth the
effort right now.

[1] libosmocore Ic9c1b566ec4a459f03e6319cf369691903cf9d00
Change-Id: I15c7a2f38a21cd96c9852ad26f4b4a81798e6593
---
M debian-repo-install-test/testdata/repo-install-test.sh
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  laforge: Looks good to me, but someone else must approve
  pespin: Looks good to me, approved
  osmith: Verified



diff --git a/debian-repo-install-test/testdata/repo-install-test.sh 
b/debian-repo-install-test/testdata/repo-install-test.sh
index 4fae488..63e1819 100755
--- a/debian-repo-install-test/testdata/repo-install-test.sh
+++ b/debian-repo-install-test/testdata/repo-install-test.sh
@@ -4,10 +4,10 @@
 # Disabled services:
 # * osmo-ctrl2cgi (missing config: /etc/osmocom/ctrl2cgi.ini, OS#4108)
 # * osmo-trap2cgi (missing config: /etc/osmocom/%N.ini, OS#4108)
+# * osmo-ggsn (no tun device in docker)
 SERVICES="
        osmo-bsc
        osmo-gbproxy
-       osmo-ggsn
        osmo-gtphub
        osmo-hlr
        osmo-mgw

--
To view, visit https://gerrit.osmocom.org/c/docker-playground/+/15901
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: docker-playground
Gerrit-Branch: master
Gerrit-Change-Id: I15c7a2f38a21cd96c9852ad26f4b4a81798e6593
Gerrit-Change-Number: 15901
Gerrit-PatchSet: 2
Gerrit-Owner: osmith <osm...@sysmocom.de>
Gerrit-Reviewer: daniel <dwillm...@sysmocom.de>
Gerrit-Reviewer: laforge <lafo...@osmocom.org>
Gerrit-Reviewer: osmith <osm...@sysmocom.de>
Gerrit-Reviewer: pespin <pes...@sysmocom.de>
Gerrit-MessageType: merged

Reply via email to