2026-05-14 03:04:49,348 - INFO - Domain Default found not creating 2026-05-14 03:04:49,669 - INFO - Project ctest-TestBasicPolicy-92899286 not found, creating it 2026-05-14 03:04:50,260 - INFO - Created Project:ctest-TestBasicPolicy-92899286, ID : 0e67cfa6-2ab5-4bde-ae51-1cd0974fbc52 2026-05-14 03:04:52,021 - INFO - ================================================================================ 2026-05-14 03:04:52,021 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-05-14 03:04:52,021 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2026-05-14 03:04:53,297 - DEBUG - Nothing to compare xmpp stats {'10.0.0.240': {'10.20.0.18': '0', '10.20.0.129': '0'}, '10.0.0.65': {'10.20.0.18': '0', '10.20.0.129': '0'}} with 2026-05-14 03:04:53,297 - INFO - Initial checks done. Running the testcase now 2026-05-14 03:04:53,297 - INFO - 2026-05-14 03:04:54,154 - DEBUG - Response for create_network : {'network': {'id': '41f674cf-0752-45bb-b050-ec7ed5c65508', 'name': 'ctest-vn-50820894', 'tenant_id': '0e67cfa62ab54bdeae511cd0974fbc52', 'project_id': '0e67cfa62ab54bdeae511cd0974fbc52', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-92899286', 'ctest-vn-50820894'], 'port_security_enabled': True, 'description': ''}} 2026-05-14 03:04:54,456 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b7c03be8-2bd1-4583-bb8c-e25cf53eebb3', 'name': '', 'tenant_id': '0e67cfa62ab54bdeae511cd0974fbc52', 'network_id': '41f674cf-0752-45bb-b050-ec7ed5c65508', 'ip_version': 4, 'cidr': '189.139.75.128/26', 'allocation_pools': [{'start': '189.139.75.130', 'end': '189.139.75.190'}], 'gateway_ip': '189.139.75.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '189.139.75.130', 'tags': [], 'project_id': '0e67cfa62ab54bdeae511cd0974fbc52'}} 2026-05-14 03:04:54,481 - INFO - Created VN ctest-vn-50820894 2026-05-14 03:04:54,496 - DEBUG - VN ctest-vn-50820894 UUID is 41f674cf-0752-45bb-b050-ec7ed5c65508 2026-05-14 03:04:54,921 - DEBUG - Response for create_network : {'network': {'id': 'ca383467-4e5c-4ac7-a03a-bc1666f768c9', 'name': 'ctest-vn-89723251', 'tenant_id': '0e67cfa62ab54bdeae511cd0974fbc52', 'project_id': '0e67cfa62ab54bdeae511cd0974fbc52', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-92899286', 'ctest-vn-89723251'], 'port_security_enabled': True, 'description': ''}} 2026-05-14 03:04:55,235 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a3c22254-d774-42db-93ce-b48d2588aa0d', 'name': '', 'tenant_id': '0e67cfa62ab54bdeae511cd0974fbc52', 'network_id': 'ca383467-4e5c-4ac7-a03a-bc1666f768c9', 'ip_version': 4, 'cidr': '128.67.181.192/26', 'allocation_pools': [{'start': '128.67.181.194', 'end': '128.67.181.254'}], 'gateway_ip': '128.67.181.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '128.67.181.194', 'tags': [], 'project_id': '0e67cfa62ab54bdeae511cd0974fbc52'}} 2026-05-14 03:04:55,268 - INFO - Created VN ctest-vn-89723251 2026-05-14 03:04:55,284 - DEBUG - VN ctest-vn-89723251 UUID is ca383467-4e5c-4ac7-a03a-bc1666f768c9 2026-05-14 03:04:55,386 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-92899286:ctest-vn-50820894, security_group = None, network_policy = None, subnet_list = []], src_ports = [start_port = -1, end_port = -1], application = [], dst_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-92899286:ctest-vn-89723251, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2026-05-14 03:04:55,776 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '41f674cf-0752-45bb-b050-ec7ed5c65508', 'name': 'ctest-vn-50820894', 'tenant_id': '0e67cfa62ab54bdeae511cd0974fbc52', 'project_id': '0e67cfa62ab54bdeae511cd0974fbc52', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b7c03be8-2bd1-4583-bb8c-e25cf53eebb3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-92899286', 'ctest-vn-50820894'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-92899286', 'ctest-policy-allow-all-70387425']], 'subnet_ipam': [{'subnet_cidr': '189.139.75.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-14 03:04:56,031 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ca383467-4e5c-4ac7-a03a-bc1666f768c9', 'name': 'ctest-vn-89723251', 'tenant_id': '0e67cfa62ab54bdeae511cd0974fbc52', 'project_id': '0e67cfa62ab54bdeae511cd0974fbc52', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a3c22254-d774-42db-93ce-b48d2588aa0d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-92899286', 'ctest-vn-89723251'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-92899286', 'ctest-policy-allow-all-70387425']], 'subnet_ipam': [{'subnet_cidr': '128.67.181.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-14 03:04:56,151 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2026-05-14 03:04:56,499 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2026-05-14 03:04:56,585 - DEBUG - Requesting: http://10.0.0.27:8082/domain/50f581a9-730f-4c54-9cc2-74fc8369ab40 2026-05-14 03:04:56,608 - DEBUG - Requesting: http://10.0.0.27:8082/project/0e67cfa6-2ab5-4bde-ae51-1cd0974fbc52 2026-05-14 03:04:56,726 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/41f674cf-0752-45bb-b050-ec7ed5c65508 2026-05-14 03:04:56,744 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/41f674cf-0752-45bb-b050-ec7ed5c65508 2026-05-14 03:04:56,759 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/68fda56f-d167-4d57-ab95-f1f4925d5ad1 2026-05-14 03:04:56,770 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/68fda56f-d167-4d57-ab95-f1f4925d5ad1 2026-05-14 03:04:56,793 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/4fdae675-3368-494b-820c-d4c0b04fc367 2026-05-14 03:04:56,802 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-14 03:04:56,802 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/41f674cf-0752-45bb-b050-ec7ed5c65508 2026-05-14 03:04:56,813 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/68fda56f-d167-4d57-ab95-f1f4925d5ad1 2026-05-14 03:04:56,832 - INFO - Verified VN network id 16 for VN 41f674cf-0752-45bb-b050-ec7ed5c65508 2026-05-14 03:04:56,832 - INFO - Verifications in API Server for VN ctest-vn-50820894 passed 2026-05-14 03:04:56,833 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/41f674cf-0752-45bb-b050-ec7ed5c65508 2026-05-14 03:04:56,844 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/68fda56f-d167-4d57-ab95-f1f4925d5ad1 2026-05-14 03:04:56,851 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/68fda56f-d167-4d57-ab95-f1f4925d5ad1 2026-05-14 03:04:56,860 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/4fdae675-3368-494b-820c-d4c0b04fc367 2026-05-14 03:04:56,873 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-92899286:ctest-vn-50820894', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-92899286', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4753114889266021819', 'uuid-lslong': '12704914578308748552'}, 'enable': 'true', 'created': '2026-05-14T03:04:54', 'last-modified': '2026-05-14T03:04:55', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.161003'} 2026-05-14 03:04:56,879 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-14 03:04:56,885 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-92899286:ctest-vn-50820894', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-92899286', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4753114889266021819', 'uuid-lslong': '12704914578308748552'}, 'enable': 'true', 'created': '2026-05-14T03:04:54', 'last-modified': '2026-05-14T03:04:55', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.165289'} 2026-05-14 03:04:56,892 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-14 03:04:56,899 - DEBUG - Control-node 10.0.0.23 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-92899286:ctest-vn-50820894', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-92899286', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4753114889266021819', 'uuid-lslong': '12704914578308748552'}, 'enable': 'true', 'created': '2026-05-14T03:04:54', 'last-modified': '2026-05-14T03:04:55', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.195970'} 2026-05-14 03:04:56,907 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-14 03:04:56,907 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-50820894 passed 2026-05-14 03:04:56,907 - DEBUG - ====Verifying policy data for ctest-vn-50820894 in API_Server ====== 2026-05-14 03:04:56,907 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2026-05-14 03:04:56,915 - DEBUG - Requesting: http://10.0.0.27:8082/domain/50f581a9-730f-4c54-9cc2-74fc8369ab40 2026-05-14 03:04:56,928 - DEBUG - Requesting: http://10.0.0.27:8082/project/0e67cfa6-2ab5-4bde-ae51-1cd0974fbc52 2026-05-14 03:04:57,049 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/41f674cf-0752-45bb-b050-ec7ed5c65508 2026-05-14 03:04:57,060 - DEBUG - ==>Verifying data for policy with id: d5e2c4d6-155e-4e77-b2fa-61f6b76eda58, fqn: ['default-domain', 'ctest-TestBasicPolicy-92899286', 'ctest-policy-allow-all-70387425'] 2026-05-14 03:04:57,061 - INFO - VN ctest-vn-50820894 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-14 03:04:57,061 - DEBUG - Verifying the vn in opserver 2026-05-14 03:04:57,061 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-92899286:ctest-vn-50820894 virtual network link through opserver 10.0.0.27 2026-05-14 03:04:57,061 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2026-05-14 03:04:57,406 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2026-05-14 03:04:57,492 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-92899286:ctest-vn-50820894', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-92899286:ctest-vn-50820894?flat'} 2026-05-14 03:04:57,492 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-92899286:ctest-vn-50820894 virtual network link through opserver 10.0.0.22 2026-05-14 03:04:57,493 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-05-14 03:04:57,848 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-05-14 03:04:57,924 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-92899286:ctest-vn-50820894', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-92899286:ctest-vn-50820894?flat'} 2026-05-14 03:04:57,924 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-92899286:ctest-vn-50820894 virtual network link through opserver 10.0.0.23 2026-05-14 03:04:57,924 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2026-05-14 03:04:58,270 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2026-05-14 03:04:58,346 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-92899286:ctest-vn-50820894', 'href': 'http://10.0.0.23:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-92899286:ctest-vn-50820894?flat'} 2026-05-14 03:04:58,346 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-92899286:ctest-vn-50820894 is found in opserver 2026-05-14 03:04:58,373 - DEBUG - Do not have enough data to verify VN in agent 2026-05-14 03:04:58,385 - DEBUG - VRF ids for VN ctest-vn-50820894: {} 2026-05-14 03:04:58,385 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2026-05-14 03:04:58,392 - DEBUG - Requesting: http://10.0.0.27:8082/domain/50f581a9-730f-4c54-9cc2-74fc8369ab40 2026-05-14 03:04:58,414 - DEBUG - Requesting: http://10.0.0.27:8082/project/0e67cfa6-2ab5-4bde-ae51-1cd0974fbc52 2026-05-14 03:04:58,524 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/ca383467-4e5c-4ac7-a03a-bc1666f768c9 2026-05-14 03:04:58,545 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/ca383467-4e5c-4ac7-a03a-bc1666f768c9 2026-05-14 03:04:58,556 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/988fe9e9-6ac1-497c-9939-a305803e9e76 2026-05-14 03:04:58,564 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/988fe9e9-6ac1-497c-9939-a305803e9e76 2026-05-14 03:04:58,573 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/9c10f7b8-b310-4a35-8300-8206a6f2d4cb 2026-05-14 03:04:58,584 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-05-14 03:04:58,584 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/ca383467-4e5c-4ac7-a03a-bc1666f768c9 2026-05-14 03:04:58,597 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/988fe9e9-6ac1-497c-9939-a305803e9e76 2026-05-14 03:04:58,626 - INFO - Verified VN network id 17 for VN ca383467-4e5c-4ac7-a03a-bc1666f768c9 2026-05-14 03:04:58,627 - INFO - Verifications in API Server for VN ctest-vn-89723251 passed 2026-05-14 03:04:58,627 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/ca383467-4e5c-4ac7-a03a-bc1666f768c9 2026-05-14 03:04:58,641 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/988fe9e9-6ac1-497c-9939-a305803e9e76 2026-05-14 03:04:58,652 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/988fe9e9-6ac1-497c-9939-a305803e9e76 2026-05-14 03:04:58,662 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/9c10f7b8-b310-4a35-8300-8206a6f2d4cb 2026-05-14 03:04:58,680 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-92899286:ctest-vn-89723251', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-92899286', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14571454212658186951', 'uuid-lslong': '11545747399120480457'}, 'enable': 'true', 'created': '2026-05-14T03:04:54', 'last-modified': '2026-05-14T03:04:55', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.717673'} 2026-05-14 03:04:58,689 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-05-14 03:04:58,695 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-92899286:ctest-vn-89723251', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-92899286', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14571454212658186951', 'uuid-lslong': '11545747399120480457'}, 'enable': 'true', 'created': '2026-05-14T03:04:54', 'last-modified': '2026-05-14T03:04:55', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.733183'} 2026-05-14 03:04:58,711 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-05-14 03:04:58,731 - DEBUG - Control-node 10.0.0.23 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-92899286:ctest-vn-89723251', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-92899286', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14571454212658186951', 'uuid-lslong': '11545747399120480457'}, 'enable': 'true', 'created': '2026-05-14T03:04:54', 'last-modified': '2026-05-14T03:04:55', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.765995'} 2026-05-14 03:04:58,745 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-05-14 03:04:58,745 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-89723251 passed 2026-05-14 03:04:58,745 - DEBUG - ====Verifying policy data for ctest-vn-89723251 in API_Server ====== 2026-05-14 03:04:58,745 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2026-05-14 03:04:58,754 - DEBUG - Requesting: http://10.0.0.27:8082/domain/50f581a9-730f-4c54-9cc2-74fc8369ab40 2026-05-14 03:04:58,770 - DEBUG - Requesting: http://10.0.0.27:8082/project/0e67cfa6-2ab5-4bde-ae51-1cd0974fbc52 2026-05-14 03:04:58,878 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/ca383467-4e5c-4ac7-a03a-bc1666f768c9 2026-05-14 03:04:58,891 - DEBUG - ==>Verifying data for policy with id: d5e2c4d6-155e-4e77-b2fa-61f6b76eda58, fqn: ['default-domain', 'ctest-TestBasicPolicy-92899286', 'ctest-policy-allow-all-70387425'] 2026-05-14 03:04:58,891 - INFO - VN ctest-vn-89723251 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-14 03:04:58,891 - DEBUG - Verifying the vn in opserver 2026-05-14 03:04:58,891 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-92899286:ctest-vn-89723251 virtual network link through opserver 10.0.0.27 2026-05-14 03:04:58,891 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2026-05-14 03:04:59,167 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-92899286:ctest-vn-89723251', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-92899286:ctest-vn-89723251?flat'} 2026-05-14 03:04:59,167 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-92899286:ctest-vn-89723251 virtual network link through opserver 10.0.0.22 2026-05-14 03:04:59,167 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-05-14 03:04:59,618 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-92899286:ctest-vn-89723251', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-92899286:ctest-vn-89723251?flat'} 2026-05-14 03:04:59,618 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-92899286:ctest-vn-89723251 virtual network link through opserver 10.0.0.23 2026-05-14 03:04:59,618 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2026-05-14 03:04:59,745 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-92899286:ctest-vn-89723251', 'href': 'http://10.0.0.23:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-92899286:ctest-vn-89723251?flat'} 2026-05-14 03:04:59,745 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-92899286:ctest-vn-89723251 is found in opserver 2026-05-14 03:04:59,767 - DEBUG - Do not have enough data to verify VN in agent 2026-05-14 03:04:59,777 - DEBUG - VRF ids for VN ctest-vn-89723251: {} 2026-05-14 03:04:59,864 - DEBUG - Services list from nova: [, , , ] 2026-05-14 03:05:01,130 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5780-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5780-1) 2026-05-14 03:05:03,105 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5780-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5780-2) 2026-05-14 03:05:03,105 - INFO - Waiting for VM ctest-TestBasicPolicy-92899286-94434678 to be up.. 2026-05-14 03:05:03,222 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-14 03:05:08,340 - DEBUG - VM is in ACTIVE state now 2026-05-14 03:05:08,340 - INFO - VM name : ctest-TestBasicPolicy-92899286-94434678 2026-05-14 03:05:08,442 - DEBUG - VM ctest-TestBasicPolicy-92899286-94434678 ID is c5245304-654c-45a4-b50a-a1dbc64bd2c2 2026-05-14 03:05:08,483 - DEBUG - VM ctest-TestBasicPolicy-92899286-94434678 launched on Node an-jenkins-deploy-platform-ansible-os-5780-1 2026-05-14 03:05:08,598 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/c5245304-654c-45a4-b50a-a1dbc64bd2c2 2026-05-14 03:05:08,944 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/c5245304-654c-45a4-b50a-a1dbc64bd2c2 2026-05-14 03:05:08,994 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/3dfe84d7-df5b-4389-88c9-bf2bbc51ab22 2026-05-14 03:05:12,180 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1011ms') 2026-05-14 03:05:12,180 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-92899286-94434678 failed! 2026-05-14 03:05:12,198 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-92899286:ctest-vn-50820894 is 189.139.75.129 and allocation pool is NOT set 2026-05-14 03:05:16,273 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1009ms') 2026-05-14 03:05:16,273 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-92899286-94434678 failed! 2026-05-14 03:05:16,290 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-92899286:ctest-vn-50820894 is 189.139.75.129 and allocation pool is NOT set 2026-05-14 03:05:20,368 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1012ms') 2026-05-14 03:05:20,368 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-92899286-94434678 failed! 2026-05-14 03:05:20,384 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-92899286:ctest-vn-50820894 is 189.139.75.129 and allocation pool is NOT set 2026-05-14 03:05:24,467 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1020ms') 2026-05-14 03:05:24,467 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-92899286-94434678 failed! 2026-05-14 03:05:24,483 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-92899286:ctest-vn-50820894 is 189.139.75.129 and allocation pool is NOT set 2026-05-14 03:05:28,559 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1010ms') 2026-05-14 03:05:28,559 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-92899286-94434678 failed! 2026-05-14 03:05:28,575 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-92899286:ctest-vn-50820894 is 189.139.75.129 and allocation pool is NOT set 2026-05-14 03:05:32,659 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1023ms') 2026-05-14 03:05:32,659 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-92899286-94434678 failed! 2026-05-14 03:05:32,677 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-92899286:ctest-vn-50820894 is 189.139.75.129 and allocation pool is NOT set 2026-05-14 03:05:36,756 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1011ms') 2026-05-14 03:05:36,756 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-92899286-94434678 failed! 2026-05-14 03:05:36,773 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-92899286:ctest-vn-50820894 is 189.139.75.129 and allocation pool is NOT set 2026-05-14 03:05:40,847 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1011ms') 2026-05-14 03:05:40,847 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-92899286-94434678 failed! 2026-05-14 03:05:40,865 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-92899286:ctest-vn-50820894 is 189.139.75.129 and allocation pool is NOT set 2026-05-14 03:05:42,926 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=5.16 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.876 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.876/3.019/5.162/2.143 ms') 2026-05-14 03:05:42,926 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-92899286-94434678 passed 2026-05-14 03:05:43,004 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-14 03:05:43,005 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-92899286-94434678, IP 189.139.75.131, Port 22 2026-05-14 03:05:43,071 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-05-14 03:05:43,185 - DEBUG - VM ctest-TestBasicPolicy-92899286-94434678 is NOT ready for SSH connections, VM status: ACTIVE 2026-05-14 03:05:48,186 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-14 03:05:48,186 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-92899286-94434678, IP 189.139.75.131, Port 22 2026-05-14 03:05:48,247 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-05-14 03:05:48,359 - DEBUG - VM ctest-TestBasicPolicy-92899286-94434678 is NOT ready for SSH connections, VM status: ACTIVE 2026-05-14 03:05:53,360 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-14 03:05:53,361 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-92899286-94434678, IP 189.139.75.131, Port 22 2026-05-14 03:05:53,428 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-05-14 03:05:53,522 - DEBUG - VM ctest-TestBasicPolicy-92899286-94434678 is NOT ready for SSH connections, VM status: ACTIVE 2026-05-14 03:05:58,523 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-14 03:05:58,524 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-92899286-94434678, IP 189.139.75.131, Port 22 2026-05-14 03:05:58,591 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-05-14 03:05:58,710 - DEBUG - VM ctest-TestBasicPolicy-92899286-94434678 is NOT ready for SSH connections, VM status: ACTIVE 2026-05-14 03:06:03,710 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-14 03:06:03,710 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-92899286-94434678, IP 189.139.75.131, Port 22 2026-05-14 03:06:03,883 - DEBUG - VM ctest-TestBasicPolicy-92899286-94434678 is ready for SSH connections 2026-05-14 03:06:03,884 - INFO - Waiting for VM ctest-TestBasicPolicy-92899286-47694082 to be up.. 2026-05-14 03:06:03,990 - DEBUG - VM is in ACTIVE state now 2026-05-14 03:06:03,990 - INFO - VM name : ctest-TestBasicPolicy-92899286-47694082 2026-05-14 03:06:04,092 - DEBUG - VM ctest-TestBasicPolicy-92899286-47694082 ID is 6afde6c3-d7c5-4bfd-b461-377f7d93f1c4 2026-05-14 03:06:04,092 - DEBUG - VM ctest-TestBasicPolicy-92899286-47694082 launched on Node an-jenkins-deploy-platform-ansible-os-5780-2 2026-05-14 03:06:04,198 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/6afde6c3-d7c5-4bfd-b461-377f7d93f1c4 2026-05-14 03:06:04,210 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/aaf9af8c-65e5-45c3-858d-187830f1764a 2026-05-14 03:06:05,385 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=3.41 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.73 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 2.726/3.070/3.414/0.344 ms') 2026-05-14 03:06:05,386 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-92899286-47694082 passed 2026-05-14 03:06:05,461 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-14 03:06:05,461 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-92899286-47694082, IP 128.67.181.195, Port 22 2026-05-14 03:06:05,530 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-05-14 03:06:05,654 - DEBUG - VM ctest-TestBasicPolicy-92899286-47694082 is NOT ready for SSH connections, VM status: ACTIVE 2026-05-14 03:06:10,655 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-14 03:06:10,655 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-92899286-47694082, IP 128.67.181.195, Port 22 2026-05-14 03:06:10,815 - DEBUG - VM ctest-TestBasicPolicy-92899286-47694082 is ready for SSH connections 2026-05-14 03:06:10,815 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-14 03:06:10,815 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 128.67.181.195, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.240, gateway password: c0ntrail123 2026-05-14 03:06:10,816 - DEBUG - ping -s 56 -c 3 -W 1 128.67.181.195 2026-05-14 03:06:29,964 - DEBUG - PING 128.67.181.195 (128.67.181.195) 56(84) bytes of data. 64 bytes from 128.67.181.195: icmp_req=1 ttl=63 time=8.75 ms 64 bytes from 128.67.181.195: icmp_req=2 ttl=63 time=2.66 ms 64 bytes from 128.67.181.195: icmp_req=3 ttl=63 time=1.99 ms --- 128.67.181.195 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 1.994/4.473/8.757/3.042 ms 2026-05-14 03:06:29,964 - INFO - Ping to IP 128.67.181.195 from VM ctest-TestBasicPolicy-92899286-94434678 passed 2026-05-14 03:06:30,219 - DEBUG - Policy Update Response {"network-policy": {"uuid": "d5e2c4d6-155e-4e77-b2fa-61f6b76eda58", "href": "http://10.0.0.23:8082/network-policy/d5e2c4d6-155e-4e77-b2fa-61f6b76eda58"}} 2026-05-14 03:06:30,219 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-14 03:06:30,219 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 128.67.181.195, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.240, gateway password: c0ntrail123 2026-05-14 03:06:30,219 - DEBUG - ping -s 56 -c 3 -W 1 128.67.181.195 2026-05-14 03:06:33,734 - DEBUG - PING 128.67.181.195 (128.67.181.195) 56(84) bytes of data. 64 bytes from 128.67.181.195: icmp_req=1 ttl=63 time=5.94 ms --- 128.67.181.195 ping statistics --- 3 packets transmitted, 1 received, 66% packet loss, time 2010ms rtt min/avg/max/mdev = 5.944/5.944/5.944/0.000 ms 2026-05-14 03:06:33,734 - WARNING - Ping to IP 128.67.181.195 from VM ctest-TestBasicPolicy-92899286-94434678 failed 2026-05-14 03:06:33,734 - INFO - Deleting VM ctest-TestBasicPolicy-92899286-47694082 2026-05-14 03:06:33,822 - INFO - Deleting VM ctest-TestBasicPolicy-92899286-94434678 2026-05-14 03:06:34,457 - INFO - Deleted policy ctest-policy-allow-all-70387425 2026-05-14 03:06:34,457 - INFO - Deleting VN ctest-vn-89723251 2026-05-14 03:06:34,574 - DEBUG - VN ca383467-4e5c-4ac7-a03a-bc1666f768c9 still in use: Unable to complete operation on network ca383467-4e5c-4ac7-a03a-bc1666f768c9. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7866188b-bdb0-42f5-9fd0-20f9087c13fc'] 2026-05-14 03:06:34,574 - WARNING - Deleting VN ctest-vn-89723251 failed..Will retry 2026-05-14 03:06:36,811 - DEBUG - Response for deleting network () 2026-05-14 03:06:36,811 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/988fe9e9-6ac1-497c-9939-a305803e9e76 2026-05-14 03:06:36,817 - DEBUG - Response Code: 404 2026-05-14 03:06:36,818 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2026-05-14 03:06:36,824 - DEBUG - Requesting: http://10.0.0.27:8082/domain/50f581a9-730f-4c54-9cc2-74fc8369ab40 2026-05-14 03:06:36,877 - DEBUG - Requesting: http://10.0.0.27:8082/project/0e67cfa6-2ab5-4bde-ae51-1cd0974fbc52 2026-05-14 03:06:36,986 - INFO - Validated that VN ctest-vn-89723251 is not found in API Server 2026-05-14 03:06:36,997 - DEBUG - VN ctest-vn-89723251 is not present in Agent 10.0.0.240 2026-05-14 03:06:37,013 - DEBUG - VN ctest-vn-89723251 is not present in Agent 10.0.0.65 2026-05-14 03:06:37,013 - INFO - Validated that VN ctest-vn-89723251 is not in any agent 2026-05-14 03:06:37,049 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-89723251 info 2026-05-14 03:06:37,049 - INFO - Deleting VN ctest-vn-50820894 2026-05-14 03:06:37,239 - DEBUG - Response for deleting network () 2026-05-14 03:06:37,239 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/68fda56f-d167-4d57-ab95-f1f4925d5ad1 2026-05-14 03:06:37,256 - DEBUG - Response Code: 404 2026-05-14 03:06:37,256 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2026-05-14 03:06:37,266 - DEBUG - Requesting: http://10.0.0.27:8082/domain/50f581a9-730f-4c54-9cc2-74fc8369ab40 2026-05-14 03:06:37,287 - DEBUG - Requesting: http://10.0.0.27:8082/project/0e67cfa6-2ab5-4bde-ae51-1cd0974fbc52 2026-05-14 03:06:37,386 - INFO - Validated that VN ctest-vn-50820894 is not found in API Server 2026-05-14 03:06:37,399 - DEBUG - VN ctest-vn-50820894 is not present in Agent 10.0.0.240 2026-05-14 03:06:37,413 - DEBUG - VN ctest-vn-50820894 is not present in Agent 10.0.0.65 2026-05-14 03:06:37,413 - INFO - Validated that VN ctest-vn-50820894 is not in any agent 2026-05-14 03:06:37,449 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-50820894 info 2026-05-14 03:06:38,741 - DEBUG - No XMPP flaps were noticed during the test
2026-05-14 03:06:38,741 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:46]
2026-05-14 03:06:38,741 - INFO - -------------------------------------------------------------------------------- 2026-05-14 03:06:39,593 - INFO - Deleted project: ctest-TestBasicPolicy-92899286, ID : 0e67cfa6-2ab5-4bde-ae51-1cd0974fbc52