2025-10-21 17:07:15,566 - INFO - Domain Default found not creating 2025-10-21 17:07:15,742 - INFO - Project ctest-TestBasicPolicy-16058551 not found, creating it 2025-10-21 17:07:16,219 - INFO - Created Project:ctest-TestBasicPolicy-16058551, ID : f09573e0-f3fa-482b-83e0-4424d5337bfe 2025-10-21 17:07:17,752 - INFO - ================================================================================ 2025-10-21 17:07:17,752 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-21 17:07:17,752 - 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-21 17:07:18,013 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.14': '0'}} with 2025-10-21 17:07:18,013 - INFO - Initial checks done. Running the testcase now 2025-10-21 17:07:18,013 - INFO - 2025-10-21 17:07:18,576 - DEBUG - Response for create_network : {'network': {'id': 'e38d9f3b-cf65-47a3-902f-964bafc16ac7', 'name': 'ctest-vn-37824253', 'tenant_id': 'f09573e0f3fa482b83e04424d5337bfe', 'project_id': 'f09573e0f3fa482b83e04424d5337bfe', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-16058551', 'ctest-vn-37824253'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 17:07:18,788 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bcd5eac2-8e42-4f1c-a835-bfce656e94a4', 'name': '', 'tenant_id': 'f09573e0f3fa482b83e04424d5337bfe', 'network_id': 'e38d9f3b-cf65-47a3-902f-964bafc16ac7', 'ip_version': 4, 'cidr': '116.103.182.64/26', 'allocation_pools': [{'start': '116.103.182.66', 'end': '116.103.182.126'}], 'gateway_ip': '116.103.182.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '116.103.182.66', 'tags': [], 'project_id': 'f09573e0f3fa482b83e04424d5337bfe'}} 2025-10-21 17:07:18,807 - INFO - Created VN ctest-vn-37824253 2025-10-21 17:07:18,861 - DEBUG - VN ctest-vn-37824253 UUID is e38d9f3b-cf65-47a3-902f-964bafc16ac7 2025-10-21 17:07:19,165 - DEBUG - Response for create_network : {'network': {'id': '5ca166a0-a925-43dc-b906-d96f3a02946c', 'name': 'ctest-vn-78986988', 'tenant_id': 'f09573e0f3fa482b83e04424d5337bfe', 'project_id': 'f09573e0f3fa482b83e04424d5337bfe', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-16058551', 'ctest-vn-78986988'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 17:07:19,386 - DEBUG - Response for create_subnet : {'subnet': {'id': '68c429cc-f9af-4465-8af8-7df0d6dd5a33', 'name': '', 'tenant_id': 'f09573e0f3fa482b83e04424d5337bfe', 'network_id': '5ca166a0-a925-43dc-b906-d96f3a02946c', 'ip_version': 4, 'cidr': '122.130.170.192/26', 'allocation_pools': [{'start': '122.130.170.194', 'end': '122.130.170.254'}], 'gateway_ip': '122.130.170.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '122.130.170.194', 'tags': [], 'project_id': 'f09573e0f3fa482b83e04424d5337bfe'}} 2025-10-21 17:07:19,405 - INFO - Created VN ctest-vn-78986988 2025-10-21 17:07:19,457 - DEBUG - VN ctest-vn-78986988 UUID is 5ca166a0-a925-43dc-b906-d96f3a02946c 2025-10-21 17:07:19,580 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-16058551:ctest-vn-37824253, 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-16058551:ctest-vn-78986988, 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-21 17:07:19,886 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e38d9f3b-cf65-47a3-902f-964bafc16ac7', 'name': 'ctest-vn-37824253', 'tenant_id': 'f09573e0f3fa482b83e04424d5337bfe', 'project_id': 'f09573e0f3fa482b83e04424d5337bfe', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['bcd5eac2-8e42-4f1c-a835-bfce656e94a4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-16058551', 'ctest-vn-37824253'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-16058551', 'ctest-policy-allow-all-89104866']], 'subnet_ipam': [{'subnet_cidr': '116.103.182.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-21 17:07:20,124 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5ca166a0-a925-43dc-b906-d96f3a02946c', 'name': 'ctest-vn-78986988', 'tenant_id': 'f09573e0f3fa482b83e04424d5337bfe', 'project_id': 'f09573e0f3fa482b83e04424d5337bfe', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['68c429cc-f9af-4465-8af8-7df0d6dd5a33'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-16058551', 'ctest-vn-78986988'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-16058551', 'ctest-policy-allow-all-89104866']], 'subnet_ipam': [{'subnet_cidr': '122.130.170.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-21 17:07:20,277 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-21 17:07:20,603 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-21 17:07:20,641 - DEBUG - Requesting: http://10.0.0.249:8082/domain/7388b4b3-522f-409b-bd70-e6694f88da8a 2025-10-21 17:07:20,656 - DEBUG - Requesting: http://10.0.0.249:8082/project/f09573e0-f3fa-482b-83e0-4424d5337bfe 2025-10-21 17:07:20,766 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/e38d9f3b-cf65-47a3-902f-964bafc16ac7 2025-10-21 17:07:20,788 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/e38d9f3b-cf65-47a3-902f-964bafc16ac7 2025-10-21 17:07:20,806 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/6549bbfa-2e40-466a-bcef-aaf4ab7ceb24 2025-10-21 17:07:20,822 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/6549bbfa-2e40-466a-bcef-aaf4ab7ceb24 2025-10-21 17:07:20,839 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/2ad004df-b5ae-4a3e-9632-8119af65e18e 2025-10-21 17:07:20,851 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-21 17:07:20,851 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/e38d9f3b-cf65-47a3-902f-964bafc16ac7 2025-10-21 17:07:20,866 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/6549bbfa-2e40-466a-bcef-aaf4ab7ceb24 2025-10-21 17:07:20,885 - INFO - Verified VN network id 12 for VN e38d9f3b-cf65-47a3-902f-964bafc16ac7 2025-10-21 17:07:20,885 - INFO - Verifications in API Server for VN ctest-vn-37824253 passed 2025-10-21 17:07:20,885 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/e38d9f3b-cf65-47a3-902f-964bafc16ac7 2025-10-21 17:07:20,896 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/6549bbfa-2e40-466a-bcef-aaf4ab7ceb24 2025-10-21 17:07:20,908 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/6549bbfa-2e40-466a-bcef-aaf4ab7ceb24 2025-10-21 17:07:20,918 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/2ad004df-b5ae-4a3e-9632-8119af65e18e 2025-10-21 17:07:20,936 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-16058551:ctest-vn-37824253', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-16058551', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16396936897557252003', 'uuid-lslong': '10389688117182425799'}, 'enable': 'true', 'created': '2025-10-21T17:07:18', 'last-modified': '2025-10-21T17:07:19', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.070025'} 2025-10-21 17:07:20,948 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-21 17:07:20,948 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-37824253 passed 2025-10-21 17:07:20,948 - DEBUG - ====Verifying policy data for ctest-vn-37824253 in API_Server ====== 2025-10-21 17:07:20,948 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-21 17:07:20,959 - DEBUG - Requesting: http://10.0.0.249:8082/domain/7388b4b3-522f-409b-bd70-e6694f88da8a 2025-10-21 17:07:20,975 - DEBUG - Requesting: http://10.0.0.249:8082/project/f09573e0-f3fa-482b-83e0-4424d5337bfe 2025-10-21 17:07:21,067 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/e38d9f3b-cf65-47a3-902f-964bafc16ac7 2025-10-21 17:07:21,077 - DEBUG - ==>Verifying data for policy with id: 9b6061d8-faf2-4a96-8c73-c37c593fdaba, fqn: ['default-domain', 'ctest-TestBasicPolicy-16058551', 'ctest-policy-allow-all-89104866'] 2025-10-21 17:07:21,077 - INFO - VN ctest-vn-37824253 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-21 17:07:21,077 - DEBUG - Verifying the vn in opserver 2025-10-21 17:07:21,077 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-16058551:ctest-vn-37824253 virtual network link through opserver 10.0.0.249 2025-10-21 17:07:21,078 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-10-21 17:07:21,395 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-10-21 17:07:21,460 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-16058551:ctest-vn-37824253', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-16058551:ctest-vn-37824253?flat'} 2025-10-21 17:07:21,460 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-16058551:ctest-vn-37824253 is found in opserver 2025-10-21 17:07:21,471 - DEBUG - Do not have enough data to verify VN in agent 2025-10-21 17:07:21,475 - DEBUG - VRF ids for VN ctest-vn-37824253: {} 2025-10-21 17:07:21,475 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-21 17:07:21,481 - DEBUG - Requesting: http://10.0.0.249:8082/domain/7388b4b3-522f-409b-bd70-e6694f88da8a 2025-10-21 17:07:21,492 - DEBUG - Requesting: http://10.0.0.249:8082/project/f09573e0-f3fa-482b-83e0-4424d5337bfe 2025-10-21 17:07:21,567 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/5ca166a0-a925-43dc-b906-d96f3a02946c 2025-10-21 17:07:21,579 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/5ca166a0-a925-43dc-b906-d96f3a02946c 2025-10-21 17:07:21,588 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/533e6691-b12f-49ce-9f5c-37e9f1078574 2025-10-21 17:07:21,596 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/533e6691-b12f-49ce-9f5c-37e9f1078574 2025-10-21 17:07:21,604 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/40a3049b-0214-4d16-a954-79631b16f983 2025-10-21 17:07:21,611 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-21 17:07:21,611 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/5ca166a0-a925-43dc-b906-d96f3a02946c 2025-10-21 17:07:21,619 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/533e6691-b12f-49ce-9f5c-37e9f1078574 2025-10-21 17:07:21,633 - INFO - Verified VN network id 13 for VN 5ca166a0-a925-43dc-b906-d96f3a02946c 2025-10-21 17:07:21,633 - INFO - Verifications in API Server for VN ctest-vn-78986988 passed 2025-10-21 17:07:21,633 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/5ca166a0-a925-43dc-b906-d96f3a02946c 2025-10-21 17:07:21,643 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/533e6691-b12f-49ce-9f5c-37e9f1078574 2025-10-21 17:07:21,650 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/533e6691-b12f-49ce-9f5c-37e9f1078574 2025-10-21 17:07:21,657 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/40a3049b-0214-4d16-a954-79631b16f983 2025-10-21 17:07:21,670 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-16058551:ctest-vn-78986988', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-16058551', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6674728962958377948', 'uuid-lslong': '13332582818614776940'}, 'enable': 'true', 'created': '2025-10-21T17:07:19', 'last-modified': '2025-10-21T17:07:20', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.568625'} 2025-10-21 17:07:21,677 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-21 17:07:21,677 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-78986988 passed 2025-10-21 17:07:21,677 - DEBUG - ====Verifying policy data for ctest-vn-78986988 in API_Server ====== 2025-10-21 17:07:21,678 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-21 17:07:21,683 - DEBUG - Requesting: http://10.0.0.249:8082/domain/7388b4b3-522f-409b-bd70-e6694f88da8a 2025-10-21 17:07:21,694 - DEBUG - Requesting: http://10.0.0.249:8082/project/f09573e0-f3fa-482b-83e0-4424d5337bfe 2025-10-21 17:07:21,764 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/5ca166a0-a925-43dc-b906-d96f3a02946c 2025-10-21 17:07:21,775 - DEBUG - ==>Verifying data for policy with id: 9b6061d8-faf2-4a96-8c73-c37c593fdaba, fqn: ['default-domain', 'ctest-TestBasicPolicy-16058551', 'ctest-policy-allow-all-89104866'] 2025-10-21 17:07:21,775 - INFO - VN ctest-vn-78986988 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-21 17:07:21,775 - DEBUG - Verifying the vn in opserver 2025-10-21 17:07:21,775 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-16058551:ctest-vn-78986988 virtual network link through opserver 10.0.0.249 2025-10-21 17:07:21,775 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-10-21 17:07:21,786 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-16058551:ctest-vn-78986988', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-16058551:ctest-vn-78986988?flat'} 2025-10-21 17:07:21,787 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-16058551:ctest-vn-78986988 is found in opserver 2025-10-21 17:07:21,798 - DEBUG - Do not have enough data to verify VN in agent 2025-10-21 17:07:21,803 - DEBUG - VRF ids for VN ctest-vn-78986988: {} 2025-10-21 17:07:21,866 - DEBUG - Services list from nova: [, , ] 2025-10-21 17:07:22,902 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4399-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4399-1) 2025-10-21 17:07:24,103 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4399-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4399-1) 2025-10-21 17:07:24,103 - INFO - Waiting for VM ctest-TestBasicPolicy-16058551-52902263 to be up.. 2025-10-21 17:07:24,182 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-21 17:07:29,274 - DEBUG - VM is in ACTIVE state now 2025-10-21 17:07:29,275 - INFO - VM name : ctest-TestBasicPolicy-16058551-52902263 2025-10-21 17:07:29,355 - DEBUG - VM ctest-TestBasicPolicy-16058551-52902263 ID is 10410035-17ce-4856-a52d-96b38f93f025 2025-10-21 17:07:29,377 - DEBUG - VM ctest-TestBasicPolicy-16058551-52902263 launched on Node cn-jenkins-deploy-platform-ansible-os-4399-1 2025-10-21 17:07:29,477 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/10410035-17ce-4856-a52d-96b38f93f025 2025-10-21 17:07:29,486 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/6e18f235-151f-487f-823a-3a1f1eb9060e 2025-10-21 17:07:32,715 - 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 1022ms') 2025-10-21 17:07:32,715 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-16058551-52902263 failed! 2025-10-21 17:07:32,773 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-16058551:ctest-vn-37824253 is 116.103.182.65 and allocation pool is NOT set 2025-10-21 17:07:34,840 - 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=10.5 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.31 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 = 2.308/6.390/10.472/4.082 ms') 2025-10-21 17:07:34,840 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-16058551-52902263 passed 2025-10-21 17:07:34,989 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 17:07:34,990 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-16058551-52902263, IP 116.103.182.67, Port 22 2025-10-21 17:07:35,144 - DEBUG - VM ctest-TestBasicPolicy-16058551-52902263 is ready for SSH connections 2025-10-21 17:07:35,144 - INFO - Waiting for VM ctest-TestBasicPolicy-16058551-32223472 to be up.. 2025-10-21 17:07:35,224 - DEBUG - VM is in ACTIVE state now 2025-10-21 17:07:35,224 - INFO - VM name : ctest-TestBasicPolicy-16058551-32223472 2025-10-21 17:07:35,301 - DEBUG - VM ctest-TestBasicPolicy-16058551-32223472 ID is 1d1ee484-6e12-4a41-bfbc-ebb621e2560c 2025-10-21 17:07:35,301 - DEBUG - VM ctest-TestBasicPolicy-16058551-32223472 launched on Node cn-jenkins-deploy-platform-ansible-os-4399-1 2025-10-21 17:07:35,388 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/1d1ee484-6e12-4a41-bfbc-ebb621e2560c 2025-10-21 17:07:35,398 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/3a25b04f-eec8-4bc2-802b-330c673caba4 2025-10-21 17:07:36,645 - 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.34 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.923 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.923/2.631/4.340/1.708 ms') 2025-10-21 17:07:36,646 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-16058551-32223472 passed 2025-10-21 17:07:36,797 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 17:07:36,797 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-16058551-32223472, IP 122.130.170.195, Port 22 2025-10-21 17:07:36,957 - DEBUG - VM ctest-TestBasicPolicy-16058551-32223472 is ready for SSH connections 2025-10-21 17:07:36,957 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 17:07:36,957 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 122.130.170.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-10-21 17:07:36,957 - DEBUG - ping -s 56 -c 3 -W 1 122.130.170.195 2025-10-21 17:07:41,072 - DEBUG - PING 122.130.170.195 (122.130.170.195): 56 data bytes 64 bytes from 122.130.170.195: seq=0 ttl=63 time=4.912 ms 64 bytes from 122.130.170.195: seq=1 ttl=63 time=1.073 ms 64 bytes from 122.130.170.195: seq=2 ttl=63 time=1.261 ms --- 122.130.170.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.073/2.415/4.912 ms 2025-10-21 17:07:41,072 - INFO - Ping to IP 122.130.170.195 from VM ctest-TestBasicPolicy-16058551-52902263 passed 2025-10-21 17:07:41,269 - DEBUG - Policy Update Response {"network-policy": {"uuid": "9b6061d8-faf2-4a96-8c73-c37c593fdaba", "href": "http://10.0.0.249:8082/network-policy/9b6061d8-faf2-4a96-8c73-c37c593fdaba"}} 2025-10-21 17:07:41,269 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 17:07:41,269 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 122.130.170.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-10-21 17:07:41,270 - DEBUG - ping -s 56 -c 3 -W 1 122.130.170.195 2025-10-21 17:07:44,486 - DEBUG - PING 122.130.170.195 (122.130.170.195): 56 data bytes --- 122.130.170.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-21 17:07:44,487 - WARNING - Ping to IP 122.130.170.195 from VM ctest-TestBasicPolicy-16058551-52902263 failed 2025-10-21 17:07:44,487 - INFO - Deleting VM ctest-TestBasicPolicy-16058551-32223472 2025-10-21 17:07:44,572 - INFO - Deleting VM ctest-TestBasicPolicy-16058551-52902263 2025-10-21 17:07:44,998 - INFO - Deleted policy ctest-policy-allow-all-89104866 2025-10-21 17:07:44,999 - INFO - Deleting VN ctest-vn-78986988 2025-10-21 17:07:45,039 - DEBUG - VN 5ca166a0-a925-43dc-b906-d96f3a02946c still in use: Unable to complete operation on network 5ca166a0-a925-43dc-b906-d96f3a02946c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b61a8e70-38c9-4f18-a5e1-3bd363ddb559'] 2025-10-21 17:07:45,040 - WARNING - Deleting VN ctest-vn-78986988 failed..Will retry 2025-10-21 17:07:47,158 - DEBUG - Response for deleting network () 2025-10-21 17:07:47,158 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/533e6691-b12f-49ce-9f5c-37e9f1078574 2025-10-21 17:07:47,167 - DEBUG - Response Code: 404 2025-10-21 17:07:47,167 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-21 17:07:47,173 - DEBUG - Requesting: http://10.0.0.249:8082/domain/7388b4b3-522f-409b-bd70-e6694f88da8a 2025-10-21 17:07:47,227 - DEBUG - Requesting: http://10.0.0.249:8082/project/f09573e0-f3fa-482b-83e0-4424d5337bfe 2025-10-21 17:07:47,303 - INFO - Validated that VN ctest-vn-78986988 is not found in API Server 2025-10-21 17:07:47,314 - DEBUG - VN ctest-vn-78986988 is not present in Agent 10.0.0.249 2025-10-21 17:07:47,315 - INFO - Validated that VN ctest-vn-78986988 is not in any agent 2025-10-21 17:07:47,329 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-78986988 info 2025-10-21 17:07:47,329 - INFO - Deleting VN ctest-vn-37824253 2025-10-21 17:07:47,447 - DEBUG - Response for deleting network () 2025-10-21 17:07:47,448 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/6549bbfa-2e40-466a-bcef-aaf4ab7ceb24 2025-10-21 17:07:47,455 - DEBUG - Response Code: 404 2025-10-21 17:07:47,456 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-21 17:07:47,462 - DEBUG - Requesting: http://10.0.0.249:8082/domain/7388b4b3-522f-409b-bd70-e6694f88da8a 2025-10-21 17:07:47,515 - DEBUG - Requesting: http://10.0.0.249:8082/project/f09573e0-f3fa-482b-83e0-4424d5337bfe 2025-10-21 17:07:47,598 - INFO - Validated that VN ctest-vn-37824253 is not found in API Server 2025-10-21 17:07:47,607 - DEBUG - VN ctest-vn-37824253 is not present in Agent 10.0.0.249 2025-10-21 17:07:47,607 - INFO - Validated that VN ctest-vn-37824253 is not in any agent 2025-10-21 17:07:47,621 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-37824253 info 2025-10-21 17:07:47,878 - DEBUG - No XMPP flaps were noticed during the test 2025-10-21 17:07:47,878 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-10-21 17:07:47,879 - INFO - -------------------------------------------------------------------------------- 2025-10-21 17:07:48,615 - INFO - Deleted project: ctest-TestBasicPolicy-16058551, ID : f09573e0-f3fa-482b-83e0-4424d5337bfe