2025-10-20 16:36:43,954 - INFO - Domain Default found not creating 2025-10-20 16:36:44,078 - INFO - Project ctest-TestBasicPolicy-92815940 not found, creating it 2025-10-20 16:36:44,493 - INFO - Created Project:ctest-TestBasicPolicy-92815940, ID : b7432e3e-da3a-4a55-8675-f4f4a881d836 2025-10-20 16:36:45,813 - INFO - ================================================================================ 2025-10-20 16:36:45,813 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-20 16:36:45,814 - 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-10-20 16:36:46,072 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2025-10-20 16:36:46,072 - INFO - Initial checks done. Running the testcase now 2025-10-20 16:36:46,072 - INFO - 2025-10-20 16:36:46,580 - DEBUG - Response for create_network : {'network': {'id': '7ac92539-e3d4-4e9b-a5cc-47c6a51028dd', 'name': 'ctest-vn-93407832', 'tenant_id': 'b7432e3eda3a4a558675f4f4a881d836', 'project_id': 'b7432e3eda3a4a558675f4f4a881d836', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-92815940', 'ctest-vn-93407832'], 'port_security_enabled': True, 'description': ''}} 2025-10-20 16:36:46,780 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cf521017-e05f-4ecf-9007-1fb86d3511e8', 'name': '', 'tenant_id': 'b7432e3eda3a4a558675f4f4a881d836', 'network_id': '7ac92539-e3d4-4e9b-a5cc-47c6a51028dd', 'ip_version': 4, 'cidr': '179.125.64.64/26', 'allocation_pools': [{'start': '179.125.64.66', 'end': '179.125.64.126'}], 'gateway_ip': '179.125.64.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '179.125.64.66', 'tags': [], 'project_id': 'b7432e3eda3a4a558675f4f4a881d836'}} 2025-10-20 16:36:46,794 - INFO - Created VN ctest-vn-93407832 2025-10-20 16:36:46,843 - DEBUG - VN ctest-vn-93407832 UUID is 7ac92539-e3d4-4e9b-a5cc-47c6a51028dd 2025-10-20 16:36:47,125 - DEBUG - Response for create_network : {'network': {'id': '530f9bdc-d9cd-47d1-9438-066bfeaf35db', 'name': 'ctest-vn-84388126', 'tenant_id': 'b7432e3eda3a4a558675f4f4a881d836', 'project_id': 'b7432e3eda3a4a558675f4f4a881d836', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-92815940', 'ctest-vn-84388126'], 'port_security_enabled': True, 'description': ''}} 2025-10-20 16:36:47,271 - DEBUG - Response for create_subnet : {'subnet': {'id': '2f252f0d-8a5c-4dd5-ba28-5d2497c3a03b', 'name': '', 'tenant_id': 'b7432e3eda3a4a558675f4f4a881d836', 'network_id': '530f9bdc-d9cd-47d1-9438-066bfeaf35db', 'ip_version': 4, 'cidr': '47.191.160.64/26', 'allocation_pools': [{'start': '47.191.160.66', 'end': '47.191.160.126'}], 'gateway_ip': '47.191.160.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '47.191.160.66', 'tags': [], 'project_id': 'b7432e3eda3a4a558675f4f4a881d836'}} 2025-10-20 16:36:47,288 - INFO - Created VN ctest-vn-84388126 2025-10-20 16:36:47,339 - DEBUG - VN ctest-vn-84388126 UUID is 530f9bdc-d9cd-47d1-9438-066bfeaf35db 2025-10-20 16:36:47,491 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-92815940:ctest-vn-93407832, 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-92815940:ctest-vn-84388126, 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-10-20 16:36:47,768 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7ac92539-e3d4-4e9b-a5cc-47c6a51028dd', 'name': 'ctest-vn-93407832', 'tenant_id': 'b7432e3eda3a4a558675f4f4a881d836', 'project_id': 'b7432e3eda3a4a558675f4f4a881d836', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['cf521017-e05f-4ecf-9007-1fb86d3511e8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-92815940', 'ctest-vn-93407832'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-92815940', 'ctest-policy-allow-all-23391851']], 'subnet_ipam': [{'subnet_cidr': '179.125.64.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-20 16:36:47,981 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '530f9bdc-d9cd-47d1-9438-066bfeaf35db', 'name': 'ctest-vn-84388126', 'tenant_id': 'b7432e3eda3a4a558675f4f4a881d836', 'project_id': 'b7432e3eda3a4a558675f4f4a881d836', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2f252f0d-8a5c-4dd5-ba28-5d2497c3a03b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-92815940', 'ctest-vn-84388126'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-92815940', 'ctest-policy-allow-all-23391851']], 'subnet_ipam': [{'subnet_cidr': '47.191.160.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-20 16:36:48,139 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-20 16:36:48,434 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-20 16:36:48,459 - DEBUG - Requesting: http://10.0.0.33:8082/domain/e6cad612-3c2e-44d9-8d0a-6e2812858f54 2025-10-20 16:36:48,469 - DEBUG - Requesting: http://10.0.0.33:8082/project/b7432e3e-da3a-4a55-8675-f4f4a881d836 2025-10-20 16:36:48,537 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/7ac92539-e3d4-4e9b-a5cc-47c6a51028dd 2025-10-20 16:36:48,546 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/7ac92539-e3d4-4e9b-a5cc-47c6a51028dd 2025-10-20 16:36:48,553 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/04f7ce2c-1e3b-4ef4-bc65-aa9f025a0b9a 2025-10-20 16:36:48,559 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/04f7ce2c-1e3b-4ef4-bc65-aa9f025a0b9a 2025-10-20 16:36:48,563 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/2922ad91-c1f8-4763-8597-679aa3b1ad78 2025-10-20 16:36:48,568 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-20 16:36:48,568 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/7ac92539-e3d4-4e9b-a5cc-47c6a51028dd 2025-10-20 16:36:48,575 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/04f7ce2c-1e3b-4ef4-bc65-aa9f025a0b9a 2025-10-20 16:36:48,585 - INFO - Verified VN network id 12 for VN 7ac92539-e3d4-4e9b-a5cc-47c6a51028dd 2025-10-20 16:36:48,585 - INFO - Verifications in API Server for VN ctest-vn-93407832 passed 2025-10-20 16:36:48,585 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/7ac92539-e3d4-4e9b-a5cc-47c6a51028dd 2025-10-20 16:36:48,592 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/04f7ce2c-1e3b-4ef4-bc65-aa9f025a0b9a 2025-10-20 16:36:48,596 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/04f7ce2c-1e3b-4ef4-bc65-aa9f025a0b9a 2025-10-20 16:36:48,601 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/2922ad91-c1f8-4763-8597-679aa3b1ad78 2025-10-20 16:36:48,609 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-92815940:ctest-vn-93407832', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-92815940', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8847643873511755419', 'uuid-lslong': '11947002830005479645'}, 'enable': 'true', 'created': '2025-10-20T16:36:46', 'last-modified': '2025-10-20T16:36:47', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.860213'} 2025-10-20 16:36:48,614 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-20 16:36:48,614 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-93407832 passed 2025-10-20 16:36:48,614 - DEBUG - ====Verifying policy data for ctest-vn-93407832 in API_Server ====== 2025-10-20 16:36:48,614 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-20 16:36:48,618 - DEBUG - Requesting: http://10.0.0.33:8082/domain/e6cad612-3c2e-44d9-8d0a-6e2812858f54 2025-10-20 16:36:48,627 - DEBUG - Requesting: http://10.0.0.33:8082/project/b7432e3e-da3a-4a55-8675-f4f4a881d836 2025-10-20 16:36:48,702 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/7ac92539-e3d4-4e9b-a5cc-47c6a51028dd 2025-10-20 16:36:48,710 - DEBUG - ==>Verifying data for policy with id: a1833c16-56b6-4768-9cc8-18d8d03fc3a5, fqn: ['default-domain', 'ctest-TestBasicPolicy-92815940', 'ctest-policy-allow-all-23391851'] 2025-10-20 16:36:48,710 - INFO - VN ctest-vn-93407832 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-20 16:36:48,710 - DEBUG - Verifying the vn in opserver 2025-10-20 16:36:48,710 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-92815940:ctest-vn-93407832 virtual network link through opserver 10.0.0.33 2025-10-20 16:36:48,711 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-10-20 16:36:49,001 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-10-20 16:36:49,049 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-92815940:ctest-vn-93407832', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-92815940:ctest-vn-93407832?flat'} 2025-10-20 16:36:49,049 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-92815940:ctest-vn-93407832 is found in opserver 2025-10-20 16:36:49,057 - DEBUG - Do not have enough data to verify VN in agent 2025-10-20 16:36:49,061 - DEBUG - VRF ids for VN ctest-vn-93407832: {} 2025-10-20 16:36:49,061 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-20 16:36:49,066 - DEBUG - Requesting: http://10.0.0.33:8082/domain/e6cad612-3c2e-44d9-8d0a-6e2812858f54 2025-10-20 16:36:49,078 - DEBUG - Requesting: http://10.0.0.33:8082/project/b7432e3e-da3a-4a55-8675-f4f4a881d836 2025-10-20 16:36:49,144 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/530f9bdc-d9cd-47d1-9438-066bfeaf35db 2025-10-20 16:36:49,154 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/530f9bdc-d9cd-47d1-9438-066bfeaf35db 2025-10-20 16:36:49,161 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/7e3dd487-7d3a-4cae-bb3a-a8f8a2d2566c 2025-10-20 16:36:49,167 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/7e3dd487-7d3a-4cae-bb3a-a8f8a2d2566c 2025-10-20 16:36:49,172 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/625ad359-ea5d-4f90-b93f-4a53295cad16 2025-10-20 16:36:49,178 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-20 16:36:49,178 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/530f9bdc-d9cd-47d1-9438-066bfeaf35db 2025-10-20 16:36:49,185 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/7e3dd487-7d3a-4cae-bb3a-a8f8a2d2566c 2025-10-20 16:36:49,196 - INFO - Verified VN network id 13 for VN 530f9bdc-d9cd-47d1-9438-066bfeaf35db 2025-10-20 16:36:49,196 - INFO - Verifications in API Server for VN ctest-vn-84388126 passed 2025-10-20 16:36:49,196 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/530f9bdc-d9cd-47d1-9438-066bfeaf35db 2025-10-20 16:36:49,203 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/7e3dd487-7d3a-4cae-bb3a-a8f8a2d2566c 2025-10-20 16:36:49,208 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/7e3dd487-7d3a-4cae-bb3a-a8f8a2d2566c 2025-10-20 16:36:49,213 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/625ad359-ea5d-4f90-b93f-4a53295cad16 2025-10-20 16:36:49,224 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-92815940:ctest-vn-84388126', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-92815940', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5985173802647898065', 'uuid-lslong': '10680293577213294043'}, 'enable': 'true', 'created': '2025-10-20T16:36:47', 'last-modified': '2025-10-20T16:36:47', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.262841'} 2025-10-20 16:36:49,230 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-20 16:36:49,230 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-84388126 passed 2025-10-20 16:36:49,230 - DEBUG - ====Verifying policy data for ctest-vn-84388126 in API_Server ====== 2025-10-20 16:36:49,230 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-20 16:36:49,235 - DEBUG - Requesting: http://10.0.0.33:8082/domain/e6cad612-3c2e-44d9-8d0a-6e2812858f54 2025-10-20 16:36:49,245 - DEBUG - Requesting: http://10.0.0.33:8082/project/b7432e3e-da3a-4a55-8675-f4f4a881d836 2025-10-20 16:36:49,311 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/530f9bdc-d9cd-47d1-9438-066bfeaf35db 2025-10-20 16:36:49,319 - DEBUG - ==>Verifying data for policy with id: a1833c16-56b6-4768-9cc8-18d8d03fc3a5, fqn: ['default-domain', 'ctest-TestBasicPolicy-92815940', 'ctest-policy-allow-all-23391851'] 2025-10-20 16:36:49,319 - INFO - VN ctest-vn-84388126 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-20 16:36:49,319 - DEBUG - Verifying the vn in opserver 2025-10-20 16:36:49,319 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-92815940:ctest-vn-84388126 virtual network link through opserver 10.0.0.33 2025-10-20 16:36:49,319 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-10-20 16:36:49,328 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-92815940:ctest-vn-84388126', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-92815940:ctest-vn-84388126?flat'} 2025-10-20 16:36:49,328 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-92815940:ctest-vn-84388126 is found in opserver 2025-10-20 16:36:49,338 - DEBUG - Do not have enough data to verify VN in agent 2025-10-20 16:36:49,342 - DEBUG - VRF ids for VN ctest-vn-84388126: {} 2025-10-20 16:36:49,393 - DEBUG - Services list from nova: [, , ] 2025-10-20 16:36:50,351 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4384-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4384-1) 2025-10-20 16:36:51,465 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4384-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4384-1) 2025-10-20 16:36:51,465 - INFO - Waiting for VM ctest-TestBasicPolicy-92815940-85563575 to be up.. 2025-10-20 16:36:51,535 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-20 16:36:56,607 - DEBUG - VM is in ACTIVE state now 2025-10-20 16:36:56,607 - INFO - VM name : ctest-TestBasicPolicy-92815940-85563575 2025-10-20 16:36:56,672 - DEBUG - VM ctest-TestBasicPolicy-92815940-85563575 ID is 99e4cc62-b16f-41d7-90f1-d0ef5535d082 2025-10-20 16:36:56,705 - DEBUG - VM ctest-TestBasicPolicy-92815940-85563575 launched on Node cn-jenkins-deploy-platform-ansible-os-4384-1 2025-10-20 16:36:56,773 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/99e4cc62-b16f-41d7-90f1-d0ef5535d082 2025-10-20 16:36:56,780 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/3624398d-bf8d-40fc-8191-c8a417c67ff7 2025-10-20 16:36:59,999 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1027ms') 2025-10-20 16:36:59,999 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-92815940-85563575 failed! 2025-10-20 16:37:00,059 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-92815940:ctest-vn-93407832 is 179.125.64.65 and allocation pool is NOT set 2025-10-20 16:37:02,120 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=4.24 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.854 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.854/2.548/4.243/1.694 ms') 2025-10-20 16:37:02,120 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-92815940-85563575 passed 2025-10-20 16:37:02,267 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 16:37:02,267 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-92815940-85563575, IP 179.125.64.67, Port 22 2025-10-20 16:37:02,431 - DEBUG - VM ctest-TestBasicPolicy-92815940-85563575 is ready for SSH connections 2025-10-20 16:37:02,431 - INFO - Waiting for VM ctest-TestBasicPolicy-92815940-31566444 to be up.. 2025-10-20 16:37:02,513 - DEBUG - VM is in ACTIVE state now 2025-10-20 16:37:02,513 - INFO - VM name : ctest-TestBasicPolicy-92815940-31566444 2025-10-20 16:37:02,581 - DEBUG - VM ctest-TestBasicPolicy-92815940-31566444 ID is 228f05d8-255b-45d7-b1cd-c8b07bd81411 2025-10-20 16:37:02,581 - DEBUG - VM ctest-TestBasicPolicy-92815940-31566444 launched on Node cn-jenkins-deploy-platform-ansible-os-4384-1 2025-10-20 16:37:02,650 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/228f05d8-255b-45d7-b1cd-c8b07bd81411 2025-10-20 16:37:02,659 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/f101c51c-710b-4e94-ac8c-3db34e350818 2025-10-20 16:37:03,896 - 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=4.94 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.35 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 = 1.352/3.144/4.936/1.792 ms') 2025-10-20 16:37:03,896 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-92815940-31566444 passed 2025-10-20 16:37:04,047 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 16:37:04,047 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-92815940-31566444, IP 47.191.160.67, Port 22 2025-10-20 16:37:04,210 - DEBUG - VM ctest-TestBasicPolicy-92815940-31566444 is ready for SSH connections 2025-10-20 16:37:04,211 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 16:37:04,211 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 47.191.160.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-10-20 16:37:04,211 - DEBUG - ping -s 56 -c 3 -W 1 47.191.160.67 2025-10-20 16:37:07,899 - DEBUG - PING 47.191.160.67 (47.191.160.67): 56 data bytes 64 bytes from 47.191.160.67: seq=0 ttl=63 time=3.970 ms 64 bytes from 47.191.160.67: seq=1 ttl=63 time=1.006 ms 64 bytes from 47.191.160.67: seq=2 ttl=63 time=0.721 ms --- 47.191.160.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.721/1.899/3.970 ms 2025-10-20 16:37:07,899 - INFO - Ping to IP 47.191.160.67 from VM ctest-TestBasicPolicy-92815940-85563575 passed 2025-10-20 16:37:08,067 - DEBUG - Policy Update Response {"network-policy": {"uuid": "a1833c16-56b6-4768-9cc8-18d8d03fc3a5", "href": "http://10.0.0.33:8082/network-policy/a1833c16-56b6-4768-9cc8-18d8d03fc3a5"}} 2025-10-20 16:37:08,067 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 16:37:08,067 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 47.191.160.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-10-20 16:37:08,067 - DEBUG - ping -s 56 -c 3 -W 1 47.191.160.67 2025-10-20 16:37:11,274 - DEBUG - PING 47.191.160.67 (47.191.160.67): 56 data bytes --- 47.191.160.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-20 16:37:11,274 - WARNING - Ping to IP 47.191.160.67 from VM ctest-TestBasicPolicy-92815940-85563575 failed 2025-10-20 16:37:11,274 - INFO - Deleting VM ctest-TestBasicPolicy-92815940-31566444 2025-10-20 16:37:11,353 - INFO - Deleting VM ctest-TestBasicPolicy-92815940-85563575 2025-10-20 16:37:11,767 - INFO - Deleted policy ctest-policy-allow-all-23391851 2025-10-20 16:37:11,767 - INFO - Deleting VN ctest-vn-84388126 2025-10-20 16:37:11,802 - DEBUG - VN 530f9bdc-d9cd-47d1-9438-066bfeaf35db still in use: Unable to complete operation on network 530f9bdc-d9cd-47d1-9438-066bfeaf35db. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-386f33d4-fff8-49ed-a658-c8f6ad739451'] 2025-10-20 16:37:11,802 - WARNING - Deleting VN ctest-vn-84388126 failed..Will retry 2025-10-20 16:37:13,886 - DEBUG - Response for deleting network () 2025-10-20 16:37:13,886 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/7e3dd487-7d3a-4cae-bb3a-a8f8a2d2566c 2025-10-20 16:37:13,891 - DEBUG - Response Code: 404 2025-10-20 16:37:13,891 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-20 16:37:13,895 - DEBUG - Requesting: http://10.0.0.33:8082/domain/e6cad612-3c2e-44d9-8d0a-6e2812858f54 2025-10-20 16:37:13,948 - DEBUG - Requesting: http://10.0.0.33:8082/project/b7432e3e-da3a-4a55-8675-f4f4a881d836 2025-10-20 16:37:14,014 - INFO - Validated that VN ctest-vn-84388126 is not found in API Server 2025-10-20 16:37:14,022 - DEBUG - VN ctest-vn-84388126 is not present in Agent 10.0.0.33 2025-10-20 16:37:14,022 - INFO - Validated that VN ctest-vn-84388126 is not in any agent 2025-10-20 16:37:14,034 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-84388126 info 2025-10-20 16:37:14,034 - INFO - Deleting VN ctest-vn-93407832 2025-10-20 16:37:14,125 - DEBUG - Response for deleting network () 2025-10-20 16:37:14,126 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/04f7ce2c-1e3b-4ef4-bc65-aa9f025a0b9a 2025-10-20 16:37:14,130 - DEBUG - Response Code: 404 2025-10-20 16:37:14,130 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-20 16:37:14,134 - DEBUG - Requesting: http://10.0.0.33:8082/domain/e6cad612-3c2e-44d9-8d0a-6e2812858f54 2025-10-20 16:37:14,183 - DEBUG - Requesting: http://10.0.0.33:8082/project/b7432e3e-da3a-4a55-8675-f4f4a881d836 2025-10-20 16:37:14,251 - INFO - Validated that VN ctest-vn-93407832 is not found in API Server 2025-10-20 16:37:14,260 - DEBUG - VN ctest-vn-93407832 is not present in Agent 10.0.0.33 2025-10-20 16:37:14,261 - INFO - Validated that VN ctest-vn-93407832 is not in any agent 2025-10-20 16:37:14,273 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-93407832 info 2025-10-20 16:37:14,527 - DEBUG - No XMPP flaps were noticed during the test 2025-10-20 16:37:14,527 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-10-20 16:37:14,528 - INFO - -------------------------------------------------------------------------------- 2025-10-20 16:37:15,168 - INFO - Deleted project: ctest-TestBasicPolicy-92815940, ID : b7432e3e-da3a-4a55-8675-f4f4a881d836