2026-05-14 13:38:30,774 - INFO - Domain Default found not creating 2026-05-14 13:38:30,958 - INFO - Project ctest-TestBasicPolicy-32991288 not found, creating it 2026-05-14 13:38:31,447 - INFO - Created Project:ctest-TestBasicPolicy-32991288, ID : d53d1692-15fb-45c5-97aa-78e8bfe2c06c 2026-05-14 13:38:32,967 - INFO - ================================================================================ 2026-05-14 13:38:32,967 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-05-14 13:38:32,967 - 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 13:38:33,223 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2026-05-14 13:38:33,223 - INFO - Initial checks done. Running the testcase now 2026-05-14 13:38:33,223 - INFO - 2026-05-14 13:38:33,787 - DEBUG - Response for create_network : {'network': {'id': '69880744-bb73-450a-8864-271860ac34df', 'name': 'ctest-vn-18554261', 'tenant_id': 'd53d169215fb45c597aa78e8bfe2c06c', 'project_id': 'd53d169215fb45c597aa78e8bfe2c06c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-32991288', 'ctest-vn-18554261'], 'port_security_enabled': True, 'description': ''}} 2026-05-14 13:38:33,940 - DEBUG - Response for create_subnet : {'subnet': {'id': '537f09b8-2dbc-434f-882e-3d6b3e770013', 'name': '', 'tenant_id': 'd53d169215fb45c597aa78e8bfe2c06c', 'network_id': '69880744-bb73-450a-8864-271860ac34df', 'ip_version': 4, 'cidr': '146.119.64.128/26', 'allocation_pools': [{'start': '146.119.64.130', 'end': '146.119.64.190'}], 'gateway_ip': '146.119.64.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '146.119.64.130', 'tags': [], 'project_id': 'd53d169215fb45c597aa78e8bfe2c06c'}} 2026-05-14 13:38:33,957 - INFO - Created VN ctest-vn-18554261 2026-05-14 13:38:34,009 - DEBUG - VN ctest-vn-18554261 UUID is 69880744-bb73-450a-8864-271860ac34df 2026-05-14 13:38:34,319 - DEBUG - Response for create_network : {'network': {'id': '03116355-1dc6-405c-bf92-2cd26d890a60', 'name': 'ctest-vn-81856187', 'tenant_id': 'd53d169215fb45c597aa78e8bfe2c06c', 'project_id': 'd53d169215fb45c597aa78e8bfe2c06c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-32991288', 'ctest-vn-81856187'], 'port_security_enabled': True, 'description': ''}} 2026-05-14 13:38:34,499 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a09d7ef4-6d53-4cf7-9ede-07e0ecbecd48', 'name': '', 'tenant_id': 'd53d169215fb45c597aa78e8bfe2c06c', 'network_id': '03116355-1dc6-405c-bf92-2cd26d890a60', 'ip_version': 4, 'cidr': '196.250.48.192/26', 'allocation_pools': [{'start': '196.250.48.194', 'end': '196.250.48.254'}], 'gateway_ip': '196.250.48.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '196.250.48.194', 'tags': [], 'project_id': 'd53d169215fb45c597aa78e8bfe2c06c'}} 2026-05-14 13:38:34,517 - INFO - Created VN ctest-vn-81856187 2026-05-14 13:38:34,569 - DEBUG - VN ctest-vn-81856187 UUID is 03116355-1dc6-405c-bf92-2cd26d890a60 2026-05-14 13:38:34,686 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-32991288:ctest-vn-18554261, 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-32991288:ctest-vn-81856187, 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 13:38:34,981 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '69880744-bb73-450a-8864-271860ac34df', 'name': 'ctest-vn-18554261', 'tenant_id': 'd53d169215fb45c597aa78e8bfe2c06c', 'project_id': 'd53d169215fb45c597aa78e8bfe2c06c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['537f09b8-2dbc-434f-882e-3d6b3e770013'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-32991288', 'ctest-vn-18554261'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-32991288', 'ctest-policy-allow-all-49815470']], 'subnet_ipam': [{'subnet_cidr': '146.119.64.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-14 13:38:35,214 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '03116355-1dc6-405c-bf92-2cd26d890a60', 'name': 'ctest-vn-81856187', 'tenant_id': 'd53d169215fb45c597aa78e8bfe2c06c', 'project_id': 'd53d169215fb45c597aa78e8bfe2c06c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a09d7ef4-6d53-4cf7-9ede-07e0ecbecd48'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-32991288', 'ctest-vn-81856187'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-32991288', 'ctest-policy-allow-all-49815470']], 'subnet_ipam': [{'subnet_cidr': '196.250.48.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-14 13:38:35,381 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-14 13:38:35,677 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-14 13:38:35,710 - DEBUG - Requesting: http://10.0.0.50:8082/domain/29a28108-8ebc-4845-b7b3-3d2c2dc49465 2026-05-14 13:38:35,723 - DEBUG - Requesting: http://10.0.0.50:8082/project/d53d1692-15fb-45c5-97aa-78e8bfe2c06c 2026-05-14 13:38:35,794 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/69880744-bb73-450a-8864-271860ac34df 2026-05-14 13:38:35,805 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/69880744-bb73-450a-8864-271860ac34df 2026-05-14 13:38:35,814 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3249d52b-5bc7-40a6-a260-bf4ebbb0c16f 2026-05-14 13:38:35,822 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3249d52b-5bc7-40a6-a260-bf4ebbb0c16f 2026-05-14 13:38:35,830 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/ddcce5b7-f987-44a8-8dd4-dfbcc21055d6 2026-05-14 13:38:35,837 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-14 13:38:35,837 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/69880744-bb73-450a-8864-271860ac34df 2026-05-14 13:38:35,846 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3249d52b-5bc7-40a6-a260-bf4ebbb0c16f 2026-05-14 13:38:35,859 - INFO - Verified VN network id 11 for VN 69880744-bb73-450a-8864-271860ac34df 2026-05-14 13:38:35,859 - INFO - Verifications in API Server for VN ctest-vn-18554261 passed 2026-05-14 13:38:35,859 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/69880744-bb73-450a-8864-271860ac34df 2026-05-14 13:38:35,868 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3249d52b-5bc7-40a6-a260-bf4ebbb0c16f 2026-05-14 13:38:35,875 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3249d52b-5bc7-40a6-a260-bf4ebbb0c16f 2026-05-14 13:38:35,882 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/ddcce5b7-f987-44a8-8dd4-dfbcc21055d6 2026-05-14 13:38:35,894 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-32991288:ctest-vn-18554261', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-32991288', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7604335962599146762', 'uuid-lslong': '9828023272483861727'}, 'enable': 'true', 'created': '2026-05-14T13:38:33', 'last-modified': '2026-05-14T13:38:34', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.937163'} 2026-05-14 13:38:35,900 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-14 13:38:35,901 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-18554261 passed 2026-05-14 13:38:35,901 - DEBUG - ====Verifying policy data for ctest-vn-18554261 in API_Server ====== 2026-05-14 13:38:35,901 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-14 13:38:35,906 - DEBUG - Requesting: http://10.0.0.50:8082/domain/29a28108-8ebc-4845-b7b3-3d2c2dc49465 2026-05-14 13:38:35,918 - DEBUG - Requesting: http://10.0.0.50:8082/project/d53d1692-15fb-45c5-97aa-78e8bfe2c06c 2026-05-14 13:38:35,988 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/69880744-bb73-450a-8864-271860ac34df 2026-05-14 13:38:35,999 - DEBUG - ==>Verifying data for policy with id: 25ad8066-634b-4d8b-b2b5-174394545609, fqn: ['default-domain', 'ctest-TestBasicPolicy-32991288', 'ctest-policy-allow-all-49815470'] 2026-05-14 13:38:35,999 - INFO - VN ctest-vn-18554261 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-14 13:38:35,999 - DEBUG - Verifying the vn in opserver 2026-05-14 13:38:35,999 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-32991288:ctest-vn-18554261 virtual network link through opserver 10.0.0.50 2026-05-14 13:38:35,999 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-05-14 13:38:36,297 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-05-14 13:38:36,368 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-32991288:ctest-vn-18554261', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-32991288:ctest-vn-18554261?flat'} 2026-05-14 13:38:36,368 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-32991288:ctest-vn-18554261 is found in opserver 2026-05-14 13:38:36,378 - DEBUG - Do not have enough data to verify VN in agent 2026-05-14 13:38:36,383 - DEBUG - VRF ids for VN ctest-vn-18554261: {} 2026-05-14 13:38:36,383 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-14 13:38:36,389 - DEBUG - Requesting: http://10.0.0.50:8082/domain/29a28108-8ebc-4845-b7b3-3d2c2dc49465 2026-05-14 13:38:36,400 - DEBUG - Requesting: http://10.0.0.50:8082/project/d53d1692-15fb-45c5-97aa-78e8bfe2c06c 2026-05-14 13:38:36,473 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/03116355-1dc6-405c-bf92-2cd26d890a60 2026-05-14 13:38:36,485 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/03116355-1dc6-405c-bf92-2cd26d890a60 2026-05-14 13:38:36,497 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/683d4458-d8c6-4c8b-9527-0c1408ee9e2a 2026-05-14 13:38:36,506 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/683d4458-d8c6-4c8b-9527-0c1408ee9e2a 2026-05-14 13:38:36,515 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/bc90e930-1bd1-411a-aabd-ec82b6569fca 2026-05-14 13:38:36,522 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-14 13:38:36,522 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/03116355-1dc6-405c-bf92-2cd26d890a60 2026-05-14 13:38:36,530 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/683d4458-d8c6-4c8b-9527-0c1408ee9e2a 2026-05-14 13:38:36,546 - INFO - Verified VN network id 12 for VN 03116355-1dc6-405c-bf92-2cd26d890a60 2026-05-14 13:38:36,547 - INFO - Verifications in API Server for VN ctest-vn-81856187 passed 2026-05-14 13:38:36,547 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/03116355-1dc6-405c-bf92-2cd26d890a60 2026-05-14 13:38:36,558 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/683d4458-d8c6-4c8b-9527-0c1408ee9e2a 2026-05-14 13:38:36,566 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/683d4458-d8c6-4c8b-9527-0c1408ee9e2a 2026-05-14 13:38:36,574 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/bc90e930-1bd1-411a-aabd-ec82b6569fca 2026-05-14 13:38:36,586 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-32991288:ctest-vn-81856187', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-32991288', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '221067073940766812', 'uuid-lslong': '13804145090136443488'}, 'enable': 'true', 'created': '2026-05-14T13:38:34', 'last-modified': '2026-05-14T13:38:35', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.395511'} 2026-05-14 13:38:36,593 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-14 13:38:36,593 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-81856187 passed 2026-05-14 13:38:36,593 - DEBUG - ====Verifying policy data for ctest-vn-81856187 in API_Server ====== 2026-05-14 13:38:36,593 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-14 13:38:36,598 - DEBUG - Requesting: http://10.0.0.50:8082/domain/29a28108-8ebc-4845-b7b3-3d2c2dc49465 2026-05-14 13:38:36,609 - DEBUG - Requesting: http://10.0.0.50:8082/project/d53d1692-15fb-45c5-97aa-78e8bfe2c06c 2026-05-14 13:38:36,683 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/03116355-1dc6-405c-bf92-2cd26d890a60 2026-05-14 13:38:36,691 - DEBUG - ==>Verifying data for policy with id: 25ad8066-634b-4d8b-b2b5-174394545609, fqn: ['default-domain', 'ctest-TestBasicPolicy-32991288', 'ctest-policy-allow-all-49815470'] 2026-05-14 13:38:36,691 - INFO - VN ctest-vn-81856187 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-14 13:38:36,691 - DEBUG - Verifying the vn in opserver 2026-05-14 13:38:36,692 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-32991288:ctest-vn-81856187 virtual network link through opserver 10.0.0.50 2026-05-14 13:38:36,692 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-05-14 13:38:36,701 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-32991288:ctest-vn-81856187', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-32991288:ctest-vn-81856187?flat'} 2026-05-14 13:38:36,701 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-32991288:ctest-vn-81856187 is found in opserver 2026-05-14 13:38:36,710 - DEBUG - Do not have enough data to verify VN in agent 2026-05-14 13:38:36,714 - DEBUG - VRF ids for VN ctest-vn-81856187: {} 2026-05-14 13:38:36,774 - DEBUG - Services list from nova: [, , ] 2026-05-14 13:38:37,824 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5784-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5784-1) 2026-05-14 13:38:38,994 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5784-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5784-1) 2026-05-14 13:38:38,994 - INFO - Waiting for VM ctest-TestBasicPolicy-32991288-42999580 to be up.. 2026-05-14 13:38:39,097 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-14 13:38:44,189 - DEBUG - VM is in ACTIVE state now 2026-05-14 13:38:44,189 - INFO - VM name : ctest-TestBasicPolicy-32991288-42999580 2026-05-14 13:38:44,276 - DEBUG - VM ctest-TestBasicPolicy-32991288-42999580 ID is d1802c39-8ad4-4f9b-918d-c871aa3f5bbe 2026-05-14 13:38:44,298 - DEBUG - VM ctest-TestBasicPolicy-32991288-42999580 launched on Node cn-jenkins-deploy-platform-ansible-os-5784-1 2026-05-14 13:38:44,380 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/d1802c39-8ad4-4f9b-918d-c871aa3f5bbe 2026-05-14 13:38:44,389 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/8fbdd606-5fe2-4ce0-8cda-c1cfeec61e74 2026-05-14 13:38:47,634 - 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 1006ms') 2026-05-14 13:38:47,634 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-32991288-42999580 failed! 2026-05-14 13:38:47,693 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-32991288:ctest-vn-18554261 is 146.119.64.129 and allocation pool is NOT set 2026-05-14 13:38:49,758 - 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.87 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.921 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.921/4.897/8.874/3.976 ms') 2026-05-14 13:38:49,759 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-32991288-42999580 passed 2026-05-14 13:38:49,909 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-14 13:38:49,910 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-32991288-42999580, IP 146.119.64.131, Port 22 2026-05-14 13:38:50,069 - DEBUG - VM ctest-TestBasicPolicy-32991288-42999580 is ready for SSH connections 2026-05-14 13:38:50,069 - INFO - Waiting for VM ctest-TestBasicPolicy-32991288-26382666 to be up.. 2026-05-14 13:38:50,159 - DEBUG - VM is in ACTIVE state now 2026-05-14 13:38:50,159 - INFO - VM name : ctest-TestBasicPolicy-32991288-26382666 2026-05-14 13:38:50,240 - DEBUG - VM ctest-TestBasicPolicy-32991288-26382666 ID is e3d35097-a5d8-412e-8e16-2c2cddd0b343 2026-05-14 13:38:50,240 - DEBUG - VM ctest-TestBasicPolicy-32991288-26382666 launched on Node cn-jenkins-deploy-platform-ansible-os-5784-1 2026-05-14 13:38:50,324 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/e3d35097-a5d8-412e-8e16-2c2cddd0b343 2026-05-14 13:38:50,333 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/fe36af77-3e4a-4ca3-87cb-c7ccc5251d2d 2026-05-14 13:38:51,607 - 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=3.88 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.643 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.643/2.263/3.884/1.620 ms') 2026-05-14 13:38:51,607 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-32991288-26382666 passed 2026-05-14 13:38:51,761 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-14 13:38:51,762 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-32991288-26382666, IP 196.250.48.195, Port 22 2026-05-14 13:38:51,917 - DEBUG - VM ctest-TestBasicPolicy-32991288-26382666 is ready for SSH connections 2026-05-14 13:38:51,917 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-14 13:38:51,918 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 196.250.48.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-05-14 13:38:51,918 - DEBUG - ping -s 56 -c 3 -W 1 196.250.48.195 2026-05-14 13:38:55,993 - DEBUG - PING 196.250.48.195 (196.250.48.195): 56 data bytes 64 bytes from 196.250.48.195: seq=0 ttl=63 time=3.553 ms 64 bytes from 196.250.48.195: seq=1 ttl=63 time=0.995 ms 64 bytes from 196.250.48.195: seq=2 ttl=63 time=1.061 ms --- 196.250.48.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.995/1.869/3.553 ms 2026-05-14 13:38:55,993 - INFO - Ping to IP 196.250.48.195 from VM ctest-TestBasicPolicy-32991288-42999580 passed 2026-05-14 13:38:56,181 - DEBUG - Policy Update Response {"network-policy": {"uuid": "25ad8066-634b-4d8b-b2b5-174394545609", "href": "http://10.0.0.50:8082/network-policy/25ad8066-634b-4d8b-b2b5-174394545609"}} 2026-05-14 13:38:56,181 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-14 13:38:56,181 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 196.250.48.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-05-14 13:38:56,182 - DEBUG - ping -s 56 -c 3 -W 1 196.250.48.195 2026-05-14 13:38:59,411 - DEBUG - PING 196.250.48.195 (196.250.48.195): 56 data bytes --- 196.250.48.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-05-14 13:38:59,411 - WARNING - Ping to IP 196.250.48.195 from VM ctest-TestBasicPolicy-32991288-42999580 failed 2026-05-14 13:38:59,411 - INFO - Deleting VM ctest-TestBasicPolicy-32991288-26382666 2026-05-14 13:38:59,485 - INFO - Deleting VM ctest-TestBasicPolicy-32991288-42999580 2026-05-14 13:38:59,860 - INFO - Deleted policy ctest-policy-allow-all-49815470 2026-05-14 13:38:59,860 - INFO - Deleting VN ctest-vn-81856187 2026-05-14 13:38:59,895 - DEBUG - VN 03116355-1dc6-405c-bf92-2cd26d890a60 still in use: Unable to complete operation on network 03116355-1dc6-405c-bf92-2cd26d890a60. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3e494fd6-63d4-4dfb-81d3-72e408a99272'] 2026-05-14 13:38:59,895 - WARNING - Deleting VN ctest-vn-81856187 failed..Will retry 2026-05-14 13:39:02,000 - DEBUG - Response for deleting network () 2026-05-14 13:39:02,000 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/683d4458-d8c6-4c8b-9527-0c1408ee9e2a 2026-05-14 13:39:02,010 - DEBUG - Response Code: 404 2026-05-14 13:39:02,010 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-14 13:39:02,017 - DEBUG - Requesting: http://10.0.0.50:8082/domain/29a28108-8ebc-4845-b7b3-3d2c2dc49465 2026-05-14 13:39:02,071 - DEBUG - Requesting: http://10.0.0.50:8082/project/d53d1692-15fb-45c5-97aa-78e8bfe2c06c 2026-05-14 13:39:02,140 - INFO - Validated that VN ctest-vn-81856187 is not found in API Server 2026-05-14 13:39:02,150 - DEBUG - VN ctest-vn-81856187 is not present in Agent 10.0.0.50 2026-05-14 13:39:02,150 - INFO - Validated that VN ctest-vn-81856187 is not in any agent 2026-05-14 13:39:02,163 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-81856187 info 2026-05-14 13:39:02,163 - INFO - Deleting VN ctest-vn-18554261 2026-05-14 13:39:02,265 - DEBUG - Response for deleting network () 2026-05-14 13:39:02,265 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3249d52b-5bc7-40a6-a260-bf4ebbb0c16f 2026-05-14 13:39:02,273 - DEBUG - Response Code: 404 2026-05-14 13:39:02,274 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-14 13:39:02,280 - DEBUG - Requesting: http://10.0.0.50:8082/domain/29a28108-8ebc-4845-b7b3-3d2c2dc49465 2026-05-14 13:39:02,334 - DEBUG - Requesting: http://10.0.0.50:8082/project/d53d1692-15fb-45c5-97aa-78e8bfe2c06c 2026-05-14 13:39:02,403 - INFO - Validated that VN ctest-vn-18554261 is not found in API Server 2026-05-14 13:39:02,412 - DEBUG - VN ctest-vn-18554261 is not present in Agent 10.0.0.50 2026-05-14 13:39:02,412 - INFO - Validated that VN ctest-vn-18554261 is not in any agent 2026-05-14 13:39:02,426 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-18554261 info 2026-05-14 13:39:02,679 - DEBUG - No XMPP flaps were noticed during the test
2026-05-14 13:39:02,679 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2026-05-14 13:39:02,679 - INFO - -------------------------------------------------------------------------------- 2026-05-14 13:39:03,375 - INFO - Deleted project: ctest-TestBasicPolicy-32991288, ID : d53d1692-15fb-45c5-97aa-78e8bfe2c06c