2026-01-07 12:14:19,501 - INFO - Domain Default found not creating 2026-01-07 12:14:19,666 - INFO - Project ctest-TestBasicPolicy-48795543 not found, creating it 2026-01-07 12:14:20,115 - INFO - Created Project:ctest-TestBasicPolicy-48795543, ID : 2f97fe84-fd26-48d2-bcb0-d24201dce602 2026-01-07 12:14:21,572 - INFO - ================================================================================ 2026-01-07 12:14:21,572 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-01-07 12:14:21,572 - 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 12:14:21,824 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-01-07 12:14:21,824 - INFO - Initial checks done. Running the testcase now 2026-01-07 12:14:21,824 - INFO - 2026-01-07 12:14:22,344 - DEBUG - Response for create_network : {'network': {'id': 'cc48652e-4040-4860-b6ed-4c305d03cc39', 'name': 'ctest-vn-77224165', 'tenant_id': '2f97fe84fd2648d2bcb0d24201dce602', 'project_id': '2f97fe84fd2648d2bcb0d24201dce602', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48795543', 'ctest-vn-77224165'], 'port_security_enabled': True, 'description': ''}} 2026-01-07 12:14:22,504 - DEBUG - Response for create_subnet : {'subnet': {'id': '4070770b-5dbe-4dd5-bf8e-f3301a9f5827', 'name': '', 'tenant_id': '2f97fe84fd2648d2bcb0d24201dce602', 'network_id': 'cc48652e-4040-4860-b6ed-4c305d03cc39', 'ip_version': 4, 'cidr': '60.179.203.192/26', 'allocation_pools': [{'start': '60.179.203.194', 'end': '60.179.203.254'}], 'gateway_ip': '60.179.203.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '60.179.203.194', 'tags': [], 'project_id': '2f97fe84fd2648d2bcb0d24201dce602'}} 2026-01-07 12:14:22,520 - INFO - Created VN ctest-vn-77224165 2026-01-07 12:14:22,571 - DEBUG - VN ctest-vn-77224165 UUID is cc48652e-4040-4860-b6ed-4c305d03cc39 2026-01-07 12:14:22,895 - DEBUG - Response for create_network : {'network': {'id': '45747527-dc01-4e44-ac6d-81be52f44b96', 'name': 'ctest-vn-61137026', 'tenant_id': '2f97fe84fd2648d2bcb0d24201dce602', 'project_id': '2f97fe84fd2648d2bcb0d24201dce602', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48795543', 'ctest-vn-61137026'], 'port_security_enabled': True, 'description': ''}} 2026-01-07 12:14:23,080 - DEBUG - Response for create_subnet : {'subnet': {'id': '6f1c0252-9210-46a7-8a82-89538c13c244', 'name': '', 'tenant_id': '2f97fe84fd2648d2bcb0d24201dce602', 'network_id': '45747527-dc01-4e44-ac6d-81be52f44b96', 'ip_version': 4, 'cidr': '87.213.16.0/26', 'allocation_pools': [{'start': '87.213.16.2', 'end': '87.213.16.62'}], 'gateway_ip': '87.213.16.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '87.213.16.2', 'tags': [], 'project_id': '2f97fe84fd2648d2bcb0d24201dce602'}} 2026-01-07 12:14:23,096 - INFO - Created VN ctest-vn-61137026 2026-01-07 12:14:23,147 - DEBUG - VN ctest-vn-61137026 UUID is 45747527-dc01-4e44-ac6d-81be52f44b96 2026-01-07 12:14:23,291 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-48795543:ctest-vn-77224165, 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-48795543:ctest-vn-61137026, 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 12:14:23,578 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'cc48652e-4040-4860-b6ed-4c305d03cc39', 'name': 'ctest-vn-77224165', 'tenant_id': '2f97fe84fd2648d2bcb0d24201dce602', 'project_id': '2f97fe84fd2648d2bcb0d24201dce602', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4070770b-5dbe-4dd5-bf8e-f3301a9f5827'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48795543', 'ctest-vn-77224165'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-48795543', 'ctest-policy-allow-all-86661492']], 'subnet_ipam': [{'subnet_cidr': '60.179.203.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-07 12:14:23,798 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '45747527-dc01-4e44-ac6d-81be52f44b96', 'name': 'ctest-vn-61137026', 'tenant_id': '2f97fe84fd2648d2bcb0d24201dce602', 'project_id': '2f97fe84fd2648d2bcb0d24201dce602', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6f1c0252-9210-46a7-8a82-89538c13c244'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48795543', 'ctest-vn-61137026'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-48795543', 'ctest-policy-allow-all-86661492']], 'subnet_ipam': [{'subnet_cidr': '87.213.16.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-07 12:14:23,959 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-07 12:14:24,257 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-07 12:14:24,288 - DEBUG - Requesting: http://10.0.0.38:8082/domain/9f1e2f63-88ab-45d1-87b2-9e1b3ab5b66e 2026-01-07 12:14:24,301 - DEBUG - Requesting: http://10.0.0.38:8082/project/2f97fe84-fd26-48d2-bcb0-d24201dce602 2026-01-07 12:14:24,373 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/cc48652e-4040-4860-b6ed-4c305d03cc39 2026-01-07 12:14:24,384 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/cc48652e-4040-4860-b6ed-4c305d03cc39 2026-01-07 12:14:24,393 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f3439300-4657-4f87-bd48-f52d29eb7ff0 2026-01-07 12:14:24,399 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f3439300-4657-4f87-bd48-f52d29eb7ff0 2026-01-07 12:14:24,405 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/b94fae7f-2c49-45c0-9a5b-e83a500e76bb 2026-01-07 12:14:24,410 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-07 12:14:24,410 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/cc48652e-4040-4860-b6ed-4c305d03cc39 2026-01-07 12:14:24,418 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f3439300-4657-4f87-bd48-f52d29eb7ff0 2026-01-07 12:14:24,431 - INFO - Verified VN network id 11 for VN cc48652e-4040-4860-b6ed-4c305d03cc39 2026-01-07 12:14:24,431 - INFO - Verifications in API Server for VN ctest-vn-77224165 passed 2026-01-07 12:14:24,431 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/cc48652e-4040-4860-b6ed-4c305d03cc39 2026-01-07 12:14:24,439 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f3439300-4657-4f87-bd48-f52d29eb7ff0 2026-01-07 12:14:24,445 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f3439300-4657-4f87-bd48-f52d29eb7ff0 2026-01-07 12:14:24,451 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/b94fae7f-2c49-45c0-9a5b-e83a500e76bb 2026-01-07 12:14:24,462 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-48795543:ctest-vn-77224165', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-48795543', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14720126631381321824', 'uuid-lslong': '13181275454985980985'}, 'enable': 'true', 'created': '2026-01-07T12:14:22', 'last-modified': '2026-01-07T12:14:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.911362'} 2026-01-07 12:14:24,469 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-07 12:14:24,469 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-77224165 passed 2026-01-07 12:14:24,469 - DEBUG - ====Verifying policy data for ctest-vn-77224165 in API_Server ====== 2026-01-07 12:14:24,469 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-07 12:14:24,474 - DEBUG - Requesting: http://10.0.0.38:8082/domain/9f1e2f63-88ab-45d1-87b2-9e1b3ab5b66e 2026-01-07 12:14:24,484 - DEBUG - Requesting: http://10.0.0.38:8082/project/2f97fe84-fd26-48d2-bcb0-d24201dce602 2026-01-07 12:14:24,552 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/cc48652e-4040-4860-b6ed-4c305d03cc39 2026-01-07 12:14:24,560 - DEBUG - ==>Verifying data for policy with id: bb4df0ee-ea25-4a36-91a8-3b2f35237a29, fqn: ['default-domain', 'ctest-TestBasicPolicy-48795543', 'ctest-policy-allow-all-86661492'] 2026-01-07 12:14:24,560 - INFO - VN ctest-vn-77224165 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-07 12:14:24,560 - DEBUG - Verifying the vn in opserver 2026-01-07 12:14:24,560 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-48795543:ctest-vn-77224165 virtual network link through opserver 10.0.0.38 2026-01-07 12:14:24,560 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-01-07 12:14:24,854 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-01-07 12:14:24,910 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-48795543:ctest-vn-77224165', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-48795543:ctest-vn-77224165?flat'} 2026-01-07 12:14:24,910 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-48795543:ctest-vn-77224165 is found in opserver 2026-01-07 12:14:24,919 - DEBUG - Do not have enough data to verify VN in agent 2026-01-07 12:14:24,923 - DEBUG - VRF ids for VN ctest-vn-77224165: {} 2026-01-07 12:14:24,923 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-07 12:14:24,927 - DEBUG - Requesting: http://10.0.0.38:8082/domain/9f1e2f63-88ab-45d1-87b2-9e1b3ab5b66e 2026-01-07 12:14:24,937 - DEBUG - Requesting: http://10.0.0.38:8082/project/2f97fe84-fd26-48d2-bcb0-d24201dce602 2026-01-07 12:14:25,006 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/45747527-dc01-4e44-ac6d-81be52f44b96 2026-01-07 12:14:25,016 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/45747527-dc01-4e44-ac6d-81be52f44b96 2026-01-07 12:14:25,024 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b3286cc0-ac35-4125-95da-5003ee7cec2c 2026-01-07 12:14:25,031 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b3286cc0-ac35-4125-95da-5003ee7cec2c 2026-01-07 12:14:25,037 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/ed4f7b1e-04fb-40f5-90ec-178b1b45f424 2026-01-07 12:14:25,043 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-07 12:14:25,043 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/45747527-dc01-4e44-ac6d-81be52f44b96 2026-01-07 12:14:25,052 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b3286cc0-ac35-4125-95da-5003ee7cec2c 2026-01-07 12:14:25,066 - INFO - Verified VN network id 12 for VN 45747527-dc01-4e44-ac6d-81be52f44b96 2026-01-07 12:14:25,066 - INFO - Verifications in API Server for VN ctest-vn-61137026 passed 2026-01-07 12:14:25,066 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/45747527-dc01-4e44-ac6d-81be52f44b96 2026-01-07 12:14:25,074 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b3286cc0-ac35-4125-95da-5003ee7cec2c 2026-01-07 12:14:25,081 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b3286cc0-ac35-4125-95da-5003ee7cec2c 2026-01-07 12:14:25,088 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/ed4f7b1e-04fb-40f5-90ec-178b1b45f424 2026-01-07 12:14:25,100 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-48795543:ctest-vn-61137026', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-48795543', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5004753899970711108', 'uuid-lslong': '12424729601420577686'}, 'enable': 'true', 'created': '2026-01-07T12:14:22', 'last-modified': '2026-01-07T12:14:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.324739'} 2026-01-07 12:14:25,106 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-07 12:14:25,106 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-61137026 passed 2026-01-07 12:14:25,107 - DEBUG - ====Verifying policy data for ctest-vn-61137026 in API_Server ====== 2026-01-07 12:14:25,107 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-07 12:14:25,112 - DEBUG - Requesting: http://10.0.0.38:8082/domain/9f1e2f63-88ab-45d1-87b2-9e1b3ab5b66e 2026-01-07 12:14:25,122 - DEBUG - Requesting: http://10.0.0.38:8082/project/2f97fe84-fd26-48d2-bcb0-d24201dce602 2026-01-07 12:14:25,195 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/45747527-dc01-4e44-ac6d-81be52f44b96 2026-01-07 12:14:25,204 - DEBUG - ==>Verifying data for policy with id: bb4df0ee-ea25-4a36-91a8-3b2f35237a29, fqn: ['default-domain', 'ctest-TestBasicPolicy-48795543', 'ctest-policy-allow-all-86661492'] 2026-01-07 12:14:25,204 - INFO - VN ctest-vn-61137026 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-07 12:14:25,204 - DEBUG - Verifying the vn in opserver 2026-01-07 12:14:25,204 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-48795543:ctest-vn-61137026 virtual network link through opserver 10.0.0.38 2026-01-07 12:14:25,204 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-01-07 12:14:25,213 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-48795543:ctest-vn-61137026', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-48795543:ctest-vn-61137026?flat'} 2026-01-07 12:14:25,213 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-48795543:ctest-vn-61137026 is found in opserver 2026-01-07 12:14:25,224 - DEBUG - Do not have enough data to verify VN in agent 2026-01-07 12:14:25,228 - DEBUG - VRF ids for VN ctest-vn-61137026: {} 2026-01-07 12:14:25,280 - DEBUG - Services list from nova: [, , ] 2026-01-07 12:14:26,273 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4972-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4972-1) 2026-01-07 12:14:27,405 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4972-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4972-1) 2026-01-07 12:14:27,405 - INFO - Waiting for VM ctest-TestBasicPolicy-48795543-65563082 to be up.. 2026-01-07 12:14:27,565 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-07 12:14:32,637 - DEBUG - VM is in ACTIVE state now 2026-01-07 12:14:32,637 - INFO - VM name : ctest-TestBasicPolicy-48795543-65563082 2026-01-07 12:14:32,710 - DEBUG - VM ctest-TestBasicPolicy-48795543-65563082 ID is 9cdbe229-86b7-4903-ad2d-723c174d85be 2026-01-07 12:14:32,727 - DEBUG - VM ctest-TestBasicPolicy-48795543-65563082 launched on Node cn-jenkins-deploy-platform-ansible-os-4972-1 2026-01-07 12:14:32,799 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/9cdbe229-86b7-4903-ad2d-723c174d85be 2026-01-07 12:14:32,808 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/3810d2ec-53db-4dec-8af3-ae61ef48a779 2026-01-07 12:14:36,044 - 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-01-07 12:14:36,045 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-48795543-65563082 failed! 2026-01-07 12:14:36,099 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-48795543:ctest-vn-77224165 is 60.179.203.193 and allocation pool is NOT set 2026-01-07 12:14:38,155 - 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=2.82 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.557 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.557/1.689/2.821/1.132 ms') 2026-01-07 12:14:38,156 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-48795543-65563082 passed 2026-01-07 12:14:38,303 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-07 12:14:38,304 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-48795543-65563082, IP 60.179.203.195, Port 22 2026-01-07 12:14:38,458 - DEBUG - VM ctest-TestBasicPolicy-48795543-65563082 is ready for SSH connections 2026-01-07 12:14:38,459 - INFO - Waiting for VM ctest-TestBasicPolicy-48795543-47487248 to be up.. 2026-01-07 12:14:38,530 - DEBUG - VM is in ACTIVE state now 2026-01-07 12:14:38,530 - INFO - VM name : ctest-TestBasicPolicy-48795543-47487248 2026-01-07 12:14:38,598 - DEBUG - VM ctest-TestBasicPolicy-48795543-47487248 ID is 10c93425-5ae0-4799-a8a8-da7cfcf38619 2026-01-07 12:14:38,598 - DEBUG - VM ctest-TestBasicPolicy-48795543-47487248 launched on Node cn-jenkins-deploy-platform-ansible-os-4972-1 2026-01-07 12:14:38,666 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/10c93425-5ae0-4799-a8a8-da7cfcf38619 2026-01-07 12:14:38,677 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/16f199db-cc76-4a3a-8fdc-12d5f5f06435 2026-01-07 12:14:39,917 - 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.91 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.451 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.451/1.680/2.909/1.229 ms') 2026-01-07 12:14:39,917 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-48795543-47487248 passed 2026-01-07 12:14:40,064 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-07 12:14:40,064 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-48795543-47487248, IP 87.213.16.3, Port 22 2026-01-07 12:14:40,219 - DEBUG - VM ctest-TestBasicPolicy-48795543-47487248 is ready for SSH connections 2026-01-07 12:14:40,219 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-07 12:14:40,219 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 87.213.16.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-01-07 12:14:40,219 - DEBUG - ping -s 56 -c 3 -W 1 87.213.16.3 2026-01-07 12:14:43,932 - DEBUG - PING 87.213.16.3 (87.213.16.3): 56 data bytes 64 bytes from 87.213.16.3: seq=0 ttl=63 time=4.036 ms 64 bytes from 87.213.16.3: seq=1 ttl=63 time=0.753 ms 64 bytes from 87.213.16.3: seq=2 ttl=63 time=0.978 ms --- 87.213.16.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.753/1.922/4.036 ms 2026-01-07 12:14:43,932 - INFO - Ping to IP 87.213.16.3 from VM ctest-TestBasicPolicy-48795543-65563082 passed 2026-01-07 12:14:44,107 - DEBUG - Policy Update Response {"network-policy": {"uuid": "bb4df0ee-ea25-4a36-91a8-3b2f35237a29", "href": "http://10.0.0.38:8082/network-policy/bb4df0ee-ea25-4a36-91a8-3b2f35237a29"}} 2026-01-07 12:14:44,107 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-07 12:14:44,107 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 87.213.16.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-01-07 12:14:44,108 - DEBUG - ping -s 56 -c 3 -W 1 87.213.16.3 2026-01-07 12:14:47,319 - DEBUG - PING 87.213.16.3 (87.213.16.3): 56 data bytes --- 87.213.16.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-01-07 12:14:47,319 - WARNING - Ping to IP 87.213.16.3 from VM ctest-TestBasicPolicy-48795543-65563082 failed 2026-01-07 12:14:47,319 - INFO - Deleting VM ctest-TestBasicPolicy-48795543-47487248 2026-01-07 12:14:47,385 - INFO - Deleting VM ctest-TestBasicPolicy-48795543-65563082 2026-01-07 12:14:47,709 - INFO - Deleted policy ctest-policy-allow-all-86661492 2026-01-07 12:14:47,709 - INFO - Deleting VN ctest-vn-61137026 2026-01-07 12:14:47,743 - DEBUG - VN 45747527-dc01-4e44-ac6d-81be52f44b96 still in use: Unable to complete operation on network 45747527-dc01-4e44-ac6d-81be52f44b96. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b99559dc-55ba-4e01-bcb9-9f297fd60bd3'] 2026-01-07 12:14:47,743 - WARNING - Deleting VN ctest-vn-61137026 failed..Will retry 2026-01-07 12:14:49,837 - DEBUG - Response for deleting network () 2026-01-07 12:14:49,837 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b3286cc0-ac35-4125-95da-5003ee7cec2c 2026-01-07 12:14:49,842 - DEBUG - Response Code: 404 2026-01-07 12:14:49,842 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-07 12:14:49,846 - DEBUG - Requesting: http://10.0.0.38:8082/domain/9f1e2f63-88ab-45d1-87b2-9e1b3ab5b66e 2026-01-07 12:14:49,897 - DEBUG - Requesting: http://10.0.0.38:8082/project/2f97fe84-fd26-48d2-bcb0-d24201dce602 2026-01-07 12:14:49,965 - INFO - Validated that VN ctest-vn-61137026 is not found in API Server 2026-01-07 12:14:49,976 - DEBUG - VN ctest-vn-61137026 is not present in Agent 10.0.0.38 2026-01-07 12:14:49,976 - INFO - Validated that VN ctest-vn-61137026 is not in any agent 2026-01-07 12:14:49,988 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-61137026 info 2026-01-07 12:14:49,988 - INFO - Deleting VN ctest-vn-77224165 2026-01-07 12:14:50,077 - DEBUG - Response for deleting network () 2026-01-07 12:14:50,077 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f3439300-4657-4f87-bd48-f52d29eb7ff0 2026-01-07 12:14:50,084 - DEBUG - Response Code: 404 2026-01-07 12:14:50,084 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-07 12:14:50,089 - DEBUG - Requesting: http://10.0.0.38:8082/domain/9f1e2f63-88ab-45d1-87b2-9e1b3ab5b66e 2026-01-07 12:14:50,140 - DEBUG - Requesting: http://10.0.0.38:8082/project/2f97fe84-fd26-48d2-bcb0-d24201dce602 2026-01-07 12:14:50,216 - INFO - Validated that VN ctest-vn-77224165 is not found in API Server 2026-01-07 12:14:50,224 - DEBUG - VN ctest-vn-77224165 is not present in Agent 10.0.0.38 2026-01-07 12:14:50,224 - INFO - Validated that VN ctest-vn-77224165 is not in any agent 2026-01-07 12:14:50,238 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-77224165 info 2026-01-07 12:14:50,496 - DEBUG - No XMPP flaps were noticed during the test
2026-01-07 12:14:50,496 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2026-01-07 12:14:50,496 - INFO - -------------------------------------------------------------------------------- 2026-01-07 12:14:51,174 - INFO - Deleted project: ctest-TestBasicPolicy-48795543, ID : 2f97fe84-fd26-48d2-bcb0-d24201dce602