2025-08-20 15:57:00,457 - INFO - Domain Default found not creating 2025-08-20 15:57:00,581 - INFO - Project ctest-TestBasicPolicy-47792262 not found, creating it 2025-08-20 15:57:01,011 - INFO - Created Project:ctest-TestBasicPolicy-47792262, ID : 7dd8d48a-8004-4b4f-a14f-8e282bf80c63 2025-08-20 15:57:02,435 - INFO - ================================================================================ 2025-08-20 15:57:02,435 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-20 15:57:02,435 - 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-08-20 15:57:02,687 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.17': '0'}} with 2025-08-20 15:57:02,688 - INFO - Initial checks done. Running the testcase now 2025-08-20 15:57:02,688 - INFO - 2025-08-20 15:57:03,212 - DEBUG - Response for create_network : {'network': {'id': 'b6f98abd-e4ac-48b9-bbc1-8b478b3c4a15', 'name': 'ctest-vn-76369792', 'tenant_id': '7dd8d48a80044b4fa14f8e282bf80c63', 'project_id': '7dd8d48a80044b4fa14f8e282bf80c63', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-47792262', 'ctest-vn-76369792'], 'port_security_enabled': True, 'description': ''}} 2025-08-20 15:57:03,423 - DEBUG - Response for create_subnet : {'subnet': {'id': '0503a696-7efc-4502-8404-a99d39680d6c', 'name': '', 'tenant_id': '7dd8d48a80044b4fa14f8e282bf80c63', 'network_id': 'b6f98abd-e4ac-48b9-bbc1-8b478b3c4a15', 'ip_version': 4, 'cidr': '3.107.86.0/26', 'allocation_pools': [{'start': '3.107.86.2', 'end': '3.107.86.62'}], 'gateway_ip': '3.107.86.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '3.107.86.2', 'tags': [], 'project_id': '7dd8d48a80044b4fa14f8e282bf80c63'}} 2025-08-20 15:57:03,439 - INFO - Created VN ctest-vn-76369792 2025-08-20 15:57:03,494 - DEBUG - VN ctest-vn-76369792 UUID is b6f98abd-e4ac-48b9-bbc1-8b478b3c4a15 2025-08-20 15:57:03,816 - DEBUG - Response for create_network : {'network': {'id': '4021172d-f165-4de6-90fc-610d1c6a654c', 'name': 'ctest-vn-86818177', 'tenant_id': '7dd8d48a80044b4fa14f8e282bf80c63', 'project_id': '7dd8d48a80044b4fa14f8e282bf80c63', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-47792262', 'ctest-vn-86818177'], 'port_security_enabled': True, 'description': ''}} 2025-08-20 15:57:04,003 - DEBUG - Response for create_subnet : {'subnet': {'id': '4e013b3f-08ad-48b9-99a3-f7f31b609bef', 'name': '', 'tenant_id': '7dd8d48a80044b4fa14f8e282bf80c63', 'network_id': '4021172d-f165-4de6-90fc-610d1c6a654c', 'ip_version': 4, 'cidr': '14.37.181.64/26', 'allocation_pools': [{'start': '14.37.181.66', 'end': '14.37.181.126'}], 'gateway_ip': '14.37.181.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '14.37.181.66', 'tags': [], 'project_id': '7dd8d48a80044b4fa14f8e282bf80c63'}} 2025-08-20 15:57:04,023 - INFO - Created VN ctest-vn-86818177 2025-08-20 15:57:04,074 - DEBUG - VN ctest-vn-86818177 UUID is 4021172d-f165-4de6-90fc-610d1c6a654c 2025-08-20 15:57:04,218 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-47792262:ctest-vn-76369792, 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-47792262:ctest-vn-86818177, 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-08-20 15:57:04,502 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b6f98abd-e4ac-48b9-bbc1-8b478b3c4a15', 'name': 'ctest-vn-76369792', 'tenant_id': '7dd8d48a80044b4fa14f8e282bf80c63', 'project_id': '7dd8d48a80044b4fa14f8e282bf80c63', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0503a696-7efc-4502-8404-a99d39680d6c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-47792262', 'ctest-vn-76369792'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-47792262', 'ctest-policy-allow-all-20414361']], 'subnet_ipam': [{'subnet_cidr': '3.107.86.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-20 15:57:04,728 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4021172d-f165-4de6-90fc-610d1c6a654c', 'name': 'ctest-vn-86818177', 'tenant_id': '7dd8d48a80044b4fa14f8e282bf80c63', 'project_id': '7dd8d48a80044b4fa14f8e282bf80c63', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4e013b3f-08ad-48b9-99a3-f7f31b609bef'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-47792262', 'ctest-vn-86818177'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-47792262', 'ctest-policy-allow-all-20414361']], 'subnet_ipam': [{'subnet_cidr': '14.37.181.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-20 15:57:04,890 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-08-20 15:57:05,178 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-08-20 15:57:05,204 - DEBUG - Requesting: http://10.0.0.65:8082/domain/40704709-79c1-40e2-9b62-9eb8ae53f251 2025-08-20 15:57:05,216 - DEBUG - Requesting: http://10.0.0.65:8082/project/7dd8d48a-8004-4b4f-a14f-8e282bf80c63 2025-08-20 15:57:05,294 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/b6f98abd-e4ac-48b9-bbc1-8b478b3c4a15 2025-08-20 15:57:05,304 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/b6f98abd-e4ac-48b9-bbc1-8b478b3c4a15 2025-08-20 15:57:05,314 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/b5b2993d-39e0-4a93-9a99-d692bb7ef739 2025-08-20 15:57:05,320 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/b5b2993d-39e0-4a93-9a99-d692bb7ef739 2025-08-20 15:57:05,327 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/d72115a8-90b7-4e5d-81a7-18f23fe651c2 2025-08-20 15:57:05,332 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-20 15:57:05,332 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/b6f98abd-e4ac-48b9-bbc1-8b478b3c4a15 2025-08-20 15:57:05,341 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/b5b2993d-39e0-4a93-9a99-d692bb7ef739 2025-08-20 15:57:05,354 - INFO - Verified VN network id 12 for VN b6f98abd-e4ac-48b9-bbc1-8b478b3c4a15 2025-08-20 15:57:05,354 - INFO - Verifications in API Server for VN ctest-vn-76369792 passed 2025-08-20 15:57:05,354 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/b6f98abd-e4ac-48b9-bbc1-8b478b3c4a15 2025-08-20 15:57:05,363 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/b5b2993d-39e0-4a93-9a99-d692bb7ef739 2025-08-20 15:57:05,369 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/b5b2993d-39e0-4a93-9a99-d692bb7ef739 2025-08-20 15:57:05,375 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/d72115a8-90b7-4e5d-81a7-18f23fe651c2 2025-08-20 15:57:05,386 - DEBUG - Control-node 10.0.0.65 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-47792262:ctest-vn-76369792', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-47792262', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13184721932293785785', 'uuid-lslong': '13529247894992603669'}, 'enable': 'true', 'created': '2025-08-20T15:57:03', 'last-modified': '2025-08-20T15:57:04', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.904964'} 2025-08-20 15:57:05,393 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-20 15:57:05,393 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-76369792 passed 2025-08-20 15:57:05,393 - DEBUG - ====Verifying policy data for ctest-vn-76369792 in API_Server ====== 2025-08-20 15:57:05,393 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-08-20 15:57:05,398 - DEBUG - Requesting: http://10.0.0.65:8082/domain/40704709-79c1-40e2-9b62-9eb8ae53f251 2025-08-20 15:57:05,409 - DEBUG - Requesting: http://10.0.0.65:8082/project/7dd8d48a-8004-4b4f-a14f-8e282bf80c63 2025-08-20 15:57:05,479 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/b6f98abd-e4ac-48b9-bbc1-8b478b3c4a15 2025-08-20 15:57:05,488 - DEBUG - ==>Verifying data for policy with id: 121d0656-c59a-4207-a9a6-fb8cd062fd7b, fqn: ['default-domain', 'ctest-TestBasicPolicy-47792262', 'ctest-policy-allow-all-20414361'] 2025-08-20 15:57:05,488 - INFO - VN ctest-vn-76369792 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-20 15:57:05,488 - DEBUG - Verifying the vn in opserver 2025-08-20 15:57:05,488 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-47792262:ctest-vn-76369792 virtual network link through opserver 10.0.0.65 2025-08-20 15:57:05,489 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2025-08-20 15:57:05,777 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2025-08-20 15:57:05,830 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-47792262:ctest-vn-76369792', 'href': 'http://10.0.0.65:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-47792262:ctest-vn-76369792?flat'} 2025-08-20 15:57:05,830 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-47792262:ctest-vn-76369792 is found in opserver 2025-08-20 15:57:05,840 - DEBUG - Do not have enough data to verify VN in agent 2025-08-20 15:57:05,845 - DEBUG - VRF ids for VN ctest-vn-76369792: {} 2025-08-20 15:57:05,845 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-08-20 15:57:05,850 - DEBUG - Requesting: http://10.0.0.65:8082/domain/40704709-79c1-40e2-9b62-9eb8ae53f251 2025-08-20 15:57:05,862 - DEBUG - Requesting: http://10.0.0.65:8082/project/7dd8d48a-8004-4b4f-a14f-8e282bf80c63 2025-08-20 15:57:05,933 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/4021172d-f165-4de6-90fc-610d1c6a654c 2025-08-20 15:57:05,947 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/4021172d-f165-4de6-90fc-610d1c6a654c 2025-08-20 15:57:05,957 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/389d72e3-7f69-4036-83b2-ee30b8c9b936 2025-08-20 15:57:05,964 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/389d72e3-7f69-4036-83b2-ee30b8c9b936 2025-08-20 15:57:05,970 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/8b7fdbd2-d01a-4dcc-836d-f33afc959075 2025-08-20 15:57:05,976 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-20 15:57:05,976 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/4021172d-f165-4de6-90fc-610d1c6a654c 2025-08-20 15:57:05,985 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/389d72e3-7f69-4036-83b2-ee30b8c9b936 2025-08-20 15:57:05,998 - INFO - Verified VN network id 13 for VN 4021172d-f165-4de6-90fc-610d1c6a654c 2025-08-20 15:57:05,998 - INFO - Verifications in API Server for VN ctest-vn-86818177 passed 2025-08-20 15:57:05,998 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/4021172d-f165-4de6-90fc-610d1c6a654c 2025-08-20 15:57:06,010 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/389d72e3-7f69-4036-83b2-ee30b8c9b936 2025-08-20 15:57:06,017 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/389d72e3-7f69-4036-83b2-ee30b8c9b936 2025-08-20 15:57:06,024 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/8b7fdbd2-d01a-4dcc-836d-f33afc959075 2025-08-20 15:57:06,036 - DEBUG - Control-node 10.0.0.65 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-47792262:ctest-vn-86818177', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-47792262', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4621000178749754854', 'uuid-lslong': '10447331944531912012'}, 'enable': 'true', 'created': '2025-08-20T15:57:03', 'last-modified': '2025-08-20T15:57:04', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.332753'} 2025-08-20 15:57:06,042 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-20 15:57:06,042 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-86818177 passed 2025-08-20 15:57:06,042 - DEBUG - ====Verifying policy data for ctest-vn-86818177 in API_Server ====== 2025-08-20 15:57:06,043 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-08-20 15:57:06,048 - DEBUG - Requesting: http://10.0.0.65:8082/domain/40704709-79c1-40e2-9b62-9eb8ae53f251 2025-08-20 15:57:06,059 - DEBUG - Requesting: http://10.0.0.65:8082/project/7dd8d48a-8004-4b4f-a14f-8e282bf80c63 2025-08-20 15:57:06,134 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/4021172d-f165-4de6-90fc-610d1c6a654c 2025-08-20 15:57:06,143 - DEBUG - ==>Verifying data for policy with id: 121d0656-c59a-4207-a9a6-fb8cd062fd7b, fqn: ['default-domain', 'ctest-TestBasicPolicy-47792262', 'ctest-policy-allow-all-20414361'] 2025-08-20 15:57:06,143 - INFO - VN ctest-vn-86818177 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-20 15:57:06,143 - DEBUG - Verifying the vn in opserver 2025-08-20 15:57:06,143 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-47792262:ctest-vn-86818177 virtual network link through opserver 10.0.0.65 2025-08-20 15:57:06,143 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2025-08-20 15:57:06,153 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-47792262:ctest-vn-86818177', 'href': 'http://10.0.0.65:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-47792262:ctest-vn-86818177?flat'} 2025-08-20 15:57:06,153 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-47792262:ctest-vn-86818177 is found in opserver 2025-08-20 15:57:06,163 - DEBUG - Do not have enough data to verify VN in agent 2025-08-20 15:57:06,168 - DEBUG - VRF ids for VN ctest-vn-86818177: {} 2025-08-20 15:57:06,219 - DEBUG - Services list from nova: [, , ] 2025-08-20 15:57:07,185 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3898-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3898-1) 2025-08-20 15:57:08,238 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3898-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3898-1) 2025-08-20 15:57:08,239 - INFO - Waiting for VM ctest-TestBasicPolicy-47792262-52715214 to be up.. 2025-08-20 15:57:08,308 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-20 15:57:13,376 - DEBUG - VM is in ACTIVE state now 2025-08-20 15:57:13,377 - INFO - VM name : ctest-TestBasicPolicy-47792262-52715214 2025-08-20 15:57:13,448 - DEBUG - VM ctest-TestBasicPolicy-47792262-52715214 ID is 6d171a1b-52f6-4a54-9279-3436a444e58e 2025-08-20 15:57:13,471 - DEBUG - VM ctest-TestBasicPolicy-47792262-52715214 launched on Node cn-jenkins-deploy-platform-ansible-os-3898-1 2025-08-20 15:57:13,544 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/6d171a1b-52f6-4a54-9279-3436a444e58e 2025-08-20 15:57:13,552 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/88c0b1c4-d600-4b12-b7e9-12065929506a 2025-08-20 15:57:16,789 - 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 1003ms') 2025-08-20 15:57:16,789 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-47792262-52715214 failed! 2025-08-20 15:57:16,846 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-47792262:ctest-vn-76369792 is 3.107.86.1 and allocation pool is NOT set 2025-08-20 15:57:18,914 - 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=5.30 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.95 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 = 1.945/3.622/5.299/1.677 ms') 2025-08-20 15:57:18,914 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-47792262-52715214 passed 2025-08-20 15:57:19,062 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 15:57:19,062 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-47792262-52715214, IP 3.107.86.3, Port 22 2025-08-20 15:57:19,218 - DEBUG - VM ctest-TestBasicPolicy-47792262-52715214 is ready for SSH connections 2025-08-20 15:57:19,218 - INFO - Waiting for VM ctest-TestBasicPolicy-47792262-75232976 to be up.. 2025-08-20 15:57:19,285 - DEBUG - VM is in ACTIVE state now 2025-08-20 15:57:19,285 - INFO - VM name : ctest-TestBasicPolicy-47792262-75232976 2025-08-20 15:57:19,345 - DEBUG - VM ctest-TestBasicPolicy-47792262-75232976 ID is 912318a4-ec18-490a-93bd-df6a27497cbe 2025-08-20 15:57:19,345 - DEBUG - VM ctest-TestBasicPolicy-47792262-75232976 launched on Node cn-jenkins-deploy-platform-ansible-os-3898-1 2025-08-20 15:57:19,405 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/912318a4-ec18-490a-93bd-df6a27497cbe 2025-08-20 15:57:19,413 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/cc386247-b03f-40fc-ad7a-d30a1a3bbcf6 2025-08-20 15:57:20,642 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=2.63 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.366 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.366/1.496/2.626/1.130 ms') 2025-08-20 15:57:20,643 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-47792262-75232976 passed 2025-08-20 15:57:20,798 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 15:57:20,798 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-47792262-75232976, IP 14.37.181.67, Port 22 2025-08-20 15:57:20,949 - DEBUG - VM ctest-TestBasicPolicy-47792262-75232976 is ready for SSH connections 2025-08-20 15:57:20,949 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 15:57:20,949 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 14.37.181.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-08-20 15:57:20,949 - DEBUG - ping -s 56 -c 3 -W 1 14.37.181.67 2025-08-20 15:57:24,610 - DEBUG - PING 14.37.181.67 (14.37.181.67): 56 data bytes 64 bytes from 14.37.181.67: seq=0 ttl=63 time=3.161 ms 64 bytes from 14.37.181.67: seq=1 ttl=63 time=0.743 ms 64 bytes from 14.37.181.67: seq=2 ttl=63 time=0.641 ms --- 14.37.181.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.641/1.515/3.161 ms 2025-08-20 15:57:24,610 - INFO - Ping to IP 14.37.181.67 from VM ctest-TestBasicPolicy-47792262-52715214 passed 2025-08-20 15:57:24,790 - DEBUG - Policy Update Response {"network-policy": {"uuid": "121d0656-c59a-4207-a9a6-fb8cd062fd7b", "href": "http://10.0.0.65:8082/network-policy/121d0656-c59a-4207-a9a6-fb8cd062fd7b"}} 2025-08-20 15:57:24,790 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 15:57:24,790 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 14.37.181.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-08-20 15:57:24,790 - DEBUG - ping -s 56 -c 3 -W 1 14.37.181.67 2025-08-20 15:57:27,990 - DEBUG - PING 14.37.181.67 (14.37.181.67): 56 data bytes --- 14.37.181.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-20 15:57:27,990 - WARNING - Ping to IP 14.37.181.67 from VM ctest-TestBasicPolicy-47792262-52715214 failed 2025-08-20 15:57:27,990 - INFO - Deleting VM ctest-TestBasicPolicy-47792262-75232976 2025-08-20 15:57:28,053 - INFO - Deleting VM ctest-TestBasicPolicy-47792262-52715214 2025-08-20 15:57:28,401 - INFO - Deleted policy ctest-policy-allow-all-20414361 2025-08-20 15:57:28,401 - INFO - Deleting VN ctest-vn-86818177 2025-08-20 15:57:28,435 - DEBUG - VN 4021172d-f165-4de6-90fc-610d1c6a654c still in use: Unable to complete operation on network 4021172d-f165-4de6-90fc-610d1c6a654c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a21f706f-fced-4bc0-9782-0b1cc3ce3311'] 2025-08-20 15:57:28,435 - WARNING - Deleting VN ctest-vn-86818177 failed..Will retry 2025-08-20 15:57:30,543 - DEBUG - Response for deleting network () 2025-08-20 15:57:30,543 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/389d72e3-7f69-4036-83b2-ee30b8c9b936 2025-08-20 15:57:30,551 - DEBUG - Response Code: 404 2025-08-20 15:57:30,551 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-08-20 15:57:30,557 - DEBUG - Requesting: http://10.0.0.65:8082/domain/40704709-79c1-40e2-9b62-9eb8ae53f251 2025-08-20 15:57:30,612 - DEBUG - Requesting: http://10.0.0.65:8082/project/7dd8d48a-8004-4b4f-a14f-8e282bf80c63 2025-08-20 15:57:30,684 - INFO - Validated that VN ctest-vn-86818177 is not found in API Server 2025-08-20 15:57:30,695 - DEBUG - VN ctest-vn-86818177 is not present in Agent 10.0.0.65 2025-08-20 15:57:30,695 - INFO - Validated that VN ctest-vn-86818177 is not in any agent 2025-08-20 15:57:30,709 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-86818177 info 2025-08-20 15:57:30,710 - INFO - Deleting VN ctest-vn-76369792 2025-08-20 15:57:30,823 - DEBUG - Response for deleting network () 2025-08-20 15:57:30,823 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/b5b2993d-39e0-4a93-9a99-d692bb7ef739 2025-08-20 15:57:30,831 - DEBUG - Response Code: 404 2025-08-20 15:57:30,831 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-08-20 15:57:30,838 - DEBUG - Requesting: http://10.0.0.65:8082/domain/40704709-79c1-40e2-9b62-9eb8ae53f251 2025-08-20 15:57:30,895 - DEBUG - Requesting: http://10.0.0.65:8082/project/7dd8d48a-8004-4b4f-a14f-8e282bf80c63 2025-08-20 15:57:30,963 - INFO - Validated that VN ctest-vn-76369792 is not found in API Server 2025-08-20 15:57:30,974 - DEBUG - VN ctest-vn-76369792 is not present in Agent 10.0.0.65 2025-08-20 15:57:30,974 - INFO - Validated that VN ctest-vn-76369792 is not in any agent 2025-08-20 15:57:30,989 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-76369792 info 2025-08-20 15:57:31,244 - DEBUG - No XMPP flaps were noticed during the test 2025-08-20 15:57:31,244 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-08-20 15:57:31,244 - INFO - -------------------------------------------------------------------------------- 2025-08-20 15:57:31,897 - INFO - Deleted project: ctest-TestBasicPolicy-47792262, ID : 7dd8d48a-8004-4b4f-a14f-8e282bf80c63