2025-06-26 15:41:01,826 - INFO - Domain Default found not creating 2025-06-26 15:41:01,983 - INFO - Project ctest-TestBasicPolicy-82309777 not found, creating it 2025-06-26 15:41:02,479 - INFO - Created Project:ctest-TestBasicPolicy-82309777, ID : 7e032c93-a04e-486b-b2cf-9834371cb729 2025-06-26 15:41:03,927 - INFO - ================================================================================ 2025-06-26 15:41:03,927 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-26 15:41:03,927 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2025-06-26 15:41:04,185 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-06-26 15:41:04,185 - INFO - Initial checks done. Running the testcase now 2025-06-26 15:41:04,185 - INFO - 2025-06-26 15:41:04,745 - DEBUG - Response for create_network : {'network': {'id': 'c235daa4-9013-407c-b23e-e603d9fa1268', 'name': 'ctest-vn-87795847', 'tenant_id': '7e032c93a04e486bb2cf9834371cb729', 'project_id': '7e032c93a04e486bb2cf9834371cb729', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-82309777', 'ctest-vn-87795847'], 'port_security_enabled': True, 'description': ''}} 2025-06-26 15:41:04,978 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bd887e6c-96ec-41b4-8307-3fb98a3c7735', 'name': '', 'tenant_id': '7e032c93a04e486bb2cf9834371cb729', 'network_id': 'c235daa4-9013-407c-b23e-e603d9fa1268', 'ip_version': 4, 'cidr': '150.67.1.0/26', 'allocation_pools': [{'start': '150.67.1.2', 'end': '150.67.1.62'}], 'gateway_ip': '150.67.1.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '150.67.1.2', 'tags': [], 'project_id': '7e032c93a04e486bb2cf9834371cb729'}} 2025-06-26 15:41:04,998 - INFO - Created VN ctest-vn-87795847 2025-06-26 15:41:05,050 - DEBUG - VN ctest-vn-87795847 UUID is c235daa4-9013-407c-b23e-e603d9fa1268 2025-06-26 15:41:05,356 - DEBUG - Response for create_network : {'network': {'id': '656ad907-90ea-41c7-8545-7b5a862c7806', 'name': 'ctest-vn-80617741', 'tenant_id': '7e032c93a04e486bb2cf9834371cb729', 'project_id': '7e032c93a04e486bb2cf9834371cb729', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-82309777', 'ctest-vn-80617741'], 'port_security_enabled': True, 'description': ''}} 2025-06-26 15:41:05,550 - DEBUG - Response for create_subnet : {'subnet': {'id': 'da9726fe-0779-4fd0-b5cf-5b53c3d8d0be', 'name': '', 'tenant_id': '7e032c93a04e486bb2cf9834371cb729', 'network_id': '656ad907-90ea-41c7-8545-7b5a862c7806', 'ip_version': 4, 'cidr': '64.61.214.0/26', 'allocation_pools': [{'start': '64.61.214.2', 'end': '64.61.214.62'}], 'gateway_ip': '64.61.214.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '64.61.214.2', 'tags': [], 'project_id': '7e032c93a04e486bb2cf9834371cb729'}} 2025-06-26 15:41:05,570 - INFO - Created VN ctest-vn-80617741 2025-06-26 15:41:05,622 - DEBUG - VN ctest-vn-80617741 UUID is 656ad907-90ea-41c7-8545-7b5a862c7806 2025-06-26 15:41:05,743 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-82309777:ctest-vn-87795847, 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-82309777:ctest-vn-80617741, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2025-06-26 15:41:06,058 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c235daa4-9013-407c-b23e-e603d9fa1268', 'name': 'ctest-vn-87795847', 'tenant_id': '7e032c93a04e486bb2cf9834371cb729', 'project_id': '7e032c93a04e486bb2cf9834371cb729', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['bd887e6c-96ec-41b4-8307-3fb98a3c7735'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-82309777', 'ctest-vn-87795847'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-82309777', 'ctest-policy-allow-all-52721417']], 'subnet_ipam': [{'subnet_cidr': '150.67.1.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-26 15:41:06,349 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '656ad907-90ea-41c7-8545-7b5a862c7806', 'name': 'ctest-vn-80617741', 'tenant_id': '7e032c93a04e486bb2cf9834371cb729', 'project_id': '7e032c93a04e486bb2cf9834371cb729', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['da9726fe-0779-4fd0-b5cf-5b53c3d8d0be'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-82309777', 'ctest-vn-80617741'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-82309777', 'ctest-policy-allow-all-52721417']], 'subnet_ipam': [{'subnet_cidr': '64.61.214.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-26 15:41:06,514 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-26 15:41:06,811 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-26 15:41:06,839 - DEBUG - Requesting: http://10.0.0.38:8082/domain/99e43009-3e3c-4530-afc5-c9bbaaedde67 2025-06-26 15:41:06,853 - DEBUG - Requesting: http://10.0.0.38:8082/project/7e032c93-a04e-486b-b2cf-9834371cb729 2025-06-26 15:41:06,932 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c235daa4-9013-407c-b23e-e603d9fa1268 2025-06-26 15:41:06,944 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c235daa4-9013-407c-b23e-e603d9fa1268 2025-06-26 15:41:06,955 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c9396a0d-d067-48af-a70a-5bb455f2ceac 2025-06-26 15:41:06,963 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c9396a0d-d067-48af-a70a-5bb455f2ceac 2025-06-26 15:41:06,971 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/781b4137-c675-47c7-b62b-b5316fb778a7 2025-06-26 15:41:06,978 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-26 15:41:06,978 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c235daa4-9013-407c-b23e-e603d9fa1268 2025-06-26 15:41:06,988 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c9396a0d-d067-48af-a70a-5bb455f2ceac 2025-06-26 15:41:07,006 - INFO - Verified VN network id 8 for VN c235daa4-9013-407c-b23e-e603d9fa1268 2025-06-26 15:41:07,006 - INFO - Verifications in API Server for VN ctest-vn-87795847 passed 2025-06-26 15:41:07,006 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c235daa4-9013-407c-b23e-e603d9fa1268 2025-06-26 15:41:07,018 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c9396a0d-d067-48af-a70a-5bb455f2ceac 2025-06-26 15:41:07,028 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c9396a0d-d067-48af-a70a-5bb455f2ceac 2025-06-26 15:41:07,038 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/781b4137-c675-47c7-b62b-b5316fb778a7 2025-06-26 15:41:07,053 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-82309777:ctest-vn-87795847', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-82309777', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13994331817450356860', 'uuid-lslong': '12843956091523568232'}, 'enable': 'true', 'created': '2025-06-26T15:41:04', 'last-modified': '2025-06-26T15:41:06', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.019205'} 2025-06-26 15:41:07,061 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-26 15:41:07,061 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-87795847 passed 2025-06-26 15:41:07,061 - DEBUG - ====Verifying policy data for ctest-vn-87795847 in API_Server ====== 2025-06-26 15:41:07,061 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-26 15:41:07,068 - DEBUG - Requesting: http://10.0.0.38:8082/domain/99e43009-3e3c-4530-afc5-c9bbaaedde67 2025-06-26 15:41:07,081 - DEBUG - Requesting: http://10.0.0.38:8082/project/7e032c93-a04e-486b-b2cf-9834371cb729 2025-06-26 15:41:07,163 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c235daa4-9013-407c-b23e-e603d9fa1268 2025-06-26 15:41:07,175 - DEBUG - ==>Verifying data for policy with id: f22a74cd-65da-4031-ae9d-ff79ba3b836e, fqn: ['default-domain', 'ctest-TestBasicPolicy-82309777', 'ctest-policy-allow-all-52721417'] 2025-06-26 15:41:07,175 - INFO - VN ctest-vn-87795847 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-26 15:41:07,175 - DEBUG - Verifying the vn in opserver 2025-06-26 15:41:07,175 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-82309777:ctest-vn-87795847 virtual network link through opserver 10.0.0.38 2025-06-26 15:41:07,176 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-06-26 15:41:07,470 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-06-26 15:41:07,531 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-82309777:ctest-vn-87795847', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-82309777:ctest-vn-87795847?flat'} 2025-06-26 15:41:07,532 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-82309777:ctest-vn-87795847 is found in opserver 2025-06-26 15:41:07,543 - DEBUG - Do not have enough data to verify VN in agent 2025-06-26 15:41:07,548 - DEBUG - VRF ids for VN ctest-vn-87795847: {} 2025-06-26 15:41:07,548 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-26 15:41:07,555 - DEBUG - Requesting: http://10.0.0.38:8082/domain/99e43009-3e3c-4530-afc5-c9bbaaedde67 2025-06-26 15:41:07,568 - DEBUG - Requesting: http://10.0.0.38:8082/project/7e032c93-a04e-486b-b2cf-9834371cb729 2025-06-26 15:41:07,645 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/656ad907-90ea-41c7-8545-7b5a862c7806 2025-06-26 15:41:07,658 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/656ad907-90ea-41c7-8545-7b5a862c7806 2025-06-26 15:41:07,669 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d71e2cfd-e2b8-4c74-a697-b320fbcfa473 2025-06-26 15:41:07,678 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d71e2cfd-e2b8-4c74-a697-b320fbcfa473 2025-06-26 15:41:07,686 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/132b17d1-f518-4737-9c9a-8d714f15f11c 2025-06-26 15:41:07,693 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-26 15:41:07,693 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/656ad907-90ea-41c7-8545-7b5a862c7806 2025-06-26 15:41:07,704 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d71e2cfd-e2b8-4c74-a697-b320fbcfa473 2025-06-26 15:41:07,721 - INFO - Verified VN network id 9 for VN 656ad907-90ea-41c7-8545-7b5a862c7806 2025-06-26 15:41:07,721 - INFO - Verifications in API Server for VN ctest-vn-80617741 passed 2025-06-26 15:41:07,722 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/656ad907-90ea-41c7-8545-7b5a862c7806 2025-06-26 15:41:07,732 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d71e2cfd-e2b8-4c74-a697-b320fbcfa473 2025-06-26 15:41:07,740 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d71e2cfd-e2b8-4c74-a697-b320fbcfa473 2025-06-26 15:41:07,748 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/132b17d1-f518-4737-9c9a-8d714f15f11c 2025-06-26 15:41:07,761 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-82309777:ctest-vn-80617741', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-82309777', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7307891971881320903', 'uuid-lslong': '9603217409165785094'}, 'enable': 'true', 'created': '2025-06-26T15:41:05', 'last-modified': '2025-06-26T15:41:06', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.482251'} 2025-06-26 15:41:07,767 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-26 15:41:07,767 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-80617741 passed 2025-06-26 15:41:07,768 - DEBUG - ====Verifying policy data for ctest-vn-80617741 in API_Server ====== 2025-06-26 15:41:07,768 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-26 15:41:07,774 - DEBUG - Requesting: http://10.0.0.38:8082/domain/99e43009-3e3c-4530-afc5-c9bbaaedde67 2025-06-26 15:41:07,788 - DEBUG - Requesting: http://10.0.0.38:8082/project/7e032c93-a04e-486b-b2cf-9834371cb729 2025-06-26 15:41:07,865 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/656ad907-90ea-41c7-8545-7b5a862c7806 2025-06-26 15:41:07,876 - DEBUG - ==>Verifying data for policy with id: f22a74cd-65da-4031-ae9d-ff79ba3b836e, fqn: ['default-domain', 'ctest-TestBasicPolicy-82309777', 'ctest-policy-allow-all-52721417'] 2025-06-26 15:41:07,876 - INFO - VN ctest-vn-80617741 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-26 15:41:07,876 - DEBUG - Verifying the vn in opserver 2025-06-26 15:41:07,876 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-82309777:ctest-vn-80617741 virtual network link through opserver 10.0.0.38 2025-06-26 15:41:07,876 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-06-26 15:41:07,887 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-82309777:ctest-vn-80617741', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-82309777:ctest-vn-80617741?flat'} 2025-06-26 15:41:07,887 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-82309777:ctest-vn-80617741 is found in opserver 2025-06-26 15:41:07,898 - DEBUG - Do not have enough data to verify VN in agent 2025-06-26 15:41:07,903 - DEBUG - VRF ids for VN ctest-vn-80617741: {} 2025-06-26 15:41:07,962 - DEBUG - Services list from nova: [, , ] 2025-06-26 15:41:09,010 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3560-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3560-1) 2025-06-26 15:41:10,282 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3560-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3560-1) 2025-06-26 15:41:10,282 - INFO - Waiting for VM ctest-TestBasicPolicy-82309777-32647280 to be up.. 2025-06-26 15:41:10,367 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-26 15:41:15,457 - DEBUG - VM is in ACTIVE state now 2025-06-26 15:41:15,457 - INFO - VM name : ctest-TestBasicPolicy-82309777-32647280 2025-06-26 15:41:15,555 - DEBUG - VM ctest-TestBasicPolicy-82309777-32647280 ID is f510fbfb-4be6-4d41-b296-7c7c04553e84 2025-06-26 15:41:15,586 - DEBUG - VM ctest-TestBasicPolicy-82309777-32647280 launched on Node cn-jenkins-deploy-platform-ansible-os-3560-1 2025-06-26 15:41:15,691 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/f510fbfb-4be6-4d41-b296-7c7c04553e84 2025-06-26 15:41:15,704 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/a21dc3e9-c782-41db-84a6-315482b749a9 2025-06-26 15:41:18,987 - 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-06-26 15:41:18,987 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-82309777-32647280 failed! 2025-06-26 15:41:19,042 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-82309777:ctest-vn-87795847 is 150.67.1.1 and allocation pool is NOT set 2025-06-26 15:41:21,109 - 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.57 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.562 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.562/2.064/3.566/1.502 ms') 2025-06-26 15:41:21,109 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-82309777-32647280 passed 2025-06-26 15:41:21,262 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-26 15:41:21,262 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-82309777-32647280, IP 150.67.1.3, Port 22 2025-06-26 15:41:21,418 - DEBUG - VM ctest-TestBasicPolicy-82309777-32647280 is ready for SSH connections 2025-06-26 15:41:21,418 - INFO - Waiting for VM ctest-TestBasicPolicy-82309777-19125566 to be up.. 2025-06-26 15:41:21,495 - DEBUG - VM is in ACTIVE state now 2025-06-26 15:41:21,495 - INFO - VM name : ctest-TestBasicPolicy-82309777-19125566 2025-06-26 15:41:21,593 - DEBUG - VM ctest-TestBasicPolicy-82309777-19125566 ID is 305b7959-8e54-49b0-a0a9-ec5ac15bb722 2025-06-26 15:41:21,593 - DEBUG - VM ctest-TestBasicPolicy-82309777-19125566 launched on Node cn-jenkins-deploy-platform-ansible-os-3560-1 2025-06-26 15:41:21,686 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/305b7959-8e54-49b0-a0a9-ec5ac15bb722 2025-06-26 15:41:21,696 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/3ed8b58a-f2b8-412c-a45c-823157f03154 2025-06-26 15:41:22,944 - 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.77 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.430 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.430/1.600/2.771/1.170 ms') 2025-06-26 15:41:22,945 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-82309777-19125566 passed 2025-06-26 15:41:23,098 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-26 15:41:23,098 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-82309777-19125566, IP 64.61.214.3, Port 22 2025-06-26 15:41:23,254 - DEBUG - VM ctest-TestBasicPolicy-82309777-19125566 is ready for SSH connections 2025-06-26 15:41:23,254 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-26 15:41:23,254 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 64.61.214.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-06-26 15:41:23,254 - DEBUG - ping -s 56 -c 3 -W 1 64.61.214.3 2025-06-26 15:41:26,928 - DEBUG - PING 64.61.214.3 (64.61.214.3): 56 data bytes 64 bytes from 64.61.214.3: seq=0 ttl=63 time=3.734 ms 64 bytes from 64.61.214.3: seq=1 ttl=63 time=0.839 ms 64 bytes from 64.61.214.3: seq=2 ttl=63 time=0.819 ms --- 64.61.214.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.819/1.797/3.734 ms 2025-06-26 15:41:26,928 - INFO - Ping to IP 64.61.214.3 from VM ctest-TestBasicPolicy-82309777-32647280 passed 2025-06-26 15:41:27,106 - DEBUG - Policy Update Response {"network-policy": {"uuid": "f22a74cd-65da-4031-ae9d-ff79ba3b836e", "href": "http://10.0.0.38:8082/network-policy/f22a74cd-65da-4031-ae9d-ff79ba3b836e"}} 2025-06-26 15:41:27,106 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-26 15:41:27,106 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 64.61.214.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-06-26 15:41:27,106 - DEBUG - ping -s 56 -c 3 -W 1 64.61.214.3 2025-06-26 15:41:30,318 - DEBUG - PING 64.61.214.3 (64.61.214.3): 56 data bytes 64 bytes from 64.61.214.3: seq=0 ttl=63 time=1.763 ms --- 64.61.214.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.763/1.763/1.763 ms 2025-06-26 15:41:30,318 - WARNING - Ping to IP 64.61.214.3 from VM ctest-TestBasicPolicy-82309777-32647280 failed 2025-06-26 15:41:30,318 - INFO - Deleting VM ctest-TestBasicPolicy-82309777-19125566 2025-06-26 15:41:30,391 - INFO - Deleting VM ctest-TestBasicPolicy-82309777-32647280 2025-06-26 15:41:30,825 - INFO - Deleted policy ctest-policy-allow-all-52721417 2025-06-26 15:41:30,826 - INFO - Deleting VN ctest-vn-80617741 2025-06-26 15:41:30,871 - DEBUG - VN 656ad907-90ea-41c7-8545-7b5a862c7806 still in use: Unable to complete operation on network 656ad907-90ea-41c7-8545-7b5a862c7806. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4a98fa5a-bec8-43b1-a415-104045cc7fcf'] 2025-06-26 15:41:30,872 - WARNING - Deleting VN ctest-vn-80617741 failed..Will retry 2025-06-26 15:41:32,993 - DEBUG - Response for deleting network () 2025-06-26 15:41:32,994 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d71e2cfd-e2b8-4c74-a697-b320fbcfa473 2025-06-26 15:41:33,005 - DEBUG - Response Code: 404 2025-06-26 15:41:33,005 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-26 15:41:33,011 - DEBUG - Requesting: http://10.0.0.38:8082/domain/99e43009-3e3c-4530-afc5-c9bbaaedde67 2025-06-26 15:41:33,067 - DEBUG - Requesting: http://10.0.0.38:8082/project/7e032c93-a04e-486b-b2cf-9834371cb729 2025-06-26 15:41:33,141 - INFO - Validated that VN ctest-vn-80617741 is not found in API Server 2025-06-26 15:41:33,153 - DEBUG - VN ctest-vn-80617741 is not present in Agent 10.0.0.38 2025-06-26 15:41:33,153 - INFO - Validated that VN ctest-vn-80617741 is not in any agent 2025-06-26 15:41:33,171 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-80617741 info 2025-06-26 15:41:33,171 - INFO - Deleting VN ctest-vn-87795847 2025-06-26 15:41:33,284 - DEBUG - Response for deleting network () 2025-06-26 15:41:33,285 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c9396a0d-d067-48af-a70a-5bb455f2ceac 2025-06-26 15:41:33,294 - DEBUG - Response Code: 404 2025-06-26 15:41:33,294 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-26 15:41:33,300 - DEBUG - Requesting: http://10.0.0.38:8082/domain/99e43009-3e3c-4530-afc5-c9bbaaedde67 2025-06-26 15:41:33,356 - DEBUG - Requesting: http://10.0.0.38:8082/project/7e032c93-a04e-486b-b2cf-9834371cb729 2025-06-26 15:41:33,432 - INFO - Validated that VN ctest-vn-87795847 is not found in API Server 2025-06-26 15:41:33,445 - DEBUG - VN ctest-vn-87795847 is not present in Agent 10.0.0.38 2025-06-26 15:41:33,445 - INFO - Validated that VN ctest-vn-87795847 is not in any agent 2025-06-26 15:41:33,462 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-87795847 info 2025-06-26 15:41:33,716 - DEBUG - No XMPP flaps were noticed during the test 2025-06-26 15:41:33,716 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-06-26 15:41:33,716 - INFO - -------------------------------------------------------------------------------- 2025-06-26 15:41:34,426 - INFO - Deleted project: ctest-TestBasicPolicy-82309777, ID : 7e032c93-a04e-486b-b2cf-9834371cb729