[MERGED] osmo-gsm-tester[master]: gprs: ping.py: Disable ipv6 ctx activate test

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Pau Espin Pedrol gerrit-no-reply at lists.osmocom.org
Wed Dec 13 19:03:24 UTC 2017


Pau Espin Pedrol has submitted this change and it was merged.

Change subject: gprs: ping.py: Disable ipv6 ctx activate test
......................................................................


gprs: ping.py: Disable ipv6 ctx activate test

osmo-ggsn is failing to create tun ipv6 device in Prod main unit.
Afterwards, as the iface is not created, it cannot find its link-local
ip and it doesn't configure the ipv6 pool. Later on, when an ipv4v6 ctx
is requested, it fails because apn doesn't support ipv6 (because the
pool is not created).

Related: OS#2746

Change-Id: I018c525a8a3d108233740ee1376b2671fefbbb59
---
M suites/gprs/ping.py
1 file changed, 4 insertions(+), 3 deletions(-)

Approvals:
  Pau Espin Pedrol: Looks good to me, approved; Verified



diff --git a/suites/gprs/ping.py b/suites/gprs/ping.py
index 1b6d85c..5d2d847 100755
--- a/suites/gprs/ping.py
+++ b/suites/gprs/ping.py
@@ -52,11 +52,12 @@
 # TODO: send ping to server or open TCP conn with a socket in python
 ms.deactivate_context(ctx_id_v4)
 
+# We disable ipv6 for now as osmo-ggsn is failing to create tun ipv6 device in Prod main unit (OS#2746)
 # We need to use inet46 since ofono qmi only uses ipv4v6 eua (OS#2713)
-ctx_id_v6 = ms.activate_context(apn='inet46', protocol=ms.CTX_PROT_IPv6)
-sleep(5)
+# ctx_id_v6 = ms.activate_context(apn='inet46', protocol=ms.CTX_PROT_IPv6)
+# sleep(5)
 # TODO: send ping to server or open TCP conn with a socket in python
-ms.deactivate_context(ctx_id_v6)
+# ms.deactivate_context(ctx_id_v6)
 
 # IPv46 (dual) not supported in ofono qmi: org.ofono.Error.Failed: Operation failed (36)
 # ctx_id_v46 = ms.activate_context(apn='inet46', protocol=ms.CTX_PROT_IPv46)

-- 
To view, visit https://gerrit.osmocom.org/5329
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I018c525a8a3d108233740ee1376b2671fefbbb59
Gerrit-PatchSet: 2
Gerrit-Project: osmo-gsm-tester
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Pau Espin Pedrol <pespin at sysmocom.de>



More information about the gerrit-log mailing list