[Asterisk-code-review] tests/yappcap: Requires rawsocket. (testsuite[master])

Jenkins2 asteriskteam at digium.com
Fri Jun 22 09:03:28 CDT 2018


Jenkins2 has submitted this change and it was merged. ( https://gerrit.asterisk.org/9255 )

Change subject: tests/yappcap: Requires rawsocket.
......................................................................

tests/yappcap: Requires rawsocket.

Several tests based on the Python module yappcap require access to rawsocket.
If the Asterisk Test Suite is not started with the access permission for
rawsockets (like via sudo), those tests are skipped. Previously, they failed.

ASTERISK-27932

Change-Id: Icb6a3fdc039d46a759dbb0134c9ee3720056b281
---
M tests/channels/pjsip/subscriptions/presence/verify_bodies/verify_pidf/test-config.yaml
M tests/channels/pjsip/subscriptions/presence/verify_bodies/verify_xpidf/test-config.yaml
M tests/channels/pjsip/transfers/attended_transfer/nominal/callee_local_direct_media/test-config.yaml
M tests/channels/pjsip/transfers/attended_transfer/nominal/caller_local_direct_media/test-config.yaml
M tests/codecs/opus/fec/jitterbuffer/adaptive/test-config.yaml
M tests/codecs/opus/fec/jitterbuffer/fixed/test-config.yaml
M tests/codecs/opus/fec/no_jitterbuffer/test-config.yaml
7 files changed, 7 insertions(+), 0 deletions(-)

Approvals:
  Kevin Harwell: Looks good to me, but someone else must approve
  George Joseph: Looks good to me, approved
  Jenkins2: Approved for Submit



diff --git a/tests/channels/pjsip/subscriptions/presence/verify_bodies/verify_pidf/test-config.yaml b/tests/channels/pjsip/subscriptions/presence/verify_bodies/verify_pidf/test-config.yaml
index 6665706..3197b04 100644
--- a/tests/channels/pjsip/subscriptions/presence/verify_bodies/verify_pidf/test-config.yaml
+++ b/tests/channels/pjsip/subscriptions/presence/verify_bodies/verify_pidf/test-config.yaml
@@ -26,6 +26,7 @@
         - asterisk: 'res_pjsip'
         - asterisk: 'res_pjsip_exten_state'
         - asterisk: 'res_pjsip_pidf_body_generator'
+        - custom: 'rawsocket'
     tags:
         - pjsip
 
diff --git a/tests/channels/pjsip/subscriptions/presence/verify_bodies/verify_xpidf/test-config.yaml b/tests/channels/pjsip/subscriptions/presence/verify_bodies/verify_xpidf/test-config.yaml
index ddd92ef..e9d4b2a 100644
--- a/tests/channels/pjsip/subscriptions/presence/verify_bodies/verify_xpidf/test-config.yaml
+++ b/tests/channels/pjsip/subscriptions/presence/verify_bodies/verify_xpidf/test-config.yaml
@@ -26,6 +26,7 @@
         - asterisk: 'res_pjsip'
         - asterisk: 'res_pjsip_exten_state'
         - asterisk: 'res_pjsip_xpidf_body_generator'
+        - custom: 'rawsocket'
     tags:
         - pjsip
 
diff --git a/tests/channels/pjsip/transfers/attended_transfer/nominal/callee_local_direct_media/test-config.yaml b/tests/channels/pjsip/transfers/attended_transfer/nominal/callee_local_direct_media/test-config.yaml
index 0fde2cf..6874123 100644
--- a/tests/channels/pjsip/transfers/attended_transfer/nominal/callee_local_direct_media/test-config.yaml
+++ b/tests/channels/pjsip/transfers/attended_transfer/nominal/callee_local_direct_media/test-config.yaml
@@ -248,6 +248,7 @@
         - python : pyxb
         - python : pjsua
         - asterisk : res_pjsip
+        - custom : rawsocket
     tags:
         - pjsip
 
diff --git a/tests/channels/pjsip/transfers/attended_transfer/nominal/caller_local_direct_media/test-config.yaml b/tests/channels/pjsip/transfers/attended_transfer/nominal/caller_local_direct_media/test-config.yaml
index 2620b3e..ca7cf4b 100644
--- a/tests/channels/pjsip/transfers/attended_transfer/nominal/caller_local_direct_media/test-config.yaml
+++ b/tests/channels/pjsip/transfers/attended_transfer/nominal/caller_local_direct_media/test-config.yaml
@@ -247,6 +247,7 @@
         - python : pyxb
         - python : pjsua
         - asterisk : res_pjsip
+        - custom : rawsocket
     tags:
         - pjsip
 
diff --git a/tests/codecs/opus/fec/jitterbuffer/adaptive/test-config.yaml b/tests/codecs/opus/fec/jitterbuffer/adaptive/test-config.yaml
index 1ab6370..0d8db3b 100644
--- a/tests/codecs/opus/fec/jitterbuffer/adaptive/test-config.yaml
+++ b/tests/codecs/opus/fec/jitterbuffer/adaptive/test-config.yaml
@@ -37,6 +37,7 @@
         - asterisk : 'app_dial'
         - asterisk : 'res_pjsip'
         - asterisk : 'codec_opus'
+        - custom : 'rawsocket'
     tags:
         - pjsip
         - codec
diff --git a/tests/codecs/opus/fec/jitterbuffer/fixed/test-config.yaml b/tests/codecs/opus/fec/jitterbuffer/fixed/test-config.yaml
index 0cf78a4..92f044b 100644
--- a/tests/codecs/opus/fec/jitterbuffer/fixed/test-config.yaml
+++ b/tests/codecs/opus/fec/jitterbuffer/fixed/test-config.yaml
@@ -37,6 +37,7 @@
         - asterisk : 'app_dial'
         - asterisk : 'res_pjsip'
         - asterisk : 'codec_opus'
+        - custom : 'rawsocket'
     tags:
         - pjsip
         - codec
diff --git a/tests/codecs/opus/fec/no_jitterbuffer/test-config.yaml b/tests/codecs/opus/fec/no_jitterbuffer/test-config.yaml
index 972e32b..8fb597a 100644
--- a/tests/codecs/opus/fec/no_jitterbuffer/test-config.yaml
+++ b/tests/codecs/opus/fec/no_jitterbuffer/test-config.yaml
@@ -37,6 +37,7 @@
         - asterisk : 'app_dial'
         - asterisk : 'res_pjsip'
         - asterisk : 'codec_opus'
+        - custom : 'rawsocket'
     tags:
         - pjsip
         - codec

-- 
To view, visit https://gerrit.asterisk.org/9255
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-Project: testsuite
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Icb6a3fdc039d46a759dbb0134c9ee3720056b281
Gerrit-Change-Number: 9255
Gerrit-PatchSet: 2
Gerrit-Owner: Alexander Traud <pabstraud at compuserve.com>
Gerrit-Reviewer: Alexander Traud <pabstraud at compuserve.com>
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Jenkins2
Gerrit-Reviewer: Kevin Harwell <kharwell at digium.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20180622/75931df7/attachment-0001.html>


More information about the asterisk-code-review mailing list