2025-10-27 15:10:14,749 - INFO - Domain Default found not creating 2025-10-27 15:10:14,925 - INFO - Project ctest-TestBasicPolicy-68821113 not found, creating it 2025-10-27 15:10:15,383 - INFO - Created Project:ctest-TestBasicPolicy-68821113, ID : ab4e7eaa-f250-408b-b3cf-549f4d8a25cb 2025-10-27 15:10:16,901 - INFO - ================================================================================ 2025-10-27 15:10:16,901 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-27 15:10:16,902 - 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-27 15:10:17,155 - DEBUG - Nothing to compare xmpp stats {'10.0.0.131': {'10.20.0.14': '0'}} with 2025-10-27 15:10:17,155 - INFO - Initial checks done. Running the testcase now 2025-10-27 15:10:17,155 - INFO - 2025-10-27 15:10:17,724 - DEBUG - Response for create_network : {'network': {'id': 'a4be79c9-9b68-4692-98db-e61775610e90', 'name': 'ctest-vn-23311976', 'tenant_id': 'ab4e7eaaf250408bb3cf549f4d8a25cb', 'project_id': 'ab4e7eaaf250408bb3cf549f4d8a25cb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-68821113', 'ctest-vn-23311976'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 15:10:17,891 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f41bfd3c-0cf9-4ac0-9248-b1d4e4cccb2a', 'name': '', 'tenant_id': 'ab4e7eaaf250408bb3cf549f4d8a25cb', 'network_id': 'a4be79c9-9b68-4692-98db-e61775610e90', 'ip_version': 4, 'cidr': '144.76.252.64/26', 'allocation_pools': [{'start': '144.76.252.66', 'end': '144.76.252.126'}], 'gateway_ip': '144.76.252.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '144.76.252.66', 'tags': [], 'project_id': 'ab4e7eaaf250408bb3cf549f4d8a25cb'}} 2025-10-27 15:10:17,911 - INFO - Created VN ctest-vn-23311976 2025-10-27 15:10:17,965 - DEBUG - VN ctest-vn-23311976 UUID is a4be79c9-9b68-4692-98db-e61775610e90 2025-10-27 15:10:18,261 - DEBUG - Response for create_network : {'network': {'id': 'f7ca68d9-50d4-4221-8b75-7bf5cc13e9ff', 'name': 'ctest-vn-74868079', 'tenant_id': 'ab4e7eaaf250408bb3cf549f4d8a25cb', 'project_id': 'ab4e7eaaf250408bb3cf549f4d8a25cb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-68821113', 'ctest-vn-74868079'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 15:10:18,413 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd2f22d70-eaf0-468b-a4e6-ab2928b95ff8', 'name': '', 'tenant_id': 'ab4e7eaaf250408bb3cf549f4d8a25cb', 'network_id': 'f7ca68d9-50d4-4221-8b75-7bf5cc13e9ff', 'ip_version': 4, 'cidr': '47.52.144.64/26', 'allocation_pools': [{'start': '47.52.144.66', 'end': '47.52.144.126'}], 'gateway_ip': '47.52.144.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '47.52.144.66', 'tags': [], 'project_id': 'ab4e7eaaf250408bb3cf549f4d8a25cb'}} 2025-10-27 15:10:18,433 - INFO - Created VN ctest-vn-74868079 2025-10-27 15:10:18,489 - DEBUG - VN ctest-vn-74868079 UUID is f7ca68d9-50d4-4221-8b75-7bf5cc13e9ff 2025-10-27 15:10:18,608 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-68821113:ctest-vn-23311976, 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-68821113:ctest-vn-74868079, 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-27 15:10:18,910 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a4be79c9-9b68-4692-98db-e61775610e90', 'name': 'ctest-vn-23311976', 'tenant_id': 'ab4e7eaaf250408bb3cf549f4d8a25cb', 'project_id': 'ab4e7eaaf250408bb3cf549f4d8a25cb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f41bfd3c-0cf9-4ac0-9248-b1d4e4cccb2a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-68821113', 'ctest-vn-23311976'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-68821113', 'ctest-policy-allow-all-71589990']], 'subnet_ipam': [{'subnet_cidr': '144.76.252.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-27 15:10:19,139 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f7ca68d9-50d4-4221-8b75-7bf5cc13e9ff', 'name': 'ctest-vn-74868079', 'tenant_id': 'ab4e7eaaf250408bb3cf549f4d8a25cb', 'project_id': 'ab4e7eaaf250408bb3cf549f4d8a25cb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d2f22d70-eaf0-468b-a4e6-ab2928b95ff8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-68821113', 'ctest-vn-74868079'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-68821113', 'ctest-policy-allow-all-71589990']], 'subnet_ipam': [{'subnet_cidr': '47.52.144.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-27 15:10:19,317 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2025-10-27 15:10:19,622 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2025-10-27 15:10:19,651 - DEBUG - Requesting: http://10.0.0.131:8082/domain/477ba148-2123-429b-9e90-50e7a3af3f6c 2025-10-27 15:10:19,664 - DEBUG - Requesting: http://10.0.0.131:8082/project/ab4e7eaa-f250-408b-b3cf-549f4d8a25cb 2025-10-27 15:10:19,736 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/a4be79c9-9b68-4692-98db-e61775610e90 2025-10-27 15:10:19,747 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/a4be79c9-9b68-4692-98db-e61775610e90 2025-10-27 15:10:19,757 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/f6aa117e-c88d-4f08-b31b-366dd73c211b 2025-10-27 15:10:19,765 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/f6aa117e-c88d-4f08-b31b-366dd73c211b 2025-10-27 15:10:19,772 - DEBUG - Requesting: http://10.0.0.131:8082/route-target/adf2cd1c-67dc-42c9-b950-e44b8639bd84 2025-10-27 15:10:19,778 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-27 15:10:19,778 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/a4be79c9-9b68-4692-98db-e61775610e90 2025-10-27 15:10:19,788 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/f6aa117e-c88d-4f08-b31b-366dd73c211b 2025-10-27 15:10:19,804 - INFO - Verified VN network id 11 for VN a4be79c9-9b68-4692-98db-e61775610e90 2025-10-27 15:10:19,804 - INFO - Verifications in API Server for VN ctest-vn-23311976 passed 2025-10-27 15:10:19,804 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/a4be79c9-9b68-4692-98db-e61775610e90 2025-10-27 15:10:19,816 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/f6aa117e-c88d-4f08-b31b-366dd73c211b 2025-10-27 15:10:19,824 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/f6aa117e-c88d-4f08-b31b-366dd73c211b 2025-10-27 15:10:19,831 - DEBUG - Requesting: http://10.0.0.131:8082/route-target/adf2cd1c-67dc-42c9-b950-e44b8639bd84 2025-10-27 15:10:19,842 - DEBUG - Control-node 10.0.0.131 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-68821113:ctest-vn-23311976', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-68821113', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11871059574597895826', 'uuid-lslong': '11014650302092611216'}, 'enable': 'true', 'created': '2025-10-27T15:10:17', 'last-modified': '2025-10-27T15:10:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.958020'} 2025-10-27 15:10:19,848 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-27 15:10:19,848 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-23311976 passed 2025-10-27 15:10:19,849 - DEBUG - ====Verifying policy data for ctest-vn-23311976 in API_Server ====== 2025-10-27 15:10:19,849 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2025-10-27 15:10:19,855 - DEBUG - Requesting: http://10.0.0.131:8082/domain/477ba148-2123-429b-9e90-50e7a3af3f6c 2025-10-27 15:10:19,868 - DEBUG - Requesting: http://10.0.0.131:8082/project/ab4e7eaa-f250-408b-b3cf-549f4d8a25cb 2025-10-27 15:10:19,939 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/a4be79c9-9b68-4692-98db-e61775610e90 2025-10-27 15:10:19,948 - DEBUG - ==>Verifying data for policy with id: ebe25c9d-4e9b-47b2-94ff-051f27cbf084, fqn: ['default-domain', 'ctest-TestBasicPolicy-68821113', 'ctest-policy-allow-all-71589990'] 2025-10-27 15:10:19,948 - INFO - VN ctest-vn-23311976 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-27 15:10:19,948 - DEBUG - Verifying the vn in opserver 2025-10-27 15:10:19,948 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-68821113:ctest-vn-23311976 virtual network link through opserver 10.0.0.131 2025-10-27 15:10:19,949 - DEBUG - Requesting: http://10.0.0.131:8081/analytics/uves/virtual-networks 2025-10-27 15:10:20,266 - DEBUG - Requesting: http://10.0.0.131:8081/analytics/uves/virtual-networks 2025-10-27 15:10:20,328 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-68821113:ctest-vn-23311976', 'href': 'http://10.0.0.131:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-68821113:ctest-vn-23311976?flat'} 2025-10-27 15:10:20,328 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-68821113:ctest-vn-23311976 is found in opserver 2025-10-27 15:10:20,339 - DEBUG - Do not have enough data to verify VN in agent 2025-10-27 15:10:20,343 - DEBUG - VRF ids for VN ctest-vn-23311976: {} 2025-10-27 15:10:20,343 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2025-10-27 15:10:20,349 - DEBUG - Requesting: http://10.0.0.131:8082/domain/477ba148-2123-429b-9e90-50e7a3af3f6c 2025-10-27 15:10:20,360 - DEBUG - Requesting: http://10.0.0.131:8082/project/ab4e7eaa-f250-408b-b3cf-549f4d8a25cb 2025-10-27 15:10:20,432 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/f7ca68d9-50d4-4221-8b75-7bf5cc13e9ff 2025-10-27 15:10:20,446 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/f7ca68d9-50d4-4221-8b75-7bf5cc13e9ff 2025-10-27 15:10:20,457 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/39ec077c-003e-4d1d-8c32-db040e187047 2025-10-27 15:10:20,465 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/39ec077c-003e-4d1d-8c32-db040e187047 2025-10-27 15:10:20,473 - DEBUG - Requesting: http://10.0.0.131:8082/route-target/7e544ef3-d8a7-4589-9739-f54d923e66f7 2025-10-27 15:10:20,480 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-27 15:10:20,480 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/f7ca68d9-50d4-4221-8b75-7bf5cc13e9ff 2025-10-27 15:10:20,490 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/39ec077c-003e-4d1d-8c32-db040e187047 2025-10-27 15:10:20,506 - INFO - Verified VN network id 12 for VN f7ca68d9-50d4-4221-8b75-7bf5cc13e9ff 2025-10-27 15:10:20,506 - INFO - Verifications in API Server for VN ctest-vn-74868079 passed 2025-10-27 15:10:20,506 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/f7ca68d9-50d4-4221-8b75-7bf5cc13e9ff 2025-10-27 15:10:20,517 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/39ec077c-003e-4d1d-8c32-db040e187047 2025-10-27 15:10:20,526 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/39ec077c-003e-4d1d-8c32-db040e187047 2025-10-27 15:10:20,534 - DEBUG - Requesting: http://10.0.0.131:8082/route-target/7e544ef3-d8a7-4589-9739-f54d923e66f7 2025-10-27 15:10:20,547 - DEBUG - Control-node 10.0.0.131 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-68821113:ctest-vn-74868079', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-68821113', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17855198955237032481', 'uuid-lslong': '10049074439168190975'}, 'enable': 'true', 'created': '2025-10-27T15:10:18', 'last-modified': '2025-10-27T15:10:19', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.432961'} 2025-10-27 15:10:20,553 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-27 15:10:20,553 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-74868079 passed 2025-10-27 15:10:20,553 - DEBUG - ====Verifying policy data for ctest-vn-74868079 in API_Server ====== 2025-10-27 15:10:20,553 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2025-10-27 15:10:20,559 - DEBUG - Requesting: http://10.0.0.131:8082/domain/477ba148-2123-429b-9e90-50e7a3af3f6c 2025-10-27 15:10:20,570 - DEBUG - Requesting: http://10.0.0.131:8082/project/ab4e7eaa-f250-408b-b3cf-549f4d8a25cb 2025-10-27 15:10:20,645 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/f7ca68d9-50d4-4221-8b75-7bf5cc13e9ff 2025-10-27 15:10:20,655 - DEBUG - ==>Verifying data for policy with id: ebe25c9d-4e9b-47b2-94ff-051f27cbf084, fqn: ['default-domain', 'ctest-TestBasicPolicy-68821113', 'ctest-policy-allow-all-71589990'] 2025-10-27 15:10:20,655 - INFO - VN ctest-vn-74868079 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-27 15:10:20,655 - DEBUG - Verifying the vn in opserver 2025-10-27 15:10:20,655 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-68821113:ctest-vn-74868079 virtual network link through opserver 10.0.0.131 2025-10-27 15:10:20,655 - DEBUG - Requesting: http://10.0.0.131:8081/analytics/uves/virtual-networks 2025-10-27 15:10:20,665 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-68821113:ctest-vn-74868079', 'href': 'http://10.0.0.131:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-68821113:ctest-vn-74868079?flat'} 2025-10-27 15:10:20,665 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-68821113:ctest-vn-74868079 is found in opserver 2025-10-27 15:10:20,676 - DEBUG - Do not have enough data to verify VN in agent 2025-10-27 15:10:20,681 - DEBUG - VRF ids for VN ctest-vn-74868079: {} 2025-10-27 15:10:20,745 - DEBUG - Services list from nova: [, , ] 2025-10-27 15:10:21,810 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4506-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4506-1) 2025-10-27 15:10:23,007 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4506-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4506-1) 2025-10-27 15:10:23,007 - INFO - Waiting for VM ctest-TestBasicPolicy-68821113-96644102 to be up.. 2025-10-27 15:10:23,101 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-27 15:10:28,185 - DEBUG - VM is in ACTIVE state now 2025-10-27 15:10:28,185 - INFO - VM name : ctest-TestBasicPolicy-68821113-96644102 2025-10-27 15:10:28,291 - DEBUG - VM ctest-TestBasicPolicy-68821113-96644102 ID is aa7ef0e4-e70f-4f20-ac8e-c8003cd867ef 2025-10-27 15:10:28,314 - DEBUG - VM ctest-TestBasicPolicy-68821113-96644102 launched on Node cn-jenkins-deploy-platform-ansible-os-4506-1 2025-10-27 15:10:28,392 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/aa7ef0e4-e70f-4f20-ac8e-c8003cd867ef 2025-10-27 15:10:28,402 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/bb04cf03-75fc-4d3f-98b7-4a76a1205a7a 2025-10-27 15:10:31,676 - 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 1026ms') 2025-10-27 15:10:31,676 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-68821113-96644102 failed! 2025-10-27 15:10:31,741 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-68821113:ctest-vn-23311976 is 144.76.252.65 and allocation pool is NOT set 2025-10-27 15:10:33,810 - 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=13.1 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.97 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 = 3.968/8.509/13.051/4.541 ms') 2025-10-27 15:10:33,810 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-68821113-96644102 passed 2025-10-27 15:10:33,977 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 15:10:33,977 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-68821113-96644102, IP 144.76.252.67, Port 22 2025-10-27 15:10:34,147 - DEBUG - VM ctest-TestBasicPolicy-68821113-96644102 is ready for SSH connections 2025-10-27 15:10:34,147 - INFO - Waiting for VM ctest-TestBasicPolicy-68821113-82030953 to be up.. 2025-10-27 15:10:34,239 - DEBUG - VM is in ACTIVE state now 2025-10-27 15:10:34,239 - INFO - VM name : ctest-TestBasicPolicy-68821113-82030953 2025-10-27 15:10:34,326 - DEBUG - VM ctest-TestBasicPolicy-68821113-82030953 ID is 36d9839c-baa6-4d44-8069-ebd968d31aa1 2025-10-27 15:10:34,326 - DEBUG - VM ctest-TestBasicPolicy-68821113-82030953 launched on Node cn-jenkins-deploy-platform-ansible-os-4506-1 2025-10-27 15:10:34,422 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/36d9839c-baa6-4d44-8069-ebd968d31aa1 2025-10-27 15:10:34,436 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/e981c2f5-5eea-487f-9f5a-6507a1b4fca4 2025-10-27 15:10:35,688 - 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=5.46 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.785 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.785/3.121/5.458/2.336 ms') 2025-10-27 15:10:35,688 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-68821113-82030953 passed 2025-10-27 15:10:35,841 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 15:10:35,841 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-68821113-82030953, IP 47.52.144.67, Port 22 2025-10-27 15:10:35,996 - DEBUG - VM ctest-TestBasicPolicy-68821113-82030953 is ready for SSH connections 2025-10-27 15:10:35,996 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 15:10:35,996 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 47.52.144.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-10-27 15:10:35,996 - DEBUG - ping -s 56 -c 3 -W 1 47.52.144.67 2025-10-27 15:10:40,112 - DEBUG - PING 47.52.144.67 (47.52.144.67): 56 data bytes 64 bytes from 47.52.144.67: seq=0 ttl=63 time=3.945 ms 64 bytes from 47.52.144.67: seq=1 ttl=63 time=0.862 ms 64 bytes from 47.52.144.67: seq=2 ttl=63 time=0.961 ms --- 47.52.144.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.862/1.922/3.945 ms 2025-10-27 15:10:40,113 - INFO - Ping to IP 47.52.144.67 from VM ctest-TestBasicPolicy-68821113-96644102 passed 2025-10-27 15:10:40,301 - DEBUG - Policy Update Response {"network-policy": {"uuid": "ebe25c9d-4e9b-47b2-94ff-051f27cbf084", "href": "http://10.0.0.131:8082/network-policy/ebe25c9d-4e9b-47b2-94ff-051f27cbf084"}} 2025-10-27 15:10:40,301 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 15:10:40,301 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 47.52.144.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-10-27 15:10:40,302 - DEBUG - ping -s 56 -c 3 -W 1 47.52.144.67 2025-10-27 15:10:43,531 - DEBUG - PING 47.52.144.67 (47.52.144.67): 56 data bytes --- 47.52.144.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-27 15:10:43,532 - WARNING - Ping to IP 47.52.144.67 from VM ctest-TestBasicPolicy-68821113-96644102 failed 2025-10-27 15:10:43,532 - INFO - Deleting VM ctest-TestBasicPolicy-68821113-82030953 2025-10-27 15:10:43,605 - INFO - Deleting VM ctest-TestBasicPolicy-68821113-96644102 2025-10-27 15:10:43,993 - INFO - Deleted policy ctest-policy-allow-all-71589990 2025-10-27 15:10:43,993 - INFO - Deleting VN ctest-vn-74868079 2025-10-27 15:10:44,037 - DEBUG - VN f7ca68d9-50d4-4221-8b75-7bf5cc13e9ff still in use: Unable to complete operation on network f7ca68d9-50d4-4221-8b75-7bf5cc13e9ff. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7183b472-3392-40e0-8ad7-96886b6ba974'] 2025-10-27 15:10:44,037 - WARNING - Deleting VN ctest-vn-74868079 failed..Will retry 2025-10-27 15:10:46,154 - DEBUG - Response for deleting network () 2025-10-27 15:10:46,154 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/39ec077c-003e-4d1d-8c32-db040e187047 2025-10-27 15:10:46,161 - DEBUG - Response Code: 404 2025-10-27 15:10:46,162 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2025-10-27 15:10:46,167 - DEBUG - Requesting: http://10.0.0.131:8082/domain/477ba148-2123-429b-9e90-50e7a3af3f6c 2025-10-27 15:10:46,223 - DEBUG - Requesting: http://10.0.0.131:8082/project/ab4e7eaa-f250-408b-b3cf-549f4d8a25cb 2025-10-27 15:10:46,296 - INFO - Validated that VN ctest-vn-74868079 is not found in API Server 2025-10-27 15:10:46,305 - DEBUG - VN ctest-vn-74868079 is not present in Agent 10.0.0.131 2025-10-27 15:10:46,306 - INFO - Validated that VN ctest-vn-74868079 is not in any agent 2025-10-27 15:10:46,320 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-74868079 info 2025-10-27 15:10:46,321 - INFO - Deleting VN ctest-vn-23311976 2025-10-27 15:10:46,439 - DEBUG - Response for deleting network () 2025-10-27 15:10:46,439 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/f6aa117e-c88d-4f08-b31b-366dd73c211b 2025-10-27 15:10:46,448 - DEBUG - Response Code: 404 2025-10-27 15:10:46,448 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2025-10-27 15:10:46,454 - DEBUG - Requesting: http://10.0.0.131:8082/domain/477ba148-2123-429b-9e90-50e7a3af3f6c 2025-10-27 15:10:46,511 - DEBUG - Requesting: http://10.0.0.131:8082/project/ab4e7eaa-f250-408b-b3cf-549f4d8a25cb 2025-10-27 15:10:46,590 - INFO - Validated that VN ctest-vn-23311976 is not found in API Server 2025-10-27 15:10:46,601 - DEBUG - VN ctest-vn-23311976 is not present in Agent 10.0.0.131 2025-10-27 15:10:46,601 - INFO - Validated that VN ctest-vn-23311976 is not in any agent 2025-10-27 15:10:46,618 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-23311976 info 2025-10-27 15:10:46,870 - DEBUG - No XMPP flaps were noticed during the test 2025-10-27 15:10:46,870 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-10-27 15:10:46,870 - INFO - -------------------------------------------------------------------------------- 2025-10-27 15:10:47,571 - INFO - Deleted project: ctest-TestBasicPolicy-68821113, ID : ab4e7eaa-f250-408b-b3cf-549f4d8a25cb