2025-04-11 14:58:38,880 - INFO - Domain Default found not creating 2025-04-11 14:58:39,053 - INFO - Project ctest-TestBasicPolicy-40589692 not found, creating it 2025-04-11 14:58:39,547 - INFO - Created Project:ctest-TestBasicPolicy-40589692, ID : a0144888-f670-45e3-91c4-23becfe8666b 2025-04-11 14:58:41,090 - INFO - ================================================================================ 2025-04-11 14:58:41,091 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-04-11 14:58:41,091 - 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-04-11 14:58:41,351 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-04-11 14:58:41,351 - INFO - Initial checks done. Running the testcase now 2025-04-11 14:58:41,351 - INFO - 2025-04-11 14:58:41,936 - DEBUG - Response for create_network : {'network': {'id': '6351e54e-3d44-4e12-8d20-7a2c846d5abc', 'name': 'ctest-vn-49642978', 'tenant_id': 'a0144888f67045e391c423becfe8666b', 'project_id': 'a0144888f67045e391c423becfe8666b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40589692', 'ctest-vn-49642978'], 'port_security_enabled': True, 'description': ''}} 2025-04-11 14:58:42,115 - DEBUG - Response for create_subnet : {'subnet': {'id': '8617d89d-e70f-45d6-be2d-f2694c4868c5', 'name': '', 'tenant_id': 'a0144888f67045e391c423becfe8666b', 'network_id': '6351e54e-3d44-4e12-8d20-7a2c846d5abc', 'ip_version': 4, 'cidr': '205.154.72.0/26', 'allocation_pools': [{'start': '205.154.72.2', 'end': '205.154.72.62'}], 'gateway_ip': '205.154.72.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '205.154.72.2', 'tags': [], 'project_id': 'a0144888f67045e391c423becfe8666b'}} 2025-04-11 14:58:42,134 - INFO - Created VN ctest-vn-49642978 2025-04-11 14:58:42,187 - DEBUG - VN ctest-vn-49642978 UUID is 6351e54e-3d44-4e12-8d20-7a2c846d5abc 2025-04-11 14:58:42,511 - DEBUG - Response for create_network : {'network': {'id': 'f8be0c1e-f20a-4e06-8796-012be195b46c', 'name': 'ctest-vn-90169196', 'tenant_id': 'a0144888f67045e391c423becfe8666b', 'project_id': 'a0144888f67045e391c423becfe8666b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40589692', 'ctest-vn-90169196'], 'port_security_enabled': True, 'description': ''}} 2025-04-11 14:58:42,715 - DEBUG - Response for create_subnet : {'subnet': {'id': '0400a71d-711f-4f64-8eaa-1482c08a05ec', 'name': '', 'tenant_id': 'a0144888f67045e391c423becfe8666b', 'network_id': 'f8be0c1e-f20a-4e06-8796-012be195b46c', 'ip_version': 4, 'cidr': '89.40.64.128/26', 'allocation_pools': [{'start': '89.40.64.130', 'end': '89.40.64.190'}], 'gateway_ip': '89.40.64.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '89.40.64.130', 'tags': [], 'project_id': 'a0144888f67045e391c423becfe8666b'}} 2025-04-11 14:58:42,734 - INFO - Created VN ctest-vn-90169196 2025-04-11 14:58:42,791 - DEBUG - VN ctest-vn-90169196 UUID is f8be0c1e-f20a-4e06-8796-012be195b46c 2025-04-11 14:58:42,914 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-40589692:ctest-vn-49642978, 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-40589692:ctest-vn-90169196, 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-04-11 14:58:43,222 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6351e54e-3d44-4e12-8d20-7a2c846d5abc', 'name': 'ctest-vn-49642978', 'tenant_id': 'a0144888f67045e391c423becfe8666b', 'project_id': 'a0144888f67045e391c423becfe8666b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8617d89d-e70f-45d6-be2d-f2694c4868c5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40589692', 'ctest-vn-49642978'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-40589692', 'ctest-policy-allow-all-90585694']], 'subnet_ipam': [{'subnet_cidr': '205.154.72.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-11 14:58:43,468 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f8be0c1e-f20a-4e06-8796-012be195b46c', 'name': 'ctest-vn-90169196', 'tenant_id': 'a0144888f67045e391c423becfe8666b', 'project_id': 'a0144888f67045e391c423becfe8666b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0400a71d-711f-4f64-8eaa-1482c08a05ec'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40589692', 'ctest-vn-90169196'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-40589692', 'ctest-policy-allow-all-90585694']], 'subnet_ipam': [{'subnet_cidr': '89.40.64.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-11 14:58:43,635 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-11 14:58:43,938 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-11 14:58:43,967 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d9f8fd0d-53f4-49f1-a222-b449fc2c3fe0 2025-04-11 14:58:43,981 - DEBUG - Requesting: http://10.0.0.38:8082/project/a0144888-f670-45e3-91c4-23becfe8666b 2025-04-11 14:58:44,058 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6351e54e-3d44-4e12-8d20-7a2c846d5abc 2025-04-11 14:58:44,071 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6351e54e-3d44-4e12-8d20-7a2c846d5abc 2025-04-11 14:58:44,082 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/36b6a3ae-d01a-4b35-9393-3d9fc7e4f791 2025-04-11 14:58:44,090 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/36b6a3ae-d01a-4b35-9393-3d9fc7e4f791 2025-04-11 14:58:44,098 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/f022343d-833f-445c-9524-3d010f885614 2025-04-11 14:58:44,106 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-11 14:58:44,107 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6351e54e-3d44-4e12-8d20-7a2c846d5abc 2025-04-11 14:58:44,117 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/36b6a3ae-d01a-4b35-9393-3d9fc7e4f791 2025-04-11 14:58:44,135 - INFO - Verified VN network id 8 for VN 6351e54e-3d44-4e12-8d20-7a2c846d5abc 2025-04-11 14:58:44,135 - INFO - Verifications in API Server for VN ctest-vn-49642978 passed 2025-04-11 14:58:44,136 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6351e54e-3d44-4e12-8d20-7a2c846d5abc 2025-04-11 14:58:44,147 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/36b6a3ae-d01a-4b35-9393-3d9fc7e4f791 2025-04-11 14:58:44,155 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/36b6a3ae-d01a-4b35-9393-3d9fc7e4f791 2025-04-11 14:58:44,164 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/f022343d-833f-445c-9524-3d010f885614 2025-04-11 14:58:44,178 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-40589692:ctest-vn-49642978', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-40589692', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7156753407066525202', 'uuid-lslong': '10169262290221488828'}, 'enable': 'true', 'created': '2025-04-11T14:58:41', 'last-modified': '2025-04-11T14:58:43', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.983301'} 2025-04-11 14:58:44,187 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-11 14:58:44,187 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-49642978 passed 2025-04-11 14:58:44,187 - DEBUG - ====Verifying policy data for ctest-vn-49642978 in API_Server ====== 2025-04-11 14:58:44,187 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-11 14:58:44,194 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d9f8fd0d-53f4-49f1-a222-b449fc2c3fe0 2025-04-11 14:58:44,209 - DEBUG - Requesting: http://10.0.0.38:8082/project/a0144888-f670-45e3-91c4-23becfe8666b 2025-04-11 14:58:44,288 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6351e54e-3d44-4e12-8d20-7a2c846d5abc 2025-04-11 14:58:44,302 - DEBUG - ==>Verifying data for policy with id: 20ac565c-c89f-4706-8440-e9f83b000055, fqn: ['default-domain', 'ctest-TestBasicPolicy-40589692', 'ctest-policy-allow-all-90585694'] 2025-04-11 14:58:44,303 - INFO - VN ctest-vn-49642978 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-11 14:58:44,303 - DEBUG - Verifying the vn in opserver 2025-04-11 14:58:44,303 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-40589692:ctest-vn-49642978 virtual network link through opserver 10.0.0.38 2025-04-11 14:58:44,303 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-04-11 14:58:44,616 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-04-11 14:58:44,675 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-40589692:ctest-vn-49642978', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-40589692:ctest-vn-49642978?flat'} 2025-04-11 14:58:44,675 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-40589692:ctest-vn-49642978 is found in opserver 2025-04-11 14:58:44,687 - DEBUG - Do not have enough data to verify VN in agent 2025-04-11 14:58:44,693 - DEBUG - VRF ids for VN ctest-vn-49642978: {} 2025-04-11 14:58:44,693 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-11 14:58:44,699 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d9f8fd0d-53f4-49f1-a222-b449fc2c3fe0 2025-04-11 14:58:44,713 - DEBUG - Requesting: http://10.0.0.38:8082/project/a0144888-f670-45e3-91c4-23becfe8666b 2025-04-11 14:58:44,795 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f8be0c1e-f20a-4e06-8796-012be195b46c 2025-04-11 14:58:44,808 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f8be0c1e-f20a-4e06-8796-012be195b46c 2025-04-11 14:58:44,819 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/74a89025-a764-42dd-abac-a6b45b4028fe 2025-04-11 14:58:44,827 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/74a89025-a764-42dd-abac-a6b45b4028fe 2025-04-11 14:58:44,835 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/ed3e408c-8c54-4057-bac2-1c74957dd4b3 2025-04-11 14:58:44,844 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-11 14:58:44,844 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f8be0c1e-f20a-4e06-8796-012be195b46c 2025-04-11 14:58:44,854 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/74a89025-a764-42dd-abac-a6b45b4028fe 2025-04-11 14:58:44,873 - INFO - Verified VN network id 9 for VN f8be0c1e-f20a-4e06-8796-012be195b46c 2025-04-11 14:58:44,873 - INFO - Verifications in API Server for VN ctest-vn-90169196 passed 2025-04-11 14:58:44,873 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f8be0c1e-f20a-4e06-8796-012be195b46c 2025-04-11 14:58:44,885 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/74a89025-a764-42dd-abac-a6b45b4028fe 2025-04-11 14:58:44,895 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/74a89025-a764-42dd-abac-a6b45b4028fe 2025-04-11 14:58:44,905 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/ed3e408c-8c54-4057-bac2-1c74957dd4b3 2025-04-11 14:58:44,919 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-40589692:ctest-vn-90169196', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-40589692', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17923776894030466566', 'uuid-lslong': '9769997729606775916'}, 'enable': 'true', 'created': '2025-04-11T14:58:42', 'last-modified': '2025-04-11T14:58:43', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.481453'} 2025-04-11 14:58:44,925 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-11 14:58:44,926 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-90169196 passed 2025-04-11 14:58:44,926 - DEBUG - ====Verifying policy data for ctest-vn-90169196 in API_Server ====== 2025-04-11 14:58:44,926 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-11 14:58:44,933 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d9f8fd0d-53f4-49f1-a222-b449fc2c3fe0 2025-04-11 14:58:44,945 - DEBUG - Requesting: http://10.0.0.38:8082/project/a0144888-f670-45e3-91c4-23becfe8666b 2025-04-11 14:58:45,022 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f8be0c1e-f20a-4e06-8796-012be195b46c 2025-04-11 14:58:45,033 - DEBUG - ==>Verifying data for policy with id: 20ac565c-c89f-4706-8440-e9f83b000055, fqn: ['default-domain', 'ctest-TestBasicPolicy-40589692', 'ctest-policy-allow-all-90585694'] 2025-04-11 14:58:45,033 - INFO - VN ctest-vn-90169196 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-11 14:58:45,033 - DEBUG - Verifying the vn in opserver 2025-04-11 14:58:45,033 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-40589692:ctest-vn-90169196 virtual network link through opserver 10.0.0.38 2025-04-11 14:58:45,033 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-04-11 14:58:45,045 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-40589692:ctest-vn-90169196', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-40589692:ctest-vn-90169196?flat'} 2025-04-11 14:58:45,045 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-40589692:ctest-vn-90169196 is found in opserver 2025-04-11 14:58:45,057 - DEBUG - Do not have enough data to verify VN in agent 2025-04-11 14:58:45,063 - DEBUG - VRF ids for VN ctest-vn-90169196: {} 2025-04-11 14:58:45,125 - DEBUG - Services list from nova: [, , ] 2025-04-11 14:58:46,195 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3079-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3079-1) 2025-04-11 14:58:47,567 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3079-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3079-1) 2025-04-11 14:58:47,567 - INFO - Waiting for VM ctest-TestBasicPolicy-40589692-60011113 to be up.. 2025-04-11 14:58:47,672 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-11 14:58:52,757 - DEBUG - VM is in ACTIVE state now 2025-04-11 14:58:52,758 - INFO - VM name : ctest-TestBasicPolicy-40589692-60011113 2025-04-11 14:58:52,845 - DEBUG - VM ctest-TestBasicPolicy-40589692-60011113 ID is 2fc12cbc-294a-41b3-a09c-e087cbc85925 2025-04-11 14:58:52,865 - DEBUG - VM ctest-TestBasicPolicy-40589692-60011113 launched on Node cn-jenkins-deploy-platform-ansible-os-3079-1 2025-04-11 14:58:52,954 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/2fc12cbc-294a-41b3-a09c-e087cbc85925 2025-04-11 14:58:52,966 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/25591e2e-3f02-4c24-b6f7-699bf9ce5f5e 2025-04-11 14:58:56,237 - 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 1012ms') 2025-04-11 14:58:56,237 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-40589692-60011113 failed! 2025-04-11 14:58:56,311 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-40589692:ctest-vn-49642978 is 205.154.72.1 and allocation pool is NOT set 2025-04-11 14:58:58,377 - 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.34 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.801 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.801/5.068/9.336/4.267 ms') 2025-04-11 14:58:58,378 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-40589692-60011113 passed 2025-04-11 14:58:58,531 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-11 14:58:58,532 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-40589692-60011113, IP 205.154.72.3, Port 22 2025-04-11 14:58:58,687 - DEBUG - VM ctest-TestBasicPolicy-40589692-60011113 is ready for SSH connections 2025-04-11 14:58:58,688 - INFO - Waiting for VM ctest-TestBasicPolicy-40589692-72685130 to be up.. 2025-04-11 14:58:58,773 - DEBUG - VM is in ACTIVE state now 2025-04-11 14:58:58,773 - INFO - VM name : ctest-TestBasicPolicy-40589692-72685130 2025-04-11 14:58:58,854 - DEBUG - VM ctest-TestBasicPolicy-40589692-72685130 ID is e71d1109-d11d-4114-8b39-a8824639c2fb 2025-04-11 14:58:58,855 - DEBUG - VM ctest-TestBasicPolicy-40589692-72685130 launched on Node cn-jenkins-deploy-platform-ansible-os-3079-1 2025-04-11 14:58:58,941 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/e71d1109-d11d-4114-8b39-a8824639c2fb 2025-04-11 14:58:58,951 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/d2f78fef-aa6a-4d9b-95d0-30d3b3184d4d 2025-04-11 14:59:00,219 - 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.42 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.721 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.721/2.072/3.424/1.351 ms') 2025-04-11 14:59:00,219 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-40589692-72685130 passed 2025-04-11 14:59:00,375 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-11 14:59:00,376 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-40589692-72685130, IP 89.40.64.131, Port 22 2025-04-11 14:59:00,531 - DEBUG - VM ctest-TestBasicPolicy-40589692-72685130 is ready for SSH connections 2025-04-11 14:59:00,531 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-11 14:59:00,531 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 89.40.64.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-04-11 14:59:00,531 - DEBUG - ping -s 56 -c 3 -W 1 89.40.64.131 2025-04-11 14:59:04,605 - DEBUG - PING 89.40.64.131 (89.40.64.131): 56 data bytes 64 bytes from 89.40.64.131: seq=0 ttl=63 time=4.324 ms 64 bytes from 89.40.64.131: seq=1 ttl=63 time=1.010 ms 64 bytes from 89.40.64.131: seq=2 ttl=63 time=0.873 ms --- 89.40.64.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.873/2.069/4.324 ms 2025-04-11 14:59:04,605 - INFO - Ping to IP 89.40.64.131 from VM ctest-TestBasicPolicy-40589692-60011113 passed 2025-04-11 14:59:04,787 - DEBUG - Policy Update Response {"network-policy": {"uuid": "20ac565c-c89f-4706-8440-e9f83b000055", "href": "http://10.0.0.38:8082/network-policy/20ac565c-c89f-4706-8440-e9f83b000055"}} 2025-04-11 14:59:04,787 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-11 14:59:04,788 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 89.40.64.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-04-11 14:59:04,788 - DEBUG - ping -s 56 -c 3 -W 1 89.40.64.131 2025-04-11 14:59:07,997 - DEBUG - PING 89.40.64.131 (89.40.64.131): 56 data bytes 64 bytes from 89.40.64.131: seq=0 ttl=63 time=2.634 ms --- 89.40.64.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 2.634/2.634/2.634 ms 2025-04-11 14:59:07,997 - WARNING - Ping to IP 89.40.64.131 from VM ctest-TestBasicPolicy-40589692-60011113 failed 2025-04-11 14:59:07,998 - INFO - Deleting VM ctest-TestBasicPolicy-40589692-72685130 2025-04-11 14:59:08,078 - INFO - Deleting VM ctest-TestBasicPolicy-40589692-60011113 2025-04-11 14:59:08,525 - INFO - Deleted policy ctest-policy-allow-all-90585694 2025-04-11 14:59:08,526 - INFO - Deleting VN ctest-vn-90169196 2025-04-11 14:59:08,586 - DEBUG - VN f8be0c1e-f20a-4e06-8796-012be195b46c still in use: Unable to complete operation on network f8be0c1e-f20a-4e06-8796-012be195b46c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9d55cc41-f8bd-42a4-9d64-e506b736c598'] 2025-04-11 14:59:08,586 - WARNING - Deleting VN ctest-vn-90169196 failed..Will retry 2025-04-11 14:59:10,882 - DEBUG - Response for deleting network () 2025-04-11 14:59:10,883 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/74a89025-a764-42dd-abac-a6b45b4028fe 2025-04-11 14:59:10,902 - DEBUG - Response Code: 404 2025-04-11 14:59:10,902 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-11 14:59:10,923 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d9f8fd0d-53f4-49f1-a222-b449fc2c3fe0 2025-04-11 14:59:10,993 - DEBUG - Requesting: http://10.0.0.38:8082/project/a0144888-f670-45e3-91c4-23becfe8666b 2025-04-11 14:59:11,102 - INFO - Validated that VN ctest-vn-90169196 is not found in API Server 2025-04-11 14:59:11,120 - DEBUG - VN ctest-vn-90169196 is not present in Agent 10.0.0.38 2025-04-11 14:59:11,120 - INFO - Validated that VN ctest-vn-90169196 is not in any agent 2025-04-11 14:59:11,153 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-90169196 info 2025-04-11 14:59:11,153 - INFO - Deleting VN ctest-vn-49642978 2025-04-11 14:59:11,288 - DEBUG - Response for deleting network () 2025-04-11 14:59:11,289 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/36b6a3ae-d01a-4b35-9393-3d9fc7e4f791 2025-04-11 14:59:11,297 - DEBUG - Response Code: 404 2025-04-11 14:59:11,297 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-11 14:59:11,304 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d9f8fd0d-53f4-49f1-a222-b449fc2c3fe0 2025-04-11 14:59:11,363 - DEBUG - Requesting: http://10.0.0.38:8082/project/a0144888-f670-45e3-91c4-23becfe8666b 2025-04-11 14:59:11,442 - INFO - Validated that VN ctest-vn-49642978 is not found in API Server 2025-04-11 14:59:11,455 - DEBUG - VN ctest-vn-49642978 is not present in Agent 10.0.0.38 2025-04-11 14:59:11,455 - INFO - Validated that VN ctest-vn-49642978 is not in any agent 2025-04-11 14:59:11,473 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-49642978 info 2025-04-11 14:59:11,730 - DEBUG - No XMPP flaps were noticed during the test 2025-04-11 14:59:11,730 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-04-11 14:59:11,730 - INFO - -------------------------------------------------------------------------------- 2025-04-11 14:59:12,458 - INFO - Deleted project: ctest-TestBasicPolicy-40589692, ID : a0144888-f670-45e3-91c4-23becfe8666b