2025-10-28 21:35:45,355 - INFO - Domain Default found not creating 2025-10-28 21:35:45,499 - INFO - Project ctest-TestBasicPolicy-28852993 not found, creating it 2025-10-28 21:35:45,936 - INFO - Created Project:ctest-TestBasicPolicy-28852993, ID : 60ad7726-da71-4ebc-b4b9-a79701ac999b 2025-10-28 21:35:47,369 - INFO - ================================================================================ 2025-10-28 21:35:47,370 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-28 21:35:47,370 - 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-28 21:35:47,632 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2025-10-28 21:35:47,632 - INFO - Initial checks done. Running the testcase now 2025-10-28 21:35:47,632 - INFO - 2025-10-28 21:35:48,168 - DEBUG - Response for create_network : {'network': {'id': '3d1e23f4-c3d1-424b-84b9-8ac7822f1e76', 'name': 'ctest-vn-51046212', 'tenant_id': '60ad7726da714ebcb4b9a79701ac999b', 'project_id': '60ad7726da714ebcb4b9a79701ac999b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28852993', 'ctest-vn-51046212'], 'port_security_enabled': True, 'description': ''}} 2025-10-28 21:35:48,303 - DEBUG - Response for create_subnet : {'subnet': {'id': '7f29d966-5358-4b94-8f89-ab93572e9e60', 'name': '', 'tenant_id': '60ad7726da714ebcb4b9a79701ac999b', 'network_id': '3d1e23f4-c3d1-424b-84b9-8ac7822f1e76', 'ip_version': 4, 'cidr': '142.176.26.0/26', 'allocation_pools': [{'start': '142.176.26.2', 'end': '142.176.26.62'}], 'gateway_ip': '142.176.26.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '142.176.26.2', 'tags': [], 'project_id': '60ad7726da714ebcb4b9a79701ac999b'}} 2025-10-28 21:35:48,323 - INFO - Created VN ctest-vn-51046212 2025-10-28 21:35:48,379 - DEBUG - VN ctest-vn-51046212 UUID is 3d1e23f4-c3d1-424b-84b9-8ac7822f1e76 2025-10-28 21:35:48,705 - DEBUG - Response for create_network : {'network': {'id': '087f0cf2-b656-4076-9bee-28df11c3a742', 'name': 'ctest-vn-20974083', 'tenant_id': '60ad7726da714ebcb4b9a79701ac999b', 'project_id': '60ad7726da714ebcb4b9a79701ac999b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28852993', 'ctest-vn-20974083'], 'port_security_enabled': True, 'description': ''}} 2025-10-28 21:35:48,875 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fb66c341-d5b6-47a1-990a-d0d181e2282b', 'name': '', 'tenant_id': '60ad7726da714ebcb4b9a79701ac999b', 'network_id': '087f0cf2-b656-4076-9bee-28df11c3a742', 'ip_version': 4, 'cidr': '144.114.38.128/26', 'allocation_pools': [{'start': '144.114.38.130', 'end': '144.114.38.190'}], 'gateway_ip': '144.114.38.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '144.114.38.130', 'tags': [], 'project_id': '60ad7726da714ebcb4b9a79701ac999b'}} 2025-10-28 21:35:48,892 - INFO - Created VN ctest-vn-20974083 2025-10-28 21:35:48,943 - DEBUG - VN ctest-vn-20974083 UUID is 087f0cf2-b656-4076-9bee-28df11c3a742 2025-10-28 21:35:49,091 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-28852993:ctest-vn-51046212, 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-28852993:ctest-vn-20974083, 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-28 21:35:49,371 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3d1e23f4-c3d1-424b-84b9-8ac7822f1e76', 'name': 'ctest-vn-51046212', 'tenant_id': '60ad7726da714ebcb4b9a79701ac999b', 'project_id': '60ad7726da714ebcb4b9a79701ac999b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7f29d966-5358-4b94-8f89-ab93572e9e60'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28852993', 'ctest-vn-51046212'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-28852993', 'ctest-policy-allow-all-43760447']], 'subnet_ipam': [{'subnet_cidr': '142.176.26.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-28 21:35:49,609 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '087f0cf2-b656-4076-9bee-28df11c3a742', 'name': 'ctest-vn-20974083', 'tenant_id': '60ad7726da714ebcb4b9a79701ac999b', 'project_id': '60ad7726da714ebcb4b9a79701ac999b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['fb66c341-d5b6-47a1-990a-d0d181e2282b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28852993', 'ctest-vn-20974083'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-28852993', 'ctest-policy-allow-all-43760447']], 'subnet_ipam': [{'subnet_cidr': '144.114.38.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-28 21:35:49,775 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-10-28 21:35:50,077 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-10-28 21:35:50,111 - DEBUG - Requesting: http://10.0.0.50:8082/domain/1e82cc31-586f-421e-8cb3-f0fd1a180994 2025-10-28 21:35:50,123 - DEBUG - Requesting: http://10.0.0.50:8082/project/60ad7726-da71-4ebc-b4b9-a79701ac999b 2025-10-28 21:35:50,192 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/3d1e23f4-c3d1-424b-84b9-8ac7822f1e76 2025-10-28 21:35:50,202 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/3d1e23f4-c3d1-424b-84b9-8ac7822f1e76 2025-10-28 21:35:50,210 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a5cc1a0c-ea87-4143-884b-62597a48d067 2025-10-28 21:35:50,216 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a5cc1a0c-ea87-4143-884b-62597a48d067 2025-10-28 21:35:50,222 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/10d259a1-b9aa-4ecb-8e6a-d581707478b2 2025-10-28 21:35:50,227 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-28 21:35:50,227 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/3d1e23f4-c3d1-424b-84b9-8ac7822f1e76 2025-10-28 21:35:50,234 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a5cc1a0c-ea87-4143-884b-62597a48d067 2025-10-28 21:35:50,245 - INFO - Verified VN network id 12 for VN 3d1e23f4-c3d1-424b-84b9-8ac7822f1e76 2025-10-28 21:35:50,245 - INFO - Verifications in API Server for VN ctest-vn-51046212 passed 2025-10-28 21:35:50,245 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/3d1e23f4-c3d1-424b-84b9-8ac7822f1e76 2025-10-28 21:35:50,254 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a5cc1a0c-ea87-4143-884b-62597a48d067 2025-10-28 21:35:50,259 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a5cc1a0c-ea87-4143-884b-62597a48d067 2025-10-28 21:35:50,264 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/10d259a1-b9aa-4ecb-8e6a-d581707478b2 2025-10-28 21:35:50,274 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-28852993:ctest-vn-51046212', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-28852993', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4403997019779187275', 'uuid-lslong': '9563827873185209974'}, 'enable': 'true', 'created': '2025-10-28T21:35:48', 'last-modified': '2025-10-28T21:35:49', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.923896'} 2025-10-28 21:35:50,279 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-28 21:35:50,279 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-51046212 passed 2025-10-28 21:35:50,280 - DEBUG - ====Verifying policy data for ctest-vn-51046212 in API_Server ====== 2025-10-28 21:35:50,280 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-10-28 21:35:50,284 - DEBUG - Requesting: http://10.0.0.50:8082/domain/1e82cc31-586f-421e-8cb3-f0fd1a180994 2025-10-28 21:35:50,293 - DEBUG - Requesting: http://10.0.0.50:8082/project/60ad7726-da71-4ebc-b4b9-a79701ac999b 2025-10-28 21:35:50,361 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/3d1e23f4-c3d1-424b-84b9-8ac7822f1e76 2025-10-28 21:35:50,371 - DEBUG - ==>Verifying data for policy with id: 991a392d-a0df-47a7-b239-ff95c1fa83de, fqn: ['default-domain', 'ctest-TestBasicPolicy-28852993', 'ctest-policy-allow-all-43760447'] 2025-10-28 21:35:50,371 - INFO - VN ctest-vn-51046212 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-28 21:35:50,371 - DEBUG - Verifying the vn in opserver 2025-10-28 21:35:50,371 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-28852993:ctest-vn-51046212 virtual network link through opserver 10.0.0.50 2025-10-28 21:35:50,371 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-10-28 21:35:50,670 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-10-28 21:35:50,733 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-28852993:ctest-vn-51046212', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-28852993:ctest-vn-51046212?flat'} 2025-10-28 21:35:50,733 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-28852993:ctest-vn-51046212 is found in opserver 2025-10-28 21:35:50,743 - DEBUG - Do not have enough data to verify VN in agent 2025-10-28 21:35:50,752 - DEBUG - VRF ids for VN ctest-vn-51046212: {} 2025-10-28 21:35:50,752 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-10-28 21:35:50,758 - DEBUG - Requesting: http://10.0.0.50:8082/domain/1e82cc31-586f-421e-8cb3-f0fd1a180994 2025-10-28 21:35:50,772 - DEBUG - Requesting: http://10.0.0.50:8082/project/60ad7726-da71-4ebc-b4b9-a79701ac999b 2025-10-28 21:35:50,846 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/087f0cf2-b656-4076-9bee-28df11c3a742 2025-10-28 21:35:50,858 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/087f0cf2-b656-4076-9bee-28df11c3a742 2025-10-28 21:35:50,867 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/37fcf34b-15c8-4246-8295-9cfcc7fb8337 2025-10-28 21:35:50,874 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/37fcf34b-15c8-4246-8295-9cfcc7fb8337 2025-10-28 21:35:50,880 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/4b31ed70-112c-460f-a912-597ccb64d5e4 2025-10-28 21:35:50,885 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-28 21:35:50,885 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/087f0cf2-b656-4076-9bee-28df11c3a742 2025-10-28 21:35:50,894 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/37fcf34b-15c8-4246-8295-9cfcc7fb8337 2025-10-28 21:35:50,906 - INFO - Verified VN network id 13 for VN 087f0cf2-b656-4076-9bee-28df11c3a742 2025-10-28 21:35:50,906 - INFO - Verifications in API Server for VN ctest-vn-20974083 passed 2025-10-28 21:35:50,906 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/087f0cf2-b656-4076-9bee-28df11c3a742 2025-10-28 21:35:50,914 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/37fcf34b-15c8-4246-8295-9cfcc7fb8337 2025-10-28 21:35:50,920 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/37fcf34b-15c8-4246-8295-9cfcc7fb8337 2025-10-28 21:35:50,926 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/4b31ed70-112c-460f-a912-597ccb64d5e4 2025-10-28 21:35:50,936 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-28852993:ctest-vn-20974083', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-28852993', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '612222310926401654', 'uuid-lslong': '11235963058876819266'}, 'enable': 'true', 'created': '2025-10-28T21:35:48', 'last-modified': '2025-10-28T21:35:49', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.356564'} 2025-10-28 21:35:50,940 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-28 21:35:50,940 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-20974083 passed 2025-10-28 21:35:50,940 - DEBUG - ====Verifying policy data for ctest-vn-20974083 in API_Server ====== 2025-10-28 21:35:50,941 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-10-28 21:35:50,945 - DEBUG - Requesting: http://10.0.0.50:8082/domain/1e82cc31-586f-421e-8cb3-f0fd1a180994 2025-10-28 21:35:50,955 - DEBUG - Requesting: http://10.0.0.50:8082/project/60ad7726-da71-4ebc-b4b9-a79701ac999b 2025-10-28 21:35:51,022 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/087f0cf2-b656-4076-9bee-28df11c3a742 2025-10-28 21:35:51,031 - DEBUG - ==>Verifying data for policy with id: 991a392d-a0df-47a7-b239-ff95c1fa83de, fqn: ['default-domain', 'ctest-TestBasicPolicy-28852993', 'ctest-policy-allow-all-43760447'] 2025-10-28 21:35:51,031 - INFO - VN ctest-vn-20974083 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-28 21:35:51,031 - DEBUG - Verifying the vn in opserver 2025-10-28 21:35:51,031 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-28852993:ctest-vn-20974083 virtual network link through opserver 10.0.0.50 2025-10-28 21:35:51,031 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-10-28 21:35:51,040 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-28852993:ctest-vn-20974083', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-28852993:ctest-vn-20974083?flat'} 2025-10-28 21:35:51,040 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-28852993:ctest-vn-20974083 is found in opserver 2025-10-28 21:35:51,048 - DEBUG - Do not have enough data to verify VN in agent 2025-10-28 21:35:51,052 - DEBUG - VRF ids for VN ctest-vn-20974083: {} 2025-10-28 21:35:51,104 - DEBUG - Services list from nova: [, , ] 2025-10-28 21:35:52,092 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4518-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4518-1) 2025-10-28 21:35:53,183 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4518-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4518-1) 2025-10-28 21:35:53,183 - INFO - Waiting for VM ctest-TestBasicPolicy-28852993-44156289 to be up.. 2025-10-28 21:35:53,270 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-28 21:35:58,338 - DEBUG - VM is in ACTIVE state now 2025-10-28 21:35:58,338 - INFO - VM name : ctest-TestBasicPolicy-28852993-44156289 2025-10-28 21:35:58,407 - DEBUG - VM ctest-TestBasicPolicy-28852993-44156289 ID is 2b60e117-c523-4399-badf-4cc818911109 2025-10-28 21:35:58,424 - DEBUG - VM ctest-TestBasicPolicy-28852993-44156289 launched on Node cn-jenkins-deploy-platform-ansible-os-4518-1 2025-10-28 21:35:58,503 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/2b60e117-c523-4399-badf-4cc818911109 2025-10-28 21:35:58,511 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/63399685-49f5-4b29-b316-47b5c0736fe1 2025-10-28 21:36:01,766 - 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 1011ms') 2025-10-28 21:36:01,766 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-28852993-44156289 failed! 2025-10-28 21:36:01,819 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-28852993:ctest-vn-51046212 is 142.176.26.1 and allocation pool is NOT set 2025-10-28 21:36:03,881 - 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.618 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.618/2.055/3.493/1.437 ms') 2025-10-28 21:36:03,881 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-28852993-44156289 passed 2025-10-28 21:36:04,031 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-28 21:36:04,031 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-28852993-44156289, IP 142.176.26.3, Port 22 2025-10-28 21:36:04,191 - DEBUG - VM ctest-TestBasicPolicy-28852993-44156289 is ready for SSH connections 2025-10-28 21:36:04,191 - INFO - Waiting for VM ctest-TestBasicPolicy-28852993-85238266 to be up.. 2025-10-28 21:36:04,262 - DEBUG - VM is in ACTIVE state now 2025-10-28 21:36:04,262 - INFO - VM name : ctest-TestBasicPolicy-28852993-85238266 2025-10-28 21:36:04,333 - DEBUG - VM ctest-TestBasicPolicy-28852993-85238266 ID is 785f79c7-f089-4f9a-ac86-dbdc5fe6ffc8 2025-10-28 21:36:04,333 - DEBUG - VM ctest-TestBasicPolicy-28852993-85238266 launched on Node cn-jenkins-deploy-platform-ansible-os-4518-1 2025-10-28 21:36:04,399 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/785f79c7-f089-4f9a-ac86-dbdc5fe6ffc8 2025-10-28 21:36:04,408 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/6d3e06ec-5490-400e-8153-771157a02956 2025-10-28 21:36:05,647 - 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.24 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.548 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.548/1.895/3.242/1.347 ms') 2025-10-28 21:36:05,647 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-28852993-85238266 passed 2025-10-28 21:36:05,803 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-28 21:36:05,803 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-28852993-85238266, IP 144.114.38.131, Port 22 2025-10-28 21:36:05,981 - DEBUG - VM ctest-TestBasicPolicy-28852993-85238266 is ready for SSH connections 2025-10-28 21:36:05,981 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-28 21:36:05,982 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 144.114.38.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-10-28 21:36:05,982 - DEBUG - ping -s 56 -c 3 -W 1 144.114.38.131 2025-10-28 21:36:09,668 - DEBUG - PING 144.114.38.131 (144.114.38.131): 56 data bytes 64 bytes from 144.114.38.131: seq=0 ttl=63 time=3.426 ms 64 bytes from 144.114.38.131: seq=1 ttl=63 time=0.974 ms 64 bytes from 144.114.38.131: seq=2 ttl=63 time=0.863 ms --- 144.114.38.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.863/1.754/3.426 ms 2025-10-28 21:36:09,668 - INFO - Ping to IP 144.114.38.131 from VM ctest-TestBasicPolicy-28852993-44156289 passed 2025-10-28 21:36:09,847 - DEBUG - Policy Update Response {"network-policy": {"uuid": "991a392d-a0df-47a7-b239-ff95c1fa83de", "href": "http://10.0.0.50:8082/network-policy/991a392d-a0df-47a7-b239-ff95c1fa83de"}} 2025-10-28 21:36:09,847 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-28 21:36:09,847 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 144.114.38.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-10-28 21:36:09,847 - DEBUG - ping -s 56 -c 3 -W 1 144.114.38.131 2025-10-28 21:36:13,056 - DEBUG - PING 144.114.38.131 (144.114.38.131): 56 data bytes --- 144.114.38.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-28 21:36:13,056 - WARNING - Ping to IP 144.114.38.131 from VM ctest-TestBasicPolicy-28852993-44156289 failed 2025-10-28 21:36:13,056 - INFO - Deleting VM ctest-TestBasicPolicy-28852993-85238266 2025-10-28 21:36:13,121 - INFO - Deleting VM ctest-TestBasicPolicy-28852993-44156289 2025-10-28 21:36:13,462 - INFO - Deleted policy ctest-policy-allow-all-43760447 2025-10-28 21:36:13,462 - INFO - Deleting VN ctest-vn-20974083 2025-10-28 21:36:13,492 - DEBUG - VN 087f0cf2-b656-4076-9bee-28df11c3a742 still in use: Unable to complete operation on network 087f0cf2-b656-4076-9bee-28df11c3a742. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7a3f66e7-fd78-4037-8517-712844d13a6d'] 2025-10-28 21:36:13,492 - WARNING - Deleting VN ctest-vn-20974083 failed..Will retry 2025-10-28 21:36:15,591 - DEBUG - Response for deleting network () 2025-10-28 21:36:15,591 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/37fcf34b-15c8-4246-8295-9cfcc7fb8337 2025-10-28 21:36:15,596 - DEBUG - Response Code: 404 2025-10-28 21:36:15,596 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-10-28 21:36:15,601 - DEBUG - Requesting: http://10.0.0.50:8082/domain/1e82cc31-586f-421e-8cb3-f0fd1a180994 2025-10-28 21:36:15,656 - DEBUG - Requesting: http://10.0.0.50:8082/project/60ad7726-da71-4ebc-b4b9-a79701ac999b 2025-10-28 21:36:15,723 - INFO - Validated that VN ctest-vn-20974083 is not found in API Server 2025-10-28 21:36:15,732 - DEBUG - VN ctest-vn-20974083 is not present in Agent 10.0.0.50 2025-10-28 21:36:15,732 - INFO - Validated that VN ctest-vn-20974083 is not in any agent 2025-10-28 21:36:15,744 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-20974083 info 2025-10-28 21:36:15,744 - INFO - Deleting VN ctest-vn-51046212 2025-10-28 21:36:15,843 - DEBUG - Response for deleting network () 2025-10-28 21:36:15,843 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a5cc1a0c-ea87-4143-884b-62597a48d067 2025-10-28 21:36:15,850 - DEBUG - Response Code: 404 2025-10-28 21:36:15,850 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-10-28 21:36:15,854 - DEBUG - Requesting: http://10.0.0.50:8082/domain/1e82cc31-586f-421e-8cb3-f0fd1a180994 2025-10-28 21:36:15,908 - DEBUG - Requesting: http://10.0.0.50:8082/project/60ad7726-da71-4ebc-b4b9-a79701ac999b 2025-10-28 21:36:15,974 - INFO - Validated that VN ctest-vn-51046212 is not found in API Server 2025-10-28 21:36:15,982 - DEBUG - VN ctest-vn-51046212 is not present in Agent 10.0.0.50 2025-10-28 21:36:15,982 - INFO - Validated that VN ctest-vn-51046212 is not in any agent 2025-10-28 21:36:15,993 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-51046212 info 2025-10-28 21:36:16,248 - DEBUG - No XMPP flaps were noticed during the test
2025-10-28 21:36:16,248 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-10-28 21:36:16,248 - INFO - -------------------------------------------------------------------------------- 2025-10-28 21:36:16,902 - INFO - Deleted project: ctest-TestBasicPolicy-28852993, ID : 60ad7726-da71-4ebc-b4b9-a79701ac999b