2026-02-04 16:46:12,579 - INFO - Domain Default found not creating 2026-02-04 16:46:12,754 - INFO - Project ctest-TestBasicPolicy-95591662 not found, creating it 2026-02-04 16:46:13,191 - INFO - Created Project:ctest-TestBasicPolicy-95591662, ID : 6ed798cf-42d6-4ca8-8f67-a15e6da35842 2026-02-04 16:46:14,632 - INFO - ================================================================================ 2026-02-04 16:46:14,632 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-04 16:46:14,632 - 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-02-04 16:46:14,885 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-02-04 16:46:14,885 - INFO - Initial checks done. Running the testcase now 2026-02-04 16:46:14,885 - INFO - 2026-02-04 16:46:15,419 - DEBUG - Response for create_network : {'network': {'id': '35462c48-36ef-4b19-8044-42a8957e9141', 'name': 'ctest-vn-53124044', 'tenant_id': '6ed798cf42d64ca88f67a15e6da35842', 'project_id': '6ed798cf42d64ca88f67a15e6da35842', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-95591662', 'ctest-vn-53124044'], 'port_security_enabled': True, 'description': ''}} 2026-02-04 16:46:15,592 - DEBUG - Response for create_subnet : {'subnet': {'id': '7a3d3ac9-051e-47e5-925a-0439ef9025ec', 'name': '', 'tenant_id': '6ed798cf42d64ca88f67a15e6da35842', 'network_id': '35462c48-36ef-4b19-8044-42a8957e9141', 'ip_version': 4, 'cidr': '29.7.37.0/26', 'allocation_pools': [{'start': '29.7.37.2', 'end': '29.7.37.62'}], 'gateway_ip': '29.7.37.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '29.7.37.2', 'tags': [], 'project_id': '6ed798cf42d64ca88f67a15e6da35842'}} 2026-02-04 16:46:15,607 - INFO - Created VN ctest-vn-53124044 2026-02-04 16:46:15,657 - DEBUG - VN ctest-vn-53124044 UUID is 35462c48-36ef-4b19-8044-42a8957e9141 2026-02-04 16:46:15,964 - DEBUG - Response for create_network : {'network': {'id': '0b1f7903-4ef7-4a52-933b-93a33e6685b2', 'name': 'ctest-vn-09104252', 'tenant_id': '6ed798cf42d64ca88f67a15e6da35842', 'project_id': '6ed798cf42d64ca88f67a15e6da35842', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-95591662', 'ctest-vn-09104252'], 'port_security_enabled': True, 'description': ''}} 2026-02-04 16:46:16,163 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c16e4f0f-bde0-4b13-858e-0bb5834770c0', 'name': '', 'tenant_id': '6ed798cf42d64ca88f67a15e6da35842', 'network_id': '0b1f7903-4ef7-4a52-933b-93a33e6685b2', 'ip_version': 4, 'cidr': '98.72.152.192/26', 'allocation_pools': [{'start': '98.72.152.194', 'end': '98.72.152.254'}], 'gateway_ip': '98.72.152.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '98.72.152.194', 'tags': [], 'project_id': '6ed798cf42d64ca88f67a15e6da35842'}} 2026-02-04 16:46:16,178 - INFO - Created VN ctest-vn-09104252 2026-02-04 16:46:16,229 - DEBUG - VN ctest-vn-09104252 UUID is 0b1f7903-4ef7-4a52-933b-93a33e6685b2 2026-02-04 16:46:16,376 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-95591662:ctest-vn-53124044, 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-95591662:ctest-vn-09104252, 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-02-04 16:46:16,658 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '35462c48-36ef-4b19-8044-42a8957e9141', 'name': 'ctest-vn-53124044', 'tenant_id': '6ed798cf42d64ca88f67a15e6da35842', 'project_id': '6ed798cf42d64ca88f67a15e6da35842', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7a3d3ac9-051e-47e5-925a-0439ef9025ec'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-95591662', 'ctest-vn-53124044'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-95591662', 'ctest-policy-allow-all-48709774']], 'subnet_ipam': [{'subnet_cidr': '29.7.37.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-04 16:46:16,909 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0b1f7903-4ef7-4a52-933b-93a33e6685b2', 'name': 'ctest-vn-09104252', 'tenant_id': '6ed798cf42d64ca88f67a15e6da35842', 'project_id': '6ed798cf42d64ca88f67a15e6da35842', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c16e4f0f-bde0-4b13-858e-0bb5834770c0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-95591662', 'ctest-vn-09104252'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-95591662', 'ctest-policy-allow-all-48709774']], 'subnet_ipam': [{'subnet_cidr': '98.72.152.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-04 16:46:17,057 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-04 16:46:17,353 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-04 16:46:17,381 - DEBUG - Requesting: http://10.0.0.38:8082/domain/a99fb49a-81a3-4ff0-991e-add9885af21d 2026-02-04 16:46:17,392 - DEBUG - Requesting: http://10.0.0.38:8082/project/6ed798cf-42d6-4ca8-8f67-a15e6da35842 2026-02-04 16:46:17,464 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/35462c48-36ef-4b19-8044-42a8957e9141 2026-02-04 16:46:17,474 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/35462c48-36ef-4b19-8044-42a8957e9141 2026-02-04 16:46:17,482 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d4bf2cfb-2511-4f42-b1c6-3c386c665b56 2026-02-04 16:46:17,489 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d4bf2cfb-2511-4f42-b1c6-3c386c665b56 2026-02-04 16:46:17,494 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/d9d1506e-b871-45de-96fc-7fc3eb910752 2026-02-04 16:46:17,500 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-04 16:46:17,500 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/35462c48-36ef-4b19-8044-42a8957e9141 2026-02-04 16:46:17,507 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d4bf2cfb-2511-4f42-b1c6-3c386c665b56 2026-02-04 16:46:17,519 - INFO - Verified VN network id 11 for VN 35462c48-36ef-4b19-8044-42a8957e9141 2026-02-04 16:46:17,519 - INFO - Verifications in API Server for VN ctest-vn-53124044 passed 2026-02-04 16:46:17,519 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/35462c48-36ef-4b19-8044-42a8957e9141 2026-02-04 16:46:17,526 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d4bf2cfb-2511-4f42-b1c6-3c386c665b56 2026-02-04 16:46:17,531 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d4bf2cfb-2511-4f42-b1c6-3c386c665b56 2026-02-04 16:46:17,536 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/d9d1506e-b871-45de-96fc-7fc3eb910752 2026-02-04 16:46:17,546 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-95591662:ctest-vn-53124044', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-95591662', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3838804421050845977', 'uuid-lslong': '9242585627101139265'}, 'enable': 'true', 'created': '2026-02-04T16:46:15', 'last-modified': '2026-02-04T16:46:16', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.908460'} 2026-02-04 16:46:17,550 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-04 16:46:17,550 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-53124044 passed 2026-02-04 16:46:17,551 - DEBUG - ====Verifying policy data for ctest-vn-53124044 in API_Server ====== 2026-02-04 16:46:17,551 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-04 16:46:17,555 - DEBUG - Requesting: http://10.0.0.38:8082/domain/a99fb49a-81a3-4ff0-991e-add9885af21d 2026-02-04 16:46:17,564 - DEBUG - Requesting: http://10.0.0.38:8082/project/6ed798cf-42d6-4ca8-8f67-a15e6da35842 2026-02-04 16:46:17,634 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/35462c48-36ef-4b19-8044-42a8957e9141 2026-02-04 16:46:17,641 - DEBUG - ==>Verifying data for policy with id: 8f36e43b-ef50-4e0f-871d-6f40b8b87d79, fqn: ['default-domain', 'ctest-TestBasicPolicy-95591662', 'ctest-policy-allow-all-48709774'] 2026-02-04 16:46:17,641 - INFO - VN ctest-vn-53124044 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-04 16:46:17,642 - DEBUG - Verifying the vn in opserver 2026-02-04 16:46:17,642 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-95591662:ctest-vn-53124044 virtual network link through opserver 10.0.0.38 2026-02-04 16:46:17,642 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-02-04 16:46:17,934 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-02-04 16:46:17,994 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-95591662:ctest-vn-53124044', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-95591662:ctest-vn-53124044?flat'} 2026-02-04 16:46:17,994 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-95591662:ctest-vn-53124044 is found in opserver 2026-02-04 16:46:18,003 - DEBUG - Do not have enough data to verify VN in agent 2026-02-04 16:46:18,007 - DEBUG - VRF ids for VN ctest-vn-53124044: {} 2026-02-04 16:46:18,008 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-04 16:46:18,012 - DEBUG - Requesting: http://10.0.0.38:8082/domain/a99fb49a-81a3-4ff0-991e-add9885af21d 2026-02-04 16:46:18,022 - DEBUG - Requesting: http://10.0.0.38:8082/project/6ed798cf-42d6-4ca8-8f67-a15e6da35842 2026-02-04 16:46:18,089 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0b1f7903-4ef7-4a52-933b-93a33e6685b2 2026-02-04 16:46:18,100 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0b1f7903-4ef7-4a52-933b-93a33e6685b2 2026-02-04 16:46:18,108 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/eccb1b54-6429-43d1-8224-3e5bf2e95693 2026-02-04 16:46:18,113 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/eccb1b54-6429-43d1-8224-3e5bf2e95693 2026-02-04 16:46:18,119 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/7bd6d39e-aa1d-4cd6-b6e5-1a4eb310e889 2026-02-04 16:46:18,124 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-04 16:46:18,124 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0b1f7903-4ef7-4a52-933b-93a33e6685b2 2026-02-04 16:46:18,132 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/eccb1b54-6429-43d1-8224-3e5bf2e95693 2026-02-04 16:46:18,143 - INFO - Verified VN network id 12 for VN 0b1f7903-4ef7-4a52-933b-93a33e6685b2 2026-02-04 16:46:18,143 - INFO - Verifications in API Server for VN ctest-vn-09104252 passed 2026-02-04 16:46:18,143 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0b1f7903-4ef7-4a52-933b-93a33e6685b2 2026-02-04 16:46:18,151 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/eccb1b54-6429-43d1-8224-3e5bf2e95693 2026-02-04 16:46:18,158 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/eccb1b54-6429-43d1-8224-3e5bf2e95693 2026-02-04 16:46:18,163 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/7bd6d39e-aa1d-4cd6-b6e5-1a4eb310e889 2026-02-04 16:46:18,173 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-95591662:ctest-vn-09104252', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-95591662', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '801492313811929682', 'uuid-lslong': '10609235676537193906'}, 'enable': 'true', 'created': '2026-02-04T16:46:15', 'last-modified': '2026-02-04T16:46:16', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.323057'} 2026-02-04 16:46:18,178 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-04 16:46:18,178 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-09104252 passed 2026-02-04 16:46:18,178 - DEBUG - ====Verifying policy data for ctest-vn-09104252 in API_Server ====== 2026-02-04 16:46:18,178 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-04 16:46:18,183 - DEBUG - Requesting: http://10.0.0.38:8082/domain/a99fb49a-81a3-4ff0-991e-add9885af21d 2026-02-04 16:46:18,192 - DEBUG - Requesting: http://10.0.0.38:8082/project/6ed798cf-42d6-4ca8-8f67-a15e6da35842 2026-02-04 16:46:18,257 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0b1f7903-4ef7-4a52-933b-93a33e6685b2 2026-02-04 16:46:18,265 - DEBUG - ==>Verifying data for policy with id: 8f36e43b-ef50-4e0f-871d-6f40b8b87d79, fqn: ['default-domain', 'ctest-TestBasicPolicy-95591662', 'ctest-policy-allow-all-48709774'] 2026-02-04 16:46:18,265 - INFO - VN ctest-vn-09104252 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-04 16:46:18,265 - DEBUG - Verifying the vn in opserver 2026-02-04 16:46:18,265 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-95591662:ctest-vn-09104252 virtual network link through opserver 10.0.0.38 2026-02-04 16:46:18,265 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-02-04 16:46:18,274 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-95591662:ctest-vn-09104252', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-95591662:ctest-vn-09104252?flat'} 2026-02-04 16:46:18,274 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-95591662:ctest-vn-09104252 is found in opserver 2026-02-04 16:46:18,283 - DEBUG - Do not have enough data to verify VN in agent 2026-02-04 16:46:18,287 - DEBUG - VRF ids for VN ctest-vn-09104252: {} 2026-02-04 16:46:18,338 - DEBUG - Services list from nova: [, , ] 2026-02-04 16:46:19,326 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5207-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5207-1) 2026-02-04 16:46:20,408 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5207-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5207-1) 2026-02-04 16:46:20,408 - INFO - Waiting for VM ctest-TestBasicPolicy-95591662-01034878 to be up.. 2026-02-04 16:46:20,475 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-04 16:46:25,557 - DEBUG - VM is in ACTIVE state now 2026-02-04 16:46:25,557 - INFO - VM name : ctest-TestBasicPolicy-95591662-01034878 2026-02-04 16:46:25,629 - DEBUG - VM ctest-TestBasicPolicy-95591662-01034878 ID is 697cdee1-ed29-4333-ba58-43cd60d93b12 2026-02-04 16:46:25,652 - DEBUG - VM ctest-TestBasicPolicy-95591662-01034878 launched on Node cn-jenkins-deploy-platform-ansible-os-5207-1 2026-02-04 16:46:25,732 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/697cdee1-ed29-4333-ba58-43cd60d93b12 2026-02-04 16:46:25,741 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/0b5b961c-c6b8-44ef-9f77-8aeccf0c6f43 2026-02-04 16:46:28,996 - 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 1027ms') 2026-02-04 16:46:28,997 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-95591662-01034878 failed! 2026-02-04 16:46:29,053 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-95591662:ctest-vn-53124044 is 29.7.37.1 and allocation pool is NOT set 2026-02-04 16:46:31,112 - 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=4.91 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.779 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.779/2.842/4.906/2.063 ms') 2026-02-04 16:46:31,112 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-95591662-01034878 passed 2026-02-04 16:46:31,261 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-04 16:46:31,261 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-95591662-01034878, IP 29.7.37.3, Port 22 2026-02-04 16:46:31,424 - DEBUG - VM ctest-TestBasicPolicy-95591662-01034878 is ready for SSH connections 2026-02-04 16:46:31,424 - INFO - Waiting for VM ctest-TestBasicPolicy-95591662-99044615 to be up.. 2026-02-04 16:46:31,496 - DEBUG - VM is in ACTIVE state now 2026-02-04 16:46:31,497 - INFO - VM name : ctest-TestBasicPolicy-95591662-99044615 2026-02-04 16:46:31,566 - DEBUG - VM ctest-TestBasicPolicy-95591662-99044615 ID is c9d5545e-44b1-4051-871b-55bbe0a10c65 2026-02-04 16:46:31,566 - DEBUG - VM ctest-TestBasicPolicy-95591662-99044615 launched on Node cn-jenkins-deploy-platform-ansible-os-5207-1 2026-02-04 16:46:31,637 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/c9d5545e-44b1-4051-871b-55bbe0a10c65 2026-02-04 16:46:31,645 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/6a75952e-4d88-45e6-bf86-7c5af7db1d92 2026-02-04 16:46:32,899 - 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.539 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.539/1.914/3.290/1.375 ms') 2026-02-04 16:46:32,899 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-95591662-99044615 passed 2026-02-04 16:46:33,045 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-04 16:46:33,045 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-95591662-99044615, IP 98.72.152.195, Port 22 2026-02-04 16:46:33,200 - DEBUG - VM ctest-TestBasicPolicy-95591662-99044615 is ready for SSH connections 2026-02-04 16:46:33,200 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-04 16:46:33,200 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 98.72.152.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-02-04 16:46:33,200 - DEBUG - ping -s 56 -c 3 -W 1 98.72.152.195 2026-02-04 16:46:36,869 - DEBUG - PING 98.72.152.195 (98.72.152.195): 56 data bytes 64 bytes from 98.72.152.195: seq=0 ttl=63 time=3.161 ms 64 bytes from 98.72.152.195: seq=1 ttl=63 time=1.020 ms 64 bytes from 98.72.152.195: seq=2 ttl=63 time=0.821 ms --- 98.72.152.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.821/1.667/3.161 ms 2026-02-04 16:46:36,869 - INFO - Ping to IP 98.72.152.195 from VM ctest-TestBasicPolicy-95591662-01034878 passed 2026-02-04 16:46:37,040 - DEBUG - Policy Update Response {"network-policy": {"uuid": "8f36e43b-ef50-4e0f-871d-6f40b8b87d79", "href": "http://10.0.0.38:8082/network-policy/8f36e43b-ef50-4e0f-871d-6f40b8b87d79"}} 2026-02-04 16:46:37,040 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-04 16:46:37,041 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 98.72.152.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-02-04 16:46:37,041 - DEBUG - ping -s 56 -c 3 -W 1 98.72.152.195 2026-02-04 16:46:40,243 - DEBUG - PING 98.72.152.195 (98.72.152.195): 56 data bytes --- 98.72.152.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-04 16:46:40,243 - WARNING - Ping to IP 98.72.152.195 from VM ctest-TestBasicPolicy-95591662-01034878 failed 2026-02-04 16:46:40,243 - INFO - Deleting VM ctest-TestBasicPolicy-95591662-99044615 2026-02-04 16:46:40,307 - INFO - Deleting VM ctest-TestBasicPolicy-95591662-01034878 2026-02-04 16:46:40,622 - INFO - Deleted policy ctest-policy-allow-all-48709774 2026-02-04 16:46:40,622 - INFO - Deleting VN ctest-vn-09104252 2026-02-04 16:46:40,653 - DEBUG - VN 0b1f7903-4ef7-4a52-933b-93a33e6685b2 still in use: Unable to complete operation on network 0b1f7903-4ef7-4a52-933b-93a33e6685b2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f40f7252-9d0c-4c28-8154-9b314e6e208a'] 2026-02-04 16:46:40,653 - WARNING - Deleting VN ctest-vn-09104252 failed..Will retry 2026-02-04 16:46:42,785 - DEBUG - Response for deleting network () 2026-02-04 16:46:42,785 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/eccb1b54-6429-43d1-8224-3e5bf2e95693 2026-02-04 16:46:42,789 - DEBUG - Response Code: 404 2026-02-04 16:46:42,789 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-04 16:46:42,796 - DEBUG - Requesting: http://10.0.0.38:8082/domain/a99fb49a-81a3-4ff0-991e-add9885af21d 2026-02-04 16:46:42,851 - DEBUG - Requesting: http://10.0.0.38:8082/project/6ed798cf-42d6-4ca8-8f67-a15e6da35842 2026-02-04 16:46:42,926 - INFO - Validated that VN ctest-vn-09104252 is not found in API Server 2026-02-04 16:46:42,936 - DEBUG - VN ctest-vn-09104252 is not present in Agent 10.0.0.38 2026-02-04 16:46:42,936 - INFO - Validated that VN ctest-vn-09104252 is not in any agent 2026-02-04 16:46:42,949 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-09104252 info 2026-02-04 16:46:42,949 - INFO - Deleting VN ctest-vn-53124044 2026-02-04 16:46:43,040 - DEBUG - Response for deleting network () 2026-02-04 16:46:43,040 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d4bf2cfb-2511-4f42-b1c6-3c386c665b56 2026-02-04 16:46:43,045 - DEBUG - Response Code: 404 2026-02-04 16:46:43,046 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-04 16:46:43,052 - DEBUG - Requesting: http://10.0.0.38:8082/domain/a99fb49a-81a3-4ff0-991e-add9885af21d 2026-02-04 16:46:43,105 - DEBUG - Requesting: http://10.0.0.38:8082/project/6ed798cf-42d6-4ca8-8f67-a15e6da35842 2026-02-04 16:46:43,173 - INFO - Validated that VN ctest-vn-53124044 is not found in API Server 2026-02-04 16:46:43,181 - DEBUG - VN ctest-vn-53124044 is not present in Agent 10.0.0.38 2026-02-04 16:46:43,181 - INFO - Validated that VN ctest-vn-53124044 is not in any agent 2026-02-04 16:46:43,192 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-53124044 info 2026-02-04 16:46:43,446 - DEBUG - No XMPP flaps were noticed during the test 2026-02-04 16:46:43,446 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2026-02-04 16:46:43,446 - INFO - -------------------------------------------------------------------------------- 2026-02-04 16:46:44,127 - INFO - Deleted project: ctest-TestBasicPolicy-95591662, ID : 6ed798cf-42d6-4ca8-8f67-a15e6da35842