2026-01-12 21:48:01,932 - INFO - Domain Default found not creating 2026-01-12 21:48:02,088 - INFO - Project ctest-TestBasicPolicy-24966110 not found, creating it 2026-01-12 21:48:02,535 - INFO - Created Project:ctest-TestBasicPolicy-24966110, ID : eed37a64-9331-4dea-b58d-7ff2d17dff2e 2026-01-12 21:48:03,944 - INFO - ================================================================================ 2026-01-12 21:48:03,944 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-01-12 21:48:03,944 - 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-12 21:48:04,192 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with 2026-01-12 21:48:04,192 - INFO - Initial checks done. Running the testcase now 2026-01-12 21:48:04,193 - INFO - 2026-01-12 21:48:04,709 - DEBUG - Response for create_network : {'network': {'id': '13851f6e-a5a4-4b13-8280-443a95ad96d8', 'name': 'ctest-vn-98628295', 'tenant_id': 'eed37a6493314deab58d7ff2d17dff2e', 'project_id': 'eed37a6493314deab58d7ff2d17dff2e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-24966110', 'ctest-vn-98628295'], 'port_security_enabled': True, 'description': ''}} 2026-01-12 21:48:04,882 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c1b71470-5913-4914-8651-9a85a565c4f6', 'name': '', 'tenant_id': 'eed37a6493314deab58d7ff2d17dff2e', 'network_id': '13851f6e-a5a4-4b13-8280-443a95ad96d8', 'ip_version': 4, 'cidr': '198.239.170.0/26', 'allocation_pools': [{'start': '198.239.170.2', 'end': '198.239.170.62'}], 'gateway_ip': '198.239.170.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '198.239.170.2', 'tags': [], 'project_id': 'eed37a6493314deab58d7ff2d17dff2e'}} 2026-01-12 21:48:04,899 - INFO - Created VN ctest-vn-98628295 2026-01-12 21:48:04,952 - DEBUG - VN ctest-vn-98628295 UUID is 13851f6e-a5a4-4b13-8280-443a95ad96d8 2026-01-12 21:48:05,279 - DEBUG - Response for create_network : {'network': {'id': '99695d67-7905-458e-92f8-1990e93535b7', 'name': 'ctest-vn-14254926', 'tenant_id': 'eed37a6493314deab58d7ff2d17dff2e', 'project_id': 'eed37a6493314deab58d7ff2d17dff2e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-24966110', 'ctest-vn-14254926'], 'port_security_enabled': True, 'description': ''}} 2026-01-12 21:48:05,469 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a7e6aa3d-a352-4072-997e-414a3b11cf4d', 'name': '', 'tenant_id': 'eed37a6493314deab58d7ff2d17dff2e', 'network_id': '99695d67-7905-458e-92f8-1990e93535b7', 'ip_version': 4, 'cidr': '99.236.112.0/26', 'allocation_pools': [{'start': '99.236.112.2', 'end': '99.236.112.62'}], 'gateway_ip': '99.236.112.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '99.236.112.2', 'tags': [], 'project_id': 'eed37a6493314deab58d7ff2d17dff2e'}} 2026-01-12 21:48:05,484 - INFO - Created VN ctest-vn-14254926 2026-01-12 21:48:05,540 - DEBUG - VN ctest-vn-14254926 UUID is 99695d67-7905-458e-92f8-1990e93535b7 2026-01-12 21:48:05,688 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-24966110:ctest-vn-98628295, 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-24966110:ctest-vn-14254926, 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-12 21:48:05,971 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '13851f6e-a5a4-4b13-8280-443a95ad96d8', 'name': 'ctest-vn-98628295', 'tenant_id': 'eed37a6493314deab58d7ff2d17dff2e', 'project_id': 'eed37a6493314deab58d7ff2d17dff2e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c1b71470-5913-4914-8651-9a85a565c4f6'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-24966110', 'ctest-vn-98628295'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-24966110', 'ctest-policy-allow-all-63268265']], 'subnet_ipam': [{'subnet_cidr': '198.239.170.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-12 21:48:06,228 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '99695d67-7905-458e-92f8-1990e93535b7', 'name': 'ctest-vn-14254926', 'tenant_id': 'eed37a6493314deab58d7ff2d17dff2e', 'project_id': 'eed37a6493314deab58d7ff2d17dff2e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a7e6aa3d-a352-4072-997e-414a3b11cf4d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-24966110', 'ctest-vn-14254926'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-24966110', 'ctest-policy-allow-all-63268265']], 'subnet_ipam': [{'subnet_cidr': '99.236.112.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-12 21:48:06,368 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-01-12 21:48:06,664 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-01-12 21:48:06,692 - DEBUG - Requesting: http://10.0.0.22:8082/domain/f22e4bd6-30fd-498d-a646-778d9b935598 2026-01-12 21:48:06,702 - DEBUG - Requesting: http://10.0.0.22:8082/project/eed37a64-9331-4dea-b58d-7ff2d17dff2e 2026-01-12 21:48:06,770 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/13851f6e-a5a4-4b13-8280-443a95ad96d8 2026-01-12 21:48:06,780 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/13851f6e-a5a4-4b13-8280-443a95ad96d8 2026-01-12 21:48:06,789 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/285636c6-40c9-4ba1-9d96-171b986e8916 2026-01-12 21:48:06,795 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/285636c6-40c9-4ba1-9d96-171b986e8916 2026-01-12 21:48:06,800 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/d4b147f1-434e-4e3a-b5d1-a0e341d2dc09 2026-01-12 21:48:06,805 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-12 21:48:06,806 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/13851f6e-a5a4-4b13-8280-443a95ad96d8 2026-01-12 21:48:06,813 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/285636c6-40c9-4ba1-9d96-171b986e8916 2026-01-12 21:48:06,826 - INFO - Verified VN network id 12 for VN 13851f6e-a5a4-4b13-8280-443a95ad96d8 2026-01-12 21:48:06,826 - INFO - Verifications in API Server for VN ctest-vn-98628295 passed 2026-01-12 21:48:06,826 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/13851f6e-a5a4-4b13-8280-443a95ad96d8 2026-01-12 21:48:06,834 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/285636c6-40c9-4ba1-9d96-171b986e8916 2026-01-12 21:48:06,839 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/285636c6-40c9-4ba1-9d96-171b986e8916 2026-01-12 21:48:06,845 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/d4b147f1-434e-4e3a-b5d1-a0e341d2dc09 2026-01-12 21:48:06,855 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-24966110:ctest-vn-98628295', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-24966110', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1406565018709019411', 'uuid-lslong': '9403591040359569112'}, 'enable': 'true', 'created': '2026-01-12T21:48:04', 'last-modified': '2026-01-12T21:48:05', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.904577'} 2026-01-12 21:48:06,860 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-12 21:48:06,860 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-98628295 passed 2026-01-12 21:48:06,860 - DEBUG - ====Verifying policy data for ctest-vn-98628295 in API_Server ====== 2026-01-12 21:48:06,860 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-01-12 21:48:06,864 - DEBUG - Requesting: http://10.0.0.22:8082/domain/f22e4bd6-30fd-498d-a646-778d9b935598 2026-01-12 21:48:06,874 - DEBUG - Requesting: http://10.0.0.22:8082/project/eed37a64-9331-4dea-b58d-7ff2d17dff2e 2026-01-12 21:48:06,938 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/13851f6e-a5a4-4b13-8280-443a95ad96d8 2026-01-12 21:48:06,946 - DEBUG - ==>Verifying data for policy with id: 0635012b-73fa-4ba7-90b2-d5801c4ac09f, fqn: ['default-domain', 'ctest-TestBasicPolicy-24966110', 'ctest-policy-allow-all-63268265'] 2026-01-12 21:48:06,946 - INFO - VN ctest-vn-98628295 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-12 21:48:06,946 - DEBUG - Verifying the vn in opserver 2026-01-12 21:48:06,946 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-24966110:ctest-vn-98628295 virtual network link through opserver 10.0.0.22 2026-01-12 21:48:06,947 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-01-12 21:48:07,239 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-01-12 21:48:07,295 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-24966110:ctest-vn-98628295', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-24966110:ctest-vn-98628295?flat'} 2026-01-12 21:48:07,296 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-24966110:ctest-vn-98628295 is found in opserver 2026-01-12 21:48:07,304 - DEBUG - Do not have enough data to verify VN in agent 2026-01-12 21:48:07,308 - DEBUG - VRF ids for VN ctest-vn-98628295: {} 2026-01-12 21:48:07,308 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-01-12 21:48:07,313 - DEBUG - Requesting: http://10.0.0.22:8082/domain/f22e4bd6-30fd-498d-a646-778d9b935598 2026-01-12 21:48:07,323 - DEBUG - Requesting: http://10.0.0.22:8082/project/eed37a64-9331-4dea-b58d-7ff2d17dff2e 2026-01-12 21:48:07,393 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/99695d67-7905-458e-92f8-1990e93535b7 2026-01-12 21:48:07,404 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/99695d67-7905-458e-92f8-1990e93535b7 2026-01-12 21:48:07,412 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/a8e287be-a539-4f86-87be-c6cf57025f24 2026-01-12 21:48:07,419 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/a8e287be-a539-4f86-87be-c6cf57025f24 2026-01-12 21:48:07,426 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/438919ed-44f1-45b0-83db-aa2f64c2dd43 2026-01-12 21:48:07,432 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-12 21:48:07,432 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/99695d67-7905-458e-92f8-1990e93535b7 2026-01-12 21:48:07,440 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/a8e287be-a539-4f86-87be-c6cf57025f24 2026-01-12 21:48:07,454 - INFO - Verified VN network id 13 for VN 99695d67-7905-458e-92f8-1990e93535b7 2026-01-12 21:48:07,454 - INFO - Verifications in API Server for VN ctest-vn-14254926 passed 2026-01-12 21:48:07,454 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/99695d67-7905-458e-92f8-1990e93535b7 2026-01-12 21:48:07,463 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/a8e287be-a539-4f86-87be-c6cf57025f24 2026-01-12 21:48:07,470 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/a8e287be-a539-4f86-87be-c6cf57025f24 2026-01-12 21:48:07,476 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/438919ed-44f1-45b0-83db-aa2f64c2dd43 2026-01-12 21:48:07,485 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-24966110:ctest-vn-14254926', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-24966110', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11054469459350996366', 'uuid-lslong': '10590242633940284855'}, 'enable': 'true', 'created': '2026-01-12T21:48:05', 'last-modified': '2026-01-12T21:48:06', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.317672'} 2026-01-12 21:48:07,495 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-12 21:48:07,495 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-14254926 passed 2026-01-12 21:48:07,496 - DEBUG - ====Verifying policy data for ctest-vn-14254926 in API_Server ====== 2026-01-12 21:48:07,496 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-01-12 21:48:07,500 - DEBUG - Requesting: http://10.0.0.22:8082/domain/f22e4bd6-30fd-498d-a646-778d9b935598 2026-01-12 21:48:07,510 - DEBUG - Requesting: http://10.0.0.22:8082/project/eed37a64-9331-4dea-b58d-7ff2d17dff2e 2026-01-12 21:48:07,578 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/99695d67-7905-458e-92f8-1990e93535b7 2026-01-12 21:48:07,586 - DEBUG - ==>Verifying data for policy with id: 0635012b-73fa-4ba7-90b2-d5801c4ac09f, fqn: ['default-domain', 'ctest-TestBasicPolicy-24966110', 'ctest-policy-allow-all-63268265'] 2026-01-12 21:48:07,586 - INFO - VN ctest-vn-14254926 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-12 21:48:07,586 - DEBUG - Verifying the vn in opserver 2026-01-12 21:48:07,586 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-24966110:ctest-vn-14254926 virtual network link through opserver 10.0.0.22 2026-01-12 21:48:07,586 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-01-12 21:48:07,597 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-24966110:ctest-vn-14254926', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-24966110:ctest-vn-14254926?flat'} 2026-01-12 21:48:07,597 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-24966110:ctest-vn-14254926 is found in opserver 2026-01-12 21:48:07,621 - DEBUG - Do not have enough data to verify VN in agent 2026-01-12 21:48:07,633 - DEBUG - VRF ids for VN ctest-vn-14254926: {} 2026-01-12 21:48:07,687 - DEBUG - Services list from nova: [, , ] 2026-01-12 21:48:08,685 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4998-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4998-1) 2026-01-12 21:48:09,756 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4998-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4998-1) 2026-01-12 21:48:09,757 - INFO - Waiting for VM ctest-TestBasicPolicy-24966110-58942273 to be up.. 2026-01-12 21:48:09,823 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-12 21:48:14,890 - DEBUG - VM is in ACTIVE state now 2026-01-12 21:48:14,891 - INFO - VM name : ctest-TestBasicPolicy-24966110-58942273 2026-01-12 21:48:14,956 - DEBUG - VM ctest-TestBasicPolicy-24966110-58942273 ID is 7b0334ea-aaf8-425b-ac21-3aefb3357e66 2026-01-12 21:48:14,974 - DEBUG - VM ctest-TestBasicPolicy-24966110-58942273 launched on Node cn-jenkins-deploy-platform-ansible-os-4998-1 2026-01-12 21:48:15,040 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/7b0334ea-aaf8-425b-ac21-3aefb3357e66 2026-01-12 21:48:15,047 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/4a63b9fe-033d-439d-a631-d4d25057a775 2026-01-12 21:48:18,295 - 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 1019ms') 2026-01-12 21:48:18,295 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-24966110-58942273 failed! 2026-01-12 21:48:18,348 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-24966110:ctest-vn-98628295 is 198.239.170.1 and allocation pool is NOT set 2026-01-12 21:48:20,405 - 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.23 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.46 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 1.459/4.846/8.233/3.387 ms') 2026-01-12 21:48:20,405 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-24966110-58942273 passed 2026-01-12 21:48:20,560 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-12 21:48:20,560 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-24966110-58942273, IP 198.239.170.3, Port 22 2026-01-12 21:48:20,719 - DEBUG - VM ctest-TestBasicPolicy-24966110-58942273 is ready for SSH connections 2026-01-12 21:48:20,719 - INFO - Waiting for VM ctest-TestBasicPolicy-24966110-44253348 to be up.. 2026-01-12 21:48:20,791 - DEBUG - VM is in ACTIVE state now 2026-01-12 21:48:20,791 - INFO - VM name : ctest-TestBasicPolicy-24966110-44253348 2026-01-12 21:48:20,871 - DEBUG - VM ctest-TestBasicPolicy-24966110-44253348 ID is a090d9ff-0a41-4a6d-834c-02d90edd71b2 2026-01-12 21:48:20,871 - DEBUG - VM ctest-TestBasicPolicy-24966110-44253348 launched on Node cn-jenkins-deploy-platform-ansible-os-4998-1 2026-01-12 21:48:20,941 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/a090d9ff-0a41-4a6d-834c-02d90edd71b2 2026-01-12 21:48:20,949 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/aaa466d1-ccde-4bcf-a8db-c15cae5d458c 2026-01-12 21:48:22,189 - 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.29 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.554 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.554/1.920/3.287/1.366 ms') 2026-01-12 21:48:22,189 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-24966110-44253348 passed 2026-01-12 21:48:22,340 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-12 21:48:22,340 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-24966110-44253348, IP 99.236.112.3, Port 22 2026-01-12 21:48:22,495 - DEBUG - VM ctest-TestBasicPolicy-24966110-44253348 is ready for SSH connections 2026-01-12 21:48:22,495 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-12 21:48:22,495 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 99.236.112.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-01-12 21:48:22,496 - DEBUG - ping -s 56 -c 3 -W 1 99.236.112.3 2026-01-12 21:48:26,209 - DEBUG - PING 99.236.112.3 (99.236.112.3): 56 data bytes 64 bytes from 99.236.112.3: seq=0 ttl=63 time=3.238 ms 64 bytes from 99.236.112.3: seq=1 ttl=63 time=0.798 ms 64 bytes from 99.236.112.3: seq=2 ttl=63 time=1.023 ms --- 99.236.112.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.798/1.686/3.238 ms 2026-01-12 21:48:26,209 - INFO - Ping to IP 99.236.112.3 from VM ctest-TestBasicPolicy-24966110-58942273 passed 2026-01-12 21:48:26,376 - DEBUG - Policy Update Response {"network-policy": {"uuid": "0635012b-73fa-4ba7-90b2-d5801c4ac09f", "href": "http://10.0.0.22:8082/network-policy/0635012b-73fa-4ba7-90b2-d5801c4ac09f"}} 2026-01-12 21:48:26,376 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-12 21:48:26,376 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 99.236.112.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-01-12 21:48:26,376 - DEBUG - ping -s 56 -c 3 -W 1 99.236.112.3 2026-01-12 21:48:29,579 - DEBUG - PING 99.236.112.3 (99.236.112.3): 56 data bytes --- 99.236.112.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-01-12 21:48:29,579 - WARNING - Ping to IP 99.236.112.3 from VM ctest-TestBasicPolicy-24966110-58942273 failed 2026-01-12 21:48:29,579 - INFO - Deleting VM ctest-TestBasicPolicy-24966110-44253348 2026-01-12 21:48:29,641 - INFO - Deleting VM ctest-TestBasicPolicy-24966110-58942273 2026-01-12 21:48:29,974 - INFO - Deleted policy ctest-policy-allow-all-63268265 2026-01-12 21:48:29,974 - INFO - Deleting VN ctest-vn-14254926 2026-01-12 21:48:30,003 - DEBUG - VN 99695d67-7905-458e-92f8-1990e93535b7 still in use: Unable to complete operation on network 99695d67-7905-458e-92f8-1990e93535b7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6c46fbf4-6f6c-42e8-8104-c82798987e6a'] 2026-01-12 21:48:30,003 - WARNING - Deleting VN ctest-vn-14254926 failed..Will retry 2026-01-12 21:48:32,097 - DEBUG - Response for deleting network () 2026-01-12 21:48:32,097 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/a8e287be-a539-4f86-87be-c6cf57025f24 2026-01-12 21:48:32,102 - DEBUG - Response Code: 404 2026-01-12 21:48:32,102 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-01-12 21:48:32,106 - DEBUG - Requesting: http://10.0.0.22:8082/domain/f22e4bd6-30fd-498d-a646-778d9b935598 2026-01-12 21:48:32,157 - DEBUG - Requesting: http://10.0.0.22:8082/project/eed37a64-9331-4dea-b58d-7ff2d17dff2e 2026-01-12 21:48:32,225 - INFO - Validated that VN ctest-vn-14254926 is not found in API Server 2026-01-12 21:48:32,233 - DEBUG - VN ctest-vn-14254926 is not present in Agent 10.0.0.22 2026-01-12 21:48:32,233 - INFO - Validated that VN ctest-vn-14254926 is not in any agent 2026-01-12 21:48:32,246 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-14254926 info 2026-01-12 21:48:32,246 - INFO - Deleting VN ctest-vn-98628295 2026-01-12 21:48:32,335 - DEBUG - Response for deleting network () 2026-01-12 21:48:32,335 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/285636c6-40c9-4ba1-9d96-171b986e8916 2026-01-12 21:48:32,340 - DEBUG - Response Code: 404 2026-01-12 21:48:32,340 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-01-12 21:48:32,345 - DEBUG - Requesting: http://10.0.0.22:8082/domain/f22e4bd6-30fd-498d-a646-778d9b935598 2026-01-12 21:48:32,397 - DEBUG - Requesting: http://10.0.0.22:8082/project/eed37a64-9331-4dea-b58d-7ff2d17dff2e 2026-01-12 21:48:32,464 - INFO - Validated that VN ctest-vn-98628295 is not found in API Server 2026-01-12 21:48:32,472 - DEBUG - VN ctest-vn-98628295 is not present in Agent 10.0.0.22 2026-01-12 21:48:32,472 - INFO - Validated that VN ctest-vn-98628295 is not in any agent 2026-01-12 21:48:32,487 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-98628295 info 2026-01-12 21:48:32,744 - DEBUG - No XMPP flaps were noticed during the test
2026-01-12 21:48:32,744 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2026-01-12 21:48:32,744 - INFO - -------------------------------------------------------------------------------- 2026-01-12 21:48:33,395 - INFO - Deleted project: ctest-TestBasicPolicy-24966110, ID : eed37a64-9331-4dea-b58d-7ff2d17dff2e