2025-06-18 17:49:30,223 - INFO - Domain Default found not creating 2025-06-18 17:49:30,351 - INFO - Project ctest-TestBasicPolicy-79524193 not found, creating it 2025-06-18 17:49:30,794 - INFO - Created Project:ctest-TestBasicPolicy-79524193, ID : bad104af-2361-4e01-8725-a3f942547002 2025-06-18 17:49:32,173 - INFO - ================================================================================ 2025-06-18 17:49:32,173 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-18 17:49:32,173 - 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-06-18 17:49:32,431 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.254': '0'}} with 2025-06-18 17:49:32,431 - INFO - Initial checks done. Running the testcase now 2025-06-18 17:49:32,431 - INFO - 2025-06-18 17:49:32,958 - DEBUG - Response for create_network : {'network': {'id': '0a837bc6-7567-4dc0-b17b-2e78d67d2722', 'name': 'ctest-vn-00269420', 'tenant_id': 'bad104af23614e018725a3f942547002', 'project_id': 'bad104af23614e018725a3f942547002', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-79524193', 'ctest-vn-00269420'], 'port_security_enabled': True, 'description': ''}} 2025-06-18 17:49:33,177 - DEBUG - Response for create_subnet : {'subnet': {'id': '519f3867-c5d5-4134-b4df-b98bceb8db88', 'name': '', 'tenant_id': 'bad104af23614e018725a3f942547002', 'network_id': '0a837bc6-7567-4dc0-b17b-2e78d67d2722', 'ip_version': 4, 'cidr': '53.240.118.128/26', 'allocation_pools': [{'start': '53.240.118.130', 'end': '53.240.118.190'}], 'gateway_ip': '53.240.118.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '53.240.118.130', 'tags': [], 'project_id': 'bad104af23614e018725a3f942547002'}} 2025-06-18 17:49:33,193 - INFO - Created VN ctest-vn-00269420 2025-06-18 17:49:33,245 - DEBUG - VN ctest-vn-00269420 UUID is 0a837bc6-7567-4dc0-b17b-2e78d67d2722 2025-06-18 17:49:33,586 - DEBUG - Response for create_network : {'network': {'id': '2c5ee26c-d052-4f52-bad2-e72f38c4336f', 'name': 'ctest-vn-22638330', 'tenant_id': 'bad104af23614e018725a3f942547002', 'project_id': 'bad104af23614e018725a3f942547002', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-79524193', 'ctest-vn-22638330'], 'port_security_enabled': True, 'description': ''}} 2025-06-18 17:49:33,737 - DEBUG - Response for create_subnet : {'subnet': {'id': '7ca2f649-3b95-4559-9d4a-223b2a4aeaef', 'name': '', 'tenant_id': 'bad104af23614e018725a3f942547002', 'network_id': '2c5ee26c-d052-4f52-bad2-e72f38c4336f', 'ip_version': 4, 'cidr': '20.91.34.128/26', 'allocation_pools': [{'start': '20.91.34.130', 'end': '20.91.34.190'}], 'gateway_ip': '20.91.34.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '20.91.34.130', 'tags': [], 'project_id': 'bad104af23614e018725a3f942547002'}} 2025-06-18 17:49:33,872 - INFO - Created VN ctest-vn-22638330 2025-06-18 17:49:33,921 - DEBUG - VN ctest-vn-22638330 UUID is 2c5ee26c-d052-4f52-bad2-e72f38c4336f 2025-06-18 17:49:34,034 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-79524193:ctest-vn-00269420, 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-79524193:ctest-vn-22638330, 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-06-18 17:49:34,325 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0a837bc6-7567-4dc0-b17b-2e78d67d2722', 'name': 'ctest-vn-00269420', 'tenant_id': 'bad104af23614e018725a3f942547002', 'project_id': 'bad104af23614e018725a3f942547002', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['519f3867-c5d5-4134-b4df-b98bceb8db88'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-79524193', 'ctest-vn-00269420'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-79524193', 'ctest-policy-allow-all-34854816']], 'subnet_ipam': [{'subnet_cidr': '53.240.118.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-18 17:49:34,606 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2c5ee26c-d052-4f52-bad2-e72f38c4336f', 'name': 'ctest-vn-22638330', 'tenant_id': 'bad104af23614e018725a3f942547002', 'project_id': 'bad104af23614e018725a3f942547002', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7ca2f649-3b95-4559-9d4a-223b2a4aeaef'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-79524193', 'ctest-vn-22638330'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-79524193', 'ctest-policy-allow-all-34854816']], 'subnet_ipam': [{'subnet_cidr': '20.91.34.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-18 17:49:34,761 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-06-18 17:49:35,064 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-06-18 17:49:35,093 - DEBUG - Requesting: http://10.0.0.49:8082/domain/fd4cf459-cffc-4789-81bc-7840c745235e 2025-06-18 17:49:35,108 - DEBUG - Requesting: http://10.0.0.49:8082/project/bad104af-2361-4e01-8725-a3f942547002 2025-06-18 17:49:35,189 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/0a837bc6-7567-4dc0-b17b-2e78d67d2722 2025-06-18 17:49:35,201 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/0a837bc6-7567-4dc0-b17b-2e78d67d2722 2025-06-18 17:49:35,211 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/5300467c-305f-40c0-b88a-94fea32254c8 2025-06-18 17:49:35,219 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/5300467c-305f-40c0-b88a-94fea32254c8 2025-06-18 17:49:35,225 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/462c249e-a974-4996-8b3e-ea35bb09bdde 2025-06-18 17:49:35,231 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-18 17:49:35,231 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/0a837bc6-7567-4dc0-b17b-2e78d67d2722 2025-06-18 17:49:35,240 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/5300467c-305f-40c0-b88a-94fea32254c8 2025-06-18 17:49:35,253 - INFO - Verified VN network id 8 for VN 0a837bc6-7567-4dc0-b17b-2e78d67d2722 2025-06-18 17:49:35,253 - INFO - Verifications in API Server for VN ctest-vn-00269420 passed 2025-06-18 17:49:35,253 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/0a837bc6-7567-4dc0-b17b-2e78d67d2722 2025-06-18 17:49:35,262 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/5300467c-305f-40c0-b88a-94fea32254c8 2025-06-18 17:49:35,268 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/5300467c-305f-40c0-b88a-94fea32254c8 2025-06-18 17:49:35,274 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/462c249e-a974-4996-8b3e-ea35bb09bdde 2025-06-18 17:49:35,286 - DEBUG - Control-node 10.0.0.49 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-79524193:ctest-vn-00269420', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-79524193', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '757585254631820736', 'uuid-lslong': '12788866663378134818'}, 'enable': 'true', 'created': '2025-06-18T17:49:32', 'last-modified': '2025-06-18T17:49:34', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.980533'} 2025-06-18 17:49:35,292 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-18 17:49:35,292 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-00269420 passed 2025-06-18 17:49:35,293 - DEBUG - ====Verifying policy data for ctest-vn-00269420 in API_Server ====== 2025-06-18 17:49:35,293 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-06-18 17:49:35,298 - DEBUG - Requesting: http://10.0.0.49:8082/domain/fd4cf459-cffc-4789-81bc-7840c745235e 2025-06-18 17:49:35,309 - DEBUG - Requesting: http://10.0.0.49:8082/project/bad104af-2361-4e01-8725-a3f942547002 2025-06-18 17:49:35,378 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/0a837bc6-7567-4dc0-b17b-2e78d67d2722 2025-06-18 17:49:35,388 - DEBUG - ==>Verifying data for policy with id: 502cddc4-631d-4b72-93e7-f8fef15046ee, fqn: ['default-domain', 'ctest-TestBasicPolicy-79524193', 'ctest-policy-allow-all-34854816'] 2025-06-18 17:49:35,388 - INFO - VN ctest-vn-00269420 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-18 17:49:35,388 - DEBUG - Verifying the vn in opserver 2025-06-18 17:49:35,388 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-79524193:ctest-vn-00269420 virtual network link through opserver 10.0.0.49 2025-06-18 17:49:35,388 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-06-18 17:49:35,679 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-06-18 17:49:35,731 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-79524193:ctest-vn-00269420', 'href': 'http://10.0.0.49:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-79524193:ctest-vn-00269420?flat'} 2025-06-18 17:49:35,731 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-79524193:ctest-vn-00269420 is found in opserver 2025-06-18 17:49:35,741 - DEBUG - Do not have enough data to verify VN in agent 2025-06-18 17:49:35,746 - DEBUG - VRF ids for VN ctest-vn-00269420: {} 2025-06-18 17:49:35,746 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-06-18 17:49:35,754 - DEBUG - Requesting: http://10.0.0.49:8082/domain/fd4cf459-cffc-4789-81bc-7840c745235e 2025-06-18 17:49:35,766 - DEBUG - Requesting: http://10.0.0.49:8082/project/bad104af-2361-4e01-8725-a3f942547002 2025-06-18 17:49:35,843 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/2c5ee26c-d052-4f52-bad2-e72f38c4336f 2025-06-18 17:49:35,855 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/2c5ee26c-d052-4f52-bad2-e72f38c4336f 2025-06-18 17:49:35,865 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/ca47143d-4f1d-4bb1-a11e-40929e25a57e 2025-06-18 17:49:35,872 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/ca47143d-4f1d-4bb1-a11e-40929e25a57e 2025-06-18 17:49:35,880 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/8fea8281-25b5-414d-9c79-0eaa77b40eef 2025-06-18 17:49:35,886 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-18 17:49:35,886 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/2c5ee26c-d052-4f52-bad2-e72f38c4336f 2025-06-18 17:49:35,894 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/ca47143d-4f1d-4bb1-a11e-40929e25a57e 2025-06-18 17:49:35,907 - INFO - Verified VN network id 9 for VN 2c5ee26c-d052-4f52-bad2-e72f38c4336f 2025-06-18 17:49:35,908 - INFO - Verifications in API Server for VN ctest-vn-22638330 passed 2025-06-18 17:49:35,908 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/2c5ee26c-d052-4f52-bad2-e72f38c4336f 2025-06-18 17:49:35,916 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/ca47143d-4f1d-4bb1-a11e-40929e25a57e 2025-06-18 17:49:35,924 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/ca47143d-4f1d-4bb1-a11e-40929e25a57e 2025-06-18 17:49:35,930 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/8fea8281-25b5-414d-9c79-0eaa77b40eef 2025-06-18 17:49:35,943 - DEBUG - Control-node 10.0.0.49 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-79524193:ctest-vn-22638330', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-79524193', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3197241742459031378', 'uuid-lslong': '13462076426165695343'}, 'enable': 'true', 'created': '2025-06-18T17:49:33', 'last-modified': '2025-06-18T17:49:34', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.407024'} 2025-06-18 17:49:35,949 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-18 17:49:35,949 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-22638330 passed 2025-06-18 17:49:35,949 - DEBUG - ====Verifying policy data for ctest-vn-22638330 in API_Server ====== 2025-06-18 17:49:35,949 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-06-18 17:49:35,954 - DEBUG - Requesting: http://10.0.0.49:8082/domain/fd4cf459-cffc-4789-81bc-7840c745235e 2025-06-18 17:49:35,964 - DEBUG - Requesting: http://10.0.0.49:8082/project/bad104af-2361-4e01-8725-a3f942547002 2025-06-18 17:49:36,037 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/2c5ee26c-d052-4f52-bad2-e72f38c4336f 2025-06-18 17:49:36,047 - DEBUG - ==>Verifying data for policy with id: 502cddc4-631d-4b72-93e7-f8fef15046ee, fqn: ['default-domain', 'ctest-TestBasicPolicy-79524193', 'ctest-policy-allow-all-34854816'] 2025-06-18 17:49:36,047 - INFO - VN ctest-vn-22638330 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-18 17:49:36,047 - DEBUG - Verifying the vn in opserver 2025-06-18 17:49:36,047 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-79524193:ctest-vn-22638330 virtual network link through opserver 10.0.0.49 2025-06-18 17:49:36,047 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-06-18 17:49:36,057 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-79524193:ctest-vn-22638330', 'href': 'http://10.0.0.49:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-79524193:ctest-vn-22638330?flat'} 2025-06-18 17:49:36,057 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-79524193:ctest-vn-22638330 is found in opserver 2025-06-18 17:49:36,066 - DEBUG - Do not have enough data to verify VN in agent 2025-06-18 17:49:36,071 - DEBUG - VRF ids for VN ctest-vn-22638330: {} 2025-06-18 17:49:36,132 - DEBUG - Services list from nova: [, , ] 2025-06-18 17:49:37,092 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3478-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3478-1) 2025-06-18 17:49:38,319 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3478-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3478-1) 2025-06-18 17:49:38,319 - INFO - Waiting for VM ctest-TestBasicPolicy-79524193-44727942 to be up.. 2025-06-18 17:49:38,414 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-18 17:49:43,482 - DEBUG - VM is in ACTIVE state now 2025-06-18 17:49:43,482 - INFO - VM name : ctest-TestBasicPolicy-79524193-44727942 2025-06-18 17:49:43,554 - DEBUG - VM ctest-TestBasicPolicy-79524193-44727942 ID is 599b9478-3329-45cd-be55-f8f3e139a904 2025-06-18 17:49:43,570 - DEBUG - VM ctest-TestBasicPolicy-79524193-44727942 launched on Node cn-jenkins-deploy-platform-ansible-os-3478-1 2025-06-18 17:49:43,655 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/599b9478-3329-45cd-be55-f8f3e139a904 2025-06-18 17:49:43,664 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/30aec6aa-eea5-466a-9a20-70811482da8b 2025-06-18 17:49:46,935 - 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 1032ms') 2025-06-18 17:49:46,935 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-79524193-44727942 failed! 2025-06-18 17:49:46,993 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-79524193:ctest-vn-00269420 is 53.240.118.129 and allocation pool is NOT set 2025-06-18 17:49:49,054 - 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=2.67 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.413 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.413/1.540/2.667/1.127 ms') 2025-06-18 17:49:49,054 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-79524193-44727942 passed 2025-06-18 17:49:49,201 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-18 17:49:49,201 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-79524193-44727942, IP 53.240.118.131, Port 22 2025-06-18 17:49:49,360 - DEBUG - VM ctest-TestBasicPolicy-79524193-44727942 is ready for SSH connections 2025-06-18 17:49:49,361 - INFO - Waiting for VM ctest-TestBasicPolicy-79524193-08945163 to be up.. 2025-06-18 17:49:49,432 - DEBUG - VM is in ACTIVE state now 2025-06-18 17:49:49,432 - INFO - VM name : ctest-TestBasicPolicy-79524193-08945163 2025-06-18 17:49:49,503 - DEBUG - VM ctest-TestBasicPolicy-79524193-08945163 ID is 87235e3b-3b48-440d-b865-f9a9804f6cf3 2025-06-18 17:49:49,503 - DEBUG - VM ctest-TestBasicPolicy-79524193-08945163 launched on Node cn-jenkins-deploy-platform-ansible-os-3478-1 2025-06-18 17:49:49,573 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/87235e3b-3b48-440d-b865-f9a9804f6cf3 2025-06-18 17:49:49,580 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/000ec30c-4fd7-4df6-b18d-863cae6a4e25 2025-06-18 17:49:50,813 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=2.70 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.365 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.365/1.530/2.695/1.165 ms') 2025-06-18 17:49:50,813 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-79524193-08945163 passed 2025-06-18 17:49:50,965 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-18 17:49:50,965 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-79524193-08945163, IP 20.91.34.131, Port 22 2025-06-18 17:49:51,121 - DEBUG - VM ctest-TestBasicPolicy-79524193-08945163 is ready for SSH connections 2025-06-18 17:49:51,121 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-18 17:49:51,121 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 20.91.34.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-06-18 17:49:51,121 - DEBUG - ping -s 56 -c 3 -W 1 20.91.34.131 2025-06-18 17:49:55,077 - DEBUG - PING 20.91.34.131 (20.91.34.131): 56 data bytes 64 bytes from 20.91.34.131: seq=0 ttl=63 time=3.529 ms 64 bytes from 20.91.34.131: seq=1 ttl=63 time=0.803 ms 64 bytes from 20.91.34.131: seq=2 ttl=63 time=0.666 ms --- 20.91.34.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.666/1.666/3.529 ms 2025-06-18 17:49:55,077 - INFO - Ping to IP 20.91.34.131 from VM ctest-TestBasicPolicy-79524193-44727942 passed 2025-06-18 17:49:55,257 - DEBUG - Policy Update Response {"network-policy": {"uuid": "502cddc4-631d-4b72-93e7-f8fef15046ee", "href": "http://10.0.0.49:8082/network-policy/502cddc4-631d-4b72-93e7-f8fef15046ee"}} 2025-06-18 17:49:55,257 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-18 17:49:55,257 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 20.91.34.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-06-18 17:49:55,257 - DEBUG - ping -s 56 -c 3 -W 1 20.91.34.131 2025-06-18 17:49:58,472 - DEBUG - PING 20.91.34.131 (20.91.34.131): 56 data bytes --- 20.91.34.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-06-18 17:49:58,473 - WARNING - Ping to IP 20.91.34.131 from VM ctest-TestBasicPolicy-79524193-44727942 failed 2025-06-18 17:49:58,473 - INFO - Deleting VM ctest-TestBasicPolicy-79524193-08945163 2025-06-18 17:49:58,537 - INFO - Deleting VM ctest-TestBasicPolicy-79524193-44727942 2025-06-18 17:49:58,915 - INFO - Deleted policy ctest-policy-allow-all-34854816 2025-06-18 17:49:58,915 - INFO - Deleting VN ctest-vn-22638330 2025-06-18 17:49:58,953 - DEBUG - VN 2c5ee26c-d052-4f52-bad2-e72f38c4336f still in use: Unable to complete operation on network 2c5ee26c-d052-4f52-bad2-e72f38c4336f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f921e480-a185-469f-8735-037c8822126a'] 2025-06-18 17:49:58,954 - WARNING - Deleting VN ctest-vn-22638330 failed..Will retry 2025-06-18 17:50:01,067 - DEBUG - Response for deleting network () 2025-06-18 17:50:01,067 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/ca47143d-4f1d-4bb1-a11e-40929e25a57e 2025-06-18 17:50:01,072 - DEBUG - Response Code: 404 2025-06-18 17:50:01,072 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-06-18 17:50:01,076 - DEBUG - Requesting: http://10.0.0.49:8082/domain/fd4cf459-cffc-4789-81bc-7840c745235e 2025-06-18 17:50:01,134 - DEBUG - Requesting: http://10.0.0.49:8082/project/bad104af-2361-4e01-8725-a3f942547002 2025-06-18 17:50:01,211 - INFO - Validated that VN ctest-vn-22638330 is not found in API Server 2025-06-18 17:50:01,221 - DEBUG - VN ctest-vn-22638330 is not present in Agent 10.0.0.49 2025-06-18 17:50:01,221 - INFO - Validated that VN ctest-vn-22638330 is not in any agent 2025-06-18 17:50:01,236 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-22638330 info 2025-06-18 17:50:01,236 - INFO - Deleting VN ctest-vn-00269420 2025-06-18 17:50:01,331 - DEBUG - Response for deleting network () 2025-06-18 17:50:01,332 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/5300467c-305f-40c0-b88a-94fea32254c8 2025-06-18 17:50:01,340 - DEBUG - Response Code: 404 2025-06-18 17:50:01,340 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-06-18 17:50:01,345 - DEBUG - Requesting: http://10.0.0.49:8082/domain/fd4cf459-cffc-4789-81bc-7840c745235e 2025-06-18 17:50:01,398 - DEBUG - Requesting: http://10.0.0.49:8082/project/bad104af-2361-4e01-8725-a3f942547002 2025-06-18 17:50:01,477 - INFO - Validated that VN ctest-vn-00269420 is not found in API Server 2025-06-18 17:50:01,488 - DEBUG - VN ctest-vn-00269420 is not present in Agent 10.0.0.49 2025-06-18 17:50:01,488 - INFO - Validated that VN ctest-vn-00269420 is not in any agent 2025-06-18 17:50:01,508 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-00269420 info 2025-06-18 17:50:01,762 - DEBUG - No XMPP flaps were noticed during the test 2025-06-18 17:50:01,762 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-06-18 17:50:01,762 - INFO - -------------------------------------------------------------------------------- 2025-06-18 17:50:02,429 - INFO - Deleted project: ctest-TestBasicPolicy-79524193, ID : bad104af-2361-4e01-8725-a3f942547002