2025-04-08 12:33:30,429 - INFO - Domain Default found not creating 2025-04-08 12:33:30,605 - INFO - Project ctest-TestBasicPolicy-95599950 not found, creating it 2025-04-08 12:33:31,120 - INFO - Created Project:ctest-TestBasicPolicy-95599950, ID : c2a9387f-6a36-4dbf-8001-0bdc395861a9 2025-04-08 12:33:32,731 - INFO - ================================================================================ 2025-04-08 12:33:32,731 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-04-08 12:33:32,731 - 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-08 12:33:32,990 - DEBUG - Nothing to compare xmpp stats {'10.0.0.12': {'10.20.0.13': '0'}} with 2025-04-08 12:33:32,991 - INFO - Initial checks done. Running the testcase now 2025-04-08 12:33:32,991 - INFO - 2025-04-08 12:33:33,598 - DEBUG - Response for create_network : {'network': {'id': '21ec1654-ada0-4fda-afc8-9f3371e267f2', 'name': 'ctest-vn-39304200', 'tenant_id': 'c2a9387f6a364dbf80010bdc395861a9', 'project_id': 'c2a9387f6a364dbf80010bdc395861a9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-95599950', 'ctest-vn-39304200'], 'port_security_enabled': True, 'description': ''}} 2025-04-08 12:33:33,814 - DEBUG - Response for create_subnet : {'subnet': {'id': '3f495d89-67b0-46ab-b719-5284f6df325b', 'name': '', 'tenant_id': 'c2a9387f6a364dbf80010bdc395861a9', 'network_id': '21ec1654-ada0-4fda-afc8-9f3371e267f2', 'ip_version': 4, 'cidr': '131.190.6.192/26', 'allocation_pools': [{'start': '131.190.6.194', 'end': '131.190.6.254'}], 'gateway_ip': '131.190.6.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '131.190.6.194', 'tags': [], 'project_id': 'c2a9387f6a364dbf80010bdc395861a9'}} 2025-04-08 12:33:33,835 - INFO - Created VN ctest-vn-39304200 2025-04-08 12:33:33,888 - DEBUG - VN ctest-vn-39304200 UUID is 21ec1654-ada0-4fda-afc8-9f3371e267f2 2025-04-08 12:33:34,242 - DEBUG - Response for create_network : {'network': {'id': '631dd5d4-17f0-4b42-8c03-c60c4eea2062', 'name': 'ctest-vn-84554176', 'tenant_id': 'c2a9387f6a364dbf80010bdc395861a9', 'project_id': 'c2a9387f6a364dbf80010bdc395861a9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-95599950', 'ctest-vn-84554176'], 'port_security_enabled': True, 'description': ''}} 2025-04-08 12:33:34,480 - DEBUG - Response for create_subnet : {'subnet': {'id': '172231f0-0613-4bed-87e6-5c340817c1c8', 'name': '', 'tenant_id': 'c2a9387f6a364dbf80010bdc395861a9', 'network_id': '631dd5d4-17f0-4b42-8c03-c60c4eea2062', 'ip_version': 4, 'cidr': '111.86.131.0/26', 'allocation_pools': [{'start': '111.86.131.2', 'end': '111.86.131.62'}], 'gateway_ip': '111.86.131.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '111.86.131.2', 'tags': [], 'project_id': 'c2a9387f6a364dbf80010bdc395861a9'}} 2025-04-08 12:33:34,503 - INFO - Created VN ctest-vn-84554176 2025-04-08 12:33:34,559 - DEBUG - VN ctest-vn-84554176 UUID is 631dd5d4-17f0-4b42-8c03-c60c4eea2062 2025-04-08 12:33:34,697 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-95599950:ctest-vn-39304200, 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-95599950:ctest-vn-84554176, 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-08 12:33:35,050 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '21ec1654-ada0-4fda-afc8-9f3371e267f2', 'name': 'ctest-vn-39304200', 'tenant_id': 'c2a9387f6a364dbf80010bdc395861a9', 'project_id': 'c2a9387f6a364dbf80010bdc395861a9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3f495d89-67b0-46ab-b719-5284f6df325b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-95599950', 'ctest-vn-39304200'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-95599950', 'ctest-policy-allow-all-46954285']], 'subnet_ipam': [{'subnet_cidr': '131.190.6.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-08 12:33:35,364 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '631dd5d4-17f0-4b42-8c03-c60c4eea2062', 'name': 'ctest-vn-84554176', 'tenant_id': 'c2a9387f6a364dbf80010bdc395861a9', 'project_id': 'c2a9387f6a364dbf80010bdc395861a9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['172231f0-0613-4bed-87e6-5c340817c1c8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-95599950', 'ctest-vn-84554176'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-95599950', 'ctest-policy-allow-all-46954285']], 'subnet_ipam': [{'subnet_cidr': '111.86.131.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-08 12:33:35,535 - DEBUG - Requesting: http://10.0.0.12:8082/domains 2025-04-08 12:33:35,839 - DEBUG - Requesting: http://10.0.0.12:8082/domains 2025-04-08 12:33:35,883 - DEBUG - Requesting: http://10.0.0.12:8082/domain/2b8d01b2-36ed-4e0b-9089-8bef09302285 2025-04-08 12:33:35,900 - DEBUG - Requesting: http://10.0.0.12:8082/project/c2a9387f-6a36-4dbf-8001-0bdc395861a9 2025-04-08 12:33:35,986 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-network/21ec1654-ada0-4fda-afc8-9f3371e267f2 2025-04-08 12:33:36,002 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-network/21ec1654-ada0-4fda-afc8-9f3371e267f2 2025-04-08 12:33:36,016 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/e32c0cb7-858e-4786-8778-193469d3dfee 2025-04-08 12:33:36,029 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/e32c0cb7-858e-4786-8778-193469d3dfee 2025-04-08 12:33:36,040 - DEBUG - Requesting: http://10.0.0.12:8082/route-target/5ad8fc57-ac29-4157-8d42-59909e8c7f97 2025-04-08 12:33:36,051 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-04-08 12:33:36,051 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-network/21ec1654-ada0-4fda-afc8-9f3371e267f2 2025-04-08 12:33:36,067 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/e32c0cb7-858e-4786-8778-193469d3dfee 2025-04-08 12:33:36,089 - INFO - Verified VN network id 9 for VN 21ec1654-ada0-4fda-afc8-9f3371e267f2 2025-04-08 12:33:36,089 - INFO - Verifications in API Server for VN ctest-vn-39304200 passed 2025-04-08 12:33:36,089 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-network/21ec1654-ada0-4fda-afc8-9f3371e267f2 2025-04-08 12:33:36,106 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/e32c0cb7-858e-4786-8778-193469d3dfee 2025-04-08 12:33:36,118 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/e32c0cb7-858e-4786-8778-193469d3dfee 2025-04-08 12:33:36,128 - DEBUG - Requesting: http://10.0.0.12:8082/route-target/5ad8fc57-ac29-4157-8d42-59909e8c7f97 2025-04-08 12:33:36,146 - DEBUG - Control-node 10.0.0.12 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-95599950:ctest-vn-39304200', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-95599950', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2444353250701365210', 'uuid-lslong': '12666548995282331634'}, 'enable': 'true', 'created': '2025-04-08T12:33:33', 'last-modified': '2025-04-08T12:33:35', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.121045'} 2025-04-08 12:33:36,156 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-04-08 12:33:36,156 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-39304200 passed 2025-04-08 12:33:36,156 - DEBUG - ====Verifying policy data for ctest-vn-39304200 in API_Server ====== 2025-04-08 12:33:36,156 - DEBUG - Requesting: http://10.0.0.12:8082/domains 2025-04-08 12:33:36,165 - DEBUG - Requesting: http://10.0.0.12:8082/domain/2b8d01b2-36ed-4e0b-9089-8bef09302285 2025-04-08 12:33:36,184 - DEBUG - Requesting: http://10.0.0.12:8082/project/c2a9387f-6a36-4dbf-8001-0bdc395861a9 2025-04-08 12:33:36,284 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-network/21ec1654-ada0-4fda-afc8-9f3371e267f2 2025-04-08 12:33:36,302 - DEBUG - ==>Verifying data for policy with id: 3fe0946f-acfc-4028-ac73-d43316458509, fqn: ['default-domain', 'ctest-TestBasicPolicy-95599950', 'ctest-policy-allow-all-46954285'] 2025-04-08 12:33:36,302 - INFO - VN ctest-vn-39304200 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-08 12:33:36,302 - DEBUG - Verifying the vn in opserver 2025-04-08 12:33:36,302 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-95599950:ctest-vn-39304200 virtual network link through opserver 10.0.0.12 2025-04-08 12:33:36,302 - DEBUG - Requesting: http://10.0.0.12:8081/analytics/uves/virtual-networks 2025-04-08 12:33:36,614 - DEBUG - Requesting: http://10.0.0.12:8081/analytics/uves/virtual-networks 2025-04-08 12:33:36,688 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-95599950:ctest-vn-39304200', 'href': 'http://10.0.0.12:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-95599950:ctest-vn-39304200?flat'} 2025-04-08 12:33:36,688 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-95599950:ctest-vn-39304200 is found in opserver 2025-04-08 12:33:36,703 - DEBUG - Do not have enough data to verify VN in agent 2025-04-08 12:33:36,711 - DEBUG - VRF ids for VN ctest-vn-39304200: {} 2025-04-08 12:33:36,711 - DEBUG - Requesting: http://10.0.0.12:8082/domains 2025-04-08 12:33:36,719 - DEBUG - Requesting: http://10.0.0.12:8082/domain/2b8d01b2-36ed-4e0b-9089-8bef09302285 2025-04-08 12:33:36,733 - DEBUG - Requesting: http://10.0.0.12:8082/project/c2a9387f-6a36-4dbf-8001-0bdc395861a9 2025-04-08 12:33:36,816 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-network/631dd5d4-17f0-4b42-8c03-c60c4eea2062 2025-04-08 12:33:36,834 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-network/631dd5d4-17f0-4b42-8c03-c60c4eea2062 2025-04-08 12:33:36,848 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/1271a78a-f1da-4739-9cfa-24172507b5e3 2025-04-08 12:33:36,860 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/1271a78a-f1da-4739-9cfa-24172507b5e3 2025-04-08 12:33:36,873 - DEBUG - Requesting: http://10.0.0.12:8082/route-target/2a620610-0788-4f75-aead-2b680b74cd1e 2025-04-08 12:33:36,883 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-08 12:33:36,883 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-network/631dd5d4-17f0-4b42-8c03-c60c4eea2062 2025-04-08 12:33:36,898 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/1271a78a-f1da-4739-9cfa-24172507b5e3 2025-04-08 12:33:36,921 - INFO - Verified VN network id 10 for VN 631dd5d4-17f0-4b42-8c03-c60c4eea2062 2025-04-08 12:33:36,921 - INFO - Verifications in API Server for VN ctest-vn-84554176 passed 2025-04-08 12:33:36,921 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-network/631dd5d4-17f0-4b42-8c03-c60c4eea2062 2025-04-08 12:33:36,937 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/1271a78a-f1da-4739-9cfa-24172507b5e3 2025-04-08 12:33:36,947 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/1271a78a-f1da-4739-9cfa-24172507b5e3 2025-04-08 12:33:36,959 - DEBUG - Requesting: http://10.0.0.12:8082/route-target/2a620610-0788-4f75-aead-2b680b74cd1e 2025-04-08 12:33:36,978 - DEBUG - Control-node 10.0.0.12 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-95599950:ctest-vn-84554176', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-95599950', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7142099690990881602', 'uuid-lslong': '10089125346405916770'}, 'enable': 'true', 'created': '2025-04-08T12:33:34', 'last-modified': '2025-04-08T12:33:35', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.688441'} 2025-04-08 12:33:36,986 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-08 12:33:36,987 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-84554176 passed 2025-04-08 12:33:36,987 - DEBUG - ====Verifying policy data for ctest-vn-84554176 in API_Server ====== 2025-04-08 12:33:36,987 - DEBUG - Requesting: http://10.0.0.12:8082/domains 2025-04-08 12:33:36,994 - DEBUG - Requesting: http://10.0.0.12:8082/domain/2b8d01b2-36ed-4e0b-9089-8bef09302285 2025-04-08 12:33:37,007 - DEBUG - Requesting: http://10.0.0.12:8082/project/c2a9387f-6a36-4dbf-8001-0bdc395861a9 2025-04-08 12:33:37,090 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-network/631dd5d4-17f0-4b42-8c03-c60c4eea2062 2025-04-08 12:33:37,103 - DEBUG - ==>Verifying data for policy with id: 3fe0946f-acfc-4028-ac73-d43316458509, fqn: ['default-domain', 'ctest-TestBasicPolicy-95599950', 'ctest-policy-allow-all-46954285'] 2025-04-08 12:33:37,103 - INFO - VN ctest-vn-84554176 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-08 12:33:37,103 - DEBUG - Verifying the vn in opserver 2025-04-08 12:33:37,103 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-95599950:ctest-vn-84554176 virtual network link through opserver 10.0.0.12 2025-04-08 12:33:37,103 - DEBUG - Requesting: http://10.0.0.12:8081/analytics/uves/virtual-networks 2025-04-08 12:33:37,116 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-95599950:ctest-vn-84554176', 'href': 'http://10.0.0.12:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-95599950:ctest-vn-84554176?flat'} 2025-04-08 12:33:37,116 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-95599950:ctest-vn-84554176 is found in opserver 2025-04-08 12:33:37,130 - DEBUG - Do not have enough data to verify VN in agent 2025-04-08 12:33:37,136 - DEBUG - VRF ids for VN ctest-vn-84554176: {} 2025-04-08 12:33:37,204 - DEBUG - Services list from nova: [, , ] 2025-04-08 12:33:38,510 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3050-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3050-1) 2025-04-08 12:33:39,877 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3050-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3050-1) 2025-04-08 12:33:39,878 - INFO - Waiting for VM ctest-TestBasicPolicy-95599950-59417817 to be up.. 2025-04-08 12:33:39,994 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-08 12:33:45,142 - DEBUG - VM is in ACTIVE state now 2025-04-08 12:33:45,143 - INFO - VM name : ctest-TestBasicPolicy-95599950-59417817 2025-04-08 12:33:45,245 - DEBUG - VM ctest-TestBasicPolicy-95599950-59417817 ID is 05a806d0-9691-4006-b9c7-cccfe00da849 2025-04-08 12:33:45,274 - DEBUG - VM ctest-TestBasicPolicy-95599950-59417817 launched on Node cn-jenkins-deploy-platform-ansible-os-3050-1 2025-04-08 12:33:45,380 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/05a806d0-9691-4006-b9c7-cccfe00da849 2025-04-08 12:33:45,393 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine-interface/3118e423-501c-4167-b187-cac8b9617c2c 2025-04-08 12:33:48,632 - 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 1025ms') 2025-04-08 12:33:48,632 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-95599950-59417817 failed! 2025-04-08 12:33:48,687 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-95599950:ctest-vn-39304200 is 131.190.6.193 and allocation pool is NOT set 2025-04-08 12:33:52,778 - 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=2 ttl=63 time=11.2 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1018ms\r\nrtt min/avg/max/mdev = 11.174/11.174/11.174/0.000 ms') 2025-04-08 12:33:52,778 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-95599950-59417817 passed 2025-04-08 12:33:52,935 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-08 12:33:52,935 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-95599950-59417817, IP 131.190.6.195, Port 22 2025-04-08 12:33:53,111 - DEBUG - VM ctest-TestBasicPolicy-95599950-59417817 is ready for SSH connections 2025-04-08 12:33:53,111 - INFO - Waiting for VM ctest-TestBasicPolicy-95599950-64279622 to be up.. 2025-04-08 12:33:53,217 - DEBUG - VM is in ACTIVE state now 2025-04-08 12:33:53,217 - INFO - VM name : ctest-TestBasicPolicy-95599950-64279622 2025-04-08 12:33:53,328 - DEBUG - VM ctest-TestBasicPolicy-95599950-64279622 ID is 89c82448-c139-4005-8dec-b7b3f7655c63 2025-04-08 12:33:53,328 - DEBUG - VM ctest-TestBasicPolicy-95599950-64279622 launched on Node cn-jenkins-deploy-platform-ansible-os-3050-1 2025-04-08 12:33:53,429 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/89c82448-c139-4005-8dec-b7b3f7655c63 2025-04-08 12:33:53,441 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine-interface/c069f755-66b6-4090-a7e9-5aea11710609 2025-04-08 12:33:54,701 - 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.34 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.571 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.571/1.954/3.338/1.383 ms') 2025-04-08 12:33:54,701 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-95599950-64279622 passed 2025-04-08 12:33:54,863 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-08 12:33:54,863 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-95599950-64279622, IP 111.86.131.3, Port 22 2025-04-08 12:33:55,019 - DEBUG - VM ctest-TestBasicPolicy-95599950-64279622 is ready for SSH connections 2025-04-08 12:33:55,019 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-08 12:33:55,020 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 111.86.131.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.12, gateway password: c0ntrail123 2025-04-08 12:33:55,020 - DEBUG - ping -s 56 -c 3 -W 1 111.86.131.3 2025-04-08 12:33:59,229 - DEBUG - PING 111.86.131.3 (111.86.131.3): 56 data bytes 64 bytes from 111.86.131.3: seq=0 ttl=63 time=5.125 ms 64 bytes from 111.86.131.3: seq=1 ttl=63 time=1.055 ms 64 bytes from 111.86.131.3: seq=2 ttl=63 time=1.517 ms --- 111.86.131.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.055/2.565/5.125 ms 2025-04-08 12:33:59,230 - INFO - Ping to IP 111.86.131.3 from VM ctest-TestBasicPolicy-95599950-59417817 passed 2025-04-08 12:33:59,419 - DEBUG - Policy Update Response {"network-policy": {"uuid": "3fe0946f-acfc-4028-ac73-d43316458509", "href": "http://10.0.0.12:8082/network-policy/3fe0946f-acfc-4028-ac73-d43316458509"}} 2025-04-08 12:33:59,419 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-08 12:33:59,419 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 111.86.131.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.12, gateway password: c0ntrail123 2025-04-08 12:33:59,419 - DEBUG - ping -s 56 -c 3 -W 1 111.86.131.3 2025-04-08 12:34:02,702 - DEBUG - PING 111.86.131.3 (111.86.131.3): 56 data bytes 64 bytes from 111.86.131.3: seq=0 ttl=63 time=2.760 ms --- 111.86.131.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 2.760/2.760/2.760 ms 2025-04-08 12:34:02,702 - WARNING - Ping to IP 111.86.131.3 from VM ctest-TestBasicPolicy-95599950-59417817 failed 2025-04-08 12:34:02,703 - INFO - Deleting VM ctest-TestBasicPolicy-95599950-64279622 2025-04-08 12:34:02,817 - INFO - Deleting VM ctest-TestBasicPolicy-95599950-59417817 2025-04-08 12:34:03,333 - INFO - Deleted policy ctest-policy-allow-all-46954285 2025-04-08 12:34:03,333 - INFO - Deleting VN ctest-vn-84554176 2025-04-08 12:34:03,384 - DEBUG - VN 631dd5d4-17f0-4b42-8c03-c60c4eea2062 still in use: Unable to complete operation on network 631dd5d4-17f0-4b42-8c03-c60c4eea2062. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6652bdd6-6bbc-4e84-96a0-95a60283dfa1'] 2025-04-08 12:34:03,385 - WARNING - Deleting VN ctest-vn-84554176 failed..Will retry 2025-04-08 12:34:05,539 - DEBUG - Response for deleting network () 2025-04-08 12:34:05,539 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/1271a78a-f1da-4739-9cfa-24172507b5e3 2025-04-08 12:34:05,551 - DEBUG - Response Code: 404 2025-04-08 12:34:05,552 - DEBUG - Requesting: http://10.0.0.12:8082/domains 2025-04-08 12:34:05,564 - DEBUG - Requesting: http://10.0.0.12:8082/domain/2b8d01b2-36ed-4e0b-9089-8bef09302285 2025-04-08 12:34:05,587 - DEBUG - Requesting: http://10.0.0.12:8082/project/c2a9387f-6a36-4dbf-8001-0bdc395861a9 2025-04-08 12:34:05,688 - INFO - Validated that VN ctest-vn-84554176 is not found in API Server 2025-04-08 12:34:05,703 - DEBUG - VN ctest-vn-84554176 is not present in Agent 10.0.0.12 2025-04-08 12:34:05,703 - INFO - Validated that VN ctest-vn-84554176 is not in any agent 2025-04-08 12:34:05,723 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-84554176 info 2025-04-08 12:34:05,723 - INFO - Deleting VN ctest-vn-39304200 2025-04-08 12:34:05,873 - DEBUG - Response for deleting network () 2025-04-08 12:34:05,873 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/e32c0cb7-858e-4786-8778-193469d3dfee 2025-04-08 12:34:05,888 - DEBUG - Response Code: 404 2025-04-08 12:34:05,888 - DEBUG - Requesting: http://10.0.0.12:8082/domains 2025-04-08 12:34:05,895 - DEBUG - Requesting: http://10.0.0.12:8082/domain/2b8d01b2-36ed-4e0b-9089-8bef09302285 2025-04-08 12:34:05,954 - DEBUG - Requesting: http://10.0.0.12:8082/project/c2a9387f-6a36-4dbf-8001-0bdc395861a9 2025-04-08 12:34:06,031 - INFO - Validated that VN ctest-vn-39304200 is not found in API Server 2025-04-08 12:34:06,044 - DEBUG - VN ctest-vn-39304200 is not present in Agent 10.0.0.12 2025-04-08 12:34:06,044 - INFO - Validated that VN ctest-vn-39304200 is not in any agent 2025-04-08 12:34:06,065 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-39304200 info 2025-04-08 12:34:06,339 - DEBUG - No XMPP flaps were noticed during the test 2025-04-08 12:34:06,339 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:34] 2025-04-08 12:34:06,339 - INFO - -------------------------------------------------------------------------------- 2025-04-08 12:34:07,115 - INFO - Deleted project: ctest-TestBasicPolicy-95599950, ID : c2a9387f-6a36-4dbf-8001-0bdc395861a9