blob: 3dd2a0e5d1238c11c94c2858f5e6953ca6748423 [file] [log] [blame]
BjornMagnussonXA70e878f2020-05-11 14:11:30 +02001#!/bin/bash
2
3# ============LICENSE_START===============================================
4# Copyright (C) 2020 Nordix Foundation. All rights reserved.
5# ========================================================================
6# Licensed under the Apache License, Version 2.0 (the "License");
7# you may not use this file except in compliance with the License.
8# You may obtain a copy of the License at
9#
10# http://www.apache.org/licenses/LICENSE-2.0
11#
12# Unless required by applicable law or agreed to in writing, software
13# distributed under the License is distributed on an "AS IS" BASIS,
14# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15# See the License for the specific language governing permissions and
16# limitations under the License.
17# ============LICENSE_END=================================================
18#
19
BjornMagnussonXAbbd2e9d2020-05-27 21:24:06 +020020TC_ONELINE_DESCR="Repeatedly create and delete policies in each RICs for 24h (or configured number of days). Via agent REST/DMAAP/DMAAP_BATCH and SDNC using http or https"
21
BjornMagnussonXAf38e1e82020-10-11 23:05:02 +020022#App names to include in the test, space separated list
23INCLUDED_IMAGES="CBS CONSUL CP CR MR PA RICSIM SDNC"
BjornMagnussonXA70e878f2020-05-11 14:11:30 +020024
BjornMagnussonXA49f0e5a2020-11-08 22:41:39 +010025#SUPPORTED TEST ENV FILE
26SUPPORTED_PROFILES="ONAP-MASTER ONAP-GUILIN"
27
BjornMagnussonXA70e878f2020-05-11 14:11:30 +020028. ../common/testcase_common.sh $@
29. ../common/agent_api_functions.sh
30. ../common/ricsimulator_api_functions.sh
BjornMagnussonXA49f0e5a2020-11-08 22:41:39 +010031. ../common/cr_api_functions.sh
BjornMagnussonXA70e878f2020-05-11 14:11:30 +020032
33#### TEST BEGIN ####
34
BjornMagnussonXAad047782020-06-08 15:54:11 +020035generate_uuid
36
BjornMagnussonXA70e878f2020-05-11 14:11:30 +020037#Local vars in test script
38##########################
BjornMagnussonXA496156d2020-08-10 14:16:24 +020039
BjornMagnussonXA70e878f2020-05-11 14:11:30 +020040# Number of RICs per interface type (OSC and STD)
41NUM_RICS=30
BjornMagnussonXA2791e082020-11-12 00:52:08 +010042if [ "$PMS_VERSION" == "V2" ]; then
43 NUM_RICS=20 # 3 A1 interfaces test, less sims per interface. total sims will be same
44fi
45
BjornMagnussonXA70e878f2020-05-11 14:11:30 +020046# Number of policy instances per RIC
47NUM_INSTANCES=5
48
BjornMagnussonXAbbd2e9d2020-05-27 21:24:06 +020049DAYS=3
50
BjornMagnussonXA70e878f2020-05-11 14:11:30 +020051clean_containers
52
BjornMagnussonXA496156d2020-08-10 14:16:24 +020053# use HTTP or HTTPS for all apis
54HTTPX=HTTPS
BjornMagnussonXAbbd2e9d2020-05-27 21:24:06 +020055
BjornMagnussonXA496156d2020-08-10 14:16:24 +020056if [ $HTTPX == "HTTP" ]; then
BjornMagnussonXA496156d2020-08-10 14:16:24 +020057 use_cr_http
BjornMagnussonXAbbd2e9d2020-05-27 21:24:06 +020058 use_agent_rest_http
59 use_sdnc_http
60 use_simulator_http
61else
BjornMagnussonXA496156d2020-08-10 14:16:24 +020062 use_cr_https
BjornMagnussonXAbbd2e9d2020-05-27 21:24:06 +020063 use_agent_rest_https
64 use_sdnc_https
65 use_simulator_https
66fi
67
BjornMagnussonXA70e878f2020-05-11 14:11:30 +020068start_ric_simulators ricsim_g1 $NUM_RICS OSC_2.1.0
69
70start_ric_simulators ricsim_g2 $NUM_RICS STD_1.1.3
71
BjornMagnussonXA2791e082020-11-12 00:52:08 +010072if [ "$PMS_VERSION" == "V2" ]; then
73 start_ric_simulators ricsim_g3 $NUM_RICS STD_2.0.0
74fi
75
BjornMagnussonXA70e878f2020-05-11 14:11:30 +020076start_mr
77
78start_cr
79
80start_consul_cbs
81
82prepare_consul_config SDNC ".consul_config.json"
83consul_config_app ".consul_config.json"
84
85start_sdnc
86
87start_control_panel
88
89start_policy_agent
90
BjornMagnussonXA70e878f2020-05-11 14:11:30 +020091
92api_get_status 200
93
94echo "Print the interface for group 1 simulators, shall be OSC"
95for ((i=1; i<=$NUM_RICS; i++))
96do
97 sim_print ricsim_g1_$i interface
98done
99
100echo "Print the interface for group 2 simulators, shall be STD"
101for ((i=1; i<=$NUM_RICS; i++))
102do
103 sim_print ricsim_g2_$i interface
104done
105
BjornMagnussonXA2791e082020-11-12 00:52:08 +0100106if [ "$PMS_VERSION" == "V2" ]; then
107 echo "Print the interface for group 2 simulators, shall be STD 2"
108 for ((i=1; i<=$NUM_RICS; i++))
109 do
110 sim_print ricsim_g3_$i interface
111 done
112fi
113
BjornMagnussonXA70e878f2020-05-11 14:11:30 +0200114echo "Load policy type in group 1 simulators"
115for ((i=1; i<=$NUM_RICS; i++))
116do
117 sim_put_policy_type 201 ricsim_g1_$i 1 testdata/OSC/sim_1.json
118done
119
BjornMagnussonXA2791e082020-11-12 00:52:08 +0100120if [ "$PMS_VERSION" == "V2" ]; then
121 echo "Load policy type in group 3 simulators"
122 for ((i=1; i<=$NUM_RICS; i++))
123 do
124 sim_put_policy_type 201 ricsim_g3_$i STD_QOS2_0.1.0 testdata/STD2/sim_qos2.json
125 done
126fi
127
BjornMagnussonXA70e878f2020-05-11 14:11:30 +0200128echo "Check the number of instances in group 1 simulators, shall be 0"
129for ((i=1; i<=$NUM_RICS; i++))
130do
131 sim_equal ricsim_g1_$i num_instances 0
132done
133
134echo "Check the number of instances in group 2 simulators, shall be 0"
135for ((i=1; i<=$NUM_RICS; i++))
136do
137 sim_equal ricsim_g2_$i num_instances 0
138done
139
BjornMagnussonXA2791e082020-11-12 00:52:08 +0100140if [ "$PMS_VERSION" == "V2" ]; then
141 echo "Check the number of instances in group 3 simulators, shall be 0"
142 for ((i=1; i<=$NUM_RICS; i++))
143 do
144 sim_equal ricsim_g3_$i num_instances 0
145 done
146fi
147
BjornMagnussonXA70e878f2020-05-11 14:11:30 +0200148echo "Wait for the agent to refresh types from the simulator"
BjornMagnussonXA4207b832020-11-03 09:52:49 +0100149if [ "$PMS_VERSION" == "V2" ]; then
BjornMagnussonXA2791e082020-11-12 00:52:08 +0100150 api_equal json:policy-types 3 120
BjornMagnussonXA4207b832020-11-03 09:52:49 +0100151else
152 api_equal json:policy_types 2 120
153fi
BjornMagnussonXA70e878f2020-05-11 14:11:30 +0200154
155echo "Check the number of types in the agent for each ric is 1"
156for ((i=1; i<=$NUM_RICS; i++))
157do
BjornMagnussonXA4207b832020-11-03 09:52:49 +0100158 if [ "$PMS_VERSION" == "V2" ]; then
159 api_equal json:policy-types?ric_id=ricsim_g1_$i 1 120
BjornMagnussonXA2791e082020-11-12 00:52:08 +0100160 api_equal json:policy-types?ric_id=ricsim_g3_$i 1 120
BjornMagnussonXA4207b832020-11-03 09:52:49 +0100161 else
162 api_equal json:policy_types?ric=ricsim_g1_$i 1 120
163 fi
BjornMagnussonXA70e878f2020-05-11 14:11:30 +0200164done
165
166echo "Register a service"
167api_put_service 201 "serv1" 0 "$CR_PATH/1"
168
BjornMagnussonXAbbd2e9d2020-05-27 21:24:06 +0200169TEST_DURATION=$((24*3600*$DAYS))
BjornMagnussonXA70e878f2020-05-11 14:11:30 +0200170TEST_START=$SECONDS
171
BjornMagnussonXAbbd2e9d2020-05-27 21:24:06 +0200172AGENT_INTERFACES="REST REST_PARALLEL DMAAP DMAAP-BATCH"
BjornMagnussonXA70e878f2020-05-11 14:11:30 +0200173
174MR_MESSAGES=0
175
BjornMagnussonXA4207b832020-11-03 09:52:49 +0100176if [ "$PMS_VERSION" == "V2" ]; then
BjornMagnussonXA49f0e5a2020-11-08 22:41:39 +0100177 notificationurl=$CR_PATH"/test"
BjornMagnussonXA4207b832020-11-03 09:52:49 +0100178else
179 notificationurl=""
180fi
181
BjornMagnussonXA70e878f2020-05-11 14:11:30 +0200182while [ $(($SECONDS-$TEST_START)) -lt $TEST_DURATION ]; do
183
184 echo ""
185 echo "#########################################################################################################"
186 echo -e $BOLD"INFO: Test executed for: "$(($SECONDS-$TEST_START)) "seconds. Target is: "$TEST_DURATION" seconds."$EBOLD
187 echo "#########################################################################################################"
188 echo ""
189
190 for interface in $AGENT_INTERFACES ; do
191
192 echo "############################################"
193 echo "## Testing using agent interface: $interface ##"
194 echo "############################################"
195
BjornMagnussonXAbbd2e9d2020-05-27 21:24:06 +0200196 if [ $interface == "REST" ] || [ $interface == "REST_PARALLEL" ]; then
BjornMagnussonXA496156d2020-08-10 14:16:24 +0200197 if [ $HTTPX == "HTTP" ]; then
BjornMagnussonXAbbd2e9d2020-05-27 21:24:06 +0200198 use_agent_rest_http
199 else
200 use_agent_rest_https
201 fi
BjornMagnussonXA70e878f2020-05-11 14:11:30 +0200202 else
BjornMagnussonXA496156d2020-08-10 14:16:24 +0200203 if [ $HTTPX == "HTTPS" ]; then
204 echo "Using secure ports towards dmaap"
205 use_agent_dmaap_https
206 else
207 echo "Using non-secure ports towards dmaap"
208 use_agent_dmaap_http
209 fi
BjornMagnussonXA70e878f2020-05-11 14:11:30 +0200210 fi
211
212 echo "Create $NUM_INSTANCES instances in each OSC RIC"
213 INSTANCE_ID=200000
214 INSTANCES=0
BjornMagnussonXAbbd2e9d2020-05-27 21:24:06 +0200215 if [ $interface == "REST_PARALLEL" ]; then
BjornMagnussonXA4207b832020-11-03 09:52:49 +0100216 api_put_policy_parallel 201 "serv1" ricsim_g1_ $NUM_RICS 1 $INSTANCE_ID NOTRANSIENT $notificationurl testdata/OSC/pi1_template.json $NUM_INSTANCES 3
BjornMagnussonXAbbd2e9d2020-05-27 21:24:06 +0200217 fi
BjornMagnussonXA70e878f2020-05-11 14:11:30 +0200218 for ((i=1; i<=$NUM_RICS; i++))
219 do
220 if [ $interface == "DMAAP-BATCH" ]; then
BjornMagnussonXA4207b832020-11-03 09:52:49 +0100221 api_put_policy_batch 201 "serv1" ricsim_g1_$i 1 $INSTANCE_ID NOTRANSIENT $notificationurl testdata/OSC/pi1_template.json $NUM_INSTANCES
BjornMagnussonXAbbd2e9d2020-05-27 21:24:06 +0200222 elif [ $interface == "DMAAP" ] || [ $interface == "REST" ]; then
BjornMagnussonXA4207b832020-11-03 09:52:49 +0100223 api_put_policy 201 "serv1" ricsim_g1_$i 1 $INSTANCE_ID NOTRANSIENT $notificationurl testdata/OSC/pi1_template.json $NUM_INSTANCES
BjornMagnussonXA70e878f2020-05-11 14:11:30 +0200224 fi
BjornMagnussonXAbbd2e9d2020-05-27 21:24:06 +0200225 if [ $interface == "DMAAP" ] || [ $interface == "DMAAP-BATCH" ]; then
BjornMagnussonXA70e878f2020-05-11 14:11:30 +0200226 MR_MESSAGES=$(($MR_MESSAGES+$NUM_INSTANCES))
227 fi
228 sim_equal ricsim_g1_$i num_instances $NUM_INSTANCES
229 INSTANCE_ID=$(($INSTANCE_ID+$NUM_INSTANCES))
230 INSTANCES=$(($INSTANCES+$NUM_INSTANCES))
231 done
232
BjornMagnussonXA4207b832020-11-03 09:52:49 +0100233 if [ "$PMS_VERSION" == "V2" ]; then
BjornMagnussonXA49f0e5a2020-11-08 22:41:39 +0100234 api_equal json:policy-instances $INSTANCES
BjornMagnussonXA4207b832020-11-03 09:52:49 +0100235 else
236 api_equal json:policy_ids $INSTANCES
237 fi
BjornMagnussonXA70e878f2020-05-11 14:11:30 +0200238
239 echo "Create $NUM_INSTANCES instances in each STD RIC"
BjornMagnussonXAbbd2e9d2020-05-27 21:24:06 +0200240 if [ $interface == "REST_PARALLEL" ]; then
BjornMagnussonXA4207b832020-11-03 09:52:49 +0100241 api_put_policy_parallel 201 "serv1" ricsim_g2_ $NUM_RICS NOTYPE $INSTANCE_ID NOTRANSIENT $notificationurl testdata/STD/pi1_template.json $NUM_INSTANCES 3
BjornMagnussonXAbbd2e9d2020-05-27 21:24:06 +0200242 fi
BjornMagnussonXA70e878f2020-05-11 14:11:30 +0200243 for ((i=1; i<=$NUM_RICS; i++))
244 do
245 if [ $interface == "DMAAP-BATCH" ]; then
BjornMagnussonXA4207b832020-11-03 09:52:49 +0100246 api_put_policy_batch 201 "serv1" ricsim_g2_$i NOTYPE $INSTANCE_ID NOTRANSIENT $notificationurl testdata/STD/pi1_template.json $NUM_INSTANCES
BjornMagnussonXAbbd2e9d2020-05-27 21:24:06 +0200247 elif [ $interface == "DMAAP" ] || [ $interface == "REST" ]; then
BjornMagnussonXA4207b832020-11-03 09:52:49 +0100248 api_put_policy 201 "serv1" ricsim_g2_$i NOTYPE $INSTANCE_ID NOTRANSIENT $notificationurl testdata/STD/pi1_template.json $NUM_INSTANCES
BjornMagnussonXA70e878f2020-05-11 14:11:30 +0200249 fi
BjornMagnussonXAbbd2e9d2020-05-27 21:24:06 +0200250 if [ $interface == "DMAAP" ] || [ $interface == "DMAAP-BATCH" ]; then
BjornMagnussonXA70e878f2020-05-11 14:11:30 +0200251 MR_MESSAGES=$(($MR_MESSAGES+$NUM_INSTANCES))
252 fi
253 sim_equal ricsim_g2_$i num_instances $NUM_INSTANCES
254 INSTANCE_ID=$(($INSTANCE_ID+$NUM_INSTANCES))
255 INSTANCES=$(($INSTANCES+$NUM_INSTANCES))
256 done
257
BjornMagnussonXA4207b832020-11-03 09:52:49 +0100258 if [ "$PMS_VERSION" == "V2" ]; then
BjornMagnussonXA49f0e5a2020-11-08 22:41:39 +0100259 api_equal json:policy-instances $INSTANCES
BjornMagnussonXA4207b832020-11-03 09:52:49 +0100260 else
261 api_equal json:policy_ids $INSTANCES
262 fi
BjornMagnussonXA70e878f2020-05-11 14:11:30 +0200263
BjornMagnussonXA2791e082020-11-12 00:52:08 +0100264 if [ "$PMS_VERSION" == "V2" ]; then
265 echo "Create $NUM_INSTANCES instances in each STD 2 RIC"
266 if [ $interface == "REST_PARALLEL" ]; then
267 api_put_policy_parallel 201 "serv1" ricsim_g3_ $NUM_RICS STD_QOS2_0.1.0 $INSTANCE_ID NOTRANSIENT $notificationurl testdata/STD2/pi_qos2_template.json $NUM_INSTANCES 3
268 fi
269 for ((i=1; i<=$NUM_RICS; i++))
270 do
271 if [ $interface == "DMAAP-BATCH" ]; then
272 api_put_policy_batch 201 "serv1" ricsim_g3_$i STD_QOS2_0.1.0 $INSTANCE_ID NOTRANSIENT $notificationurl testdata/STD2/pi_qos2_template.json $NUM_INSTANCES
273 elif [ $interface == "DMAAP" ] || [ $interface == "REST" ]; then
274 api_put_policy 201 "serv1" ricsim_g3_$i STD_QOS2_0.1.0 $INSTANCE_ID NOTRANSIENT $notificationurl testdata/STD2/pi_qos2_template.json $NUM_INSTANCES
275 fi
276 if [ $interface == "DMAAP" ] || [ $interface == "DMAAP-BATCH" ]; then
277 MR_MESSAGES=$(($MR_MESSAGES+$NUM_INSTANCES))
278 fi
279 sim_equal ricsim_g3_$i num_instances $NUM_INSTANCES
280 INSTANCE_ID=$(($INSTANCE_ID+$NUM_INSTANCES))
281 INSTANCES=$(($INSTANCES+$NUM_INSTANCES))
282 done
283
284 if [ "$PMS_VERSION" == "V2" ]; then
285 api_equal json:policy-instances $INSTANCES
286 else
287 api_equal json:policy_ids $INSTANCES
288 fi
289 fi
290
BjornMagnussonXA70e878f2020-05-11 14:11:30 +0200291
292 echo "Delete all instances in each OSC RIC"
293
294 INSTANCE_ID=200000
BjornMagnussonXAbbd2e9d2020-05-27 21:24:06 +0200295 if [ $interface == "REST_PARALLEL" ]; then
296 api_delete_policy_parallel 204 $NUM_RICS $INSTANCE_ID $NUM_INSTANCES 3
297 fi
BjornMagnussonXA70e878f2020-05-11 14:11:30 +0200298 for ((i=1; i<=$NUM_RICS; i++))
299 do
300 if [ $interface == "DMAAP-BATCH" ]; then
301 api_delete_policy_batch 204 $INSTANCE_ID $NUM_INSTANCES
BjornMagnussonXAbbd2e9d2020-05-27 21:24:06 +0200302 elif [ $interface == "DMAAP" ] || [ $interface == "REST" ]; then
BjornMagnussonXA70e878f2020-05-11 14:11:30 +0200303 api_delete_policy 204 $INSTANCE_ID $NUM_INSTANCES
304 fi
BjornMagnussonXAbbd2e9d2020-05-27 21:24:06 +0200305 if [ $interface == "DMAAP" ] || [ $interface == "DMAAP-BATCH" ]; then
BjornMagnussonXA70e878f2020-05-11 14:11:30 +0200306 MR_MESSAGES=$(($MR_MESSAGES+$NUM_INSTANCES))
307 fi
308 INSTANCES=$(($INSTANCES-$NUM_INSTANCES))
309 sim_equal ricsim_g1_$i num_instances 0
310 INSTANCE_ID=$(($INSTANCE_ID+$NUM_INSTANCES))
311 done
312
BjornMagnussonXA4207b832020-11-03 09:52:49 +0100313 if [ "$PMS_VERSION" == "V2" ]; then
BjornMagnussonXA49f0e5a2020-11-08 22:41:39 +0100314 api_equal json:policy-instances $INSTANCES
BjornMagnussonXA4207b832020-11-03 09:52:49 +0100315 else
316 api_equal json:policy_ids $INSTANCES
317 fi
BjornMagnussonXA70e878f2020-05-11 14:11:30 +0200318
319 echo "Delete all instances in each STD RIC"
320
BjornMagnussonXAbbd2e9d2020-05-27 21:24:06 +0200321 if [ $interface == "REST_PARALLEL" ]; then
322 api_delete_policy_parallel 204 $NUM_RICS $INSTANCE_ID $NUM_INSTANCES 3
323 fi
BjornMagnussonXA70e878f2020-05-11 14:11:30 +0200324 for ((i=1; i<=$NUM_RICS; i++))
325 do
326 if [ $interface == "DMAAP-BATCH" ]; then
327 api_delete_policy_batch 204 $INSTANCE_ID $NUM_INSTANCES
BjornMagnussonXAbbd2e9d2020-05-27 21:24:06 +0200328 elif [ $interface == "DMAAP" ] || [ $interface == "REST" ]; then
BjornMagnussonXA70e878f2020-05-11 14:11:30 +0200329 api_delete_policy 204 $INSTANCE_ID $NUM_INSTANCES
330 fi
BjornMagnussonXAbbd2e9d2020-05-27 21:24:06 +0200331 if [ $interface == "DMAAP" ] || [ $interface == "DMAAP-BATCH" ]; then
BjornMagnussonXA70e878f2020-05-11 14:11:30 +0200332 MR_MESSAGES=$(($MR_MESSAGES+$NUM_INSTANCES))
333 fi
334 INSTANCES=$(($INSTANCES-$NUM_INSTANCES))
335 sim_equal ricsim_g2_$i num_instances 0
336 INSTANCE_ID=$(($INSTANCE_ID+$NUM_INSTANCES))
337 done
338
BjornMagnussonXA4207b832020-11-03 09:52:49 +0100339 if [ "$PMS_VERSION" == "V2" ]; then
BjornMagnussonXA49f0e5a2020-11-08 22:41:39 +0100340 api_equal json:policy-instances $INSTANCES
BjornMagnussonXA4207b832020-11-03 09:52:49 +0100341 else
342 api_equal json:policy_ids $INSTANCES
343 fi
BjornMagnussonXA70e878f2020-05-11 14:11:30 +0200344
BjornMagnussonXA2791e082020-11-12 00:52:08 +0100345 if [ "$PMS_VERSION" == "V2" ]; then
346 echo "Delete all instances in each STD 2 RIC"
347
348 if [ $interface == "REST_PARALLEL" ]; then
349 api_delete_policy_parallel 204 $NUM_RICS $INSTANCE_ID $NUM_INSTANCES 3
350 fi
351 for ((i=1; i<=$NUM_RICS; i++))
352 do
353 if [ $interface == "DMAAP-BATCH" ]; then
354 api_delete_policy_batch 204 $INSTANCE_ID $NUM_INSTANCES
355 elif [ $interface == "DMAAP" ] || [ $interface == "REST" ]; then
356 api_delete_policy 204 $INSTANCE_ID $NUM_INSTANCES
357 fi
358 if [ $interface == "DMAAP" ] || [ $interface == "DMAAP-BATCH" ]; then
359 MR_MESSAGES=$(($MR_MESSAGES+$NUM_INSTANCES))
360 fi
361 INSTANCES=$(($INSTANCES-$NUM_INSTANCES))
362 sim_equal ricsim_g3_$i num_instances 0
363 INSTANCE_ID=$(($INSTANCE_ID+$NUM_INSTANCES))
364 done
365
366 if [ "$PMS_VERSION" == "V2" ]; then
367 api_equal json:policy-instances $INSTANCES
368 else
369 api_equal json:policy_ids $INSTANCES
370 fi
371 fi
372
BjornMagnussonXA70e878f2020-05-11 14:11:30 +0200373 mr_equal requests_submitted $MR_MESSAGES
374 mr_equal requests_fetched $MR_MESSAGES
375 mr_equal responses_submitted $MR_MESSAGES
376 mr_equal responses_fetched $MR_MESSAGES
377 mr_equal current_requests 0
378 mr_equal current_responses 0
379
380
381 for ((i=1; i<=$NUM_RICS; i++))
382 do
383 sim_contains_str ricsim_g1_$i remote_hosts "a1-controller"
384 sim_contains_str ricsim_g2_$i remote_hosts "a1-controller"
BjornMagnussonXA2791e082020-11-12 00:52:08 +0100385
386 if [ "$PMS_VERSION" == "V2" ]; then
387 sim_contains_str ricsim_g3_$i remote_hosts "a1-controller"
388 fi
BjornMagnussonXA70e878f2020-05-11 14:11:30 +0200389 done
390
391 done
392
393done
394
395check_policy_agent_logs
BjornMagnussonXA49f0e5a2020-11-08 22:41:39 +0100396check_sdnc_logs
BjornMagnussonXA70e878f2020-05-11 14:11:30 +0200397
398#### TEST COMPLETE ####
399
400store_logs END
401
402print_result
403
404auto_clean_containers