2025-08-11 16:04:15,582 - INFO - Domain Default found not creating 2025-08-11 16:04:15,715 - INFO - Project ctest-TestBasicPolicy-84780700 not found, creating it 2025-08-11 16:04:16,167 - INFO - Created Project:ctest-TestBasicPolicy-84780700, ID : 509d13a7-fe5a-4966-98a2-cd3110321832 2025-08-11 16:04:17,766 - INFO - ================================================================================ 2025-08-11 16:04:17,766 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-11 16:04:17,766 - 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-11 16:04:18,021 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.25': '0'}} with 2025-08-11 16:04:18,022 - INFO - Initial checks done. Running the testcase now 2025-08-11 16:04:18,022 - INFO - 2025-08-11 16:04:18,627 - DEBUG - Response for create_network : {'network': {'id': 'e5d42707-26ab-42db-bfe3-1332db9cd101', 'name': 'ctest-vn-76975109', 'tenant_id': '509d13a7fe5a496698a2cd3110321832', 'project_id': '509d13a7fe5a496698a2cd3110321832', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-84780700', 'ctest-vn-76975109'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 16:04:18,840 - DEBUG - Response for create_subnet : {'subnet': {'id': '88e04312-7806-42dc-a18c-85c5b1a72bce', 'name': '', 'tenant_id': '509d13a7fe5a496698a2cd3110321832', 'network_id': 'e5d42707-26ab-42db-bfe3-1332db9cd101', 'ip_version': 4, 'cidr': '183.86.85.64/26', 'allocation_pools': [{'start': '183.86.85.66', 'end': '183.86.85.126'}], 'gateway_ip': '183.86.85.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '183.86.85.66', 'tags': [], 'project_id': '509d13a7fe5a496698a2cd3110321832'}} 2025-08-11 16:04:18,858 - INFO - Created VN ctest-vn-76975109 2025-08-11 16:04:18,911 - DEBUG - VN ctest-vn-76975109 UUID is e5d42707-26ab-42db-bfe3-1332db9cd101 2025-08-11 16:04:19,215 - DEBUG - Response for create_network : {'network': {'id': '7ea955ed-ae86-4dfd-afe6-f86581fc0066', 'name': 'ctest-vn-53912307', 'tenant_id': '509d13a7fe5a496698a2cd3110321832', 'project_id': '509d13a7fe5a496698a2cd3110321832', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-84780700', 'ctest-vn-53912307'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 16:04:19,393 - DEBUG - Response for create_subnet : {'subnet': {'id': '8829d547-4957-4481-9201-4b2cdb2803b2', 'name': '', 'tenant_id': '509d13a7fe5a496698a2cd3110321832', 'network_id': '7ea955ed-ae86-4dfd-afe6-f86581fc0066', 'ip_version': 4, 'cidr': '32.70.233.192/26', 'allocation_pools': [{'start': '32.70.233.194', 'end': '32.70.233.254'}], 'gateway_ip': '32.70.233.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '32.70.233.194', 'tags': [], 'project_id': '509d13a7fe5a496698a2cd3110321832'}} 2025-08-11 16:04:19,410 - INFO - Created VN ctest-vn-53912307 2025-08-11 16:04:19,463 - DEBUG - VN ctest-vn-53912307 UUID is 7ea955ed-ae86-4dfd-afe6-f86581fc0066 2025-08-11 16:04:19,611 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-84780700:ctest-vn-76975109, 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-84780700:ctest-vn-53912307, 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-11 16:04:19,914 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e5d42707-26ab-42db-bfe3-1332db9cd101', 'name': 'ctest-vn-76975109', 'tenant_id': '509d13a7fe5a496698a2cd3110321832', 'project_id': '509d13a7fe5a496698a2cd3110321832', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['88e04312-7806-42dc-a18c-85c5b1a72bce'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-84780700', 'ctest-vn-76975109'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-84780700', 'ctest-policy-allow-all-78304238']], 'subnet_ipam': [{'subnet_cidr': '183.86.85.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-11 16:04:20,169 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7ea955ed-ae86-4dfd-afe6-f86581fc0066', 'name': 'ctest-vn-53912307', 'tenant_id': '509d13a7fe5a496698a2cd3110321832', 'project_id': '509d13a7fe5a496698a2cd3110321832', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8829d547-4957-4481-9201-4b2cdb2803b2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-84780700', 'ctest-vn-53912307'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-84780700', 'ctest-policy-allow-all-78304238']], 'subnet_ipam': [{'subnet_cidr': '32.70.233.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-11 16:04:20,327 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-08-11 16:04:20,675 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-08-11 16:04:20,704 - DEBUG - Requesting: http://10.0.0.22:8082/domain/643a94c5-4849-463a-a353-4619a162fafa 2025-08-11 16:04:20,718 - DEBUG - Requesting: http://10.0.0.22:8082/project/509d13a7-fe5a-4966-98a2-cd3110321832 2025-08-11 16:04:20,791 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/e5d42707-26ab-42db-bfe3-1332db9cd101 2025-08-11 16:04:20,802 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/e5d42707-26ab-42db-bfe3-1332db9cd101 2025-08-11 16:04:20,813 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/bda5d501-b844-4a37-b199-bcaf7cc3e4e6 2025-08-11 16:04:20,820 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/bda5d501-b844-4a37-b199-bcaf7cc3e4e6 2025-08-11 16:04:20,828 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/5620b427-f76a-4e2e-bebe-5b8f3d0bc5d8 2025-08-11 16:04:20,835 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-11 16:04:20,835 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/e5d42707-26ab-42db-bfe3-1332db9cd101 2025-08-11 16:04:20,845 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/bda5d501-b844-4a37-b199-bcaf7cc3e4e6 2025-08-11 16:04:20,859 - INFO - Verified VN network id 11 for VN e5d42707-26ab-42db-bfe3-1332db9cd101 2025-08-11 16:04:20,859 - INFO - Verifications in API Server for VN ctest-vn-76975109 passed 2025-08-11 16:04:20,859 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/e5d42707-26ab-42db-bfe3-1332db9cd101 2025-08-11 16:04:20,869 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/bda5d501-b844-4a37-b199-bcaf7cc3e4e6 2025-08-11 16:04:20,876 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/bda5d501-b844-4a37-b199-bcaf7cc3e4e6 2025-08-11 16:04:20,882 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/5620b427-f76a-4e2e-bebe-5b8f3d0bc5d8 2025-08-11 16:04:20,895 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-84780700:ctest-vn-76975109', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-84780700', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16560904641415168731', 'uuid-lslong': '13826916390111334657'}, 'enable': 'true', 'created': '2025-08-11T16:04:18', 'last-modified': '2025-08-11T16:04:19', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.006506'} 2025-08-11 16:04:20,902 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-11 16:04:20,902 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-76975109 passed 2025-08-11 16:04:20,902 - DEBUG - ====Verifying policy data for ctest-vn-76975109 in API_Server ====== 2025-08-11 16:04:20,902 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-08-11 16:04:20,907 - DEBUG - Requesting: http://10.0.0.22:8082/domain/643a94c5-4849-463a-a353-4619a162fafa 2025-08-11 16:04:20,919 - DEBUG - Requesting: http://10.0.0.22:8082/project/509d13a7-fe5a-4966-98a2-cd3110321832 2025-08-11 16:04:20,989 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/e5d42707-26ab-42db-bfe3-1332db9cd101 2025-08-11 16:04:21,000 - DEBUG - ==>Verifying data for policy with id: 7eb2dffc-9133-490b-b9d3-bc05f6a4f313, fqn: ['default-domain', 'ctest-TestBasicPolicy-84780700', 'ctest-policy-allow-all-78304238'] 2025-08-11 16:04:21,000 - INFO - VN ctest-vn-76975109 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-11 16:04:21,000 - DEBUG - Verifying the vn in opserver 2025-08-11 16:04:21,000 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-84780700:ctest-vn-76975109 virtual network link through opserver 10.0.0.22 2025-08-11 16:04:21,000 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-08-11 16:04:21,332 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-08-11 16:04:21,386 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-84780700:ctest-vn-76975109', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-84780700:ctest-vn-76975109?flat'} 2025-08-11 16:04:21,386 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-84780700:ctest-vn-76975109 is found in opserver 2025-08-11 16:04:21,397 - DEBUG - Do not have enough data to verify VN in agent 2025-08-11 16:04:21,402 - DEBUG - VRF ids for VN ctest-vn-76975109: {} 2025-08-11 16:04:21,403 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-08-11 16:04:21,408 - DEBUG - Requesting: http://10.0.0.22:8082/domain/643a94c5-4849-463a-a353-4619a162fafa 2025-08-11 16:04:21,419 - DEBUG - Requesting: http://10.0.0.22:8082/project/509d13a7-fe5a-4966-98a2-cd3110321832 2025-08-11 16:04:21,490 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/7ea955ed-ae86-4dfd-afe6-f86581fc0066 2025-08-11 16:04:21,502 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/7ea955ed-ae86-4dfd-afe6-f86581fc0066 2025-08-11 16:04:21,511 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/3330ea5e-fae7-43b5-9f68-dacbfa2445d5 2025-08-11 16:04:21,518 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/3330ea5e-fae7-43b5-9f68-dacbfa2445d5 2025-08-11 16:04:21,524 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/57273e23-8fdf-4930-9107-ae6edeef6024 2025-08-11 16:04:21,531 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-11 16:04:21,531 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/7ea955ed-ae86-4dfd-afe6-f86581fc0066 2025-08-11 16:04:21,540 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/3330ea5e-fae7-43b5-9f68-dacbfa2445d5 2025-08-11 16:04:21,554 - INFO - Verified VN network id 12 for VN 7ea955ed-ae86-4dfd-afe6-f86581fc0066 2025-08-11 16:04:21,554 - INFO - Verifications in API Server for VN ctest-vn-53912307 passed 2025-08-11 16:04:21,554 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/7ea955ed-ae86-4dfd-afe6-f86581fc0066 2025-08-11 16:04:21,563 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/3330ea5e-fae7-43b5-9f68-dacbfa2445d5 2025-08-11 16:04:21,570 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/3330ea5e-fae7-43b5-9f68-dacbfa2445d5 2025-08-11 16:04:21,576 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/57273e23-8fdf-4930-9107-ae6edeef6024 2025-08-11 16:04:21,588 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-84780700:ctest-vn-53912307', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-84780700', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9126920599166668285', 'uuid-lslong': '12675091316137001062'}, 'enable': 'true', 'created': '2025-08-11T16:04:19', 'last-modified': '2025-08-11T16:04:20', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.453545'} 2025-08-11 16:04:21,595 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-11 16:04:21,595 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-53912307 passed 2025-08-11 16:04:21,595 - DEBUG - ====Verifying policy data for ctest-vn-53912307 in API_Server ====== 2025-08-11 16:04:21,595 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-08-11 16:04:21,600 - DEBUG - Requesting: http://10.0.0.22:8082/domain/643a94c5-4849-463a-a353-4619a162fafa 2025-08-11 16:04:21,611 - DEBUG - Requesting: http://10.0.0.22:8082/project/509d13a7-fe5a-4966-98a2-cd3110321832 2025-08-11 16:04:21,680 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/7ea955ed-ae86-4dfd-afe6-f86581fc0066 2025-08-11 16:04:21,689 - DEBUG - ==>Verifying data for policy with id: 7eb2dffc-9133-490b-b9d3-bc05f6a4f313, fqn: ['default-domain', 'ctest-TestBasicPolicy-84780700', 'ctest-policy-allow-all-78304238'] 2025-08-11 16:04:21,689 - INFO - VN ctest-vn-53912307 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-11 16:04:21,689 - DEBUG - Verifying the vn in opserver 2025-08-11 16:04:21,689 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-84780700:ctest-vn-53912307 virtual network link through opserver 10.0.0.22 2025-08-11 16:04:21,689 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-08-11 16:04:21,700 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-84780700:ctest-vn-53912307', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-84780700:ctest-vn-53912307?flat'} 2025-08-11 16:04:21,700 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-84780700:ctest-vn-53912307 is found in opserver 2025-08-11 16:04:21,711 - DEBUG - Do not have enough data to verify VN in agent 2025-08-11 16:04:21,716 - DEBUG - VRF ids for VN ctest-vn-53912307: {} 2025-08-11 16:04:21,774 - DEBUG - Services list from nova: [, , ] 2025-08-11 16:04:22,841 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3815-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3815-1) 2025-08-11 16:04:24,025 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3815-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3815-1) 2025-08-11 16:04:24,026 - INFO - Waiting for VM ctest-TestBasicPolicy-84780700-85749841 to be up.. 2025-08-11 16:04:24,112 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-11 16:04:29,187 - DEBUG - VM is in ACTIVE state now 2025-08-11 16:04:29,187 - INFO - VM name : ctest-TestBasicPolicy-84780700-85749841 2025-08-11 16:04:29,257 - DEBUG - VM ctest-TestBasicPolicy-84780700-85749841 ID is 24fbe6e2-7216-47aa-b9bd-1af8a08c695d 2025-08-11 16:04:29,276 - DEBUG - VM ctest-TestBasicPolicy-84780700-85749841 launched on Node cn-jenkins-deploy-platform-ansible-os-3815-1 2025-08-11 16:04:29,345 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/24fbe6e2-7216-47aa-b9bd-1af8a08c695d 2025-08-11 16:04:29,353 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/f85c36af-1956-4704-8d43-6ae648b43446 2025-08-11 16:04:32,597 - 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 1014ms') 2025-08-11 16:04:32,597 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-84780700-85749841 failed! 2025-08-11 16:04:32,651 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-84780700:ctest-vn-76975109 is 183.86.85.65 and allocation pool is NOT set 2025-08-11 16:04:34,713 - 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=7.12 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.421 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.421/3.768/7.116/3.347 ms') 2025-08-11 16:04:34,713 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-84780700-85749841 passed 2025-08-11 16:04:34,863 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 16:04:34,863 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-84780700-85749841, IP 183.86.85.67, Port 22 2025-08-11 16:04:35,026 - DEBUG - VM ctest-TestBasicPolicy-84780700-85749841 is ready for SSH connections 2025-08-11 16:04:35,027 - INFO - Waiting for VM ctest-TestBasicPolicy-84780700-32524602 to be up.. 2025-08-11 16:04:35,102 - DEBUG - VM is in ACTIVE state now 2025-08-11 16:04:35,102 - INFO - VM name : ctest-TestBasicPolicy-84780700-32524602 2025-08-11 16:04:35,176 - DEBUG - VM ctest-TestBasicPolicy-84780700-32524602 ID is 009a833d-4351-43d0-af29-fc56cb5888de 2025-08-11 16:04:35,176 - DEBUG - VM ctest-TestBasicPolicy-84780700-32524602 launched on Node cn-jenkins-deploy-platform-ansible-os-3815-1 2025-08-11 16:04:35,243 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/009a833d-4351-43d0-af29-fc56cb5888de 2025-08-11 16:04:35,252 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/c5d7fd14-4087-4a3c-a57e-2eef7d6692f1 2025-08-11 16:04:36,491 - 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=4.67 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.804 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.804/2.736/4.668/1.932 ms') 2025-08-11 16:04:36,491 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-84780700-32524602 passed 2025-08-11 16:04:36,643 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 16:04:36,643 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-84780700-32524602, IP 32.70.233.195, Port 22 2025-08-11 16:04:36,799 - DEBUG - VM ctest-TestBasicPolicy-84780700-32524602 is ready for SSH connections 2025-08-11 16:04:36,799 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 16:04:36,799 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 32.70.233.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-08-11 16:04:36,799 - DEBUG - ping -s 56 -c 3 -W 1 32.70.233.195 2025-08-11 16:04:40,900 - DEBUG - PING 32.70.233.195 (32.70.233.195): 56 data bytes 64 bytes from 32.70.233.195: seq=0 ttl=63 time=3.944 ms 64 bytes from 32.70.233.195: seq=1 ttl=63 time=0.819 ms 64 bytes from 32.70.233.195: seq=2 ttl=63 time=0.860 ms --- 32.70.233.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.819/1.874/3.944 ms 2025-08-11 16:04:40,900 - INFO - Ping to IP 32.70.233.195 from VM ctest-TestBasicPolicy-84780700-85749841 passed 2025-08-11 16:04:41,087 - DEBUG - Policy Update Response {"network-policy": {"uuid": "7eb2dffc-9133-490b-b9d3-bc05f6a4f313", "href": "http://10.0.0.22:8082/network-policy/7eb2dffc-9133-490b-b9d3-bc05f6a4f313"}} 2025-08-11 16:04:41,087 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 16:04:41,087 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 32.70.233.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-08-11 16:04:41,087 - DEBUG - ping -s 56 -c 3 -W 1 32.70.233.195 2025-08-11 16:04:44,302 - DEBUG - PING 32.70.233.195 (32.70.233.195): 56 data bytes --- 32.70.233.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-11 16:04:44,302 - WARNING - Ping to IP 32.70.233.195 from VM ctest-TestBasicPolicy-84780700-85749841 failed 2025-08-11 16:04:44,302 - INFO - Deleting VM ctest-TestBasicPolicy-84780700-32524602 2025-08-11 16:04:44,365 - INFO - Deleting VM ctest-TestBasicPolicy-84780700-85749841 2025-08-11 16:04:44,771 - INFO - Deleted policy ctest-policy-allow-all-78304238 2025-08-11 16:04:44,771 - INFO - Deleting VN ctest-vn-53912307 2025-08-11 16:04:44,816 - DEBUG - VN 7ea955ed-ae86-4dfd-afe6-f86581fc0066 still in use: Unable to complete operation on network 7ea955ed-ae86-4dfd-afe6-f86581fc0066. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4d86fcbc-aa67-4c40-83ab-e6c80f97baa5'] 2025-08-11 16:04:44,816 - WARNING - Deleting VN ctest-vn-53912307 failed..Will retry 2025-08-11 16:04:46,921 - DEBUG - Response for deleting network () 2025-08-11 16:04:46,921 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/3330ea5e-fae7-43b5-9f68-dacbfa2445d5 2025-08-11 16:04:46,931 - DEBUG - Response Code: 404 2025-08-11 16:04:46,931 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-08-11 16:04:46,936 - DEBUG - Requesting: http://10.0.0.22:8082/domain/643a94c5-4849-463a-a353-4619a162fafa 2025-08-11 16:04:46,992 - DEBUG - Requesting: http://10.0.0.22:8082/project/509d13a7-fe5a-4966-98a2-cd3110321832 2025-08-11 16:04:47,060 - INFO - Validated that VN ctest-vn-53912307 is not found in API Server 2025-08-11 16:04:47,072 - DEBUG - VN ctest-vn-53912307 is not present in Agent 10.0.0.22 2025-08-11 16:04:47,072 - INFO - Validated that VN ctest-vn-53912307 is not in any agent 2025-08-11 16:04:47,088 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-53912307 info 2025-08-11 16:04:47,088 - INFO - Deleting VN ctest-vn-76975109 2025-08-11 16:04:47,182 - DEBUG - Response for deleting network () 2025-08-11 16:04:47,182 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/bda5d501-b844-4a37-b199-bcaf7cc3e4e6 2025-08-11 16:04:47,189 - DEBUG - Response Code: 404 2025-08-11 16:04:47,189 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-08-11 16:04:47,195 - DEBUG - Requesting: http://10.0.0.22:8082/domain/643a94c5-4849-463a-a353-4619a162fafa 2025-08-11 16:04:47,248 - DEBUG - Requesting: http://10.0.0.22:8082/project/509d13a7-fe5a-4966-98a2-cd3110321832 2025-08-11 16:04:47,325 - INFO - Validated that VN ctest-vn-76975109 is not found in API Server 2025-08-11 16:04:47,336 - DEBUG - VN ctest-vn-76975109 is not present in Agent 10.0.0.22 2025-08-11 16:04:47,337 - INFO - Validated that VN ctest-vn-76975109 is not in any agent 2025-08-11 16:04:47,353 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-76975109 info 2025-08-11 16:04:47,617 - DEBUG - No XMPP flaps were noticed during the test
2025-08-11 16:04:47,617 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-08-11 16:04:47,617 - INFO - -------------------------------------------------------------------------------- 2025-08-11 16:04:48,315 - INFO - Deleted project: ctest-TestBasicPolicy-84780700, ID : 509d13a7-fe5a-4966-98a2-cd3110321832