2025-11-19 17:36:08,710 - INFO - Domain Default found not creating 2025-11-19 17:36:08,850 - INFO - Project ctest-TestBasicPolicy-34333858 not found, creating it 2025-11-19 17:36:09,288 - INFO - Created Project:ctest-TestBasicPolicy-34333858, ID : 2e38e402-bca0-4c2c-a9ab-2c1b9a8e9a80 2025-11-19 17:36:10,699 - INFO - ================================================================================ 2025-11-19 17:36:10,699 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-19 17:36:10,699 - 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-19 17:36:10,955 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.209': '0'}} with 2025-11-19 17:36:10,955 - INFO - Initial checks done. Running the testcase now 2025-11-19 17:36:10,955 - INFO - 2025-11-19 17:36:11,478 - DEBUG - Response for create_network : {'network': {'id': 'ce2ebcf9-98ee-4536-984b-81ce40466fb4', 'name': 'ctest-vn-12173275', 'tenant_id': '2e38e402bca04c2ca9ab2c1b9a8e9a80', 'project_id': '2e38e402bca04c2ca9ab2c1b9a8e9a80', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-34333858', 'ctest-vn-12173275'], 'port_security_enabled': True, 'description': ''}} 2025-11-19 17:36:11,646 - DEBUG - Response for create_subnet : {'subnet': {'id': '2b6ffb41-f94a-4baf-9319-9f74afc4f8be', 'name': '', 'tenant_id': '2e38e402bca04c2ca9ab2c1b9a8e9a80', 'network_id': 'ce2ebcf9-98ee-4536-984b-81ce40466fb4', 'ip_version': 4, 'cidr': '172.6.221.64/26', 'allocation_pools': [{'start': '172.6.221.66', 'end': '172.6.221.126'}], 'gateway_ip': '172.6.221.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '172.6.221.66', 'tags': [], 'project_id': '2e38e402bca04c2ca9ab2c1b9a8e9a80'}} 2025-11-19 17:36:11,662 - INFO - Created VN ctest-vn-12173275 2025-11-19 17:36:11,713 - DEBUG - VN ctest-vn-12173275 UUID is ce2ebcf9-98ee-4536-984b-81ce40466fb4 2025-11-19 17:36:12,011 - DEBUG - Response for create_network : {'network': {'id': '604aa276-e8d2-4cd8-b127-48e3c44ff82e', 'name': 'ctest-vn-63796218', 'tenant_id': '2e38e402bca04c2ca9ab2c1b9a8e9a80', 'project_id': '2e38e402bca04c2ca9ab2c1b9a8e9a80', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-34333858', 'ctest-vn-63796218'], 'port_security_enabled': True, 'description': ''}} 2025-11-19 17:36:12,214 - DEBUG - Response for create_subnet : {'subnet': {'id': '085896fa-46f5-4208-abbd-a21d219c405c', 'name': '', 'tenant_id': '2e38e402bca04c2ca9ab2c1b9a8e9a80', 'network_id': '604aa276-e8d2-4cd8-b127-48e3c44ff82e', 'ip_version': 4, 'cidr': '17.138.120.0/26', 'allocation_pools': [{'start': '17.138.120.2', 'end': '17.138.120.62'}], 'gateway_ip': '17.138.120.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '17.138.120.2', 'tags': [], 'project_id': '2e38e402bca04c2ca9ab2c1b9a8e9a80'}} 2025-11-19 17:36:12,229 - INFO - Created VN ctest-vn-63796218 2025-11-19 17:36:12,277 - DEBUG - VN ctest-vn-63796218 UUID is 604aa276-e8d2-4cd8-b127-48e3c44ff82e 2025-11-19 17:36:12,421 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-34333858:ctest-vn-12173275, 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-34333858:ctest-vn-63796218, 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-19 17:36:12,696 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ce2ebcf9-98ee-4536-984b-81ce40466fb4', 'name': 'ctest-vn-12173275', 'tenant_id': '2e38e402bca04c2ca9ab2c1b9a8e9a80', 'project_id': '2e38e402bca04c2ca9ab2c1b9a8e9a80', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2b6ffb41-f94a-4baf-9319-9f74afc4f8be'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-34333858', 'ctest-vn-12173275'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-34333858', 'ctest-policy-allow-all-68422765']], 'subnet_ipam': [{'subnet_cidr': '172.6.221.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-19 17:36:12,912 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '604aa276-e8d2-4cd8-b127-48e3c44ff82e', 'name': 'ctest-vn-63796218', 'tenant_id': '2e38e402bca04c2ca9ab2c1b9a8e9a80', 'project_id': '2e38e402bca04c2ca9ab2c1b9a8e9a80', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['085896fa-46f5-4208-abbd-a21d219c405c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-34333858', 'ctest-vn-63796218'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-34333858', 'ctest-policy-allow-all-68422765']], 'subnet_ipam': [{'subnet_cidr': '17.138.120.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-19 17:36:13,065 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-19 17:36:13,357 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-19 17:36:13,388 - DEBUG - Requesting: http://10.0.0.38:8082/domain/499d232e-1593-4552-bb71-1001619d96e1 2025-11-19 17:36:13,400 - DEBUG - Requesting: http://10.0.0.38:8082/project/2e38e402-bca0-4c2c-a9ab-2c1b9a8e9a80 2025-11-19 17:36:13,470 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ce2ebcf9-98ee-4536-984b-81ce40466fb4 2025-11-19 17:36:13,479 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ce2ebcf9-98ee-4536-984b-81ce40466fb4 2025-11-19 17:36:13,486 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4f26ad4e-720e-4baf-b1b8-e049d23aebc8 2025-11-19 17:36:13,493 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4f26ad4e-720e-4baf-b1b8-e049d23aebc8 2025-11-19 17:36:13,499 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/01131944-0763-4f47-9e82-c5efee774e03 2025-11-19 17:36:13,504 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-19 17:36:13,504 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ce2ebcf9-98ee-4536-984b-81ce40466fb4 2025-11-19 17:36:13,511 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4f26ad4e-720e-4baf-b1b8-e049d23aebc8 2025-11-19 17:36:13,522 - INFO - Verified VN network id 12 for VN ce2ebcf9-98ee-4536-984b-81ce40466fb4 2025-11-19 17:36:13,522 - INFO - Verifications in API Server for VN ctest-vn-12173275 passed 2025-11-19 17:36:13,522 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ce2ebcf9-98ee-4536-984b-81ce40466fb4 2025-11-19 17:36:13,528 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4f26ad4e-720e-4baf-b1b8-e049d23aebc8 2025-11-19 17:36:13,533 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4f26ad4e-720e-4baf-b1b8-e049d23aebc8 2025-11-19 17:36:13,538 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/01131944-0763-4f47-9e82-c5efee774e03 2025-11-19 17:36:13,546 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-34333858:ctest-vn-12173275', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-34333858', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14857020000940475702', 'uuid-lslong': '10974007639859949492'}, 'enable': 'true', 'created': '2025-11-19T17:36:11', 'last-modified': '2025-11-19T17:36:12', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.866101'} 2025-11-19 17:36:13,551 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-19 17:36:13,551 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-12173275 passed 2025-11-19 17:36:13,552 - DEBUG - ====Verifying policy data for ctest-vn-12173275 in API_Server ====== 2025-11-19 17:36:13,552 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-19 17:36:13,555 - DEBUG - Requesting: http://10.0.0.38:8082/domain/499d232e-1593-4552-bb71-1001619d96e1 2025-11-19 17:36:13,565 - DEBUG - Requesting: http://10.0.0.38:8082/project/2e38e402-bca0-4c2c-a9ab-2c1b9a8e9a80 2025-11-19 17:36:13,633 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ce2ebcf9-98ee-4536-984b-81ce40466fb4 2025-11-19 17:36:13,641 - DEBUG - ==>Verifying data for policy with id: 82fe3e47-6eac-45a2-a0cc-e00b2fce3e92, fqn: ['default-domain', 'ctest-TestBasicPolicy-34333858', 'ctest-policy-allow-all-68422765'] 2025-11-19 17:36:13,641 - INFO - VN ctest-vn-12173275 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-19 17:36:13,641 - DEBUG - Verifying the vn in opserver 2025-11-19 17:36:13,641 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-34333858:ctest-vn-12173275 virtual network link through opserver 10.0.0.38 2025-11-19 17:36:13,641 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-11-19 17:36:13,932 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-11-19 17:36:13,986 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-34333858:ctest-vn-12173275', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-34333858:ctest-vn-12173275?flat'} 2025-11-19 17:36:13,986 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-34333858:ctest-vn-12173275 is found in opserver 2025-11-19 17:36:13,995 - DEBUG - Do not have enough data to verify VN in agent 2025-11-19 17:36:13,999 - DEBUG - VRF ids for VN ctest-vn-12173275: {} 2025-11-19 17:36:13,999 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-19 17:36:14,004 - DEBUG - Requesting: http://10.0.0.38:8082/domain/499d232e-1593-4552-bb71-1001619d96e1 2025-11-19 17:36:14,013 - DEBUG - Requesting: http://10.0.0.38:8082/project/2e38e402-bca0-4c2c-a9ab-2c1b9a8e9a80 2025-11-19 17:36:14,093 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/604aa276-e8d2-4cd8-b127-48e3c44ff82e 2025-11-19 17:36:14,103 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/604aa276-e8d2-4cd8-b127-48e3c44ff82e 2025-11-19 17:36:14,111 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/024efafa-3fe4-4c14-92cf-ef0cff092c2f 2025-11-19 17:36:14,116 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/024efafa-3fe4-4c14-92cf-ef0cff092c2f 2025-11-19 17:36:14,121 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/3b604338-2231-4d32-95df-c236d80ab22f 2025-11-19 17:36:14,126 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-19 17:36:14,126 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/604aa276-e8d2-4cd8-b127-48e3c44ff82e 2025-11-19 17:36:14,133 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/024efafa-3fe4-4c14-92cf-ef0cff092c2f 2025-11-19 17:36:14,144 - INFO - Verified VN network id 13 for VN 604aa276-e8d2-4cd8-b127-48e3c44ff82e 2025-11-19 17:36:14,144 - INFO - Verifications in API Server for VN ctest-vn-63796218 passed 2025-11-19 17:36:14,144 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/604aa276-e8d2-4cd8-b127-48e3c44ff82e 2025-11-19 17:36:14,151 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/024efafa-3fe4-4c14-92cf-ef0cff092c2f 2025-11-19 17:36:14,156 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/024efafa-3fe4-4c14-92cf-ef0cff092c2f 2025-11-19 17:36:14,161 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/3b604338-2231-4d32-95df-c236d80ab22f 2025-11-19 17:36:14,170 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-34333858:ctest-vn-63796218', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-34333858', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6938536807513607384', 'uuid-lslong': '12765251811893311534'}, 'enable': 'true', 'created': '2025-11-19T17:36:11', 'last-modified': '2025-11-19T17:36:12', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.278453'} 2025-11-19 17:36:14,175 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-19 17:36:14,176 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-63796218 passed 2025-11-19 17:36:14,176 - DEBUG - ====Verifying policy data for ctest-vn-63796218 in API_Server ====== 2025-11-19 17:36:14,176 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-19 17:36:14,180 - DEBUG - Requesting: http://10.0.0.38:8082/domain/499d232e-1593-4552-bb71-1001619d96e1 2025-11-19 17:36:14,189 - DEBUG - Requesting: http://10.0.0.38:8082/project/2e38e402-bca0-4c2c-a9ab-2c1b9a8e9a80 2025-11-19 17:36:14,257 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/604aa276-e8d2-4cd8-b127-48e3c44ff82e 2025-11-19 17:36:14,265 - DEBUG - ==>Verifying data for policy with id: 82fe3e47-6eac-45a2-a0cc-e00b2fce3e92, fqn: ['default-domain', 'ctest-TestBasicPolicy-34333858', 'ctest-policy-allow-all-68422765'] 2025-11-19 17:36:14,265 - INFO - VN ctest-vn-63796218 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-19 17:36:14,265 - DEBUG - Verifying the vn in opserver 2025-11-19 17:36:14,265 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-34333858:ctest-vn-63796218 virtual network link through opserver 10.0.0.38 2025-11-19 17:36:14,265 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-11-19 17:36:14,273 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-34333858:ctest-vn-63796218', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-34333858:ctest-vn-63796218?flat'} 2025-11-19 17:36:14,273 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-34333858:ctest-vn-63796218 is found in opserver 2025-11-19 17:36:14,282 - DEBUG - Do not have enough data to verify VN in agent 2025-11-19 17:36:14,286 - DEBUG - VRF ids for VN ctest-vn-63796218: {} 2025-11-19 17:36:14,335 - DEBUG - Services list from nova: [, , ] 2025-11-19 17:36:15,323 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4764-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4764-1) 2025-11-19 17:36:16,396 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4764-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4764-1) 2025-11-19 17:36:16,396 - INFO - Waiting for VM ctest-TestBasicPolicy-34333858-89476011 to be up.. 2025-11-19 17:36:16,469 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-19 17:36:21,543 - DEBUG - VM is in ACTIVE state now 2025-11-19 17:36:21,543 - INFO - VM name : ctest-TestBasicPolicy-34333858-89476011 2025-11-19 17:36:21,608 - DEBUG - VM ctest-TestBasicPolicy-34333858-89476011 ID is dded1871-43bb-49d2-9815-b258be3592a0 2025-11-19 17:36:21,627 - DEBUG - VM ctest-TestBasicPolicy-34333858-89476011 launched on Node cn-jenkins-deploy-platform-ansible-os-4764-1 2025-11-19 17:36:21,695 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/dded1871-43bb-49d2-9815-b258be3592a0 2025-11-19 17:36:21,702 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/c3e8191d-07ce-44a8-9208-b984531a1bc9 2025-11-19 17:36:24,955 - 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 1015ms') 2025-11-19 17:36:24,955 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-34333858-89476011 failed! 2025-11-19 17:36:25,009 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-34333858:ctest-vn-12173275 is 172.6.221.65 and allocation pool is NOT set 2025-11-19 17:36:27,071 - 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=3.03 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.790 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.790/1.912/3.034/1.122 ms') 2025-11-19 17:36:27,071 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-34333858-89476011 passed 2025-11-19 17:36:27,217 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-19 17:36:27,217 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-34333858-89476011, IP 172.6.221.67, Port 22 2025-11-19 17:36:27,368 - DEBUG - VM ctest-TestBasicPolicy-34333858-89476011 is ready for SSH connections 2025-11-19 17:36:27,369 - INFO - Waiting for VM ctest-TestBasicPolicy-34333858-31701705 to be up.. 2025-11-19 17:36:27,437 - DEBUG - VM is in ACTIVE state now 2025-11-19 17:36:27,438 - INFO - VM name : ctest-TestBasicPolicy-34333858-31701705 2025-11-19 17:36:27,498 - DEBUG - VM ctest-TestBasicPolicy-34333858-31701705 ID is 578d30b5-6714-4ab9-b936-490746ba994f 2025-11-19 17:36:27,498 - DEBUG - VM ctest-TestBasicPolicy-34333858-31701705 launched on Node cn-jenkins-deploy-platform-ansible-os-4764-1 2025-11-19 17:36:27,560 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/578d30b5-6714-4ab9-b936-490746ba994f 2025-11-19 17:36:27,567 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/294e65a2-4b7b-4264-86cc-87629b3ad640 2025-11-19 17:36:28,795 - 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.67 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.388 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.388/1.530/2.672/1.142 ms') 2025-11-19 17:36:28,795 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-34333858-31701705 passed 2025-11-19 17:36:28,941 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-19 17:36:28,941 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-34333858-31701705, IP 17.138.120.3, Port 22 2025-11-19 17:36:29,093 - DEBUG - VM ctest-TestBasicPolicy-34333858-31701705 is ready for SSH connections 2025-11-19 17:36:29,093 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-19 17:36:29,093 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 17.138.120.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-19 17:36:29,093 - DEBUG - ping -s 56 -c 3 -W 1 17.138.120.3 2025-11-19 17:36:32,792 - DEBUG - PING 17.138.120.3 (17.138.120.3): 56 data bytes 64 bytes from 17.138.120.3: seq=0 ttl=63 time=3.608 ms 64 bytes from 17.138.120.3: seq=1 ttl=63 time=0.724 ms 64 bytes from 17.138.120.3: seq=2 ttl=63 time=0.768 ms --- 17.138.120.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.724/1.700/3.608 ms 2025-11-19 17:36:32,792 - INFO - Ping to IP 17.138.120.3 from VM ctest-TestBasicPolicy-34333858-89476011 passed 2025-11-19 17:36:32,961 - DEBUG - Policy Update Response {"network-policy": {"uuid": "82fe3e47-6eac-45a2-a0cc-e00b2fce3e92", "href": "http://10.0.0.38:8082/network-policy/82fe3e47-6eac-45a2-a0cc-e00b2fce3e92"}} 2025-11-19 17:36:32,961 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-19 17:36:32,961 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 17.138.120.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-19 17:36:32,961 - DEBUG - ping -s 56 -c 3 -W 1 17.138.120.3 2025-11-19 17:36:36,171 - DEBUG - PING 17.138.120.3 (17.138.120.3): 56 data bytes --- 17.138.120.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-19 17:36:36,171 - WARNING - Ping to IP 17.138.120.3 from VM ctest-TestBasicPolicy-34333858-89476011 failed 2025-11-19 17:36:36,171 - INFO - Deleting VM ctest-TestBasicPolicy-34333858-31701705 2025-11-19 17:36:36,229 - INFO - Deleting VM ctest-TestBasicPolicy-34333858-89476011 2025-11-19 17:36:36,542 - INFO - Deleted policy ctest-policy-allow-all-68422765 2025-11-19 17:36:36,542 - INFO - Deleting VN ctest-vn-63796218 2025-11-19 17:36:36,571 - DEBUG - VN 604aa276-e8d2-4cd8-b127-48e3c44ff82e still in use: Unable to complete operation on network 604aa276-e8d2-4cd8-b127-48e3c44ff82e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9fcc492b-2125-4c4e-9b98-e122e5c1699c'] 2025-11-19 17:36:36,571 - WARNING - Deleting VN ctest-vn-63796218 failed..Will retry 2025-11-19 17:36:38,654 - DEBUG - Response for deleting network () 2025-11-19 17:36:38,654 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/024efafa-3fe4-4c14-92cf-ef0cff092c2f 2025-11-19 17:36:38,662 - DEBUG - Response Code: 404 2025-11-19 17:36:38,662 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-19 17:36:38,666 - DEBUG - Requesting: http://10.0.0.38:8082/domain/499d232e-1593-4552-bb71-1001619d96e1 2025-11-19 17:36:38,719 - DEBUG - Requesting: http://10.0.0.38:8082/project/2e38e402-bca0-4c2c-a9ab-2c1b9a8e9a80 2025-11-19 17:36:38,784 - INFO - Validated that VN ctest-vn-63796218 is not found in API Server 2025-11-19 17:36:38,795 - DEBUG - VN ctest-vn-63796218 is not present in Agent 10.0.0.38 2025-11-19 17:36:38,795 - INFO - Validated that VN ctest-vn-63796218 is not in any agent 2025-11-19 17:36:38,806 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-63796218 info 2025-11-19 17:36:38,806 - INFO - Deleting VN ctest-vn-12173275 2025-11-19 17:36:38,893 - DEBUG - Response for deleting network () 2025-11-19 17:36:38,893 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4f26ad4e-720e-4baf-b1b8-e049d23aebc8 2025-11-19 17:36:38,900 - DEBUG - Response Code: 404 2025-11-19 17:36:38,900 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-19 17:36:38,905 - DEBUG - Requesting: http://10.0.0.38:8082/domain/499d232e-1593-4552-bb71-1001619d96e1 2025-11-19 17:36:38,958 - DEBUG - Requesting: http://10.0.0.38:8082/project/2e38e402-bca0-4c2c-a9ab-2c1b9a8e9a80 2025-11-19 17:36:39,027 - INFO - Validated that VN ctest-vn-12173275 is not found in API Server 2025-11-19 17:36:39,036 - DEBUG - VN ctest-vn-12173275 is not present in Agent 10.0.0.38 2025-11-19 17:36:39,036 - INFO - Validated that VN ctest-vn-12173275 is not in any agent 2025-11-19 17:36:39,050 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-12173275 info 2025-11-19 17:36:39,310 - DEBUG - No XMPP flaps were noticed during the test 2025-11-19 17:36:39,310 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-11-19 17:36:39,310 - INFO - -------------------------------------------------------------------------------- 2025-11-19 17:36:39,961 - INFO - Deleted project: ctest-TestBasicPolicy-34333858, ID : 2e38e402-bca0-4c2c-a9ab-2c1b9a8e9a80