2026-01-07 04:35:41,515 - INFO - Domain Default found not creating 2026-01-07 04:35:41,686 - INFO - Project ctest-TestBasicPolicy-00031045 not found, creating it 2026-01-07 04:35:42,125 - INFO - Created Project:ctest-TestBasicPolicy-00031045, ID : 22ed5dda-bab8-4fd3-acc4-100da62af365 2026-01-07 04:35:43,554 - INFO - ================================================================================ 2026-01-07 04:35:43,554 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-01-07 04:35:43,554 - 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-01-07 04:35:43,810 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-01-07 04:35:43,810 - INFO - Initial checks done. Running the testcase now 2026-01-07 04:35:43,810 - INFO - 2026-01-07 04:35:44,340 - DEBUG - Response for create_network : {'network': {'id': '3c1d9960-ce1f-4863-bb67-93d150a3cd86', 'name': 'ctest-vn-38523124', 'tenant_id': '22ed5ddabab84fd3acc4100da62af365', 'project_id': '22ed5ddabab84fd3acc4100da62af365', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00031045', 'ctest-vn-38523124'], 'port_security_enabled': True, 'description': ''}} 2026-01-07 04:35:44,537 - DEBUG - Response for create_subnet : {'subnet': {'id': '0eb0229b-76b9-4099-8c33-9e31db61a196', 'name': '', 'tenant_id': '22ed5ddabab84fd3acc4100da62af365', 'network_id': '3c1d9960-ce1f-4863-bb67-93d150a3cd86', 'ip_version': 4, 'cidr': '132.210.13.128/26', 'allocation_pools': [{'start': '132.210.13.130', 'end': '132.210.13.190'}], 'gateway_ip': '132.210.13.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '132.210.13.130', 'tags': [], 'project_id': '22ed5ddabab84fd3acc4100da62af365'}} 2026-01-07 04:35:44,553 - INFO - Created VN ctest-vn-38523124 2026-01-07 04:35:44,606 - DEBUG - VN ctest-vn-38523124 UUID is 3c1d9960-ce1f-4863-bb67-93d150a3cd86 2026-01-07 04:35:44,928 - DEBUG - Response for create_network : {'network': {'id': '4dcb3a99-757a-4171-8ab4-72f3ff57a45e', 'name': 'ctest-vn-91428387', 'tenant_id': '22ed5ddabab84fd3acc4100da62af365', 'project_id': '22ed5ddabab84fd3acc4100da62af365', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00031045', 'ctest-vn-91428387'], 'port_security_enabled': True, 'description': ''}} 2026-01-07 04:35:45,100 - DEBUG - Response for create_subnet : {'subnet': {'id': '59a804d1-fedb-479c-a02b-cf3527fecb20', 'name': '', 'tenant_id': '22ed5ddabab84fd3acc4100da62af365', 'network_id': '4dcb3a99-757a-4171-8ab4-72f3ff57a45e', 'ip_version': 4, 'cidr': '117.171.60.64/26', 'allocation_pools': [{'start': '117.171.60.66', 'end': '117.171.60.126'}], 'gateway_ip': '117.171.60.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '117.171.60.66', 'tags': [], 'project_id': '22ed5ddabab84fd3acc4100da62af365'}} 2026-01-07 04:35:45,115 - INFO - Created VN ctest-vn-91428387 2026-01-07 04:35:45,166 - DEBUG - VN ctest-vn-91428387 UUID is 4dcb3a99-757a-4171-8ab4-72f3ff57a45e 2026-01-07 04:35:45,309 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-00031045:ctest-vn-38523124, 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-00031045:ctest-vn-91428387, 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-01-07 04:35:45,598 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3c1d9960-ce1f-4863-bb67-93d150a3cd86', 'name': 'ctest-vn-38523124', 'tenant_id': '22ed5ddabab84fd3acc4100da62af365', 'project_id': '22ed5ddabab84fd3acc4100da62af365', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0eb0229b-76b9-4099-8c33-9e31db61a196'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00031045', 'ctest-vn-38523124'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-00031045', 'ctest-policy-allow-all-50010222']], 'subnet_ipam': [{'subnet_cidr': '132.210.13.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-07 04:35:45,814 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4dcb3a99-757a-4171-8ab4-72f3ff57a45e', 'name': 'ctest-vn-91428387', 'tenant_id': '22ed5ddabab84fd3acc4100da62af365', 'project_id': '22ed5ddabab84fd3acc4100da62af365', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['59a804d1-fedb-479c-a02b-cf3527fecb20'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00031045', 'ctest-vn-91428387'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-00031045', 'ctest-policy-allow-all-50010222']], 'subnet_ipam': [{'subnet_cidr': '117.171.60.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-07 04:35:45,966 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-01-07 04:35:46,261 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-01-07 04:35:46,293 - DEBUG - Requesting: http://10.0.0.50:8082/domain/8c221dd2-61f9-4cf2-834e-b22e88dba6b6 2026-01-07 04:35:46,304 - DEBUG - Requesting: http://10.0.0.50:8082/project/22ed5dda-bab8-4fd3-acc4-100da62af365 2026-01-07 04:35:46,378 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/3c1d9960-ce1f-4863-bb67-93d150a3cd86 2026-01-07 04:35:46,390 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/3c1d9960-ce1f-4863-bb67-93d150a3cd86 2026-01-07 04:35:46,400 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/df5e1139-1aa6-41f8-be2d-baaa1049556e 2026-01-07 04:35:46,406 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/df5e1139-1aa6-41f8-be2d-baaa1049556e 2026-01-07 04:35:46,412 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/a4e6b3ff-0515-477a-8e4d-35f656c9f0bf 2026-01-07 04:35:46,417 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-07 04:35:46,417 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/3c1d9960-ce1f-4863-bb67-93d150a3cd86 2026-01-07 04:35:46,426 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/df5e1139-1aa6-41f8-be2d-baaa1049556e 2026-01-07 04:35:46,440 - INFO - Verified VN network id 12 for VN 3c1d9960-ce1f-4863-bb67-93d150a3cd86 2026-01-07 04:35:46,440 - INFO - Verifications in API Server for VN ctest-vn-38523124 passed 2026-01-07 04:35:46,440 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/3c1d9960-ce1f-4863-bb67-93d150a3cd86 2026-01-07 04:35:46,450 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/df5e1139-1aa6-41f8-be2d-baaa1049556e 2026-01-07 04:35:46,457 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/df5e1139-1aa6-41f8-be2d-baaa1049556e 2026-01-07 04:35:46,463 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/a4e6b3ff-0515-477a-8e4d-35f656c9f0bf 2026-01-07 04:35:46,473 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-00031045:ctest-vn-38523124', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-00031045', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4331787057654351971', 'uuid-lslong': '13503924534904081798'}, 'enable': 'true', 'created': '2026-01-07T04:35:44', 'last-modified': '2026-01-07T04:35:45', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.895972'} 2026-01-07 04:35:46,479 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-07 04:35:46,479 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-38523124 passed 2026-01-07 04:35:46,479 - DEBUG - ====Verifying policy data for ctest-vn-38523124 in API_Server ====== 2026-01-07 04:35:46,479 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-01-07 04:35:46,483 - DEBUG - Requesting: http://10.0.0.50:8082/domain/8c221dd2-61f9-4cf2-834e-b22e88dba6b6 2026-01-07 04:35:46,497 - DEBUG - Requesting: http://10.0.0.50:8082/project/22ed5dda-bab8-4fd3-acc4-100da62af365 2026-01-07 04:35:46,572 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/3c1d9960-ce1f-4863-bb67-93d150a3cd86 2026-01-07 04:35:46,582 - DEBUG - ==>Verifying data for policy with id: 969dd872-4d2b-4b2d-b22f-20a572100ff9, fqn: ['default-domain', 'ctest-TestBasicPolicy-00031045', 'ctest-policy-allow-all-50010222'] 2026-01-07 04:35:46,582 - INFO - VN ctest-vn-38523124 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-07 04:35:46,583 - DEBUG - Verifying the vn in opserver 2026-01-07 04:35:46,583 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-00031045:ctest-vn-38523124 virtual network link through opserver 10.0.0.50 2026-01-07 04:35:46,583 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-01-07 04:35:46,878 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-01-07 04:35:46,933 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-00031045:ctest-vn-38523124', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-00031045:ctest-vn-38523124?flat'} 2026-01-07 04:35:46,934 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-00031045:ctest-vn-38523124 is found in opserver 2026-01-07 04:35:46,942 - DEBUG - Do not have enough data to verify VN in agent 2026-01-07 04:35:46,946 - DEBUG - VRF ids for VN ctest-vn-38523124: {} 2026-01-07 04:35:46,946 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-01-07 04:35:46,951 - DEBUG - Requesting: http://10.0.0.50:8082/domain/8c221dd2-61f9-4cf2-834e-b22e88dba6b6 2026-01-07 04:35:46,960 - DEBUG - Requesting: http://10.0.0.50:8082/project/22ed5dda-bab8-4fd3-acc4-100da62af365 2026-01-07 04:35:47,029 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4dcb3a99-757a-4171-8ab4-72f3ff57a45e 2026-01-07 04:35:47,039 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4dcb3a99-757a-4171-8ab4-72f3ff57a45e 2026-01-07 04:35:47,047 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b6bd9835-0916-473a-b84b-61760d2e2ae5 2026-01-07 04:35:47,055 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b6bd9835-0916-473a-b84b-61760d2e2ae5 2026-01-07 04:35:47,062 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/5a28d47f-8e48-49dc-a5d8-4de2ae8547e3 2026-01-07 04:35:47,068 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-07 04:35:47,068 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4dcb3a99-757a-4171-8ab4-72f3ff57a45e 2026-01-07 04:35:47,077 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b6bd9835-0916-473a-b84b-61760d2e2ae5 2026-01-07 04:35:47,091 - INFO - Verified VN network id 13 for VN 4dcb3a99-757a-4171-8ab4-72f3ff57a45e 2026-01-07 04:35:47,091 - INFO - Verifications in API Server for VN ctest-vn-91428387 passed 2026-01-07 04:35:47,091 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4dcb3a99-757a-4171-8ab4-72f3ff57a45e 2026-01-07 04:35:47,099 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b6bd9835-0916-473a-b84b-61760d2e2ae5 2026-01-07 04:35:47,105 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b6bd9835-0916-473a-b84b-61760d2e2ae5 2026-01-07 04:35:47,111 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/5a28d47f-8e48-49dc-a5d8-4de2ae8547e3 2026-01-07 04:35:47,120 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-00031045:ctest-vn-91428387', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-00031045', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5605638591968067953', 'uuid-lslong': '9994739865328526430'}, 'enable': 'true', 'created': '2026-01-07T04:35:44', 'last-modified': '2026-01-07T04:35:45', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.322100'} 2026-01-07 04:35:47,127 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-07 04:35:47,127 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-91428387 passed 2026-01-07 04:35:47,127 - DEBUG - ====Verifying policy data for ctest-vn-91428387 in API_Server ====== 2026-01-07 04:35:47,127 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-01-07 04:35:47,132 - DEBUG - Requesting: http://10.0.0.50:8082/domain/8c221dd2-61f9-4cf2-834e-b22e88dba6b6 2026-01-07 04:35:47,141 - DEBUG - Requesting: http://10.0.0.50:8082/project/22ed5dda-bab8-4fd3-acc4-100da62af365 2026-01-07 04:35:47,210 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4dcb3a99-757a-4171-8ab4-72f3ff57a45e 2026-01-07 04:35:47,218 - DEBUG - ==>Verifying data for policy with id: 969dd872-4d2b-4b2d-b22f-20a572100ff9, fqn: ['default-domain', 'ctest-TestBasicPolicy-00031045', 'ctest-policy-allow-all-50010222'] 2026-01-07 04:35:47,218 - INFO - VN ctest-vn-91428387 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-07 04:35:47,219 - DEBUG - Verifying the vn in opserver 2026-01-07 04:35:47,219 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-00031045:ctest-vn-91428387 virtual network link through opserver 10.0.0.50 2026-01-07 04:35:47,219 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-01-07 04:35:47,228 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-00031045:ctest-vn-91428387', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-00031045:ctest-vn-91428387?flat'} 2026-01-07 04:35:47,228 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-00031045:ctest-vn-91428387 is found in opserver 2026-01-07 04:35:47,238 - DEBUG - Do not have enough data to verify VN in agent 2026-01-07 04:35:47,242 - DEBUG - VRF ids for VN ctest-vn-91428387: {} 2026-01-07 04:35:47,293 - DEBUG - Services list from nova: [, , ] 2026-01-07 04:35:48,300 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4971-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4971-1) 2026-01-07 04:35:49,416 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4971-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4971-1) 2026-01-07 04:35:49,416 - INFO - Waiting for VM ctest-TestBasicPolicy-00031045-15024589 to be up.. 2026-01-07 04:35:49,490 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-07 04:35:54,572 - DEBUG - VM is in ACTIVE state now 2026-01-07 04:35:54,573 - INFO - VM name : ctest-TestBasicPolicy-00031045-15024589 2026-01-07 04:35:54,647 - DEBUG - VM ctest-TestBasicPolicy-00031045-15024589 ID is 4189daf8-3dae-45fb-99cf-e8201d800c3c 2026-01-07 04:35:54,669 - DEBUG - VM ctest-TestBasicPolicy-00031045-15024589 launched on Node cn-jenkins-deploy-platform-ansible-os-4971-1 2026-01-07 04:35:54,744 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/4189daf8-3dae-45fb-99cf-e8201d800c3c 2026-01-07 04:35:54,753 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/9cd2daa5-9f22-4c40-acbe-b799b7c6e688 2026-01-07 04:35:58,006 - 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 1022ms') 2026-01-07 04:35:58,006 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-00031045-15024589 failed! 2026-01-07 04:35:58,058 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-00031045:ctest-vn-38523124 is 132.210.13.129 and allocation pool is NOT set 2026-01-07 04:36:00,122 - 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=4.76 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.978 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.978/2.868/4.759/1.890 ms') 2026-01-07 04:36:00,123 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-00031045-15024589 passed 2026-01-07 04:36:00,274 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-07 04:36:00,274 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-00031045-15024589, IP 132.210.13.131, Port 22 2026-01-07 04:36:00,449 - DEBUG - VM ctest-TestBasicPolicy-00031045-15024589 is ready for SSH connections 2026-01-07 04:36:00,449 - INFO - Waiting for VM ctest-TestBasicPolicy-00031045-78217198 to be up.. 2026-01-07 04:36:00,549 - DEBUG - VM is in ACTIVE state now 2026-01-07 04:36:00,550 - INFO - VM name : ctest-TestBasicPolicy-00031045-78217198 2026-01-07 04:36:00,631 - DEBUG - VM ctest-TestBasicPolicy-00031045-78217198 ID is 0e6c0ec4-16d4-479c-968d-4a0d9d7f9fe4 2026-01-07 04:36:00,631 - DEBUG - VM ctest-TestBasicPolicy-00031045-78217198 launched on Node cn-jenkins-deploy-platform-ansible-os-4971-1 2026-01-07 04:36:00,702 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/0e6c0ec4-16d4-479c-968d-4a0d9d7f9fe4 2026-01-07 04:36:00,710 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/19082bf7-bc97-4ada-babb-326bb4b822f9 2026-01-07 04:36:01,950 - 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=2.65 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.398 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.398/1.526/2.654/1.128 ms') 2026-01-07 04:36:01,950 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-00031045-78217198 passed 2026-01-07 04:36:02,098 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-07 04:36:02,098 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-00031045-78217198, IP 117.171.60.67, Port 22 2026-01-07 04:36:02,257 - DEBUG - VM ctest-TestBasicPolicy-00031045-78217198 is ready for SSH connections 2026-01-07 04:36:02,257 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-07 04:36:02,257 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 117.171.60.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-01-07 04:36:02,257 - DEBUG - ping -s 56 -c 3 -W 1 117.171.60.67 2026-01-07 04:36:05,960 - DEBUG - PING 117.171.60.67 (117.171.60.67): 56 data bytes 64 bytes from 117.171.60.67: seq=0 ttl=63 time=3.735 ms 64 bytes from 117.171.60.67: seq=1 ttl=63 time=1.043 ms 64 bytes from 117.171.60.67: seq=2 ttl=63 time=1.040 ms --- 117.171.60.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.040/1.939/3.735 ms 2026-01-07 04:36:05,960 - INFO - Ping to IP 117.171.60.67 from VM ctest-TestBasicPolicy-00031045-15024589 passed 2026-01-07 04:36:06,133 - DEBUG - Policy Update Response {"network-policy": {"uuid": "969dd872-4d2b-4b2d-b22f-20a572100ff9", "href": "http://10.0.0.50:8082/network-policy/969dd872-4d2b-4b2d-b22f-20a572100ff9"}} 2026-01-07 04:36:06,133 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-07 04:36:06,134 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 117.171.60.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-01-07 04:36:06,134 - DEBUG - ping -s 56 -c 3 -W 1 117.171.60.67 2026-01-07 04:36:09,330 - DEBUG - PING 117.171.60.67 (117.171.60.67): 56 data bytes --- 117.171.60.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-01-07 04:36:09,330 - WARNING - Ping to IP 117.171.60.67 from VM ctest-TestBasicPolicy-00031045-15024589 failed 2026-01-07 04:36:09,330 - INFO - Deleting VM ctest-TestBasicPolicy-00031045-78217198 2026-01-07 04:36:09,411 - INFO - Deleting VM ctest-TestBasicPolicy-00031045-15024589 2026-01-07 04:36:09,772 - INFO - Deleted policy ctest-policy-allow-all-50010222 2026-01-07 04:36:09,772 - INFO - Deleting VN ctest-vn-91428387 2026-01-07 04:36:09,810 - DEBUG - VN 4dcb3a99-757a-4171-8ab4-72f3ff57a45e still in use: Unable to complete operation on network 4dcb3a99-757a-4171-8ab4-72f3ff57a45e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-096fb1ae-0354-4947-bb9c-a354554b8c03'] 2026-01-07 04:36:09,810 - WARNING - Deleting VN ctest-vn-91428387 failed..Will retry 2026-01-07 04:36:11,908 - DEBUG - Response for deleting network () 2026-01-07 04:36:11,908 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b6bd9835-0916-473a-b84b-61760d2e2ae5 2026-01-07 04:36:11,921 - DEBUG - Response Code: 404 2026-01-07 04:36:11,921 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-01-07 04:36:11,925 - DEBUG - Requesting: http://10.0.0.50:8082/domain/8c221dd2-61f9-4cf2-834e-b22e88dba6b6 2026-01-07 04:36:11,979 - DEBUG - Requesting: http://10.0.0.50:8082/project/22ed5dda-bab8-4fd3-acc4-100da62af365 2026-01-07 04:36:12,051 - INFO - Validated that VN ctest-vn-91428387 is not found in API Server 2026-01-07 04:36:12,061 - DEBUG - VN ctest-vn-91428387 is not present in Agent 10.0.0.50 2026-01-07 04:36:12,061 - INFO - Validated that VN ctest-vn-91428387 is not in any agent 2026-01-07 04:36:12,073 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-91428387 info 2026-01-07 04:36:12,073 - INFO - Deleting VN ctest-vn-38523124 2026-01-07 04:36:12,170 - DEBUG - Response for deleting network () 2026-01-07 04:36:12,170 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/df5e1139-1aa6-41f8-be2d-baaa1049556e 2026-01-07 04:36:12,176 - DEBUG - Response Code: 404 2026-01-07 04:36:12,176 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-01-07 04:36:12,181 - DEBUG - Requesting: http://10.0.0.50:8082/domain/8c221dd2-61f9-4cf2-834e-b22e88dba6b6 2026-01-07 04:36:12,230 - DEBUG - Requesting: http://10.0.0.50:8082/project/22ed5dda-bab8-4fd3-acc4-100da62af365 2026-01-07 04:36:12,297 - INFO - Validated that VN ctest-vn-38523124 is not found in API Server 2026-01-07 04:36:12,308 - DEBUG - VN ctest-vn-38523124 is not present in Agent 10.0.0.50 2026-01-07 04:36:12,308 - INFO - Validated that VN ctest-vn-38523124 is not in any agent 2026-01-07 04:36:12,320 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-38523124 info 2026-01-07 04:36:12,574 - DEBUG - No XMPP flaps were noticed during the test 2026-01-07 04:36:12,574 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2026-01-07 04:36:12,574 - INFO - -------------------------------------------------------------------------------- 2026-01-07 04:36:13,247 - INFO - Deleted project: ctest-TestBasicPolicy-00031045, ID : 22ed5dda-bab8-4fd3-acc4-100da62af365