2025-07-22 17:42:35,509 - INFO - Domain Default found not creating 2025-07-22 17:42:35,655 - INFO - Project ctest-TestBasicPolicy-26536476 not found, creating it 2025-07-22 17:42:36,111 - INFO - Created Project:ctest-TestBasicPolicy-26536476, ID : 8d4ddbfc-2bce-4df7-a680-977b5db3a301 2025-07-22 17:42:37,518 - INFO - ================================================================================ 2025-07-22 17:42:37,518 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-07-22 17:42:37,518 - 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-07-22 17:42:37,775 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.129': '0'}} with 2025-07-22 17:42:37,775 - INFO - Initial checks done. Running the testcase now 2025-07-22 17:42:37,775 - INFO - 2025-07-22 17:42:38,302 - DEBUG - Response for create_network : {'network': {'id': '62d27baf-7acc-4fd3-ac3a-b873d979a51d', 'name': 'ctest-vn-13698140', 'tenant_id': '8d4ddbfc2bce4df7a680977b5db3a301', 'project_id': '8d4ddbfc2bce4df7a680977b5db3a301', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-26536476', 'ctest-vn-13698140'], 'port_security_enabled': True, 'description': ''}} 2025-07-22 17:42:38,491 - DEBUG - Response for create_subnet : {'subnet': {'id': 'aad70c05-cd2f-49c2-b769-44860de39cf0', 'name': '', 'tenant_id': '8d4ddbfc2bce4df7a680977b5db3a301', 'network_id': '62d27baf-7acc-4fd3-ac3a-b873d979a51d', 'ip_version': 4, 'cidr': '200.251.119.64/26', 'allocation_pools': [{'start': '200.251.119.66', 'end': '200.251.119.126'}], 'gateway_ip': '200.251.119.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '200.251.119.66', 'tags': [], 'project_id': '8d4ddbfc2bce4df7a680977b5db3a301'}} 2025-07-22 17:42:38,511 - INFO - Created VN ctest-vn-13698140 2025-07-22 17:42:38,565 - DEBUG - VN ctest-vn-13698140 UUID is 62d27baf-7acc-4fd3-ac3a-b873d979a51d 2025-07-22 17:42:38,835 - DEBUG - Response for create_network : {'network': {'id': '483484c1-d070-4411-a7b4-25612c3eb802', 'name': 'ctest-vn-95220751', 'tenant_id': '8d4ddbfc2bce4df7a680977b5db3a301', 'project_id': '8d4ddbfc2bce4df7a680977b5db3a301', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-26536476', 'ctest-vn-95220751'], 'port_security_enabled': True, 'description': ''}} 2025-07-22 17:42:39,014 - DEBUG - Response for create_subnet : {'subnet': {'id': '6c1461fe-4ad1-441d-ab6a-320b144e0a12', 'name': '', 'tenant_id': '8d4ddbfc2bce4df7a680977b5db3a301', 'network_id': '483484c1-d070-4411-a7b4-25612c3eb802', 'ip_version': 4, 'cidr': '93.48.100.64/26', 'allocation_pools': [{'start': '93.48.100.66', 'end': '93.48.100.126'}], 'gateway_ip': '93.48.100.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '93.48.100.66', 'tags': [], 'project_id': '8d4ddbfc2bce4df7a680977b5db3a301'}} 2025-07-22 17:42:39,031 - INFO - Created VN ctest-vn-95220751 2025-07-22 17:42:39,085 - DEBUG - VN ctest-vn-95220751 UUID is 483484c1-d070-4411-a7b4-25612c3eb802 2025-07-22 17:42:39,197 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-26536476:ctest-vn-13698140, 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-26536476:ctest-vn-95220751, 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-07-22 17:42:39,502 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '62d27baf-7acc-4fd3-ac3a-b873d979a51d', 'name': 'ctest-vn-13698140', 'tenant_id': '8d4ddbfc2bce4df7a680977b5db3a301', 'project_id': '8d4ddbfc2bce4df7a680977b5db3a301', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['aad70c05-cd2f-49c2-b769-44860de39cf0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-26536476', 'ctest-vn-13698140'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-26536476', 'ctest-policy-allow-all-33331662']], 'subnet_ipam': [{'subnet_cidr': '200.251.119.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-22 17:42:39,759 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '483484c1-d070-4411-a7b4-25612c3eb802', 'name': 'ctest-vn-95220751', 'tenant_id': '8d4ddbfc2bce4df7a680977b5db3a301', 'project_id': '8d4ddbfc2bce4df7a680977b5db3a301', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6c1461fe-4ad1-441d-ab6a-320b144e0a12'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-26536476', 'ctest-vn-95220751'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-26536476', 'ctest-policy-allow-all-33331662']], 'subnet_ipam': [{'subnet_cidr': '93.48.100.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-22 17:42:39,917 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-07-22 17:42:40,227 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-07-22 17:42:40,257 - DEBUG - Requesting: http://10.0.0.48:8082/domain/dca9e7f9-668a-4c12-a926-5a40e1c29885 2025-07-22 17:42:40,272 - DEBUG - Requesting: http://10.0.0.48:8082/project/8d4ddbfc-2bce-4df7-a680-977b5db3a301 2025-07-22 17:42:40,349 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/62d27baf-7acc-4fd3-ac3a-b873d979a51d 2025-07-22 17:42:40,362 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/62d27baf-7acc-4fd3-ac3a-b873d979a51d 2025-07-22 17:42:40,372 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/0486f7d6-5454-4177-9aae-a6a4fde7251d 2025-07-22 17:42:40,380 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/0486f7d6-5454-4177-9aae-a6a4fde7251d 2025-07-22 17:42:40,387 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/23729121-734f-48ad-863c-a394a50d7fc5 2025-07-22 17:42:40,395 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-22 17:42:40,395 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/62d27baf-7acc-4fd3-ac3a-b873d979a51d 2025-07-22 17:42:40,407 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/0486f7d6-5454-4177-9aae-a6a4fde7251d 2025-07-22 17:42:40,423 - INFO - Verified VN network id 12 for VN 62d27baf-7acc-4fd3-ac3a-b873d979a51d 2025-07-22 17:42:40,423 - INFO - Verifications in API Server for VN ctest-vn-13698140 passed 2025-07-22 17:42:40,424 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/62d27baf-7acc-4fd3-ac3a-b873d979a51d 2025-07-22 17:42:40,444 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/0486f7d6-5454-4177-9aae-a6a4fde7251d 2025-07-22 17:42:40,451 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/0486f7d6-5454-4177-9aae-a6a4fde7251d 2025-07-22 17:42:40,458 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/23729121-734f-48ad-863c-a394a50d7fc5 2025-07-22 17:42:40,469 - DEBUG - Control-node 10.0.0.48 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-26536476:ctest-vn-13698140', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-26536476', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7120889954435878867', 'uuid-lslong': '12410434530882200861'}, 'enable': 'true', 'created': '2025-07-22T17:42:38', 'last-modified': '2025-07-22T17:42:39', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.987649'} 2025-07-22 17:42:40,475 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-22 17:42:40,475 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-13698140 passed 2025-07-22 17:42:40,476 - DEBUG - ====Verifying policy data for ctest-vn-13698140 in API_Server ====== 2025-07-22 17:42:40,476 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-07-22 17:42:40,481 - DEBUG - Requesting: http://10.0.0.48:8082/domain/dca9e7f9-668a-4c12-a926-5a40e1c29885 2025-07-22 17:42:40,492 - DEBUG - Requesting: http://10.0.0.48:8082/project/8d4ddbfc-2bce-4df7-a680-977b5db3a301 2025-07-22 17:42:40,562 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/62d27baf-7acc-4fd3-ac3a-b873d979a51d 2025-07-22 17:42:40,572 - DEBUG - ==>Verifying data for policy with id: 49afe526-5761-44ab-b3a1-b551b8b0e469, fqn: ['default-domain', 'ctest-TestBasicPolicy-26536476', 'ctest-policy-allow-all-33331662'] 2025-07-22 17:42:40,572 - INFO - VN ctest-vn-13698140 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-22 17:42:40,572 - DEBUG - Verifying the vn in opserver 2025-07-22 17:42:40,573 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-26536476:ctest-vn-13698140 virtual network link through opserver 10.0.0.48 2025-07-22 17:42:40,573 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks 2025-07-22 17:42:40,861 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks 2025-07-22 17:42:40,922 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-26536476:ctest-vn-13698140', 'href': 'http://10.0.0.48:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-26536476:ctest-vn-13698140?flat'} 2025-07-22 17:42:40,922 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-26536476:ctest-vn-13698140 is found in opserver 2025-07-22 17:42:40,934 - DEBUG - Do not have enough data to verify VN in agent 2025-07-22 17:42:40,939 - DEBUG - VRF ids for VN ctest-vn-13698140: {} 2025-07-22 17:42:40,939 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-07-22 17:42:40,946 - DEBUG - Requesting: http://10.0.0.48:8082/domain/dca9e7f9-668a-4c12-a926-5a40e1c29885 2025-07-22 17:42:40,957 - DEBUG - Requesting: http://10.0.0.48:8082/project/8d4ddbfc-2bce-4df7-a680-977b5db3a301 2025-07-22 17:42:41,027 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/483484c1-d070-4411-a7b4-25612c3eb802 2025-07-22 17:42:41,038 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/483484c1-d070-4411-a7b4-25612c3eb802 2025-07-22 17:42:41,047 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/8e497907-2750-431d-a888-bb58ed15d854 2025-07-22 17:42:41,054 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/8e497907-2750-431d-a888-bb58ed15d854 2025-07-22 17:42:41,061 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/32eb3d95-45ae-4fe1-a3de-359bbc398b3c 2025-07-22 17:42:41,068 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-22 17:42:41,068 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/483484c1-d070-4411-a7b4-25612c3eb802 2025-07-22 17:42:41,077 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/8e497907-2750-431d-a888-bb58ed15d854 2025-07-22 17:42:41,092 - INFO - Verified VN network id 13 for VN 483484c1-d070-4411-a7b4-25612c3eb802 2025-07-22 17:42:41,092 - INFO - Verifications in API Server for VN ctest-vn-95220751 passed 2025-07-22 17:42:41,092 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/483484c1-d070-4411-a7b4-25612c3eb802 2025-07-22 17:42:41,101 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/8e497907-2750-431d-a888-bb58ed15d854 2025-07-22 17:42:41,109 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/8e497907-2750-431d-a888-bb58ed15d854 2025-07-22 17:42:41,116 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/32eb3d95-45ae-4fe1-a3de-359bbc398b3c 2025-07-22 17:42:41,132 - DEBUG - Control-node 10.0.0.48 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-26536476:ctest-vn-95220751', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-26536476', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5202929437480338449', 'uuid-lslong': '12084324799426246658'}, 'enable': 'true', 'created': '2025-07-22T17:42:38', 'last-modified': '2025-07-22T17:42:39', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.410763'} 2025-07-22 17:42:41,140 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-22 17:42:41,140 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-95220751 passed 2025-07-22 17:42:41,140 - DEBUG - ====Verifying policy data for ctest-vn-95220751 in API_Server ====== 2025-07-22 17:42:41,140 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-07-22 17:42:41,146 - DEBUG - Requesting: http://10.0.0.48:8082/domain/dca9e7f9-668a-4c12-a926-5a40e1c29885 2025-07-22 17:42:41,158 - DEBUG - Requesting: http://10.0.0.48:8082/project/8d4ddbfc-2bce-4df7-a680-977b5db3a301 2025-07-22 17:42:41,230 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/483484c1-d070-4411-a7b4-25612c3eb802 2025-07-22 17:42:41,240 - DEBUG - ==>Verifying data for policy with id: 49afe526-5761-44ab-b3a1-b551b8b0e469, fqn: ['default-domain', 'ctest-TestBasicPolicy-26536476', 'ctest-policy-allow-all-33331662'] 2025-07-22 17:42:41,241 - INFO - VN ctest-vn-95220751 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-22 17:42:41,241 - DEBUG - Verifying the vn in opserver 2025-07-22 17:42:41,241 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-26536476:ctest-vn-95220751 virtual network link through opserver 10.0.0.48 2025-07-22 17:42:41,241 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks 2025-07-22 17:42:41,251 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-26536476:ctest-vn-95220751', 'href': 'http://10.0.0.48:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-26536476:ctest-vn-95220751?flat'} 2025-07-22 17:42:41,251 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-26536476:ctest-vn-95220751 is found in opserver 2025-07-22 17:42:41,261 - DEBUG - Do not have enough data to verify VN in agent 2025-07-22 17:42:41,266 - DEBUG - VRF ids for VN ctest-vn-95220751: {} 2025-07-22 17:42:41,317 - DEBUG - Services list from nova: [, , ] 2025-07-22 17:42:42,315 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3694-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3694-1) 2025-07-22 17:42:43,394 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3694-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3694-1) 2025-07-22 17:42:43,395 - INFO - Waiting for VM ctest-TestBasicPolicy-26536476-89177596 to be up.. 2025-07-22 17:42:43,469 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-22 17:42:48,549 - DEBUG - VM is in ACTIVE state now 2025-07-22 17:42:48,550 - INFO - VM name : ctest-TestBasicPolicy-26536476-89177596 2025-07-22 17:42:48,618 - DEBUG - VM ctest-TestBasicPolicy-26536476-89177596 ID is e3a3e7c9-187a-4ee6-a435-147a97e3d974 2025-07-22 17:42:48,636 - DEBUG - VM ctest-TestBasicPolicy-26536476-89177596 launched on Node cn-jenkins-deploy-platform-ansible-os-3694-1 2025-07-22 17:42:48,703 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/e3a3e7c9-187a-4ee6-a435-147a97e3d974 2025-07-22 17:42:48,712 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/ecefaaba-2fca-499a-9e9a-ff5245e9e624 2025-07-22 17:42:51,972 - 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 1028ms') 2025-07-22 17:42:51,972 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-26536476-89177596 failed! 2025-07-22 17:42:52,029 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-26536476:ctest-vn-13698140 is 200.251.119.65 and allocation pool is NOT set 2025-07-22 17:42:54,091 - 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.69 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.506 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.506/2.098/3.691/1.592 ms') 2025-07-22 17:42:54,091 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-26536476-89177596 passed 2025-07-22 17:42:54,245 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 17:42:54,245 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-26536476-89177596, IP 200.251.119.67, Port 22 2025-07-22 17:42:54,400 - DEBUG - VM ctest-TestBasicPolicy-26536476-89177596 is ready for SSH connections 2025-07-22 17:42:54,401 - INFO - Waiting for VM ctest-TestBasicPolicy-26536476-19426180 to be up.. 2025-07-22 17:42:54,471 - DEBUG - VM is in ACTIVE state now 2025-07-22 17:42:54,471 - INFO - VM name : ctest-TestBasicPolicy-26536476-19426180 2025-07-22 17:42:54,540 - DEBUG - VM ctest-TestBasicPolicy-26536476-19426180 ID is d45ab756-1eb5-421b-8273-81ebf5ba501f 2025-07-22 17:42:54,540 - DEBUG - VM ctest-TestBasicPolicy-26536476-19426180 launched on Node cn-jenkins-deploy-platform-ansible-os-3694-1 2025-07-22 17:42:54,606 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/d45ab756-1eb5-421b-8273-81ebf5ba501f 2025-07-22 17:42:54,614 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/3aaa3070-7b66-4cc9-b8e3-00a9e171021f 2025-07-22 17:42:55,854 - 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=3.08 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.443 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.443/1.762/3.081/1.319 ms') 2025-07-22 17:42:55,854 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-26536476-19426180 passed 2025-07-22 17:42:56,005 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 17:42:56,005 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-26536476-19426180, IP 93.48.100.67, Port 22 2025-07-22 17:42:56,164 - DEBUG - VM ctest-TestBasicPolicy-26536476-19426180 is ready for SSH connections 2025-07-22 17:42:56,165 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 17:42:56,165 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 93.48.100.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-07-22 17:42:56,165 - DEBUG - ping -s 56 -c 3 -W 1 93.48.100.67 2025-07-22 17:43:00,182 - DEBUG - PING 93.48.100.67 (93.48.100.67): 56 data bytes 64 bytes from 93.48.100.67: seq=0 ttl=63 time=3.869 ms 64 bytes from 93.48.100.67: seq=1 ttl=63 time=0.822 ms 64 bytes from 93.48.100.67: seq=2 ttl=63 time=0.719 ms --- 93.48.100.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.719/1.803/3.869 ms 2025-07-22 17:43:00,183 - INFO - Ping to IP 93.48.100.67 from VM ctest-TestBasicPolicy-26536476-89177596 passed 2025-07-22 17:43:00,361 - DEBUG - Policy Update Response {"network-policy": {"uuid": "49afe526-5761-44ab-b3a1-b551b8b0e469", "href": "http://10.0.0.48:8082/network-policy/49afe526-5761-44ab-b3a1-b551b8b0e469"}} 2025-07-22 17:43:00,361 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 17:43:00,361 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 93.48.100.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-07-22 17:43:00,361 - DEBUG - ping -s 56 -c 3 -W 1 93.48.100.67 2025-07-22 17:43:03,581 - DEBUG - PING 93.48.100.67 (93.48.100.67): 56 data bytes --- 93.48.100.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-07-22 17:43:03,582 - WARNING - Ping to IP 93.48.100.67 from VM ctest-TestBasicPolicy-26536476-89177596 failed 2025-07-22 17:43:03,582 - INFO - Deleting VM ctest-TestBasicPolicy-26536476-19426180 2025-07-22 17:43:03,645 - INFO - Deleting VM ctest-TestBasicPolicy-26536476-89177596 2025-07-22 17:43:04,029 - INFO - Deleted policy ctest-policy-allow-all-33331662 2025-07-22 17:43:04,029 - INFO - Deleting VN ctest-vn-95220751 2025-07-22 17:43:04,068 - DEBUG - VN 483484c1-d070-4411-a7b4-25612c3eb802 still in use: Unable to complete operation on network 483484c1-d070-4411-a7b4-25612c3eb802. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5eff62ca-e76f-402f-93fe-e3b8eb3b9f3d'] 2025-07-22 17:43:04,068 - WARNING - Deleting VN ctest-vn-95220751 failed..Will retry 2025-07-22 17:43:06,174 - DEBUG - Response for deleting network () 2025-07-22 17:43:06,174 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/8e497907-2750-431d-a888-bb58ed15d854 2025-07-22 17:43:06,182 - DEBUG - Response Code: 404 2025-07-22 17:43:06,182 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-07-22 17:43:06,187 - DEBUG - Requesting: http://10.0.0.48:8082/domain/dca9e7f9-668a-4c12-a926-5a40e1c29885 2025-07-22 17:43:06,243 - DEBUG - Requesting: http://10.0.0.48:8082/project/8d4ddbfc-2bce-4df7-a680-977b5db3a301 2025-07-22 17:43:06,316 - INFO - Validated that VN ctest-vn-95220751 is not found in API Server 2025-07-22 17:43:06,328 - DEBUG - VN ctest-vn-95220751 is not present in Agent 10.0.0.48 2025-07-22 17:43:06,328 - INFO - Validated that VN ctest-vn-95220751 is not in any agent 2025-07-22 17:43:06,345 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-95220751 info 2025-07-22 17:43:06,345 - INFO - Deleting VN ctest-vn-13698140 2025-07-22 17:43:06,451 - DEBUG - Response for deleting network () 2025-07-22 17:43:06,452 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/0486f7d6-5454-4177-9aae-a6a4fde7251d 2025-07-22 17:43:06,457 - DEBUG - Response Code: 404 2025-07-22 17:43:06,457 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-07-22 17:43:06,465 - DEBUG - Requesting: http://10.0.0.48:8082/domain/dca9e7f9-668a-4c12-a926-5a40e1c29885 2025-07-22 17:43:06,518 - DEBUG - Requesting: http://10.0.0.48:8082/project/8d4ddbfc-2bce-4df7-a680-977b5db3a301 2025-07-22 17:43:06,589 - INFO - Validated that VN ctest-vn-13698140 is not found in API Server 2025-07-22 17:43:06,600 - DEBUG - VN ctest-vn-13698140 is not present in Agent 10.0.0.48 2025-07-22 17:43:06,600 - INFO - Validated that VN ctest-vn-13698140 is not in any agent 2025-07-22 17:43:06,615 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-13698140 info 2025-07-22 17:43:06,870 - DEBUG - No XMPP flaps were noticed during the test 2025-07-22 17:43:06,870 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-07-22 17:43:06,870 - INFO - -------------------------------------------------------------------------------- 2025-07-22 17:43:07,549 - INFO - Deleted project: ctest-TestBasicPolicy-26536476, ID : 8d4ddbfc-2bce-4df7-a680-977b5db3a301