From 1dea88e8fb170505abece0ad87da86874beccdd3 Mon Sep 17 00:00:00 2001 From: Sathishkumar Selvam Date: Tue, 27 Jan 2026 09:56:23 +0000 Subject: [PATCH] ci: cram: update testcase 010-procd-spawned-process.t (PCF-2139) Currently all missed components are migrated to procd as part of Overflow ticket [PCF-2139] except amx-shutdown-wait since amx-shutdown-wait doesnt seems to be init based start-up script, It does have only logic to handle shutdown all amx process in a customized way, Hence it doesnt seems to be eligible for procd based migration and doesnt take care further Hence Updated the testcase 010-procd-spawned-process.t to have only "amx-shutdown-wait" still using amx_init_functions.sh (non-procd based) and removed all other services which are successfully migrated to procd to scope with procd migrated services verification Implements:PCF-2139 Signed-off-by: Sathishkumar Selvam --- .../tests/cram/generic/procd/010-procd-spawned-process.t | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.gitlab/tests/cram/generic/procd/010-procd-spawned-process.t b/.gitlab/tests/cram/generic/procd/010-procd-spawned-process.t index 80f1d089a8..a9e6258890 100644 --- a/.gitlab/tests/cram/generic/procd/010-procd-spawned-process.t +++ b/.gitlab/tests/cram/generic/procd/010-procd-spawned-process.t @@ -13,13 +13,9 @@ provided, #Param1 - Name of the process or service: > Pid=$(R "ubus call service list | sed '/^$/d' | " \ > "jsonfilter -e '@[\"$1\"][\"instances\"][\"$1\"].pid'"); echo "$1 $Pid";} -Ensure that all services migrated to procd are no longer using the obsolete amx_init_functions.sh-based init system, with the exception of non-migrated prplware components: +Ensure that all services migrated to procd are no longer using the obsolete amx_init_functions.sh-based init system, with the exception of non-migrated prplware components except Amx Shutdown: - $ R "grep -r amx_init_functions.sh /etc/init.d | grep -vE '(acl-manager|\ - > amx-fcgi|amx-shutdown-wait|cthulhu|netmodel-clients|rlyeh|timingila|\ - > tr181-conmon|tr181-conntrack-query|tr181-flashmonitor|tr181-gnimanager\ - > |tr181-homeplug|tr181-upnpdiscovery|data-model-mapper|tr069-discovery|\ - > tr181-gatewayinfo|usp-discovery)'" + $ R "grep -r amx_init_functions.sh /etc/init.d" | grep -vE 'amx-shutdown-wait' [1] Verify expected processes that should be started by procd are running, using \