2026-05-05 17:18:37,149 - INFO - Domain Default found not creating 2026-05-05 17:18:37,355 - INFO - Project ctest-TestBasicPolicy-43083747 not found, creating it 2026-05-05 17:18:37,830 - INFO - Created Project:ctest-TestBasicPolicy-43083747, ID : 600cc19e-46db-4751-955b-fe3421a00545 2026-05-05 17:18:39,392 - INFO - ================================================================================ 2026-05-05 17:18:39,392 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-05-05 17:18:39,392 - 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-05-05 17:18:39,661 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2026-05-05 17:18:39,661 - INFO - Initial checks done. Running the testcase now 2026-05-05 17:18:39,661 - INFO - 2026-05-05 17:18:40,243 - DEBUG - Response for create_network : {'network': {'id': '4ed53280-5a51-4581-b7a1-cd9082eb3f17', 'name': 'ctest-vn-38974105', 'tenant_id': '600cc19e46db4751955bfe3421a00545', 'project_id': '600cc19e46db4751955bfe3421a00545', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43083747', 'ctest-vn-38974105'], 'port_security_enabled': True, 'description': ''}} 2026-05-05 17:18:40,422 - DEBUG - Response for create_subnet : {'subnet': {'id': '8e641c99-a143-47a7-b52d-ad4e2ec813c9', 'name': '', 'tenant_id': '600cc19e46db4751955bfe3421a00545', 'network_id': '4ed53280-5a51-4581-b7a1-cd9082eb3f17', 'ip_version': 4, 'cidr': '69.80.250.64/26', 'allocation_pools': [{'start': '69.80.250.66', 'end': '69.80.250.126'}], 'gateway_ip': '69.80.250.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '69.80.250.66', 'tags': [], 'project_id': '600cc19e46db4751955bfe3421a00545'}} 2026-05-05 17:18:40,441 - INFO - Created VN ctest-vn-38974105 2026-05-05 17:18:40,495 - DEBUG - VN ctest-vn-38974105 UUID is 4ed53280-5a51-4581-b7a1-cd9082eb3f17 2026-05-05 17:18:40,812 - DEBUG - Response for create_network : {'network': {'id': '110a159a-3a00-46ee-b19e-5bbe7e3fb8cc', 'name': 'ctest-vn-23965476', 'tenant_id': '600cc19e46db4751955bfe3421a00545', 'project_id': '600cc19e46db4751955bfe3421a00545', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43083747', 'ctest-vn-23965476'], 'port_security_enabled': True, 'description': ''}} 2026-05-05 17:18:41,017 - DEBUG - Response for create_subnet : {'subnet': {'id': 'eb5a56b1-9843-4c35-bfd3-623c0859a3b4', 'name': '', 'tenant_id': '600cc19e46db4751955bfe3421a00545', 'network_id': '110a159a-3a00-46ee-b19e-5bbe7e3fb8cc', 'ip_version': 4, 'cidr': '38.131.143.192/26', 'allocation_pools': [{'start': '38.131.143.194', 'end': '38.131.143.254'}], 'gateway_ip': '38.131.143.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '38.131.143.194', 'tags': [], 'project_id': '600cc19e46db4751955bfe3421a00545'}} 2026-05-05 17:18:41,037 - INFO - Created VN ctest-vn-23965476 2026-05-05 17:18:41,091 - DEBUG - VN ctest-vn-23965476 UUID is 110a159a-3a00-46ee-b19e-5bbe7e3fb8cc 2026-05-05 17:18:41,222 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-43083747:ctest-vn-38974105, 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-43083747:ctest-vn-23965476, 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-05-05 17:18:41,521 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4ed53280-5a51-4581-b7a1-cd9082eb3f17', 'name': 'ctest-vn-38974105', 'tenant_id': '600cc19e46db4751955bfe3421a00545', 'project_id': '600cc19e46db4751955bfe3421a00545', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8e641c99-a143-47a7-b52d-ad4e2ec813c9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43083747', 'ctest-vn-38974105'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-43083747', 'ctest-policy-allow-all-02138410']], 'subnet_ipam': [{'subnet_cidr': '69.80.250.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-05 17:18:41,765 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '110a159a-3a00-46ee-b19e-5bbe7e3fb8cc', 'name': 'ctest-vn-23965476', 'tenant_id': '600cc19e46db4751955bfe3421a00545', 'project_id': '600cc19e46db4751955bfe3421a00545', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['eb5a56b1-9843-4c35-bfd3-623c0859a3b4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43083747', 'ctest-vn-23965476'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-43083747', 'ctest-policy-allow-all-02138410']], 'subnet_ipam': [{'subnet_cidr': '38.131.143.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-05 17:18:41,922 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-05 17:18:42,219 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-05 17:18:42,256 - DEBUG - Requesting: http://10.0.0.50:8082/domain/129f68c7-3876-4ce5-ae57-19602b868f83 2026-05-05 17:18:42,270 - DEBUG - Requesting: http://10.0.0.50:8082/project/600cc19e-46db-4751-955b-fe3421a00545 2026-05-05 17:18:42,343 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4ed53280-5a51-4581-b7a1-cd9082eb3f17 2026-05-05 17:18:42,356 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4ed53280-5a51-4581-b7a1-cd9082eb3f17 2026-05-05 17:18:42,365 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3bff92cf-2d18-4a78-b9ad-07c4eb5e3001 2026-05-05 17:18:42,374 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3bff92cf-2d18-4a78-b9ad-07c4eb5e3001 2026-05-05 17:18:42,382 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/b0c8189e-dea1-45ef-8949-731e96e13702 2026-05-05 17:18:42,390 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-05 17:18:42,390 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4ed53280-5a51-4581-b7a1-cd9082eb3f17 2026-05-05 17:18:42,400 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3bff92cf-2d18-4a78-b9ad-07c4eb5e3001 2026-05-05 17:18:42,415 - INFO - Verified VN network id 11 for VN 4ed53280-5a51-4581-b7a1-cd9082eb3f17 2026-05-05 17:18:42,415 - INFO - Verifications in API Server for VN ctest-vn-38974105 passed 2026-05-05 17:18:42,415 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4ed53280-5a51-4581-b7a1-cd9082eb3f17 2026-05-05 17:18:42,427 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3bff92cf-2d18-4a78-b9ad-07c4eb5e3001 2026-05-05 17:18:42,435 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3bff92cf-2d18-4a78-b9ad-07c4eb5e3001 2026-05-05 17:18:42,443 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/b0c8189e-dea1-45ef-8949-731e96e13702 2026-05-05 17:18:42,454 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-43083747:ctest-vn-38974105', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-43083747', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5680502031850227073', 'uuid-lslong': '13232083200746667799'}, 'enable': 'true', 'created': '2026-05-05T17:18:40', 'last-modified': '2026-05-05T17:18:41', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.953269'} 2026-05-05 17:18:42,460 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-05 17:18:42,460 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-38974105 passed 2026-05-05 17:18:42,460 - DEBUG - ====Verifying policy data for ctest-vn-38974105 in API_Server ====== 2026-05-05 17:18:42,460 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-05 17:18:42,465 - DEBUG - Requesting: http://10.0.0.50:8082/domain/129f68c7-3876-4ce5-ae57-19602b868f83 2026-05-05 17:18:42,475 - DEBUG - Requesting: http://10.0.0.50:8082/project/600cc19e-46db-4751-955b-fe3421a00545 2026-05-05 17:18:42,545 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4ed53280-5a51-4581-b7a1-cd9082eb3f17 2026-05-05 17:18:42,555 - DEBUG - ==>Verifying data for policy with id: 9afc0f8b-57db-43eb-9fa0-7fe068e05977, fqn: ['default-domain', 'ctest-TestBasicPolicy-43083747', 'ctest-policy-allow-all-02138410'] 2026-05-05 17:18:42,555 - INFO - VN ctest-vn-38974105 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-05 17:18:42,556 - DEBUG - Verifying the vn in opserver 2026-05-05 17:18:42,556 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-43083747:ctest-vn-38974105 virtual network link through opserver 10.0.0.50 2026-05-05 17:18:42,556 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-05-05 17:18:42,853 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-05-05 17:18:42,923 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-43083747:ctest-vn-38974105', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-43083747:ctest-vn-38974105?flat'} 2026-05-05 17:18:42,923 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-43083747:ctest-vn-38974105 is found in opserver 2026-05-05 17:18:42,933 - DEBUG - Do not have enough data to verify VN in agent 2026-05-05 17:18:42,937 - DEBUG - VRF ids for VN ctest-vn-38974105: {} 2026-05-05 17:18:42,937 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-05 17:18:42,943 - DEBUG - Requesting: http://10.0.0.50:8082/domain/129f68c7-3876-4ce5-ae57-19602b868f83 2026-05-05 17:18:42,953 - DEBUG - Requesting: http://10.0.0.50:8082/project/600cc19e-46db-4751-955b-fe3421a00545 2026-05-05 17:18:43,021 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/110a159a-3a00-46ee-b19e-5bbe7e3fb8cc 2026-05-05 17:18:43,034 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/110a159a-3a00-46ee-b19e-5bbe7e3fb8cc 2026-05-05 17:18:43,043 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/4a2f3218-52ad-4b22-aa84-725dd8896c0b 2026-05-05 17:18:43,051 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/4a2f3218-52ad-4b22-aa84-725dd8896c0b 2026-05-05 17:18:43,058 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/10ce5cd0-cd4c-4031-8a2b-3131d8586dc6 2026-05-05 17:18:43,065 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-05 17:18:43,065 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/110a159a-3a00-46ee-b19e-5bbe7e3fb8cc 2026-05-05 17:18:43,076 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/4a2f3218-52ad-4b22-aa84-725dd8896c0b 2026-05-05 17:18:43,090 - INFO - Verified VN network id 12 for VN 110a159a-3a00-46ee-b19e-5bbe7e3fb8cc 2026-05-05 17:18:43,090 - INFO - Verifications in API Server for VN ctest-vn-23965476 passed 2026-05-05 17:18:43,090 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/110a159a-3a00-46ee-b19e-5bbe7e3fb8cc 2026-05-05 17:18:43,099 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/4a2f3218-52ad-4b22-aa84-725dd8896c0b 2026-05-05 17:18:43,105 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/4a2f3218-52ad-4b22-aa84-725dd8896c0b 2026-05-05 17:18:43,112 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/10ce5cd0-cd4c-4031-8a2b-3131d8586dc6 2026-05-05 17:18:43,124 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-43083747:ctest-vn-23965476', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-43083747', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1227817600554125038', 'uuid-lslong': '12798768064753547468'}, 'enable': 'true', 'created': '2026-05-05T17:18:40', 'last-modified': '2026-05-05T17:18:41', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.390638'} 2026-05-05 17:18:43,131 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-05 17:18:43,132 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-23965476 passed 2026-05-05 17:18:43,132 - DEBUG - ====Verifying policy data for ctest-vn-23965476 in API_Server ====== 2026-05-05 17:18:43,132 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-05 17:18:43,138 - DEBUG - Requesting: http://10.0.0.50:8082/domain/129f68c7-3876-4ce5-ae57-19602b868f83 2026-05-05 17:18:43,153 - DEBUG - Requesting: http://10.0.0.50:8082/project/600cc19e-46db-4751-955b-fe3421a00545 2026-05-05 17:18:43,221 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/110a159a-3a00-46ee-b19e-5bbe7e3fb8cc 2026-05-05 17:18:43,231 - DEBUG - ==>Verifying data for policy with id: 9afc0f8b-57db-43eb-9fa0-7fe068e05977, fqn: ['default-domain', 'ctest-TestBasicPolicy-43083747', 'ctest-policy-allow-all-02138410'] 2026-05-05 17:18:43,231 - INFO - VN ctest-vn-23965476 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-05 17:18:43,231 - DEBUG - Verifying the vn in opserver 2026-05-05 17:18:43,231 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-43083747:ctest-vn-23965476 virtual network link through opserver 10.0.0.50 2026-05-05 17:18:43,231 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-05-05 17:18:43,241 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-43083747:ctest-vn-23965476', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-43083747:ctest-vn-23965476?flat'} 2026-05-05 17:18:43,241 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-43083747:ctest-vn-23965476 is found in opserver 2026-05-05 17:18:43,250 - DEBUG - Do not have enough data to verify VN in agent 2026-05-05 17:18:43,255 - DEBUG - VRF ids for VN ctest-vn-23965476: {} 2026-05-05 17:18:43,315 - DEBUG - Services list from nova: [, , ] 2026-05-05 17:18:44,403 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5746-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5746-1) 2026-05-05 17:18:45,623 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5746-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5746-1) 2026-05-05 17:18:45,623 - INFO - Waiting for VM ctest-TestBasicPolicy-43083747-73844009 to be up.. 2026-05-05 17:18:45,733 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-05 17:18:50,829 - DEBUG - VM is in ACTIVE state now 2026-05-05 17:18:50,830 - INFO - VM name : ctest-TestBasicPolicy-43083747-73844009 2026-05-05 17:18:50,913 - DEBUG - VM ctest-TestBasicPolicy-43083747-73844009 ID is 87647f9d-7459-45d7-88b9-83dd485e93e4 2026-05-05 17:18:50,934 - DEBUG - VM ctest-TestBasicPolicy-43083747-73844009 launched on Node cn-jenkins-deploy-platform-ansible-os-5746-1 2026-05-05 17:18:51,019 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/87647f9d-7459-45d7-88b9-83dd485e93e4 2026-05-05 17:18:51,031 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/c4b56244-beff-489d-b7f8-44e70fef71cf 2026-05-05 17:18:54,317 - 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 1028ms') 2026-05-05 17:18:54,317 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-43083747-73844009 failed! 2026-05-05 17:18:54,375 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-43083747:ctest-vn-38974105 is 69.80.250.65 and allocation pool is NOT set 2026-05-05 17:18:56,443 - 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.24 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.592 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.592/4.417/8.243/3.825 ms') 2026-05-05 17:18:56,444 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-43083747-73844009 passed 2026-05-05 17:18:56,594 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-05 17:18:56,595 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-43083747-73844009, IP 69.80.250.67, Port 22 2026-05-05 17:18:56,750 - DEBUG - VM ctest-TestBasicPolicy-43083747-73844009 is ready for SSH connections 2026-05-05 17:18:56,750 - INFO - Waiting for VM ctest-TestBasicPolicy-43083747-17807006 to be up.. 2026-05-05 17:18:56,841 - DEBUG - VM is in ACTIVE state now 2026-05-05 17:18:56,842 - INFO - VM name : ctest-TestBasicPolicy-43083747-17807006 2026-05-05 17:18:56,925 - DEBUG - VM ctest-TestBasicPolicy-43083747-17807006 ID is e0145848-00a9-48c6-8036-bd45827bdd3c 2026-05-05 17:18:56,925 - DEBUG - VM ctest-TestBasicPolicy-43083747-17807006 launched on Node cn-jenkins-deploy-platform-ansible-os-5746-1 2026-05-05 17:18:57,021 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/e0145848-00a9-48c6-8036-bd45827bdd3c 2026-05-05 17:18:57,032 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/daf7f457-9283-4013-baf0-2a5e8dd00f18 2026-05-05 17:18:58,278 - 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=5.35 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.29 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 = 1.291/3.319/5.348/2.028 ms') 2026-05-05 17:18:58,278 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-43083747-17807006 passed 2026-05-05 17:18:58,427 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-05 17:18:58,427 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-43083747-17807006, IP 38.131.143.195, Port 22 2026-05-05 17:18:58,582 - DEBUG - VM ctest-TestBasicPolicy-43083747-17807006 is ready for SSH connections 2026-05-05 17:18:58,582 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-05 17:18:58,582 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 38.131.143.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-05-05 17:18:58,582 - DEBUG - ping -s 56 -c 3 -W 1 38.131.143.195 2026-05-05 17:19:02,716 - DEBUG - PING 38.131.143.195 (38.131.143.195): 56 data bytes 64 bytes from 38.131.143.195: seq=0 ttl=63 time=3.428 ms 64 bytes from 38.131.143.195: seq=1 ttl=63 time=1.038 ms 64 bytes from 38.131.143.195: seq=2 ttl=63 time=1.151 ms --- 38.131.143.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.038/1.872/3.428 ms 2026-05-05 17:19:02,717 - INFO - Ping to IP 38.131.143.195 from VM ctest-TestBasicPolicy-43083747-73844009 passed 2026-05-05 17:19:02,906 - DEBUG - Policy Update Response {"network-policy": {"uuid": "9afc0f8b-57db-43eb-9fa0-7fe068e05977", "href": "http://10.0.0.50:8082/network-policy/9afc0f8b-57db-43eb-9fa0-7fe068e05977"}} 2026-05-05 17:19:02,906 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-05 17:19:02,906 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 38.131.143.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-05-05 17:19:02,907 - DEBUG - ping -s 56 -c 3 -W 1 38.131.143.195 2026-05-05 17:19:06,126 - DEBUG - PING 38.131.143.195 (38.131.143.195): 56 data bytes --- 38.131.143.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-05-05 17:19:06,126 - WARNING - Ping to IP 38.131.143.195 from VM ctest-TestBasicPolicy-43083747-73844009 failed 2026-05-05 17:19:06,126 - INFO - Deleting VM ctest-TestBasicPolicy-43083747-17807006 2026-05-05 17:19:06,229 - INFO - Deleting VM ctest-TestBasicPolicy-43083747-73844009 2026-05-05 17:19:06,621 - INFO - Deleted policy ctest-policy-allow-all-02138410 2026-05-05 17:19:06,621 - INFO - Deleting VN ctest-vn-23965476 2026-05-05 17:19:06,663 - DEBUG - VN 110a159a-3a00-46ee-b19e-5bbe7e3fb8cc still in use: Unable to complete operation on network 110a159a-3a00-46ee-b19e-5bbe7e3fb8cc. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-72ee31f7-f4c2-4d45-9b22-5b40335d79a8'] 2026-05-05 17:19:06,663 - WARNING - Deleting VN ctest-vn-23965476 failed..Will retry 2026-05-05 17:19:08,798 - DEBUG - Response for deleting network () 2026-05-05 17:19:08,798 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/4a2f3218-52ad-4b22-aa84-725dd8896c0b 2026-05-05 17:19:08,806 - DEBUG - Response Code: 404 2026-05-05 17:19:08,806 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-05 17:19:08,812 - DEBUG - Requesting: http://10.0.0.50:8082/domain/129f68c7-3876-4ce5-ae57-19602b868f83 2026-05-05 17:19:08,870 - DEBUG - Requesting: http://10.0.0.50:8082/project/600cc19e-46db-4751-955b-fe3421a00545 2026-05-05 17:19:08,938 - INFO - Validated that VN ctest-vn-23965476 is not found in API Server 2026-05-05 17:19:08,950 - DEBUG - VN ctest-vn-23965476 is not present in Agent 10.0.0.50 2026-05-05 17:19:08,950 - INFO - Validated that VN ctest-vn-23965476 is not in any agent 2026-05-05 17:19:08,964 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-23965476 info 2026-05-05 17:19:08,964 - INFO - Deleting VN ctest-vn-38974105 2026-05-05 17:19:09,085 - DEBUG - Response for deleting network () 2026-05-05 17:19:09,085 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3bff92cf-2d18-4a78-b9ad-07c4eb5e3001 2026-05-05 17:19:09,091 - DEBUG - Response Code: 404 2026-05-05 17:19:09,091 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-05 17:19:09,098 - DEBUG - Requesting: http://10.0.0.50:8082/domain/129f68c7-3876-4ce5-ae57-19602b868f83 2026-05-05 17:19:09,153 - DEBUG - Requesting: http://10.0.0.50:8082/project/600cc19e-46db-4751-955b-fe3421a00545 2026-05-05 17:19:09,234 - INFO - Validated that VN ctest-vn-38974105 is not found in API Server 2026-05-05 17:19:09,246 - DEBUG - VN ctest-vn-38974105 is not present in Agent 10.0.0.50 2026-05-05 17:19:09,246 - INFO - Validated that VN ctest-vn-38974105 is not in any agent 2026-05-05 17:19:09,262 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-38974105 info 2026-05-05 17:19:09,533 - DEBUG - No XMPP flaps were noticed during the test 2026-05-05 17:19:09,533 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2026-05-05 17:19:09,533 - INFO - -------------------------------------------------------------------------------- 2026-05-05 17:19:10,259 - INFO - Deleted project: ctest-TestBasicPolicy-43083747, ID : 600cc19e-46db-4751-955b-fe3421a00545