2026-03-16 14:51:14,167 - INFO - Domain Default found not creating 2026-03-16 14:51:14,377 - INFO - Project ctest-TestBasicPolicy-53518367 not found, creating it 2026-03-16 14:51:14,856 - INFO - Created Project:ctest-TestBasicPolicy-53518367, ID : fc88d25e-55d5-4afc-b4a0-bce9efb2a96f 2026-03-16 14:51:16,440 - INFO - ================================================================================ 2026-03-16 14:51:16,440 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-03-16 14:51:16,440 - 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-03-16 14:51:16,701 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.14': '0'}} with 2026-03-16 14:51:16,701 - INFO - Initial checks done. Running the testcase now 2026-03-16 14:51:16,701 - INFO - 2026-03-16 14:51:17,370 - DEBUG - Response for create_network : {'network': {'id': '4735f493-f19a-4f5b-a85e-60c22382f642', 'name': 'ctest-vn-70977263', 'tenant_id': 'fc88d25e55d54afcb4a0bce9efb2a96f', 'project_id': 'fc88d25e55d54afcb4a0bce9efb2a96f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-53518367', 'ctest-vn-70977263'], 'port_security_enabled': True, 'description': ''}} 2026-03-16 14:51:17,562 - DEBUG - Response for create_subnet : {'subnet': {'id': '25ab65e0-a51c-4dc1-93a9-c02b770412a4', 'name': '', 'tenant_id': 'fc88d25e55d54afcb4a0bce9efb2a96f', 'network_id': '4735f493-f19a-4f5b-a85e-60c22382f642', 'ip_version': 4, 'cidr': '178.2.196.128/26', 'allocation_pools': [{'start': '178.2.196.130', 'end': '178.2.196.190'}], 'gateway_ip': '178.2.196.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '178.2.196.130', 'tags': [], 'project_id': 'fc88d25e55d54afcb4a0bce9efb2a96f'}} 2026-03-16 14:51:17,585 - INFO - Created VN ctest-vn-70977263 2026-03-16 14:51:17,639 - DEBUG - VN ctest-vn-70977263 UUID is 4735f493-f19a-4f5b-a85e-60c22382f642 2026-03-16 14:51:17,964 - DEBUG - Response for create_network : {'network': {'id': '9f7606ed-1473-4eed-b6b2-04cc67c29f60', 'name': 'ctest-vn-00306456', 'tenant_id': 'fc88d25e55d54afcb4a0bce9efb2a96f', 'project_id': 'fc88d25e55d54afcb4a0bce9efb2a96f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-53518367', 'ctest-vn-00306456'], 'port_security_enabled': True, 'description': ''}} 2026-03-16 14:51:18,189 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a037288e-d658-42b1-9000-f7cd1cffcc00', 'name': '', 'tenant_id': 'fc88d25e55d54afcb4a0bce9efb2a96f', 'network_id': '9f7606ed-1473-4eed-b6b2-04cc67c29f60', 'ip_version': 4, 'cidr': '153.110.240.64/26', 'allocation_pools': [{'start': '153.110.240.66', 'end': '153.110.240.126'}], 'gateway_ip': '153.110.240.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '153.110.240.66', 'tags': [], 'project_id': 'fc88d25e55d54afcb4a0bce9efb2a96f'}} 2026-03-16 14:51:18,208 - INFO - Created VN ctest-vn-00306456 2026-03-16 14:51:18,262 - DEBUG - VN ctest-vn-00306456 UUID is 9f7606ed-1473-4eed-b6b2-04cc67c29f60 2026-03-16 14:51:18,384 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-53518367:ctest-vn-70977263, 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-53518367:ctest-vn-00306456, 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-03-16 14:51:18,684 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4735f493-f19a-4f5b-a85e-60c22382f642', 'name': 'ctest-vn-70977263', 'tenant_id': 'fc88d25e55d54afcb4a0bce9efb2a96f', 'project_id': 'fc88d25e55d54afcb4a0bce9efb2a96f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['25ab65e0-a51c-4dc1-93a9-c02b770412a4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-53518367', 'ctest-vn-70977263'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-53518367', 'ctest-policy-allow-all-44256631']], 'subnet_ipam': [{'subnet_cidr': '178.2.196.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-16 14:51:18,928 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9f7606ed-1473-4eed-b6b2-04cc67c29f60', 'name': 'ctest-vn-00306456', 'tenant_id': 'fc88d25e55d54afcb4a0bce9efb2a96f', 'project_id': 'fc88d25e55d54afcb4a0bce9efb2a96f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a037288e-d658-42b1-9000-f7cd1cffcc00'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-53518367', 'ctest-vn-00306456'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-53518367', 'ctest-policy-allow-all-44256631']], 'subnet_ipam': [{'subnet_cidr': '153.110.240.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-16 14:51:19,099 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-03-16 14:51:19,404 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-03-16 14:51:19,446 - DEBUG - Requesting: http://10.0.0.50:8082/domain/01d2d517-3db6-4280-be25-e30fbf87d121 2026-03-16 14:51:19,458 - DEBUG - Requesting: http://10.0.0.50:8082/project/fc88d25e-55d5-4afc-b4a0-bce9efb2a96f 2026-03-16 14:51:19,535 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4735f493-f19a-4f5b-a85e-60c22382f642 2026-03-16 14:51:19,548 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4735f493-f19a-4f5b-a85e-60c22382f642 2026-03-16 14:51:19,560 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/05050973-415d-40b6-93e4-f008a94beb2d 2026-03-16 14:51:19,569 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/05050973-415d-40b6-93e4-f008a94beb2d 2026-03-16 14:51:19,578 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/ca4626ca-c6df-4eb4-9408-caed37e8788c 2026-03-16 14:51:19,585 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-16 14:51:19,585 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4735f493-f19a-4f5b-a85e-60c22382f642 2026-03-16 14:51:19,595 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/05050973-415d-40b6-93e4-f008a94beb2d 2026-03-16 14:51:19,610 - INFO - Verified VN network id 11 for VN 4735f493-f19a-4f5b-a85e-60c22382f642 2026-03-16 14:51:19,611 - INFO - Verifications in API Server for VN ctest-vn-70977263 passed 2026-03-16 14:51:19,611 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4735f493-f19a-4f5b-a85e-60c22382f642 2026-03-16 14:51:19,623 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/05050973-415d-40b6-93e4-f008a94beb2d 2026-03-16 14:51:19,632 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/05050973-415d-40b6-93e4-f008a94beb2d 2026-03-16 14:51:19,640 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/ca4626ca-c6df-4eb4-9408-caed37e8788c 2026-03-16 14:51:19,653 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-53518367:ctest-vn-70977263', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-53518367', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5131276266709339995', 'uuid-lslong': '12132240833118402114'}, 'enable': 'true', 'created': '2026-03-16T14:51:17', 'last-modified': '2026-03-16T14:51:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.986682'} 2026-03-16 14:51:19,660 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-16 14:51:19,660 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-70977263 passed 2026-03-16 14:51:19,660 - DEBUG - ====Verifying policy data for ctest-vn-70977263 in API_Server ====== 2026-03-16 14:51:19,660 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-03-16 14:51:19,666 - DEBUG - Requesting: http://10.0.0.50:8082/domain/01d2d517-3db6-4280-be25-e30fbf87d121 2026-03-16 14:51:19,679 - DEBUG - Requesting: http://10.0.0.50:8082/project/fc88d25e-55d5-4afc-b4a0-bce9efb2a96f 2026-03-16 14:51:19,750 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4735f493-f19a-4f5b-a85e-60c22382f642 2026-03-16 14:51:19,761 - DEBUG - ==>Verifying data for policy with id: 094c8f6c-8cb8-439c-bf88-14f017468200, fqn: ['default-domain', 'ctest-TestBasicPolicy-53518367', 'ctest-policy-allow-all-44256631'] 2026-03-16 14:51:19,761 - INFO - VN ctest-vn-70977263 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-16 14:51:19,761 - DEBUG - Verifying the vn in opserver 2026-03-16 14:51:19,761 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-53518367:ctest-vn-70977263 virtual network link through opserver 10.0.0.50 2026-03-16 14:51:19,761 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-03-16 14:51:20,060 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-03-16 14:51:20,131 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-53518367:ctest-vn-70977263', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-53518367:ctest-vn-70977263?flat'} 2026-03-16 14:51:20,131 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-53518367:ctest-vn-70977263 is found in opserver 2026-03-16 14:51:20,142 - DEBUG - Do not have enough data to verify VN in agent 2026-03-16 14:51:20,147 - DEBUG - VRF ids for VN ctest-vn-70977263: {} 2026-03-16 14:51:20,147 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-03-16 14:51:20,154 - DEBUG - Requesting: http://10.0.0.50:8082/domain/01d2d517-3db6-4280-be25-e30fbf87d121 2026-03-16 14:51:20,166 - DEBUG - Requesting: http://10.0.0.50:8082/project/fc88d25e-55d5-4afc-b4a0-bce9efb2a96f 2026-03-16 14:51:20,238 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/9f7606ed-1473-4eed-b6b2-04cc67c29f60 2026-03-16 14:51:20,250 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/9f7606ed-1473-4eed-b6b2-04cc67c29f60 2026-03-16 14:51:20,260 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8daa7851-7b01-42b2-9902-74b798c5382d 2026-03-16 14:51:20,269 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8daa7851-7b01-42b2-9902-74b798c5382d 2026-03-16 14:51:20,278 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/8a21508a-2572-4672-838d-dfd2498aa677 2026-03-16 14:51:20,286 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-16 14:51:20,286 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/9f7606ed-1473-4eed-b6b2-04cc67c29f60 2026-03-16 14:51:20,295 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8daa7851-7b01-42b2-9902-74b798c5382d 2026-03-16 14:51:20,311 - INFO - Verified VN network id 12 for VN 9f7606ed-1473-4eed-b6b2-04cc67c29f60 2026-03-16 14:51:20,311 - INFO - Verifications in API Server for VN ctest-vn-00306456 passed 2026-03-16 14:51:20,311 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/9f7606ed-1473-4eed-b6b2-04cc67c29f60 2026-03-16 14:51:20,321 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8daa7851-7b01-42b2-9902-74b798c5382d 2026-03-16 14:51:20,329 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8daa7851-7b01-42b2-9902-74b798c5382d 2026-03-16 14:51:20,338 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/8a21508a-2572-4672-838d-dfd2498aa677 2026-03-16 14:51:20,351 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-53518367:ctest-vn-00306456', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-53518367', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11490379114602516205', 'uuid-lslong': '13164589936718028640'}, 'enable': 'true', 'created': '2026-03-16T14:51:17', 'last-modified': '2026-03-16T14:51:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.445234'} 2026-03-16 14:51:20,357 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-16 14:51:20,357 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-00306456 passed 2026-03-16 14:51:20,358 - DEBUG - ====Verifying policy data for ctest-vn-00306456 in API_Server ====== 2026-03-16 14:51:20,358 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-03-16 14:51:20,365 - DEBUG - Requesting: http://10.0.0.50:8082/domain/01d2d517-3db6-4280-be25-e30fbf87d121 2026-03-16 14:51:20,377 - DEBUG - Requesting: http://10.0.0.50:8082/project/fc88d25e-55d5-4afc-b4a0-bce9efb2a96f 2026-03-16 14:51:20,461 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/9f7606ed-1473-4eed-b6b2-04cc67c29f60 2026-03-16 14:51:20,472 - DEBUG - ==>Verifying data for policy with id: 094c8f6c-8cb8-439c-bf88-14f017468200, fqn: ['default-domain', 'ctest-TestBasicPolicy-53518367', 'ctest-policy-allow-all-44256631'] 2026-03-16 14:51:20,472 - INFO - VN ctest-vn-00306456 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-16 14:51:20,472 - DEBUG - Verifying the vn in opserver 2026-03-16 14:51:20,472 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-53518367:ctest-vn-00306456 virtual network link through opserver 10.0.0.50 2026-03-16 14:51:20,472 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-03-16 14:51:20,483 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-53518367:ctest-vn-00306456', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-53518367:ctest-vn-00306456?flat'} 2026-03-16 14:51:20,483 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-53518367:ctest-vn-00306456 is found in opserver 2026-03-16 14:51:20,494 - DEBUG - Do not have enough data to verify VN in agent 2026-03-16 14:51:20,500 - DEBUG - VRF ids for VN ctest-vn-00306456: {} 2026-03-16 14:51:20,571 - DEBUG - Services list from nova: [, , ] 2026-03-16 14:51:21,700 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5476-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5476-1) 2026-03-16 14:51:22,947 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5476-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5476-1) 2026-03-16 14:51:22,947 - INFO - Waiting for VM ctest-TestBasicPolicy-53518367-67400821 to be up.. 2026-03-16 14:51:23,066 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-16 14:51:28,152 - DEBUG - VM is in ACTIVE state now 2026-03-16 14:51:28,152 - INFO - VM name : ctest-TestBasicPolicy-53518367-67400821 2026-03-16 14:51:28,233 - DEBUG - VM ctest-TestBasicPolicy-53518367-67400821 ID is 121462dd-fc18-4616-bb94-cf117cda7eb9 2026-03-16 14:51:28,254 - DEBUG - VM ctest-TestBasicPolicy-53518367-67400821 launched on Node cn-jenkins-deploy-platform-ansible-os-5476-1 2026-03-16 14:51:28,337 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/121462dd-fc18-4616-bb94-cf117cda7eb9 2026-03-16 14:51:28,347 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/ad2cff38-c4fb-4159-9abc-4cddf803bd7d 2026-03-16 14:51:31,624 - 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-03-16 14:51:31,624 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-53518367-67400821 failed! 2026-03-16 14:51:31,679 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-53518367:ctest-vn-70977263 is 178.2.196.129 and allocation pool is NOT set 2026-03-16 14:51:33,744 - 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=8.26 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.01 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 = 1.009/4.633/8.257/3.624 ms') 2026-03-16 14:51:33,744 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-53518367-67400821 passed 2026-03-16 14:51:33,899 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-16 14:51:33,899 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-53518367-67400821, IP 178.2.196.131, Port 22 2026-03-16 14:51:34,065 - DEBUG - VM ctest-TestBasicPolicy-53518367-67400821 is ready for SSH connections 2026-03-16 14:51:34,065 - INFO - Waiting for VM ctest-TestBasicPolicy-53518367-84957785 to be up.. 2026-03-16 14:51:34,168 - DEBUG - VM is in ACTIVE state now 2026-03-16 14:51:34,168 - INFO - VM name : ctest-TestBasicPolicy-53518367-84957785 2026-03-16 14:51:34,252 - DEBUG - VM ctest-TestBasicPolicy-53518367-84957785 ID is 78cec5fe-bcbb-4379-bfac-a393ec75f7c2 2026-03-16 14:51:34,252 - DEBUG - VM ctest-TestBasicPolicy-53518367-84957785 launched on Node cn-jenkins-deploy-platform-ansible-os-5476-1 2026-03-16 14:51:34,345 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/78cec5fe-bcbb-4379-bfac-a393ec75f7c2 2026-03-16 14:51:34,356 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/42f95c99-b353-450a-a7e8-a3c5338b235f 2026-03-16 14:51:35,604 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=5.13 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.698 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.698/2.914/5.131/2.216 ms') 2026-03-16 14:51:35,604 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-53518367-84957785 passed 2026-03-16 14:51:35,762 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-16 14:51:35,763 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-53518367-84957785, IP 153.110.240.67, Port 22 2026-03-16 14:51:35,936 - DEBUG - VM ctest-TestBasicPolicy-53518367-84957785 is ready for SSH connections 2026-03-16 14:51:35,936 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-16 14:51:35,936 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 153.110.240.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-03-16 14:51:35,936 - DEBUG - ping -s 56 -c 3 -W 1 153.110.240.67 2026-03-16 14:51:40,017 - DEBUG - PING 153.110.240.67 (153.110.240.67): 56 data bytes 64 bytes from 153.110.240.67: seq=0 ttl=63 time=3.909 ms 64 bytes from 153.110.240.67: seq=1 ttl=63 time=1.168 ms 64 bytes from 153.110.240.67: seq=2 ttl=63 time=1.104 ms --- 153.110.240.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.104/2.060/3.909 ms 2026-03-16 14:51:40,017 - INFO - Ping to IP 153.110.240.67 from VM ctest-TestBasicPolicy-53518367-67400821 passed 2026-03-16 14:51:40,194 - DEBUG - Policy Update Response {"network-policy": {"uuid": "094c8f6c-8cb8-439c-bf88-14f017468200", "href": "http://10.0.0.50:8082/network-policy/094c8f6c-8cb8-439c-bf88-14f017468200"}} 2026-03-16 14:51:40,195 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-16 14:51:40,195 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 153.110.240.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-03-16 14:51:40,195 - DEBUG - ping -s 56 -c 3 -W 1 153.110.240.67 2026-03-16 14:51:43,431 - DEBUG - PING 153.110.240.67 (153.110.240.67): 56 data bytes --- 153.110.240.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-03-16 14:51:43,431 - WARNING - Ping to IP 153.110.240.67 from VM ctest-TestBasicPolicy-53518367-67400821 failed 2026-03-16 14:51:43,432 - INFO - Deleting VM ctest-TestBasicPolicy-53518367-84957785 2026-03-16 14:51:43,506 - INFO - Deleting VM ctest-TestBasicPolicy-53518367-67400821 2026-03-16 14:51:43,967 - INFO - Deleted policy ctest-policy-allow-all-44256631 2026-03-16 14:51:43,967 - INFO - Deleting VN ctest-vn-00306456 2026-03-16 14:51:44,013 - DEBUG - VN 9f7606ed-1473-4eed-b6b2-04cc67c29f60 still in use: Unable to complete operation on network 9f7606ed-1473-4eed-b6b2-04cc67c29f60. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-fb9d0ccc-70ab-4f8d-9463-fe59e7ba4c34'] 2026-03-16 14:51:44,013 - WARNING - Deleting VN ctest-vn-00306456 failed..Will retry 2026-03-16 14:51:46,127 - DEBUG - Response for deleting network () 2026-03-16 14:51:46,128 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8daa7851-7b01-42b2-9902-74b798c5382d 2026-03-16 14:51:46,135 - DEBUG - Response Code: 404 2026-03-16 14:51:46,135 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-03-16 14:51:46,142 - DEBUG - Requesting: http://10.0.0.50:8082/domain/01d2d517-3db6-4280-be25-e30fbf87d121 2026-03-16 14:51:46,198 - DEBUG - Requesting: http://10.0.0.50:8082/project/fc88d25e-55d5-4afc-b4a0-bce9efb2a96f 2026-03-16 14:51:46,288 - INFO - Validated that VN ctest-vn-00306456 is not found in API Server 2026-03-16 14:51:46,299 - DEBUG - VN ctest-vn-00306456 is not present in Agent 10.0.0.50 2026-03-16 14:51:46,299 - INFO - Validated that VN ctest-vn-00306456 is not in any agent 2026-03-16 14:51:46,316 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-00306456 info 2026-03-16 14:51:46,316 - INFO - Deleting VN ctest-vn-70977263 2026-03-16 14:51:46,444 - DEBUG - Response for deleting network () 2026-03-16 14:51:46,444 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/05050973-415d-40b6-93e4-f008a94beb2d 2026-03-16 14:51:46,454 - DEBUG - Response Code: 404 2026-03-16 14:51:46,454 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-03-16 14:51:46,461 - DEBUG - Requesting: http://10.0.0.50:8082/domain/01d2d517-3db6-4280-be25-e30fbf87d121 2026-03-16 14:51:46,516 - DEBUG - Requesting: http://10.0.0.50:8082/project/fc88d25e-55d5-4afc-b4a0-bce9efb2a96f 2026-03-16 14:51:46,589 - INFO - Validated that VN ctest-vn-70977263 is not found in API Server 2026-03-16 14:51:46,602 - DEBUG - VN ctest-vn-70977263 is not present in Agent 10.0.0.50 2026-03-16 14:51:46,602 - INFO - Validated that VN ctest-vn-70977263 is not in any agent 2026-03-16 14:51:46,616 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-70977263 info 2026-03-16 14:51:46,890 - DEBUG - No XMPP flaps were noticed during the test 2026-03-16 14:51:46,890 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2026-03-16 14:51:46,890 - INFO - -------------------------------------------------------------------------------- 2026-03-16 14:51:47,627 - INFO - Deleted project: ctest-TestBasicPolicy-53518367, ID : fc88d25e-55d5-4afc-b4a0-bce9efb2a96f