2025-11-10 18:51:52,560 - INFO - Domain Default found not creating 2025-11-10 18:51:52,853 - INFO - Project ctest-TestBasicPolicy-23039017 not found, creating it 2025-11-10 18:51:53,381 - INFO - Created Project:ctest-TestBasicPolicy-23039017, ID : f3f15ad9-851a-4542-bc8e-385c42f342b3 2025-11-10 18:51:54,952 - INFO - ================================================================================ 2025-11-10 18:51:54,953 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-10 18:51:54,953 - 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 2025-11-10 18:51:55,215 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.14': '0'}} with 2025-11-10 18:51:55,216 - INFO - Initial checks done. Running the testcase now 2025-11-10 18:51:55,216 - INFO - 2025-11-10 18:51:55,812 - DEBUG - Response for create_network : {'network': {'id': 'be006cfd-931e-4b20-b9fd-299d6942b3d7', 'name': 'ctest-vn-17238213', 'tenant_id': 'f3f15ad9851a4542bc8e385c42f342b3', 'project_id': 'f3f15ad9851a4542bc8e385c42f342b3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23039017', 'ctest-vn-17238213'], 'port_security_enabled': True, 'description': ''}} 2025-11-10 18:51:55,983 - DEBUG - Response for create_subnet : {'subnet': {'id': '6f51ade9-995f-4744-8cfa-6b7b44197ee7', 'name': '', 'tenant_id': 'f3f15ad9851a4542bc8e385c42f342b3', 'network_id': 'be006cfd-931e-4b20-b9fd-299d6942b3d7', 'ip_version': 4, 'cidr': '133.20.12.0/26', 'allocation_pools': [{'start': '133.20.12.2', 'end': '133.20.12.62'}], 'gateway_ip': '133.20.12.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '133.20.12.2', 'tags': [], 'project_id': 'f3f15ad9851a4542bc8e385c42f342b3'}} 2025-11-10 18:51:56,002 - INFO - Created VN ctest-vn-17238213 2025-11-10 18:51:56,054 - DEBUG - VN ctest-vn-17238213 UUID is be006cfd-931e-4b20-b9fd-299d6942b3d7 2025-11-10 18:51:56,385 - DEBUG - Response for create_network : {'network': {'id': '0e8c1fb3-8fc0-4332-8a2b-b4a2969b20be', 'name': 'ctest-vn-97643262', 'tenant_id': 'f3f15ad9851a4542bc8e385c42f342b3', 'project_id': 'f3f15ad9851a4542bc8e385c42f342b3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23039017', 'ctest-vn-97643262'], 'port_security_enabled': True, 'description': ''}} 2025-11-10 18:51:56,605 - DEBUG - Response for create_subnet : {'subnet': {'id': '70a5a18a-feb5-449f-9cee-53ec89420c1b', 'name': '', 'tenant_id': 'f3f15ad9851a4542bc8e385c42f342b3', 'network_id': '0e8c1fb3-8fc0-4332-8a2b-b4a2969b20be', 'ip_version': 4, 'cidr': '13.144.77.64/26', 'allocation_pools': [{'start': '13.144.77.66', 'end': '13.144.77.126'}], 'gateway_ip': '13.144.77.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '13.144.77.66', 'tags': [], 'project_id': 'f3f15ad9851a4542bc8e385c42f342b3'}} 2025-11-10 18:51:56,622 - INFO - Created VN ctest-vn-97643262 2025-11-10 18:51:56,674 - DEBUG - VN ctest-vn-97643262 UUID is 0e8c1fb3-8fc0-4332-8a2b-b4a2969b20be 2025-11-10 18:51:56,789 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-23039017:ctest-vn-17238213, 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-23039017:ctest-vn-97643262, 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] 2025-11-10 18:51:57,115 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'be006cfd-931e-4b20-b9fd-299d6942b3d7', 'name': 'ctest-vn-17238213', 'tenant_id': 'f3f15ad9851a4542bc8e385c42f342b3', 'project_id': 'f3f15ad9851a4542bc8e385c42f342b3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6f51ade9-995f-4744-8cfa-6b7b44197ee7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23039017', 'ctest-vn-17238213'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-23039017', 'ctest-policy-allow-all-99267179']], 'subnet_ipam': [{'subnet_cidr': '133.20.12.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-10 18:51:57,361 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0e8c1fb3-8fc0-4332-8a2b-b4a2969b20be', 'name': 'ctest-vn-97643262', 'tenant_id': 'f3f15ad9851a4542bc8e385c42f342b3', 'project_id': 'f3f15ad9851a4542bc8e385c42f342b3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['70a5a18a-feb5-449f-9cee-53ec89420c1b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23039017', 'ctest-vn-97643262'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-23039017', 'ctest-policy-allow-all-99267179']], 'subnet_ipam': [{'subnet_cidr': '13.144.77.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-10 18:51:57,526 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-10 18:51:57,831 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-10 18:51:57,866 - DEBUG - Requesting: http://10.0.0.22:8082/domain/01806cc8-88b6-4291-a70d-f67bc75f47ee 2025-11-10 18:51:57,885 - DEBUG - Requesting: http://10.0.0.22:8082/project/f3f15ad9-851a-4542-bc8e-385c42f342b3 2025-11-10 18:51:57,960 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/be006cfd-931e-4b20-b9fd-299d6942b3d7 2025-11-10 18:51:57,971 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/be006cfd-931e-4b20-b9fd-299d6942b3d7 2025-11-10 18:51:57,981 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/d3f0b63e-d33a-4ddc-a6d8-6700813701e0 2025-11-10 18:51:57,989 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/d3f0b63e-d33a-4ddc-a6d8-6700813701e0 2025-11-10 18:51:57,996 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/7b8b3716-e252-45c7-a126-b2e932c4cad2 2025-11-10 18:51:58,003 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-10 18:51:58,003 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/be006cfd-931e-4b20-b9fd-299d6942b3d7 2025-11-10 18:51:58,013 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/d3f0b63e-d33a-4ddc-a6d8-6700813701e0 2025-11-10 18:51:58,028 - INFO - Verified VN network id 12 for VN be006cfd-931e-4b20-b9fd-299d6942b3d7 2025-11-10 18:51:58,028 - INFO - Verifications in API Server for VN ctest-vn-17238213 passed 2025-11-10 18:51:58,028 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/be006cfd-931e-4b20-b9fd-299d6942b3d7 2025-11-10 18:51:58,039 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/d3f0b63e-d33a-4ddc-a6d8-6700813701e0 2025-11-10 18:51:58,047 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/d3f0b63e-d33a-4ddc-a6d8-6700813701e0 2025-11-10 18:51:58,056 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/7b8b3716-e252-45c7-a126-b2e932c4cad2 2025-11-10 18:51:58,077 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-23039017:ctest-vn-17238213', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-23039017', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13691062703557069600', 'uuid-lslong': '13401913822177047511'}, 'enable': 'true', 'created': '2025-11-10T18:51:55', 'last-modified': '2025-11-10T18:51:57', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.004963'} 2025-11-10 18:51:58,086 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-10 18:51:58,087 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-17238213 passed 2025-11-10 18:51:58,087 - DEBUG - ====Verifying policy data for ctest-vn-17238213 in API_Server ====== 2025-11-10 18:51:58,087 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-10 18:51:58,093 - DEBUG - Requesting: http://10.0.0.22:8082/domain/01806cc8-88b6-4291-a70d-f67bc75f47ee 2025-11-10 18:51:58,107 - DEBUG - Requesting: http://10.0.0.22:8082/project/f3f15ad9-851a-4542-bc8e-385c42f342b3 2025-11-10 18:51:58,184 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/be006cfd-931e-4b20-b9fd-299d6942b3d7 2025-11-10 18:51:58,196 - DEBUG - ==>Verifying data for policy with id: c9595c55-67fa-4476-8caa-120020f72e1e, fqn: ['default-domain', 'ctest-TestBasicPolicy-23039017', 'ctest-policy-allow-all-99267179'] 2025-11-10 18:51:58,196 - INFO - VN ctest-vn-17238213 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-10 18:51:58,196 - DEBUG - Verifying the vn in opserver 2025-11-10 18:51:58,197 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-23039017:ctest-vn-17238213 virtual network link through opserver 10.0.0.22 2025-11-10 18:51:58,197 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-11-10 18:51:58,500 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-11-10 18:51:58,560 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-23039017:ctest-vn-17238213', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-23039017:ctest-vn-17238213?flat'} 2025-11-10 18:51:58,560 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-23039017:ctest-vn-17238213 is found in opserver 2025-11-10 18:51:58,570 - DEBUG - Do not have enough data to verify VN in agent 2025-11-10 18:51:58,577 - DEBUG - VRF ids for VN ctest-vn-17238213: {} 2025-11-10 18:51:58,577 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-10 18:51:58,582 - DEBUG - Requesting: http://10.0.0.22:8082/domain/01806cc8-88b6-4291-a70d-f67bc75f47ee 2025-11-10 18:51:58,595 - DEBUG - Requesting: http://10.0.0.22:8082/project/f3f15ad9-851a-4542-bc8e-385c42f342b3 2025-11-10 18:51:58,666 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/0e8c1fb3-8fc0-4332-8a2b-b4a2969b20be 2025-11-10 18:51:58,678 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/0e8c1fb3-8fc0-4332-8a2b-b4a2969b20be 2025-11-10 18:51:58,689 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/b32ee107-3dc0-46ff-9762-fabbc7dc8496 2025-11-10 18:51:58,696 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/b32ee107-3dc0-46ff-9762-fabbc7dc8496 2025-11-10 18:51:58,702 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/b93b2fa7-8523-4796-90ff-9021e73685cc 2025-11-10 18:51:58,709 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-10 18:51:58,709 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/0e8c1fb3-8fc0-4332-8a2b-b4a2969b20be 2025-11-10 18:51:58,717 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/b32ee107-3dc0-46ff-9762-fabbc7dc8496 2025-11-10 18:51:58,734 - INFO - Verified VN network id 13 for VN 0e8c1fb3-8fc0-4332-8a2b-b4a2969b20be 2025-11-10 18:51:58,734 - INFO - Verifications in API Server for VN ctest-vn-97643262 passed 2025-11-10 18:51:58,734 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/0e8c1fb3-8fc0-4332-8a2b-b4a2969b20be 2025-11-10 18:51:58,745 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/b32ee107-3dc0-46ff-9762-fabbc7dc8496 2025-11-10 18:51:58,753 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/b32ee107-3dc0-46ff-9762-fabbc7dc8496 2025-11-10 18:51:58,760 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/b93b2fa7-8523-4796-90ff-9021e73685cc 2025-11-10 18:51:58,772 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-23039017:ctest-vn-97643262', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-23039017', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1048247669341831986', 'uuid-lslong': '9956250011637063870'}, 'enable': 'true', 'created': '2025-11-10T18:51:56', 'last-modified': '2025-11-10T18:51:57', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.445070'} 2025-11-10 18:51:58,778 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-10 18:51:58,778 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-97643262 passed 2025-11-10 18:51:58,778 - DEBUG - ====Verifying policy data for ctest-vn-97643262 in API_Server ====== 2025-11-10 18:51:58,778 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-10 18:51:58,784 - DEBUG - Requesting: http://10.0.0.22:8082/domain/01806cc8-88b6-4291-a70d-f67bc75f47ee 2025-11-10 18:51:58,796 - DEBUG - Requesting: http://10.0.0.22:8082/project/f3f15ad9-851a-4542-bc8e-385c42f342b3 2025-11-10 18:51:58,887 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/0e8c1fb3-8fc0-4332-8a2b-b4a2969b20be 2025-11-10 18:51:58,901 - DEBUG - ==>Verifying data for policy with id: c9595c55-67fa-4476-8caa-120020f72e1e, fqn: ['default-domain', 'ctest-TestBasicPolicy-23039017', 'ctest-policy-allow-all-99267179'] 2025-11-10 18:51:58,901 - INFO - VN ctest-vn-97643262 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-10 18:51:58,901 - DEBUG - Verifying the vn in opserver 2025-11-10 18:51:58,901 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-23039017:ctest-vn-97643262 virtual network link through opserver 10.0.0.22 2025-11-10 18:51:58,901 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-11-10 18:51:58,913 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-23039017:ctest-vn-97643262', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-23039017:ctest-vn-97643262?flat'} 2025-11-10 18:51:58,913 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-23039017:ctest-vn-97643262 is found in opserver 2025-11-10 18:51:58,926 - DEBUG - Do not have enough data to verify VN in agent 2025-11-10 18:51:58,930 - DEBUG - VRF ids for VN ctest-vn-97643262: {} 2025-11-10 18:51:58,998 - DEBUG - Services list from nova: [, , ] 2025-11-10 18:52:00,195 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4685-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4685-1) 2025-11-10 18:52:01,424 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4685-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4685-1) 2025-11-10 18:52:01,425 - INFO - Waiting for VM ctest-TestBasicPolicy-23039017-92023457 to be up.. 2025-11-10 18:52:01,618 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-10 18:52:06,706 - DEBUG - VM is in ACTIVE state now 2025-11-10 18:52:06,706 - INFO - VM name : ctest-TestBasicPolicy-23039017-92023457 2025-11-10 18:52:06,800 - DEBUG - VM ctest-TestBasicPolicy-23039017-92023457 ID is 0ef942fa-fb5a-46d7-9b1c-fe10aa710740 2025-11-10 18:52:06,821 - DEBUG - VM ctest-TestBasicPolicy-23039017-92023457 launched on Node cn-jenkins-deploy-platform-ansible-os-4685-1 2025-11-10 18:52:06,901 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/0ef942fa-fb5a-46d7-9b1c-fe10aa710740 2025-11-10 18:52:06,910 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/40aa52e0-6deb-4603-a005-888d229d7635 2025-11-10 18:52:10,156 - 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 1005ms') 2025-11-10 18:52:10,156 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-23039017-92023457 failed! 2025-11-10 18:52:10,214 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-23039017:ctest-vn-17238213 is 133.20.12.1 and allocation pool is NOT set 2025-11-10 18:52:12,279 - 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=9.71 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.844 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.844/5.278/9.713/4.434 ms') 2025-11-10 18:52:12,279 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-23039017-92023457 passed 2025-11-10 18:52:12,438 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 18:52:12,438 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-23039017-92023457, IP 133.20.12.3, Port 22 2025-11-10 18:52:12,623 - DEBUG - VM ctest-TestBasicPolicy-23039017-92023457 is ready for SSH connections 2025-11-10 18:52:12,623 - INFO - Waiting for VM ctest-TestBasicPolicy-23039017-65037911 to be up.. 2025-11-10 18:52:12,766 - DEBUG - VM is in ACTIVE state now 2025-11-10 18:52:12,766 - INFO - VM name : ctest-TestBasicPolicy-23039017-65037911 2025-11-10 18:52:12,846 - DEBUG - VM ctest-TestBasicPolicy-23039017-65037911 ID is aa653c80-3fee-4bb4-8f59-6c6a686b91bf 2025-11-10 18:52:12,847 - DEBUG - VM ctest-TestBasicPolicy-23039017-65037911 launched on Node cn-jenkins-deploy-platform-ansible-os-4685-1 2025-11-10 18:52:12,924 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/aa653c80-3fee-4bb4-8f59-6c6a686b91bf 2025-11-10 18:52:12,937 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/184d5031-497b-490f-aad0-268fd88df69c 2025-11-10 18:52:14,178 - 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.22 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.844 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.844/2.032/3.220/1.188 ms') 2025-11-10 18:52:14,178 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-23039017-65037911 passed 2025-11-10 18:52:14,334 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 18:52:14,334 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-23039017-65037911, IP 13.144.77.67, Port 22 2025-11-10 18:52:14,501 - DEBUG - VM ctest-TestBasicPolicy-23039017-65037911 is ready for SSH connections 2025-11-10 18:52:14,501 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 18:52:14,501 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 13.144.77.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-10 18:52:14,501 - DEBUG - ping -s 56 -c 3 -W 1 13.144.77.67 2025-11-10 18:52:18,715 - DEBUG - PING 13.144.77.67 (13.144.77.67): 56 data bytes 64 bytes from 13.144.77.67: seq=0 ttl=63 time=3.312 ms 64 bytes from 13.144.77.67: seq=1 ttl=63 time=0.975 ms 64 bytes from 13.144.77.67: seq=2 ttl=63 time=1.500 ms --- 13.144.77.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.975/1.929/3.312 ms 2025-11-10 18:52:18,715 - INFO - Ping to IP 13.144.77.67 from VM ctest-TestBasicPolicy-23039017-92023457 passed 2025-11-10 18:52:18,902 - DEBUG - Policy Update Response {"network-policy": {"uuid": "c9595c55-67fa-4476-8caa-120020f72e1e", "href": "http://10.0.0.22:8082/network-policy/c9595c55-67fa-4476-8caa-120020f72e1e"}} 2025-11-10 18:52:18,902 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 18:52:18,902 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 13.144.77.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-10 18:52:18,902 - DEBUG - ping -s 56 -c 3 -W 1 13.144.77.67 2025-11-10 18:52:22,146 - DEBUG - PING 13.144.77.67 (13.144.77.67): 56 data bytes --- 13.144.77.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-10 18:52:22,146 - WARNING - Ping to IP 13.144.77.67 from VM ctest-TestBasicPolicy-23039017-92023457 failed 2025-11-10 18:52:22,146 - INFO - Deleting VM ctest-TestBasicPolicy-23039017-65037911 2025-11-10 18:52:22,253 - INFO - Deleting VM ctest-TestBasicPolicy-23039017-92023457 2025-11-10 18:52:22,738 - INFO - Deleted policy ctest-policy-allow-all-99267179 2025-11-10 18:52:22,738 - INFO - Deleting VN ctest-vn-97643262 2025-11-10 18:52:22,774 - DEBUG - VN 0e8c1fb3-8fc0-4332-8a2b-b4a2969b20be still in use: Unable to complete operation on network 0e8c1fb3-8fc0-4332-8a2b-b4a2969b20be. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ed72f0c5-457c-453c-a455-d914cb1e6257'] 2025-11-10 18:52:22,775 - WARNING - Deleting VN ctest-vn-97643262 failed..Will retry 2025-11-10 18:52:24,907 - DEBUG - Response for deleting network () 2025-11-10 18:52:24,907 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/b32ee107-3dc0-46ff-9762-fabbc7dc8496 2025-11-10 18:52:24,913 - DEBUG - Response Code: 404 2025-11-10 18:52:24,913 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-10 18:52:24,918 - DEBUG - Requesting: http://10.0.0.22:8082/domain/01806cc8-88b6-4291-a70d-f67bc75f47ee 2025-11-10 18:52:24,977 - DEBUG - Requesting: http://10.0.0.22:8082/project/f3f15ad9-851a-4542-bc8e-385c42f342b3 2025-11-10 18:52:25,053 - INFO - Validated that VN ctest-vn-97643262 is not found in API Server 2025-11-10 18:52:25,066 - DEBUG - VN ctest-vn-97643262 is not present in Agent 10.0.0.22 2025-11-10 18:52:25,066 - INFO - Validated that VN ctest-vn-97643262 is not in any agent 2025-11-10 18:52:25,088 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-97643262 info 2025-11-10 18:52:25,088 - INFO - Deleting VN ctest-vn-17238213 2025-11-10 18:52:25,206 - DEBUG - Response for deleting network () 2025-11-10 18:52:25,206 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/d3f0b63e-d33a-4ddc-a6d8-6700813701e0 2025-11-10 18:52:25,214 - DEBUG - Response Code: 404 2025-11-10 18:52:25,214 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-10 18:52:25,219 - DEBUG - Requesting: http://10.0.0.22:8082/domain/01806cc8-88b6-4291-a70d-f67bc75f47ee 2025-11-10 18:52:25,271 - DEBUG - Requesting: http://10.0.0.22:8082/project/f3f15ad9-851a-4542-bc8e-385c42f342b3 2025-11-10 18:52:25,341 - INFO - Validated that VN ctest-vn-17238213 is not found in API Server 2025-11-10 18:52:25,353 - DEBUG - VN ctest-vn-17238213 is not present in Agent 10.0.0.22 2025-11-10 18:52:25,353 - INFO - Validated that VN ctest-vn-17238213 is not in any agent 2025-11-10 18:52:25,368 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-17238213 info 2025-11-10 18:52:25,650 - DEBUG - No XMPP flaps were noticed during the test 2025-11-10 18:52:25,651 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31] 2025-11-10 18:52:25,651 - INFO - -------------------------------------------------------------------------------- 2025-11-10 18:52:26,372 - INFO - Deleted project: ctest-TestBasicPolicy-23039017, ID : f3f15ad9-851a-4542-bc8e-385c42f342b3