2025-08-08 05:38:53,675 - INFO - Domain Default found not creating 2025-08-08 05:38:53,827 - INFO - Project ctest-TestBasicPolicy-79903653 not found, creating it 2025-08-08 05:38:54,296 - INFO - Created Project:ctest-TestBasicPolicy-79903653, ID : 343f0bd4-e236-4089-b310-a72a335fe947 2025-08-08 05:38:55,720 - INFO - ================================================================================ 2025-08-08 05:38:55,720 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-08 05:38:55,720 - 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-08-08 05:38:55,973 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-08-08 05:38:55,973 - INFO - Initial checks done. Running the testcase now 2025-08-08 05:38:55,973 - INFO - 2025-08-08 05:38:56,536 - DEBUG - Response for create_network : {'network': {'id': '0b329790-8124-4f9e-af7e-4223bda3d7b3', 'name': 'ctest-vn-00942390', 'tenant_id': '343f0bd4e2364089b310a72a335fe947', 'project_id': '343f0bd4e2364089b310a72a335fe947', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-79903653', 'ctest-vn-00942390'], 'port_security_enabled': True, 'description': ''}} 2025-08-08 05:38:56,750 - DEBUG - Response for create_subnet : {'subnet': {'id': '76f6ea9b-88be-4657-bbd5-3c85bd0d4310', 'name': '', 'tenant_id': '343f0bd4e2364089b310a72a335fe947', 'network_id': '0b329790-8124-4f9e-af7e-4223bda3d7b3', 'ip_version': 4, 'cidr': '47.201.7.0/26', 'allocation_pools': [{'start': '47.201.7.2', 'end': '47.201.7.62'}], 'gateway_ip': '47.201.7.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '47.201.7.2', 'tags': [], 'project_id': '343f0bd4e2364089b310a72a335fe947'}} 2025-08-08 05:38:56,771 - INFO - Created VN ctest-vn-00942390 2025-08-08 05:38:56,827 - DEBUG - VN ctest-vn-00942390 UUID is 0b329790-8124-4f9e-af7e-4223bda3d7b3 2025-08-08 05:38:57,144 - DEBUG - Response for create_network : {'network': {'id': '0eb3ef8a-0a66-40a5-b87a-8cd703414790', 'name': 'ctest-vn-32907138', 'tenant_id': '343f0bd4e2364089b310a72a335fe947', 'project_id': '343f0bd4e2364089b310a72a335fe947', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-79903653', 'ctest-vn-32907138'], 'port_security_enabled': True, 'description': ''}} 2025-08-08 05:38:57,367 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e48cb6e8-bd65-47ef-a898-96ef6fd617a1', 'name': '', 'tenant_id': '343f0bd4e2364089b310a72a335fe947', 'network_id': '0eb3ef8a-0a66-40a5-b87a-8cd703414790', 'ip_version': 4, 'cidr': '38.130.27.192/26', 'allocation_pools': [{'start': '38.130.27.194', 'end': '38.130.27.254'}], 'gateway_ip': '38.130.27.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '38.130.27.194', 'tags': [], 'project_id': '343f0bd4e2364089b310a72a335fe947'}} 2025-08-08 05:38:57,386 - INFO - Created VN ctest-vn-32907138 2025-08-08 05:38:57,443 - DEBUG - VN ctest-vn-32907138 UUID is 0eb3ef8a-0a66-40a5-b87a-8cd703414790 2025-08-08 05:38:57,558 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-79903653:ctest-vn-00942390, 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-79903653:ctest-vn-32907138, 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-08-08 05:38:57,854 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0b329790-8124-4f9e-af7e-4223bda3d7b3', 'name': 'ctest-vn-00942390', 'tenant_id': '343f0bd4e2364089b310a72a335fe947', 'project_id': '343f0bd4e2364089b310a72a335fe947', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['76f6ea9b-88be-4657-bbd5-3c85bd0d4310'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-79903653', 'ctest-vn-00942390'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-79903653', 'ctest-policy-allow-all-11904242']], 'subnet_ipam': [{'subnet_cidr': '47.201.7.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-08 05:38:58,083 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0eb3ef8a-0a66-40a5-b87a-8cd703414790', 'name': 'ctest-vn-32907138', 'tenant_id': '343f0bd4e2364089b310a72a335fe947', 'project_id': '343f0bd4e2364089b310a72a335fe947', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e48cb6e8-bd65-47ef-a898-96ef6fd617a1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-79903653', 'ctest-vn-32907138'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-79903653', 'ctest-policy-allow-all-11904242']], 'subnet_ipam': [{'subnet_cidr': '38.130.27.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-08 05:38:58,231 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-08 05:38:58,536 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-08 05:38:58,566 - DEBUG - Requesting: http://10.0.0.38:8082/domain/446b4517-882b-4532-866c-0f4d705e0ff3 2025-08-08 05:38:58,580 - DEBUG - Requesting: http://10.0.0.38:8082/project/343f0bd4-e236-4089-b310-a72a335fe947 2025-08-08 05:38:58,664 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0b329790-8124-4f9e-af7e-4223bda3d7b3 2025-08-08 05:38:58,677 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0b329790-8124-4f9e-af7e-4223bda3d7b3 2025-08-08 05:38:58,688 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/28d3760d-1fc5-4698-a06f-a4d56550fb16 2025-08-08 05:38:58,697 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/28d3760d-1fc5-4698-a06f-a4d56550fb16 2025-08-08 05:38:58,706 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/983d7ef3-597b-4b4a-b1dc-b6f65a46aa99 2025-08-08 05:38:58,714 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-08 05:38:58,714 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0b329790-8124-4f9e-af7e-4223bda3d7b3 2025-08-08 05:38:58,724 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/28d3760d-1fc5-4698-a06f-a4d56550fb16 2025-08-08 05:38:58,739 - INFO - Verified VN network id 11 for VN 0b329790-8124-4f9e-af7e-4223bda3d7b3 2025-08-08 05:38:58,739 - INFO - Verifications in API Server for VN ctest-vn-00942390 passed 2025-08-08 05:38:58,739 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0b329790-8124-4f9e-af7e-4223bda3d7b3 2025-08-08 05:38:58,749 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/28d3760d-1fc5-4698-a06f-a4d56550fb16 2025-08-08 05:38:58,761 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/28d3760d-1fc5-4698-a06f-a4d56550fb16 2025-08-08 05:38:58,769 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/983d7ef3-597b-4b4a-b1dc-b6f65a46aa99 2025-08-08 05:38:58,783 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-79903653:ctest-vn-00942390', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-79903653', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '806873930150465438', 'uuid-lslong': '12645617524975851443'}, 'enable': 'true', 'created': '2025-08-08T05:38:56', 'last-modified': '2025-08-08T05:38:57', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.950302'} 2025-08-08 05:38:58,790 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-08 05:38:58,790 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-00942390 passed 2025-08-08 05:38:58,791 - DEBUG - ====Verifying policy data for ctest-vn-00942390 in API_Server ====== 2025-08-08 05:38:58,791 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-08 05:38:58,798 - DEBUG - Requesting: http://10.0.0.38:8082/domain/446b4517-882b-4532-866c-0f4d705e0ff3 2025-08-08 05:38:58,810 - DEBUG - Requesting: http://10.0.0.38:8082/project/343f0bd4-e236-4089-b310-a72a335fe947 2025-08-08 05:38:58,885 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0b329790-8124-4f9e-af7e-4223bda3d7b3 2025-08-08 05:38:58,896 - DEBUG - ==>Verifying data for policy with id: f655f7e4-d06f-4a91-a7bb-548264ab5f15, fqn: ['default-domain', 'ctest-TestBasicPolicy-79903653', 'ctest-policy-allow-all-11904242'] 2025-08-08 05:38:58,896 - INFO - VN ctest-vn-00942390 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-08 05:38:58,896 - DEBUG - Verifying the vn in opserver 2025-08-08 05:38:58,896 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-79903653:ctest-vn-00942390 virtual network link through opserver 10.0.0.38 2025-08-08 05:38:58,897 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-08-08 05:38:59,189 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-08-08 05:38:59,245 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-79903653:ctest-vn-00942390', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-79903653:ctest-vn-00942390?flat'} 2025-08-08 05:38:59,246 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-79903653:ctest-vn-00942390 is found in opserver 2025-08-08 05:38:59,256 - DEBUG - Do not have enough data to verify VN in agent 2025-08-08 05:38:59,261 - DEBUG - VRF ids for VN ctest-vn-00942390: {} 2025-08-08 05:38:59,261 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-08 05:38:59,267 - DEBUG - Requesting: http://10.0.0.38:8082/domain/446b4517-882b-4532-866c-0f4d705e0ff3 2025-08-08 05:38:59,279 - DEBUG - Requesting: http://10.0.0.38:8082/project/343f0bd4-e236-4089-b310-a72a335fe947 2025-08-08 05:38:59,351 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0eb3ef8a-0a66-40a5-b87a-8cd703414790 2025-08-08 05:38:59,364 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0eb3ef8a-0a66-40a5-b87a-8cd703414790 2025-08-08 05:38:59,374 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6851188b-7db5-45f2-854d-c8c7a7a50de4 2025-08-08 05:38:59,383 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6851188b-7db5-45f2-854d-c8c7a7a50de4 2025-08-08 05:38:59,390 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/3c8603aa-cba0-418e-ae49-b47e688342d7 2025-08-08 05:38:59,397 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-08 05:38:59,397 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0eb3ef8a-0a66-40a5-b87a-8cd703414790 2025-08-08 05:38:59,406 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6851188b-7db5-45f2-854d-c8c7a7a50de4 2025-08-08 05:38:59,425 - INFO - Verified VN network id 12 for VN 0eb3ef8a-0a66-40a5-b87a-8cd703414790 2025-08-08 05:38:59,425 - INFO - Verifications in API Server for VN ctest-vn-32907138 passed 2025-08-08 05:38:59,425 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0eb3ef8a-0a66-40a5-b87a-8cd703414790 2025-08-08 05:38:59,436 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6851188b-7db5-45f2-854d-c8c7a7a50de4 2025-08-08 05:38:59,443 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6851188b-7db5-45f2-854d-c8c7a7a50de4 2025-08-08 05:38:59,451 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/3c8603aa-cba0-418e-ae49-b47e688342d7 2025-08-08 05:38:59,464 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-79903653:ctest-vn-32907138', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-79903653', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1059453713521197221', 'uuid-lslong': '13293092105237907344'}, 'enable': 'true', 'created': '2025-08-08T05:38:57', 'last-modified': '2025-08-08T05:38:58', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.398922'} 2025-08-08 05:38:59,471 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-08 05:38:59,471 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-32907138 passed 2025-08-08 05:38:59,471 - DEBUG - ====Verifying policy data for ctest-vn-32907138 in API_Server ====== 2025-08-08 05:38:59,471 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-08 05:38:59,478 - DEBUG - Requesting: http://10.0.0.38:8082/domain/446b4517-882b-4532-866c-0f4d705e0ff3 2025-08-08 05:38:59,491 - DEBUG - Requesting: http://10.0.0.38:8082/project/343f0bd4-e236-4089-b310-a72a335fe947 2025-08-08 05:38:59,564 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0eb3ef8a-0a66-40a5-b87a-8cd703414790 2025-08-08 05:38:59,574 - DEBUG - ==>Verifying data for policy with id: f655f7e4-d06f-4a91-a7bb-548264ab5f15, fqn: ['default-domain', 'ctest-TestBasicPolicy-79903653', 'ctest-policy-allow-all-11904242'] 2025-08-08 05:38:59,575 - INFO - VN ctest-vn-32907138 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-08 05:38:59,575 - DEBUG - Verifying the vn in opserver 2025-08-08 05:38:59,575 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-79903653:ctest-vn-32907138 virtual network link through opserver 10.0.0.38 2025-08-08 05:38:59,575 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-08-08 05:38:59,586 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-79903653:ctest-vn-32907138', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-79903653:ctest-vn-32907138?flat'} 2025-08-08 05:38:59,586 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-79903653:ctest-vn-32907138 is found in opserver 2025-08-08 05:38:59,597 - DEBUG - Do not have enough data to verify VN in agent 2025-08-08 05:38:59,602 - DEBUG - VRF ids for VN ctest-vn-32907138: {} 2025-08-08 05:38:59,665 - DEBUG - Services list from nova: [, , ] 2025-08-08 05:39:00,680 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3780-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3780-1) 2025-08-08 05:39:01,860 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3780-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3780-1) 2025-08-08 05:39:01,861 - INFO - Waiting for VM ctest-TestBasicPolicy-79903653-65357181 to be up.. 2025-08-08 05:39:01,951 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-08 05:39:07,034 - DEBUG - VM is in ACTIVE state now 2025-08-08 05:39:07,034 - INFO - VM name : ctest-TestBasicPolicy-79903653-65357181 2025-08-08 05:39:07,124 - DEBUG - VM ctest-TestBasicPolicy-79903653-65357181 ID is bcda110d-aee9-4aa8-a03d-19add6186e74 2025-08-08 05:39:07,146 - DEBUG - VM ctest-TestBasicPolicy-79903653-65357181 launched on Node cn-jenkins-deploy-platform-ansible-os-3780-1 2025-08-08 05:39:07,232 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/bcda110d-aee9-4aa8-a03d-19add6186e74 2025-08-08 05:39:07,243 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/bb19e6f8-49d9-4db4-b1af-fe323b80799e 2025-08-08 05:39:10,517 - 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 1031ms') 2025-08-08 05:39:10,517 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-79903653-65357181 failed! 2025-08-08 05:39:10,571 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-79903653:ctest-vn-00942390 is 47.201.7.1 and allocation pool is NOT set 2025-08-08 05:39:12,637 - 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=8.62 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.703 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.703/4.660/8.618/3.957 ms') 2025-08-08 05:39:12,637 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-79903653-65357181 passed 2025-08-08 05:39:12,791 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-08 05:39:12,791 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-79903653-65357181, IP 47.201.7.3, Port 22 2025-08-08 05:39:12,965 - DEBUG - VM ctest-TestBasicPolicy-79903653-65357181 is ready for SSH connections 2025-08-08 05:39:12,965 - INFO - Waiting for VM ctest-TestBasicPolicy-79903653-49416811 to be up.. 2025-08-08 05:39:13,050 - DEBUG - VM is in ACTIVE state now 2025-08-08 05:39:13,050 - INFO - VM name : ctest-TestBasicPolicy-79903653-49416811 2025-08-08 05:39:13,123 - DEBUG - VM ctest-TestBasicPolicy-79903653-49416811 ID is bcca0668-176a-45f5-81ec-30009f9e5f1c 2025-08-08 05:39:13,123 - DEBUG - VM ctest-TestBasicPolicy-79903653-49416811 launched on Node cn-jenkins-deploy-platform-ansible-os-3780-1 2025-08-08 05:39:13,207 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/bcca0668-176a-45f5-81ec-30009f9e5f1c 2025-08-08 05:39:13,216 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/ac1cda78-0725-4f29-840c-d79dd1baeb07 2025-08-08 05:39:14,470 - 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.96 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.510 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.510/1.737/2.964/1.227 ms') 2025-08-08 05:39:14,470 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-79903653-49416811 passed 2025-08-08 05:39:14,624 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-08 05:39:14,624 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-79903653-49416811, IP 38.130.27.195, Port 22 2025-08-08 05:39:14,789 - DEBUG - VM ctest-TestBasicPolicy-79903653-49416811 is ready for SSH connections 2025-08-08 05:39:14,789 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-08 05:39:14,789 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 38.130.27.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-08 05:39:14,789 - DEBUG - ping -s 56 -c 3 -W 1 38.130.27.195 2025-08-08 05:39:18,775 - DEBUG - PING 38.130.27.195 (38.130.27.195): 56 data bytes 64 bytes from 38.130.27.195: seq=0 ttl=63 time=3.334 ms 64 bytes from 38.130.27.195: seq=1 ttl=63 time=0.798 ms 64 bytes from 38.130.27.195: seq=2 ttl=63 time=1.797 ms --- 38.130.27.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.798/1.976/3.334 ms 2025-08-08 05:39:18,775 - INFO - Ping to IP 38.130.27.195 from VM ctest-TestBasicPolicy-79903653-65357181 passed 2025-08-08 05:39:18,967 - DEBUG - Policy Update Response {"network-policy": {"uuid": "f655f7e4-d06f-4a91-a7bb-548264ab5f15", "href": "http://10.0.0.38:8082/network-policy/f655f7e4-d06f-4a91-a7bb-548264ab5f15"}} 2025-08-08 05:39:18,967 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-08 05:39:18,967 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 38.130.27.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-08 05:39:18,967 - DEBUG - ping -s 56 -c 3 -W 1 38.130.27.195 2025-08-08 05:39:22,219 - DEBUG - PING 38.130.27.195 (38.130.27.195): 56 data bytes --- 38.130.27.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-08 05:39:22,219 - WARNING - Ping to IP 38.130.27.195 from VM ctest-TestBasicPolicy-79903653-65357181 failed 2025-08-08 05:39:22,219 - INFO - Deleting VM ctest-TestBasicPolicy-79903653-49416811 2025-08-08 05:39:22,290 - INFO - Deleting VM ctest-TestBasicPolicy-79903653-65357181 2025-08-08 05:39:22,695 - INFO - Deleted policy ctest-policy-allow-all-11904242 2025-08-08 05:39:22,695 - INFO - Deleting VN ctest-vn-32907138 2025-08-08 05:39:22,744 - DEBUG - VN 0eb3ef8a-0a66-40a5-b87a-8cd703414790 still in use: Unable to complete operation on network 0eb3ef8a-0a66-40a5-b87a-8cd703414790. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-10cb0f1f-dd0b-448c-af93-155beddfeda9'] 2025-08-08 05:39:22,744 - WARNING - Deleting VN ctest-vn-32907138 failed..Will retry 2025-08-08 05:39:24,841 - DEBUG - Response for deleting network () 2025-08-08 05:39:24,841 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6851188b-7db5-45f2-854d-c8c7a7a50de4 2025-08-08 05:39:24,846 - DEBUG - Response Code: 404 2025-08-08 05:39:24,847 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-08 05:39:24,854 - DEBUG - Requesting: http://10.0.0.38:8082/domain/446b4517-882b-4532-866c-0f4d705e0ff3 2025-08-08 05:39:24,910 - DEBUG - Requesting: http://10.0.0.38:8082/project/343f0bd4-e236-4089-b310-a72a335fe947 2025-08-08 05:39:24,988 - INFO - Validated that VN ctest-vn-32907138 is not found in API Server 2025-08-08 05:39:25,001 - DEBUG - VN ctest-vn-32907138 is not present in Agent 10.0.0.38 2025-08-08 05:39:25,001 - INFO - Validated that VN ctest-vn-32907138 is not in any agent 2025-08-08 05:39:25,018 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-32907138 info 2025-08-08 05:39:25,018 - INFO - Deleting VN ctest-vn-00942390 2025-08-08 05:39:25,123 - DEBUG - Response for deleting network () 2025-08-08 05:39:25,123 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/28d3760d-1fc5-4698-a06f-a4d56550fb16 2025-08-08 05:39:25,129 - DEBUG - Response Code: 404 2025-08-08 05:39:25,130 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-08 05:39:25,137 - DEBUG - Requesting: http://10.0.0.38:8082/domain/446b4517-882b-4532-866c-0f4d705e0ff3 2025-08-08 05:39:25,193 - DEBUG - Requesting: http://10.0.0.38:8082/project/343f0bd4-e236-4089-b310-a72a335fe947 2025-08-08 05:39:25,267 - INFO - Validated that VN ctest-vn-00942390 is not found in API Server 2025-08-08 05:39:25,279 - DEBUG - VN ctest-vn-00942390 is not present in Agent 10.0.0.38 2025-08-08 05:39:25,279 - INFO - Validated that VN ctest-vn-00942390 is not in any agent 2025-08-08 05:39:25,297 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-00942390 info 2025-08-08 05:39:25,553 - DEBUG - No XMPP flaps were noticed during the test 2025-08-08 05:39:25,553 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-08-08 05:39:25,553 - INFO - -------------------------------------------------------------------------------- 2025-08-08 05:39:26,228 - INFO - Deleted project: ctest-TestBasicPolicy-79903653, ID : 343f0bd4-e236-4089-b310-a72a335fe947