2025-10-24 17:11:41,566 - INFO - Domain Default found not creating 2025-10-24 17:11:41,724 - INFO - Project ctest-TestBasicPolicy-77793566 not found, creating it 2025-10-24 17:11:42,205 - INFO - Created Project:ctest-TestBasicPolicy-77793566, ID : 4025d30a-7502-4407-92b8-7946bf351a6a 2025-10-24 17:11:43,699 - INFO - ================================================================================ 2025-10-24 17:11:43,700 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-24 17:11:43,700 - 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-24 17:11:43,971 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.17': '0'}} with 2025-10-24 17:11:43,971 - INFO - Initial checks done. Running the testcase now 2025-10-24 17:11:43,971 - INFO - 2025-10-24 17:11:44,539 - DEBUG - Response for create_network : {'network': {'id': 'fca8a4f9-6712-4224-a4f6-5044fb1a7315', 'name': 'ctest-vn-66414173', 'tenant_id': '4025d30a7502440792b87946bf351a6a', 'project_id': '4025d30a7502440792b87946bf351a6a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-77793566', 'ctest-vn-66414173'], 'port_security_enabled': True, 'description': ''}} 2025-10-24 17:11:44,717 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c6ea0c8f-d360-4595-b5a3-a3927c3f7780', 'name': '', 'tenant_id': '4025d30a7502440792b87946bf351a6a', 'network_id': 'fca8a4f9-6712-4224-a4f6-5044fb1a7315', 'ip_version': 4, 'cidr': '54.232.252.0/26', 'allocation_pools': [{'start': '54.232.252.2', 'end': '54.232.252.62'}], 'gateway_ip': '54.232.252.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '54.232.252.2', 'tags': [], 'project_id': '4025d30a7502440792b87946bf351a6a'}} 2025-10-24 17:11:44,736 - INFO - Created VN ctest-vn-66414173 2025-10-24 17:11:44,788 - DEBUG - VN ctest-vn-66414173 UUID is fca8a4f9-6712-4224-a4f6-5044fb1a7315 2025-10-24 17:11:45,081 - DEBUG - Response for create_network : {'network': {'id': 'a22ec944-bd9a-4491-b401-c1103ba8bf8a', 'name': 'ctest-vn-63717828', 'tenant_id': '4025d30a7502440792b87946bf351a6a', 'project_id': '4025d30a7502440792b87946bf351a6a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-77793566', 'ctest-vn-63717828'], 'port_security_enabled': True, 'description': ''}} 2025-10-24 17:11:45,287 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c38b2cc5-cc69-436c-af0b-edebb3c365fa', 'name': '', 'tenant_id': '4025d30a7502440792b87946bf351a6a', 'network_id': 'a22ec944-bd9a-4491-b401-c1103ba8bf8a', 'ip_version': 4, 'cidr': '122.34.38.128/26', 'allocation_pools': [{'start': '122.34.38.130', 'end': '122.34.38.190'}], 'gateway_ip': '122.34.38.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '122.34.38.130', 'tags': [], 'project_id': '4025d30a7502440792b87946bf351a6a'}} 2025-10-24 17:11:45,306 - INFO - Created VN ctest-vn-63717828 2025-10-24 17:11:45,360 - DEBUG - VN ctest-vn-63717828 UUID is a22ec944-bd9a-4491-b401-c1103ba8bf8a 2025-10-24 17:11:45,477 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-77793566:ctest-vn-66414173, 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-77793566:ctest-vn-63717828, 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-24 17:11:45,781 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'fca8a4f9-6712-4224-a4f6-5044fb1a7315', 'name': 'ctest-vn-66414173', 'tenant_id': '4025d30a7502440792b87946bf351a6a', 'project_id': '4025d30a7502440792b87946bf351a6a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c6ea0c8f-d360-4595-b5a3-a3927c3f7780'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-77793566', 'ctest-vn-66414173'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-77793566', 'ctest-policy-allow-all-80961363']], 'subnet_ipam': [{'subnet_cidr': '54.232.252.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-24 17:11:46,066 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a22ec944-bd9a-4491-b401-c1103ba8bf8a', 'name': 'ctest-vn-63717828', 'tenant_id': '4025d30a7502440792b87946bf351a6a', 'project_id': '4025d30a7502440792b87946bf351a6a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c38b2cc5-cc69-436c-af0b-edebb3c365fa'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-77793566', 'ctest-vn-63717828'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-77793566', 'ctest-policy-allow-all-80961363']], 'subnet_ipam': [{'subnet_cidr': '122.34.38.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-24 17:11:46,216 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-24 17:11:46,528 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-24 17:11:46,559 - DEBUG - Requesting: http://10.0.0.249:8082/domain/772a02ec-55f7-4bf5-98a6-67943cfe9afd 2025-10-24 17:11:46,571 - DEBUG - Requesting: http://10.0.0.249:8082/project/4025d30a-7502-4407-92b8-7946bf351a6a 2025-10-24 17:11:46,647 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/fca8a4f9-6712-4224-a4f6-5044fb1a7315 2025-10-24 17:11:46,658 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/fca8a4f9-6712-4224-a4f6-5044fb1a7315 2025-10-24 17:11:46,667 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/9d29a62c-1699-41f5-930f-8ad8caa23f42 2025-10-24 17:11:46,674 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/9d29a62c-1699-41f5-930f-8ad8caa23f42 2025-10-24 17:11:46,682 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/44b4f0eb-ca87-415d-96c4-866ec9a09dee 2025-10-24 17:11:46,688 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-24 17:11:46,688 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/fca8a4f9-6712-4224-a4f6-5044fb1a7315 2025-10-24 17:11:46,697 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/9d29a62c-1699-41f5-930f-8ad8caa23f42 2025-10-24 17:11:46,712 - INFO - Verified VN network id 11 for VN fca8a4f9-6712-4224-a4f6-5044fb1a7315 2025-10-24 17:11:46,712 - INFO - Verifications in API Server for VN ctest-vn-66414173 passed 2025-10-24 17:11:46,713 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/fca8a4f9-6712-4224-a4f6-5044fb1a7315 2025-10-24 17:11:46,722 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/9d29a62c-1699-41f5-930f-8ad8caa23f42 2025-10-24 17:11:46,730 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/9d29a62c-1699-41f5-930f-8ad8caa23f42 2025-10-24 17:11:46,736 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/44b4f0eb-ca87-415d-96c4-866ec9a09dee 2025-10-24 17:11:46,749 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-77793566:ctest-vn-66414173', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-77793566', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18205982884728291876', 'uuid-lslong': '11886776523691815701'}, 'enable': 'true', 'created': '2025-10-24T17:11:44', 'last-modified': '2025-10-24T17:11:45', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.990962'} 2025-10-24 17:11:46,755 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-24 17:11:46,755 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-66414173 passed 2025-10-24 17:11:46,755 - DEBUG - ====Verifying policy data for ctest-vn-66414173 in API_Server ====== 2025-10-24 17:11:46,755 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-24 17:11:46,761 - DEBUG - Requesting: http://10.0.0.249:8082/domain/772a02ec-55f7-4bf5-98a6-67943cfe9afd 2025-10-24 17:11:46,772 - DEBUG - Requesting: http://10.0.0.249:8082/project/4025d30a-7502-4407-92b8-7946bf351a6a 2025-10-24 17:11:46,844 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/fca8a4f9-6712-4224-a4f6-5044fb1a7315 2025-10-24 17:11:46,852 - DEBUG - ==>Verifying data for policy with id: 92e02487-81ef-4570-9d65-4abe8f0b6b72, fqn: ['default-domain', 'ctest-TestBasicPolicy-77793566', 'ctest-policy-allow-all-80961363'] 2025-10-24 17:11:46,853 - INFO - VN ctest-vn-66414173 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-24 17:11:46,853 - DEBUG - Verifying the vn in opserver 2025-10-24 17:11:46,853 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-77793566:ctest-vn-66414173 virtual network link through opserver 10.0.0.249 2025-10-24 17:11:46,853 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-10-24 17:11:47,146 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-10-24 17:11:47,207 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-77793566:ctest-vn-66414173', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-77793566:ctest-vn-66414173?flat'} 2025-10-24 17:11:47,207 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-77793566:ctest-vn-66414173 is found in opserver 2025-10-24 17:11:47,220 - DEBUG - Do not have enough data to verify VN in agent 2025-10-24 17:11:47,225 - DEBUG - VRF ids for VN ctest-vn-66414173: {} 2025-10-24 17:11:47,225 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-24 17:11:47,231 - DEBUG - Requesting: http://10.0.0.249:8082/domain/772a02ec-55f7-4bf5-98a6-67943cfe9afd 2025-10-24 17:11:47,242 - DEBUG - Requesting: http://10.0.0.249:8082/project/4025d30a-7502-4407-92b8-7946bf351a6a 2025-10-24 17:11:47,317 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/a22ec944-bd9a-4491-b401-c1103ba8bf8a 2025-10-24 17:11:47,329 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/a22ec944-bd9a-4491-b401-c1103ba8bf8a 2025-10-24 17:11:47,339 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/47c0d16b-398b-484f-89c7-5615f76d9dc0 2025-10-24 17:11:47,347 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/47c0d16b-398b-484f-89c7-5615f76d9dc0 2025-10-24 17:11:47,355 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/64be1b6c-0380-41d1-8eb6-fcbb88863fee 2025-10-24 17:11:47,363 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-24 17:11:47,363 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/a22ec944-bd9a-4491-b401-c1103ba8bf8a 2025-10-24 17:11:47,373 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/47c0d16b-398b-484f-89c7-5615f76d9dc0 2025-10-24 17:11:47,389 - INFO - Verified VN network id 12 for VN a22ec944-bd9a-4491-b401-c1103ba8bf8a 2025-10-24 17:11:47,390 - INFO - Verifications in API Server for VN ctest-vn-63717828 passed 2025-10-24 17:11:47,390 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/a22ec944-bd9a-4491-b401-c1103ba8bf8a 2025-10-24 17:11:47,399 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/47c0d16b-398b-484f-89c7-5615f76d9dc0 2025-10-24 17:11:47,406 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/47c0d16b-398b-484f-89c7-5615f76d9dc0 2025-10-24 17:11:47,413 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/64be1b6c-0380-41d1-8eb6-fcbb88863fee 2025-10-24 17:11:47,426 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-77793566:ctest-vn-63717828', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-77793566', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11686499380148978833', 'uuid-lslong': '12970860677268291466'}, 'enable': 'true', 'created': '2025-10-24T17:11:45', 'last-modified': '2025-10-24T17:11:45', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.426958'} 2025-10-24 17:11:47,433 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-24 17:11:47,433 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-63717828 passed 2025-10-24 17:11:47,433 - DEBUG - ====Verifying policy data for ctest-vn-63717828 in API_Server ====== 2025-10-24 17:11:47,433 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-24 17:11:47,439 - DEBUG - Requesting: http://10.0.0.249:8082/domain/772a02ec-55f7-4bf5-98a6-67943cfe9afd 2025-10-24 17:11:47,450 - DEBUG - Requesting: http://10.0.0.249:8082/project/4025d30a-7502-4407-92b8-7946bf351a6a 2025-10-24 17:11:47,522 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/a22ec944-bd9a-4491-b401-c1103ba8bf8a 2025-10-24 17:11:47,531 - DEBUG - ==>Verifying data for policy with id: 92e02487-81ef-4570-9d65-4abe8f0b6b72, fqn: ['default-domain', 'ctest-TestBasicPolicy-77793566', 'ctest-policy-allow-all-80961363'] 2025-10-24 17:11:47,531 - INFO - VN ctest-vn-63717828 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-24 17:11:47,531 - DEBUG - Verifying the vn in opserver 2025-10-24 17:11:47,532 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-77793566:ctest-vn-63717828 virtual network link through opserver 10.0.0.249 2025-10-24 17:11:47,532 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-10-24 17:11:47,542 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-77793566:ctest-vn-63717828', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-77793566:ctest-vn-63717828?flat'} 2025-10-24 17:11:47,542 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-77793566:ctest-vn-63717828 is found in opserver 2025-10-24 17:11:47,552 - DEBUG - Do not have enough data to verify VN in agent 2025-10-24 17:11:47,556 - DEBUG - VRF ids for VN ctest-vn-63717828: {} 2025-10-24 17:11:47,616 - DEBUG - Services list from nova: [, , ] 2025-10-24 17:11:48,644 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4477-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4477-1) 2025-10-24 17:11:49,843 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4477-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4477-1) 2025-10-24 17:11:49,843 - INFO - Waiting for VM ctest-TestBasicPolicy-77793566-10857484 to be up.. 2025-10-24 17:11:49,954 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-24 17:11:55,054 - DEBUG - VM is in ACTIVE state now 2025-10-24 17:11:55,055 - INFO - VM name : ctest-TestBasicPolicy-77793566-10857484 2025-10-24 17:11:55,139 - DEBUG - VM ctest-TestBasicPolicy-77793566-10857484 ID is 7720e78d-6b29-471b-a553-119c2b12d5d1 2025-10-24 17:11:55,158 - DEBUG - VM ctest-TestBasicPolicy-77793566-10857484 launched on Node cn-jenkins-deploy-platform-ansible-os-4477-1 2025-10-24 17:11:55,248 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/7720e78d-6b29-471b-a553-119c2b12d5d1 2025-10-24 17:11:55,257 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/adf9f6ef-60f1-4283-8365-9dbd4e6747df 2025-10-24 17:11:58,517 - 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 1014ms') 2025-10-24 17:11:58,517 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-77793566-10857484 failed! 2025-10-24 17:11:58,580 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-77793566:ctest-vn-66414173 is 54.232.252.1 and allocation pool is NOT set 2025-10-24 17:12:00,650 - 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=8.43 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.67 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 2.667/5.549/8.431/2.882 ms') 2025-10-24 17:12:00,650 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-77793566-10857484 passed 2025-10-24 17:12:00,804 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 17:12:00,804 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-77793566-10857484, IP 54.232.252.3, Port 22 2025-10-24 17:12:00,959 - DEBUG - VM ctest-TestBasicPolicy-77793566-10857484 is ready for SSH connections 2025-10-24 17:12:00,959 - INFO - Waiting for VM ctest-TestBasicPolicy-77793566-28857981 to be up.. 2025-10-24 17:12:01,044 - DEBUG - VM is in ACTIVE state now 2025-10-24 17:12:01,044 - INFO - VM name : ctest-TestBasicPolicy-77793566-28857981 2025-10-24 17:12:01,132 - DEBUG - VM ctest-TestBasicPolicy-77793566-28857981 ID is ea2d477f-4368-4486-8198-b1b0bbccc46d 2025-10-24 17:12:01,132 - DEBUG - VM ctest-TestBasicPolicy-77793566-28857981 launched on Node cn-jenkins-deploy-platform-ansible-os-4477-1 2025-10-24 17:12:01,218 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/ea2d477f-4368-4486-8198-b1b0bbccc46d 2025-10-24 17:12:01,229 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/d42b1e73-1b81-414f-840f-cdf3a3e8f9c8 2025-10-24 17:12:02,472 - 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.32 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.01 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 = 2.010/3.662/5.315/1.652 ms') 2025-10-24 17:12:02,472 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-77793566-28857981 passed 2025-10-24 17:12:02,625 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 17:12:02,625 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-77793566-28857981, IP 122.34.38.131, Port 22 2025-10-24 17:12:02,802 - DEBUG - VM ctest-TestBasicPolicy-77793566-28857981 is ready for SSH connections 2025-10-24 17:12:02,802 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 17:12:02,802 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 122.34.38.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-10-24 17:12:02,803 - DEBUG - ping -s 56 -c 3 -W 1 122.34.38.131 2025-10-24 17:12:06,946 - DEBUG - PING 122.34.38.131 (122.34.38.131): 56 data bytes 64 bytes from 122.34.38.131: seq=0 ttl=63 time=4.136 ms 64 bytes from 122.34.38.131: seq=1 ttl=63 time=0.936 ms 64 bytes from 122.34.38.131: seq=2 ttl=63 time=0.981 ms --- 122.34.38.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.936/2.017/4.136 ms 2025-10-24 17:12:06,947 - INFO - Ping to IP 122.34.38.131 from VM ctest-TestBasicPolicy-77793566-10857484 passed 2025-10-24 17:12:07,132 - DEBUG - Policy Update Response {"network-policy": {"uuid": "92e02487-81ef-4570-9d65-4abe8f0b6b72", "href": "http://10.0.0.249:8082/network-policy/92e02487-81ef-4570-9d65-4abe8f0b6b72"}} 2025-10-24 17:12:07,132 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 17:12:07,132 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 122.34.38.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-10-24 17:12:07,132 - DEBUG - ping -s 56 -c 3 -W 1 122.34.38.131 2025-10-24 17:12:10,369 - DEBUG - PING 122.34.38.131 (122.34.38.131): 56 data bytes --- 122.34.38.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-24 17:12:10,369 - WARNING - Ping to IP 122.34.38.131 from VM ctest-TestBasicPolicy-77793566-10857484 failed 2025-10-24 17:12:10,369 - INFO - Deleting VM ctest-TestBasicPolicy-77793566-28857981 2025-10-24 17:12:10,445 - INFO - Deleting VM ctest-TestBasicPolicy-77793566-10857484 2025-10-24 17:12:10,852 - INFO - Deleted policy ctest-policy-allow-all-80961363 2025-10-24 17:12:10,852 - INFO - Deleting VN ctest-vn-63717828 2025-10-24 17:12:10,895 - DEBUG - VN a22ec944-bd9a-4491-b401-c1103ba8bf8a still in use: Unable to complete operation on network a22ec944-bd9a-4491-b401-c1103ba8bf8a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-bc38ff09-97d1-4586-8c82-d832c7ac51e3'] 2025-10-24 17:12:10,896 - WARNING - Deleting VN ctest-vn-63717828 failed..Will retry 2025-10-24 17:12:13,022 - DEBUG - Response for deleting network () 2025-10-24 17:12:13,023 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/47c0d16b-398b-484f-89c7-5615f76d9dc0 2025-10-24 17:12:13,029 - DEBUG - Response Code: 404 2025-10-24 17:12:13,030 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-24 17:12:13,036 - DEBUG - Requesting: http://10.0.0.249:8082/domain/772a02ec-55f7-4bf5-98a6-67943cfe9afd 2025-10-24 17:12:13,098 - DEBUG - Requesting: http://10.0.0.249:8082/project/4025d30a-7502-4407-92b8-7946bf351a6a 2025-10-24 17:12:13,170 - INFO - Validated that VN ctest-vn-63717828 is not found in API Server 2025-10-24 17:12:13,180 - DEBUG - VN ctest-vn-63717828 is not present in Agent 10.0.0.249 2025-10-24 17:12:13,180 - INFO - Validated that VN ctest-vn-63717828 is not in any agent 2025-10-24 17:12:13,194 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-63717828 info 2025-10-24 17:12:13,194 - INFO - Deleting VN ctest-vn-66414173 2025-10-24 17:12:13,320 - DEBUG - Response for deleting network () 2025-10-24 17:12:13,321 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/9d29a62c-1699-41f5-930f-8ad8caa23f42 2025-10-24 17:12:13,333 - DEBUG - Response Code: 404 2025-10-24 17:12:13,334 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-24 17:12:13,340 - DEBUG - Requesting: http://10.0.0.249:8082/domain/772a02ec-55f7-4bf5-98a6-67943cfe9afd 2025-10-24 17:12:13,394 - DEBUG - Requesting: http://10.0.0.249:8082/project/4025d30a-7502-4407-92b8-7946bf351a6a 2025-10-24 17:12:13,469 - INFO - Validated that VN ctest-vn-66414173 is not found in API Server 2025-10-24 17:12:13,481 - DEBUG - VN ctest-vn-66414173 is not present in Agent 10.0.0.249 2025-10-24 17:12:13,481 - INFO - Validated that VN ctest-vn-66414173 is not in any agent 2025-10-24 17:12:13,496 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-66414173 info 2025-10-24 17:12:13,754 - DEBUG - No XMPP flaps were noticed during the test
2025-10-24 17:12:13,754 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-10-24 17:12:13,754 - INFO - -------------------------------------------------------------------------------- 2025-10-24 17:12:14,441 - INFO - Deleted project: ctest-TestBasicPolicy-77793566, ID : 4025d30a-7502-4407-92b8-7946bf351a6a