2025-05-28 16:18:01,112 - INFO - Domain Default found not creating 2025-05-28 16:18:01,252 - INFO - Project ctest-TestBasicPolicy-90457777 not found, creating it 2025-05-28 16:18:01,726 - INFO - Created Project:ctest-TestBasicPolicy-90457777, ID : da634cb4-cae4-4181-b03d-b3774c131494 2025-05-28 16:18:03,253 - INFO - ================================================================================ 2025-05-28 16:18:03,253 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-05-28 16:18:03,253 - 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-05-28 16:18:03,508 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.17': '0'}} with 2025-05-28 16:18:03,509 - INFO - Initial checks done. Running the testcase now 2025-05-28 16:18:03,509 - INFO - 2025-05-28 16:18:04,092 - DEBUG - Response for create_network : {'network': {'id': '2d77d272-0e1b-44bb-8bc6-e4b4fcf028ea', 'name': 'ctest-vn-56660980', 'tenant_id': 'da634cb4cae44181b03db3774c131494', 'project_id': 'da634cb4cae44181b03db3774c131494', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90457777', 'ctest-vn-56660980'], 'port_security_enabled': True, 'description': ''}} 2025-05-28 16:18:04,299 - DEBUG - Response for create_subnet : {'subnet': {'id': '77976115-ad46-4c4f-98c3-746118187c94', 'name': '', 'tenant_id': 'da634cb4cae44181b03db3774c131494', 'network_id': '2d77d272-0e1b-44bb-8bc6-e4b4fcf028ea', 'ip_version': 4, 'cidr': '23.57.144.128/26', 'allocation_pools': [{'start': '23.57.144.130', 'end': '23.57.144.190'}], 'gateway_ip': '23.57.144.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '23.57.144.130', 'tags': [], 'project_id': 'da634cb4cae44181b03db3774c131494'}} 2025-05-28 16:18:04,316 - INFO - Created VN ctest-vn-56660980 2025-05-28 16:18:04,366 - DEBUG - VN ctest-vn-56660980 UUID is 2d77d272-0e1b-44bb-8bc6-e4b4fcf028ea 2025-05-28 16:18:04,700 - DEBUG - Response for create_network : {'network': {'id': '47a96476-9889-4abe-9930-cd8bf658ffe2', 'name': 'ctest-vn-99561824', 'tenant_id': 'da634cb4cae44181b03db3774c131494', 'project_id': 'da634cb4cae44181b03db3774c131494', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90457777', 'ctest-vn-99561824'], 'port_security_enabled': True, 'description': ''}} 2025-05-28 16:18:04,891 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ff59bb40-453c-4cac-8269-1f24bf653d73', 'name': '', 'tenant_id': 'da634cb4cae44181b03db3774c131494', 'network_id': '47a96476-9889-4abe-9930-cd8bf658ffe2', 'ip_version': 4, 'cidr': '121.175.110.64/26', 'allocation_pools': [{'start': '121.175.110.66', 'end': '121.175.110.126'}], 'gateway_ip': '121.175.110.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '121.175.110.66', 'tags': [], 'project_id': 'da634cb4cae44181b03db3774c131494'}} 2025-05-28 16:18:04,908 - INFO - Created VN ctest-vn-99561824 2025-05-28 16:18:04,962 - DEBUG - VN ctest-vn-99561824 UUID is 47a96476-9889-4abe-9930-cd8bf658ffe2 2025-05-28 16:18:05,110 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-90457777:ctest-vn-56660980, 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-90457777:ctest-vn-99561824, 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-05-28 16:18:05,394 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2d77d272-0e1b-44bb-8bc6-e4b4fcf028ea', 'name': 'ctest-vn-56660980', 'tenant_id': 'da634cb4cae44181b03db3774c131494', 'project_id': 'da634cb4cae44181b03db3774c131494', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['77976115-ad46-4c4f-98c3-746118187c94'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90457777', 'ctest-vn-56660980'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-90457777', 'ctest-policy-allow-all-67348932']], 'subnet_ipam': [{'subnet_cidr': '23.57.144.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-05-28 16:18:05,631 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '47a96476-9889-4abe-9930-cd8bf658ffe2', 'name': 'ctest-vn-99561824', 'tenant_id': 'da634cb4cae44181b03db3774c131494', 'project_id': 'da634cb4cae44181b03db3774c131494', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ff59bb40-453c-4cac-8269-1f24bf653d73'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90457777', 'ctest-vn-99561824'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-90457777', 'ctest-policy-allow-all-67348932']], 'subnet_ipam': [{'subnet_cidr': '121.175.110.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-05-28 16:18:05,782 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2025-05-28 16:18:06,149 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2025-05-28 16:18:06,186 - DEBUG - Requesting: http://10.0.0.241:8082/domain/fc93ff58-0714-406b-8753-efed98742da4 2025-05-28 16:18:06,199 - DEBUG - Requesting: http://10.0.0.241:8082/project/da634cb4-cae4-4181-b03d-b3774c131494 2025-05-28 16:18:06,276 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/2d77d272-0e1b-44bb-8bc6-e4b4fcf028ea 2025-05-28 16:18:06,287 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/2d77d272-0e1b-44bb-8bc6-e4b4fcf028ea 2025-05-28 16:18:06,297 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/dc760372-5679-4ffe-a4c7-9ca4da3bd77d 2025-05-28 16:18:06,304 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/dc760372-5679-4ffe-a4c7-9ca4da3bd77d 2025-05-28 16:18:06,311 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/48d14500-97cd-428f-9fb5-a635eab317cb 2025-05-28 16:18:06,318 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-05-28 16:18:06,318 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/2d77d272-0e1b-44bb-8bc6-e4b4fcf028ea 2025-05-28 16:18:06,329 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/dc760372-5679-4ffe-a4c7-9ca4da3bd77d 2025-05-28 16:18:06,343 - INFO - Verified VN network id 8 for VN 2d77d272-0e1b-44bb-8bc6-e4b4fcf028ea 2025-05-28 16:18:06,344 - INFO - Verifications in API Server for VN ctest-vn-56660980 passed 2025-05-28 16:18:06,344 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/2d77d272-0e1b-44bb-8bc6-e4b4fcf028ea 2025-05-28 16:18:06,353 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/dc760372-5679-4ffe-a4c7-9ca4da3bd77d 2025-05-28 16:18:06,360 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/dc760372-5679-4ffe-a4c7-9ca4da3bd77d 2025-05-28 16:18:06,367 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/48d14500-97cd-428f-9fb5-a635eab317cb 2025-05-28 16:18:06,379 - DEBUG - Control-node 10.0.0.241 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-90457777:ctest-vn-56660980', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-90457777', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3276318641240097979', 'uuid-lslong': '10071989082649536746'}, 'enable': 'true', 'created': '2025-05-28T16:18:04', 'last-modified': '2025-05-28T16:18:05', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.006397'} 2025-05-28 16:18:06,386 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-05-28 16:18:06,386 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-56660980 passed 2025-05-28 16:18:06,386 - DEBUG - ====Verifying policy data for ctest-vn-56660980 in API_Server ====== 2025-05-28 16:18:06,386 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2025-05-28 16:18:06,391 - DEBUG - Requesting: http://10.0.0.241:8082/domain/fc93ff58-0714-406b-8753-efed98742da4 2025-05-28 16:18:06,402 - DEBUG - Requesting: http://10.0.0.241:8082/project/da634cb4-cae4-4181-b03d-b3774c131494 2025-05-28 16:18:06,477 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/2d77d272-0e1b-44bb-8bc6-e4b4fcf028ea 2025-05-28 16:18:06,487 - DEBUG - ==>Verifying data for policy with id: 63ab8f27-3d30-4b24-a15d-4c9bf476c030, fqn: ['default-domain', 'ctest-TestBasicPolicy-90457777', 'ctest-policy-allow-all-67348932'] 2025-05-28 16:18:06,487 - INFO - VN ctest-vn-56660980 Policy verification: verify_vn_policy_in_api_server, status: True 2025-05-28 16:18:06,487 - DEBUG - Verifying the vn in opserver 2025-05-28 16:18:06,487 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-90457777:ctest-vn-56660980 virtual network link through opserver 10.0.0.241 2025-05-28 16:18:06,487 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks 2025-05-28 16:18:06,818 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks 2025-05-28 16:18:06,880 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-90457777:ctest-vn-56660980', 'href': 'http://10.0.0.241:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-90457777:ctest-vn-56660980?flat'} 2025-05-28 16:18:06,880 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-90457777:ctest-vn-56660980 is found in opserver 2025-05-28 16:18:06,891 - DEBUG - Do not have enough data to verify VN in agent 2025-05-28 16:18:06,896 - DEBUG - VRF ids for VN ctest-vn-56660980: {} 2025-05-28 16:18:06,897 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2025-05-28 16:18:06,902 - DEBUG - Requesting: http://10.0.0.241:8082/domain/fc93ff58-0714-406b-8753-efed98742da4 2025-05-28 16:18:06,914 - DEBUG - Requesting: http://10.0.0.241:8082/project/da634cb4-cae4-4181-b03d-b3774c131494 2025-05-28 16:18:06,989 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/47a96476-9889-4abe-9930-cd8bf658ffe2 2025-05-28 16:18:07,001 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/47a96476-9889-4abe-9930-cd8bf658ffe2 2025-05-28 16:18:07,011 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/c68b088c-ce5c-415b-983d-95fb88ff7a60 2025-05-28 16:18:07,019 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/c68b088c-ce5c-415b-983d-95fb88ff7a60 2025-05-28 16:18:07,027 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/cdcfd779-3584-4c4d-8276-3af9e8afd249 2025-05-28 16:18:07,034 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-05-28 16:18:07,034 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/47a96476-9889-4abe-9930-cd8bf658ffe2 2025-05-28 16:18:07,043 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/c68b088c-ce5c-415b-983d-95fb88ff7a60 2025-05-28 16:18:07,057 - INFO - Verified VN network id 9 for VN 47a96476-9889-4abe-9930-cd8bf658ffe2 2025-05-28 16:18:07,057 - INFO - Verifications in API Server for VN ctest-vn-99561824 passed 2025-05-28 16:18:07,057 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/47a96476-9889-4abe-9930-cd8bf658ffe2 2025-05-28 16:18:07,067 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/c68b088c-ce5c-415b-983d-95fb88ff7a60 2025-05-28 16:18:07,074 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/c68b088c-ce5c-415b-983d-95fb88ff7a60 2025-05-28 16:18:07,081 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/cdcfd779-3584-4c4d-8276-3af9e8afd249 2025-05-28 16:18:07,092 - DEBUG - Control-node 10.0.0.241 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-90457777:ctest-vn-99561824', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-90457777', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5163768908285037246', 'uuid-lslong': '11038548687702261730'}, 'enable': 'true', 'created': '2025-05-28T16:18:04', 'last-modified': '2025-05-28T16:18:05', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.481084'} 2025-05-28 16:18:07,099 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-05-28 16:18:07,099 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-99561824 passed 2025-05-28 16:18:07,099 - DEBUG - ====Verifying policy data for ctest-vn-99561824 in API_Server ====== 2025-05-28 16:18:07,099 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2025-05-28 16:18:07,104 - DEBUG - Requesting: http://10.0.0.241:8082/domain/fc93ff58-0714-406b-8753-efed98742da4 2025-05-28 16:18:07,115 - DEBUG - Requesting: http://10.0.0.241:8082/project/da634cb4-cae4-4181-b03d-b3774c131494 2025-05-28 16:18:07,191 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/47a96476-9889-4abe-9930-cd8bf658ffe2 2025-05-28 16:18:07,201 - DEBUG - ==>Verifying data for policy with id: 63ab8f27-3d30-4b24-a15d-4c9bf476c030, fqn: ['default-domain', 'ctest-TestBasicPolicy-90457777', 'ctest-policy-allow-all-67348932'] 2025-05-28 16:18:07,201 - INFO - VN ctest-vn-99561824 Policy verification: verify_vn_policy_in_api_server, status: True 2025-05-28 16:18:07,201 - DEBUG - Verifying the vn in opserver 2025-05-28 16:18:07,201 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-90457777:ctest-vn-99561824 virtual network link through opserver 10.0.0.241 2025-05-28 16:18:07,201 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks 2025-05-28 16:18:07,212 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-90457777:ctest-vn-99561824', 'href': 'http://10.0.0.241:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-90457777:ctest-vn-99561824?flat'} 2025-05-28 16:18:07,212 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-90457777:ctest-vn-99561824 is found in opserver 2025-05-28 16:18:07,223 - DEBUG - Do not have enough data to verify VN in agent 2025-05-28 16:18:07,228 - DEBUG - VRF ids for VN ctest-vn-99561824: {} 2025-05-28 16:18:07,282 - DEBUG - Services list from nova: [, , ] 2025-05-28 16:18:08,344 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3353-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3353-1) 2025-05-28 16:18:09,611 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3353-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3353-1) 2025-05-28 16:18:09,612 - INFO - Waiting for VM ctest-TestBasicPolicy-90457777-10137096 to be up.. 2025-05-28 16:18:09,687 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-05-28 16:18:14,765 - DEBUG - VM is in ACTIVE state now 2025-05-28 16:18:14,765 - INFO - VM name : ctest-TestBasicPolicy-90457777-10137096 2025-05-28 16:18:14,841 - DEBUG - VM ctest-TestBasicPolicy-90457777-10137096 ID is 84a84afb-4bff-4d2c-b1e8-2841b00b5711 2025-05-28 16:18:14,860 - DEBUG - VM ctest-TestBasicPolicy-90457777-10137096 launched on Node cn-jenkins-deploy-platform-ansible-os-3353-1 2025-05-28 16:18:14,934 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/84a84afb-4bff-4d2c-b1e8-2841b00b5711 2025-05-28 16:18:14,942 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/9ec5120f-afca-4cab-bb55-b1bedebec4dc 2025-05-28 16:18:18,195 - 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 1015ms') 2025-05-28 16:18:18,196 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-90457777-10137096 failed! 2025-05-28 16:18:18,251 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-90457777:ctest-vn-56660980 is 23.57.144.129 and allocation pool is NOT set 2025-05-28 16:18:20,317 - 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.02 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.475 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.475/4.247/8.020/3.772 ms') 2025-05-28 16:18:20,317 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-90457777-10137096 passed 2025-05-28 16:18:20,470 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-28 16:18:20,471 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-90457777-10137096, IP 23.57.144.131, Port 22 2025-05-28 16:18:20,630 - DEBUG - VM ctest-TestBasicPolicy-90457777-10137096 is ready for SSH connections 2025-05-28 16:18:20,630 - INFO - Waiting for VM ctest-TestBasicPolicy-90457777-49096507 to be up.. 2025-05-28 16:18:20,706 - DEBUG - VM is in ACTIVE state now 2025-05-28 16:18:20,706 - INFO - VM name : ctest-TestBasicPolicy-90457777-49096507 2025-05-28 16:18:20,780 - DEBUG - VM ctest-TestBasicPolicy-90457777-49096507 ID is 35046d85-d365-4884-a7e4-b03746f33aa2 2025-05-28 16:18:20,780 - DEBUG - VM ctest-TestBasicPolicy-90457777-49096507 launched on Node cn-jenkins-deploy-platform-ansible-os-3353-1 2025-05-28 16:18:20,860 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/35046d85-d365-4884-a7e4-b03746f33aa2 2025-05-28 16:18:20,868 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/f5f89a02-033a-4733-ba8c-bca55d3f1be6 2025-05-28 16:18:22,113 - 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.47 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.956 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.956/3.214/5.472/2.258 ms') 2025-05-28 16:18:22,113 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-90457777-49096507 passed 2025-05-28 16:18:22,266 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-28 16:18:22,267 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-90457777-49096507, IP 121.175.110.67, Port 22 2025-05-28 16:18:22,422 - DEBUG - VM ctest-TestBasicPolicy-90457777-49096507 is ready for SSH connections 2025-05-28 16:18:22,423 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-28 16:18:22,423 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 121.175.110.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-05-28 16:18:22,423 - DEBUG - ping -s 56 -c 3 -W 1 121.175.110.67 2025-05-28 16:18:26,166 - DEBUG - PING 121.175.110.67 (121.175.110.67): 56 data bytes 64 bytes from 121.175.110.67: seq=0 ttl=63 time=3.558 ms 64 bytes from 121.175.110.67: seq=1 ttl=63 time=0.798 ms 64 bytes from 121.175.110.67: seq=2 ttl=63 time=0.748 ms --- 121.175.110.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.748/1.701/3.558 ms 2025-05-28 16:18:26,166 - INFO - Ping to IP 121.175.110.67 from VM ctest-TestBasicPolicy-90457777-10137096 passed 2025-05-28 16:18:26,358 - DEBUG - Policy Update Response {"network-policy": {"uuid": "63ab8f27-3d30-4b24-a15d-4c9bf476c030", "href": "http://10.0.0.241:8082/network-policy/63ab8f27-3d30-4b24-a15d-4c9bf476c030"}} 2025-05-28 16:18:26,358 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-28 16:18:26,358 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 121.175.110.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-05-28 16:18:26,359 - DEBUG - ping -s 56 -c 3 -W 1 121.175.110.67 2025-05-28 16:18:29,577 - DEBUG - PING 121.175.110.67 (121.175.110.67): 56 data bytes 64 bytes from 121.175.110.67: seq=0 ttl=63 time=1.312 ms --- 121.175.110.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.312/1.312/1.312 ms 2025-05-28 16:18:29,577 - WARNING - Ping to IP 121.175.110.67 from VM ctest-TestBasicPolicy-90457777-10137096 failed 2025-05-28 16:18:29,577 - INFO - Deleting VM ctest-TestBasicPolicy-90457777-49096507 2025-05-28 16:18:29,642 - INFO - Deleting VM ctest-TestBasicPolicy-90457777-10137096 2025-05-28 16:18:30,100 - INFO - Deleted policy ctest-policy-allow-all-67348932 2025-05-28 16:18:30,100 - INFO - Deleting VN ctest-vn-99561824 2025-05-28 16:18:30,140 - DEBUG - VN 47a96476-9889-4abe-9930-cd8bf658ffe2 still in use: Unable to complete operation on network 47a96476-9889-4abe-9930-cd8bf658ffe2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d7c0ec18-fa1a-4a68-91ff-84043ebc8d6b'] 2025-05-28 16:18:30,140 - WARNING - Deleting VN ctest-vn-99561824 failed..Will retry 2025-05-28 16:18:32,261 - DEBUG - Response for deleting network () 2025-05-28 16:18:32,262 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/c68b088c-ce5c-415b-983d-95fb88ff7a60 2025-05-28 16:18:32,273 - DEBUG - Response Code: 404 2025-05-28 16:18:32,274 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2025-05-28 16:18:32,280 - DEBUG - Requesting: http://10.0.0.241:8082/domain/fc93ff58-0714-406b-8753-efed98742da4 2025-05-28 16:18:32,336 - DEBUG - Requesting: http://10.0.0.241:8082/project/da634cb4-cae4-4181-b03d-b3774c131494 2025-05-28 16:18:32,409 - INFO - Validated that VN ctest-vn-99561824 is not found in API Server 2025-05-28 16:18:32,421 - DEBUG - VN ctest-vn-99561824 is not present in Agent 10.0.0.241 2025-05-28 16:18:32,421 - INFO - Validated that VN ctest-vn-99561824 is not in any agent 2025-05-28 16:18:32,438 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-99561824 info 2025-05-28 16:18:32,438 - INFO - Deleting VN ctest-vn-56660980 2025-05-28 16:18:32,556 - DEBUG - Response for deleting network () 2025-05-28 16:18:32,556 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/dc760372-5679-4ffe-a4c7-9ca4da3bd77d 2025-05-28 16:18:32,568 - DEBUG - Response Code: 404 2025-05-28 16:18:32,568 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2025-05-28 16:18:32,574 - DEBUG - Requesting: http://10.0.0.241:8082/domain/fc93ff58-0714-406b-8753-efed98742da4 2025-05-28 16:18:32,629 - DEBUG - Requesting: http://10.0.0.241:8082/project/da634cb4-cae4-4181-b03d-b3774c131494 2025-05-28 16:18:32,708 - INFO - Validated that VN ctest-vn-56660980 is not found in API Server 2025-05-28 16:18:32,722 - DEBUG - VN ctest-vn-56660980 is not present in Agent 10.0.0.241 2025-05-28 16:18:32,722 - INFO - Validated that VN ctest-vn-56660980 is not in any agent 2025-05-28 16:18:32,739 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-56660980 info 2025-05-28 16:18:32,992 - DEBUG - No XMPP flaps were noticed during the test 2025-05-28 16:18:32,992 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-05-28 16:18:32,992 - INFO - -------------------------------------------------------------------------------- 2025-05-28 16:18:33,735 - INFO - Deleted project: ctest-TestBasicPolicy-90457777, ID : da634cb4-cae4-4181-b03d-b3774c131494