2025-11-13 18:25:30,356 - INFO - Domain Default found not creating 2025-11-13 18:25:30,645 - INFO - Project ctest-TestBasicPolicy-79849974 not found, creating it 2025-11-13 18:25:31,388 - INFO - Created Project:ctest-TestBasicPolicy-79849974, ID : 34382d73-0c85-4c4f-b756-de3c19366cee 2025-11-13 18:25:33,589 - INFO - ================================================================================ 2025-11-13 18:25:33,589 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-13 18:25:33,589 - 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-11-13 18:25:33,910 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2025-11-13 18:25:33,910 - INFO - Initial checks done. Running the testcase now 2025-11-13 18:25:33,910 - INFO - 2025-11-13 18:25:34,722 - DEBUG - Response for create_network : {'network': {'id': '54ad98c0-356b-4838-839f-9b8bcd4a571c', 'name': 'ctest-vn-90456243', 'tenant_id': '34382d730c854c4fb756de3c19366cee', 'project_id': '34382d730c854c4fb756de3c19366cee', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-79849974', 'ctest-vn-90456243'], 'port_security_enabled': True, 'description': ''}} 2025-11-13 18:25:34,965 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cde1ac50-1e5c-4b92-845a-a0b2979093a5', 'name': '', 'tenant_id': '34382d730c854c4fb756de3c19366cee', 'network_id': '54ad98c0-356b-4838-839f-9b8bcd4a571c', 'ip_version': 4, 'cidr': '187.24.134.128/26', 'allocation_pools': [{'start': '187.24.134.130', 'end': '187.24.134.190'}], 'gateway_ip': '187.24.134.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '187.24.134.130', 'tags': [], 'project_id': '34382d730c854c4fb756de3c19366cee'}} 2025-11-13 18:25:34,983 - INFO - Created VN ctest-vn-90456243 2025-11-13 18:25:35,040 - DEBUG - VN ctest-vn-90456243 UUID is 54ad98c0-356b-4838-839f-9b8bcd4a571c 2025-11-13 18:25:35,507 - DEBUG - Response for create_network : {'network': {'id': '1e6773ad-09d8-404a-9c78-8c8f10427d09', 'name': 'ctest-vn-85108346', 'tenant_id': '34382d730c854c4fb756de3c19366cee', 'project_id': '34382d730c854c4fb756de3c19366cee', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-79849974', 'ctest-vn-85108346'], 'port_security_enabled': True, 'description': ''}} 2025-11-13 18:25:35,670 - DEBUG - Response for create_subnet : {'subnet': {'id': '8784f9e5-0fe3-424e-8d37-d64c07e22b42', 'name': '', 'tenant_id': '34382d730c854c4fb756de3c19366cee', 'network_id': '1e6773ad-09d8-404a-9c78-8c8f10427d09', 'ip_version': 4, 'cidr': '169.48.106.192/26', 'allocation_pools': [{'start': '169.48.106.194', 'end': '169.48.106.254'}], 'gateway_ip': '169.48.106.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '169.48.106.194', 'tags': [], 'project_id': '34382d730c854c4fb756de3c19366cee'}} 2025-11-13 18:25:35,687 - INFO - Created VN ctest-vn-85108346 2025-11-13 18:25:35,740 - DEBUG - VN ctest-vn-85108346 UUID is 1e6773ad-09d8-404a-9c78-8c8f10427d09 2025-11-13 18:25:35,905 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-79849974:ctest-vn-90456243, 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-79849974:ctest-vn-85108346, 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-11-13 18:25:36,303 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '54ad98c0-356b-4838-839f-9b8bcd4a571c', 'name': 'ctest-vn-90456243', 'tenant_id': '34382d730c854c4fb756de3c19366cee', 'project_id': '34382d730c854c4fb756de3c19366cee', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['cde1ac50-1e5c-4b92-845a-a0b2979093a5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-79849974', 'ctest-vn-90456243'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-79849974', 'ctest-policy-allow-all-73925140']], 'subnet_ipam': [{'subnet_cidr': '187.24.134.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-13 18:25:36,630 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1e6773ad-09d8-404a-9c78-8c8f10427d09', 'name': 'ctest-vn-85108346', 'tenant_id': '34382d730c854c4fb756de3c19366cee', 'project_id': '34382d730c854c4fb756de3c19366cee', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8784f9e5-0fe3-424e-8d37-d64c07e22b42'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-79849974', 'ctest-vn-85108346'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-79849974', 'ctest-policy-allow-all-73925140']], 'subnet_ipam': [{'subnet_cidr': '169.48.106.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-13 18:25:36,760 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-13 18:25:37,113 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-13 18:25:37,157 - DEBUG - Requesting: http://10.0.0.50:8082/domain/61df48a7-c740-49da-8068-99db5a679ca7 2025-11-13 18:25:37,184 - DEBUG - Requesting: http://10.0.0.50:8082/project/34382d73-0c85-4c4f-b756-de3c19366cee 2025-11-13 18:25:37,288 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/54ad98c0-356b-4838-839f-9b8bcd4a571c 2025-11-13 18:25:37,312 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/54ad98c0-356b-4838-839f-9b8bcd4a571c 2025-11-13 18:25:37,333 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ec3516e2-3cf6-4c62-b6d9-978405d86eff 2025-11-13 18:25:37,346 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ec3516e2-3cf6-4c62-b6d9-978405d86eff 2025-11-13 18:25:37,360 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/511084a5-3fe3-4ace-923e-f08ae4d9de06 2025-11-13 18:25:37,373 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-13 18:25:37,373 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/54ad98c0-356b-4838-839f-9b8bcd4a571c 2025-11-13 18:25:37,403 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ec3516e2-3cf6-4c62-b6d9-978405d86eff 2025-11-13 18:25:37,440 - INFO - Verified VN network id 11 for VN 54ad98c0-356b-4838-839f-9b8bcd4a571c 2025-11-13 18:25:37,440 - INFO - Verifications in API Server for VN ctest-vn-90456243 passed 2025-11-13 18:25:37,441 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/54ad98c0-356b-4838-839f-9b8bcd4a571c 2025-11-13 18:25:37,464 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ec3516e2-3cf6-4c62-b6d9-978405d86eff 2025-11-13 18:25:37,482 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ec3516e2-3cf6-4c62-b6d9-978405d86eff 2025-11-13 18:25:37,501 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/511084a5-3fe3-4ace-923e-f08ae4d9de06 2025-11-13 18:25:37,525 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-79849974:ctest-vn-90456243', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-79849974', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6101701021454256184', 'uuid-lslong': '9484470365012514588'}, 'enable': 'true', 'created': '2025-11-13T18:25:34', 'last-modified': '2025-11-13T18:25:36', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.275562'} 2025-11-13 18:25:37,535 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-13 18:25:37,535 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-90456243 passed 2025-11-13 18:25:37,535 - DEBUG - ====Verifying policy data for ctest-vn-90456243 in API_Server ====== 2025-11-13 18:25:37,536 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-13 18:25:37,546 - DEBUG - Requesting: http://10.0.0.50:8082/domain/61df48a7-c740-49da-8068-99db5a679ca7 2025-11-13 18:25:37,569 - DEBUG - Requesting: http://10.0.0.50:8082/project/34382d73-0c85-4c4f-b756-de3c19366cee 2025-11-13 18:25:37,683 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/54ad98c0-356b-4838-839f-9b8bcd4a571c 2025-11-13 18:25:37,705 - DEBUG - ==>Verifying data for policy with id: a887d9e9-01a6-44be-a67e-be95faffdfa0, fqn: ['default-domain', 'ctest-TestBasicPolicy-79849974', 'ctest-policy-allow-all-73925140'] 2025-11-13 18:25:37,705 - INFO - VN ctest-vn-90456243 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-13 18:25:37,706 - DEBUG - Verifying the vn in opserver 2025-11-13 18:25:37,706 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-79849974:ctest-vn-90456243 virtual network link through opserver 10.0.0.50 2025-11-13 18:25:37,706 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-11-13 18:25:38,073 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-11-13 18:25:38,180 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-79849974:ctest-vn-90456243', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-79849974:ctest-vn-90456243?flat'} 2025-11-13 18:25:38,180 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-79849974:ctest-vn-90456243 is found in opserver 2025-11-13 18:25:38,199 - DEBUG - Do not have enough data to verify VN in agent 2025-11-13 18:25:38,209 - DEBUG - VRF ids for VN ctest-vn-90456243: {} 2025-11-13 18:25:38,209 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-13 18:25:38,216 - DEBUG - Requesting: http://10.0.0.50:8082/domain/61df48a7-c740-49da-8068-99db5a679ca7 2025-11-13 18:25:38,237 - DEBUG - Requesting: http://10.0.0.50:8082/project/34382d73-0c85-4c4f-b756-de3c19366cee 2025-11-13 18:25:38,321 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/1e6773ad-09d8-404a-9c78-8c8f10427d09 2025-11-13 18:25:38,344 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/1e6773ad-09d8-404a-9c78-8c8f10427d09 2025-11-13 18:25:38,356 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d3ff43a2-a882-4dcf-89a6-0dd9b1460219 2025-11-13 18:25:38,365 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d3ff43a2-a882-4dcf-89a6-0dd9b1460219 2025-11-13 18:25:38,374 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/ea3a85c9-6c37-4d83-a2a8-e279dd689533 2025-11-13 18:25:38,382 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-13 18:25:38,382 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/1e6773ad-09d8-404a-9c78-8c8f10427d09 2025-11-13 18:25:38,393 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d3ff43a2-a882-4dcf-89a6-0dd9b1460219 2025-11-13 18:25:38,409 - INFO - Verified VN network id 12 for VN 1e6773ad-09d8-404a-9c78-8c8f10427d09 2025-11-13 18:25:38,409 - INFO - Verifications in API Server for VN ctest-vn-85108346 passed 2025-11-13 18:25:38,410 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/1e6773ad-09d8-404a-9c78-8c8f10427d09 2025-11-13 18:25:38,422 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d3ff43a2-a882-4dcf-89a6-0dd9b1460219 2025-11-13 18:25:38,429 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d3ff43a2-a882-4dcf-89a6-0dd9b1460219 2025-11-13 18:25:38,437 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/ea3a85c9-6c37-4d83-a2a8-e279dd689533 2025-11-13 18:25:38,452 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-79849974:ctest-vn-85108346', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-79849974', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2190846930770739274', 'uuid-lslong': '11274916213203041545'}, 'enable': 'true', 'created': '2025-11-13T18:25:35', 'last-modified': '2025-11-13T18:25:36', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.902438'} 2025-11-13 18:25:38,462 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-13 18:25:38,462 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-85108346 passed 2025-11-13 18:25:38,463 - DEBUG - ====Verifying policy data for ctest-vn-85108346 in API_Server ====== 2025-11-13 18:25:38,463 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-13 18:25:38,472 - DEBUG - Requesting: http://10.0.0.50:8082/domain/61df48a7-c740-49da-8068-99db5a679ca7 2025-11-13 18:25:38,485 - DEBUG - Requesting: http://10.0.0.50:8082/project/34382d73-0c85-4c4f-b756-de3c19366cee 2025-11-13 18:25:38,566 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/1e6773ad-09d8-404a-9c78-8c8f10427d09 2025-11-13 18:25:38,577 - DEBUG - ==>Verifying data for policy with id: a887d9e9-01a6-44be-a67e-be95faffdfa0, fqn: ['default-domain', 'ctest-TestBasicPolicy-79849974', 'ctest-policy-allow-all-73925140'] 2025-11-13 18:25:38,577 - INFO - VN ctest-vn-85108346 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-13 18:25:38,577 - DEBUG - Verifying the vn in opserver 2025-11-13 18:25:38,577 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-79849974:ctest-vn-85108346 virtual network link through opserver 10.0.0.50 2025-11-13 18:25:38,577 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-11-13 18:25:38,589 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-79849974:ctest-vn-85108346', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-79849974:ctest-vn-85108346?flat'} 2025-11-13 18:25:38,589 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-79849974:ctest-vn-85108346 is found in opserver 2025-11-13 18:25:38,600 - DEBUG - Do not have enough data to verify VN in agent 2025-11-13 18:25:38,605 - DEBUG - VRF ids for VN ctest-vn-85108346: {} 2025-11-13 18:25:38,701 - DEBUG - Services list from nova: [, , ] 2025-11-13 18:25:39,948 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4726-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4726-1) 2025-11-13 18:25:41,263 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4726-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4726-1) 2025-11-13 18:25:41,263 - INFO - Waiting for VM ctest-TestBasicPolicy-79849974-15802861 to be up.. 2025-11-13 18:25:41,365 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-13 18:25:46,464 - DEBUG - VM is in ACTIVE state now 2025-11-13 18:25:46,464 - INFO - VM name : ctest-TestBasicPolicy-79849974-15802861 2025-11-13 18:25:46,616 - DEBUG - VM ctest-TestBasicPolicy-79849974-15802861 ID is a7bb2037-36c7-4d07-b6c6-91a248f42a60 2025-11-13 18:25:46,665 - DEBUG - VM ctest-TestBasicPolicy-79849974-15802861 launched on Node cn-jenkins-deploy-platform-ansible-os-4726-1 2025-11-13 18:25:46,830 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/a7bb2037-36c7-4d07-b6c6-91a248f42a60 2025-11-13 18:25:46,856 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/1b7e0383-2cf3-4c9e-9ea5-3822fc3f540d 2025-11-13 18:25:50,159 - 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 1003ms') 2025-11-13 18:25:50,159 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-79849974-15802861 failed! 2025-11-13 18:25:50,228 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-79849974:ctest-vn-90456243 is 187.24.134.129 and allocation pool is NOT set 2025-11-13 18:25:52,307 - 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.09 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.788 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.788/4.437/8.087/3.649 ms') 2025-11-13 18:25:52,307 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-79849974-15802861 passed 2025-11-13 18:25:52,472 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 18:25:52,473 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-79849974-15802861, IP 187.24.134.131, Port 22 2025-11-13 18:25:52,675 - DEBUG - VM ctest-TestBasicPolicy-79849974-15802861 is ready for SSH connections 2025-11-13 18:25:52,675 - INFO - Waiting for VM ctest-TestBasicPolicy-79849974-74255108 to be up.. 2025-11-13 18:25:52,806 - DEBUG - VM is in ACTIVE state now 2025-11-13 18:25:52,806 - INFO - VM name : ctest-TestBasicPolicy-79849974-74255108 2025-11-13 18:25:52,932 - DEBUG - VM ctest-TestBasicPolicy-79849974-74255108 ID is 52304b96-b2a2-46a1-be85-f6dae517b32e 2025-11-13 18:25:52,932 - DEBUG - VM ctest-TestBasicPolicy-79849974-74255108 launched on Node cn-jenkins-deploy-platform-ansible-os-4726-1 2025-11-13 18:25:53,040 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/52304b96-b2a2-46a1-be85-f6dae517b32e 2025-11-13 18:25:53,059 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/13835a88-64e2-43ed-902c-11cb5b9fe49a 2025-11-13 18:25:54,356 - 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=9.42 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.32 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 = 1.317/5.369/9.422/4.052 ms') 2025-11-13 18:25:54,356 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-79849974-74255108 passed 2025-11-13 18:25:54,533 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 18:25:54,533 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-79849974-74255108, IP 169.48.106.195, Port 22 2025-11-13 18:25:54,729 - DEBUG - VM ctest-TestBasicPolicy-79849974-74255108 is ready for SSH connections 2025-11-13 18:25:54,730 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 18:25:54,730 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 169.48.106.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-13 18:25:54,730 - DEBUG - ping -s 56 -c 3 -W 1 169.48.106.195 2025-11-13 18:25:58,981 - DEBUG - PING 169.48.106.195 (169.48.106.195): 56 data bytes 64 bytes from 169.48.106.195: seq=0 ttl=63 time=4.295 ms 64 bytes from 169.48.106.195: seq=1 ttl=63 time=2.011 ms 64 bytes from 169.48.106.195: seq=2 ttl=63 time=1.507 ms --- 169.48.106.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.507/2.604/4.295 ms 2025-11-13 18:25:58,981 - INFO - Ping to IP 169.48.106.195 from VM ctest-TestBasicPolicy-79849974-15802861 passed 2025-11-13 18:25:59,176 - DEBUG - Policy Update Response {"network-policy": {"uuid": "a887d9e9-01a6-44be-a67e-be95faffdfa0", "href": "http://10.0.0.50:8082/network-policy/a887d9e9-01a6-44be-a67e-be95faffdfa0"}} 2025-11-13 18:25:59,176 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 18:25:59,176 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 169.48.106.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-13 18:25:59,176 - DEBUG - ping -s 56 -c 3 -W 1 169.48.106.195 2025-11-13 18:26:02,310 - DEBUG - PING 169.48.106.195 (169.48.106.195): 56 data bytes --- 169.48.106.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-13 18:26:02,311 - WARNING - Ping to IP 169.48.106.195 from VM ctest-TestBasicPolicy-79849974-15802861 failed 2025-11-13 18:26:02,311 - INFO - Deleting VM ctest-TestBasicPolicy-79849974-74255108 2025-11-13 18:26:02,413 - INFO - Deleting VM ctest-TestBasicPolicy-79849974-15802861 2025-11-13 18:26:02,866 - INFO - Deleted policy ctest-policy-allow-all-73925140 2025-11-13 18:26:02,866 - INFO - Deleting VN ctest-vn-85108346 2025-11-13 18:26:02,906 - DEBUG - VN 1e6773ad-09d8-404a-9c78-8c8f10427d09 still in use: Unable to complete operation on network 1e6773ad-09d8-404a-9c78-8c8f10427d09. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7c407e9c-bd41-4e7f-be36-59b8dc83dbd8'] 2025-11-13 18:26:02,906 - WARNING - Deleting VN ctest-vn-85108346 failed..Will retry 2025-11-13 18:26:05,120 - DEBUG - Response for deleting network () 2025-11-13 18:26:05,120 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d3ff43a2-a882-4dcf-89a6-0dd9b1460219 2025-11-13 18:26:05,128 - DEBUG - Response Code: 404 2025-11-13 18:26:05,128 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-13 18:26:05,135 - DEBUG - Requesting: http://10.0.0.50:8082/domain/61df48a7-c740-49da-8068-99db5a679ca7 2025-11-13 18:26:05,196 - DEBUG - Requesting: http://10.0.0.50:8082/project/34382d73-0c85-4c4f-b756-de3c19366cee 2025-11-13 18:26:05,313 - INFO - Validated that VN ctest-vn-85108346 is not found in API Server 2025-11-13 18:26:05,336 - DEBUG - VN ctest-vn-85108346 is not present in Agent 10.0.0.50 2025-11-13 18:26:05,336 - INFO - Validated that VN ctest-vn-85108346 is not in any agent 2025-11-13 18:26:05,373 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-85108346 info 2025-11-13 18:26:05,373 - INFO - Deleting VN ctest-vn-90456243 2025-11-13 18:26:05,560 - DEBUG - Response for deleting network () 2025-11-13 18:26:05,560 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ec3516e2-3cf6-4c62-b6d9-978405d86eff 2025-11-13 18:26:05,568 - DEBUG - Response Code: 404 2025-11-13 18:26:05,568 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-13 18:26:05,574 - DEBUG - Requesting: http://10.0.0.50:8082/domain/61df48a7-c740-49da-8068-99db5a679ca7 2025-11-13 18:26:05,636 - DEBUG - Requesting: http://10.0.0.50:8082/project/34382d73-0c85-4c4f-b756-de3c19366cee 2025-11-13 18:26:05,751 - INFO - Validated that VN ctest-vn-90456243 is not found in API Server 2025-11-13 18:26:05,778 - DEBUG - VN ctest-vn-90456243 is not present in Agent 10.0.0.50 2025-11-13 18:26:05,778 - INFO - Validated that VN ctest-vn-90456243 is not in any agent 2025-11-13 18:26:05,816 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-90456243 info 2025-11-13 18:26:06,134 - DEBUG - No XMPP flaps were noticed during the test 2025-11-13 18:26:06,134 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:33] 2025-11-13 18:26:06,135 - INFO - -------------------------------------------------------------------------------- 2025-11-13 18:26:07,091 - INFO - Deleted project: ctest-TestBasicPolicy-79849974, ID : 34382d73-0c85-4c4f-b756-de3c19366cee