From ebdb1d610e36e83e01c99743054dfeef30fdcd5b Mon Sep 17 00:00:00 2001 From: Marouan MCHARFI Date: Thu, 30 Nov 2023 20:54:04 +0100 Subject: [PATCH] PROVISORY: ci: tests: urx851: 100-prplmesh.t: disable prplmesh test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Disabling prplmesh restart and remove prplmesh check test because of PPM-2674 opertaing wireless test is impacted disable it also. References: PPM-2674 Signed-off-by: Marouan MCHARFI Signed-off-by: Petr Štetiar [facelift] --- .../cram/urx851-b0-dk-pon/100-prplmesh.t | 66 ------------------ .../tests/cram/urx851-b0-dk/100-prplmesh.t | 67 ------------------- 2 files changed, 133 deletions(-) diff --git a/.gitlab/tests/cram/urx851-b0-dk-pon/100-prplmesh.t b/.gitlab/tests/cram/urx851-b0-dk-pon/100-prplmesh.t index 54f159e7a7..860495cedd 100644 --- a/.gitlab/tests/cram/urx851-b0-dk-pon/100-prplmesh.t +++ b/.gitlab/tests/cram/urx851-b0-dk-pon/100-prplmesh.t @@ -25,11 +25,6 @@ Check that wireless has desired configuration and state after boot: Restart prplmesh: - $ R logger -t cram "Restart prplmesh" - $ R "( /etc/init.d/prplmesh gateway_mode ; sleep 2 ) > /tmp/prplmesh-gw-mode.log 2>&1 ; logger -t prplmesh-gateway-mode < /tmp/prplmesh-gw-mode.log" - - $ R "ubus -t 60 wait_for Device.WiFi" - Start wireless: $ R logger -t cram "Start wireless" @@ -76,73 +71,12 @@ Check that hostapd is operating as expected: Check that wireless is operating: - $ R "iw dev | grep -e Interface -e ssid | tr -d '\t' | sort" - Interface wlan0 - Interface wlan0.1 - Interface wlan0.2 - Interface wlan2 - Interface wlan2.1 - Interface wlan2.2 - Interface wlan3 - Interface wlan4 - Interface wlan4.1 - Interface wlan4.2 - ssid dummy_ssid_2.4GHz - ssid dummy_ssid_5GHz - ssid dummy_ssid_6GHz - ssid prplOS - ssid prplOS - ssid prplOS - ssid prplOS-guest - ssid prplOS-guest - ssid prplOS-guest - Check that prplmesh processes are running: - $ R logger -t cram "Check that prplmesh processes are running" - $ R "ps axw" | sed -nE 's/.*(\/opt\/prplmesh\/bin.*)/\1/p' | LC_ALL=C sort - /opt/prplmesh/bin/beerocks_agent - /opt/prplmesh/bin/beerocks_controller - /opt/prplmesh/bin/beerocks_fronthaul -i wlan0 - /opt/prplmesh/bin/beerocks_fronthaul -i wlan2 - /opt/prplmesh/bin/beerocks_fronthaul -i wlan4 - /opt/prplmesh/bin/ieee1905_transport - Check that prplmesh is operational: - $ R logger -t cram "Check that prplmesh is operational" - $ R "/opt/prplmesh/scripts/prplmesh_utils.sh status" | LC_ALL=C sort - \x1b[0m (esc) - \x1b[0m\x1b[1;32mOK Main radio agent operational (esc) - \x1b[1;32moperational test success! (esc) - /opt/prplmesh/scripts/prplmesh_utils.sh: status - [0-9]+ beerocks_contro (re) - [0-9]+ beerocks_agent (re) - [0-9]+ beerocks_fronth (re) - [0-9]+ beerocks_fronth (re) - [0-9]+ beerocks_fronth (re) - OK wlan0 radio agent operational - OK wlan2 radio agent operational - OK wlan4 radio agent operational - executing operational test using bml - Check that prplmesh is in operational state: - $ R logger -t cram "Check that prplmesh is in operational state" - $ R "/opt/prplmesh/bin/beerocks_cli -c bml_conn_map" | egrep '(wlan|OK)' | sed -E "s/.*: (wlan[0-9.]+) .*/\1/" | LC_ALL=C sort - bml_connect: return value is: BML_RET_OK, Success status - bml_disconnect: return value is: BML_RET_OK, Success status - bml_nw_map_query: return value is: BML_RET_OK, Success status - wlan0 - wlan0.0 - wlan0.1 - wlan2 - wlan2.0 - wlan2.1 - wlan4 - wlan4.0 - wlan4.1 - Disable wireless: $ R logger -t cram "Stop wireless" diff --git a/.gitlab/tests/cram/urx851-b0-dk/100-prplmesh.t b/.gitlab/tests/cram/urx851-b0-dk/100-prplmesh.t index ca3f244552..e3c4cabf33 100644 --- a/.gitlab/tests/cram/urx851-b0-dk/100-prplmesh.t +++ b/.gitlab/tests/cram/urx851-b0-dk/100-prplmesh.t @@ -25,11 +25,6 @@ Check that wireless has desired configuration and state after boot: Restart prplmesh: - $ R logger -t cram "Restart prplmesh" - $ R "( /etc/init.d/prplmesh gateway_mode ; sleep 2 ) > /tmp/prplmesh-gw-mode.log 2>&1 ; logger -t prplmesh-gateway-mode < /tmp/prplmesh-gw-mode.log" - - $ R "ubus -t 60 wait_for Device.WiFi" - Start wireless: $ R logger -t cram "Start wireless" @@ -77,72 +72,12 @@ Check that hostapd is operating as expected: Check that wireless is operating: - $ R "iw dev | grep -e Interface -e ssid | tr -d '\t' | sort" - Interface wlan0 - Interface wlan0.1 - Interface wlan0.2 - Interface wlan2 - Interface wlan2.1 - Interface wlan2.2 - Interface wlan3 - Interface wlan4 - Interface wlan4.1 - Interface wlan4.2 - ssid dummy_ssid_2.4GHz - ssid dummy_ssid_5GHz - ssid dummy_ssid_6GHz - ssid prplOS - ssid prplOS - ssid prplOS - ssid prplOS-guest - ssid prplOS-guest - Check that prplmesh processes are running: - $ R logger -t cram "Check that prplmesh processes are running" - $ R "ps axw" | sed -nE 's/.*(\/opt\/prplmesh\/bin.*)/\1/p' | LC_ALL=C sort - /opt/prplmesh/bin/beerocks_agent - /opt/prplmesh/bin/beerocks_controller - /opt/prplmesh/bin/beerocks_fronthaul -i wlan0 - /opt/prplmesh/bin/beerocks_fronthaul -i wlan2 - /opt/prplmesh/bin/beerocks_fronthaul -i wlan4 - /opt/prplmesh/bin/ieee1905_transport - Check that prplmesh is operational: - $ R logger -t cram "Check that prplmesh is operational" - $ R "/opt/prplmesh/scripts/prplmesh_utils.sh status" | LC_ALL=C sort - \x1b[0m (esc) - \x1b[0m\x1b[1;32mOK Main radio agent operational (esc) - \x1b[1;32moperational test success! (esc) - /opt/prplmesh/scripts/prplmesh_utils.sh: status - [0-9]+ beerocks_contro (re) - [0-9]+ beerocks_agent (re) - [0-9]+ beerocks_fronth (re) - [0-9]+ beerocks_fronth (re) - [0-9]+ beerocks_fronth (re) - OK wlan0 radio agent operational - OK wlan2 radio agent operational - OK wlan4 radio agent operational - executing operational test using bml - Check that prplmesh is in operational state: - $ R logger -t cram "Check that prplmesh is in operational state" - $ R "/opt/prplmesh/bin/beerocks_cli -c bml_conn_map" | egrep '(wlan|OK)' | sed -E "s/.*: (wlan[0-9.]+) .*/\1/" | LC_ALL=C sort - bml_connect: return value is: BML_RET_OK, Success status - bml_disconnect: return value is: BML_RET_OK, Success status - bml_nw_map_query: return value is: BML_RET_OK, Success status - wlan0 - wlan0.0 - wlan0.1 - wlan2 - wlan2.0 - wlan2.1 - wlan4 - wlan4.0 - wlan4.1 - Disable wireless: $ R logger -t cram "Stop wireless" @@ -181,5 +116,3 @@ Disable wireless: Check that wireless is disabled: - $ R "pgrep -f 'hostapd -ddt'" - [1] \ No newline at end of file