2025-05-29 15:23:47,052 - INFO - Domain Default found not creating 2025-05-29 15:23:47,190 - INFO - Project ctest-TestBasicPolicy-15981994 not found, creating it 2025-05-29 15:23:47,646 - INFO - Created Project:ctest-TestBasicPolicy-15981994, ID : 8552da56-a2a9-4450-bf93-01511887a142 2025-05-29 15:23:49,181 - INFO - ================================================================================ 2025-05-29 15:23:49,182 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-05-29 15:23:49,182 - 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-05-29 15:23:49,437 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-05-29 15:23:49,438 - INFO - Initial checks done. Running the testcase now 2025-05-29 15:23:49,438 - INFO - 2025-05-29 15:23:50,032 - DEBUG - Response for create_network : {'network': {'id': 'e2d81e76-4b54-4412-8bee-dd8dfe6878db', 'name': 'ctest-vn-20322880', 'tenant_id': '8552da56a2a94450bf9301511887a142', 'project_id': '8552da56a2a94450bf9301511887a142', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-15981994', 'ctest-vn-20322880'], 'port_security_enabled': True, 'description': ''}} 2025-05-29 15:23:50,185 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e03b1d5e-55b1-4b5d-beff-2c250950063e', 'name': '', 'tenant_id': '8552da56a2a94450bf9301511887a142', 'network_id': 'e2d81e76-4b54-4412-8bee-dd8dfe6878db', 'ip_version': 4, 'cidr': '119.68.149.192/26', 'allocation_pools': [{'start': '119.68.149.194', 'end': '119.68.149.254'}], 'gateway_ip': '119.68.149.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '119.68.149.194', 'tags': [], 'project_id': '8552da56a2a94450bf9301511887a142'}} 2025-05-29 15:23:50,201 - INFO - Created VN ctest-vn-20322880 2025-05-29 15:23:50,259 - DEBUG - VN ctest-vn-20322880 UUID is e2d81e76-4b54-4412-8bee-dd8dfe6878db 2025-05-29 15:23:50,578 - DEBUG - Response for create_network : {'network': {'id': '1953bc48-9675-45a2-aa09-7e85f5217564', 'name': 'ctest-vn-48439620', 'tenant_id': '8552da56a2a94450bf9301511887a142', 'project_id': '8552da56a2a94450bf9301511887a142', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-15981994', 'ctest-vn-48439620'], 'port_security_enabled': True, 'description': ''}} 2025-05-29 15:23:50,753 - DEBUG - Response for create_subnet : {'subnet': {'id': '9bf628d8-61c5-49e0-b281-4fa4e732b3fe', 'name': '', 'tenant_id': '8552da56a2a94450bf9301511887a142', 'network_id': '1953bc48-9675-45a2-aa09-7e85f5217564', 'ip_version': 4, 'cidr': '94.101.76.192/26', 'allocation_pools': [{'start': '94.101.76.194', 'end': '94.101.76.254'}], 'gateway_ip': '94.101.76.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '94.101.76.194', 'tags': [], 'project_id': '8552da56a2a94450bf9301511887a142'}} 2025-05-29 15:23:50,770 - INFO - Created VN ctest-vn-48439620 2025-05-29 15:23:50,823 - DEBUG - VN ctest-vn-48439620 UUID is 1953bc48-9675-45a2-aa09-7e85f5217564 2025-05-29 15:23:50,975 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-15981994:ctest-vn-20322880, 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-15981994:ctest-vn-48439620, 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-05-29 15:23:51,266 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e2d81e76-4b54-4412-8bee-dd8dfe6878db', 'name': 'ctest-vn-20322880', 'tenant_id': '8552da56a2a94450bf9301511887a142', 'project_id': '8552da56a2a94450bf9301511887a142', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e03b1d5e-55b1-4b5d-beff-2c250950063e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-15981994', 'ctest-vn-20322880'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-15981994', 'ctest-policy-allow-all-03502649']], 'subnet_ipam': [{'subnet_cidr': '119.68.149.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-05-29 15:23:51,566 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1953bc48-9675-45a2-aa09-7e85f5217564', 'name': 'ctest-vn-48439620', 'tenant_id': '8552da56a2a94450bf9301511887a142', 'project_id': '8552da56a2a94450bf9301511887a142', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9bf628d8-61c5-49e0-b281-4fa4e732b3fe'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-15981994', 'ctest-vn-48439620'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-15981994', 'ctest-policy-allow-all-03502649']], 'subnet_ipam': [{'subnet_cidr': '94.101.76.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-05-29 15:23:51,711 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-05-29 15:23:52,049 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-05-29 15:23:52,075 - DEBUG - Requesting: http://10.0.0.38:8082/domain/cc7f1f1e-11cf-42aa-a3b0-9b10c93c0a8d 2025-05-29 15:23:52,090 - DEBUG - Requesting: http://10.0.0.38:8082/project/8552da56-a2a9-4450-bf93-01511887a142 2025-05-29 15:23:52,165 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e2d81e76-4b54-4412-8bee-dd8dfe6878db 2025-05-29 15:23:52,176 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e2d81e76-4b54-4412-8bee-dd8dfe6878db 2025-05-29 15:23:52,186 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0b0283c6-1b1c-4934-9b45-1e75ed81a0ae 2025-05-29 15:23:52,193 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0b0283c6-1b1c-4934-9b45-1e75ed81a0ae 2025-05-29 15:23:52,200 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/24b4bb83-983f-47a3-bac9-1e9f33037715 2025-05-29 15:23:52,206 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-05-29 15:23:52,206 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e2d81e76-4b54-4412-8bee-dd8dfe6878db 2025-05-29 15:23:52,215 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0b0283c6-1b1c-4934-9b45-1e75ed81a0ae 2025-05-29 15:23:52,228 - INFO - Verified VN network id 8 for VN e2d81e76-4b54-4412-8bee-dd8dfe6878db 2025-05-29 15:23:52,228 - INFO - Verifications in API Server for VN ctest-vn-20322880 passed 2025-05-29 15:23:52,229 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e2d81e76-4b54-4412-8bee-dd8dfe6878db 2025-05-29 15:23:52,238 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0b0283c6-1b1c-4934-9b45-1e75ed81a0ae 2025-05-29 15:23:52,244 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0b0283c6-1b1c-4934-9b45-1e75ed81a0ae 2025-05-29 15:23:52,251 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/24b4bb83-983f-47a3-bac9-1e9f33037715 2025-05-29 15:23:52,263 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-15981994:ctest-vn-20322880', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-15981994', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16345848340960003090', 'uuid-lslong': '10083240217657506011'}, 'enable': 'true', 'created': '2025-05-29T15:23:50', 'last-modified': '2025-05-29T15:23:51', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.012050'} 2025-05-29 15:23:52,269 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-05-29 15:23:52,269 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-20322880 passed 2025-05-29 15:23:52,269 - DEBUG - ====Verifying policy data for ctest-vn-20322880 in API_Server ====== 2025-05-29 15:23:52,270 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-05-29 15:23:52,275 - DEBUG - Requesting: http://10.0.0.38:8082/domain/cc7f1f1e-11cf-42aa-a3b0-9b10c93c0a8d 2025-05-29 15:23:52,286 - DEBUG - Requesting: http://10.0.0.38:8082/project/8552da56-a2a9-4450-bf93-01511887a142 2025-05-29 15:23:52,363 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e2d81e76-4b54-4412-8bee-dd8dfe6878db 2025-05-29 15:23:52,373 - DEBUG - ==>Verifying data for policy with id: 1aed0adc-4eba-4e11-916a-282cd67a0cf1, fqn: ['default-domain', 'ctest-TestBasicPolicy-15981994', 'ctest-policy-allow-all-03502649'] 2025-05-29 15:23:52,373 - INFO - VN ctest-vn-20322880 Policy verification: verify_vn_policy_in_api_server, status: True 2025-05-29 15:23:52,373 - DEBUG - Verifying the vn in opserver 2025-05-29 15:23:52,373 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-15981994:ctest-vn-20322880 virtual network link through opserver 10.0.0.38 2025-05-29 15:23:52,374 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-05-29 15:23:52,703 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-05-29 15:23:52,755 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-15981994:ctest-vn-20322880', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-15981994:ctest-vn-20322880?flat'} 2025-05-29 15:23:52,755 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-15981994:ctest-vn-20322880 is found in opserver 2025-05-29 15:23:52,767 - DEBUG - Do not have enough data to verify VN in agent 2025-05-29 15:23:52,772 - DEBUG - VRF ids for VN ctest-vn-20322880: {} 2025-05-29 15:23:52,772 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-05-29 15:23:52,777 - DEBUG - Requesting: http://10.0.0.38:8082/domain/cc7f1f1e-11cf-42aa-a3b0-9b10c93c0a8d 2025-05-29 15:23:52,789 - DEBUG - Requesting: http://10.0.0.38:8082/project/8552da56-a2a9-4450-bf93-01511887a142 2025-05-29 15:23:52,861 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1953bc48-9675-45a2-aa09-7e85f5217564 2025-05-29 15:23:52,874 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1953bc48-9675-45a2-aa09-7e85f5217564 2025-05-29 15:23:52,884 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/82f64f11-1f15-4c91-8fe4-35c29152a252 2025-05-29 15:23:52,892 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/82f64f11-1f15-4c91-8fe4-35c29152a252 2025-05-29 15:23:52,899 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/44e54465-cc81-45fb-a2fc-68ec6fc53f34 2025-05-29 15:23:52,905 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-05-29 15:23:52,905 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1953bc48-9675-45a2-aa09-7e85f5217564 2025-05-29 15:23:52,915 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/82f64f11-1f15-4c91-8fe4-35c29152a252 2025-05-29 15:23:52,928 - INFO - Verified VN network id 9 for VN 1953bc48-9675-45a2-aa09-7e85f5217564 2025-05-29 15:23:52,928 - INFO - Verifications in API Server for VN ctest-vn-48439620 passed 2025-05-29 15:23:52,928 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1953bc48-9675-45a2-aa09-7e85f5217564 2025-05-29 15:23:52,937 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/82f64f11-1f15-4c91-8fe4-35c29152a252 2025-05-29 15:23:52,944 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/82f64f11-1f15-4c91-8fe4-35c29152a252 2025-05-29 15:23:52,951 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/44e54465-cc81-45fb-a2fc-68ec6fc53f34 2025-05-29 15:23:52,962 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-15981994:ctest-vn-48439620', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-15981994', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1825009293963117986', 'uuid-lslong': '12252463375046505828'}, 'enable': 'true', 'created': '2025-05-29T15:23:50', 'last-modified': '2025-05-29T15:23:51', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.471432'} 2025-05-29 15:23:52,969 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-05-29 15:23:52,969 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-48439620 passed 2025-05-29 15:23:52,969 - DEBUG - ====Verifying policy data for ctest-vn-48439620 in API_Server ====== 2025-05-29 15:23:52,970 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-05-29 15:23:52,975 - DEBUG - Requesting: http://10.0.0.38:8082/domain/cc7f1f1e-11cf-42aa-a3b0-9b10c93c0a8d 2025-05-29 15:23:52,986 - DEBUG - Requesting: http://10.0.0.38:8082/project/8552da56-a2a9-4450-bf93-01511887a142 2025-05-29 15:23:53,060 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1953bc48-9675-45a2-aa09-7e85f5217564 2025-05-29 15:23:53,071 - DEBUG - ==>Verifying data for policy with id: 1aed0adc-4eba-4e11-916a-282cd67a0cf1, fqn: ['default-domain', 'ctest-TestBasicPolicy-15981994', 'ctest-policy-allow-all-03502649'] 2025-05-29 15:23:53,071 - INFO - VN ctest-vn-48439620 Policy verification: verify_vn_policy_in_api_server, status: True 2025-05-29 15:23:53,071 - DEBUG - Verifying the vn in opserver 2025-05-29 15:23:53,071 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-15981994:ctest-vn-48439620 virtual network link through opserver 10.0.0.38 2025-05-29 15:23:53,071 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-05-29 15:23:53,081 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-15981994:ctest-vn-48439620', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-15981994:ctest-vn-48439620?flat'} 2025-05-29 15:23:53,081 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-15981994:ctest-vn-48439620 is found in opserver 2025-05-29 15:23:53,092 - DEBUG - Do not have enough data to verify VN in agent 2025-05-29 15:23:53,100 - DEBUG - VRF ids for VN ctest-vn-48439620: {} 2025-05-29 15:23:53,166 - DEBUG - Services list from nova: [, , ] 2025-05-29 15:23:54,220 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3369-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3369-1) 2025-05-29 15:23:55,518 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3369-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3369-1) 2025-05-29 15:23:55,518 - INFO - Waiting for VM ctest-TestBasicPolicy-15981994-99460535 to be up.. 2025-05-29 15:23:55,599 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-05-29 15:24:00,674 - DEBUG - VM is in ACTIVE state now 2025-05-29 15:24:00,674 - INFO - VM name : ctest-TestBasicPolicy-15981994-99460535 2025-05-29 15:24:00,746 - DEBUG - VM ctest-TestBasicPolicy-15981994-99460535 ID is 62954d0a-3fec-4c6e-87ab-27b13ea07157 2025-05-29 15:24:00,764 - DEBUG - VM ctest-TestBasicPolicy-15981994-99460535 launched on Node cn-jenkins-deploy-platform-ansible-os-3369-1 2025-05-29 15:24:00,835 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/62954d0a-3fec-4c6e-87ab-27b13ea07157 2025-05-29 15:24:00,844 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/a99017f3-e73b-4941-8ddb-1f870c194bfd 2025-05-29 15:24:04,097 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1019ms') 2025-05-29 15:24:04,097 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-15981994-99460535 failed! 2025-05-29 15:24:04,159 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-15981994:ctest-vn-20322880 is 119.68.149.193 and allocation pool is NOT set 2025-05-29 15:24:06,216 - 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=7.71 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.766 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 = 0.766/4.239/7.712/3.473 ms') 2025-05-29 15:24:06,216 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-15981994-99460535 passed 2025-05-29 15:24:06,375 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-29 15:24:06,375 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-15981994-99460535, IP 119.68.149.195, Port 22 2025-05-29 15:24:06,544 - DEBUG - VM ctest-TestBasicPolicy-15981994-99460535 is ready for SSH connections 2025-05-29 15:24:06,544 - INFO - Waiting for VM ctest-TestBasicPolicy-15981994-40958335 to be up.. 2025-05-29 15:24:06,620 - DEBUG - VM is in ACTIVE state now 2025-05-29 15:24:06,620 - INFO - VM name : ctest-TestBasicPolicy-15981994-40958335 2025-05-29 15:24:06,694 - DEBUG - VM ctest-TestBasicPolicy-15981994-40958335 ID is cc08238b-ad09-4356-9253-01537edc5c6d 2025-05-29 15:24:06,694 - DEBUG - VM ctest-TestBasicPolicy-15981994-40958335 launched on Node cn-jenkins-deploy-platform-ansible-os-3369-1 2025-05-29 15:24:06,769 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/cc08238b-ad09-4356-9253-01537edc5c6d 2025-05-29 15:24:06,782 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/135d7e31-7bc6-41e3-888e-659fd7f86265 2025-05-29 15:24:08,033 - 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=9.07 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.255 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.255/4.663/9.072/4.408 ms') 2025-05-29 15:24:08,033 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-15981994-40958335 passed 2025-05-29 15:24:08,183 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-29 15:24:08,183 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-15981994-40958335, IP 94.101.76.195, Port 22 2025-05-29 15:24:08,342 - DEBUG - VM ctest-TestBasicPolicy-15981994-40958335 is ready for SSH connections 2025-05-29 15:24:08,342 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-29 15:24:08,343 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 94.101.76.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-05-29 15:24:08,343 - DEBUG - ping -s 56 -c 3 -W 1 94.101.76.195 2025-05-29 15:24:12,089 - DEBUG - PING 94.101.76.195 (94.101.76.195): 56 data bytes 64 bytes from 94.101.76.195: seq=0 ttl=63 time=3.967 ms 64 bytes from 94.101.76.195: seq=1 ttl=63 time=0.836 ms 64 bytes from 94.101.76.195: seq=2 ttl=63 time=0.800 ms --- 94.101.76.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.800/1.867/3.967 ms 2025-05-29 15:24:12,089 - INFO - Ping to IP 94.101.76.195 from VM ctest-TestBasicPolicy-15981994-99460535 passed 2025-05-29 15:24:12,259 - DEBUG - Policy Update Response {"network-policy": {"uuid": "1aed0adc-4eba-4e11-916a-282cd67a0cf1", "href": "http://10.0.0.38:8082/network-policy/1aed0adc-4eba-4e11-916a-282cd67a0cf1"}} 2025-05-29 15:24:12,259 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-29 15:24:12,259 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 94.101.76.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-05-29 15:24:12,259 - DEBUG - ping -s 56 -c 3 -W 1 94.101.76.195 2025-05-29 15:24:15,477 - DEBUG - PING 94.101.76.195 (94.101.76.195): 56 data bytes 64 bytes from 94.101.76.195: seq=0 ttl=63 time=1.289 ms --- 94.101.76.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.289/1.289/1.289 ms 2025-05-29 15:24:15,477 - WARNING - Ping to IP 94.101.76.195 from VM ctest-TestBasicPolicy-15981994-99460535 failed 2025-05-29 15:24:15,477 - INFO - Deleting VM ctest-TestBasicPolicy-15981994-40958335 2025-05-29 15:24:15,544 - INFO - Deleting VM ctest-TestBasicPolicy-15981994-99460535 2025-05-29 15:24:15,968 - INFO - Deleted policy ctest-policy-allow-all-03502649 2025-05-29 15:24:15,968 - INFO - Deleting VN ctest-vn-48439620 2025-05-29 15:24:16,016 - DEBUG - VN 1953bc48-9675-45a2-aa09-7e85f5217564 still in use: Unable to complete operation on network 1953bc48-9675-45a2-aa09-7e85f5217564. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1342d58e-22fa-42f8-8a39-b27c8a7d5c76'] 2025-05-29 15:24:16,016 - WARNING - Deleting VN ctest-vn-48439620 failed..Will retry 2025-05-29 15:24:18,116 - DEBUG - Response for deleting network () 2025-05-29 15:24:18,116 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/82f64f11-1f15-4c91-8fe4-35c29152a252 2025-05-29 15:24:18,125 - DEBUG - Response Code: 404 2025-05-29 15:24:18,125 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-05-29 15:24:18,130 - DEBUG - Requesting: http://10.0.0.38:8082/domain/cc7f1f1e-11cf-42aa-a3b0-9b10c93c0a8d 2025-05-29 15:24:18,184 - DEBUG - Requesting: http://10.0.0.38:8082/project/8552da56-a2a9-4450-bf93-01511887a142 2025-05-29 15:24:18,261 - INFO - Validated that VN ctest-vn-48439620 is not found in API Server 2025-05-29 15:24:18,273 - DEBUG - VN ctest-vn-48439620 is not present in Agent 10.0.0.38 2025-05-29 15:24:18,273 - INFO - Validated that VN ctest-vn-48439620 is not in any agent 2025-05-29 15:24:18,288 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-48439620 info 2025-05-29 15:24:18,288 - INFO - Deleting VN ctest-vn-20322880 2025-05-29 15:24:18,398 - DEBUG - Response for deleting network () 2025-05-29 15:24:18,398 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0b0283c6-1b1c-4934-9b45-1e75ed81a0ae 2025-05-29 15:24:18,404 - DEBUG - Response Code: 404 2025-05-29 15:24:18,405 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-05-29 15:24:18,412 - DEBUG - Requesting: http://10.0.0.38:8082/domain/cc7f1f1e-11cf-42aa-a3b0-9b10c93c0a8d 2025-05-29 15:24:18,465 - DEBUG - Requesting: http://10.0.0.38:8082/project/8552da56-a2a9-4450-bf93-01511887a142 2025-05-29 15:24:18,538 - INFO - Validated that VN ctest-vn-20322880 is not found in API Server 2025-05-29 15:24:18,551 - DEBUG - VN ctest-vn-20322880 is not present in Agent 10.0.0.38 2025-05-29 15:24:18,551 - INFO - Validated that VN ctest-vn-20322880 is not in any agent 2025-05-29 15:24:18,572 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-20322880 info 2025-05-29 15:24:18,825 - DEBUG - No XMPP flaps were noticed during the test 2025-05-29 15:24:18,825 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-05-29 15:24:18,825 - INFO - -------------------------------------------------------------------------------- 2025-05-29 15:24:19,522 - INFO - Deleted project: ctest-TestBasicPolicy-15981994, ID : 8552da56-a2a9-4450-bf93-01511887a142