2025-11-10 01:58:58,822 - INFO - Domain Default found not creating 2025-11-10 01:58:58,989 - INFO - Project ctest-TestBasicPolicy-96783475 not found, creating it 2025-11-10 01:58:59,468 - INFO - Created Project:ctest-TestBasicPolicy-96783475, ID : be4335dc-456b-41dc-809c-aa6b8266c81a 2025-11-10 01:59:00,941 - INFO - ================================================================================ 2025-11-10 01:59:00,942 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-10 01:59:00,942 - 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-10 01:59:01,204 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.17': '0'}} with 2025-11-10 01:59:01,204 - INFO - Initial checks done. Running the testcase now 2025-11-10 01:59:01,204 - INFO - 2025-11-10 01:59:01,806 - DEBUG - Response for create_network : {'network': {'id': '11143cd4-5987-4347-85d7-430b0bb78e6a', 'name': 'ctest-vn-83552125', 'tenant_id': 'be4335dc456b41dc809caa6b8266c81a', 'project_id': 'be4335dc456b41dc809caa6b8266c81a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96783475', 'ctest-vn-83552125'], 'port_security_enabled': True, 'description': ''}} 2025-11-10 01:59:02,013 - DEBUG - Response for create_subnet : {'subnet': {'id': '1f53953c-e7a2-47c4-8227-190590a9087b', 'name': '', 'tenant_id': 'be4335dc456b41dc809caa6b8266c81a', 'network_id': '11143cd4-5987-4347-85d7-430b0bb78e6a', 'ip_version': 4, 'cidr': '167.195.208.64/26', 'allocation_pools': [{'start': '167.195.208.66', 'end': '167.195.208.126'}], 'gateway_ip': '167.195.208.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '167.195.208.66', 'tags': [], 'project_id': 'be4335dc456b41dc809caa6b8266c81a'}} 2025-11-10 01:59:02,033 - INFO - Created VN ctest-vn-83552125 2025-11-10 01:59:02,083 - DEBUG - VN ctest-vn-83552125 UUID is 11143cd4-5987-4347-85d7-430b0bb78e6a 2025-11-10 01:59:02,411 - DEBUG - Response for create_network : {'network': {'id': 'a233a502-b293-4db1-9013-5ddff70e2ab7', 'name': 'ctest-vn-39917282', 'tenant_id': 'be4335dc456b41dc809caa6b8266c81a', 'project_id': 'be4335dc456b41dc809caa6b8266c81a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96783475', 'ctest-vn-39917282'], 'port_security_enabled': True, 'description': ''}} 2025-11-10 01:59:02,620 - DEBUG - Response for create_subnet : {'subnet': {'id': '023a57ea-2d5b-473f-bf09-2f59c7fb99a1', 'name': '', 'tenant_id': 'be4335dc456b41dc809caa6b8266c81a', 'network_id': 'a233a502-b293-4db1-9013-5ddff70e2ab7', 'ip_version': 4, 'cidr': '212.110.169.192/26', 'allocation_pools': [{'start': '212.110.169.194', 'end': '212.110.169.254'}], 'gateway_ip': '212.110.169.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '212.110.169.194', 'tags': [], 'project_id': 'be4335dc456b41dc809caa6b8266c81a'}} 2025-11-10 01:59:02,639 - INFO - Created VN ctest-vn-39917282 2025-11-10 01:59:02,695 - DEBUG - VN ctest-vn-39917282 UUID is a233a502-b293-4db1-9013-5ddff70e2ab7 2025-11-10 01:59:02,826 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-96783475:ctest-vn-83552125, 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-96783475:ctest-vn-39917282, 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-10 01:59:03,194 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '11143cd4-5987-4347-85d7-430b0bb78e6a', 'name': 'ctest-vn-83552125', 'tenant_id': 'be4335dc456b41dc809caa6b8266c81a', 'project_id': 'be4335dc456b41dc809caa6b8266c81a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1f53953c-e7a2-47c4-8227-190590a9087b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96783475', 'ctest-vn-83552125'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-96783475', 'ctest-policy-allow-all-49908263']], 'subnet_ipam': [{'subnet_cidr': '167.195.208.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-10 01:59:03,445 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a233a502-b293-4db1-9013-5ddff70e2ab7', 'name': 'ctest-vn-39917282', 'tenant_id': 'be4335dc456b41dc809caa6b8266c81a', 'project_id': 'be4335dc456b41dc809caa6b8266c81a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['023a57ea-2d5b-473f-bf09-2f59c7fb99a1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96783475', 'ctest-vn-39917282'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-96783475', 'ctest-policy-allow-all-49908263']], 'subnet_ipam': [{'subnet_cidr': '212.110.169.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-10 01:59:03,615 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-11-10 01:59:03,913 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-11-10 01:59:03,941 - DEBUG - Requesting: http://10.0.0.41:8082/domain/870d4706-0fa5-4a50-ac53-19235cac7181 2025-11-10 01:59:03,951 - DEBUG - Requesting: http://10.0.0.41:8082/project/be4335dc-456b-41dc-809c-aa6b8266c81a 2025-11-10 01:59:04,021 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/11143cd4-5987-4347-85d7-430b0bb78e6a 2025-11-10 01:59:04,037 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/11143cd4-5987-4347-85d7-430b0bb78e6a 2025-11-10 01:59:04,046 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/cfb5e550-2b61-4778-98e1-4f751522ad9d 2025-11-10 01:59:04,052 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/cfb5e550-2b61-4778-98e1-4f751522ad9d 2025-11-10 01:59:04,058 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/73931aef-5479-44bf-9578-8c91f57a8b26 2025-11-10 01:59:04,064 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-10 01:59:04,064 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/11143cd4-5987-4347-85d7-430b0bb78e6a 2025-11-10 01:59:04,072 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/cfb5e550-2b61-4778-98e1-4f751522ad9d 2025-11-10 01:59:04,084 - INFO - Verified VN network id 9 for VN 11143cd4-5987-4347-85d7-430b0bb78e6a 2025-11-10 01:59:04,084 - INFO - Verifications in API Server for VN ctest-vn-83552125 passed 2025-11-10 01:59:04,084 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/11143cd4-5987-4347-85d7-430b0bb78e6a 2025-11-10 01:59:04,094 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/cfb5e550-2b61-4778-98e1-4f751522ad9d 2025-11-10 01:59:04,100 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/cfb5e550-2b61-4778-98e1-4f751522ad9d 2025-11-10 01:59:04,106 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/73931aef-5479-44bf-9578-8c91f57a8b26 2025-11-10 01:59:04,117 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-96783475:ctest-vn-83552125', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-96783475', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1230675480911758151', 'uuid-lslong': '9644250841757486698'}, 'enable': 'true', 'created': '2025-11-10T01:59:01', 'last-modified': '2025-11-10T01:59:03', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.968979'} 2025-11-10 01:59:04,124 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-10 01:59:04,124 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-83552125 passed 2025-11-10 01:59:04,124 - DEBUG - ====Verifying policy data for ctest-vn-83552125 in API_Server ====== 2025-11-10 01:59:04,124 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-11-10 01:59:04,129 - DEBUG - Requesting: http://10.0.0.41:8082/domain/870d4706-0fa5-4a50-ac53-19235cac7181 2025-11-10 01:59:04,138 - DEBUG - Requesting: http://10.0.0.41:8082/project/be4335dc-456b-41dc-809c-aa6b8266c81a 2025-11-10 01:59:04,209 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/11143cd4-5987-4347-85d7-430b0bb78e6a 2025-11-10 01:59:04,220 - DEBUG - ==>Verifying data for policy with id: 0cc59a60-e354-479b-bcf3-71a94b1969a0, fqn: ['default-domain', 'ctest-TestBasicPolicy-96783475', 'ctest-policy-allow-all-49908263'] 2025-11-10 01:59:04,220 - INFO - VN ctest-vn-83552125 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-10 01:59:04,220 - DEBUG - Verifying the vn in opserver 2025-11-10 01:59:04,220 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-96783475:ctest-vn-83552125 virtual network link through opserver 10.0.0.41 2025-11-10 01:59:04,220 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2025-11-10 01:59:04,516 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2025-11-10 01:59:04,592 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-96783475:ctest-vn-83552125', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-96783475:ctest-vn-83552125?flat'} 2025-11-10 01:59:04,592 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-96783475:ctest-vn-83552125 is found in opserver 2025-11-10 01:59:04,601 - DEBUG - Do not have enough data to verify VN in agent 2025-11-10 01:59:04,608 - DEBUG - VRF ids for VN ctest-vn-83552125: {} 2025-11-10 01:59:04,608 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-11-10 01:59:04,614 - DEBUG - Requesting: http://10.0.0.41:8082/domain/870d4706-0fa5-4a50-ac53-19235cac7181 2025-11-10 01:59:04,625 - DEBUG - Requesting: http://10.0.0.41:8082/project/be4335dc-456b-41dc-809c-aa6b8266c81a 2025-11-10 01:59:04,708 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/a233a502-b293-4db1-9013-5ddff70e2ab7 2025-11-10 01:59:04,721 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/a233a502-b293-4db1-9013-5ddff70e2ab7 2025-11-10 01:59:04,730 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/349645a9-5599-43ea-bdc8-e68733d5e58b 2025-11-10 01:59:04,737 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/349645a9-5599-43ea-bdc8-e68733d5e58b 2025-11-10 01:59:04,744 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/1a20b2a0-1784-4265-8637-8396a3b245c4 2025-11-10 01:59:04,751 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-10 01:59:04,751 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/a233a502-b293-4db1-9013-5ddff70e2ab7 2025-11-10 01:59:04,760 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/349645a9-5599-43ea-bdc8-e68733d5e58b 2025-11-10 01:59:04,776 - INFO - Verified VN network id 10 for VN a233a502-b293-4db1-9013-5ddff70e2ab7 2025-11-10 01:59:04,777 - INFO - Verifications in API Server for VN ctest-vn-39917282 passed 2025-11-10 01:59:04,777 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/a233a502-b293-4db1-9013-5ddff70e2ab7 2025-11-10 01:59:04,788 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/349645a9-5599-43ea-bdc8-e68733d5e58b 2025-11-10 01:59:04,796 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/349645a9-5599-43ea-bdc8-e68733d5e58b 2025-11-10 01:59:04,804 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/1a20b2a0-1784-4265-8637-8396a3b245c4 2025-11-10 01:59:04,815 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-96783475:ctest-vn-39917282', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-96783475', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11687866888961084849', 'uuid-lslong': '10381744782523116215'}, 'enable': 'true', 'created': '2025-11-10T01:59:02', 'last-modified': '2025-11-10T01:59:03', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.391713'} 2025-11-10 01:59:04,821 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-10 01:59:04,822 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-39917282 passed 2025-11-10 01:59:04,822 - DEBUG - ====Verifying policy data for ctest-vn-39917282 in API_Server ====== 2025-11-10 01:59:04,822 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-11-10 01:59:04,827 - DEBUG - Requesting: http://10.0.0.41:8082/domain/870d4706-0fa5-4a50-ac53-19235cac7181 2025-11-10 01:59:04,839 - DEBUG - Requesting: http://10.0.0.41:8082/project/be4335dc-456b-41dc-809c-aa6b8266c81a 2025-11-10 01:59:04,909 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/a233a502-b293-4db1-9013-5ddff70e2ab7 2025-11-10 01:59:04,918 - DEBUG - ==>Verifying data for policy with id: 0cc59a60-e354-479b-bcf3-71a94b1969a0, fqn: ['default-domain', 'ctest-TestBasicPolicy-96783475', 'ctest-policy-allow-all-49908263'] 2025-11-10 01:59:04,918 - INFO - VN ctest-vn-39917282 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-10 01:59:04,919 - DEBUG - Verifying the vn in opserver 2025-11-10 01:59:04,919 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-96783475:ctest-vn-39917282 virtual network link through opserver 10.0.0.41 2025-11-10 01:59:04,919 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2025-11-10 01:59:04,929 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-96783475:ctest-vn-39917282', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-96783475:ctest-vn-39917282?flat'} 2025-11-10 01:59:04,929 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-96783475:ctest-vn-39917282 is found in opserver 2025-11-10 01:59:04,937 - DEBUG - Do not have enough data to verify VN in agent 2025-11-10 01:59:04,941 - DEBUG - VRF ids for VN ctest-vn-39917282: {} 2025-11-10 01:59:04,996 - DEBUG - Services list from nova: [, , ] 2025-11-10 01:59:06,052 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4675-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4675-1) 2025-11-10 01:59:07,195 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4675-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4675-1) 2025-11-10 01:59:07,195 - INFO - Waiting for VM ctest-TestBasicPolicy-96783475-46056358 to be up.. 2025-11-10 01:59:07,271 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-10 01:59:12,347 - DEBUG - VM is in ACTIVE state now 2025-11-10 01:59:12,347 - INFO - VM name : ctest-TestBasicPolicy-96783475-46056358 2025-11-10 01:59:12,417 - DEBUG - VM ctest-TestBasicPolicy-96783475-46056358 ID is 1181ebaf-b3b1-4bb0-8ff7-69bbd8e7f80f 2025-11-10 01:59:12,438 - DEBUG - VM ctest-TestBasicPolicy-96783475-46056358 launched on Node cn-jenkins-deploy-platform-ansible-os-4675-1 2025-11-10 01:59:12,519 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/1181ebaf-b3b1-4bb0-8ff7-69bbd8e7f80f 2025-11-10 01:59:12,528 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/519bd3f8-868c-4495-af70-11ee8c9d4d84 2025-11-10 01:59:15,766 - 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 1007ms') 2025-11-10 01:59:15,767 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-96783475-46056358 failed! 2025-11-10 01:59:15,819 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-96783475:ctest-vn-83552125 is 167.195.208.65 and allocation pool is NOT set 2025-11-10 01:59:17,880 - 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.02 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.508 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.508/1.765/3.023/1.257 ms') 2025-11-10 01:59:17,880 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-96783475-46056358 passed 2025-11-10 01:59:18,027 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 01:59:18,027 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-96783475-46056358, IP 167.195.208.67, Port 22 2025-11-10 01:59:18,201 - DEBUG - VM ctest-TestBasicPolicy-96783475-46056358 is ready for SSH connections 2025-11-10 01:59:18,201 - INFO - Waiting for VM ctest-TestBasicPolicy-96783475-92336419 to be up.. 2025-11-10 01:59:18,284 - DEBUG - VM is in ACTIVE state now 2025-11-10 01:59:18,285 - INFO - VM name : ctest-TestBasicPolicy-96783475-92336419 2025-11-10 01:59:18,377 - DEBUG - VM ctest-TestBasicPolicy-96783475-92336419 ID is d2e5a5b8-c63d-48c7-b3c0-973422da3c3c 2025-11-10 01:59:18,377 - DEBUG - VM ctest-TestBasicPolicy-96783475-92336419 launched on Node cn-jenkins-deploy-platform-ansible-os-4675-1 2025-11-10 01:59:18,451 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/d2e5a5b8-c63d-48c7-b3c0-973422da3c3c 2025-11-10 01:59:18,460 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/81206e9e-aae4-4471-afd8-9271eb80e1c2 2025-11-10 01:59:19,691 - 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.20 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.489 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 = 0.489/2.344/4.199/1.855 ms') 2025-11-10 01:59:19,691 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-96783475-92336419 passed 2025-11-10 01:59:19,847 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 01:59:19,847 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-96783475-92336419, IP 212.110.169.195, Port 22 2025-11-10 01:59:20,007 - DEBUG - VM ctest-TestBasicPolicy-96783475-92336419 is ready for SSH connections 2025-11-10 01:59:20,007 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 01:59:20,007 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 212.110.169.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-11-10 01:59:20,007 - DEBUG - ping -s 56 -c 3 -W 1 212.110.169.195 2025-11-10 01:59:24,067 - DEBUG - PING 212.110.169.195 (212.110.169.195): 56 data bytes 64 bytes from 212.110.169.195: seq=0 ttl=63 time=3.334 ms 64 bytes from 212.110.169.195: seq=1 ttl=63 time=1.090 ms 64 bytes from 212.110.169.195: seq=2 ttl=63 time=0.913 ms --- 212.110.169.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.913/1.779/3.334 ms 2025-11-10 01:59:24,067 - INFO - Ping to IP 212.110.169.195 from VM ctest-TestBasicPolicy-96783475-46056358 passed 2025-11-10 01:59:24,234 - DEBUG - Policy Update Response {"network-policy": {"uuid": "0cc59a60-e354-479b-bcf3-71a94b1969a0", "href": "http://10.0.0.41:8082/network-policy/0cc59a60-e354-479b-bcf3-71a94b1969a0"}} 2025-11-10 01:59:24,234 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 01:59:24,235 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 212.110.169.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-11-10 01:59:24,235 - DEBUG - ping -s 56 -c 3 -W 1 212.110.169.195 2025-11-10 01:59:27,450 - DEBUG - PING 212.110.169.195 (212.110.169.195): 56 data bytes --- 212.110.169.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-10 01:59:27,450 - WARNING - Ping to IP 212.110.169.195 from VM ctest-TestBasicPolicy-96783475-46056358 failed 2025-11-10 01:59:27,450 - INFO - Deleting VM ctest-TestBasicPolicy-96783475-92336419 2025-11-10 01:59:27,518 - INFO - Deleting VM ctest-TestBasicPolicy-96783475-46056358 2025-11-10 01:59:27,864 - INFO - Deleted policy ctest-policy-allow-all-49908263 2025-11-10 01:59:27,864 - INFO - Deleting VN ctest-vn-39917282 2025-11-10 01:59:27,903 - DEBUG - VN a233a502-b293-4db1-9013-5ddff70e2ab7 still in use: Unable to complete operation on network a233a502-b293-4db1-9013-5ddff70e2ab7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-34d841a6-7d5c-446e-bc74-3a83ed956ff2'] 2025-11-10 01:59:27,903 - WARNING - Deleting VN ctest-vn-39917282 failed..Will retry 2025-11-10 01:59:29,996 - DEBUG - Response for deleting network () 2025-11-10 01:59:29,996 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/349645a9-5599-43ea-bdc8-e68733d5e58b 2025-11-10 01:59:30,000 - DEBUG - Response Code: 404 2025-11-10 01:59:30,000 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-11-10 01:59:30,006 - DEBUG - Requesting: http://10.0.0.41:8082/domain/870d4706-0fa5-4a50-ac53-19235cac7181 2025-11-10 01:59:30,059 - DEBUG - Requesting: http://10.0.0.41:8082/project/be4335dc-456b-41dc-809c-aa6b8266c81a 2025-11-10 01:59:30,130 - INFO - Validated that VN ctest-vn-39917282 is not found in API Server 2025-11-10 01:59:30,140 - DEBUG - VN ctest-vn-39917282 is not present in Agent 10.0.0.41 2025-11-10 01:59:30,140 - INFO - Validated that VN ctest-vn-39917282 is not in any agent 2025-11-10 01:59:30,152 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-39917282 info 2025-11-10 01:59:30,152 - INFO - Deleting VN ctest-vn-83552125 2025-11-10 01:59:30,245 - DEBUG - Response for deleting network () 2025-11-10 01:59:30,245 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/cfb5e550-2b61-4778-98e1-4f751522ad9d 2025-11-10 01:59:30,253 - DEBUG - Response Code: 404 2025-11-10 01:59:30,253 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-11-10 01:59:30,259 - DEBUG - Requesting: http://10.0.0.41:8082/domain/870d4706-0fa5-4a50-ac53-19235cac7181 2025-11-10 01:59:30,311 - DEBUG - Requesting: http://10.0.0.41:8082/project/be4335dc-456b-41dc-809c-aa6b8266c81a 2025-11-10 01:59:30,377 - INFO - Validated that VN ctest-vn-83552125 is not found in API Server 2025-11-10 01:59:30,388 - DEBUG - VN ctest-vn-83552125 is not present in Agent 10.0.0.41 2025-11-10 01:59:30,388 - INFO - Validated that VN ctest-vn-83552125 is not in any agent 2025-11-10 01:59:30,401 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-83552125 info 2025-11-10 01:59:30,655 - DEBUG - No XMPP flaps were noticed during the test 2025-11-10 01:59:30,656 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-11-10 01:59:30,656 - INFO - -------------------------------------------------------------------------------- 2025-11-10 01:59:31,316 - INFO - Deleted project: ctest-TestBasicPolicy-96783475, ID : be4335dc-456b-41dc-809c-aa6b8266c81a