blob: 13e36c17ad359b6a4d60a86126c1e4967acb2c95 [file] [log] [blame]
morganrol81dc70f2021-04-06 19:57:44 +02001.. This work is licensed under a
2 Creative Commons Attribution 4.0 International License.
Gary Wue8c445a2018-11-29 11:54:52 -08003.. _integration-s3p:
4
Cédric Ollivier808252c2022-07-05 14:53:36 +02005:orphan:
6
Michal Jagielloc002b1d2022-04-14 11:48:05 +00007Stability
8=========
Gary Wue8c445a2018-11-29 11:54:52 -08009
mrichomme7fee1422020-12-08 15:46:33 +010010.. important::
11 The Release stability has been evaluated by:
mrichomme057c10b2019-10-18 18:54:16 +020012
Michal Jagielloe300a272022-10-27 08:40:00 +000013 - The daily CI/CD chain
morganrol81dc70f2021-04-06 19:57:44 +020014 - Stability tests
mrichomme7fee1422020-12-08 15:46:33 +010015
16.. note:
17 The scope of these tests remains limited and does not provide a full set of
18 KPIs to determinate the limits and the dimensioning of the ONAP solution.
mrichommeac588d62020-05-28 22:38:30 +020019
20CI results
morganrol81dc70f2021-04-06 19:57:44 +020021----------
mrichommeac588d62020-05-28 22:38:30 +020022
mrichomme7fee1422020-12-08 15:46:33 +010023As usual, a daily CI chain dedicated to the release is created after RC0.
mrichomme7fee1422020-12-08 15:46:33 +010024
Michal Jagielloe300a272022-10-27 08:40:00 +000025The daily results can be found in `LF DT lab daily results web site <https://logs.onap.org/onap-integration/daily/onap-daily-dt-oom-master/>`_.
mrichomme8bb34f02021-11-09 17:26:29 +010026
Michal Jagiellob59ccf02022-05-30 08:47:29 +000027.. image:: files/s3p/jakarta-dashboard.png
mrichomme8bb34f02021-11-09 17:26:29 +010028 :align: center
29
mrichomme7fee1422020-12-08 15:46:33 +010030
31Infrastructure Healthcheck Tests
morganrol81dc70f2021-04-06 19:57:44 +020032~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mrichomme7fee1422020-12-08 15:46:33 +010033
34These tests deal with the Kubernetes/Helm tests on ONAP cluster.
mrichomme7fee1422020-12-08 15:46:33 +010035
Michal Jagiellob59ccf02022-05-30 08:47:29 +000036The global expected criteria is **100%**.
mrichomme8bb34f02021-11-09 17:26:29 +010037
38The onap-k8s and onap-k8s-teardown, providing a snapshop of the onap namespace
39in Kubernetes, as well as the onap-helm tests are expected to be PASS.
mrichomme7fee1422020-12-08 15:46:33 +010040
mrichomme8bb34f02021-11-09 17:26:29 +010041.. image:: files/s3p/istanbul_daily_infrastructure_healthcheck.png
mrichomme7fee1422020-12-08 15:46:33 +010042 :align: center
43
44Healthcheck Tests
morganrol81dc70f2021-04-06 19:57:44 +020045~~~~~~~~~~~~~~~~~
mrichomme7fee1422020-12-08 15:46:33 +010046
47These tests are the traditionnal robot healthcheck tests and additional tests
48dealing with a single component.
49
50The expectation is **100% OK**.
51
mrichomme8bb34f02021-11-09 17:26:29 +010052.. image:: files/s3p/istanbul_daily_healthcheck.png
mrichomme7fee1422020-12-08 15:46:33 +010053 :align: center
54
55Smoke Tests
morganrol81dc70f2021-04-06 19:57:44 +020056~~~~~~~~~~~
mrichomme7fee1422020-12-08 15:46:33 +010057
morganrol81dc70f2021-04-06 19:57:44 +020058These tests are end to end and automated use case tests.
mrichomme7fee1422020-12-08 15:46:33 +010059See the :ref:`the Integration Test page <integration-tests>` for details.
60
61The expectation is **100% OK**.
62
mrichomme8bb34f02021-11-09 17:26:29 +010063.. figure:: files/s3p/istanbul_daily_smoke.png
mrichomme7fee1422020-12-08 15:46:33 +010064 :align: center
65
mrichomme7fee1422020-12-08 15:46:33 +010066Security Tests
morganrol81dc70f2021-04-06 19:57:44 +020067~~~~~~~~~~~~~~
mrichomme7fee1422020-12-08 15:46:33 +010068
69These tests are tests dealing with security.
70See the :ref:`the Integration Test page <integration-tests>` for details.
71
mrichomme8bb34f02021-11-09 17:26:29 +010072Waivers have been granted on different projects for the different tests.
73The list of waivers can be found in
Michal Jagiellob59ccf02022-05-30 08:47:29 +000074https://git.onap.org/integration/seccom/tree/waivers?h=jakarta.
mrichomme7fee1422020-12-08 15:46:33 +010075
Michal Jagiellob59ccf02022-05-30 08:47:29 +000076nodeport_check_certs test is expected to fail. Even tremendous progress have
77been done in this area, some certificates (unmaintained, upstream or integration
78robot pods) are still not correct due to bad certificate issuers (Root CA
79certificate non valid) or extra long validity. Most of the certificates have
80been installed using cert-manager and will be easily renewable.
81
82The expectation is **80% OK**. The criteria is met.
mrichomme7fee1422020-12-08 15:46:33 +010083
mrichomme8bb34f02021-11-09 17:26:29 +010084.. figure:: files/s3p/istanbul_daily_security.png
mrichomme7fee1422020-12-08 15:46:33 +010085 :align: center
86
morganrol81dc70f2021-04-06 19:57:44 +020087Stability tests
88---------------
89
mrichomme8bb34f02021-11-09 17:26:29 +010090Stability tests have been performed on Istanbul release:
morganrol81dc70f2021-04-06 19:57:44 +020091
92- SDC stability test
morganrol81dc70f2021-04-06 19:57:44 +020093- Parallel instantiation test
94
mrichomme8bb34f02021-11-09 17:26:29 +010095The results can be found in the weekly backend logs
96https://logs.onap.org/onap-integration/weekly/onap_weekly_pod4_istanbul.
97
morganrol81dc70f2021-04-06 19:57:44 +020098SDC stability test
99~~~~~~~~~~~~~~~~~~
100
101In this test, we consider the basic_onboard automated test and we run 5
mrichomme8bb34f02021-11-09 17:26:29 +0100102simultaneous onboarding procedures in parallel during 24h.
morganrol81dc70f2021-04-06 19:57:44 +0200103
104The basic_onboard test consists in the following steps:
105
106- [SDC] VendorOnboardStep: Onboard vendor in SDC.
107- [SDC] YamlTemplateVspOnboardStep: Onboard vsp described in YAML file in SDC.
108- [SDC] YamlTemplateVfOnboardStep: Onboard vf described in YAML file in SDC.
109- [SDC] YamlTemplateServiceOnboardStep: Onboard service described in YAML file
110 in SDC.
111
mrichomme8bb34f02021-11-09 17:26:29 +0100112The test has been initiated on the Istanbul weekly lab on the 14th of November.
morganrol81dc70f2021-04-06 19:57:44 +0200113
114As already observed in daily|weekly|gating chain, we got race conditions on
115some tests (https://jira.onap.org/browse/INT-1918).
116
mrichomme8bb34f02021-11-09 17:26:29 +0100117The success rate is expected to be above 95% on the 100 first model upload
118and above 80% until we onboard more than 500 models.
morganrol81dc70f2021-04-06 19:57:44 +0200119
120We may also notice that the function test_duration=f(time) increases
121continuously. At the beginning the test takes about 200s, 24h later the same
122test will take around 1000s.
123Finally after 36h, the SDC systematically answers with a 500 HTTP answer code
124explaining the linear decrease of the success rate.
125
126The following graphs provides a good view of the SDC stability test.
127
mrichomme8bb34f02021-11-09 17:26:29 +0100128.. image:: files/s3p/istanbul_sdc_stability.png
morganrol81dc70f2021-04-06 19:57:44 +0200129 :align: center
130
mrichomme8bb34f02021-11-09 17:26:29 +0100131.. csv-table:: S3P Onboarding stability results
132 :file: ./files/csv/s3p-sdc.csv
Michal Jagielloc002b1d2022-04-14 11:48:05 +0000133 :widths: 60,20,20,20
mrichomme8bb34f02021-11-09 17:26:29 +0100134 :delim: ;
135 :header-rows: 1
136
morganrol81dc70f2021-04-06 19:57:44 +0200137.. important::
mrichomme8bb34f02021-11-09 17:26:29 +0100138 The onboarding duration increases linearly with the number of on-boarded
139 models, which is already reported and may be due to the fact that models
140 cannot be deleted. In fact the test client has to retrieve the list of
141 models, which is continuously increasing. No limit tests have been
142 performed.
143 However 1085 on-boarded models is already a vry high figure regarding the
144 possible ONAP usage.
145 Moreover the mean duration time is much lower in Istanbul.
146 It explains why it was possible to run 35% more tests within the same
147 time frame.
morganrol81dc70f2021-04-06 19:57:44 +0200148
mrichomme8bb34f02021-11-09 17:26:29 +0100149Parallel instantiations stability test
150~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
morganrol81dc70f2021-04-06 19:57:44 +0200151
mrichomme8bb34f02021-11-09 17:26:29 +0100152The test is based on the single test (basic_vm) that can be described as follows:
mrichomme7fee1422020-12-08 15:46:33 +0100153
154- [SDC] VendorOnboardStep: Onboard vendor in SDC.
155- [SDC] YamlTemplateVspOnboardStep: Onboard vsp described in YAML file in SDC.
156- [SDC] YamlTemplateVfOnboardStep: Onboard vf described in YAML file in SDC.
157- [SDC] YamlTemplateServiceOnboardStep: Onboard service described in YAML file
158 in SDC.
159- [AAI] RegisterCloudRegionStep: Register cloud region.
160- [AAI] ComplexCreateStep: Create complex.
161- [AAI] LinkCloudRegionToComplexStep: Connect cloud region with complex.
162- [AAI] CustomerCreateStep: Create customer.
163- [AAI] CustomerServiceSubscriptionCreateStep: Create customer's service
164 subscription.
165- [AAI] ConnectServiceSubToCloudRegionStep: Connect service subscription with
166 cloud region.
167- [SO] YamlTemplateServiceAlaCarteInstantiateStep: Instantiate service described
168 in YAML using SO a'la carte method.
169- [SO] YamlTemplateVnfAlaCarteInstantiateStep: Instantiate vnf described in YAML
170 using SO a'la carte method.
171- [SO] YamlTemplateVfModuleAlaCarteInstantiateStep: Instantiate VF module
172 described in YAML using SO a'la carte method.
173
mrichomme8bb34f02021-11-09 17:26:29 +010017410 instantiation attempts are done simultaneously on the ONAP solution during 24h.
mrichomme7fee1422020-12-08 15:46:33 +0100175
morganrol81dc70f2021-04-06 19:57:44 +0200176The results can be described as follows:
mrichomme7fee1422020-12-08 15:46:33 +0100177
mrichomme8bb34f02021-11-09 17:26:29 +0100178.. image:: files/s3p/istanbul_instantiation_stability_10.png
morganrol81dc70f2021-04-06 19:57:44 +0200179 :align: center
mrichomme7fee1422020-12-08 15:46:33 +0100180
mrichomme8bb34f02021-11-09 17:26:29 +0100181.. csv-table:: S3P Instantiation stability results
182 :file: ./files/csv/s3p-instantiation.csv
Michal Jagielloc002b1d2022-04-14 11:48:05 +0000183 :widths: 60,20,20,20
mrichomme8bb34f02021-11-09 17:26:29 +0100184 :delim: ;
185 :header-rows: 1
mrichomme7fee1422020-12-08 15:46:33 +0100186
mrichomme8bb34f02021-11-09 17:26:29 +0100187The results are good with a success rate above 95%. After 24h more than 1300
188VNF have been created and deleted.
189
190As for SDC, we can observe a linear increase of the test duration. This issue
191has been reported since Guilin. For SDC as it is not possible to delete the
192models, it is possible to imagine that the duration increases due to the fact
193that the database of models continuously increases. Therefore the client has
194to retrieve an always bigger list of models.
195But for the instantiations, it is not the case as the references
196(module, VNF, service) are cleaned at the end of each test and all the tests
197use the same model. Then the duration of an instantiation test should be
198almost constant, which is not the case. Further investigations are needed.
mrichomme7fee1422020-12-08 15:46:33 +0100199
morganrol81dc70f2021-04-06 19:57:44 +0200200.. important::
mrichomme8bb34f02021-11-09 17:26:29 +0100201 The test has been executed with the mariadb-galera replicaset set to 1
202 (3 by default). With this configuration the results during 24h are very
203 good. When set to 3, the error rate is higher and after some hours
204 most of the instantiation are failing.
205 However, even with a replicaset set to 1, a test on Master weekly chain
206 showed that the system is hitting another limit after about 35h
207 (https://jira.onap.org/browse/SO-3791).