2025-03-30 21:01:26,338 - INFO - Domain Default found not creating 2025-03-30 21:01:26,503 - INFO - Project ctest-TestBasicPolicy-87688871 not found, creating it 2025-03-30 21:01:27,009 - INFO - Created Project:ctest-TestBasicPolicy-87688871, ID : 60c1fdba-3c10-4b26-a3e8-2f52c509783f 2025-03-30 21:01:28,569 - INFO - ================================================================================ 2025-03-30 21:01:28,569 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-03-30 21:01:28,569 - 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-03-30 21:01:28,833 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.11': '0'}} with 2025-03-30 21:01:28,834 - INFO - Initial checks done. Running the testcase now 2025-03-30 21:01:28,834 - INFO - 2025-03-30 21:01:29,446 - DEBUG - Response for create_network : {'network': {'id': '40537f4e-f727-4847-932c-7c6ff3a6b393', 'name': 'ctest-vn-90616090', 'tenant_id': '60c1fdba3c104b26a3e82f52c509783f', 'project_id': '60c1fdba3c104b26a3e82f52c509783f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-87688871', 'ctest-vn-90616090'], 'port_security_enabled': True, 'description': ''}} 2025-03-30 21:01:29,677 - DEBUG - Response for create_subnet : {'subnet': {'id': '936a6784-8067-46d3-ae67-2ddd6dba9b77', 'name': '', 'tenant_id': '60c1fdba3c104b26a3e82f52c509783f', 'network_id': '40537f4e-f727-4847-932c-7c6ff3a6b393', 'ip_version': 4, 'cidr': '166.215.191.192/26', 'allocation_pools': [{'start': '166.215.191.194', 'end': '166.215.191.254'}], 'gateway_ip': '166.215.191.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '166.215.191.194', 'tags': [], 'project_id': '60c1fdba3c104b26a3e82f52c509783f'}} 2025-03-30 21:01:29,701 - INFO - Created VN ctest-vn-90616090 2025-03-30 21:01:29,757 - DEBUG - VN ctest-vn-90616090 UUID is 40537f4e-f727-4847-932c-7c6ff3a6b393 2025-03-30 21:01:30,068 - DEBUG - Response for create_network : {'network': {'id': '4082ac21-4c13-42dc-a5f5-28c8fb20bc57', 'name': 'ctest-vn-50432971', 'tenant_id': '60c1fdba3c104b26a3e82f52c509783f', 'project_id': '60c1fdba3c104b26a3e82f52c509783f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-87688871', 'ctest-vn-50432971'], 'port_security_enabled': True, 'description': ''}} 2025-03-30 21:01:30,294 - DEBUG - Response for create_subnet : {'subnet': {'id': '135aed1c-b630-4573-b049-c59b7e955b87', 'name': '', 'tenant_id': '60c1fdba3c104b26a3e82f52c509783f', 'network_id': '4082ac21-4c13-42dc-a5f5-28c8fb20bc57', 'ip_version': 4, 'cidr': '219.121.150.0/26', 'allocation_pools': [{'start': '219.121.150.2', 'end': '219.121.150.62'}], 'gateway_ip': '219.121.150.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '219.121.150.2', 'tags': [], 'project_id': '60c1fdba3c104b26a3e82f52c509783f'}} 2025-03-30 21:01:30,315 - INFO - Created VN ctest-vn-50432971 2025-03-30 21:01:30,369 - DEBUG - VN ctest-vn-50432971 UUID is 4082ac21-4c13-42dc-a5f5-28c8fb20bc57 2025-03-30 21:01:30,490 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-87688871:ctest-vn-90616090, 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-87688871:ctest-vn-50432971, 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-03-30 21:01:30,793 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '40537f4e-f727-4847-932c-7c6ff3a6b393', 'name': 'ctest-vn-90616090', 'tenant_id': '60c1fdba3c104b26a3e82f52c509783f', 'project_id': '60c1fdba3c104b26a3e82f52c509783f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['936a6784-8067-46d3-ae67-2ddd6dba9b77'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-87688871', 'ctest-vn-90616090'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-87688871', 'ctest-policy-allow-all-71215193']], 'subnet_ipam': [{'subnet_cidr': '166.215.191.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-03-30 21:01:31,048 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4082ac21-4c13-42dc-a5f5-28c8fb20bc57', 'name': 'ctest-vn-50432971', 'tenant_id': '60c1fdba3c104b26a3e82f52c509783f', 'project_id': '60c1fdba3c104b26a3e82f52c509783f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['135aed1c-b630-4573-b049-c59b7e955b87'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-87688871', 'ctest-vn-50432971'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-87688871', 'ctest-policy-allow-all-71215193']], 'subnet_ipam': [{'subnet_cidr': '219.121.150.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-03-30 21:01:31,229 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-03-30 21:01:31,547 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-03-30 21:01:31,579 - DEBUG - Requesting: http://10.0.0.22:8082/domain/e9b01fc4-a740-4c1a-9be4-6b6ca53a385a 2025-03-30 21:01:31,595 - DEBUG - Requesting: http://10.0.0.22:8082/project/60c1fdba-3c10-4b26-a3e8-2f52c509783f 2025-03-30 21:01:31,678 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/40537f4e-f727-4847-932c-7c6ff3a6b393 2025-03-30 21:01:31,692 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/40537f4e-f727-4847-932c-7c6ff3a6b393 2025-03-30 21:01:31,704 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/5573bcde-481b-43da-95a6-bb7703c1a526 2025-03-30 21:01:31,714 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/5573bcde-481b-43da-95a6-bb7703c1a526 2025-03-30 21:01:31,722 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/067039dd-c4e0-490b-85ac-9651f6e78f5d 2025-03-30 21:01:31,729 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-03-30 21:01:31,729 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/40537f4e-f727-4847-932c-7c6ff3a6b393 2025-03-30 21:01:31,740 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/5573bcde-481b-43da-95a6-bb7703c1a526 2025-03-30 21:01:31,757 - INFO - Verified VN network id 8 for VN 40537f4e-f727-4847-932c-7c6ff3a6b393 2025-03-30 21:01:31,758 - INFO - Verifications in API Server for VN ctest-vn-90616090 passed 2025-03-30 21:01:31,758 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/40537f4e-f727-4847-932c-7c6ff3a6b393 2025-03-30 21:01:31,771 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/5573bcde-481b-43da-95a6-bb7703c1a526 2025-03-30 21:01:31,779 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/5573bcde-481b-43da-95a6-bb7703c1a526 2025-03-30 21:01:31,788 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/067039dd-c4e0-490b-85ac-9651f6e78f5d 2025-03-30 21:01:31,802 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-87688871:ctest-vn-90616090', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-87688871', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4635188418625095751', 'uuid-lslong': '10604988042821677971'}, 'enable': 'true', 'created': '2025-03-30T21:01:29', 'last-modified': '2025-03-30T21:01:30', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.030990'} 2025-03-30 21:01:31,810 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-03-30 21:01:31,810 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-90616090 passed 2025-03-30 21:01:31,810 - DEBUG - ====Verifying policy data for ctest-vn-90616090 in API_Server ====== 2025-03-30 21:01:31,810 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-03-30 21:01:31,816 - DEBUG - Requesting: http://10.0.0.22:8082/domain/e9b01fc4-a740-4c1a-9be4-6b6ca53a385a 2025-03-30 21:01:31,829 - DEBUG - Requesting: http://10.0.0.22:8082/project/60c1fdba-3c10-4b26-a3e8-2f52c509783f 2025-03-30 21:01:31,908 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/40537f4e-f727-4847-932c-7c6ff3a6b393 2025-03-30 21:01:31,919 - DEBUG - ==>Verifying data for policy with id: 575b2639-2448-4f9f-a1c4-35afceb88468, fqn: ['default-domain', 'ctest-TestBasicPolicy-87688871', 'ctest-policy-allow-all-71215193'] 2025-03-30 21:01:31,919 - INFO - VN ctest-vn-90616090 Policy verification: verify_vn_policy_in_api_server, status: True 2025-03-30 21:01:31,919 - DEBUG - Verifying the vn in opserver 2025-03-30 21:01:31,919 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-87688871:ctest-vn-90616090 virtual network link through opserver 10.0.0.22 2025-03-30 21:01:31,919 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-03-30 21:01:32,231 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-03-30 21:01:32,298 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-87688871:ctest-vn-90616090', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-87688871:ctest-vn-90616090?flat'} 2025-03-30 21:01:32,298 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-87688871:ctest-vn-90616090 is found in opserver 2025-03-30 21:01:32,310 - DEBUG - Do not have enough data to verify VN in agent 2025-03-30 21:01:32,316 - DEBUG - VRF ids for VN ctest-vn-90616090: {} 2025-03-30 21:01:32,316 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-03-30 21:01:32,324 - DEBUG - Requesting: http://10.0.0.22:8082/domain/e9b01fc4-a740-4c1a-9be4-6b6ca53a385a 2025-03-30 21:01:32,338 - DEBUG - Requesting: http://10.0.0.22:8082/project/60c1fdba-3c10-4b26-a3e8-2f52c509783f 2025-03-30 21:01:32,419 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/4082ac21-4c13-42dc-a5f5-28c8fb20bc57 2025-03-30 21:01:32,433 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/4082ac21-4c13-42dc-a5f5-28c8fb20bc57 2025-03-30 21:01:32,444 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/3521fe35-ef5b-4e25-ae30-0e964653bf8a 2025-03-30 21:01:32,451 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/3521fe35-ef5b-4e25-ae30-0e964653bf8a 2025-03-30 21:01:32,459 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/c393b408-7374-4a4b-be4f-f0208b81b1ad 2025-03-30 21:01:32,466 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-03-30 21:01:32,466 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/4082ac21-4c13-42dc-a5f5-28c8fb20bc57 2025-03-30 21:01:32,478 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/3521fe35-ef5b-4e25-ae30-0e964653bf8a 2025-03-30 21:01:32,492 - INFO - Verified VN network id 9 for VN 4082ac21-4c13-42dc-a5f5-28c8fb20bc57 2025-03-30 21:01:32,493 - INFO - Verifications in API Server for VN ctest-vn-50432971 passed 2025-03-30 21:01:32,493 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/4082ac21-4c13-42dc-a5f5-28c8fb20bc57 2025-03-30 21:01:32,503 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/3521fe35-ef5b-4e25-ae30-0e964653bf8a 2025-03-30 21:01:32,511 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/3521fe35-ef5b-4e25-ae30-0e964653bf8a 2025-03-30 21:01:32,521 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/c393b408-7374-4a4b-be4f-f0208b81b1ad 2025-03-30 21:01:32,534 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-87688871:ctest-vn-50432971', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-87688871', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4648467024410002140', 'uuid-lslong': '11958509229224016983'}, 'enable': 'true', 'created': '2025-03-30T21:01:30', 'last-modified': '2025-03-30T21:01:31', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.513842'} 2025-03-30 21:01:32,541 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-03-30 21:01:32,541 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-50432971 passed 2025-03-30 21:01:32,542 - DEBUG - ====Verifying policy data for ctest-vn-50432971 in API_Server ====== 2025-03-30 21:01:32,542 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-03-30 21:01:32,548 - DEBUG - Requesting: http://10.0.0.22:8082/domain/e9b01fc4-a740-4c1a-9be4-6b6ca53a385a 2025-03-30 21:01:32,561 - DEBUG - Requesting: http://10.0.0.22:8082/project/60c1fdba-3c10-4b26-a3e8-2f52c509783f 2025-03-30 21:01:32,638 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/4082ac21-4c13-42dc-a5f5-28c8fb20bc57 2025-03-30 21:01:32,649 - DEBUG - ==>Verifying data for policy with id: 575b2639-2448-4f9f-a1c4-35afceb88468, fqn: ['default-domain', 'ctest-TestBasicPolicy-87688871', 'ctest-policy-allow-all-71215193'] 2025-03-30 21:01:32,649 - INFO - VN ctest-vn-50432971 Policy verification: verify_vn_policy_in_api_server, status: True 2025-03-30 21:01:32,649 - DEBUG - Verifying the vn in opserver 2025-03-30 21:01:32,649 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-87688871:ctest-vn-50432971 virtual network link through opserver 10.0.0.22 2025-03-30 21:01:32,650 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-03-30 21:01:32,662 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-87688871:ctest-vn-50432971', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-87688871:ctest-vn-50432971?flat'} 2025-03-30 21:01:32,662 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-87688871:ctest-vn-50432971 is found in opserver 2025-03-30 21:01:32,675 - DEBUG - Do not have enough data to verify VN in agent 2025-03-30 21:01:32,681 - DEBUG - VRF ids for VN ctest-vn-50432971: {} 2025-03-30 21:01:32,747 - DEBUG - Services list from nova: [, , ] 2025-03-30 21:01:33,807 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3009-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3009-1) 2025-03-30 21:01:35,103 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3009-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3009-1) 2025-03-30 21:01:35,103 - INFO - Waiting for VM ctest-TestBasicPolicy-87688871-92347444 to be up.. 2025-03-30 21:01:35,183 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-03-30 21:01:40,270 - DEBUG - VM is in ACTIVE state now 2025-03-30 21:01:40,271 - INFO - VM name : ctest-TestBasicPolicy-87688871-92347444 2025-03-30 21:01:40,356 - DEBUG - VM ctest-TestBasicPolicy-87688871-92347444 ID is 6ce173c5-9a81-4fe0-8daf-aabebf0e9225 2025-03-30 21:01:40,377 - DEBUG - VM ctest-TestBasicPolicy-87688871-92347444 launched on Node cn-jenkins-deploy-platform-ansible-os-3009-1 2025-03-30 21:01:40,463 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/6ce173c5-9a81-4fe0-8daf-aabebf0e9225 2025-03-30 21:01:40,475 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/2b363121-b86e-4ea4-bbf1-d125781a9928 2025-03-30 21:01:43,752 - 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 1014ms') 2025-03-30 21:01:43,752 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-87688871-92347444 failed! 2025-03-30 21:01:43,817 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-87688871:ctest-vn-90616090 is 166.215.191.193 and allocation pool is NOT set 2025-03-30 21:01:45,882 - 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=8.39 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=5.17 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 = 5.172/6.779/8.387/1.607 ms') 2025-03-30 21:01:45,882 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-87688871-92347444 passed 2025-03-30 21:01:46,045 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-30 21:01:46,045 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-87688871-92347444, IP 166.215.191.195, Port 22 2025-03-30 21:01:46,208 - DEBUG - VM ctest-TestBasicPolicy-87688871-92347444 is ready for SSH connections 2025-03-30 21:01:46,208 - INFO - Waiting for VM ctest-TestBasicPolicy-87688871-31185015 to be up.. 2025-03-30 21:01:46,301 - DEBUG - VM is in ACTIVE state now 2025-03-30 21:01:46,301 - INFO - VM name : ctest-TestBasicPolicy-87688871-31185015 2025-03-30 21:01:46,390 - DEBUG - VM ctest-TestBasicPolicy-87688871-31185015 ID is 0ea9cee1-7735-431d-86f3-74390fbbac6e 2025-03-30 21:01:46,390 - DEBUG - VM ctest-TestBasicPolicy-87688871-31185015 launched on Node cn-jenkins-deploy-platform-ansible-os-3009-1 2025-03-30 21:01:46,483 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/0ea9cee1-7735-431d-86f3-74390fbbac6e 2025-03-30 21:01:46,498 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/b38fa90c-feba-4485-8fe1-ec9a4055808b 2025-03-30 21:01:47,756 - 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=5.11 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.980 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.980/3.043/5.106/2.063 ms') 2025-03-30 21:01:47,756 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-87688871-31185015 passed 2025-03-30 21:01:47,913 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-30 21:01:47,913 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-87688871-31185015, IP 219.121.150.3, Port 22 2025-03-30 21:01:48,068 - DEBUG - VM ctest-TestBasicPolicy-87688871-31185015 is ready for SSH connections 2025-03-30 21:01:48,068 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-30 21:01:48,068 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 219.121.150.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-03-30 21:01:48,068 - DEBUG - ping -s 56 -c 3 -W 1 219.121.150.3 2025-03-30 21:01:51,790 - DEBUG - PING 219.121.150.3 (219.121.150.3): 56 data bytes 64 bytes from 219.121.150.3: seq=0 ttl=63 time=4.550 ms 64 bytes from 219.121.150.3: seq=1 ttl=63 time=1.121 ms 64 bytes from 219.121.150.3: seq=2 ttl=63 time=0.813 ms --- 219.121.150.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.813/2.161/4.550 ms 2025-03-30 21:01:51,790 - INFO - Ping to IP 219.121.150.3 from VM ctest-TestBasicPolicy-87688871-92347444 passed 2025-03-30 21:01:51,985 - DEBUG - Policy Update Response {"network-policy": {"uuid": "575b2639-2448-4f9f-a1c4-35afceb88468", "href": "http://10.0.0.22:8082/network-policy/575b2639-2448-4f9f-a1c4-35afceb88468"}} 2025-03-30 21:01:51,985 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-30 21:01:51,985 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 219.121.150.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-03-30 21:01:51,985 - DEBUG - ping -s 56 -c 3 -W 1 219.121.150.3 2025-03-30 21:01:55,208 - DEBUG - PING 219.121.150.3 (219.121.150.3): 56 data bytes 64 bytes from 219.121.150.3: seq=0 ttl=63 time=1.531 ms --- 219.121.150.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.531/1.531/1.531 ms 2025-03-30 21:01:55,209 - WARNING - Ping to IP 219.121.150.3 from VM ctest-TestBasicPolicy-87688871-92347444 failed 2025-03-30 21:01:55,209 - INFO - Deleting VM ctest-TestBasicPolicy-87688871-31185015 2025-03-30 21:01:55,279 - INFO - Deleting VM ctest-TestBasicPolicy-87688871-92347444 2025-03-30 21:01:55,691 - INFO - Deleted policy ctest-policy-allow-all-71215193 2025-03-30 21:01:55,692 - INFO - Deleting VN ctest-vn-50432971 2025-03-30 21:01:55,732 - DEBUG - VN 4082ac21-4c13-42dc-a5f5-28c8fb20bc57 still in use: Unable to complete operation on network 4082ac21-4c13-42dc-a5f5-28c8fb20bc57. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4e59ed3b-ce76-4972-9f61-5683f74a58e3'] 2025-03-30 21:01:55,733 - WARNING - Deleting VN ctest-vn-50432971 failed..Will retry 2025-03-30 21:01:57,863 - DEBUG - Response for deleting network () 2025-03-30 21:01:57,863 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/3521fe35-ef5b-4e25-ae30-0e964653bf8a 2025-03-30 21:01:57,875 - DEBUG - Response Code: 404 2025-03-30 21:01:57,875 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-03-30 21:01:57,881 - DEBUG - Requesting: http://10.0.0.22:8082/domain/e9b01fc4-a740-4c1a-9be4-6b6ca53a385a 2025-03-30 21:01:57,936 - DEBUG - Requesting: http://10.0.0.22:8082/project/60c1fdba-3c10-4b26-a3e8-2f52c509783f 2025-03-30 21:01:58,011 - INFO - Validated that VN ctest-vn-50432971 is not found in API Server 2025-03-30 21:01:58,023 - DEBUG - VN ctest-vn-50432971 is not present in Agent 10.0.0.22 2025-03-30 21:01:58,023 - INFO - Validated that VN ctest-vn-50432971 is not in any agent 2025-03-30 21:01:58,041 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-50432971 info 2025-03-30 21:01:58,041 - INFO - Deleting VN ctest-vn-90616090 2025-03-30 21:01:58,160 - DEBUG - Response for deleting network () 2025-03-30 21:01:58,160 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/5573bcde-481b-43da-95a6-bb7703c1a526 2025-03-30 21:01:58,170 - DEBUG - Response Code: 404 2025-03-30 21:01:58,170 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-03-30 21:01:58,177 - DEBUG - Requesting: http://10.0.0.22:8082/domain/e9b01fc4-a740-4c1a-9be4-6b6ca53a385a 2025-03-30 21:01:58,236 - DEBUG - Requesting: http://10.0.0.22:8082/project/60c1fdba-3c10-4b26-a3e8-2f52c509783f 2025-03-30 21:01:58,314 - INFO - Validated that VN ctest-vn-90616090 is not found in API Server 2025-03-30 21:01:58,326 - DEBUG - VN ctest-vn-90616090 is not present in Agent 10.0.0.22 2025-03-30 21:01:58,326 - INFO - Validated that VN ctest-vn-90616090 is not in any agent 2025-03-30 21:01:58,343 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-90616090 info 2025-03-30 21:01:58,600 - DEBUG - No XMPP flaps were noticed during the test 2025-03-30 21:01:58,600 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-03-30 21:01:58,600 - INFO - -------------------------------------------------------------------------------- 2025-03-30 21:01:59,332 - INFO - Deleted project: ctest-TestBasicPolicy-87688871, ID : 60c1fdba-3c10-4b26-a3e8-2f52c509783f