2026-06-18 13:17:57,648 - INFO - Domain Default found not creating 2026-06-18 13:17:57,825 - INFO - Project ctest-TestBasicPolicy-60970346 not found, creating it 2026-06-18 13:17:58,427 - INFO - Created Project:ctest-TestBasicPolicy-60970346, ID : 9511ac89-f737-43d7-a739-298dcad29d77 2026-06-18 13:18:00,076 - INFO - ================================================================================ 2026-06-18 13:18:00,076 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-06-18 13:18:00,077 - 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-06-18 13:18:01,348 - WARNING - Test is running with cores: {'10.0.0.129': ['core.contrail-collec.1.cn-jenkins-deploy-platform-ansible-os-5981-1.1781787175']} 2026-06-18 13:18:01,361 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.14': '0', '10.20.0.254': '0'}, '10.0.0.27': {'10.20.0.14': '0', '10.20.0.254': '0'}} with 2026-06-18 13:18:01,361 - INFO - Initial checks done. Running the testcase now 2026-06-18 13:18:01,361 - INFO - 2026-06-18 13:18:02,074 - DEBUG - Response for create_network : {'network': {'id': 'cc04485c-6783-4c71-b1c3-83c0d85a4849', 'name': 'ctest-vn-77207808', 'tenant_id': '9511ac89f73743d7a739298dcad29d77', 'project_id': '9511ac89f73743d7a739298dcad29d77', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-60970346', 'ctest-vn-77207808'], 'port_security_enabled': True, 'description': ''}} 2026-06-18 13:18:02,397 - DEBUG - Response for create_subnet : {'subnet': {'id': '918cd463-478c-46b3-a0ee-5ba88fe3a640', 'name': '', 'tenant_id': '9511ac89f73743d7a739298dcad29d77', 'network_id': 'cc04485c-6783-4c71-b1c3-83c0d85a4849', 'ip_version': 4, 'cidr': '63.200.212.192/26', 'allocation_pools': [{'start': '63.200.212.194', 'end': '63.200.212.254'}], 'gateway_ip': '63.200.212.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '63.200.212.194', 'tags': [], 'project_id': '9511ac89f73743d7a739298dcad29d77'}} 2026-06-18 13:18:02,419 - INFO - Created VN ctest-vn-77207808 2026-06-18 13:18:02,435 - DEBUG - VN ctest-vn-77207808 UUID is cc04485c-6783-4c71-b1c3-83c0d85a4849 2026-06-18 13:18:02,829 - DEBUG - Response for create_network : {'network': {'id': '2bc6b37b-bf0d-45d0-b352-bec7edd47135', 'name': 'ctest-vn-94909049', 'tenant_id': '9511ac89f73743d7a739298dcad29d77', 'project_id': '9511ac89f73743d7a739298dcad29d77', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-60970346', 'ctest-vn-94909049'], 'port_security_enabled': True, 'description': ''}} 2026-06-18 13:18:03,042 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a8c63c01-8fae-40d2-88b7-4e3c2b9f5def', 'name': '', 'tenant_id': '9511ac89f73743d7a739298dcad29d77', 'network_id': '2bc6b37b-bf0d-45d0-b352-bec7edd47135', 'ip_version': 4, 'cidr': '192.251.131.0/26', 'allocation_pools': [{'start': '192.251.131.2', 'end': '192.251.131.62'}], 'gateway_ip': '192.251.131.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '192.251.131.2', 'tags': [], 'project_id': '9511ac89f73743d7a739298dcad29d77'}} 2026-06-18 13:18:03,066 - INFO - Created VN ctest-vn-94909049 2026-06-18 13:18:03,079 - DEBUG - VN ctest-vn-94909049 UUID is 2bc6b37b-bf0d-45d0-b352-bec7edd47135 2026-06-18 13:18:03,158 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-60970346:ctest-vn-77207808, 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-60970346:ctest-vn-94909049, 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-06-18 13:18:03,513 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'cc04485c-6783-4c71-b1c3-83c0d85a4849', 'name': 'ctest-vn-77207808', 'tenant_id': '9511ac89f73743d7a739298dcad29d77', 'project_id': '9511ac89f73743d7a739298dcad29d77', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['918cd463-478c-46b3-a0ee-5ba88fe3a640'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-60970346', 'ctest-vn-77207808'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-60970346', 'ctest-policy-allow-all-67001526']], 'subnet_ipam': [{'subnet_cidr': '63.200.212.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-18 13:18:03,735 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2bc6b37b-bf0d-45d0-b352-bec7edd47135', 'name': 'ctest-vn-94909049', 'tenant_id': '9511ac89f73743d7a739298dcad29d77', 'project_id': '9511ac89f73743d7a739298dcad29d77', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a8c63c01-8fae-40d2-88b7-4e3c2b9f5def'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-60970346', 'ctest-vn-94909049'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-60970346', 'ctest-policy-allow-all-67001526']], 'subnet_ipam': [{'subnet_cidr': '192.251.131.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-18 13:18:03,857 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2026-06-18 13:18:04,215 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2026-06-18 13:18:04,244 - DEBUG - Requesting: http://10.0.0.129:8082/domain/7c53ba43-baa0-454c-9d61-eea798de07ed 2026-06-18 13:18:04,261 - DEBUG - Requesting: http://10.0.0.129:8082/project/9511ac89-f737-43d7-a739-298dcad29d77 2026-06-18 13:18:04,366 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/cc04485c-6783-4c71-b1c3-83c0d85a4849 2026-06-18 13:18:04,379 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/cc04485c-6783-4c71-b1c3-83c0d85a4849 2026-06-18 13:18:04,389 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/09a04e99-bbc4-416d-835f-5235729f149e 2026-06-18 13:18:04,396 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/09a04e99-bbc4-416d-835f-5235729f149e 2026-06-18 13:18:04,404 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/c6b352a9-bc80-4db5-9054-bb1ae0e965c3 2026-06-18 13:18:04,412 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-18 13:18:04,412 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/cc04485c-6783-4c71-b1c3-83c0d85a4849 2026-06-18 13:18:04,421 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/09a04e99-bbc4-416d-835f-5235729f149e 2026-06-18 13:18:04,440 - INFO - Verified VN network id 10 for VN cc04485c-6783-4c71-b1c3-83c0d85a4849 2026-06-18 13:18:04,440 - INFO - Verifications in API Server for VN ctest-vn-77207808 passed 2026-06-18 13:18:04,440 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/cc04485c-6783-4c71-b1c3-83c0d85a4849 2026-06-18 13:18:04,454 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/09a04e99-bbc4-416d-835f-5235729f149e 2026-06-18 13:18:04,462 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/09a04e99-bbc4-416d-835f-5235729f149e 2026-06-18 13:18:04,469 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/c6b352a9-bc80-4db5-9054-bb1ae0e965c3 2026-06-18 13:18:04,482 - DEBUG - Control-node 10.0.0.129 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-60970346:ctest-vn-77207808', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-60970346', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14700954645354990705', 'uuid-lslong': '12809226629458577481'}, 'enable': 'true', 'created': '2026-06-18T13:18:02', 'last-modified': '2026-06-18T13:18:03', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.015606'} 2026-06-18 13:18:04,488 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-18 13:18:04,494 - DEBUG - Control-node 10.0.0.241 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-60970346:ctest-vn-77207808', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-60970346', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14700954645354990705', 'uuid-lslong': '12809226629458577481'}, 'enable': 'true', 'created': '2026-06-18T13:18:02', 'last-modified': '2026-06-18T13:18:03', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.029580'} 2026-06-18 13:18:04,499 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-18 13:18:04,504 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-60970346:ctest-vn-77207808', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-60970346', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14700954645354990705', 'uuid-lslong': '12809226629458577481'}, 'enable': 'true', 'created': '2026-06-18T13:18:02', 'last-modified': '2026-06-18T13:18:03', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.040335'} 2026-06-18 13:18:04,510 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-18 13:18:04,510 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-77207808 passed 2026-06-18 13:18:04,511 - DEBUG - ====Verifying policy data for ctest-vn-77207808 in API_Server ====== 2026-06-18 13:18:04,511 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2026-06-18 13:18:04,517 - DEBUG - Requesting: http://10.0.0.129:8082/domain/7c53ba43-baa0-454c-9d61-eea798de07ed 2026-06-18 13:18:04,530 - DEBUG - Requesting: http://10.0.0.129:8082/project/9511ac89-f737-43d7-a739-298dcad29d77 2026-06-18 13:18:04,636 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/cc04485c-6783-4c71-b1c3-83c0d85a4849 2026-06-18 13:18:04,653 - DEBUG - ==>Verifying data for policy with id: 3c068401-6d5d-4507-ba11-73ed6925a15e, fqn: ['default-domain', 'ctest-TestBasicPolicy-60970346', 'ctest-policy-allow-all-67001526'] 2026-06-18 13:18:04,653 - INFO - VN ctest-vn-77207808 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-18 13:18:04,653 - DEBUG - Verifying the vn in opserver 2026-06-18 13:18:04,653 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-60970346:ctest-vn-77207808 virtual network link through opserver 10.0.0.129 2026-06-18 13:18:04,653 - DEBUG - Requesting: http://10.0.0.129:8081/analytics/uves/virtual-networks 2026-06-18 13:18:04,991 - DEBUG - Requesting: http://10.0.0.129:8081/analytics/uves/virtual-networks 2026-06-18 13:18:05,053 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-60970346:ctest-vn-77207808', 'href': 'http://10.0.0.129:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-60970346:ctest-vn-77207808?flat'} 2026-06-18 13:18:05,053 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-60970346:ctest-vn-77207808 virtual network link through opserver 10.0.0.241 2026-06-18 13:18:05,053 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks 2026-06-18 13:18:05,383 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks 2026-06-18 13:18:05,438 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-60970346:ctest-vn-77207808', 'href': 'http://10.0.0.241:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-60970346:ctest-vn-77207808?flat'} 2026-06-18 13:18:05,438 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-60970346:ctest-vn-77207808 virtual network link through opserver 10.0.0.242 2026-06-18 13:18:05,438 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2026-06-18 13:18:05,768 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2026-06-18 13:18:05,822 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-60970346:ctest-vn-77207808', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-60970346:ctest-vn-77207808?flat'} 2026-06-18 13:18:05,822 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-60970346:ctest-vn-77207808 is found in opserver 2026-06-18 13:18:05,841 - DEBUG - Do not have enough data to verify VN in agent 2026-06-18 13:18:05,851 - DEBUG - VRF ids for VN ctest-vn-77207808: {} 2026-06-18 13:18:05,851 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2026-06-18 13:18:05,858 - DEBUG - Requesting: http://10.0.0.129:8082/domain/7c53ba43-baa0-454c-9d61-eea798de07ed 2026-06-18 13:18:05,883 - DEBUG - Requesting: http://10.0.0.129:8082/project/9511ac89-f737-43d7-a739-298dcad29d77 2026-06-18 13:18:05,990 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/2bc6b37b-bf0d-45d0-b352-bec7edd47135 2026-06-18 13:18:06,007 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/2bc6b37b-bf0d-45d0-b352-bec7edd47135 2026-06-18 13:18:06,018 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/fa887356-25d3-4b7a-a6fb-5c4e395337bc 2026-06-18 13:18:06,029 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/fa887356-25d3-4b7a-a6fb-5c4e395337bc 2026-06-18 13:18:06,038 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/640e5ed0-7c57-44c6-a216-14c4b54bb340 2026-06-18 13:18:06,047 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-18 13:18:06,047 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/2bc6b37b-bf0d-45d0-b352-bec7edd47135 2026-06-18 13:18:06,060 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/fa887356-25d3-4b7a-a6fb-5c4e395337bc 2026-06-18 13:18:06,079 - INFO - Verified VN network id 11 for VN 2bc6b37b-bf0d-45d0-b352-bec7edd47135 2026-06-18 13:18:06,079 - INFO - Verifications in API Server for VN ctest-vn-94909049 passed 2026-06-18 13:18:06,079 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/2bc6b37b-bf0d-45d0-b352-bec7edd47135 2026-06-18 13:18:06,090 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/fa887356-25d3-4b7a-a6fb-5c4e395337bc 2026-06-18 13:18:06,097 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/fa887356-25d3-4b7a-a6fb-5c4e395337bc 2026-06-18 13:18:06,107 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/640e5ed0-7c57-44c6-a216-14c4b54bb340 2026-06-18 13:18:06,119 - DEBUG - Control-node 10.0.0.129 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-60970346:ctest-vn-94909049', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-60970346', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3154405933087278544', 'uuid-lslong': '12921600046777266485'}, 'enable': 'true', 'created': '2026-06-18T13:18:02', 'last-modified': '2026-06-18T13:18:03', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.423042'} 2026-06-18 13:18:06,125 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-18 13:18:06,130 - DEBUG - Control-node 10.0.0.241 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-60970346:ctest-vn-94909049', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-60970346', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3154405933087278544', 'uuid-lslong': '12921600046777266485'}, 'enable': 'true', 'created': '2026-06-18T13:18:02', 'last-modified': '2026-06-18T13:18:03', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.435873'} 2026-06-18 13:18:06,137 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-18 13:18:06,142 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-60970346:ctest-vn-94909049', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-60970346', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3154405933087278544', 'uuid-lslong': '12921600046777266485'}, 'enable': 'true', 'created': '2026-06-18T13:18:02', 'last-modified': '2026-06-18T13:18:03', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.454930'} 2026-06-18 13:18:06,149 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-18 13:18:06,149 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-94909049 passed 2026-06-18 13:18:06,149 - DEBUG - ====Verifying policy data for ctest-vn-94909049 in API_Server ====== 2026-06-18 13:18:06,150 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2026-06-18 13:18:06,157 - DEBUG - Requesting: http://10.0.0.129:8082/domain/7c53ba43-baa0-454c-9d61-eea798de07ed 2026-06-18 13:18:06,169 - DEBUG - Requesting: http://10.0.0.129:8082/project/9511ac89-f737-43d7-a739-298dcad29d77 2026-06-18 13:18:06,277 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/2bc6b37b-bf0d-45d0-b352-bec7edd47135 2026-06-18 13:18:06,292 - DEBUG - ==>Verifying data for policy with id: 3c068401-6d5d-4507-ba11-73ed6925a15e, fqn: ['default-domain', 'ctest-TestBasicPolicy-60970346', 'ctest-policy-allow-all-67001526'] 2026-06-18 13:18:06,292 - INFO - VN ctest-vn-94909049 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-18 13:18:06,292 - DEBUG - Verifying the vn in opserver 2026-06-18 13:18:06,292 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-60970346:ctest-vn-94909049 virtual network link through opserver 10.0.0.129 2026-06-18 13:18:06,292 - DEBUG - Requesting: http://10.0.0.129:8081/analytics/uves/virtual-networks 2026-06-18 13:18:06,338 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-60970346:ctest-vn-94909049', 'href': 'http://10.0.0.129:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-60970346:ctest-vn-94909049?flat'} 2026-06-18 13:18:06,338 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-60970346:ctest-vn-94909049 virtual network link through opserver 10.0.0.241 2026-06-18 13:18:06,338 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks 2026-06-18 13:18:06,382 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-60970346:ctest-vn-94909049', 'href': 'http://10.0.0.241:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-60970346:ctest-vn-94909049?flat'} 2026-06-18 13:18:06,382 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-60970346:ctest-vn-94909049 virtual network link through opserver 10.0.0.242 2026-06-18 13:18:06,382 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2026-06-18 13:18:06,429 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-60970346:ctest-vn-94909049', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-60970346:ctest-vn-94909049?flat'} 2026-06-18 13:18:06,429 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-60970346:ctest-vn-94909049 is found in opserver 2026-06-18 13:18:06,453 - DEBUG - Do not have enough data to verify VN in agent 2026-06-18 13:18:06,463 - DEBUG - VRF ids for VN ctest-vn-94909049: {} 2026-06-18 13:18:06,520 - DEBUG - Services list from nova: [, , , ] 2026-06-18 13:18:07,644 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5981-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5981-1) 2026-06-18 13:18:08,806 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5981-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5981-2) 2026-06-18 13:18:08,806 - INFO - Waiting for VM ctest-TestBasicPolicy-60970346-82648058 to be up.. 2026-06-18 13:18:08,854 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-18 13:18:13,944 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-18 13:18:19,052 - DEBUG - VM is in ACTIVE state now 2026-06-18 13:18:19,052 - INFO - VM name : ctest-TestBasicPolicy-60970346-82648058 2026-06-18 13:18:19,168 - DEBUG - VM ctest-TestBasicPolicy-60970346-82648058 ID is 3ad06457-fc2b-448a-a3f2-5e57ac13ae6d 2026-06-18 13:18:19,199 - DEBUG - VM ctest-TestBasicPolicy-60970346-82648058 launched on Node an-jenkins-deploy-platform-ansible-os-5981-1 2026-06-18 13:18:19,283 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/3ad06457-fc2b-448a-a3f2-5e57ac13ae6d 2026-06-18 13:18:19,638 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/3ad06457-fc2b-448a-a3f2-5e57ac13ae6d 2026-06-18 13:18:19,674 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/2c5ca051-255b-4320-a7d1-d7b22fd74cd6 2026-06-18 13:18:22,860 - 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 1027ms') 2026-06-18 13:18:22,860 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-60970346-82648058 failed! 2026-06-18 13:18:22,874 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-60970346:ctest-vn-77207808 is 63.200.212.193 and allocation pool is NOT set 2026-06-18 13:18:24,937 - 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=6.64 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.336 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 = 0.336/3.488/6.641/3.152 ms') 2026-06-18 13:18:24,937 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-60970346-82648058 passed 2026-06-18 13:18:25,005 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-18 13:18:25,005 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-60970346-82648058, IP 63.200.212.195, Port 22 2026-06-18 13:18:25,161 - DEBUG - VM ctest-TestBasicPolicy-60970346-82648058 is ready for SSH connections 2026-06-18 13:18:25,161 - INFO - Waiting for VM ctest-TestBasicPolicy-60970346-54564040 to be up.. 2026-06-18 13:18:25,249 - DEBUG - VM is in ACTIVE state now 2026-06-18 13:18:25,249 - INFO - VM name : ctest-TestBasicPolicy-60970346-54564040 2026-06-18 13:18:25,335 - DEBUG - VM ctest-TestBasicPolicy-60970346-54564040 ID is ef7a9f41-cede-471c-b888-aedb327e28c9 2026-06-18 13:18:25,335 - DEBUG - VM ctest-TestBasicPolicy-60970346-54564040 launched on Node an-jenkins-deploy-platform-ansible-os-5981-2 2026-06-18 13:18:25,433 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/ef7a9f41-cede-471c-b888-aedb327e28c9 2026-06-18 13:18:25,445 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/0c1f95f4-0ae1-41ef-b469-6b9a1de833f4 2026-06-18 13:18:26,605 - 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.30 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.363 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.363/1.831/3.299/1.468 ms') 2026-06-18 13:18:26,605 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-60970346-54564040 passed 2026-06-18 13:18:26,674 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-18 13:18:26,674 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-60970346-54564040, IP 192.251.131.3, Port 22 2026-06-18 13:18:26,846 - DEBUG - VM ctest-TestBasicPolicy-60970346-54564040 is ready for SSH connections 2026-06-18 13:18:26,846 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-18 13:18:26,846 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 192.251.131.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2026-06-18 13:18:26,846 - DEBUG - ping -s 56 -c 3 -W 1 192.251.131.3 2026-06-18 13:18:30,778 - DEBUG - PING 192.251.131.3 (192.251.131.3): 56 data bytes 64 bytes from 192.251.131.3: seq=0 ttl=63 time=7.893 ms 64 bytes from 192.251.131.3: seq=1 ttl=63 time=1.261 ms 64 bytes from 192.251.131.3: seq=2 ttl=63 time=1.154 ms --- 192.251.131.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.154/3.436/7.893 ms 2026-06-18 13:18:30,779 - INFO - Ping to IP 192.251.131.3 from VM ctest-TestBasicPolicy-60970346-82648058 passed 2026-06-18 13:18:30,993 - DEBUG - Policy Update Response {"network-policy": {"uuid": "3c068401-6d5d-4507-ba11-73ed6925a15e", "href": "http://10.0.0.242:8082/network-policy/3c068401-6d5d-4507-ba11-73ed6925a15e"}} 2026-06-18 13:18:30,993 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-18 13:18:30,993 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 192.251.131.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2026-06-18 13:18:30,993 - DEBUG - ping -s 56 -c 3 -W 1 192.251.131.3 2026-06-18 13:18:34,116 - DEBUG - PING 192.251.131.3 (192.251.131.3): 56 data bytes --- 192.251.131.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-06-18 13:18:34,116 - WARNING - Ping to IP 192.251.131.3 from VM ctest-TestBasicPolicy-60970346-82648058 failed 2026-06-18 13:18:34,116 - INFO - Deleting VM ctest-TestBasicPolicy-60970346-54564040 2026-06-18 13:18:34,185 - INFO - Deleting VM ctest-TestBasicPolicy-60970346-82648058 2026-06-18 13:18:34,631 - INFO - Deleted policy ctest-policy-allow-all-67001526 2026-06-18 13:18:34,632 - INFO - Deleting VN ctest-vn-94909049 2026-06-18 13:18:34,674 - DEBUG - VN 2bc6b37b-bf0d-45d0-b352-bec7edd47135 still in use: Unable to complete operation on network 2bc6b37b-bf0d-45d0-b352-bec7edd47135. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-bd949ade-664c-4a7f-a3c0-0b01e583db4b'] 2026-06-18 13:18:34,675 - WARNING - Deleting VN ctest-vn-94909049 failed..Will retry 2026-06-18 13:18:36,843 - DEBUG - Response for deleting network () 2026-06-18 13:18:36,843 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/fa887356-25d3-4b7a-a6fb-5c4e395337bc 2026-06-18 13:18:36,861 - DEBUG - Response Code: 404 2026-06-18 13:18:36,861 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2026-06-18 13:18:36,873 - DEBUG - Requesting: http://10.0.0.129:8082/domain/7c53ba43-baa0-454c-9d61-eea798de07ed 2026-06-18 13:18:36,888 - DEBUG - Requesting: http://10.0.0.129:8082/project/9511ac89-f737-43d7-a739-298dcad29d77 2026-06-18 13:18:36,992 - INFO - Validated that VN ctest-vn-94909049 is not found in API Server 2026-06-18 13:18:37,004 - DEBUG - VN ctest-vn-94909049 is not present in Agent 10.0.0.141 2026-06-18 13:18:37,022 - DEBUG - VN ctest-vn-94909049 is not present in Agent 10.0.0.27 2026-06-18 13:18:37,022 - INFO - Validated that VN ctest-vn-94909049 is not in any agent 2026-06-18 13:18:37,058 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-94909049 info 2026-06-18 13:18:37,058 - INFO - Deleting VN ctest-vn-77207808 2026-06-18 13:18:37,251 - DEBUG - Response for deleting network () 2026-06-18 13:18:37,252 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/09a04e99-bbc4-416d-835f-5235729f149e 2026-06-18 13:18:37,258 - DEBUG - Response Code: 404 2026-06-18 13:18:37,258 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2026-06-18 13:18:37,264 - DEBUG - Requesting: http://10.0.0.129:8082/domain/7c53ba43-baa0-454c-9d61-eea798de07ed 2026-06-18 13:18:37,276 - DEBUG - Requesting: http://10.0.0.129:8082/project/9511ac89-f737-43d7-a739-298dcad29d77 2026-06-18 13:18:37,385 - INFO - Validated that VN ctest-vn-77207808 is not found in API Server 2026-06-18 13:18:37,396 - DEBUG - VN ctest-vn-77207808 is not present in Agent 10.0.0.141 2026-06-18 13:18:37,405 - DEBUG - VN ctest-vn-77207808 is not present in Agent 10.0.0.27 2026-06-18 13:18:37,405 - INFO - Validated that VN ctest-vn-77207808 is not in any agent 2026-06-18 13:18:37,435 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-77207808 info 2026-06-18 13:18:38,709 - DEBUG - No XMPP flaps were noticed during the test 2026-06-18 13:18:38,710 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:38] 2026-06-18 13:18:38,710 - INFO - -------------------------------------------------------------------------------- 2026-06-18 13:18:39,553 - INFO - Deleted project: ctest-TestBasicPolicy-60970346, ID : 9511ac89-f737-43d7-a739-298dcad29d77