vmware / load-balancer-and-ingress-services-for-kubernetes

Load Balancer and Ingress services for Kubernetes
Other
101 stars 59 forks source link

AV-221865 process referred HTTPRoutes in gateway key #1574

Open arihantg opened 1 week ago

arihantg commented 1 week ago
**********************************************************************************************************************************
*                                          AviTest Test Cases Execution Summary Report                                           *
**********************************************************************************************************************************
+----------------------------------------------------------------------------------+----------------+---------------------+-------------+-------------+
| Absolute Path:Test case                                                          |     Results    |       Duration      |  Start Time |   End Time  |
+----------------------------------------------------------------------------------+----------------+---------------------+-------------+-------------+
|      Test Suite Path and Name : test/avitest/functional/ako/ako-gw-              |                |                     |             |             |
| api/test_gateway.py                                                              |                |                     |             |             |
| ++++++++++++++++++++++++++++++++++++++++                                         |                |                     |             |             |
| TestGateway.test_setup_configuration                                             |     PASSED     |       00:00:03      |   07:10:38  |   07:10:42  |
| TestGateway.test_gateway_crud                                                    |     PASSED     |       00:01:16      |   07:10:42  |   07:11:58  |
| TestGateway.test_update_gateway_without_gateway_class                            |     PASSED     |       00:01:32      |   07:11:58  |   07:13:31  |
| TestGateway.test_gateway_with_different_hosts                                    |     PASSED     |       00:00:46      |   07:13:31  |   07:14:17  |
| TestGateway.test_parent_vs_from_secure_gateway                                   |     PASSED     |       00:00:46      |   07:14:17  |   07:15:04  |
| TestGateway.test_parent_vs_from_insecure_gateway                                 |     PASSED     |       00:00:46      |   07:15:04  |   07:15:51  |
| TestGateway.test_gateway_with_static_ip_address                                  |     PASSED     |       00:02:02      |   07:15:51  |   07:17:54  |
| TestGateway.test_gateway_with_invalid_secret_ref                                 |     FAILED     |       00:00:00      |   07:17:54  |   07:17:55  |
| -------------------------------------------------------------------------------- |  ------------  |     -----------     | ----------- | ----------- |
|                                                                                  |    Passed: 7   |                     |             |             |
|                                                                                  |    Failed:1   |                     |             |             |
|  Total test cases: 8                                                             |    Skipped:0   | Total Time:00:07:16 |             |             |
+----------------------------------------------------------------------------------+----------------+---------------------+-------------+-------------+

**********************************************************************************************************************************
*                                          AviTest Test Cases Execution Summary Report                                           *
**********************************************************************************************************************************
+----------------------------------------------------------------------------------+----------------+---------------------+-------------+-------------+
| Absolute Path:Test case                                                          |     Results    |       Duration      |  Start Time |   End Time  |
+----------------------------------------------------------------------------------+----------------+---------------------+-------------+-------------+
|      Test Suite Path and Name : test/avitest/functional/ako/ako-gw-              |                |                     |             |             |
| api/test_transitions.py                                                          |                |                     |             |             |
| ++++++++++++++++++++++++++++++++++++++++                                         |                |                     |             |             |
| TestTransitions.test_setup_configuration                                         |     PASSED     |       00:00:03      |   07:30:20  |   07:30:24  |
| TestTransitions.test_insecure_to_secure_gateway                                  |     PASSED     |       00:01:27      |   07:30:24  |   07:31:52  |
| TestTransitions.test_secure_to_insecure_gateway                                  |     PASSED     |       00:01:17      |   07:31:52  |   07:33:09  |
| TestTransitions.test_clusterip_to_nodeport                                       |     PASSED     |       00:02:40      |   07:33:09  |   07:35:50  |
| TestTransitions.test_nodeport_to_clusterip                                       |     PASSED     |       00:02:40      |   07:35:50  |   07:38:30  |
| TestTransitions.test_order_http_route_then_gateway                               |     PASSED     |       00:01:23      |   07:38:30  |   07:39:53  |
| TestTransitions.test_order_http_route_then_gateway_different_namespace           |     PASSED     |       00:01:18      |   07:39:53  |   07:41:12  |
| TestTransitions.test_order_http_route_different_namespace_then_gateway_invalid_t |     PASSED     |                     |             |             |
| o_valid                                                                          |                |       00:01:08      |   07:41:12  |   07:42:21  |
| TestTransitions.test_order_http_route_then_gateway_invalid_to_valid              |     PASSED     |       00:01:08      |   07:42:21  |   07:43:29  |
| TestTransitions.test_gateway_invalid_to_valid_to_partially_valid                 |     PASSED     |       00:02:46      |   07:43:29  |   07:46:16  |
| TestTransitions.test_gateway_invalid_to_partially_valid_to_valid                 |     PASSED     |       00:03:17      |   07:46:16  |   07:49:34  |
| TestTransitions.test_gateway_partially_valid_to_invalid                          |     PASSED     |       00:01:50      |   07:49:34  |   07:51:24  |
| TestTransitions.test_gateway_valid_to_invalid                                    |     PASSED     |       00:01:51      |   07:51:24  |   07:53:16  |
| TestTransitions.test_delete_configurations                                       |     PASSED     |       00:00:50      |   07:53:16  |   07:54:07  |
| -------------------------------------------------------------------------------- |  ------------  |     -----------     | ----------- | ----------- |
|                                                                                  |   Passed: 14   |                     |             |             |
|                                                                                  |    Failed:0    |                     |             |             |
|  Total test cases: 14                                                            |    Skipped:0   | Total Time:00:23:46 |             |             |
+----------------------------------------------------------------------------------+----------------+---------------------+-------------+-------------+
arihantg commented 1 week ago

build ako

arihantg commented 1 week ago

build ako

arihantg commented 6 days ago

build ako

arihantg commented 5 days ago

Final Ft Results

**********************************************************************************************************************************
+----------------------------------------------------------------------------------+----------------+---------------------+-------------+-------------+
| Absolute Path:Test case                                                          |     Results    |       Duration      |  Start Time |   End Time  |
+----------------------------------------------------------------------------------+----------------+---------------------+-------------+-------------+
|      Test Suite Path and Name : test/avitest/functional/ako/ako-gw-              |                |                     |             |             |
| api/test_transitions.py                                                          |                |                     |             |             |
| ++++++++++++++++++++++++++++++++++++++++                                         |                |                     |             |             |
| TestTransitions.test_setup_configuration                                         |     PASSED     |       00:00:03      |   06:08:29  |   06:08:33  |
| TestTransitions.test_insecure_to_secure_gateway                                  |     PASSED     |       00:01:27      |   06:08:33  |   06:10:00  |
| TestTransitions.test_secure_to_insecure_gateway                                  |     PASSED     |       00:01:16      |   06:10:00  |   06:11:17  |
| TestTransitions.test_clusterip_to_nodeport                                       |     PASSED     |       00:02:41      |   06:11:17  |   06:13:59  |
| TestTransitions.test_nodeport_to_clusterip                                       |     PASSED     |       00:02:40      |   06:13:59  |   06:16:39  |
| TestTransitions.test_order_http_route_then_gateway                               |     PASSED     |       00:01:53      |   06:16:39  |   06:18:33  |
| TestTransitions.test_order_http_route_then_gateway_different_namespace           |     PASSED     |       00:01:18      |   06:18:33  |   06:19:51  |
| TestTransitions.test_order_http_route_different_namespace_then_gateway_invalid_t |     PASSED     |                     |             |             |
| o_valid                                                                          |                |       00:01:08      |   06:19:51  |   06:21:00  |
| TestTransitions.test_order_http_route_then_gateway_invalid_to_valid              |     PASSED     |       00:01:08      |   06:21:00  |   06:22:09  |
| TestTransitions.test_gateway_invalid_to_valid_to_partially_valid                 |     PASSED     |       00:02:47      |   06:22:09  |   06:24:56  |
| TestTransitions.test_gateway_invalid_to_partially_valid_to_valid                 |     PASSED     |       00:03:17      |   06:24:56  |   06:28:14  |
| TestTransitions.test_gateway_partially_valid_to_invalid                          |     PASSED     |       00:01:50      |   06:28:14  |   06:30:04  |
| TestTransitions.test_gateway_valid_to_invalid                                    |     PASSED     |       00:01:52      |   06:30:04  |   06:31:56  |
| TestTransitions.test_delete_configurations                                       |     PASSED     |       00:00:51      |   06:31:56  |   06:32:47  |
| -------------------------------------------------------------------------------- |  ------------  |     -----------     | ----------- | ----------- |
|                                                                                  |   Passed: 14   |                     |             |             |
|                                                                                  |    Failed:0    |                     |             |             |
|  Total test cases: 14                                                            |    Skipped:0   | Total Time:00:24:18 |             |             |
+----------------------------------------------------------------------------------+----------------+---------------------+-------------+-------------+

**********************************************************************************************************************************
*                                          AviTest Test Cases Execution Summary Report                                           *
**********************************************************************************************************************************
+----------------------------------------------------------------------------------+----------------+---------------------+-------------+-------------+
| Absolute Path:Test case                                                          |     Results    |       Duration      |  Start Time |   End Time  |
+----------------------------------------------------------------------------------+----------------+---------------------+-------------+-------------+
|      Test Suite Path and Name : test/avitest/functional/ako/ako-gw-              |                |                     |             |             |
| api/test_gateway.py                                                              |                |                     |             |             |
| ++++++++++++++++++++++++++++++++++++++++                                         |                |                     |             |             |
| TestGateway.test_setup_configuration                                             |     PASSED     |       00:00:03      |   07:01:08  |   07:01:11  |
| TestGateway.test_gateway_crud                                                    |     PASSED     |       00:02:02      |   07:01:11  |   07:03:13  |
| TestGateway.test_update_gateway_without_gateway_class                            |     PASSED     |       00:01:32      |   07:03:13  |   07:04:46  |
| TestGateway.test_gateway_with_different_hosts                                    |     PASSED     |       00:00:46      |   07:04:46  |   07:05:33  |
| TestGateway.test_parent_vs_from_secure_gateway                                   |     PASSED     |       00:00:46      |   07:05:33  |   07:06:20  |
| TestGateway.test_parent_vs_from_insecure_gateway                                 |     PASSED     |       00:00:46      |   07:06:20  |   07:07:07  |
| TestGateway.test_gateway_with_static_ip_address                                  |     PASSED     |       00:01:32      |   07:07:07  |   07:08:39  |
| TestGateway.test_gateway_with_invalid_secret_ref                                 |     FAILED     |       00:08:32      |   07:08:39  |   07:17:12  |
| TestGateway.test_delete_configurations                                           |     PASSED     |       00:00:10      |   07:17:13  |   07:17:24  |
| -------------------------------------------------------------------------------- |  ------------  |     -----------     | ----------- | ----------- |
|                                                                                  |    Passed: 8   |                     |             |             |
|                                                                                  |    Failed:1    |                     |             |             |
|  Total test cases: 9                                                             |    Skipped:0   | Total Time:00:16:15 |             |             |
+----------------------------------------------------------------------------------+----------------+---------------------+-------------+-------------+

**********************************************************************************************************************************
*                                          AviTest Test Cases Execution Summary Report                                           *
**********************************************************************************************************************************
+----------------------------------------------------------------------------------+----------------+---------------------+-------------+-------------+
| Absolute Path:Test case                                                          |     Results    |       Duration      |  Start Time |   End Time  |
+----------------------------------------------------------------------------------+----------------+---------------------+-------------+-------------+
|      Test Suite Path and Name : test/avitest/functional/ako/ako-gw-              |                |                     |             |             |
| api/test_http_route.py                                                           |                |                     |             |             |
| ++++++++++++++++++++++++++++++++++++++++                                         |                |                     |             |             |
| TestHttpRoute.test_setup_configuration                                           |   [1;32m  PASSED  [0m   |       00:00:49      |   07:25:19  |   07:26:08  |
| TestHttpRoute.test_insecure_httproute                                            |   [1;32m  PASSED  [0m   |       00:01:04      |   07:26:08  |   07:27:12  |
| TestHttpRoute.test_secure_httproute                                              |   [1;32m  PASSED  [0m   |       00:01:03      |   07:27:12  |   07:28:16  |
| TestHttpRoute.test_httproute_match_crud                                          |   [1;32m  PASSED  [0m   |       00:01:50      |   07:28:16  |   07:30:06  |
| TestHttpRoute.test_httproute_match_append_header_crud                            |   [1;32m  PASSED  [0m   |       00:01:50      |   07:30:06  |   07:31:56  |
| TestHttpRoute.test_httproute_match_replace_header_crud                           |   [1;32m  PASSED  [0m   |       00:01:50      |   07:31:56  |   07:33:47  |
| TestHttpRoute.test_httproute_filter_crud                                         |  [1;33m  SKIPPED  [0m   |       00:00:01      |   07:33:47  |   07:33:48  |
| TestHttpRoute.test_httproute_backendref_crud                                     |   [1;32m  PASSED  [0m   |       00:01:33      |   07:33:48  |   07:35:22  |
| TestHttpRoute.test_httproute_multiple_rules                                      |   [1;32m  PASSED  [0m   |       00:01:35      |   07:35:22  |   07:36:57  |
| TestHttpRoute.test_http_route_with_multiple_gateways                             |   [1;32m  PASSED  [0m   |       00:02:05      |   07:36:57  |   07:39:02  |
| TestHttpRoute.test_multiple_http_routes_with_gateway                             |   [1;32m  PASSED  [0m   |       00:02:36      |   07:39:02  |   07:41:38  |
| TestHttpRoute.test_http_route_same_path_different_headers                        |   [1;32m  PASSED  [0m   |       00:01:35      |   07:41:38  |   07:43:14  |
| TestHttpRoute.test_httproute_multiple_hosts                                      |   [1;32m  PASSED  [0m   |       00:02:05      |   07:43:14  |   07:45:19  |
| TestHttpRoute.test_http_route_wild_crd_fqdn                                      |   [1;32m  PASSED  [0m   |       00:01:03      |   07:45:19  |   07:46:22  |
| TestHttpRoute.test_http_route_no_fqdn                                            |   [1;31m  FAILED  [0m   |       00:00:31      |   07:46:22  |   07:46:54  |
| TestHttpRoute.test_traffic_split                                                 |   [1;32m  PASSED  [0m   |       00:03:44      |   07:46:55  |   07:50:39  |
| TestHttpRoute.test_httproute_default_backend                                     |   [1;32m  PASSED  [0m   |       00:02:07      |   07:50:39  |   07:52:47  |
| TestHttpRoute.test_httproute_with_no_match                                       |   [1;31m  FAILED  [0m   |       00:01:53      |   07:52:47  |   07:54:40  |
| TestHttpRoute.test_delete_configurations                                         |   [1;32m  PASSED  [0m   |       00:01:21      |   07:54:41  |   07:56:02  |
| -------------------------------------------------------------------------------- |  ------------  |     -----------     | ----------- | ----------- |
|                                                                                  | [1;32m  Passed: 16 [0m  |                     |             |             |
|                                                                                  |    [1;31mFailed:2[0m    |                     |             |             |
|  Total test cases: 19                                                            |    [1;33mSkipped:1[0m   | Total Time:00:30:41 |             |             |
arihantg commented 1 day ago

build ako

arihantg commented 1 day ago

build ako

arihantg commented 1 day ago

@arihantg: UTs are there for validating this flow?

Existing UT's added in https://github.com/vmware/load-balancer-and-ingress-services-for-kubernetes/pull/1550/ for gateway transitions are validating the flow.

arihantg commented 1 day ago

build ako