2025-10-29 17:36:38,694 - INFO - Domain Default found not creating 2025-10-29 17:36:38,857 - INFO - Project ctest-TestBasicPolicy-51528239 not found, creating it 2025-10-29 17:36:39,310 - INFO - Created Project:ctest-TestBasicPolicy-51528239, ID : aee687f4-c7e2-4f5d-b3dc-57e30a1fa3db 2025-10-29 17:36:40,750 - INFO - ================================================================================ 2025-10-29 17:36:40,750 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-29 17:36:40,750 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2025-10-29 17:36:41,004 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.18': '0'}} with 2025-10-29 17:36:41,004 - INFO - Initial checks done. Running the testcase now 2025-10-29 17:36:41,004 - INFO - 2025-10-29 17:36:41,575 - DEBUG - Response for create_network : {'network': {'id': 'dae4e2ad-0ab3-4705-8f46-505f0095d0bb', 'name': 'ctest-vn-82547607', 'tenant_id': 'aee687f4c7e24f5db3dc57e30a1fa3db', 'project_id': 'aee687f4c7e24f5db3dc57e30a1fa3db', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-51528239', 'ctest-vn-82547607'], 'port_security_enabled': True, 'description': ''}} 2025-10-29 17:36:41,757 - DEBUG - Response for create_subnet : {'subnet': {'id': '897da663-013c-4b28-af0e-8198e0ad3948', 'name': '', 'tenant_id': 'aee687f4c7e24f5db3dc57e30a1fa3db', 'network_id': 'dae4e2ad-0ab3-4705-8f46-505f0095d0bb', 'ip_version': 4, 'cidr': '111.165.178.128/26', 'allocation_pools': [{'start': '111.165.178.130', 'end': '111.165.178.190'}], 'gateway_ip': '111.165.178.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '111.165.178.130', 'tags': [], 'project_id': 'aee687f4c7e24f5db3dc57e30a1fa3db'}} 2025-10-29 17:36:41,776 - INFO - Created VN ctest-vn-82547607 2025-10-29 17:36:41,826 - DEBUG - VN ctest-vn-82547607 UUID is dae4e2ad-0ab3-4705-8f46-505f0095d0bb 2025-10-29 17:36:42,109 - DEBUG - Response for create_network : {'network': {'id': '6aa27f13-fc3d-49c6-9643-8eaaf49e2d48', 'name': 'ctest-vn-21355214', 'tenant_id': 'aee687f4c7e24f5db3dc57e30a1fa3db', 'project_id': 'aee687f4c7e24f5db3dc57e30a1fa3db', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-51528239', 'ctest-vn-21355214'], 'port_security_enabled': True, 'description': ''}} 2025-10-29 17:36:42,327 - DEBUG - Response for create_subnet : {'subnet': {'id': '1745690a-a9e4-4efd-9e70-a8aa952348b7', 'name': '', 'tenant_id': 'aee687f4c7e24f5db3dc57e30a1fa3db', 'network_id': '6aa27f13-fc3d-49c6-9643-8eaaf49e2d48', 'ip_version': 4, 'cidr': '26.214.225.192/26', 'allocation_pools': [{'start': '26.214.225.194', 'end': '26.214.225.254'}], 'gateway_ip': '26.214.225.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '26.214.225.194', 'tags': [], 'project_id': 'aee687f4c7e24f5db3dc57e30a1fa3db'}} 2025-10-29 17:36:42,346 - INFO - Created VN ctest-vn-21355214 2025-10-29 17:36:42,398 - DEBUG - VN ctest-vn-21355214 UUID is 6aa27f13-fc3d-49c6-9643-8eaaf49e2d48 2025-10-29 17:36:42,516 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-51528239:ctest-vn-82547607, 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-51528239:ctest-vn-21355214, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2025-10-29 17:36:42,822 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'dae4e2ad-0ab3-4705-8f46-505f0095d0bb', 'name': 'ctest-vn-82547607', 'tenant_id': 'aee687f4c7e24f5db3dc57e30a1fa3db', 'project_id': 'aee687f4c7e24f5db3dc57e30a1fa3db', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['897da663-013c-4b28-af0e-8198e0ad3948'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-51528239', 'ctest-vn-82547607'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-51528239', 'ctest-policy-allow-all-06760648']], 'subnet_ipam': [{'subnet_cidr': '111.165.178.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-29 17:36:43,105 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6aa27f13-fc3d-49c6-9643-8eaaf49e2d48', 'name': 'ctest-vn-21355214', 'tenant_id': 'aee687f4c7e24f5db3dc57e30a1fa3db', 'project_id': 'aee687f4c7e24f5db3dc57e30a1fa3db', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1745690a-a9e4-4efd-9e70-a8aa952348b7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-51528239', 'ctest-vn-21355214'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-51528239', 'ctest-policy-allow-all-06760648']], 'subnet_ipam': [{'subnet_cidr': '26.214.225.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-29 17:36:43,250 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-29 17:36:43,553 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-29 17:36:43,586 - DEBUG - Requesting: http://10.0.0.242:8082/domain/2fa9b7e6-e606-4f3d-b674-0ade35196e22 2025-10-29 17:36:43,600 - DEBUG - Requesting: http://10.0.0.242:8082/project/aee687f4-c7e2-4f5d-b3dc-57e30a1fa3db 2025-10-29 17:36:43,680 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/dae4e2ad-0ab3-4705-8f46-505f0095d0bb 2025-10-29 17:36:43,691 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/dae4e2ad-0ab3-4705-8f46-505f0095d0bb 2025-10-29 17:36:43,701 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/56f6ed80-fdaa-441f-8caa-31e0f0afcecb 2025-10-29 17:36:43,709 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/56f6ed80-fdaa-441f-8caa-31e0f0afcecb 2025-10-29 17:36:43,717 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/1ce48734-5772-464e-99a4-70af68476b03 2025-10-29 17:36:43,724 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-29 17:36:43,724 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/dae4e2ad-0ab3-4705-8f46-505f0095d0bb 2025-10-29 17:36:43,734 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/56f6ed80-fdaa-441f-8caa-31e0f0afcecb 2025-10-29 17:36:43,750 - INFO - Verified VN network id 11 for VN dae4e2ad-0ab3-4705-8f46-505f0095d0bb 2025-10-29 17:36:43,750 - INFO - Verifications in API Server for VN ctest-vn-82547607 passed 2025-10-29 17:36:43,750 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/dae4e2ad-0ab3-4705-8f46-505f0095d0bb 2025-10-29 17:36:43,760 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/56f6ed80-fdaa-441f-8caa-31e0f0afcecb 2025-10-29 17:36:43,768 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/56f6ed80-fdaa-441f-8caa-31e0f0afcecb 2025-10-29 17:36:43,775 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/1ce48734-5772-464e-99a4-70af68476b03 2025-10-29 17:36:43,787 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-51528239:ctest-vn-82547607', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-51528239', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15772981027795060485', 'uuid-lslong': '10324027564755374267'}, 'enable': 'true', 'created': '2025-10-29T17:36:41', 'last-modified': '2025-10-29T17:36:42', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.991847'} 2025-10-29 17:36:43,793 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-29 17:36:43,793 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-82547607 passed 2025-10-29 17:36:43,793 - DEBUG - ====Verifying policy data for ctest-vn-82547607 in API_Server ====== 2025-10-29 17:36:43,793 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-29 17:36:43,799 - DEBUG - Requesting: http://10.0.0.242:8082/domain/2fa9b7e6-e606-4f3d-b674-0ade35196e22 2025-10-29 17:36:43,810 - DEBUG - Requesting: http://10.0.0.242:8082/project/aee687f4-c7e2-4f5d-b3dc-57e30a1fa3db 2025-10-29 17:36:43,885 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/dae4e2ad-0ab3-4705-8f46-505f0095d0bb 2025-10-29 17:36:43,896 - DEBUG - ==>Verifying data for policy with id: 727a2d7a-2acb-4c72-b098-c07251028cbf, fqn: ['default-domain', 'ctest-TestBasicPolicy-51528239', 'ctest-policy-allow-all-06760648'] 2025-10-29 17:36:43,896 - INFO - VN ctest-vn-82547607 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-29 17:36:43,896 - DEBUG - Verifying the vn in opserver 2025-10-29 17:36:43,896 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-51528239:ctest-vn-82547607 virtual network link through opserver 10.0.0.242 2025-10-29 17:36:43,896 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-10-29 17:36:44,203 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-10-29 17:36:44,263 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-51528239:ctest-vn-82547607', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-51528239:ctest-vn-82547607?flat'} 2025-10-29 17:36:44,263 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-51528239:ctest-vn-82547607 is found in opserver 2025-10-29 17:36:44,273 - DEBUG - Do not have enough data to verify VN in agent 2025-10-29 17:36:44,278 - DEBUG - VRF ids for VN ctest-vn-82547607: {} 2025-10-29 17:36:44,278 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-29 17:36:44,284 - DEBUG - Requesting: http://10.0.0.242:8082/domain/2fa9b7e6-e606-4f3d-b674-0ade35196e22 2025-10-29 17:36:44,296 - DEBUG - Requesting: http://10.0.0.242:8082/project/aee687f4-c7e2-4f5d-b3dc-57e30a1fa3db 2025-10-29 17:36:44,375 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/6aa27f13-fc3d-49c6-9643-8eaaf49e2d48 2025-10-29 17:36:44,388 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/6aa27f13-fc3d-49c6-9643-8eaaf49e2d48 2025-10-29 17:36:44,397 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/43c699a5-fe89-4ef3-b59d-40cefc268376 2025-10-29 17:36:44,405 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/43c699a5-fe89-4ef3-b59d-40cefc268376 2025-10-29 17:36:44,413 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/70c273b2-302f-45c7-8afe-ec25f5e5c172 2025-10-29 17:36:44,419 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-29 17:36:44,419 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/6aa27f13-fc3d-49c6-9643-8eaaf49e2d48 2025-10-29 17:36:44,428 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/43c699a5-fe89-4ef3-b59d-40cefc268376 2025-10-29 17:36:44,442 - INFO - Verified VN network id 12 for VN 6aa27f13-fc3d-49c6-9643-8eaaf49e2d48 2025-10-29 17:36:44,442 - INFO - Verifications in API Server for VN ctest-vn-21355214 passed 2025-10-29 17:36:44,443 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/6aa27f13-fc3d-49c6-9643-8eaaf49e2d48 2025-10-29 17:36:44,454 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/43c699a5-fe89-4ef3-b59d-40cefc268376 2025-10-29 17:36:44,462 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/43c699a5-fe89-4ef3-b59d-40cefc268376 2025-10-29 17:36:44,469 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/70c273b2-302f-45c7-8afe-ec25f5e5c172 2025-10-29 17:36:44,491 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-51528239:ctest-vn-21355214', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-51528239', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7683843638060468678', 'uuid-lslong': '10827654794028395848'}, 'enable': 'true', 'created': '2025-10-29T17:36:42', 'last-modified': '2025-10-29T17:36:43', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.447911'} 2025-10-29 17:36:44,497 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-29 17:36:44,497 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-21355214 passed 2025-10-29 17:36:44,498 - DEBUG - ====Verifying policy data for ctest-vn-21355214 in API_Server ====== 2025-10-29 17:36:44,498 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-29 17:36:44,504 - DEBUG - Requesting: http://10.0.0.242:8082/domain/2fa9b7e6-e606-4f3d-b674-0ade35196e22 2025-10-29 17:36:44,517 - DEBUG - Requesting: http://10.0.0.242:8082/project/aee687f4-c7e2-4f5d-b3dc-57e30a1fa3db 2025-10-29 17:36:44,595 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/6aa27f13-fc3d-49c6-9643-8eaaf49e2d48 2025-10-29 17:36:44,604 - DEBUG - ==>Verifying data for policy with id: 727a2d7a-2acb-4c72-b098-c07251028cbf, fqn: ['default-domain', 'ctest-TestBasicPolicy-51528239', 'ctest-policy-allow-all-06760648'] 2025-10-29 17:36:44,604 - INFO - VN ctest-vn-21355214 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-29 17:36:44,604 - DEBUG - Verifying the vn in opserver 2025-10-29 17:36:44,604 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-51528239:ctest-vn-21355214 virtual network link through opserver 10.0.0.242 2025-10-29 17:36:44,604 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-10-29 17:36:44,614 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-51528239:ctest-vn-21355214', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-51528239:ctest-vn-21355214?flat'} 2025-10-29 17:36:44,614 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-51528239:ctest-vn-21355214 is found in opserver 2025-10-29 17:36:44,624 - DEBUG - Do not have enough data to verify VN in agent 2025-10-29 17:36:44,629 - DEBUG - VRF ids for VN ctest-vn-21355214: {} 2025-10-29 17:36:44,687 - DEBUG - Services list from nova: [, , ] 2025-10-29 17:36:45,719 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4525-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4525-1) 2025-10-29 17:36:46,853 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4525-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4525-1) 2025-10-29 17:36:46,853 - INFO - Waiting for VM ctest-TestBasicPolicy-51528239-39160041 to be up.. 2025-10-29 17:36:46,933 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-29 17:36:52,017 - DEBUG - VM is in ACTIVE state now 2025-10-29 17:36:52,017 - INFO - VM name : ctest-TestBasicPolicy-51528239-39160041 2025-10-29 17:36:52,098 - DEBUG - VM ctest-TestBasicPolicy-51528239-39160041 ID is 7c8bc97f-169d-427c-9f43-83cee1e49127 2025-10-29 17:36:52,116 - DEBUG - VM ctest-TestBasicPolicy-51528239-39160041 launched on Node cn-jenkins-deploy-platform-ansible-os-4525-1 2025-10-29 17:36:52,186 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/7c8bc97f-169d-427c-9f43-83cee1e49127 2025-10-29 17:36:52,195 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/73574885-3aea-4f8e-959d-d862623c39eb 2025-10-29 17:36:55,465 - 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 1015ms') 2025-10-29 17:36:55,465 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-51528239-39160041 failed! 2025-10-29 17:36:55,522 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-51528239:ctest-vn-82547607 is 111.165.178.129 and allocation pool is NOT set 2025-10-29 17:36:57,581 - 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=6.70 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.415 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.415/3.557/6.700/3.142 ms') 2025-10-29 17:36:57,581 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-51528239-39160041 passed 2025-10-29 17:36:57,734 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 17:36:57,734 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-51528239-39160041, IP 111.165.178.131, Port 22 2025-10-29 17:36:57,890 - DEBUG - VM ctest-TestBasicPolicy-51528239-39160041 is ready for SSH connections 2025-10-29 17:36:57,890 - INFO - Waiting for VM ctest-TestBasicPolicy-51528239-48897978 to be up.. 2025-10-29 17:36:57,965 - DEBUG - VM is in ACTIVE state now 2025-10-29 17:36:57,965 - INFO - VM name : ctest-TestBasicPolicy-51528239-48897978 2025-10-29 17:36:58,033 - DEBUG - VM ctest-TestBasicPolicy-51528239-48897978 ID is 588216b7-992a-4ac9-910e-2e258092ebe4 2025-10-29 17:36:58,033 - DEBUG - VM ctest-TestBasicPolicy-51528239-48897978 launched on Node cn-jenkins-deploy-platform-ansible-os-4525-1 2025-10-29 17:36:58,103 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/588216b7-992a-4ac9-910e-2e258092ebe4 2025-10-29 17:36:58,111 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/44432d49-0c18-4b12-8868-fb887b1c9f35 2025-10-29 17:36:59,343 - 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.00 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.30 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 = 1.298/2.147/2.996/0.849 ms') 2025-10-29 17:36:59,343 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-51528239-48897978 passed 2025-10-29 17:36:59,494 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 17:36:59,494 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-51528239-48897978, IP 26.214.225.195, Port 22 2025-10-29 17:36:59,650 - DEBUG - VM ctest-TestBasicPolicy-51528239-48897978 is ready for SSH connections 2025-10-29 17:36:59,650 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 17:36:59,650 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 26.214.225.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-29 17:36:59,650 - DEBUG - ping -s 56 -c 3 -W 1 26.214.225.195 2025-10-29 17:37:03,733 - DEBUG - PING 26.214.225.195 (26.214.225.195): 56 data bytes 64 bytes from 26.214.225.195: seq=0 ttl=63 time=3.438 ms 64 bytes from 26.214.225.195: seq=1 ttl=63 time=0.864 ms 64 bytes from 26.214.225.195: seq=2 ttl=63 time=0.883 ms --- 26.214.225.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.864/1.728/3.438 ms 2025-10-29 17:37:03,733 - INFO - Ping to IP 26.214.225.195 from VM ctest-TestBasicPolicy-51528239-39160041 passed 2025-10-29 17:37:03,922 - DEBUG - Policy Update Response {"network-policy": {"uuid": "727a2d7a-2acb-4c72-b098-c07251028cbf", "href": "http://10.0.0.242:8082/network-policy/727a2d7a-2acb-4c72-b098-c07251028cbf"}} 2025-10-29 17:37:03,922 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 17:37:03,922 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 26.214.225.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-29 17:37:03,922 - DEBUG - ping -s 56 -c 3 -W 1 26.214.225.195 2025-10-29 17:37:07,150 - DEBUG - PING 26.214.225.195 (26.214.225.195): 56 data bytes --- 26.214.225.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-29 17:37:07,150 - WARNING - Ping to IP 26.214.225.195 from VM ctest-TestBasicPolicy-51528239-39160041 failed 2025-10-29 17:37:07,150 - INFO - Deleting VM ctest-TestBasicPolicy-51528239-48897978 2025-10-29 17:37:07,225 - INFO - Deleting VM ctest-TestBasicPolicy-51528239-39160041 2025-10-29 17:37:07,593 - INFO - Deleted policy ctest-policy-allow-all-06760648 2025-10-29 17:37:07,594 - INFO - Deleting VN ctest-vn-21355214 2025-10-29 17:37:07,629 - DEBUG - VN 6aa27f13-fc3d-49c6-9643-8eaaf49e2d48 still in use: Unable to complete operation on network 6aa27f13-fc3d-49c6-9643-8eaaf49e2d48. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-81e4aa90-3cc0-478b-a89b-cb708f19be7b'] 2025-10-29 17:37:07,629 - WARNING - Deleting VN ctest-vn-21355214 failed..Will retry 2025-10-29 17:37:09,724 - DEBUG - Response for deleting network () 2025-10-29 17:37:09,725 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/43c699a5-fe89-4ef3-b59d-40cefc268376 2025-10-29 17:37:09,731 - DEBUG - Response Code: 404 2025-10-29 17:37:09,732 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-29 17:37:09,736 - DEBUG - Requesting: http://10.0.0.242:8082/domain/2fa9b7e6-e606-4f3d-b674-0ade35196e22 2025-10-29 17:37:09,787 - DEBUG - Requesting: http://10.0.0.242:8082/project/aee687f4-c7e2-4f5d-b3dc-57e30a1fa3db 2025-10-29 17:37:09,859 - INFO - Validated that VN ctest-vn-21355214 is not found in API Server 2025-10-29 17:37:09,868 - DEBUG - VN ctest-vn-21355214 is not present in Agent 10.0.0.242 2025-10-29 17:37:09,868 - INFO - Validated that VN ctest-vn-21355214 is not in any agent 2025-10-29 17:37:09,882 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-21355214 info 2025-10-29 17:37:09,882 - INFO - Deleting VN ctest-vn-82547607 2025-10-29 17:37:09,988 - DEBUG - Response for deleting network () 2025-10-29 17:37:09,988 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/56f6ed80-fdaa-441f-8caa-31e0f0afcecb 2025-10-29 17:37:09,994 - DEBUG - Response Code: 404 2025-10-29 17:37:09,994 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-29 17:37:10,003 - DEBUG - Requesting: http://10.0.0.242:8082/domain/2fa9b7e6-e606-4f3d-b674-0ade35196e22 2025-10-29 17:37:10,060 - DEBUG - Requesting: http://10.0.0.242:8082/project/aee687f4-c7e2-4f5d-b3dc-57e30a1fa3db 2025-10-29 17:37:10,133 - INFO - Validated that VN ctest-vn-82547607 is not found in API Server 2025-10-29 17:37:10,143 - DEBUG - VN ctest-vn-82547607 is not present in Agent 10.0.0.242 2025-10-29 17:37:10,143 - INFO - Validated that VN ctest-vn-82547607 is not in any agent 2025-10-29 17:37:10,157 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-82547607 info 2025-10-29 17:37:10,411 - DEBUG - No XMPP flaps were noticed during the test 2025-10-29 17:37:10,411 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-10-29 17:37:10,411 - INFO - -------------------------------------------------------------------------------- 2025-10-29 17:37:11,074 - INFO - Deleted project: ctest-TestBasicPolicy-51528239, ID : aee687f4-c7e2-4f5d-b3dc-57e30a1fa3db