2025-10-02 10:36:38,744 - INFO - Domain Default found not creating 2025-10-02 10:36:38,897 - INFO - Project ctest-TestBasicPolicy-97628381 not found, creating it 2025-10-02 10:36:39,401 - INFO - Created Project:ctest-TestBasicPolicy-97628381, ID : 9a167eca-de87-458f-9f06-4f498b932468 2025-10-02 10:36:40,905 - INFO - ================================================================================ 2025-10-02 10:36:40,905 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-02 10:36:40,905 - 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-02 10:36:41,184 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-10-02 10:36:41,184 - INFO - Initial checks done. Running the testcase now 2025-10-02 10:36:41,184 - INFO - 2025-10-02 10:36:41,771 - DEBUG - Response for create_network : {'network': {'id': '48c9cda5-4c21-4967-b329-f83b815ddea5', 'name': 'ctest-vn-41295371', 'tenant_id': '9a167ecade87458f9f064f498b932468', 'project_id': '9a167ecade87458f9f064f498b932468', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97628381', 'ctest-vn-41295371'], 'port_security_enabled': True, 'description': ''}} 2025-10-02 10:36:41,984 - DEBUG - Response for create_subnet : {'subnet': {'id': '75dcb0c5-aae2-4399-b2b3-055428adb965', 'name': '', 'tenant_id': '9a167ecade87458f9f064f498b932468', 'network_id': '48c9cda5-4c21-4967-b329-f83b815ddea5', 'ip_version': 4, 'cidr': '117.152.252.64/26', 'allocation_pools': [{'start': '117.152.252.66', 'end': '117.152.252.126'}], 'gateway_ip': '117.152.252.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '117.152.252.66', 'tags': [], 'project_id': '9a167ecade87458f9f064f498b932468'}} 2025-10-02 10:36:42,004 - INFO - Created VN ctest-vn-41295371 2025-10-02 10:36:42,056 - DEBUG - VN ctest-vn-41295371 UUID is 48c9cda5-4c21-4967-b329-f83b815ddea5 2025-10-02 10:36:42,340 - DEBUG - Response for create_network : {'network': {'id': '80ea528b-1d32-4745-a995-32e250cbe4ef', 'name': 'ctest-vn-93925784', 'tenant_id': '9a167ecade87458f9f064f498b932468', 'project_id': '9a167ecade87458f9f064f498b932468', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97628381', 'ctest-vn-93925784'], 'port_security_enabled': True, 'description': ''}} 2025-10-02 10:36:42,521 - DEBUG - Response for create_subnet : {'subnet': {'id': '06764db3-c80a-44ca-b540-e8d78d5128e6', 'name': '', 'tenant_id': '9a167ecade87458f9f064f498b932468', 'network_id': '80ea528b-1d32-4745-a995-32e250cbe4ef', 'ip_version': 4, 'cidr': '144.5.213.128/26', 'allocation_pools': [{'start': '144.5.213.130', 'end': '144.5.213.190'}], 'gateway_ip': '144.5.213.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '144.5.213.130', 'tags': [], 'project_id': '9a167ecade87458f9f064f498b932468'}} 2025-10-02 10:36:42,541 - INFO - Created VN ctest-vn-93925784 2025-10-02 10:36:42,592 - DEBUG - VN ctest-vn-93925784 UUID is 80ea528b-1d32-4745-a995-32e250cbe4ef 2025-10-02 10:36:42,725 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-97628381:ctest-vn-41295371, 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-97628381:ctest-vn-93925784, 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-02 10:36:43,020 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '48c9cda5-4c21-4967-b329-f83b815ddea5', 'name': 'ctest-vn-41295371', 'tenant_id': '9a167ecade87458f9f064f498b932468', 'project_id': '9a167ecade87458f9f064f498b932468', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['75dcb0c5-aae2-4399-b2b3-055428adb965'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97628381', 'ctest-vn-41295371'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-97628381', 'ctest-policy-allow-all-37894387']], 'subnet_ipam': [{'subnet_cidr': '117.152.252.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-02 10:36:43,250 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '80ea528b-1d32-4745-a995-32e250cbe4ef', 'name': 'ctest-vn-93925784', 'tenant_id': '9a167ecade87458f9f064f498b932468', 'project_id': '9a167ecade87458f9f064f498b932468', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['06764db3-c80a-44ca-b540-e8d78d5128e6'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97628381', 'ctest-vn-93925784'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-97628381', 'ctest-policy-allow-all-37894387']], 'subnet_ipam': [{'subnet_cidr': '144.5.213.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-02 10:36:43,424 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-02 10:36:43,733 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-02 10:36:43,767 - DEBUG - Requesting: http://10.0.0.38:8082/domain/86d76833-02f1-4e41-b822-96b155b48b0e 2025-10-02 10:36:43,783 - DEBUG - Requesting: http://10.0.0.38:8082/project/9a167eca-de87-458f-9f06-4f498b932468 2025-10-02 10:36:43,864 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/48c9cda5-4c21-4967-b329-f83b815ddea5 2025-10-02 10:36:43,875 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/48c9cda5-4c21-4967-b329-f83b815ddea5 2025-10-02 10:36:43,884 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6c750fe3-b834-44b5-ba18-0dfdb20d45e3 2025-10-02 10:36:43,892 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6c750fe3-b834-44b5-ba18-0dfdb20d45e3 2025-10-02 10:36:43,900 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/e30481bc-2f82-4c42-bc0a-26c57bc1236c 2025-10-02 10:36:43,907 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-02 10:36:43,907 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/48c9cda5-4c21-4967-b329-f83b815ddea5 2025-10-02 10:36:43,917 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6c750fe3-b834-44b5-ba18-0dfdb20d45e3 2025-10-02 10:36:43,936 - INFO - Verified VN network id 12 for VN 48c9cda5-4c21-4967-b329-f83b815ddea5 2025-10-02 10:36:43,936 - INFO - Verifications in API Server for VN ctest-vn-41295371 passed 2025-10-02 10:36:43,937 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/48c9cda5-4c21-4967-b329-f83b815ddea5 2025-10-02 10:36:43,946 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6c750fe3-b834-44b5-ba18-0dfdb20d45e3 2025-10-02 10:36:43,953 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6c750fe3-b834-44b5-ba18-0dfdb20d45e3 2025-10-02 10:36:43,961 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/e30481bc-2f82-4c42-bc0a-26c57bc1236c 2025-10-02 10:36:43,975 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-97628381:ctest-vn-41295371', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-97628381', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5244949350880201063', 'uuid-lslong': '12910122741291409061'}, 'enable': 'true', 'created': '2025-10-02T10:36:41', 'last-modified': '2025-10-02T10:36:42', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.972302'} 2025-10-02 10:36:43,982 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-02 10:36:43,982 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-41295371 passed 2025-10-02 10:36:43,982 - DEBUG - ====Verifying policy data for ctest-vn-41295371 in API_Server ====== 2025-10-02 10:36:43,982 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-02 10:36:43,989 - DEBUG - Requesting: http://10.0.0.38:8082/domain/86d76833-02f1-4e41-b822-96b155b48b0e 2025-10-02 10:36:44,000 - DEBUG - Requesting: http://10.0.0.38:8082/project/9a167eca-de87-458f-9f06-4f498b932468 2025-10-02 10:36:44,076 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/48c9cda5-4c21-4967-b329-f83b815ddea5 2025-10-02 10:36:44,087 - DEBUG - ==>Verifying data for policy with id: 4553d1c5-0930-4059-927a-9eb14d903a37, fqn: ['default-domain', 'ctest-TestBasicPolicy-97628381', 'ctest-policy-allow-all-37894387'] 2025-10-02 10:36:44,087 - INFO - VN ctest-vn-41295371 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-02 10:36:44,087 - DEBUG - Verifying the vn in opserver 2025-10-02 10:36:44,087 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-97628381:ctest-vn-41295371 virtual network link through opserver 10.0.0.38 2025-10-02 10:36:44,087 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-10-02 10:36:44,394 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-10-02 10:36:44,461 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-97628381:ctest-vn-41295371', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-97628381:ctest-vn-41295371?flat'} 2025-10-02 10:36:44,461 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-97628381:ctest-vn-41295371 is found in opserver 2025-10-02 10:36:44,472 - DEBUG - Do not have enough data to verify VN in agent 2025-10-02 10:36:44,477 - DEBUG - VRF ids for VN ctest-vn-41295371: {} 2025-10-02 10:36:44,477 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-02 10:36:44,483 - DEBUG - Requesting: http://10.0.0.38:8082/domain/86d76833-02f1-4e41-b822-96b155b48b0e 2025-10-02 10:36:44,494 - DEBUG - Requesting: http://10.0.0.38:8082/project/9a167eca-de87-458f-9f06-4f498b932468 2025-10-02 10:36:44,568 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/80ea528b-1d32-4745-a995-32e250cbe4ef 2025-10-02 10:36:44,582 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/80ea528b-1d32-4745-a995-32e250cbe4ef 2025-10-02 10:36:44,594 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c75e9a52-b3e3-443d-9a1b-4d5860dc1bd9 2025-10-02 10:36:44,603 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c75e9a52-b3e3-443d-9a1b-4d5860dc1bd9 2025-10-02 10:36:44,611 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/a13924a6-d370-4a86-b42d-27c7ee5f3601 2025-10-02 10:36:44,619 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-02 10:36:44,620 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/80ea528b-1d32-4745-a995-32e250cbe4ef 2025-10-02 10:36:44,630 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c75e9a52-b3e3-443d-9a1b-4d5860dc1bd9 2025-10-02 10:36:44,646 - INFO - Verified VN network id 13 for VN 80ea528b-1d32-4745-a995-32e250cbe4ef 2025-10-02 10:36:44,646 - INFO - Verifications in API Server for VN ctest-vn-93925784 passed 2025-10-02 10:36:44,646 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/80ea528b-1d32-4745-a995-32e250cbe4ef 2025-10-02 10:36:44,656 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c75e9a52-b3e3-443d-9a1b-4d5860dc1bd9 2025-10-02 10:36:44,665 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c75e9a52-b3e3-443d-9a1b-4d5860dc1bd9 2025-10-02 10:36:44,674 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/a13924a6-d370-4a86-b42d-27c7ee5f3601 2025-10-02 10:36:44,686 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-97628381:ctest-vn-93925784', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-97628381', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9289327938848835397', 'uuid-lslong': '12219729111539246319'}, 'enable': 'true', 'created': '2025-10-02T10:36:42', 'last-modified': '2025-10-02T10:36:43', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.458133'} 2025-10-02 10:36:44,692 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-02 10:36:44,692 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-93925784 passed 2025-10-02 10:36:44,692 - DEBUG - ====Verifying policy data for ctest-vn-93925784 in API_Server ====== 2025-10-02 10:36:44,692 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-02 10:36:44,699 - DEBUG - Requesting: http://10.0.0.38:8082/domain/86d76833-02f1-4e41-b822-96b155b48b0e 2025-10-02 10:36:44,711 - DEBUG - Requesting: http://10.0.0.38:8082/project/9a167eca-de87-458f-9f06-4f498b932468 2025-10-02 10:36:44,791 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/80ea528b-1d32-4745-a995-32e250cbe4ef 2025-10-02 10:36:44,803 - DEBUG - ==>Verifying data for policy with id: 4553d1c5-0930-4059-927a-9eb14d903a37, fqn: ['default-domain', 'ctest-TestBasicPolicy-97628381', 'ctest-policy-allow-all-37894387'] 2025-10-02 10:36:44,803 - INFO - VN ctest-vn-93925784 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-02 10:36:44,803 - DEBUG - Verifying the vn in opserver 2025-10-02 10:36:44,803 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-97628381:ctest-vn-93925784 virtual network link through opserver 10.0.0.38 2025-10-02 10:36:44,803 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-10-02 10:36:44,814 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-97628381:ctest-vn-93925784', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-97628381:ctest-vn-93925784?flat'} 2025-10-02 10:36:44,814 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-97628381:ctest-vn-93925784 is found in opserver 2025-10-02 10:36:44,825 - DEBUG - Do not have enough data to verify VN in agent 2025-10-02 10:36:44,829 - DEBUG - VRF ids for VN ctest-vn-93925784: {} 2025-10-02 10:36:44,892 - DEBUG - Services list from nova: [, , ] 2025-10-02 10:36:45,963 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4212-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4212-1) 2025-10-02 10:36:47,173 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4212-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4212-1) 2025-10-02 10:36:47,176 - INFO - Waiting for VM ctest-TestBasicPolicy-97628381-85695813 to be up.. 2025-10-02 10:36:47,264 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-02 10:36:52,350 - DEBUG - VM is in ACTIVE state now 2025-10-02 10:36:52,350 - INFO - VM name : ctest-TestBasicPolicy-97628381-85695813 2025-10-02 10:36:52,436 - DEBUG - VM ctest-TestBasicPolicy-97628381-85695813 ID is 0bbff4b2-9eda-45b3-941b-a12afed3f718 2025-10-02 10:36:52,458 - DEBUG - VM ctest-TestBasicPolicy-97628381-85695813 launched on Node cn-jenkins-deploy-platform-ansible-os-4212-1 2025-10-02 10:36:52,540 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/0bbff4b2-9eda-45b3-941b-a12afed3f718 2025-10-02 10:36:52,549 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/44aca385-9221-4b56-b061-06962fade3c6 2025-10-02 10:36:55,778 - 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 1002ms') 2025-10-02 10:36:55,778 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-97628381-85695813 failed! 2025-10-02 10:36:55,836 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-97628381:ctest-vn-41295371 is 117.152.252.65 and allocation pool is NOT set 2025-10-02 10:36:57,895 - 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=9.97 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.967 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.967/5.467/9.968/4.500 ms') 2025-10-02 10:36:57,895 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-97628381-85695813 passed 2025-10-02 10:36:58,048 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-02 10:36:58,048 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-97628381-85695813, IP 117.152.252.67, Port 22 2025-10-02 10:36:58,208 - DEBUG - VM ctest-TestBasicPolicy-97628381-85695813 is ready for SSH connections 2025-10-02 10:36:58,208 - INFO - Waiting for VM ctest-TestBasicPolicy-97628381-48978641 to be up.. 2025-10-02 10:36:58,288 - DEBUG - VM is in ACTIVE state now 2025-10-02 10:36:58,288 - INFO - VM name : ctest-TestBasicPolicy-97628381-48978641 2025-10-02 10:36:58,363 - DEBUG - VM ctest-TestBasicPolicy-97628381-48978641 ID is 3755f3c6-36a6-46a9-812a-b0980671f2d0 2025-10-02 10:36:58,363 - DEBUG - VM ctest-TestBasicPolicy-97628381-48978641 launched on Node cn-jenkins-deploy-platform-ansible-os-4212-1 2025-10-02 10:36:58,445 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/3755f3c6-36a6-46a9-812a-b0980671f2d0 2025-10-02 10:36:58,454 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/04ea5795-d2c0-48d6-8304-30aa54709d20 2025-10-02 10:36:59,692 - 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.11 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.950 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.950/2.028/3.106/1.078 ms') 2025-10-02 10:36:59,692 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-97628381-48978641 passed 2025-10-02 10:36:59,844 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-02 10:36:59,844 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-97628381-48978641, IP 144.5.213.131, Port 22 2025-10-02 10:37:00,018 - DEBUG - VM ctest-TestBasicPolicy-97628381-48978641 is ready for SSH connections 2025-10-02 10:37:00,018 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-02 10:37:00,018 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 144.5.213.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-02 10:37:00,018 - DEBUG - ping -s 56 -c 3 -W 1 144.5.213.131 2025-10-02 10:37:04,095 - DEBUG - PING 144.5.213.131 (144.5.213.131): 56 data bytes 64 bytes from 144.5.213.131: seq=0 ttl=63 time=3.944 ms 64 bytes from 144.5.213.131: seq=1 ttl=63 time=1.302 ms 64 bytes from 144.5.213.131: seq=2 ttl=63 time=1.114 ms --- 144.5.213.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.114/2.120/3.944 ms 2025-10-02 10:37:04,095 - INFO - Ping to IP 144.5.213.131 from VM ctest-TestBasicPolicy-97628381-85695813 passed 2025-10-02 10:37:04,272 - DEBUG - Policy Update Response {"network-policy": {"uuid": "4553d1c5-0930-4059-927a-9eb14d903a37", "href": "http://10.0.0.38:8082/network-policy/4553d1c5-0930-4059-927a-9eb14d903a37"}} 2025-10-02 10:37:04,272 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-02 10:37:04,272 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 144.5.213.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-02 10:37:04,272 - DEBUG - ping -s 56 -c 3 -W 1 144.5.213.131 2025-10-02 10:37:07,493 - DEBUG - PING 144.5.213.131 (144.5.213.131): 56 data bytes --- 144.5.213.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-02 10:37:07,493 - WARNING - Ping to IP 144.5.213.131 from VM ctest-TestBasicPolicy-97628381-85695813 failed 2025-10-02 10:37:07,493 - INFO - Deleting VM ctest-TestBasicPolicy-97628381-48978641 2025-10-02 10:37:07,569 - INFO - Deleting VM ctest-TestBasicPolicy-97628381-85695813 2025-10-02 10:37:07,962 - INFO - Deleted policy ctest-policy-allow-all-37894387 2025-10-02 10:37:07,962 - INFO - Deleting VN ctest-vn-93925784 2025-10-02 10:37:08,009 - DEBUG - VN 80ea528b-1d32-4745-a995-32e250cbe4ef still in use: Unable to complete operation on network 80ea528b-1d32-4745-a995-32e250cbe4ef. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9a30307f-6f94-4049-9ad7-a92205fb3bf6'] 2025-10-02 10:37:08,009 - WARNING - Deleting VN ctest-vn-93925784 failed..Will retry 2025-10-02 10:37:10,118 - DEBUG - Response for deleting network () 2025-10-02 10:37:10,119 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c75e9a52-b3e3-443d-9a1b-4d5860dc1bd9 2025-10-02 10:37:10,124 - DEBUG - Response Code: 404 2025-10-02 10:37:10,125 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-02 10:37:10,131 - DEBUG - Requesting: http://10.0.0.38:8082/domain/86d76833-02f1-4e41-b822-96b155b48b0e 2025-10-02 10:37:10,187 - DEBUG - Requesting: http://10.0.0.38:8082/project/9a167eca-de87-458f-9f06-4f498b932468 2025-10-02 10:37:10,257 - INFO - Validated that VN ctest-vn-93925784 is not found in API Server 2025-10-02 10:37:10,266 - DEBUG - VN ctest-vn-93925784 is not present in Agent 10.0.0.38 2025-10-02 10:37:10,266 - INFO - Validated that VN ctest-vn-93925784 is not in any agent 2025-10-02 10:37:10,280 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-93925784 info 2025-10-02 10:37:10,280 - INFO - Deleting VN ctest-vn-41295371 2025-10-02 10:37:10,389 - DEBUG - Response for deleting network () 2025-10-02 10:37:10,389 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6c750fe3-b834-44b5-ba18-0dfdb20d45e3 2025-10-02 10:37:10,400 - DEBUG - Response Code: 404 2025-10-02 10:37:10,400 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-02 10:37:10,406 - DEBUG - Requesting: http://10.0.0.38:8082/domain/86d76833-02f1-4e41-b822-96b155b48b0e 2025-10-02 10:37:10,462 - DEBUG - Requesting: http://10.0.0.38:8082/project/9a167eca-de87-458f-9f06-4f498b932468 2025-10-02 10:37:10,538 - INFO - Validated that VN ctest-vn-41295371 is not found in API Server 2025-10-02 10:37:10,547 - DEBUG - VN ctest-vn-41295371 is not present in Agent 10.0.0.38 2025-10-02 10:37:10,547 - INFO - Validated that VN ctest-vn-41295371 is not in any agent 2025-10-02 10:37:10,560 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-41295371 info 2025-10-02 10:37:10,817 - DEBUG - No XMPP flaps were noticed during the test
2025-10-02 10:37:10,818 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-10-02 10:37:10,818 - INFO - -------------------------------------------------------------------------------- 2025-10-02 10:37:11,507 - INFO - Deleted project: ctest-TestBasicPolicy-97628381, ID : 9a167eca-de87-458f-9f06-4f498b932468