2025-11-12 09:12:29,318 - INFO - Domain Default found not creating 2025-11-12 09:12:29,468 - INFO - Project ctest-TestBasicPolicy-64770025 not found, creating it 2025-11-12 09:12:29,912 - INFO - Created Project:ctest-TestBasicPolicy-64770025, ID : 305edf88-de91-4a20-b6a2-92c0f14feecf 2025-11-12 09:12:31,449 - INFO - ================================================================================ 2025-11-12 09:12:31,449 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-12 09:12:31,449 - 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-12 09:12:31,702 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.14': '0'}} with 2025-11-12 09:12:31,702 - INFO - Initial checks done. Running the testcase now 2025-11-12 09:12:31,702 - INFO - 2025-11-12 09:12:32,289 - DEBUG - Response for create_network : {'network': {'id': 'b5e0be21-a111-4ebe-b225-106032513e79', 'name': 'ctest-vn-61176235', 'tenant_id': '305edf88de914a20b6a292c0f14feecf', 'project_id': '305edf88de914a20b6a292c0f14feecf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-64770025', 'ctest-vn-61176235'], 'port_security_enabled': True, 'description': ''}} 2025-11-12 09:12:32,438 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd6d1f8a8-40a7-4dfd-8551-5ac2c27aac2a', 'name': '', 'tenant_id': '305edf88de914a20b6a292c0f14feecf', 'network_id': 'b5e0be21-a111-4ebe-b225-106032513e79', 'ip_version': 4, 'cidr': '23.238.141.192/26', 'allocation_pools': [{'start': '23.238.141.194', 'end': '23.238.141.254'}], 'gateway_ip': '23.238.141.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '23.238.141.194', 'tags': [], 'project_id': '305edf88de914a20b6a292c0f14feecf'}} 2025-11-12 09:12:32,454 - INFO - Created VN ctest-vn-61176235 2025-11-12 09:12:32,504 - DEBUG - VN ctest-vn-61176235 UUID is b5e0be21-a111-4ebe-b225-106032513e79 2025-11-12 09:12:32,836 - DEBUG - Response for create_network : {'network': {'id': 'bb11c996-8653-4321-a76e-8601dc7e3691', 'name': 'ctest-vn-85045556', 'tenant_id': '305edf88de914a20b6a292c0f14feecf', 'project_id': '305edf88de914a20b6a292c0f14feecf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-64770025', 'ctest-vn-85045556'], 'port_security_enabled': True, 'description': ''}} 2025-11-12 09:12:33,041 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dc6c79e5-71d5-4ff3-9445-e60487652e7b', 'name': '', 'tenant_id': '305edf88de914a20b6a292c0f14feecf', 'network_id': 'bb11c996-8653-4321-a76e-8601dc7e3691', 'ip_version': 4, 'cidr': '39.14.102.64/26', 'allocation_pools': [{'start': '39.14.102.66', 'end': '39.14.102.126'}], 'gateway_ip': '39.14.102.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '39.14.102.66', 'tags': [], 'project_id': '305edf88de914a20b6a292c0f14feecf'}} 2025-11-12 09:12:33,058 - INFO - Created VN ctest-vn-85045556 2025-11-12 09:12:33,116 - DEBUG - VN ctest-vn-85045556 UUID is bb11c996-8653-4321-a76e-8601dc7e3691 2025-11-12 09:12:33,264 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-64770025:ctest-vn-61176235, 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-64770025:ctest-vn-85045556, 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-12 09:12:33,550 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b5e0be21-a111-4ebe-b225-106032513e79', 'name': 'ctest-vn-61176235', 'tenant_id': '305edf88de914a20b6a292c0f14feecf', 'project_id': '305edf88de914a20b6a292c0f14feecf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d6d1f8a8-40a7-4dfd-8551-5ac2c27aac2a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-64770025', 'ctest-vn-61176235'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-64770025', 'ctest-policy-allow-all-97920414']], 'subnet_ipam': [{'subnet_cidr': '23.238.141.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-12 09:12:33,832 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'bb11c996-8653-4321-a76e-8601dc7e3691', 'name': 'ctest-vn-85045556', 'tenant_id': '305edf88de914a20b6a292c0f14feecf', 'project_id': '305edf88de914a20b6a292c0f14feecf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['dc6c79e5-71d5-4ff3-9445-e60487652e7b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-64770025', 'ctest-vn-85045556'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-64770025', 'ctest-policy-allow-all-97920414']], 'subnet_ipam': [{'subnet_cidr': '39.14.102.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-12 09:12:33,968 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-11-12 09:12:34,310 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-11-12 09:12:34,337 - DEBUG - Requesting: http://10.0.0.33:8082/domain/5b19ecfc-5fd1-4445-89ad-4fd3e679f237 2025-11-12 09:12:34,349 - DEBUG - Requesting: http://10.0.0.33:8082/project/305edf88-de91-4a20-b6a2-92c0f14feecf 2025-11-12 09:12:34,439 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/b5e0be21-a111-4ebe-b225-106032513e79 2025-11-12 09:12:34,449 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/b5e0be21-a111-4ebe-b225-106032513e79 2025-11-12 09:12:34,459 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/214b4bdc-acf1-4b27-8055-82e7fd18b9f2 2025-11-12 09:12:34,466 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/214b4bdc-acf1-4b27-8055-82e7fd18b9f2 2025-11-12 09:12:34,472 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/9caff9a6-8041-49c6-a17e-07d655e668b2 2025-11-12 09:12:34,478 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-12 09:12:34,478 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/b5e0be21-a111-4ebe-b225-106032513e79 2025-11-12 09:12:34,487 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/214b4bdc-acf1-4b27-8055-82e7fd18b9f2 2025-11-12 09:12:34,501 - INFO - Verified VN network id 10 for VN b5e0be21-a111-4ebe-b225-106032513e79 2025-11-12 09:12:34,501 - INFO - Verifications in API Server for VN ctest-vn-61176235 passed 2025-11-12 09:12:34,501 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/b5e0be21-a111-4ebe-b225-106032513e79 2025-11-12 09:12:34,510 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/214b4bdc-acf1-4b27-8055-82e7fd18b9f2 2025-11-12 09:12:34,517 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/214b4bdc-acf1-4b27-8055-82e7fd18b9f2 2025-11-12 09:12:34,523 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/9caff9a6-8041-49c6-a17e-07d655e668b2 2025-11-12 09:12:34,535 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-64770025:ctest-vn-61176235', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-64770025', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13105683967293607614', 'uuid-lslong': '12836684318236556921'}, 'enable': 'true', 'created': '2025-11-12T09:12:32', 'last-modified': '2025-11-12T09:12:33', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.006918'} 2025-11-12 09:12:34,540 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-12 09:12:34,540 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-61176235 passed 2025-11-12 09:12:34,540 - DEBUG - ====Verifying policy data for ctest-vn-61176235 in API_Server ====== 2025-11-12 09:12:34,540 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-11-12 09:12:34,546 - DEBUG - Requesting: http://10.0.0.33:8082/domain/5b19ecfc-5fd1-4445-89ad-4fd3e679f237 2025-11-12 09:12:34,555 - DEBUG - Requesting: http://10.0.0.33:8082/project/305edf88-de91-4a20-b6a2-92c0f14feecf 2025-11-12 09:12:34,626 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/b5e0be21-a111-4ebe-b225-106032513e79 2025-11-12 09:12:34,635 - DEBUG - ==>Verifying data for policy with id: c234c1ea-b32e-4f3b-aedf-e1e33c5334b2, fqn: ['default-domain', 'ctest-TestBasicPolicy-64770025', 'ctest-policy-allow-all-97920414'] 2025-11-12 09:12:34,635 - INFO - VN ctest-vn-61176235 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-12 09:12:34,635 - DEBUG - Verifying the vn in opserver 2025-11-12 09:12:34,635 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-64770025:ctest-vn-61176235 virtual network link through opserver 10.0.0.33 2025-11-12 09:12:34,635 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-11-12 09:12:34,973 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-11-12 09:12:35,032 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-64770025:ctest-vn-61176235', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-64770025:ctest-vn-61176235?flat'} 2025-11-12 09:12:35,032 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-64770025:ctest-vn-61176235 is found in opserver 2025-11-12 09:12:35,042 - DEBUG - Do not have enough data to verify VN in agent 2025-11-12 09:12:35,047 - DEBUG - VRF ids for VN ctest-vn-61176235: {} 2025-11-12 09:12:35,047 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-11-12 09:12:35,053 - DEBUG - Requesting: http://10.0.0.33:8082/domain/5b19ecfc-5fd1-4445-89ad-4fd3e679f237 2025-11-12 09:12:35,064 - DEBUG - Requesting: http://10.0.0.33:8082/project/305edf88-de91-4a20-b6a2-92c0f14feecf 2025-11-12 09:12:35,141 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/bb11c996-8653-4321-a76e-8601dc7e3691 2025-11-12 09:12:35,153 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/bb11c996-8653-4321-a76e-8601dc7e3691 2025-11-12 09:12:35,163 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/f507cfc6-4db8-4f66-bc81-c8c2e6d00c17 2025-11-12 09:12:35,170 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/f507cfc6-4db8-4f66-bc81-c8c2e6d00c17 2025-11-12 09:12:35,176 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/204556dd-1d6f-450c-ac55-cc8c94bf7b73 2025-11-12 09:12:35,182 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-12 09:12:35,183 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/bb11c996-8653-4321-a76e-8601dc7e3691 2025-11-12 09:12:35,191 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/f507cfc6-4db8-4f66-bc81-c8c2e6d00c17 2025-11-12 09:12:35,205 - INFO - Verified VN network id 11 for VN bb11c996-8653-4321-a76e-8601dc7e3691 2025-11-12 09:12:35,205 - INFO - Verifications in API Server for VN ctest-vn-85045556 passed 2025-11-12 09:12:35,205 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/bb11c996-8653-4321-a76e-8601dc7e3691 2025-11-12 09:12:35,214 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/f507cfc6-4db8-4f66-bc81-c8c2e6d00c17 2025-11-12 09:12:35,220 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/f507cfc6-4db8-4f66-bc81-c8c2e6d00c17 2025-11-12 09:12:35,226 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/204556dd-1d6f-450c-ac55-cc8c94bf7b73 2025-11-12 09:12:35,238 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-64770025:ctest-vn-85045556', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-64770025', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13479776808032486177', 'uuid-lslong': '12064727794324485777'}, 'enable': 'true', 'created': '2025-11-12T09:12:32', 'last-modified': '2025-11-12T09:12:33', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.476071'} 2025-11-12 09:12:35,244 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-12 09:12:35,245 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-85045556 passed 2025-11-12 09:12:35,245 - DEBUG - ====Verifying policy data for ctest-vn-85045556 in API_Server ====== 2025-11-12 09:12:35,245 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-11-12 09:12:35,250 - DEBUG - Requesting: http://10.0.0.33:8082/domain/5b19ecfc-5fd1-4445-89ad-4fd3e679f237 2025-11-12 09:12:35,262 - DEBUG - Requesting: http://10.0.0.33:8082/project/305edf88-de91-4a20-b6a2-92c0f14feecf 2025-11-12 09:12:35,328 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/bb11c996-8653-4321-a76e-8601dc7e3691 2025-11-12 09:12:35,337 - DEBUG - ==>Verifying data for policy with id: c234c1ea-b32e-4f3b-aedf-e1e33c5334b2, fqn: ['default-domain', 'ctest-TestBasicPolicy-64770025', 'ctest-policy-allow-all-97920414'] 2025-11-12 09:12:35,337 - INFO - VN ctest-vn-85045556 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-12 09:12:35,337 - DEBUG - Verifying the vn in opserver 2025-11-12 09:12:35,337 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-64770025:ctest-vn-85045556 virtual network link through opserver 10.0.0.33 2025-11-12 09:12:35,337 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-11-12 09:12:35,346 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-64770025:ctest-vn-85045556', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-64770025:ctest-vn-85045556?flat'} 2025-11-12 09:12:35,346 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-64770025:ctest-vn-85045556 is found in opserver 2025-11-12 09:12:35,354 - DEBUG - Do not have enough data to verify VN in agent 2025-11-12 09:12:35,359 - DEBUG - VRF ids for VN ctest-vn-85045556: {} 2025-11-12 09:12:35,413 - DEBUG - Services list from nova: [, , ] 2025-11-12 09:12:36,489 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4703-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4703-1) 2025-11-12 09:12:37,701 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4703-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4703-1) 2025-11-12 09:12:37,701 - INFO - Waiting for VM ctest-TestBasicPolicy-64770025-14165418 to be up.. 2025-11-12 09:12:37,778 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-12 09:12:42,855 - DEBUG - VM is in ACTIVE state now 2025-11-12 09:12:42,855 - INFO - VM name : ctest-TestBasicPolicy-64770025-14165418 2025-11-12 09:12:42,925 - DEBUG - VM ctest-TestBasicPolicy-64770025-14165418 ID is a888a2f1-eeb1-43aa-b56d-cbbdf5bfc6b0 2025-11-12 09:12:42,944 - DEBUG - VM ctest-TestBasicPolicy-64770025-14165418 launched on Node cn-jenkins-deploy-platform-ansible-os-4703-1 2025-11-12 09:12:43,016 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/a888a2f1-eeb1-43aa-b56d-cbbdf5bfc6b0 2025-11-12 09:12:43,025 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/b1eabed2-b961-4449-bc56-8b8e4c7b0a5d 2025-11-12 09:12:46,283 - 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 1019ms') 2025-11-12 09:12:46,283 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-64770025-14165418 failed! 2025-11-12 09:12:46,340 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-64770025:ctest-vn-61176235 is 23.238.141.193 and allocation pool is NOT set 2025-11-12 09:12:48,398 - 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=10.4 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.92 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 = 2.918/6.634/10.351/3.716 ms') 2025-11-12 09:12:48,398 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-64770025-14165418 passed 2025-11-12 09:12:48,544 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 09:12:48,544 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-64770025-14165418, IP 23.238.141.195, Port 22 2025-11-12 09:12:48,699 - DEBUG - VM ctest-TestBasicPolicy-64770025-14165418 is ready for SSH connections 2025-11-12 09:12:48,699 - INFO - Waiting for VM ctest-TestBasicPolicy-64770025-29469937 to be up.. 2025-11-12 09:12:48,776 - DEBUG - VM is in ACTIVE state now 2025-11-12 09:12:48,776 - INFO - VM name : ctest-TestBasicPolicy-64770025-29469937 2025-11-12 09:12:48,849 - DEBUG - VM ctest-TestBasicPolicy-64770025-29469937 ID is b6d099d0-9fee-4e41-bb0c-586ad20b20f7 2025-11-12 09:12:48,849 - DEBUG - VM ctest-TestBasicPolicy-64770025-29469937 launched on Node cn-jenkins-deploy-platform-ansible-os-4703-1 2025-11-12 09:12:48,917 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/b6d099d0-9fee-4e41-bb0c-586ad20b20f7 2025-11-12 09:12:48,925 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/f8a7b538-c1a3-479b-ac54-6950bc6b61e9 2025-11-12 09:12:50,158 - 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.54 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.88 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.880/3.708/5.537/1.828 ms') 2025-11-12 09:12:50,159 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-64770025-29469937 passed 2025-11-12 09:12:50,312 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 09:12:50,312 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-64770025-29469937, IP 39.14.102.67, Port 22 2025-11-12 09:12:50,468 - DEBUG - VM ctest-TestBasicPolicy-64770025-29469937 is ready for SSH connections 2025-11-12 09:12:50,468 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 09:12:50,468 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 39.14.102.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-12 09:12:50,468 - DEBUG - ping -s 56 -c 3 -W 1 39.14.102.67 2025-11-12 09:12:54,240 - DEBUG - PING 39.14.102.67 (39.14.102.67): 56 data bytes 64 bytes from 39.14.102.67: seq=0 ttl=63 time=5.583 ms 64 bytes from 39.14.102.67: seq=1 ttl=63 time=0.890 ms 64 bytes from 39.14.102.67: seq=2 ttl=63 time=1.071 ms --- 39.14.102.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.890/2.514/5.583 ms 2025-11-12 09:12:54,240 - INFO - Ping to IP 39.14.102.67 from VM ctest-TestBasicPolicy-64770025-14165418 passed 2025-11-12 09:12:54,424 - DEBUG - Policy Update Response {"network-policy": {"uuid": "c234c1ea-b32e-4f3b-aedf-e1e33c5334b2", "href": "http://10.0.0.33:8082/network-policy/c234c1ea-b32e-4f3b-aedf-e1e33c5334b2"}} 2025-11-12 09:12:54,424 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 09:12:54,424 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 39.14.102.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-12 09:12:54,424 - DEBUG - ping -s 56 -c 3 -W 1 39.14.102.67 2025-11-12 09:12:57,666 - DEBUG - PING 39.14.102.67 (39.14.102.67): 56 data bytes --- 39.14.102.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-12 09:12:57,666 - WARNING - Ping to IP 39.14.102.67 from VM ctest-TestBasicPolicy-64770025-14165418 failed 2025-11-12 09:12:57,666 - INFO - Deleting VM ctest-TestBasicPolicy-64770025-29469937 2025-11-12 09:12:57,737 - INFO - Deleting VM ctest-TestBasicPolicy-64770025-14165418 2025-11-12 09:12:58,078 - INFO - Deleted policy ctest-policy-allow-all-97920414 2025-11-12 09:12:58,078 - INFO - Deleting VN ctest-vn-85045556 2025-11-12 09:12:58,112 - DEBUG - VN bb11c996-8653-4321-a76e-8601dc7e3691 still in use: Unable to complete operation on network bb11c996-8653-4321-a76e-8601dc7e3691. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4feb5f52-3fda-4585-a974-aa3bb48e26c9'] 2025-11-12 09:12:58,113 - WARNING - Deleting VN ctest-vn-85045556 failed..Will retry 2025-11-12 09:13:00,218 - DEBUG - Response for deleting network () 2025-11-12 09:13:00,218 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/f507cfc6-4db8-4f66-bc81-c8c2e6d00c17 2025-11-12 09:13:00,223 - DEBUG - Response Code: 404 2025-11-12 09:13:00,223 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-11-12 09:13:00,228 - DEBUG - Requesting: http://10.0.0.33:8082/domain/5b19ecfc-5fd1-4445-89ad-4fd3e679f237 2025-11-12 09:13:00,281 - DEBUG - Requesting: http://10.0.0.33:8082/project/305edf88-de91-4a20-b6a2-92c0f14feecf 2025-11-12 09:13:00,355 - INFO - Validated that VN ctest-vn-85045556 is not found in API Server 2025-11-12 09:13:00,365 - DEBUG - VN ctest-vn-85045556 is not present in Agent 10.0.0.33 2025-11-12 09:13:00,365 - INFO - Validated that VN ctest-vn-85045556 is not in any agent 2025-11-12 09:13:00,380 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-85045556 info 2025-11-12 09:13:00,380 - INFO - Deleting VN ctest-vn-61176235 2025-11-12 09:13:00,485 - DEBUG - Response for deleting network () 2025-11-12 09:13:00,485 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/214b4bdc-acf1-4b27-8055-82e7fd18b9f2 2025-11-12 09:13:00,492 - DEBUG - Response Code: 404 2025-11-12 09:13:00,492 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-11-12 09:13:00,502 - DEBUG - Requesting: http://10.0.0.33:8082/domain/5b19ecfc-5fd1-4445-89ad-4fd3e679f237 2025-11-12 09:13:00,553 - DEBUG - Requesting: http://10.0.0.33:8082/project/305edf88-de91-4a20-b6a2-92c0f14feecf 2025-11-12 09:13:00,622 - INFO - Validated that VN ctest-vn-61176235 is not found in API Server 2025-11-12 09:13:00,631 - DEBUG - VN ctest-vn-61176235 is not present in Agent 10.0.0.33 2025-11-12 09:13:00,631 - INFO - Validated that VN ctest-vn-61176235 is not in any agent 2025-11-12 09:13:00,643 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-61176235 info 2025-11-12 09:13:00,897 - DEBUG - No XMPP flaps were noticed during the test 2025-11-12 09:13:00,897 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-11-12 09:13:00,897 - INFO - -------------------------------------------------------------------------------- 2025-11-12 09:13:01,601 - INFO - Deleted project: ctest-TestBasicPolicy-64770025, ID : 305edf88-de91-4a20-b6a2-92c0f14feecf