2026-07-06 15:08:45,850 - INFO - Domain Default found not creating 2026-07-06 15:08:46,002 - INFO - Project ctest-TestBasicPolicy-69848528 not found, creating it 2026-07-06 15:08:46,469 - INFO - Created Project:ctest-TestBasicPolicy-69848528, ID : 54ff94bc-9d2b-433e-a3f2-58337a17f89b 2026-07-06 15:08:48,024 - INFO - ================================================================================ 2026-07-06 15:08:48,024 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-07-06 15:08:48,024 - 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-07-06 15:08:48,280 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.14': '0'}} with 2026-07-06 15:08:48,280 - INFO - Initial checks done. Running the testcase now 2026-07-06 15:08:48,280 - INFO - 2026-07-06 15:08:48,867 - DEBUG - Response for create_network : {'network': {'id': 'e37a5eb8-2977-4246-b996-77006abc428e', 'name': 'ctest-vn-68757998', 'tenant_id': '54ff94bc9d2b433ea3f258337a17f89b', 'project_id': '54ff94bc9d2b433ea3f258337a17f89b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-69848528', 'ctest-vn-68757998'], 'port_security_enabled': True, 'description': ''}} 2026-07-06 15:08:49,093 - DEBUG - Response for create_subnet : {'subnet': {'id': '3221f9d9-bb73-43c0-9559-863d7c6edc4c', 'name': '', 'tenant_id': '54ff94bc9d2b433ea3f258337a17f89b', 'network_id': 'e37a5eb8-2977-4246-b996-77006abc428e', 'ip_version': 4, 'cidr': '52.90.177.64/26', 'allocation_pools': [{'start': '52.90.177.66', 'end': '52.90.177.126'}], 'gateway_ip': '52.90.177.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '52.90.177.66', 'tags': [], 'project_id': '54ff94bc9d2b433ea3f258337a17f89b'}} 2026-07-06 15:08:49,109 - INFO - Created VN ctest-vn-68757998 2026-07-06 15:08:49,161 - DEBUG - VN ctest-vn-68757998 UUID is e37a5eb8-2977-4246-b996-77006abc428e 2026-07-06 15:08:49,465 - DEBUG - Response for create_network : {'network': {'id': '2933c6f2-d9f8-40f2-aba6-46caf99c690f', 'name': 'ctest-vn-05574248', 'tenant_id': '54ff94bc9d2b433ea3f258337a17f89b', 'project_id': '54ff94bc9d2b433ea3f258337a17f89b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-69848528', 'ctest-vn-05574248'], 'port_security_enabled': True, 'description': ''}} 2026-07-06 15:08:49,673 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fd2b002a-750b-4591-ae4f-cc4f5e2ab272', 'name': '', 'tenant_id': '54ff94bc9d2b433ea3f258337a17f89b', 'network_id': '2933c6f2-d9f8-40f2-aba6-46caf99c690f', 'ip_version': 4, 'cidr': '13.103.125.0/26', 'allocation_pools': [{'start': '13.103.125.2', 'end': '13.103.125.62'}], 'gateway_ip': '13.103.125.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '13.103.125.2', 'tags': [], 'project_id': '54ff94bc9d2b433ea3f258337a17f89b'}} 2026-07-06 15:08:49,687 - INFO - Created VN ctest-vn-05574248 2026-07-06 15:08:49,737 - DEBUG - VN ctest-vn-05574248 UUID is 2933c6f2-d9f8-40f2-aba6-46caf99c690f 2026-07-06 15:08:49,881 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-69848528:ctest-vn-68757998, 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-69848528:ctest-vn-05574248, 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-07-06 15:08:50,158 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e37a5eb8-2977-4246-b996-77006abc428e', 'name': 'ctest-vn-68757998', 'tenant_id': '54ff94bc9d2b433ea3f258337a17f89b', 'project_id': '54ff94bc9d2b433ea3f258337a17f89b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3221f9d9-bb73-43c0-9559-863d7c6edc4c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-69848528', 'ctest-vn-68757998'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-69848528', 'ctest-policy-allow-all-05479549']], 'subnet_ipam': [{'subnet_cidr': '52.90.177.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-07-06 15:08:50,378 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2933c6f2-d9f8-40f2-aba6-46caf99c690f', 'name': 'ctest-vn-05574248', 'tenant_id': '54ff94bc9d2b433ea3f258337a17f89b', 'project_id': '54ff94bc9d2b433ea3f258337a17f89b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['fd2b002a-750b-4591-ae4f-cc4f5e2ab272'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-69848528', 'ctest-vn-05574248'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-69848528', 'ctest-policy-allow-all-05479549']], 'subnet_ipam': [{'subnet_cidr': '13.103.125.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-07-06 15:08:50,545 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-07-06 15:08:50,873 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-07-06 15:08:50,900 - DEBUG - Requesting: http://10.0.0.249:8082/domain/0264fbcd-f957-4e90-9c9d-245a715bbdc1 2026-07-06 15:08:50,911 - DEBUG - Requesting: http://10.0.0.249:8082/project/54ff94bc-9d2b-433e-a3f2-58337a17f89b 2026-07-06 15:08:50,983 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/e37a5eb8-2977-4246-b996-77006abc428e 2026-07-06 15:08:50,996 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/e37a5eb8-2977-4246-b996-77006abc428e 2026-07-06 15:08:51,008 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/76efe671-d7d3-4223-8bdd-9e09bfba7c8d 2026-07-06 15:08:51,017 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/76efe671-d7d3-4223-8bdd-9e09bfba7c8d 2026-07-06 15:08:51,024 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/82c035f1-1e78-4379-aa6e-d4c25e96f90c 2026-07-06 15:08:51,029 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-07-06 15:08:51,029 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/e37a5eb8-2977-4246-b996-77006abc428e 2026-07-06 15:08:51,038 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/76efe671-d7d3-4223-8bdd-9e09bfba7c8d 2026-07-06 15:08:51,052 - INFO - Verified VN network id 10 for VN e37a5eb8-2977-4246-b996-77006abc428e 2026-07-06 15:08:51,052 - INFO - Verifications in API Server for VN ctest-vn-68757998 passed 2026-07-06 15:08:51,052 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/e37a5eb8-2977-4246-b996-77006abc428e 2026-07-06 15:08:51,062 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/76efe671-d7d3-4223-8bdd-9e09bfba7c8d 2026-07-06 15:08:51,070 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/76efe671-d7d3-4223-8bdd-9e09bfba7c8d 2026-07-06 15:08:51,077 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/82c035f1-1e78-4379-aa6e-d4c25e96f90c 2026-07-06 15:08:51,090 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-69848528:ctest-vn-68757998', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-69848528', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16391517938831016518', 'uuid-lslong': '13373006987197694606'}, 'enable': 'true', 'created': '2026-07-06T15:08:48', 'last-modified': '2026-07-06T15:08:50', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.947892'} 2026-07-06 15:08:51,097 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-07-06 15:08:51,098 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-68757998 passed 2026-07-06 15:08:51,098 - DEBUG - ====Verifying policy data for ctest-vn-68757998 in API_Server ====== 2026-07-06 15:08:51,098 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-07-06 15:08:51,104 - DEBUG - Requesting: http://10.0.0.249:8082/domain/0264fbcd-f957-4e90-9c9d-245a715bbdc1 2026-07-06 15:08:51,114 - DEBUG - Requesting: http://10.0.0.249:8082/project/54ff94bc-9d2b-433e-a3f2-58337a17f89b 2026-07-06 15:08:51,181 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/e37a5eb8-2977-4246-b996-77006abc428e 2026-07-06 15:08:51,189 - DEBUG - ==>Verifying data for policy with id: 71916347-d13c-47b9-b2f0-6d8775204a8d, fqn: ['default-domain', 'ctest-TestBasicPolicy-69848528', 'ctest-policy-allow-all-05479549'] 2026-07-06 15:08:51,189 - INFO - VN ctest-vn-68757998 Policy verification: verify_vn_policy_in_api_server, status: True 2026-07-06 15:08:51,190 - DEBUG - Verifying the vn in opserver 2026-07-06 15:08:51,190 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-69848528:ctest-vn-68757998 virtual network link through opserver 10.0.0.249 2026-07-06 15:08:51,190 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-07-06 15:08:51,508 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-07-06 15:08:51,554 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-69848528:ctest-vn-68757998', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-69848528:ctest-vn-68757998?flat'} 2026-07-06 15:08:51,554 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-69848528:ctest-vn-68757998 is found in opserver 2026-07-06 15:08:51,564 - DEBUG - Do not have enough data to verify VN in agent 2026-07-06 15:08:51,569 - DEBUG - VRF ids for VN ctest-vn-68757998: {} 2026-07-06 15:08:51,569 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-07-06 15:08:51,574 - DEBUG - Requesting: http://10.0.0.249:8082/domain/0264fbcd-f957-4e90-9c9d-245a715bbdc1 2026-07-06 15:08:51,587 - DEBUG - Requesting: http://10.0.0.249:8082/project/54ff94bc-9d2b-433e-a3f2-58337a17f89b 2026-07-06 15:08:51,651 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/2933c6f2-d9f8-40f2-aba6-46caf99c690f 2026-07-06 15:08:51,661 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/2933c6f2-d9f8-40f2-aba6-46caf99c690f 2026-07-06 15:08:51,669 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/cba3bc3e-79d3-4a35-ac30-66b3a85efa5b 2026-07-06 15:08:51,675 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/cba3bc3e-79d3-4a35-ac30-66b3a85efa5b 2026-07-06 15:08:51,680 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/9d10a73a-9df1-433d-9e1e-7c501fca6622 2026-07-06 15:08:51,686 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-07-06 15:08:51,686 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/2933c6f2-d9f8-40f2-aba6-46caf99c690f 2026-07-06 15:08:51,696 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/cba3bc3e-79d3-4a35-ac30-66b3a85efa5b 2026-07-06 15:08:51,709 - INFO - Verified VN network id 11 for VN 2933c6f2-d9f8-40f2-aba6-46caf99c690f 2026-07-06 15:08:51,709 - INFO - Verifications in API Server for VN ctest-vn-05574248 passed 2026-07-06 15:08:51,709 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/2933c6f2-d9f8-40f2-aba6-46caf99c690f 2026-07-06 15:08:51,717 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/cba3bc3e-79d3-4a35-ac30-66b3a85efa5b 2026-07-06 15:08:51,723 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/cba3bc3e-79d3-4a35-ac30-66b3a85efa5b 2026-07-06 15:08:51,729 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/9d10a73a-9df1-433d-9e1e-7c501fca6622 2026-07-06 15:08:51,740 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-69848528:ctest-vn-05574248', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-69848528', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2968935325708599538', 'uuid-lslong': '12368651264204761359'}, 'enable': 'true', 'created': '2026-07-06T15:08:49', 'last-modified': '2026-07-06T15:08:50', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.384133'} 2026-07-06 15:08:51,745 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-07-06 15:08:51,745 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-05574248 passed 2026-07-06 15:08:51,746 - DEBUG - ====Verifying policy data for ctest-vn-05574248 in API_Server ====== 2026-07-06 15:08:51,746 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-07-06 15:08:51,751 - DEBUG - Requesting: http://10.0.0.249:8082/domain/0264fbcd-f957-4e90-9c9d-245a715bbdc1 2026-07-06 15:08:51,760 - DEBUG - Requesting: http://10.0.0.249:8082/project/54ff94bc-9d2b-433e-a3f2-58337a17f89b 2026-07-06 15:08:51,830 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/2933c6f2-d9f8-40f2-aba6-46caf99c690f 2026-07-06 15:08:51,838 - DEBUG - ==>Verifying data for policy with id: 71916347-d13c-47b9-b2f0-6d8775204a8d, fqn: ['default-domain', 'ctest-TestBasicPolicy-69848528', 'ctest-policy-allow-all-05479549'] 2026-07-06 15:08:51,838 - INFO - VN ctest-vn-05574248 Policy verification: verify_vn_policy_in_api_server, status: True 2026-07-06 15:08:51,838 - DEBUG - Verifying the vn in opserver 2026-07-06 15:08:51,838 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-69848528:ctest-vn-05574248 virtual network link through opserver 10.0.0.249 2026-07-06 15:08:51,838 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-07-06 15:08:51,847 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-69848528:ctest-vn-05574248', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-69848528:ctest-vn-05574248?flat'} 2026-07-06 15:08:51,847 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-69848528:ctest-vn-05574248 is found in opserver 2026-07-06 15:08:51,855 - DEBUG - Do not have enough data to verify VN in agent 2026-07-06 15:08:51,859 - DEBUG - VRF ids for VN ctest-vn-05574248: {} 2026-07-06 15:08:51,920 - DEBUG - Services list from nova: [, , ] 2026-07-06 15:08:52,224 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6085-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6085-1) 2026-07-06 15:08:52,573 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6085-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6085-1) 2026-07-06 15:08:52,574 - INFO - Waiting for VM ctest-TestBasicPolicy-69848528-12159395 to be up.. 2026-07-06 15:08:52,609 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-06 15:08:57,681 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-06 15:09:02,751 - DEBUG - VM is in ACTIVE state now 2026-07-06 15:09:02,752 - INFO - VM name : ctest-TestBasicPolicy-69848528-12159395 2026-07-06 15:09:02,820 - DEBUG - VM ctest-TestBasicPolicy-69848528-12159395 ID is 5f27bd4a-afaf-4ebb-847c-0791c764c456 2026-07-06 15:09:02,844 - DEBUG - VM ctest-TestBasicPolicy-69848528-12159395 launched on Node cn-jenkins-deploy-platform-ansible-os-6085-1 2026-07-06 15:09:02,910 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/5f27bd4a-afaf-4ebb-847c-0791c764c456 2026-07-06 15:09:02,918 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/6b60f6c9-c8a4-4805-a119-33bff897c2f9 2026-07-06 15:09:06,196 - 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 1029ms') 2026-07-06 15:09:06,196 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-69848528-12159395 failed! 2026-07-06 15:09:06,250 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-69848528:ctest-vn-68757998 is 52.90.177.65 and allocation pool is NOT set 2026-07-06 15:09:10,319 - 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=2 ttl=63 time=6.81 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1015ms\r\nrtt min/avg/max/mdev = 6.805/6.805/6.805/0.000 ms') 2026-07-06 15:09:10,319 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-69848528-12159395 passed 2026-07-06 15:09:10,465 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-06 15:09:10,466 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-69848528-12159395, IP 52.90.177.67, Port 22 2026-07-06 15:09:10,639 - DEBUG - VM ctest-TestBasicPolicy-69848528-12159395 is ready for SSH connections 2026-07-06 15:09:10,639 - INFO - Waiting for VM ctest-TestBasicPolicy-69848528-67148586 to be up.. 2026-07-06 15:09:10,707 - DEBUG - VM is in ACTIVE state now 2026-07-06 15:09:10,707 - INFO - VM name : ctest-TestBasicPolicy-69848528-67148586 2026-07-06 15:09:10,775 - DEBUG - VM ctest-TestBasicPolicy-69848528-67148586 ID is 2383d85e-b6e9-44f8-aab2-936a403a73dc 2026-07-06 15:09:10,776 - DEBUG - VM ctest-TestBasicPolicy-69848528-67148586 launched on Node cn-jenkins-deploy-platform-ansible-os-6085-1 2026-07-06 15:09:10,845 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/2383d85e-b6e9-44f8-aab2-936a403a73dc 2026-07-06 15:09:10,853 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/a0f78bdb-15c0-408c-83ad-a6e0aad4b91e 2026-07-06 15:09:12,089 - 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.42 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.837 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.837/2.127/3.418/1.290 ms') 2026-07-06 15:09:12,089 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-69848528-67148586 passed 2026-07-06 15:09:12,237 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-06 15:09:12,237 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-69848528-67148586, IP 13.103.125.3, Port 22 2026-07-06 15:09:12,393 - DEBUG - VM ctest-TestBasicPolicy-69848528-67148586 is ready for SSH connections 2026-07-06 15:09:12,393 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-06 15:09:12,393 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 13.103.125.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-07-06 15:09:12,393 - DEBUG - ping -s 56 -c 3 -W 1 13.103.125.3 2026-07-06 15:09:16,378 - DEBUG - PING 13.103.125.3 (13.103.125.3): 56 data bytes 64 bytes from 13.103.125.3: seq=0 ttl=63 time=4.134 ms 64 bytes from 13.103.125.3: seq=1 ttl=63 time=0.902 ms 64 bytes from 13.103.125.3: seq=2 ttl=63 time=1.350 ms --- 13.103.125.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.902/2.128/4.134 ms 2026-07-06 15:09:16,378 - INFO - Ping to IP 13.103.125.3 from VM ctest-TestBasicPolicy-69848528-12159395 passed 2026-07-06 15:09:16,553 - DEBUG - Policy Update Response {"network-policy": {"uuid": "71916347-d13c-47b9-b2f0-6d8775204a8d", "href": "http://10.0.0.249:8082/network-policy/71916347-d13c-47b9-b2f0-6d8775204a8d"}} 2026-07-06 15:09:16,553 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-06 15:09:16,553 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 13.103.125.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-07-06 15:09:16,553 - DEBUG - ping -s 56 -c 3 -W 1 13.103.125.3 2026-07-06 15:09:19,674 - DEBUG - PING 13.103.125.3 (13.103.125.3): 56 data bytes --- 13.103.125.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-07-06 15:09:19,674 - WARNING - Ping to IP 13.103.125.3 from VM ctest-TestBasicPolicy-69848528-12159395 failed 2026-07-06 15:09:19,674 - INFO - Deleting VM ctest-TestBasicPolicy-69848528-67148586 2026-07-06 15:09:19,750 - INFO - Deleting VM ctest-TestBasicPolicy-69848528-12159395 2026-07-06 15:09:20,118 - INFO - Deleted policy ctest-policy-allow-all-05479549 2026-07-06 15:09:20,118 - INFO - Deleting VN ctest-vn-05574248 2026-07-06 15:09:20,149 - DEBUG - VN 2933c6f2-d9f8-40f2-aba6-46caf99c690f still in use: Unable to complete operation on network 2933c6f2-d9f8-40f2-aba6-46caf99c690f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c247ff40-5762-4e59-a96f-220df6771e00'] 2026-07-06 15:09:20,149 - WARNING - Deleting VN ctest-vn-05574248 failed..Will retry 2026-07-06 15:09:22,257 - DEBUG - Response for deleting network () 2026-07-06 15:09:22,257 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/cba3bc3e-79d3-4a35-ac30-66b3a85efa5b 2026-07-06 15:09:22,262 - DEBUG - Response Code: 404 2026-07-06 15:09:22,262 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-07-06 15:09:22,270 - DEBUG - Requesting: http://10.0.0.249:8082/domain/0264fbcd-f957-4e90-9c9d-245a715bbdc1 2026-07-06 15:09:22,322 - DEBUG - Requesting: http://10.0.0.249:8082/project/54ff94bc-9d2b-433e-a3f2-58337a17f89b 2026-07-06 15:09:22,388 - INFO - Validated that VN ctest-vn-05574248 is not found in API Server 2026-07-06 15:09:22,396 - DEBUG - VN ctest-vn-05574248 is not present in Agent 10.0.0.249 2026-07-06 15:09:22,396 - INFO - Validated that VN ctest-vn-05574248 is not in any agent 2026-07-06 15:09:22,411 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-05574248 info 2026-07-06 15:09:22,411 - INFO - Deleting VN ctest-vn-68757998 2026-07-06 15:09:22,506 - DEBUG - Response for deleting network () 2026-07-06 15:09:22,506 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/76efe671-d7d3-4223-8bdd-9e09bfba7c8d 2026-07-06 15:09:22,512 - DEBUG - Response Code: 404 2026-07-06 15:09:22,512 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-07-06 15:09:22,517 - DEBUG - Requesting: http://10.0.0.249:8082/domain/0264fbcd-f957-4e90-9c9d-245a715bbdc1 2026-07-06 15:09:22,574 - DEBUG - Requesting: http://10.0.0.249:8082/project/54ff94bc-9d2b-433e-a3f2-58337a17f89b 2026-07-06 15:09:22,643 - INFO - Validated that VN ctest-vn-68757998 is not found in API Server 2026-07-06 15:09:22,651 - DEBUG - VN ctest-vn-68757998 is not present in Agent 10.0.0.249 2026-07-06 15:09:22,651 - INFO - Validated that VN ctest-vn-68757998 is not in any agent 2026-07-06 15:09:22,664 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-68757998 info 2026-07-06 15:09:22,933 - DEBUG - No XMPP flaps were noticed during the test
2026-07-06 15:09:22,933 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:34]
2026-07-06 15:09:22,933 - INFO - -------------------------------------------------------------------------------- 2026-07-06 15:09:23,622 - INFO - Deleted project: ctest-TestBasicPolicy-69848528, ID : 54ff94bc-9d2b-433e-a3f2-58337a17f89b