2026-12-01 09:13:20,126 - INFO - Domain Default found not creating 2026-12-01 09:13:20,411 - INFO - Project ctest-TestBasicPolicy-81565485 not found, creating it 2026-12-01 09:13:21,028 - INFO - Created Project:ctest-TestBasicPolicy-81565485, ID : 719342bb-8239-4f1c-88ec-f5fa173d8198 2026-12-01 09:13:23,227 - INFO - ================================================================================ 2026-12-01 09:13:23,227 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-12-01 09:13:23,227 - 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-12-01 09:13:23,517 - DEBUG - Nothing to compare xmpp stats {'10.0.0.161': {'10.20.0.25': '0'}} with 2026-12-01 09:13:23,517 - INFO - Initial checks done. Running the testcase now 2026-12-01 09:13:23,517 - INFO - 2026-12-01 09:13:24,301 - DEBUG - Response for create_network : {'network': {'id': '8fdd11d0-cd3a-450b-bf96-dd3f3a123952', 'name': 'ctest-vn-30566137', 'tenant_id': '719342bb82394f1c88ecf5fa173d8198', 'project_id': '719342bb82394f1c88ecf5fa173d8198', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-81565485', 'ctest-vn-30566137'], 'port_security_enabled': True, 'description': ''}} 2026-12-01 09:13:24,587 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cc4e57c8-1072-4ea2-929c-9966985296a3', 'name': '', 'tenant_id': '719342bb82394f1c88ecf5fa173d8198', 'network_id': '8fdd11d0-cd3a-450b-bf96-dd3f3a123952', 'ip_version': 4, 'cidr': '35.118.169.0/26', 'allocation_pools': [{'start': '35.118.169.2', 'end': '35.118.169.62'}], 'gateway_ip': '35.118.169.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '35.118.169.2', 'tags': [], 'project_id': '719342bb82394f1c88ecf5fa173d8198'}} 2026-12-01 09:13:24,614 - INFO - Created VN ctest-vn-30566137 2026-12-01 09:13:24,673 - DEBUG - VN ctest-vn-30566137 UUID is 8fdd11d0-cd3a-450b-bf96-dd3f3a123952 2026-12-01 09:13:25,184 - DEBUG - Response for create_network : {'network': {'id': '24925c5d-6554-427f-9206-44821089c611', 'name': 'ctest-vn-36717007', 'tenant_id': '719342bb82394f1c88ecf5fa173d8198', 'project_id': '719342bb82394f1c88ecf5fa173d8198', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-81565485', 'ctest-vn-36717007'], 'port_security_enabled': True, 'description': ''}} 2026-12-01 09:13:25,456 - DEBUG - Response for create_subnet : {'subnet': {'id': '25e42c95-a1d4-4f74-b84d-9a04199d42f8', 'name': '', 'tenant_id': '719342bb82394f1c88ecf5fa173d8198', 'network_id': '24925c5d-6554-427f-9206-44821089c611', 'ip_version': 4, 'cidr': '165.8.12.64/26', 'allocation_pools': [{'start': '165.8.12.66', 'end': '165.8.12.126'}], 'gateway_ip': '165.8.12.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '165.8.12.66', 'tags': [], 'project_id': '719342bb82394f1c88ecf5fa173d8198'}} 2026-12-01 09:13:25,483 - INFO - Created VN ctest-vn-36717007 2026-12-01 09:13:25,541 - DEBUG - VN ctest-vn-36717007 UUID is 24925c5d-6554-427f-9206-44821089c611 2026-12-01 09:13:25,696 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-81565485:ctest-vn-30566137, 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-81565485:ctest-vn-36717007, 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-12-01 09:13:26,089 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8fdd11d0-cd3a-450b-bf96-dd3f3a123952', 'name': 'ctest-vn-30566137', 'tenant_id': '719342bb82394f1c88ecf5fa173d8198', 'project_id': '719342bb82394f1c88ecf5fa173d8198', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['cc4e57c8-1072-4ea2-929c-9966985296a3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-81565485', 'ctest-vn-30566137'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-81565485', 'ctest-policy-allow-all-75951175']], 'subnet_ipam': [{'subnet_cidr': '35.118.169.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-12-01 09:13:26,398 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '24925c5d-6554-427f-9206-44821089c611', 'name': 'ctest-vn-36717007', 'tenant_id': '719342bb82394f1c88ecf5fa173d8198', 'project_id': '719342bb82394f1c88ecf5fa173d8198', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['25e42c95-a1d4-4f74-b84d-9a04199d42f8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-81565485', 'ctest-vn-36717007'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-81565485', 'ctest-policy-allow-all-75951175']], 'subnet_ipam': [{'subnet_cidr': '165.8.12.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-12-01 09:13:26,585 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-12-01 09:13:26,997 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-12-01 09:13:27,043 - DEBUG - Requesting: http://10.0.0.161:8082/domain/c4d0b63c-17d1-4823-a1f1-7adddce9d0dd 2026-12-01 09:13:27,062 - DEBUG - Requesting: http://10.0.0.161:8082/project/719342bb-8239-4f1c-88ec-f5fa173d8198 2026-12-01 09:13:27,153 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/8fdd11d0-cd3a-450b-bf96-dd3f3a123952 2026-12-01 09:13:27,173 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/8fdd11d0-cd3a-450b-bf96-dd3f3a123952 2026-12-01 09:13:27,189 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/6876bf16-1615-4a1b-b653-3a40000a897a 2026-12-01 09:13:27,201 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/6876bf16-1615-4a1b-b653-3a40000a897a 2026-12-01 09:13:27,216 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/2848e5a1-b67f-4027-8c88-5a8fd3c71bae 2026-12-01 09:13:27,231 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-12-01 09:13:27,231 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/8fdd11d0-cd3a-450b-bf96-dd3f3a123952 2026-12-01 09:13:27,252 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/6876bf16-1615-4a1b-b653-3a40000a897a 2026-12-01 09:13:27,287 - INFO - Verified VN network id 12 for VN 8fdd11d0-cd3a-450b-bf96-dd3f3a123952 2026-12-01 09:13:27,287 - INFO - Verifications in API Server for VN ctest-vn-30566137 passed 2026-12-01 09:13:27,288 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/8fdd11d0-cd3a-450b-bf96-dd3f3a123952 2026-12-01 09:13:27,303 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/6876bf16-1615-4a1b-b653-3a40000a897a 2026-12-01 09:13:27,314 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/6876bf16-1615-4a1b-b653-3a40000a897a 2026-12-01 09:13:27,326 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/2848e5a1-b67f-4027-8c88-5a8fd3c71bae 2026-12-01 09:13:27,346 - DEBUG - Control-node 10.0.0.161 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-81565485:ctest-vn-30566137', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-81565485', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10366461505770767627', 'uuid-lslong': '13805464971377785170'}, 'enable': 'true', 'created': '2026-12-01T09:13:24', 'last-modified': '2026-12-01T09:13:26', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.284094'} 2026-12-01 09:13:27,357 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-12-01 09:13:27,357 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-30566137 passed 2026-12-01 09:13:27,358 - DEBUG - ====Verifying policy data for ctest-vn-30566137 in API_Server ====== 2026-12-01 09:13:27,358 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-12-01 09:13:27,370 - DEBUG - Requesting: http://10.0.0.161:8082/domain/c4d0b63c-17d1-4823-a1f1-7adddce9d0dd 2026-12-01 09:13:27,390 - DEBUG - Requesting: http://10.0.0.161:8082/project/719342bb-8239-4f1c-88ec-f5fa173d8198 2026-12-01 09:13:27,488 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/8fdd11d0-cd3a-450b-bf96-dd3f3a123952 2026-12-01 09:13:27,507 - DEBUG - ==>Verifying data for policy with id: 2e929338-5c5e-4d9a-9d13-29afe2fcf832, fqn: ['default-domain', 'ctest-TestBasicPolicy-81565485', 'ctest-policy-allow-all-75951175'] 2026-12-01 09:13:27,507 - INFO - VN ctest-vn-30566137 Policy verification: verify_vn_policy_in_api_server, status: True 2026-12-01 09:13:27,507 - DEBUG - Verifying the vn in opserver 2026-12-01 09:13:27,507 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-81565485:ctest-vn-30566137 virtual network link through opserver 10.0.0.161 2026-12-01 09:13:27,507 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks 2026-12-01 09:13:27,929 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks 2026-12-01 09:13:28,011 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-81565485:ctest-vn-30566137', 'href': 'http://10.0.0.161:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-81565485:ctest-vn-30566137?flat'} 2026-12-01 09:13:28,011 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-81565485:ctest-vn-30566137 is found in opserver 2026-12-01 09:13:28,027 - DEBUG - Do not have enough data to verify VN in agent 2026-12-01 09:13:28,035 - DEBUG - VRF ids for VN ctest-vn-30566137: {} 2026-12-01 09:13:28,035 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-12-01 09:13:28,044 - DEBUG - Requesting: http://10.0.0.161:8082/domain/c4d0b63c-17d1-4823-a1f1-7adddce9d0dd 2026-12-01 09:13:28,059 - DEBUG - Requesting: http://10.0.0.161:8082/project/719342bb-8239-4f1c-88ec-f5fa173d8198 2026-12-01 09:13:28,147 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/24925c5d-6554-427f-9206-44821089c611 2026-12-01 09:13:28,166 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/24925c5d-6554-427f-9206-44821089c611 2026-12-01 09:13:28,180 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/d9c984ca-3453-4ad0-aa4b-4a8603696962 2026-12-01 09:13:28,191 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/d9c984ca-3453-4ad0-aa4b-4a8603696962 2026-12-01 09:13:28,201 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/200d332e-1a1b-4ec1-8cc8-0aad6df70ed0 2026-12-01 09:13:28,210 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-12-01 09:13:28,211 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/24925c5d-6554-427f-9206-44821089c611 2026-12-01 09:13:28,225 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/d9c984ca-3453-4ad0-aa4b-4a8603696962 2026-12-01 09:13:28,248 - INFO - Verified VN network id 13 for VN 24925c5d-6554-427f-9206-44821089c611 2026-12-01 09:13:28,248 - INFO - Verifications in API Server for VN ctest-vn-36717007 passed 2026-12-01 09:13:28,249 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/24925c5d-6554-427f-9206-44821089c611 2026-12-01 09:13:28,265 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/d9c984ca-3453-4ad0-aa4b-4a8603696962 2026-12-01 09:13:28,276 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/d9c984ca-3453-4ad0-aa4b-4a8603696962 2026-12-01 09:13:28,287 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/200d332e-1a1b-4ec1-8cc8-0aad6df70ed0 2026-12-01 09:13:28,310 - DEBUG - Control-node 10.0.0.161 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-81565485:ctest-vn-36717007', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-81565485', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2635270288166896255', 'uuid-lslong': '10522172904811644433'}, 'enable': 'true', 'created': '2026-12-01T09:13:25', 'last-modified': '2026-12-01T09:13:26', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.952687'} 2026-12-01 09:13:28,322 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-12-01 09:13:28,322 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-36717007 passed 2026-12-01 09:13:28,322 - DEBUG - ====Verifying policy data for ctest-vn-36717007 in API_Server ====== 2026-12-01 09:13:28,322 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-12-01 09:13:28,332 - DEBUG - Requesting: http://10.0.0.161:8082/domain/c4d0b63c-17d1-4823-a1f1-7adddce9d0dd 2026-12-01 09:13:28,352 - DEBUG - Requesting: http://10.0.0.161:8082/project/719342bb-8239-4f1c-88ec-f5fa173d8198 2026-12-01 09:13:28,447 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/24925c5d-6554-427f-9206-44821089c611 2026-12-01 09:13:28,461 - DEBUG - ==>Verifying data for policy with id: 2e929338-5c5e-4d9a-9d13-29afe2fcf832, fqn: ['default-domain', 'ctest-TestBasicPolicy-81565485', 'ctest-policy-allow-all-75951175'] 2026-12-01 09:13:28,462 - INFO - VN ctest-vn-36717007 Policy verification: verify_vn_policy_in_api_server, status: True 2026-12-01 09:13:28,462 - DEBUG - Verifying the vn in opserver 2026-12-01 09:13:28,462 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-81565485:ctest-vn-36717007 virtual network link through opserver 10.0.0.161 2026-12-01 09:13:28,462 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks 2026-12-01 09:13:28,476 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-81565485:ctest-vn-36717007', 'href': 'http://10.0.0.161:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-81565485:ctest-vn-36717007?flat'} 2026-12-01 09:13:28,476 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-81565485:ctest-vn-36717007 is found in opserver 2026-12-01 09:13:28,491 - DEBUG - Do not have enough data to verify VN in agent 2026-12-01 09:13:28,499 - DEBUG - VRF ids for VN ctest-vn-36717007: {} 2026-12-01 09:13:28,589 - DEBUG - Services list from nova: [, , ] 2026-12-01 09:13:29,089 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6525-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6525-1) 2026-12-01 09:13:29,684 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6525-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6525-1) 2026-12-01 09:13:29,684 - INFO - Waiting for VM ctest-TestBasicPolicy-81565485-00844818 to be up.. 2026-12-01 09:13:29,756 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-12-01 09:13:34,898 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-12-01 09:13:40,022 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-12-01 09:13:45,181 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-12-01 09:13:50,393 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-12-01 09:13:55,522 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-12-01 09:14:00,644 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-12-01 09:14:05,774 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-12-01 09:14:10,849 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-12-01 09:14:15,928 - DEBUG - VM is in ACTIVE state now 2026-12-01 09:14:15,929 - INFO - VM name : ctest-TestBasicPolicy-81565485-00844818 2026-12-01 09:14:16,030 - DEBUG - VM ctest-TestBasicPolicy-81565485-00844818 ID is de4e1c14-e33f-4f68-80c8-71146d6dd0b0 2026-12-01 09:14:16,052 - DEBUG - VM ctest-TestBasicPolicy-81565485-00844818 launched on Node cn-jenkins-deploy-platform-ansible-os-6525-1 2026-12-01 09:14:16,127 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/de4e1c14-e33f-4f68-80c8-71146d6dd0b0 2026-12-01 09:14:16,134 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/0c5edb64-d51b-4edf-afa4-ce3179f7fe7e 2026-12-01 09:14:19,336 - 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=4.00 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1010ms\r\nrtt min/avg/max/mdev = 4.000/4.000/4.000/0.000 ms') 2026-12-01 09:14:19,336 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-81565485-00844818 passed 2026-12-01 09:14:19,489 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-12-01 09:14:19,489 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-81565485-00844818, IP 35.118.169.3, Port 22 2026-12-01 09:14:19,652 - DEBUG - VM ctest-TestBasicPolicy-81565485-00844818 is ready for SSH connections 2026-12-01 09:14:19,652 - INFO - Waiting for VM ctest-TestBasicPolicy-81565485-35451106 to be up.. 2026-12-01 09:14:19,721 - DEBUG - VM is in ACTIVE state now 2026-12-01 09:14:19,721 - INFO - VM name : ctest-TestBasicPolicy-81565485-35451106 2026-12-01 09:14:19,789 - DEBUG - VM ctest-TestBasicPolicy-81565485-35451106 ID is 54b94f7c-5e90-4f7a-9b9a-0fd842eb6f9a 2026-12-01 09:14:19,789 - DEBUG - VM ctest-TestBasicPolicy-81565485-35451106 launched on Node cn-jenkins-deploy-platform-ansible-os-6525-1 2026-12-01 09:14:19,857 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/54b94f7c-5e90-4f7a-9b9a-0fd842eb6f9a 2026-12-01 09:14:19,865 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/0dd3132e-043a-48f5-8d3b-5ffb7ecc9539 2026-12-01 09:14:23,112 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1010ms') 2026-12-01 09:14:23,112 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-81565485-35451106 failed! 2026-12-01 09:14:23,165 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-81565485:ctest-vn-36717007 is 165.8.12.65 and allocation pool is NOT set 2026-12-01 09:14:25,226 - 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.61 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.419 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.419/2.014/3.610/1.595 ms') 2026-12-01 09:14:25,226 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-81565485-35451106 passed 2026-12-01 09:14:25,373 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-12-01 09:14:25,373 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-81565485-35451106, IP 165.8.12.67, Port 22 2026-12-01 09:14:25,536 - DEBUG - VM ctest-TestBasicPolicy-81565485-35451106 is ready for SSH connections 2026-12-01 09:14:25,536 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-12-01 09:14:25,536 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 165.8.12.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.161, gateway password: c0ntrail123 2026-12-01 09:14:25,536 - DEBUG - ping -s 56 -c 3 -W 1 165.8.12.67 2026-12-01 09:14:29,473 - DEBUG - PING 165.8.12.67 (165.8.12.67): 56 data bytes 64 bytes from 165.8.12.67: seq=0 ttl=63 time=3.823 ms 64 bytes from 165.8.12.67: seq=1 ttl=63 time=0.913 ms 64 bytes from 165.8.12.67: seq=2 ttl=63 time=0.869 ms --- 165.8.12.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.869/1.868/3.823 ms 2026-12-01 09:14:29,473 - INFO - Ping to IP 165.8.12.67 from VM ctest-TestBasicPolicy-81565485-00844818 passed 2026-12-01 09:14:29,645 - DEBUG - Policy Update Response {"network-policy": {"uuid": "2e929338-5c5e-4d9a-9d13-29afe2fcf832", "href": "http://10.0.0.161:8082/network-policy/2e929338-5c5e-4d9a-9d13-29afe2fcf832"}} 2026-12-01 09:14:29,645 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-12-01 09:14:29,645 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 165.8.12.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.161, gateway password: c0ntrail123 2026-12-01 09:14:29,645 - DEBUG - ping -s 56 -c 3 -W 1 165.8.12.67 2026-12-01 09:14:32,776 - DEBUG - PING 165.8.12.67 (165.8.12.67): 56 data bytes 64 bytes from 165.8.12.67: seq=0 ttl=63 time=1.805 ms --- 165.8.12.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.805/1.805/1.805 ms 2026-12-01 09:14:32,777 - WARNING - Ping to IP 165.8.12.67 from VM ctest-TestBasicPolicy-81565485-00844818 failed 2026-12-01 09:14:32,777 - INFO - Deleting VM ctest-TestBasicPolicy-81565485-35451106 2026-12-01 09:14:32,846 - INFO - Deleting VM ctest-TestBasicPolicy-81565485-00844818 2026-12-01 09:14:33,204 - INFO - Deleted policy ctest-policy-allow-all-75951175 2026-12-01 09:14:33,204 - INFO - Deleting VN ctest-vn-36717007 2026-12-01 09:14:33,234 - DEBUG - VN 24925c5d-6554-427f-9206-44821089c611 still in use: Unable to complete operation on network 24925c5d-6554-427f-9206-44821089c611. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0938e01d-8624-4e23-a927-5422cf03d5a4'] 2026-12-01 09:14:33,235 - WARNING - Deleting VN ctest-vn-36717007 failed..Will retry 2026-12-01 09:14:35,269 - DEBUG - VN 24925c5d-6554-427f-9206-44821089c611 still in use: Unable to complete operation on network 24925c5d-6554-427f-9206-44821089c611. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-25db1c61-2b07-403f-be71-12310218a1cd'] 2026-12-01 09:14:35,269 - WARNING - Deleting VN ctest-vn-36717007 failed..Will retry 2026-12-01 09:14:37,373 - DEBUG - Response for deleting network () 2026-12-01 09:14:37,373 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/d9c984ca-3453-4ad0-aa4b-4a8603696962 2026-12-01 09:14:37,380 - DEBUG - Response Code: 404 2026-12-01 09:14:37,380 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-12-01 09:14:37,384 - DEBUG - Requesting: http://10.0.0.161:8082/domain/c4d0b63c-17d1-4823-a1f1-7adddce9d0dd 2026-12-01 09:14:37,438 - DEBUG - Requesting: http://10.0.0.161:8082/project/719342bb-8239-4f1c-88ec-f5fa173d8198 2026-12-01 09:14:37,503 - INFO - Validated that VN ctest-vn-36717007 is not found in API Server 2026-12-01 09:14:37,514 - DEBUG - VN ctest-vn-36717007 is not present in Agent 10.0.0.161 2026-12-01 09:14:37,514 - INFO - Validated that VN ctest-vn-36717007 is not in any agent 2026-12-01 09:14:37,527 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-36717007 info 2026-12-01 09:14:37,527 - INFO - Deleting VN ctest-vn-30566137 2026-12-01 09:14:37,638 - DEBUG - Response for deleting network () 2026-12-01 09:14:37,638 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/6876bf16-1615-4a1b-b653-3a40000a897a 2026-12-01 09:14:37,646 - DEBUG - Response Code: 404 2026-12-01 09:14:37,646 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-12-01 09:14:37,651 - DEBUG - Requesting: http://10.0.0.161:8082/domain/c4d0b63c-17d1-4823-a1f1-7adddce9d0dd 2026-12-01 09:14:37,701 - DEBUG - Requesting: http://10.0.0.161:8082/project/719342bb-8239-4f1c-88ec-f5fa173d8198 2026-12-01 09:14:37,774 - INFO - Validated that VN ctest-vn-30566137 is not found in API Server 2026-12-01 09:14:37,784 - DEBUG - VN ctest-vn-30566137 is not present in Agent 10.0.0.161 2026-12-01 09:14:37,784 - INFO - Validated that VN ctest-vn-30566137 is not in any agent 2026-12-01 09:14:37,798 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-30566137 info 2026-12-01 09:14:38,054 - DEBUG - No XMPP flaps were noticed during the test 2026-12-01 09:14:38,054 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:15] 2026-12-01 09:14:38,054 - INFO - -------------------------------------------------------------------------------- 2026-12-01 09:14:38,800 - INFO - Deleted project: ctest-TestBasicPolicy-81565485, ID : 719342bb-8239-4f1c-88ec-f5fa173d8198