morganrol | 81dc70f | 2021-04-06 19:57:44 +0200 | [diff] [blame] | 1 | .. This work is licensed under a |
| 2 | Creative Commons Attribution 4.0 International License. |
Gary Wu | e8c445a | 2018-11-29 11:54:52 -0800 | [diff] [blame] | 3 | .. _integration-s3p: |
| 4 | |
Cédric Ollivier | 808252c | 2022-07-05 14:53:36 +0200 | [diff] [blame] | 5 | :orphan: |
| 6 | |
Michal Jagiello | c002b1d | 2022-04-14 11:48:05 +0000 | [diff] [blame] | 7 | Stability |
| 8 | ========= |
Gary Wu | e8c445a | 2018-11-29 11:54:52 -0800 | [diff] [blame] | 9 | |
mrichomme | 7fee142 | 2020-12-08 15:46:33 +0100 | [diff] [blame] | 10 | .. important:: |
| 11 | The Release stability has been evaluated by: |
mrichomme | 057c10b | 2019-10-18 18:54:16 +0200 | [diff] [blame] | 12 | |
Michal Jagiello | e300a27 | 2022-10-27 08:40:00 +0000 | [diff] [blame] | 13 | - The daily CI/CD chain |
morganrol | 81dc70f | 2021-04-06 19:57:44 +0200 | [diff] [blame] | 14 | - Stability tests |
mrichomme | 7fee142 | 2020-12-08 15:46:33 +0100 | [diff] [blame] | 15 | |
| 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. |
mrichomme | ac588d6 | 2020-05-28 22:38:30 +0200 | [diff] [blame] | 19 | |
| 20 | CI results |
morganrol | 81dc70f | 2021-04-06 19:57:44 +0200 | [diff] [blame] | 21 | ---------- |
mrichomme | ac588d6 | 2020-05-28 22:38:30 +0200 | [diff] [blame] | 22 | |
mrichomme | 7fee142 | 2020-12-08 15:46:33 +0100 | [diff] [blame] | 23 | As usual, a daily CI chain dedicated to the release is created after RC0. |
mrichomme | 7fee142 | 2020-12-08 15:46:33 +0100 | [diff] [blame] | 24 | |
Michal Jagiello | e300a27 | 2022-10-27 08:40:00 +0000 | [diff] [blame] | 25 | The 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/>`_. |
mrichomme | 8bb34f0 | 2021-11-09 17:26:29 +0100 | [diff] [blame] | 26 | |
Michal Jagiello | b59ccf0 | 2022-05-30 08:47:29 +0000 | [diff] [blame] | 27 | .. image:: files/s3p/jakarta-dashboard.png |
mrichomme | 8bb34f0 | 2021-11-09 17:26:29 +0100 | [diff] [blame] | 28 | :align: center |
| 29 | |
mrichomme | 7fee142 | 2020-12-08 15:46:33 +0100 | [diff] [blame] | 30 | |
| 31 | Infrastructure Healthcheck Tests |
morganrol | 81dc70f | 2021-04-06 19:57:44 +0200 | [diff] [blame] | 32 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
mrichomme | 7fee142 | 2020-12-08 15:46:33 +0100 | [diff] [blame] | 33 | |
| 34 | These tests deal with the Kubernetes/Helm tests on ONAP cluster. |
mrichomme | 7fee142 | 2020-12-08 15:46:33 +0100 | [diff] [blame] | 35 | |
Michal Jagiello | b59ccf0 | 2022-05-30 08:47:29 +0000 | [diff] [blame] | 36 | The global expected criteria is **100%**. |
mrichomme | 8bb34f0 | 2021-11-09 17:26:29 +0100 | [diff] [blame] | 37 | |
| 38 | The onap-k8s and onap-k8s-teardown, providing a snapshop of the onap namespace |
| 39 | in Kubernetes, as well as the onap-helm tests are expected to be PASS. |
mrichomme | 7fee142 | 2020-12-08 15:46:33 +0100 | [diff] [blame] | 40 | |
mrichomme | 8bb34f0 | 2021-11-09 17:26:29 +0100 | [diff] [blame] | 41 | .. image:: files/s3p/istanbul_daily_infrastructure_healthcheck.png |
mrichomme | 7fee142 | 2020-12-08 15:46:33 +0100 | [diff] [blame] | 42 | :align: center |
| 43 | |
| 44 | Healthcheck Tests |
morganrol | 81dc70f | 2021-04-06 19:57:44 +0200 | [diff] [blame] | 45 | ~~~~~~~~~~~~~~~~~ |
mrichomme | 7fee142 | 2020-12-08 15:46:33 +0100 | [diff] [blame] | 46 | |
| 47 | These tests are the traditionnal robot healthcheck tests and additional tests |
| 48 | dealing with a single component. |
| 49 | |
| 50 | The expectation is **100% OK**. |
| 51 | |
mrichomme | 8bb34f0 | 2021-11-09 17:26:29 +0100 | [diff] [blame] | 52 | .. image:: files/s3p/istanbul_daily_healthcheck.png |
mrichomme | 7fee142 | 2020-12-08 15:46:33 +0100 | [diff] [blame] | 53 | :align: center |
| 54 | |
| 55 | Smoke Tests |
morganrol | 81dc70f | 2021-04-06 19:57:44 +0200 | [diff] [blame] | 56 | ~~~~~~~~~~~ |
mrichomme | 7fee142 | 2020-12-08 15:46:33 +0100 | [diff] [blame] | 57 | |
morganrol | 81dc70f | 2021-04-06 19:57:44 +0200 | [diff] [blame] | 58 | These tests are end to end and automated use case tests. |
mrichomme | 7fee142 | 2020-12-08 15:46:33 +0100 | [diff] [blame] | 59 | See the :ref:`the Integration Test page <integration-tests>` for details. |
| 60 | |
| 61 | The expectation is **100% OK**. |
| 62 | |
mrichomme | 8bb34f0 | 2021-11-09 17:26:29 +0100 | [diff] [blame] | 63 | .. figure:: files/s3p/istanbul_daily_smoke.png |
mrichomme | 7fee142 | 2020-12-08 15:46:33 +0100 | [diff] [blame] | 64 | :align: center |
| 65 | |
mrichomme | 7fee142 | 2020-12-08 15:46:33 +0100 | [diff] [blame] | 66 | Security Tests |
morganrol | 81dc70f | 2021-04-06 19:57:44 +0200 | [diff] [blame] | 67 | ~~~~~~~~~~~~~~ |
mrichomme | 7fee142 | 2020-12-08 15:46:33 +0100 | [diff] [blame] | 68 | |
| 69 | These tests are tests dealing with security. |
| 70 | See the :ref:`the Integration Test page <integration-tests>` for details. |
| 71 | |
mrichomme | 8bb34f0 | 2021-11-09 17:26:29 +0100 | [diff] [blame] | 72 | Waivers have been granted on different projects for the different tests. |
| 73 | The list of waivers can be found in |
Michal Jagiello | b59ccf0 | 2022-05-30 08:47:29 +0000 | [diff] [blame] | 74 | https://git.onap.org/integration/seccom/tree/waivers?h=jakarta. |
mrichomme | 7fee142 | 2020-12-08 15:46:33 +0100 | [diff] [blame] | 75 | |
Michal Jagiello | b59ccf0 | 2022-05-30 08:47:29 +0000 | [diff] [blame] | 76 | nodeport_check_certs test is expected to fail. Even tremendous progress have |
| 77 | been done in this area, some certificates (unmaintained, upstream or integration |
| 78 | robot pods) are still not correct due to bad certificate issuers (Root CA |
| 79 | certificate non valid) or extra long validity. Most of the certificates have |
| 80 | been installed using cert-manager and will be easily renewable. |
| 81 | |
| 82 | The expectation is **80% OK**. The criteria is met. |
mrichomme | 7fee142 | 2020-12-08 15:46:33 +0100 | [diff] [blame] | 83 | |
mrichomme | 8bb34f0 | 2021-11-09 17:26:29 +0100 | [diff] [blame] | 84 | .. figure:: files/s3p/istanbul_daily_security.png |
mrichomme | 7fee142 | 2020-12-08 15:46:33 +0100 | [diff] [blame] | 85 | :align: center |
| 86 | |
morganrol | 81dc70f | 2021-04-06 19:57:44 +0200 | [diff] [blame] | 87 | Stability tests |
| 88 | --------------- |
| 89 | |
mrichomme | 8bb34f0 | 2021-11-09 17:26:29 +0100 | [diff] [blame] | 90 | Stability tests have been performed on Istanbul release: |
morganrol | 81dc70f | 2021-04-06 19:57:44 +0200 | [diff] [blame] | 91 | |
| 92 | - SDC stability test |
morganrol | 81dc70f | 2021-04-06 19:57:44 +0200 | [diff] [blame] | 93 | - Parallel instantiation test |
| 94 | |
mrichomme | 8bb34f0 | 2021-11-09 17:26:29 +0100 | [diff] [blame] | 95 | The results can be found in the weekly backend logs |
| 96 | https://logs.onap.org/onap-integration/weekly/onap_weekly_pod4_istanbul. |
| 97 | |
morganrol | 81dc70f | 2021-04-06 19:57:44 +0200 | [diff] [blame] | 98 | SDC stability test |
| 99 | ~~~~~~~~~~~~~~~~~~ |
| 100 | |
| 101 | In this test, we consider the basic_onboard automated test and we run 5 |
mrichomme | 8bb34f0 | 2021-11-09 17:26:29 +0100 | [diff] [blame] | 102 | simultaneous onboarding procedures in parallel during 24h. |
morganrol | 81dc70f | 2021-04-06 19:57:44 +0200 | [diff] [blame] | 103 | |
| 104 | The 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 | |
mrichomme | 8bb34f0 | 2021-11-09 17:26:29 +0100 | [diff] [blame] | 112 | The test has been initiated on the Istanbul weekly lab on the 14th of November. |
morganrol | 81dc70f | 2021-04-06 19:57:44 +0200 | [diff] [blame] | 113 | |
| 114 | As already observed in daily|weekly|gating chain, we got race conditions on |
| 115 | some tests (https://jira.onap.org/browse/INT-1918). |
| 116 | |
mrichomme | 8bb34f0 | 2021-11-09 17:26:29 +0100 | [diff] [blame] | 117 | The success rate is expected to be above 95% on the 100 first model upload |
| 118 | and above 80% until we onboard more than 500 models. |
morganrol | 81dc70f | 2021-04-06 19:57:44 +0200 | [diff] [blame] | 119 | |
| 120 | We may also notice that the function test_duration=f(time) increases |
| 121 | continuously. At the beginning the test takes about 200s, 24h later the same |
| 122 | test will take around 1000s. |
| 123 | Finally after 36h, the SDC systematically answers with a 500 HTTP answer code |
| 124 | explaining the linear decrease of the success rate. |
| 125 | |
| 126 | The following graphs provides a good view of the SDC stability test. |
| 127 | |
mrichomme | 8bb34f0 | 2021-11-09 17:26:29 +0100 | [diff] [blame] | 128 | .. image:: files/s3p/istanbul_sdc_stability.png |
morganrol | 81dc70f | 2021-04-06 19:57:44 +0200 | [diff] [blame] | 129 | :align: center |
| 130 | |
mrichomme | 8bb34f0 | 2021-11-09 17:26:29 +0100 | [diff] [blame] | 131 | .. csv-table:: S3P Onboarding stability results |
| 132 | :file: ./files/csv/s3p-sdc.csv |
Michal Jagiello | c002b1d | 2022-04-14 11:48:05 +0000 | [diff] [blame] | 133 | :widths: 60,20,20,20 |
mrichomme | 8bb34f0 | 2021-11-09 17:26:29 +0100 | [diff] [blame] | 134 | :delim: ; |
| 135 | :header-rows: 1 |
| 136 | |
morganrol | 81dc70f | 2021-04-06 19:57:44 +0200 | [diff] [blame] | 137 | .. important:: |
mrichomme | 8bb34f0 | 2021-11-09 17:26:29 +0100 | [diff] [blame] | 138 | 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. |
morganrol | 81dc70f | 2021-04-06 19:57:44 +0200 | [diff] [blame] | 148 | |
mrichomme | 8bb34f0 | 2021-11-09 17:26:29 +0100 | [diff] [blame] | 149 | Parallel instantiations stability test |
| 150 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
morganrol | 81dc70f | 2021-04-06 19:57:44 +0200 | [diff] [blame] | 151 | |
mrichomme | 8bb34f0 | 2021-11-09 17:26:29 +0100 | [diff] [blame] | 152 | The test is based on the single test (basic_vm) that can be described as follows: |
mrichomme | 7fee142 | 2020-12-08 15:46:33 +0100 | [diff] [blame] | 153 | |
| 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 | |
mrichomme | 8bb34f0 | 2021-11-09 17:26:29 +0100 | [diff] [blame] | 174 | 10 instantiation attempts are done simultaneously on the ONAP solution during 24h. |
mrichomme | 7fee142 | 2020-12-08 15:46:33 +0100 | [diff] [blame] | 175 | |
morganrol | 81dc70f | 2021-04-06 19:57:44 +0200 | [diff] [blame] | 176 | The results can be described as follows: |
mrichomme | 7fee142 | 2020-12-08 15:46:33 +0100 | [diff] [blame] | 177 | |
mrichomme | 8bb34f0 | 2021-11-09 17:26:29 +0100 | [diff] [blame] | 178 | .. image:: files/s3p/istanbul_instantiation_stability_10.png |
morganrol | 81dc70f | 2021-04-06 19:57:44 +0200 | [diff] [blame] | 179 | :align: center |
mrichomme | 7fee142 | 2020-12-08 15:46:33 +0100 | [diff] [blame] | 180 | |
mrichomme | 8bb34f0 | 2021-11-09 17:26:29 +0100 | [diff] [blame] | 181 | .. csv-table:: S3P Instantiation stability results |
| 182 | :file: ./files/csv/s3p-instantiation.csv |
Michal Jagiello | c002b1d | 2022-04-14 11:48:05 +0000 | [diff] [blame] | 183 | :widths: 60,20,20,20 |
mrichomme | 8bb34f0 | 2021-11-09 17:26:29 +0100 | [diff] [blame] | 184 | :delim: ; |
| 185 | :header-rows: 1 |
mrichomme | 7fee142 | 2020-12-08 15:46:33 +0100 | [diff] [blame] | 186 | |
mrichomme | 8bb34f0 | 2021-11-09 17:26:29 +0100 | [diff] [blame] | 187 | The results are good with a success rate above 95%. After 24h more than 1300 |
| 188 | VNF have been created and deleted. |
| 189 | |
| 190 | As for SDC, we can observe a linear increase of the test duration. This issue |
| 191 | has been reported since Guilin. For SDC as it is not possible to delete the |
| 192 | models, it is possible to imagine that the duration increases due to the fact |
| 193 | that the database of models continuously increases. Therefore the client has |
| 194 | to retrieve an always bigger list of models. |
| 195 | But 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 |
| 197 | use the same model. Then the duration of an instantiation test should be |
| 198 | almost constant, which is not the case. Further investigations are needed. |
mrichomme | 7fee142 | 2020-12-08 15:46:33 +0100 | [diff] [blame] | 199 | |
morganrol | 81dc70f | 2021-04-06 19:57:44 +0200 | [diff] [blame] | 200 | .. important:: |
mrichomme | 8bb34f0 | 2021-11-09 17:26:29 +0100 | [diff] [blame] | 201 | 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). |