2026-04-27 02:31:27,964 - INFO - Domain Default found not creating 2026-04-27 02:31:28,126 - INFO - Project ctest-TestBasicPolicy-02903739 not found, creating it 2026-04-27 02:31:28,591 - INFO - Created Project:ctest-TestBasicPolicy-02903739, ID : 7d14f5be-c8ec-4781-a7dd-2e1aaa3450c4 2026-04-27 02:31:30,065 - INFO - ================================================================================ 2026-04-27 02:31:30,065 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-04-27 02:31:30,065 - 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-04-27 02:31:30,318 - DEBUG - Nothing to compare xmpp stats {'10.0.0.240': {'10.20.0.129': '0'}} with 2026-04-27 02:31:30,318 - INFO - Initial checks done. Running the testcase now 2026-04-27 02:31:30,318 - INFO - 2026-04-27 02:31:30,857 - DEBUG - Response for create_network : {'network': {'id': 'af1b7b39-82f6-4db7-a104-8c6568ca764a', 'name': 'ctest-vn-62240777', 'tenant_id': '7d14f5bec8ec4781a7dd2e1aaa3450c4', 'project_id': '7d14f5bec8ec4781a7dd2e1aaa3450c4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02903739', 'ctest-vn-62240777'], 'port_security_enabled': True, 'description': ''}} 2026-04-27 02:31:31,061 - DEBUG - Response for create_subnet : {'subnet': {'id': '3045aa95-abba-4c1b-9eff-856d7dc7477d', 'name': '', 'tenant_id': '7d14f5bec8ec4781a7dd2e1aaa3450c4', 'network_id': 'af1b7b39-82f6-4db7-a104-8c6568ca764a', 'ip_version': 4, 'cidr': '116.120.235.0/26', 'allocation_pools': [{'start': '116.120.235.2', 'end': '116.120.235.62'}], 'gateway_ip': '116.120.235.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '116.120.235.2', 'tags': [], 'project_id': '7d14f5bec8ec4781a7dd2e1aaa3450c4'}} 2026-04-27 02:31:31,078 - INFO - Created VN ctest-vn-62240777 2026-04-27 02:31:31,132 - DEBUG - VN ctest-vn-62240777 UUID is af1b7b39-82f6-4db7-a104-8c6568ca764a 2026-04-27 02:31:31,467 - DEBUG - Response for create_network : {'network': {'id': '083e5c7f-6fa0-4f19-82e8-7fd653507527', 'name': 'ctest-vn-21071173', 'tenant_id': '7d14f5bec8ec4781a7dd2e1aaa3450c4', 'project_id': '7d14f5bec8ec4781a7dd2e1aaa3450c4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02903739', 'ctest-vn-21071173'], 'port_security_enabled': True, 'description': ''}} 2026-04-27 02:31:31,636 - DEBUG - Response for create_subnet : {'subnet': {'id': '7488561a-a82e-4002-abe1-962fead74e1c', 'name': '', 'tenant_id': '7d14f5bec8ec4781a7dd2e1aaa3450c4', 'network_id': '083e5c7f-6fa0-4f19-82e8-7fd653507527', 'ip_version': 4, 'cidr': '34.138.215.0/26', 'allocation_pools': [{'start': '34.138.215.2', 'end': '34.138.215.62'}], 'gateway_ip': '34.138.215.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '34.138.215.2', 'tags': [], 'project_id': '7d14f5bec8ec4781a7dd2e1aaa3450c4'}} 2026-04-27 02:31:31,652 - INFO - Created VN ctest-vn-21071173 2026-04-27 02:31:31,704 - DEBUG - VN ctest-vn-21071173 UUID is 083e5c7f-6fa0-4f19-82e8-7fd653507527 2026-04-27 02:31:31,856 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-02903739:ctest-vn-62240777, 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-02903739:ctest-vn-21071173, 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-04-27 02:31:32,153 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'af1b7b39-82f6-4db7-a104-8c6568ca764a', 'name': 'ctest-vn-62240777', 'tenant_id': '7d14f5bec8ec4781a7dd2e1aaa3450c4', 'project_id': '7d14f5bec8ec4781a7dd2e1aaa3450c4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3045aa95-abba-4c1b-9eff-856d7dc7477d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02903739', 'ctest-vn-62240777'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-02903739', 'ctest-policy-allow-all-43931335']], 'subnet_ipam': [{'subnet_cidr': '116.120.235.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-27 02:31:32,380 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '083e5c7f-6fa0-4f19-82e8-7fd653507527', 'name': 'ctest-vn-21071173', 'tenant_id': '7d14f5bec8ec4781a7dd2e1aaa3450c4', 'project_id': '7d14f5bec8ec4781a7dd2e1aaa3450c4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7488561a-a82e-4002-abe1-962fead74e1c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02903739', 'ctest-vn-21071173'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-02903739', 'ctest-policy-allow-all-43931335']], 'subnet_ipam': [{'subnet_cidr': '34.138.215.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-27 02:31:32,544 - DEBUG - Requesting: http://10.0.0.240:8082/domains 2026-04-27 02:31:32,839 - DEBUG - Requesting: http://10.0.0.240:8082/domains 2026-04-27 02:31:32,870 - DEBUG - Requesting: http://10.0.0.240:8082/domain/f0c84dc6-c12b-4275-98b3-df5325bafba8 2026-04-27 02:31:32,883 - DEBUG - Requesting: http://10.0.0.240:8082/project/7d14f5be-c8ec-4781-a7dd-2e1aaa3450c4 2026-04-27 02:31:32,958 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/af1b7b39-82f6-4db7-a104-8c6568ca764a 2026-04-27 02:31:32,970 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/af1b7b39-82f6-4db7-a104-8c6568ca764a 2026-04-27 02:31:32,980 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/fecf90cb-90a9-45fb-a656-0fa226ee5a49 2026-04-27 02:31:32,988 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/fecf90cb-90a9-45fb-a656-0fa226ee5a49 2026-04-27 02:31:32,996 - DEBUG - Requesting: http://10.0.0.240:8082/route-target/65c1fe5e-76cf-409e-a1d1-a91c32459a69 2026-04-27 02:31:33,002 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-27 02:31:33,003 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/af1b7b39-82f6-4db7-a104-8c6568ca764a 2026-04-27 02:31:33,011 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/fecf90cb-90a9-45fb-a656-0fa226ee5a49 2026-04-27 02:31:33,025 - INFO - Verified VN network id 11 for VN af1b7b39-82f6-4db7-a104-8c6568ca764a 2026-04-27 02:31:33,025 - INFO - Verifications in API Server for VN ctest-vn-62240777 passed 2026-04-27 02:31:33,025 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/af1b7b39-82f6-4db7-a104-8c6568ca764a 2026-04-27 02:31:33,033 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/fecf90cb-90a9-45fb-a656-0fa226ee5a49 2026-04-27 02:31:33,040 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/fecf90cb-90a9-45fb-a656-0fa226ee5a49 2026-04-27 02:31:33,047 - DEBUG - Requesting: http://10.0.0.240:8082/route-target/65c1fe5e-76cf-409e-a1d1-a91c32459a69 2026-04-27 02:31:33,058 - DEBUG - Control-node 10.0.0.240 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-02903739:ctest-vn-62240777', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-02903739', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12617814267949108663', 'uuid-lslong': '11602552907190924874'}, 'enable': 'true', 'created': '2026-04-27T02:31:30', 'last-modified': '2026-04-27T02:31:32', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.929396'} 2026-04-27 02:31:33,064 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-27 02:31:33,064 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-62240777 passed 2026-04-27 02:31:33,064 - DEBUG - ====Verifying policy data for ctest-vn-62240777 in API_Server ====== 2026-04-27 02:31:33,064 - DEBUG - Requesting: http://10.0.0.240:8082/domains 2026-04-27 02:31:33,069 - DEBUG - Requesting: http://10.0.0.240:8082/domain/f0c84dc6-c12b-4275-98b3-df5325bafba8 2026-04-27 02:31:33,079 - DEBUG - Requesting: http://10.0.0.240:8082/project/7d14f5be-c8ec-4781-a7dd-2e1aaa3450c4 2026-04-27 02:31:33,148 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/af1b7b39-82f6-4db7-a104-8c6568ca764a 2026-04-27 02:31:33,156 - DEBUG - ==>Verifying data for policy with id: 6678cde5-eb33-4385-afa7-f6cac1aaa3a7, fqn: ['default-domain', 'ctest-TestBasicPolicy-02903739', 'ctest-policy-allow-all-43931335'] 2026-04-27 02:31:33,156 - INFO - VN ctest-vn-62240777 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-27 02:31:33,156 - DEBUG - Verifying the vn in opserver 2026-04-27 02:31:33,157 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-02903739:ctest-vn-62240777 virtual network link through opserver 10.0.0.240 2026-04-27 02:31:33,157 - DEBUG - Requesting: http://10.0.0.240:8081/analytics/uves/virtual-networks 2026-04-27 02:31:33,450 - DEBUG - Requesting: http://10.0.0.240:8081/analytics/uves/virtual-networks 2026-04-27 02:31:33,525 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-02903739:ctest-vn-62240777', 'href': 'http://10.0.0.240:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-02903739:ctest-vn-62240777?flat'} 2026-04-27 02:31:33,525 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-02903739:ctest-vn-62240777 is found in opserver 2026-04-27 02:31:33,535 - DEBUG - Do not have enough data to verify VN in agent 2026-04-27 02:31:33,540 - DEBUG - VRF ids for VN ctest-vn-62240777: {} 2026-04-27 02:31:33,540 - DEBUG - Requesting: http://10.0.0.240:8082/domains 2026-04-27 02:31:33,545 - DEBUG - Requesting: http://10.0.0.240:8082/domain/f0c84dc6-c12b-4275-98b3-df5325bafba8 2026-04-27 02:31:33,556 - DEBUG - Requesting: http://10.0.0.240:8082/project/7d14f5be-c8ec-4781-a7dd-2e1aaa3450c4 2026-04-27 02:31:33,628 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/083e5c7f-6fa0-4f19-82e8-7fd653507527 2026-04-27 02:31:33,642 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/083e5c7f-6fa0-4f19-82e8-7fd653507527 2026-04-27 02:31:33,652 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/21d1d864-54ba-4762-8b3f-db9fc54190b2 2026-04-27 02:31:33,661 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/21d1d864-54ba-4762-8b3f-db9fc54190b2 2026-04-27 02:31:33,668 - DEBUG - Requesting: http://10.0.0.240:8082/route-target/a3380273-8d60-4d20-b464-1fc249128961 2026-04-27 02:31:33,675 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-27 02:31:33,675 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/083e5c7f-6fa0-4f19-82e8-7fd653507527 2026-04-27 02:31:33,683 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/21d1d864-54ba-4762-8b3f-db9fc54190b2 2026-04-27 02:31:33,697 - INFO - Verified VN network id 12 for VN 083e5c7f-6fa0-4f19-82e8-7fd653507527 2026-04-27 02:31:33,697 - INFO - Verifications in API Server for VN ctest-vn-21071173 passed 2026-04-27 02:31:33,697 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/083e5c7f-6fa0-4f19-82e8-7fd653507527 2026-04-27 02:31:33,706 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/21d1d864-54ba-4762-8b3f-db9fc54190b2 2026-04-27 02:31:33,713 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/21d1d864-54ba-4762-8b3f-db9fc54190b2 2026-04-27 02:31:33,719 - DEBUG - Requesting: http://10.0.0.240:8082/route-target/a3380273-8d60-4d20-b464-1fc249128961 2026-04-27 02:31:33,732 - DEBUG - Control-node 10.0.0.240 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-02903739:ctest-vn-21071173', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-02903739', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '594013903262863129', 'uuid-lslong': '9432929978025014567'}, 'enable': 'true', 'created': '2026-04-27T02:31:31', 'last-modified': '2026-04-27T02:31:32', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.373682'} 2026-04-27 02:31:33,738 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-27 02:31:33,738 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-21071173 passed 2026-04-27 02:31:33,739 - DEBUG - ====Verifying policy data for ctest-vn-21071173 in API_Server ====== 2026-04-27 02:31:33,739 - DEBUG - Requesting: http://10.0.0.240:8082/domains 2026-04-27 02:31:33,744 - DEBUG - Requesting: http://10.0.0.240:8082/domain/f0c84dc6-c12b-4275-98b3-df5325bafba8 2026-04-27 02:31:33,756 - DEBUG - Requesting: http://10.0.0.240:8082/project/7d14f5be-c8ec-4781-a7dd-2e1aaa3450c4 2026-04-27 02:31:33,830 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/083e5c7f-6fa0-4f19-82e8-7fd653507527 2026-04-27 02:31:33,841 - DEBUG - ==>Verifying data for policy with id: 6678cde5-eb33-4385-afa7-f6cac1aaa3a7, fqn: ['default-domain', 'ctest-TestBasicPolicy-02903739', 'ctest-policy-allow-all-43931335'] 2026-04-27 02:31:33,841 - INFO - VN ctest-vn-21071173 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-27 02:31:33,841 - DEBUG - Verifying the vn in opserver 2026-04-27 02:31:33,841 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-02903739:ctest-vn-21071173 virtual network link through opserver 10.0.0.240 2026-04-27 02:31:33,841 - DEBUG - Requesting: http://10.0.0.240:8081/analytics/uves/virtual-networks 2026-04-27 02:31:33,851 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-02903739:ctest-vn-21071173', 'href': 'http://10.0.0.240:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-02903739:ctest-vn-21071173?flat'} 2026-04-27 02:31:33,851 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-02903739:ctest-vn-21071173 is found in opserver 2026-04-27 02:31:33,859 - DEBUG - Do not have enough data to verify VN in agent 2026-04-27 02:31:33,864 - DEBUG - VRF ids for VN ctest-vn-21071173: {} 2026-04-27 02:31:33,926 - DEBUG - Services list from nova: [, , ] 2026-04-27 02:31:34,970 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5691-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5691-1) 2026-04-27 02:31:36,124 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5691-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5691-1) 2026-04-27 02:31:36,124 - INFO - Waiting for VM ctest-TestBasicPolicy-02903739-52412457 to be up.. 2026-04-27 02:31:36,222 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-27 02:31:41,302 - DEBUG - VM is in ACTIVE state now 2026-04-27 02:31:41,302 - INFO - VM name : ctest-TestBasicPolicy-02903739-52412457 2026-04-27 02:31:41,375 - DEBUG - VM ctest-TestBasicPolicy-02903739-52412457 ID is 434fcb2f-73ad-4285-b101-3ce4278077e3 2026-04-27 02:31:41,393 - DEBUG - VM ctest-TestBasicPolicy-02903739-52412457 launched on Node cn-jenkins-deploy-platform-ansible-os-5691-1 2026-04-27 02:31:41,471 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine/434fcb2f-73ad-4285-b101-3ce4278077e3 2026-04-27 02:31:41,481 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine-interface/0f477f31-9eb9-434b-a645-67c56257724c 2026-04-27 02:31:44,731 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1011ms') 2026-04-27 02:31:44,731 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-02903739-52412457 failed! 2026-04-27 02:31:44,784 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-02903739:ctest-vn-62240777 is 116.120.235.1 and allocation pool is NOT set 2026-04-27 02:31:46,841 - 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.15 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.427 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.427/4.288/8.150/3.861 ms') 2026-04-27 02:31:46,841 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-02903739-52412457 passed 2026-04-27 02:31:46,996 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-27 02:31:46,996 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-02903739-52412457, IP 116.120.235.3, Port 22 2026-04-27 02:31:47,152 - DEBUG - VM ctest-TestBasicPolicy-02903739-52412457 is ready for SSH connections 2026-04-27 02:31:47,152 - INFO - Waiting for VM ctest-TestBasicPolicy-02903739-90097574 to be up.. 2026-04-27 02:31:47,224 - DEBUG - VM is in ACTIVE state now 2026-04-27 02:31:47,224 - INFO - VM name : ctest-TestBasicPolicy-02903739-90097574 2026-04-27 02:31:47,293 - DEBUG - VM ctest-TestBasicPolicy-02903739-90097574 ID is 5d4a7f92-1c3d-40ce-ad6f-99d0366deb29 2026-04-27 02:31:47,293 - DEBUG - VM ctest-TestBasicPolicy-02903739-90097574 launched on Node cn-jenkins-deploy-platform-ansible-os-5691-1 2026-04-27 02:31:47,361 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine/5d4a7f92-1c3d-40ce-ad6f-99d0366deb29 2026-04-27 02:31:47,369 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine-interface/26e02a00-b382-413c-a59f-a1ef83115ce2 2026-04-27 02:31:48,603 - 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.63 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.886 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.886/1.759/2.633/0.873 ms') 2026-04-27 02:31:48,603 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-02903739-90097574 passed 2026-04-27 02:31:48,752 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-27 02:31:48,752 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-02903739-90097574, IP 34.138.215.3, Port 22 2026-04-27 02:31:48,907 - DEBUG - VM ctest-TestBasicPolicy-02903739-90097574 is ready for SSH connections 2026-04-27 02:31:48,908 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-27 02:31:48,908 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 34.138.215.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.240, gateway password: c0ntrail123 2026-04-27 02:31:48,908 - DEBUG - ping -s 56 -c 3 -W 1 34.138.215.3 2026-04-27 02:31:52,921 - DEBUG - PING 34.138.215.3 (34.138.215.3): 56 data bytes 64 bytes from 34.138.215.3: seq=0 ttl=63 time=3.508 ms 64 bytes from 34.138.215.3: seq=1 ttl=63 time=0.896 ms 64 bytes from 34.138.215.3: seq=2 ttl=63 time=0.816 ms --- 34.138.215.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.816/1.740/3.508 ms 2026-04-27 02:31:52,921 - INFO - Ping to IP 34.138.215.3 from VM ctest-TestBasicPolicy-02903739-52412457 passed 2026-04-27 02:31:53,092 - DEBUG - Policy Update Response {"network-policy": {"uuid": "6678cde5-eb33-4385-afa7-f6cac1aaa3a7", "href": "http://10.0.0.240:8082/network-policy/6678cde5-eb33-4385-afa7-f6cac1aaa3a7"}} 2026-04-27 02:31:53,092 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-27 02:31:53,092 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 34.138.215.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.240, gateway password: c0ntrail123 2026-04-27 02:31:53,092 - DEBUG - ping -s 56 -c 3 -W 1 34.138.215.3 2026-04-27 02:31:56,319 - DEBUG - PING 34.138.215.3 (34.138.215.3): 56 data bytes --- 34.138.215.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-04-27 02:31:56,319 - WARNING - Ping to IP 34.138.215.3 from VM ctest-TestBasicPolicy-02903739-52412457 failed 2026-04-27 02:31:56,319 - INFO - Deleting VM ctest-TestBasicPolicy-02903739-90097574 2026-04-27 02:31:56,393 - INFO - Deleting VM ctest-TestBasicPolicy-02903739-52412457 2026-04-27 02:31:56,769 - INFO - Deleted policy ctest-policy-allow-all-43931335 2026-04-27 02:31:56,770 - INFO - Deleting VN ctest-vn-21071173 2026-04-27 02:31:56,804 - DEBUG - VN 083e5c7f-6fa0-4f19-82e8-7fd653507527 still in use: Unable to complete operation on network 083e5c7f-6fa0-4f19-82e8-7fd653507527. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-168b094c-171a-4033-9f79-3ff70571fa06'] 2026-04-27 02:31:56,804 - WARNING - Deleting VN ctest-vn-21071173 failed..Will retry 2026-04-27 02:31:58,904 - DEBUG - Response for deleting network () 2026-04-27 02:31:58,904 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/21d1d864-54ba-4762-8b3f-db9fc54190b2 2026-04-27 02:31:58,911 - DEBUG - Response Code: 404 2026-04-27 02:31:58,911 - DEBUG - Requesting: http://10.0.0.240:8082/domains 2026-04-27 02:31:58,916 - DEBUG - Requesting: http://10.0.0.240:8082/domain/f0c84dc6-c12b-4275-98b3-df5325bafba8 2026-04-27 02:31:58,974 - DEBUG - Requesting: http://10.0.0.240:8082/project/7d14f5be-c8ec-4781-a7dd-2e1aaa3450c4 2026-04-27 02:31:59,046 - INFO - Validated that VN ctest-vn-21071173 is not found in API Server 2026-04-27 02:31:59,055 - DEBUG - VN ctest-vn-21071173 is not present in Agent 10.0.0.240 2026-04-27 02:31:59,055 - INFO - Validated that VN ctest-vn-21071173 is not in any agent 2026-04-27 02:31:59,068 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-21071173 info 2026-04-27 02:31:59,068 - INFO - Deleting VN ctest-vn-62240777 2026-04-27 02:31:59,175 - DEBUG - Response for deleting network () 2026-04-27 02:31:59,176 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/fecf90cb-90a9-45fb-a656-0fa226ee5a49 2026-04-27 02:31:59,182 - DEBUG - Response Code: 404 2026-04-27 02:31:59,182 - DEBUG - Requesting: http://10.0.0.240:8082/domains 2026-04-27 02:31:59,187 - DEBUG - Requesting: http://10.0.0.240:8082/domain/f0c84dc6-c12b-4275-98b3-df5325bafba8 2026-04-27 02:31:59,241 - DEBUG - Requesting: http://10.0.0.240:8082/project/7d14f5be-c8ec-4781-a7dd-2e1aaa3450c4 2026-04-27 02:31:59,308 - INFO - Validated that VN ctest-vn-62240777 is not found in API Server 2026-04-27 02:31:59,318 - DEBUG - VN ctest-vn-62240777 is not present in Agent 10.0.0.240 2026-04-27 02:31:59,318 - INFO - Validated that VN ctest-vn-62240777 is not in any agent 2026-04-27 02:31:59,332 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-62240777 info 2026-04-27 02:31:59,586 - DEBUG - No XMPP flaps were noticed during the test 2026-04-27 02:31:59,586 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2026-04-27 02:31:59,586 - INFO - -------------------------------------------------------------------------------- 2026-04-27 02:32:00,294 - INFO - Deleted project: ctest-TestBasicPolicy-02903739, ID : 7d14f5be-c8ec-4781-a7dd-2e1aaa3450c4