2025-08-11 02:52:27,535 - INFO - Domain Default found not creating 2025-08-11 02:52:27,666 - INFO - Project ctest-TestBasicPolicy-78674383 not found, creating it 2025-08-11 02:52:28,095 - INFO - Created Project:ctest-TestBasicPolicy-78674383, ID : 4826c1f6-7645-4dc3-a075-ad707694c748 2025-08-11 02:52:29,386 - INFO - ================================================================================ 2025-08-11 02:52:29,386 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-11 02:52:29,386 - 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 02:52:29,636 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with 2025-08-11 02:52:29,636 - INFO - Initial checks done. Running the testcase now 2025-08-11 02:52:29,636 - INFO - 2025-08-11 02:52:30,127 - DEBUG - Response for create_network : {'network': {'id': '50d92158-1b06-468e-af6a-f50ef1a89eff', 'name': 'ctest-vn-38806320', 'tenant_id': '4826c1f676454dc3a075ad707694c748', 'project_id': '4826c1f676454dc3a075ad707694c748', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-78674383', 'ctest-vn-38806320'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 02:52:30,277 - DEBUG - Response for create_subnet : {'subnet': {'id': '41d0e032-35ce-467e-91aa-647b91517a32', 'name': '', 'tenant_id': '4826c1f676454dc3a075ad707694c748', 'network_id': '50d92158-1b06-468e-af6a-f50ef1a89eff', 'ip_version': 4, 'cidr': '18.33.204.192/26', 'allocation_pools': [{'start': '18.33.204.194', 'end': '18.33.204.254'}], 'gateway_ip': '18.33.204.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '18.33.204.194', 'tags': [], 'project_id': '4826c1f676454dc3a075ad707694c748'}} 2025-08-11 02:52:30,293 - INFO - Created VN ctest-vn-38806320 2025-08-11 02:52:30,347 - DEBUG - VN ctest-vn-38806320 UUID is 50d92158-1b06-468e-af6a-f50ef1a89eff 2025-08-11 02:52:30,670 - DEBUG - Response for create_network : {'network': {'id': 'da7fe387-875e-435c-9028-71c729a311c4', 'name': 'ctest-vn-47300629', 'tenant_id': '4826c1f676454dc3a075ad707694c748', 'project_id': '4826c1f676454dc3a075ad707694c748', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-78674383', 'ctest-vn-47300629'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 02:52:30,839 - DEBUG - Response for create_subnet : {'subnet': {'id': '09315931-2e79-44a7-bff9-046835f0dbbe', 'name': '', 'tenant_id': '4826c1f676454dc3a075ad707694c748', 'network_id': 'da7fe387-875e-435c-9028-71c729a311c4', 'ip_version': 4, 'cidr': '88.244.166.128/26', 'allocation_pools': [{'start': '88.244.166.130', 'end': '88.244.166.190'}], 'gateway_ip': '88.244.166.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '88.244.166.130', 'tags': [], 'project_id': '4826c1f676454dc3a075ad707694c748'}} 2025-08-11 02:52:30,856 - INFO - Created VN ctest-vn-47300629 2025-08-11 02:52:30,911 - DEBUG - VN ctest-vn-47300629 UUID is da7fe387-875e-435c-9028-71c729a311c4 2025-08-11 02:52:31,063 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-78674383:ctest-vn-38806320, 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-78674383:ctest-vn-47300629, 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 02:52:31,345 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '50d92158-1b06-468e-af6a-f50ef1a89eff', 'name': 'ctest-vn-38806320', 'tenant_id': '4826c1f676454dc3a075ad707694c748', 'project_id': '4826c1f676454dc3a075ad707694c748', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['41d0e032-35ce-467e-91aa-647b91517a32'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-78674383', 'ctest-vn-38806320'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-78674383', 'ctest-policy-allow-all-38055136']], 'subnet_ipam': [{'subnet_cidr': '18.33.204.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-11 02:52:31,566 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'da7fe387-875e-435c-9028-71c729a311c4', 'name': 'ctest-vn-47300629', 'tenant_id': '4826c1f676454dc3a075ad707694c748', 'project_id': '4826c1f676454dc3a075ad707694c748', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['09315931-2e79-44a7-bff9-046835f0dbbe'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-78674383', 'ctest-vn-47300629'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-78674383', 'ctest-policy-allow-all-38055136']], 'subnet_ipam': [{'subnet_cidr': '88.244.166.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-11 02:52:31,739 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-08-11 02:52:32,001 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-08-11 02:52:32,029 - DEBUG - Requesting: http://10.0.0.22:8082/domain/27e87f7e-3420-4f7e-8244-a75efbe299ab 2025-08-11 02:52:32,041 - DEBUG - Requesting: http://10.0.0.22:8082/project/4826c1f6-7645-4dc3-a075-ad707694c748 2025-08-11 02:52:32,116 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/50d92158-1b06-468e-af6a-f50ef1a89eff 2025-08-11 02:52:32,129 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/50d92158-1b06-468e-af6a-f50ef1a89eff 2025-08-11 02:52:32,142 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/96ffbf1c-51ca-4acd-b916-a553b4e3df16 2025-08-11 02:52:32,152 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/96ffbf1c-51ca-4acd-b916-a553b4e3df16 2025-08-11 02:52:32,159 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/40569dbf-3de6-42c4-9ec2-77bd6ef8d447 2025-08-11 02:52:32,165 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-11 02:52:32,166 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/50d92158-1b06-468e-af6a-f50ef1a89eff 2025-08-11 02:52:32,174 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/96ffbf1c-51ca-4acd-b916-a553b4e3df16 2025-08-11 02:52:32,189 - INFO - Verified VN network id 11 for VN 50d92158-1b06-468e-af6a-f50ef1a89eff 2025-08-11 02:52:32,189 - INFO - Verifications in API Server for VN ctest-vn-38806320 passed 2025-08-11 02:52:32,190 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/50d92158-1b06-468e-af6a-f50ef1a89eff 2025-08-11 02:52:32,199 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/96ffbf1c-51ca-4acd-b916-a553b4e3df16 2025-08-11 02:52:32,207 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/96ffbf1c-51ca-4acd-b916-a553b4e3df16 2025-08-11 02:52:32,215 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/40569dbf-3de6-42c4-9ec2-77bd6ef8d447 2025-08-11 02:52:32,227 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-78674383:ctest-vn-38806320', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-78674383', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5825724255274681998', 'uuid-lslong': '12640184748701425407'}, 'enable': 'true', 'created': '2025-08-11T02:52:30', 'last-modified': '2025-08-11T02:52:31', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.897380'} 2025-08-11 02:52:32,233 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-11 02:52:32,233 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-38806320 passed 2025-08-11 02:52:32,233 - DEBUG - ====Verifying policy data for ctest-vn-38806320 in API_Server ====== 2025-08-11 02:52:32,233 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-08-11 02:52:32,238 - DEBUG - Requesting: http://10.0.0.22:8082/domain/27e87f7e-3420-4f7e-8244-a75efbe299ab 2025-08-11 02:52:32,249 - DEBUG - Requesting: http://10.0.0.22:8082/project/4826c1f6-7645-4dc3-a075-ad707694c748 2025-08-11 02:52:32,318 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/50d92158-1b06-468e-af6a-f50ef1a89eff 2025-08-11 02:52:32,327 - DEBUG - ==>Verifying data for policy with id: 098419f0-1d31-45d3-a18f-d4b5215891b9, fqn: ['default-domain', 'ctest-TestBasicPolicy-78674383', 'ctest-policy-allow-all-38055136'] 2025-08-11 02:52:32,327 - INFO - VN ctest-vn-38806320 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-11 02:52:32,327 - DEBUG - Verifying the vn in opserver 2025-08-11 02:52:32,327 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-78674383:ctest-vn-38806320 virtual network link through opserver 10.0.0.22 2025-08-11 02:52:32,328 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-08-11 02:52:32,585 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-08-11 02:52:32,635 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-78674383:ctest-vn-38806320', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-78674383:ctest-vn-38806320?flat'} 2025-08-11 02:52:32,635 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-78674383:ctest-vn-38806320 is found in opserver 2025-08-11 02:52:32,644 - DEBUG - Do not have enough data to verify VN in agent 2025-08-11 02:52:32,649 - DEBUG - VRF ids for VN ctest-vn-38806320: {} 2025-08-11 02:52:32,649 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-08-11 02:52:32,654 - DEBUG - Requesting: http://10.0.0.22:8082/domain/27e87f7e-3420-4f7e-8244-a75efbe299ab 2025-08-11 02:52:32,664 - DEBUG - Requesting: http://10.0.0.22:8082/project/4826c1f6-7645-4dc3-a075-ad707694c748 2025-08-11 02:52:32,732 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/da7fe387-875e-435c-9028-71c729a311c4 2025-08-11 02:52:32,743 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/da7fe387-875e-435c-9028-71c729a311c4 2025-08-11 02:52:32,752 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/0eedaf73-df8e-4652-a821-a76e5fcfeb88 2025-08-11 02:52:32,758 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/0eedaf73-df8e-4652-a821-a76e5fcfeb88 2025-08-11 02:52:32,764 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/963af86b-7e2e-41a2-b791-fa64345792eb 2025-08-11 02:52:32,770 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-11 02:52:32,770 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/da7fe387-875e-435c-9028-71c729a311c4 2025-08-11 02:52:32,779 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/0eedaf73-df8e-4652-a821-a76e5fcfeb88 2025-08-11 02:52:32,791 - INFO - Verified VN network id 12 for VN da7fe387-875e-435c-9028-71c729a311c4 2025-08-11 02:52:32,791 - INFO - Verifications in API Server for VN ctest-vn-47300629 passed 2025-08-11 02:52:32,791 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/da7fe387-875e-435c-9028-71c729a311c4 2025-08-11 02:52:32,800 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/0eedaf73-df8e-4652-a821-a76e5fcfeb88 2025-08-11 02:52:32,806 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/0eedaf73-df8e-4652-a821-a76e5fcfeb88 2025-08-11 02:52:32,811 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/963af86b-7e2e-41a2-b791-fa64345792eb 2025-08-11 02:52:32,822 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-78674383:ctest-vn-47300629', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-78674383', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15744552993541735260', 'uuid-lslong': '10387677640741032388'}, 'enable': 'true', 'created': '2025-08-11T02:52:30', 'last-modified': '2025-08-11T02:52:31', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.274304'} 2025-08-11 02:52:32,828 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-11 02:52:32,828 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-47300629 passed 2025-08-11 02:52:32,828 - DEBUG - ====Verifying policy data for ctest-vn-47300629 in API_Server ====== 2025-08-11 02:52:32,828 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-08-11 02:52:32,833 - DEBUG - Requesting: http://10.0.0.22:8082/domain/27e87f7e-3420-4f7e-8244-a75efbe299ab 2025-08-11 02:52:32,844 - DEBUG - Requesting: http://10.0.0.22:8082/project/4826c1f6-7645-4dc3-a075-ad707694c748 2025-08-11 02:52:32,913 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/da7fe387-875e-435c-9028-71c729a311c4 2025-08-11 02:52:32,924 - DEBUG - ==>Verifying data for policy with id: 098419f0-1d31-45d3-a18f-d4b5215891b9, fqn: ['default-domain', 'ctest-TestBasicPolicy-78674383', 'ctest-policy-allow-all-38055136'] 2025-08-11 02:52:32,924 - INFO - VN ctest-vn-47300629 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-11 02:52:32,924 - DEBUG - Verifying the vn in opserver 2025-08-11 02:52:32,924 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-78674383:ctest-vn-47300629 virtual network link through opserver 10.0.0.22 2025-08-11 02:52:32,924 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-08-11 02:52:32,934 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-78674383:ctest-vn-47300629', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-78674383:ctest-vn-47300629?flat'} 2025-08-11 02:52:32,934 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-78674383:ctest-vn-47300629 is found in opserver 2025-08-11 02:52:32,945 - DEBUG - Do not have enough data to verify VN in agent 2025-08-11 02:52:32,950 - DEBUG - VRF ids for VN ctest-vn-47300629: {} 2025-08-11 02:52:33,014 - DEBUG - Services list from nova: [, , ] 2025-08-11 02:52:33,921 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3796-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3796-1) 2025-08-11 02:52:34,934 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3796-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3796-1) 2025-08-11 02:52:34,934 - INFO - Waiting for VM ctest-TestBasicPolicy-78674383-67223613 to be up.. 2025-08-11 02:52:35,008 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-11 02:52:40,075 - DEBUG - VM is in ACTIVE state now 2025-08-11 02:52:40,075 - INFO - VM name : ctest-TestBasicPolicy-78674383-67223613 2025-08-11 02:52:40,138 - DEBUG - VM ctest-TestBasicPolicy-78674383-67223613 ID is 2d3c0d76-f92b-4b14-9e9c-33acdc89bc20 2025-08-11 02:52:40,153 - DEBUG - VM ctest-TestBasicPolicy-78674383-67223613 launched on Node cn-jenkins-deploy-platform-ansible-os-3796-1 2025-08-11 02:52:40,215 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/2d3c0d76-f92b-4b14-9e9c-33acdc89bc20 2025-08-11 02:52:40,222 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/9d382935-2154-4abe-af84-8be467891b9e 2025-08-11 02:52:43,484 - 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 1030ms') 2025-08-11 02:52:43,484 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-78674383-67223613 failed! 2025-08-11 02:52:43,543 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-78674383:ctest-vn-38806320 is 18.33.204.193 and allocation pool is NOT set 2025-08-11 02:52:45,610 - 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.49 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.401 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.401/1.945/3.489/1.544 ms') 2025-08-11 02:52:45,610 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-78674383-67223613 passed 2025-08-11 02:52:45,759 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 02:52:45,759 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-78674383-67223613, IP 18.33.204.195, Port 22 2025-08-11 02:52:45,915 - DEBUG - VM ctest-TestBasicPolicy-78674383-67223613 is ready for SSH connections 2025-08-11 02:52:45,915 - INFO - Waiting for VM ctest-TestBasicPolicy-78674383-57775119 to be up.. 2025-08-11 02:52:45,989 - DEBUG - VM is in ACTIVE state now 2025-08-11 02:52:45,989 - INFO - VM name : ctest-TestBasicPolicy-78674383-57775119 2025-08-11 02:52:46,060 - DEBUG - VM ctest-TestBasicPolicy-78674383-57775119 ID is 3d427a13-c00f-44c7-8dca-3ebcec944db8 2025-08-11 02:52:46,060 - DEBUG - VM ctest-TestBasicPolicy-78674383-57775119 launched on Node cn-jenkins-deploy-platform-ansible-os-3796-1 2025-08-11 02:52:46,129 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/3d427a13-c00f-44c7-8dca-3ebcec944db8 2025-08-11 02:52:46,139 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/2180a41a-bad9-4484-8fc1-e087bc116764 2025-08-11 02:52:47,381 - 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.65 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.396 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.396/1.524/2.653/1.128 ms') 2025-08-11 02:52:47,381 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-78674383-57775119 passed 2025-08-11 02:52:47,531 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 02:52:47,531 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-78674383-57775119, IP 88.244.166.131, Port 22 2025-08-11 02:52:47,687 - DEBUG - VM ctest-TestBasicPolicy-78674383-57775119 is ready for SSH connections 2025-08-11 02:52:47,687 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 02:52:47,687 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 88.244.166.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-08-11 02:52:47,687 - DEBUG - ping -s 56 -c 3 -W 1 88.244.166.131 2025-08-11 02:52:51,672 - DEBUG - PING 88.244.166.131 (88.244.166.131): 56 data bytes 64 bytes from 88.244.166.131: seq=0 ttl=63 time=3.344 ms 64 bytes from 88.244.166.131: seq=1 ttl=63 time=0.830 ms 64 bytes from 88.244.166.131: seq=2 ttl=63 time=0.746 ms --- 88.244.166.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.746/1.640/3.344 ms 2025-08-11 02:52:51,672 - INFO - Ping to IP 88.244.166.131 from VM ctest-TestBasicPolicy-78674383-67223613 passed 2025-08-11 02:52:51,843 - DEBUG - Policy Update Response {"network-policy": {"uuid": "098419f0-1d31-45d3-a18f-d4b5215891b9", "href": "http://10.0.0.22:8082/network-policy/098419f0-1d31-45d3-a18f-d4b5215891b9"}} 2025-08-11 02:52:51,843 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 02:52:51,843 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 88.244.166.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-08-11 02:52:51,843 - DEBUG - ping -s 56 -c 3 -W 1 88.244.166.131 2025-08-11 02:52:55,031 - DEBUG - PING 88.244.166.131 (88.244.166.131): 56 data bytes 64 bytes from 88.244.166.131: seq=0 ttl=63 time=1.319 ms --- 88.244.166.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.319/1.319/1.319 ms 2025-08-11 02:52:55,031 - WARNING - Ping to IP 88.244.166.131 from VM ctest-TestBasicPolicy-78674383-67223613 failed 2025-08-11 02:52:55,032 - INFO - Deleting VM ctest-TestBasicPolicy-78674383-57775119 2025-08-11 02:52:55,097 - INFO - Deleting VM ctest-TestBasicPolicy-78674383-67223613 2025-08-11 02:52:55,461 - INFO - Deleted policy ctest-policy-allow-all-38055136 2025-08-11 02:52:55,461 - INFO - Deleting VN ctest-vn-47300629 2025-08-11 02:52:55,503 - DEBUG - VN da7fe387-875e-435c-9028-71c729a311c4 still in use: Unable to complete operation on network da7fe387-875e-435c-9028-71c729a311c4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b16f5eba-fb2e-4416-9789-bcf659601b26'] 2025-08-11 02:52:55,503 - WARNING - Deleting VN ctest-vn-47300629 failed..Will retry 2025-08-11 02:52:57,592 - DEBUG - Response for deleting network () 2025-08-11 02:52:57,592 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/0eedaf73-df8e-4652-a821-a76e5fcfeb88 2025-08-11 02:52:57,597 - DEBUG - Response Code: 404 2025-08-11 02:52:57,597 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-08-11 02:52:57,607 - DEBUG - Requesting: http://10.0.0.22:8082/domain/27e87f7e-3420-4f7e-8244-a75efbe299ab 2025-08-11 02:52:57,661 - DEBUG - Requesting: http://10.0.0.22:8082/project/4826c1f6-7645-4dc3-a075-ad707694c748 2025-08-11 02:52:57,734 - INFO - Validated that VN ctest-vn-47300629 is not found in API Server 2025-08-11 02:52:57,746 - DEBUG - VN ctest-vn-47300629 is not present in Agent 10.0.0.22 2025-08-11 02:52:57,746 - INFO - Validated that VN ctest-vn-47300629 is not in any agent 2025-08-11 02:52:57,759 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-47300629 info 2025-08-11 02:52:57,759 - INFO - Deleting VN ctest-vn-38806320 2025-08-11 02:52:57,866 - DEBUG - Response for deleting network () 2025-08-11 02:52:57,866 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/96ffbf1c-51ca-4acd-b916-a553b4e3df16 2025-08-11 02:52:57,872 - DEBUG - Response Code: 404 2025-08-11 02:52:57,872 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-08-11 02:52:57,877 - DEBUG - Requesting: http://10.0.0.22:8082/domain/27e87f7e-3420-4f7e-8244-a75efbe299ab 2025-08-11 02:52:57,930 - DEBUG - Requesting: http://10.0.0.22:8082/project/4826c1f6-7645-4dc3-a075-ad707694c748 2025-08-11 02:52:58,001 - INFO - Validated that VN ctest-vn-38806320 is not found in API Server 2025-08-11 02:52:58,013 - DEBUG - VN ctest-vn-38806320 is not present in Agent 10.0.0.22 2025-08-11 02:52:58,013 - INFO - Validated that VN ctest-vn-38806320 is not in any agent 2025-08-11 02:52:58,026 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-38806320 info 2025-08-11 02:52:58,276 - DEBUG - No XMPP flaps were noticed during the test
2025-08-11 02:52:58,276 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-08-11 02:52:58,277 - INFO - -------------------------------------------------------------------------------- 2025-08-11 02:52:58,888 - INFO - Deleted project: ctest-TestBasicPolicy-78674383, ID : 4826c1f6-7645-4dc3-a075-ad707694c748