2025-10-13 16:26:11,147 - INFO - Domain Default found not creating 2025-10-13 16:26:11,298 - INFO - Project ctest-TestBasicPolicy-20506429 not found, creating it 2025-10-13 16:26:11,756 - INFO - Created Project:ctest-TestBasicPolicy-20506429, ID : e34b1c21-1b44-4031-a994-9f64c33bd303 2025-10-13 16:26:13,327 - INFO - ================================================================================ 2025-10-13 16:26:13,328 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-13 16:26:13,328 - 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-13 16:26:13,581 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.254': '0'}} with 2025-10-13 16:26:13,581 - INFO - Initial checks done. Running the testcase now 2025-10-13 16:26:13,581 - INFO - 2025-10-13 16:26:14,197 - DEBUG - Response for create_network : {'network': {'id': 'adf468db-01a3-4df0-8374-e5179c891928', 'name': 'ctest-vn-09956518', 'tenant_id': 'e34b1c211b444031a9949f64c33bd303', 'project_id': 'e34b1c211b444031a9949f64c33bd303', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20506429', 'ctest-vn-09956518'], 'port_security_enabled': True, 'description': ''}} 2025-10-13 16:26:14,394 - DEBUG - Response for create_subnet : {'subnet': {'id': '2ad4a485-0bd0-49cb-9907-3acdb7b15b3e', 'name': '', 'tenant_id': 'e34b1c211b444031a9949f64c33bd303', 'network_id': 'adf468db-01a3-4df0-8374-e5179c891928', 'ip_version': 4, 'cidr': '20.67.162.64/26', 'allocation_pools': [{'start': '20.67.162.66', 'end': '20.67.162.126'}], 'gateway_ip': '20.67.162.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '20.67.162.66', 'tags': [], 'project_id': 'e34b1c211b444031a9949f64c33bd303'}} 2025-10-13 16:26:14,419 - INFO - Created VN ctest-vn-09956518 2025-10-13 16:26:14,476 - DEBUG - VN ctest-vn-09956518 UUID is adf468db-01a3-4df0-8374-e5179c891928 2025-10-13 16:26:14,764 - DEBUG - Response for create_network : {'network': {'id': 'ec7fdc8a-dd9a-4931-a6aa-7358646521df', 'name': 'ctest-vn-46032107', 'tenant_id': 'e34b1c211b444031a9949f64c33bd303', 'project_id': 'e34b1c211b444031a9949f64c33bd303', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20506429', 'ctest-vn-46032107'], 'port_security_enabled': True, 'description': ''}} 2025-10-13 16:26:14,919 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd3425e76-de07-4518-9db8-9f8efe5353ee', 'name': '', 'tenant_id': 'e34b1c211b444031a9949f64c33bd303', 'network_id': 'ec7fdc8a-dd9a-4931-a6aa-7358646521df', 'ip_version': 4, 'cidr': '64.82.223.64/26', 'allocation_pools': [{'start': '64.82.223.66', 'end': '64.82.223.126'}], 'gateway_ip': '64.82.223.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '64.82.223.66', 'tags': [], 'project_id': 'e34b1c211b444031a9949f64c33bd303'}} 2025-10-13 16:26:14,938 - INFO - Created VN ctest-vn-46032107 2025-10-13 16:26:14,991 - DEBUG - VN ctest-vn-46032107 UUID is ec7fdc8a-dd9a-4931-a6aa-7358646521df 2025-10-13 16:26:15,103 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-20506429:ctest-vn-09956518, 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-20506429:ctest-vn-46032107, 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-13 16:26:15,398 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'adf468db-01a3-4df0-8374-e5179c891928', 'name': 'ctest-vn-09956518', 'tenant_id': 'e34b1c211b444031a9949f64c33bd303', 'project_id': 'e34b1c211b444031a9949f64c33bd303', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2ad4a485-0bd0-49cb-9907-3acdb7b15b3e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20506429', 'ctest-vn-09956518'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-20506429', 'ctest-policy-allow-all-99567846']], 'subnet_ipam': [{'subnet_cidr': '20.67.162.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-13 16:26:15,640 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ec7fdc8a-dd9a-4931-a6aa-7358646521df', 'name': 'ctest-vn-46032107', 'tenant_id': 'e34b1c211b444031a9949f64c33bd303', 'project_id': 'e34b1c211b444031a9949f64c33bd303', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d3425e76-de07-4518-9db8-9f8efe5353ee'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20506429', 'ctest-vn-46032107'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-20506429', 'ctest-policy-allow-all-99567846']], 'subnet_ipam': [{'subnet_cidr': '64.82.223.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-13 16:26:15,812 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-13 16:26:16,152 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-13 16:26:16,183 - DEBUG - Requesting: http://10.0.0.249:8082/domain/dcc2391e-d394-4237-bb38-223d9b890e53 2025-10-13 16:26:16,196 - DEBUG - Requesting: http://10.0.0.249:8082/project/e34b1c21-1b44-4031-a994-9f64c33bd303 2025-10-13 16:26:16,268 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/adf468db-01a3-4df0-8374-e5179c891928 2025-10-13 16:26:16,279 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/adf468db-01a3-4df0-8374-e5179c891928 2025-10-13 16:26:16,288 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/bdf5f54c-47b1-466b-be59-a429c06cdf11 2025-10-13 16:26:16,295 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/bdf5f54c-47b1-466b-be59-a429c06cdf11 2025-10-13 16:26:16,301 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/3986634f-475b-484c-a826-c225e73fec56 2025-10-13 16:26:16,306 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-13 16:26:16,306 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/adf468db-01a3-4df0-8374-e5179c891928 2025-10-13 16:26:16,314 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/bdf5f54c-47b1-466b-be59-a429c06cdf11 2025-10-13 16:26:16,329 - INFO - Verified VN network id 11 for VN adf468db-01a3-4df0-8374-e5179c891928 2025-10-13 16:26:16,329 - INFO - Verifications in API Server for VN ctest-vn-09956518 passed 2025-10-13 16:26:16,329 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/adf468db-01a3-4df0-8374-e5179c891928 2025-10-13 16:26:16,338 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/bdf5f54c-47b1-466b-be59-a429c06cdf11 2025-10-13 16:26:16,345 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/bdf5f54c-47b1-466b-be59-a429c06cdf11 2025-10-13 16:26:16,352 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/3986634f-475b-484c-a826-c225e73fec56 2025-10-13 16:26:16,363 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-20506429:ctest-vn-09956518', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-20506429', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12534758952713539056', 'uuid-lslong': '9472447805840234792'}, 'enable': 'true', 'created': '2025-10-13T16:26:14', 'last-modified': '2025-10-13T16:26:15', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.989185'} 2025-10-13 16:26:16,369 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-13 16:26:16,369 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-09956518 passed 2025-10-13 16:26:16,369 - DEBUG - ====Verifying policy data for ctest-vn-09956518 in API_Server ====== 2025-10-13 16:26:16,369 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-13 16:26:16,376 - DEBUG - Requesting: http://10.0.0.249:8082/domain/dcc2391e-d394-4237-bb38-223d9b890e53 2025-10-13 16:26:16,388 - DEBUG - Requesting: http://10.0.0.249:8082/project/e34b1c21-1b44-4031-a994-9f64c33bd303 2025-10-13 16:26:16,465 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/adf468db-01a3-4df0-8374-e5179c891928 2025-10-13 16:26:16,477 - DEBUG - ==>Verifying data for policy with id: 179829f8-5213-47c3-88bf-81a005dd7c02, fqn: ['default-domain', 'ctest-TestBasicPolicy-20506429', 'ctest-policy-allow-all-99567846'] 2025-10-13 16:26:16,477 - INFO - VN ctest-vn-09956518 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-13 16:26:16,477 - DEBUG - Verifying the vn in opserver 2025-10-13 16:26:16,478 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-20506429:ctest-vn-09956518 virtual network link through opserver 10.0.0.249 2025-10-13 16:26:16,478 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-10-13 16:26:16,813 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-10-13 16:26:16,873 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-20506429:ctest-vn-09956518', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-20506429:ctest-vn-09956518?flat'} 2025-10-13 16:26:16,873 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-20506429:ctest-vn-09956518 is found in opserver 2025-10-13 16:26:16,883 - DEBUG - Do not have enough data to verify VN in agent 2025-10-13 16:26:16,887 - DEBUG - VRF ids for VN ctest-vn-09956518: {} 2025-10-13 16:26:16,887 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-13 16:26:16,892 - DEBUG - Requesting: http://10.0.0.249:8082/domain/dcc2391e-d394-4237-bb38-223d9b890e53 2025-10-13 16:26:16,904 - DEBUG - Requesting: http://10.0.0.249:8082/project/e34b1c21-1b44-4031-a994-9f64c33bd303 2025-10-13 16:26:16,980 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/ec7fdc8a-dd9a-4931-a6aa-7358646521df 2025-10-13 16:26:16,991 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/ec7fdc8a-dd9a-4931-a6aa-7358646521df 2025-10-13 16:26:17,002 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/9cf2f0c4-9ed1-423a-a8af-f28e3bcff1dd 2025-10-13 16:26:17,011 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/9cf2f0c4-9ed1-423a-a8af-f28e3bcff1dd 2025-10-13 16:26:17,019 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/a9fc73f0-11e9-4d3b-af5a-ddc3d3d49654 2025-10-13 16:26:17,028 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-13 16:26:17,028 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/ec7fdc8a-dd9a-4931-a6aa-7358646521df 2025-10-13 16:26:17,041 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/9cf2f0c4-9ed1-423a-a8af-f28e3bcff1dd 2025-10-13 16:26:17,059 - INFO - Verified VN network id 12 for VN ec7fdc8a-dd9a-4931-a6aa-7358646521df 2025-10-13 16:26:17,059 - INFO - Verifications in API Server for VN ctest-vn-46032107 passed 2025-10-13 16:26:17,059 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/ec7fdc8a-dd9a-4931-a6aa-7358646521df 2025-10-13 16:26:17,070 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/9cf2f0c4-9ed1-423a-a8af-f28e3bcff1dd 2025-10-13 16:26:17,079 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/9cf2f0c4-9ed1-423a-a8af-f28e3bcff1dd 2025-10-13 16:26:17,087 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/a9fc73f0-11e9-4d3b-af5a-ddc3d3d49654 2025-10-13 16:26:17,099 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-20506429:ctest-vn-46032107', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-20506429', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17041582003974719793', 'uuid-lslong': '12009538179815514591'}, 'enable': 'true', 'created': '2025-10-13T16:26:14', 'last-modified': '2025-10-13T16:26:15', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.482029'} 2025-10-13 16:26:17,105 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-13 16:26:17,105 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-46032107 passed 2025-10-13 16:26:17,105 - DEBUG - ====Verifying policy data for ctest-vn-46032107 in API_Server ====== 2025-10-13 16:26:17,105 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-13 16:26:17,111 - DEBUG - Requesting: http://10.0.0.249:8082/domain/dcc2391e-d394-4237-bb38-223d9b890e53 2025-10-13 16:26:17,122 - DEBUG - Requesting: http://10.0.0.249:8082/project/e34b1c21-1b44-4031-a994-9f64c33bd303 2025-10-13 16:26:17,196 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/ec7fdc8a-dd9a-4931-a6aa-7358646521df 2025-10-13 16:26:17,209 - DEBUG - ==>Verifying data for policy with id: 179829f8-5213-47c3-88bf-81a005dd7c02, fqn: ['default-domain', 'ctest-TestBasicPolicy-20506429', 'ctest-policy-allow-all-99567846'] 2025-10-13 16:26:17,209 - INFO - VN ctest-vn-46032107 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-13 16:26:17,210 - DEBUG - Verifying the vn in opserver 2025-10-13 16:26:17,210 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-20506429:ctest-vn-46032107 virtual network link through opserver 10.0.0.249 2025-10-13 16:26:17,210 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-10-13 16:26:17,222 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-20506429:ctest-vn-46032107', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-20506429:ctest-vn-46032107?flat'} 2025-10-13 16:26:17,222 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-20506429:ctest-vn-46032107 is found in opserver 2025-10-13 16:26:17,234 - DEBUG - Do not have enough data to verify VN in agent 2025-10-13 16:26:17,239 - DEBUG - VRF ids for VN ctest-vn-46032107: {} 2025-10-13 16:26:17,306 - DEBUG - Services list from nova: [, , ] 2025-10-13 16:26:18,415 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4307-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4307-1) 2025-10-13 16:26:19,654 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4307-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4307-1) 2025-10-13 16:26:19,655 - INFO - Waiting for VM ctest-TestBasicPolicy-20506429-22591188 to be up.. 2025-10-13 16:26:19,746 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-13 16:26:24,826 - DEBUG - VM is in ACTIVE state now 2025-10-13 16:26:24,826 - INFO - VM name : ctest-TestBasicPolicy-20506429-22591188 2025-10-13 16:26:24,902 - DEBUG - VM ctest-TestBasicPolicy-20506429-22591188 ID is a643b21b-c870-413e-a2e3-4e63fcd443ed 2025-10-13 16:26:24,923 - DEBUG - VM ctest-TestBasicPolicy-20506429-22591188 launched on Node cn-jenkins-deploy-platform-ansible-os-4307-1 2025-10-13 16:26:24,999 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/a643b21b-c870-413e-a2e3-4e63fcd443ed 2025-10-13 16:26:25,009 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/a53ea178-f53d-4d5d-8db5-5b76af1ba20e 2025-10-13 16:26:28,280 - 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 1029ms') 2025-10-13 16:26:28,280 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-20506429-22591188 failed! 2025-10-13 16:26:28,336 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-20506429:ctest-vn-09956518 is 20.67.162.65 and allocation pool is NOT set 2025-10-13 16:26:30,401 - 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.2 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.453 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.453/5.305/10.158/4.852 ms') 2025-10-13 16:26:30,401 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-20506429-22591188 passed 2025-10-13 16:26:30,552 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 16:26:30,552 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-20506429-22591188, IP 20.67.162.67, Port 22 2025-10-13 16:26:30,712 - DEBUG - VM ctest-TestBasicPolicy-20506429-22591188 is ready for SSH connections 2025-10-13 16:26:30,712 - INFO - Waiting for VM ctest-TestBasicPolicy-20506429-63116102 to be up.. 2025-10-13 16:26:30,805 - DEBUG - VM is in ACTIVE state now 2025-10-13 16:26:30,805 - INFO - VM name : ctest-TestBasicPolicy-20506429-63116102 2025-10-13 16:26:30,891 - DEBUG - VM ctest-TestBasicPolicy-20506429-63116102 ID is 9cae8f47-5ec1-4b96-bacc-411997d845d6 2025-10-13 16:26:30,891 - DEBUG - VM ctest-TestBasicPolicy-20506429-63116102 launched on Node cn-jenkins-deploy-platform-ansible-os-4307-1 2025-10-13 16:26:30,978 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/9cae8f47-5ec1-4b96-bacc-411997d845d6 2025-10-13 16:26:30,988 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/f8cc6382-8369-4996-a459-7c40621e2bfa 2025-10-13 16:26:32,234 - 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=3.68 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.59 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 = 2.591/3.134/3.677/0.543 ms') 2025-10-13 16:26:32,235 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-20506429-63116102 passed 2025-10-13 16:26:32,388 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 16:26:32,388 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-20506429-63116102, IP 64.82.223.67, Port 22 2025-10-13 16:26:32,557 - DEBUG - VM ctest-TestBasicPolicy-20506429-63116102 is ready for SSH connections 2025-10-13 16:26:32,558 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 16:26:32,558 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 64.82.223.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-10-13 16:26:32,558 - DEBUG - ping -s 56 -c 3 -W 1 64.82.223.67 2025-10-13 16:26:36,682 - DEBUG - PING 64.82.223.67 (64.82.223.67): 56 data bytes 64 bytes from 64.82.223.67: seq=0 ttl=63 time=4.729 ms 64 bytes from 64.82.223.67: seq=1 ttl=63 time=0.879 ms 64 bytes from 64.82.223.67: seq=2 ttl=63 time=0.845 ms --- 64.82.223.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.845/2.151/4.729 ms 2025-10-13 16:26:36,682 - INFO - Ping to IP 64.82.223.67 from VM ctest-TestBasicPolicy-20506429-22591188 passed 2025-10-13 16:26:36,863 - DEBUG - Policy Update Response {"network-policy": {"uuid": "179829f8-5213-47c3-88bf-81a005dd7c02", "href": "http://10.0.0.249:8082/network-policy/179829f8-5213-47c3-88bf-81a005dd7c02"}} 2025-10-13 16:26:36,864 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 16:26:36,864 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 64.82.223.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-10-13 16:26:36,864 - DEBUG - ping -s 56 -c 3 -W 1 64.82.223.67 2025-10-13 16:26:40,091 - DEBUG - PING 64.82.223.67 (64.82.223.67): 56 data bytes --- 64.82.223.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-13 16:26:40,091 - WARNING - Ping to IP 64.82.223.67 from VM ctest-TestBasicPolicy-20506429-22591188 failed 2025-10-13 16:26:40,091 - INFO - Deleting VM ctest-TestBasicPolicy-20506429-63116102 2025-10-13 16:26:40,167 - INFO - Deleting VM ctest-TestBasicPolicy-20506429-22591188 2025-10-13 16:26:40,561 - INFO - Deleted policy ctest-policy-allow-all-99567846 2025-10-13 16:26:40,562 - INFO - Deleting VN ctest-vn-46032107 2025-10-13 16:26:40,600 - DEBUG - VN ec7fdc8a-dd9a-4931-a6aa-7358646521df still in use: Unable to complete operation on network ec7fdc8a-dd9a-4931-a6aa-7358646521df. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c90f1695-69b9-4317-8d82-7255207ca1ec'] 2025-10-13 16:26:40,600 - WARNING - Deleting VN ctest-vn-46032107 failed..Will retry 2025-10-13 16:26:42,709 - DEBUG - Response for deleting network () 2025-10-13 16:26:42,709 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/9cf2f0c4-9ed1-423a-a8af-f28e3bcff1dd 2025-10-13 16:26:42,715 - DEBUG - Response Code: 404 2025-10-13 16:26:42,716 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-13 16:26:42,721 - DEBUG - Requesting: http://10.0.0.249:8082/domain/dcc2391e-d394-4237-bb38-223d9b890e53 2025-10-13 16:26:42,773 - DEBUG - Requesting: http://10.0.0.249:8082/project/e34b1c21-1b44-4031-a994-9f64c33bd303 2025-10-13 16:26:42,848 - INFO - Validated that VN ctest-vn-46032107 is not found in API Server 2025-10-13 16:26:42,858 - DEBUG - VN ctest-vn-46032107 is not present in Agent 10.0.0.249 2025-10-13 16:26:42,858 - INFO - Validated that VN ctest-vn-46032107 is not in any agent 2025-10-13 16:26:42,872 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-46032107 info 2025-10-13 16:26:42,872 - INFO - Deleting VN ctest-vn-09956518 2025-10-13 16:26:42,989 - DEBUG - Response for deleting network () 2025-10-13 16:26:42,989 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/bdf5f54c-47b1-466b-be59-a429c06cdf11 2025-10-13 16:26:42,995 - DEBUG - Response Code: 404 2025-10-13 16:26:42,996 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-13 16:26:43,000 - DEBUG - Requesting: http://10.0.0.249:8082/domain/dcc2391e-d394-4237-bb38-223d9b890e53 2025-10-13 16:26:43,053 - DEBUG - Requesting: http://10.0.0.249:8082/project/e34b1c21-1b44-4031-a994-9f64c33bd303 2025-10-13 16:26:43,124 - INFO - Validated that VN ctest-vn-09956518 is not found in API Server 2025-10-13 16:26:43,134 - DEBUG - VN ctest-vn-09956518 is not present in Agent 10.0.0.249 2025-10-13 16:26:43,134 - INFO - Validated that VN ctest-vn-09956518 is not in any agent 2025-10-13 16:26:43,151 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-09956518 info 2025-10-13 16:26:43,413 - DEBUG - No XMPP flaps were noticed during the test
2025-10-13 16:26:43,413 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-10-13 16:26:43,413 - INFO - -------------------------------------------------------------------------------- 2025-10-13 16:26:44,181 - INFO - Deleted project: ctest-TestBasicPolicy-20506429, ID : e34b1c21-1b44-4031-a994-9f64c33bd303