2025-11-07 13:20:43,979 - INFO - Domain Default found not creating 2025-11-07 13:20:44,147 - INFO - Project ctest-TestBasicPolicy-02461697 not found, creating it 2025-11-07 13:20:44,602 - INFO - Created Project:ctest-TestBasicPolicy-02461697, ID : 1bea7523-4af2-4e19-8bc1-871e1c327012 2025-11-07 13:20:46,222 - INFO - ================================================================================ 2025-11-07 13:20:46,222 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-07 13:20:46,222 - 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-07 13:20:46,477 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.14': '0'}} with 2025-11-07 13:20:46,477 - INFO - Initial checks done. Running the testcase now 2025-11-07 13:20:46,477 - INFO - 2025-11-07 13:20:47,059 - DEBUG - Response for create_network : {'network': {'id': '7f394fb3-e139-454d-8d10-dc0cb3d2b7da', 'name': 'ctest-vn-78917080', 'tenant_id': '1bea75234af24e198bc1871e1c327012', 'project_id': '1bea75234af24e198bc1871e1c327012', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02461697', 'ctest-vn-78917080'], 'port_security_enabled': True, 'description': ''}} 2025-11-07 13:20:47,234 - DEBUG - Response for create_subnet : {'subnet': {'id': '537bfd24-5452-456a-8968-66b8fc0668fd', 'name': '', 'tenant_id': '1bea75234af24e198bc1871e1c327012', 'network_id': '7f394fb3-e139-454d-8d10-dc0cb3d2b7da', 'ip_version': 4, 'cidr': '147.223.151.128/26', 'allocation_pools': [{'start': '147.223.151.130', 'end': '147.223.151.190'}], 'gateway_ip': '147.223.151.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '147.223.151.130', 'tags': [], 'project_id': '1bea75234af24e198bc1871e1c327012'}} 2025-11-07 13:20:47,253 - INFO - Created VN ctest-vn-78917080 2025-11-07 13:20:47,308 - DEBUG - VN ctest-vn-78917080 UUID is 7f394fb3-e139-454d-8d10-dc0cb3d2b7da 2025-11-07 13:20:47,626 - DEBUG - Response for create_network : {'network': {'id': '3425649f-41f0-449d-b434-74d761e0f139', 'name': 'ctest-vn-71621408', 'tenant_id': '1bea75234af24e198bc1871e1c327012', 'project_id': '1bea75234af24e198bc1871e1c327012', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02461697', 'ctest-vn-71621408'], 'port_security_enabled': True, 'description': ''}} 2025-11-07 13:20:47,809 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e3b40758-661e-4290-b9f7-469d745ab305', 'name': '', 'tenant_id': '1bea75234af24e198bc1871e1c327012', 'network_id': '3425649f-41f0-449d-b434-74d761e0f139', 'ip_version': 4, 'cidr': '100.135.55.0/26', 'allocation_pools': [{'start': '100.135.55.2', 'end': '100.135.55.62'}], 'gateway_ip': '100.135.55.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '100.135.55.2', 'tags': [], 'project_id': '1bea75234af24e198bc1871e1c327012'}} 2025-11-07 13:20:47,826 - INFO - Created VN ctest-vn-71621408 2025-11-07 13:20:47,880 - DEBUG - VN ctest-vn-71621408 UUID is 3425649f-41f0-449d-b434-74d761e0f139 2025-11-07 13:20:48,028 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-02461697:ctest-vn-78917080, 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-02461697:ctest-vn-71621408, 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-07 13:20:48,321 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7f394fb3-e139-454d-8d10-dc0cb3d2b7da', 'name': 'ctest-vn-78917080', 'tenant_id': '1bea75234af24e198bc1871e1c327012', 'project_id': '1bea75234af24e198bc1871e1c327012', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['537bfd24-5452-456a-8968-66b8fc0668fd'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02461697', 'ctest-vn-78917080'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-02461697', 'ctest-policy-allow-all-32679333']], 'subnet_ipam': [{'subnet_cidr': '147.223.151.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-07 13:20:48,544 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3425649f-41f0-449d-b434-74d761e0f139', 'name': 'ctest-vn-71621408', 'tenant_id': '1bea75234af24e198bc1871e1c327012', 'project_id': '1bea75234af24e198bc1871e1c327012', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e3b40758-661e-4290-b9f7-469d745ab305'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02461697', 'ctest-vn-71621408'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-02461697', 'ctest-policy-allow-all-32679333']], 'subnet_ipam': [{'subnet_cidr': '100.135.55.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-07 13:20:48,720 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-07 13:20:49,043 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-07 13:20:49,068 - DEBUG - Requesting: http://10.0.0.50:8082/domain/a8d0d865-f9b0-4130-9301-1ae509ba31e3 2025-11-07 13:20:49,083 - DEBUG - Requesting: http://10.0.0.50:8082/project/1bea7523-4af2-4e19-8bc1-871e1c327012 2025-11-07 13:20:49,158 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7f394fb3-e139-454d-8d10-dc0cb3d2b7da 2025-11-07 13:20:49,174 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7f394fb3-e139-454d-8d10-dc0cb3d2b7da 2025-11-07 13:20:49,186 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e42ad22b-c2db-403c-8cd6-ec9298f12bf7 2025-11-07 13:20:49,194 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e42ad22b-c2db-403c-8cd6-ec9298f12bf7 2025-11-07 13:20:49,201 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/ee2b1f17-268c-4677-9c9c-511488771fbd 2025-11-07 13:20:49,209 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-07 13:20:49,209 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7f394fb3-e139-454d-8d10-dc0cb3d2b7da 2025-11-07 13:20:49,220 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e42ad22b-c2db-403c-8cd6-ec9298f12bf7 2025-11-07 13:20:49,235 - INFO - Verified VN network id 12 for VN 7f394fb3-e139-454d-8d10-dc0cb3d2b7da 2025-11-07 13:20:49,235 - INFO - Verifications in API Server for VN ctest-vn-78917080 passed 2025-11-07 13:20:49,235 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7f394fb3-e139-454d-8d10-dc0cb3d2b7da 2025-11-07 13:20:49,245 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e42ad22b-c2db-403c-8cd6-ec9298f12bf7 2025-11-07 13:20:49,252 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e42ad22b-c2db-403c-8cd6-ec9298f12bf7 2025-11-07 13:20:49,259 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/ee2b1f17-268c-4677-9c9c-511488771fbd 2025-11-07 13:20:49,271 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-02461697:ctest-vn-78917080', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-02461697', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9167446150485722445', 'uuid-lslong': '10164866306089859034'}, 'enable': 'true', 'created': '2025-11-07T13:20:47', 'last-modified': '2025-11-07T13:20:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.978014'} 2025-11-07 13:20:49,276 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-07 13:20:49,277 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-78917080 passed 2025-11-07 13:20:49,277 - DEBUG - ====Verifying policy data for ctest-vn-78917080 in API_Server ====== 2025-11-07 13:20:49,277 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-07 13:20:49,283 - DEBUG - Requesting: http://10.0.0.50:8082/domain/a8d0d865-f9b0-4130-9301-1ae509ba31e3 2025-11-07 13:20:49,294 - DEBUG - Requesting: http://10.0.0.50:8082/project/1bea7523-4af2-4e19-8bc1-871e1c327012 2025-11-07 13:20:49,368 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7f394fb3-e139-454d-8d10-dc0cb3d2b7da 2025-11-07 13:20:49,379 - DEBUG - ==>Verifying data for policy with id: 8d4ece79-0e8c-4ca3-a0ec-8c371abdd115, fqn: ['default-domain', 'ctest-TestBasicPolicy-02461697', 'ctest-policy-allow-all-32679333'] 2025-11-07 13:20:49,379 - INFO - VN ctest-vn-78917080 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-07 13:20:49,379 - DEBUG - Verifying the vn in opserver 2025-11-07 13:20:49,379 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-02461697:ctest-vn-78917080 virtual network link through opserver 10.0.0.50 2025-11-07 13:20:49,379 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-11-07 13:20:49,703 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-11-07 13:20:49,756 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-02461697:ctest-vn-78917080', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-02461697:ctest-vn-78917080?flat'} 2025-11-07 13:20:49,756 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-02461697:ctest-vn-78917080 is found in opserver 2025-11-07 13:20:49,766 - DEBUG - Do not have enough data to verify VN in agent 2025-11-07 13:20:49,770 - DEBUG - VRF ids for VN ctest-vn-78917080: {} 2025-11-07 13:20:49,770 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-07 13:20:49,776 - DEBUG - Requesting: http://10.0.0.50:8082/domain/a8d0d865-f9b0-4130-9301-1ae509ba31e3 2025-11-07 13:20:49,788 - DEBUG - Requesting: http://10.0.0.50:8082/project/1bea7523-4af2-4e19-8bc1-871e1c327012 2025-11-07 13:20:49,866 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/3425649f-41f0-449d-b434-74d761e0f139 2025-11-07 13:20:49,877 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/3425649f-41f0-449d-b434-74d761e0f139 2025-11-07 13:20:49,887 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9792c1c4-91b4-4d69-a751-67ae249b47a0 2025-11-07 13:20:49,894 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9792c1c4-91b4-4d69-a751-67ae249b47a0 2025-11-07 13:20:49,901 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/ba802131-1a35-4ac2-86f1-2140628cbf83 2025-11-07 13:20:49,908 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-07 13:20:49,908 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/3425649f-41f0-449d-b434-74d761e0f139 2025-11-07 13:20:49,917 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9792c1c4-91b4-4d69-a751-67ae249b47a0 2025-11-07 13:20:49,932 - INFO - Verified VN network id 13 for VN 3425649f-41f0-449d-b434-74d761e0f139 2025-11-07 13:20:49,932 - INFO - Verifications in API Server for VN ctest-vn-71621408 passed 2025-11-07 13:20:49,932 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/3425649f-41f0-449d-b434-74d761e0f139 2025-11-07 13:20:49,942 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9792c1c4-91b4-4d69-a751-67ae249b47a0 2025-11-07 13:20:49,949 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9792c1c4-91b4-4d69-a751-67ae249b47a0 2025-11-07 13:20:49,956 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/ba802131-1a35-4ac2-86f1-2140628cbf83 2025-11-07 13:20:49,968 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-02461697:ctest-vn-71621408', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-02461697', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3757520099279389853', 'uuid-lslong': '12985132094024905017'}, 'enable': 'true', 'created': '2025-11-07T13:20:47', 'last-modified': '2025-11-07T13:20:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.441835'} 2025-11-07 13:20:49,974 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-07 13:20:49,974 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-71621408 passed 2025-11-07 13:20:49,974 - DEBUG - ====Verifying policy data for ctest-vn-71621408 in API_Server ====== 2025-11-07 13:20:49,974 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-07 13:20:49,979 - DEBUG - Requesting: http://10.0.0.50:8082/domain/a8d0d865-f9b0-4130-9301-1ae509ba31e3 2025-11-07 13:20:49,991 - DEBUG - Requesting: http://10.0.0.50:8082/project/1bea7523-4af2-4e19-8bc1-871e1c327012 2025-11-07 13:20:50,064 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/3425649f-41f0-449d-b434-74d761e0f139 2025-11-07 13:20:50,073 - DEBUG - ==>Verifying data for policy with id: 8d4ece79-0e8c-4ca3-a0ec-8c371abdd115, fqn: ['default-domain', 'ctest-TestBasicPolicy-02461697', 'ctest-policy-allow-all-32679333'] 2025-11-07 13:20:50,073 - INFO - VN ctest-vn-71621408 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-07 13:20:50,073 - DEBUG - Verifying the vn in opserver 2025-11-07 13:20:50,073 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-02461697:ctest-vn-71621408 virtual network link through opserver 10.0.0.50 2025-11-07 13:20:50,073 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-11-07 13:20:50,082 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-02461697:ctest-vn-71621408', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-02461697:ctest-vn-71621408?flat'} 2025-11-07 13:20:50,082 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-02461697:ctest-vn-71621408 is found in opserver 2025-11-07 13:20:50,092 - DEBUG - Do not have enough data to verify VN in agent 2025-11-07 13:20:50,097 - DEBUG - VRF ids for VN ctest-vn-71621408: {} 2025-11-07 13:20:50,158 - DEBUG - Services list from nova: [, , ] 2025-11-07 13:20:51,217 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4668-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4668-1) 2025-11-07 13:20:52,434 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4668-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4668-1) 2025-11-07 13:20:52,434 - INFO - Waiting for VM ctest-TestBasicPolicy-02461697-51194504 to be up.. 2025-11-07 13:20:52,525 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-07 13:20:57,610 - DEBUG - VM is in ACTIVE state now 2025-11-07 13:20:57,611 - INFO - VM name : ctest-TestBasicPolicy-02461697-51194504 2025-11-07 13:20:57,686 - DEBUG - VM ctest-TestBasicPolicy-02461697-51194504 ID is 6aeef8c9-ec90-4bd5-8a79-9a1df1112fab 2025-11-07 13:20:57,705 - DEBUG - VM ctest-TestBasicPolicy-02461697-51194504 launched on Node cn-jenkins-deploy-platform-ansible-os-4668-1 2025-11-07 13:20:57,782 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/6aeef8c9-ec90-4bd5-8a79-9a1df1112fab 2025-11-07 13:20:57,790 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/1b1f03dd-e205-4168-957a-4b501b7538dc 2025-11-07 13:21:01,046 - 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 1018ms') 2025-11-07 13:21:01,046 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-02461697-51194504 failed! 2025-11-07 13:21:01,108 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-02461697:ctest-vn-78917080 is 147.223.151.129 and allocation pool is NOT set 2025-11-07 13:21:03,173 - 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=3.78 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.521 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.521/2.152/3.783/1.631 ms') 2025-11-07 13:21:03,173 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-02461697-51194504 passed 2025-11-07 13:21:03,320 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-07 13:21:03,320 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-02461697-51194504, IP 147.223.151.131, Port 22 2025-11-07 13:21:03,480 - DEBUG - VM ctest-TestBasicPolicy-02461697-51194504 is ready for SSH connections 2025-11-07 13:21:03,480 - INFO - Waiting for VM ctest-TestBasicPolicy-02461697-40348894 to be up.. 2025-11-07 13:21:03,560 - DEBUG - VM is in ACTIVE state now 2025-11-07 13:21:03,560 - INFO - VM name : ctest-TestBasicPolicy-02461697-40348894 2025-11-07 13:21:03,634 - DEBUG - VM ctest-TestBasicPolicy-02461697-40348894 ID is 2723591f-5172-4c7a-bea1-93915755ec30 2025-11-07 13:21:03,634 - DEBUG - VM ctest-TestBasicPolicy-02461697-40348894 launched on Node cn-jenkins-deploy-platform-ansible-os-4668-1 2025-11-07 13:21:03,707 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/2723591f-5172-4c7a-bea1-93915755ec30 2025-11-07 13:21:03,716 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/09df28e1-5ebb-4d28-8da2-badc16291327 2025-11-07 13:21:04,962 - 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.17 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.383 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.383/1.776/3.169/1.393 ms') 2025-11-07 13:21:04,962 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-02461697-40348894 passed 2025-11-07 13:21:05,112 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-07 13:21:05,112 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-02461697-40348894, IP 100.135.55.3, Port 22 2025-11-07 13:21:05,272 - DEBUG - VM ctest-TestBasicPolicy-02461697-40348894 is ready for SSH connections 2025-11-07 13:21:05,272 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-07 13:21:05,272 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 100.135.55.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-07 13:21:05,272 - DEBUG - ping -s 56 -c 3 -W 1 100.135.55.3 2025-11-07 13:21:09,388 - DEBUG - PING 100.135.55.3 (100.135.55.3): 56 data bytes 64 bytes from 100.135.55.3: seq=0 ttl=63 time=4.118 ms 64 bytes from 100.135.55.3: seq=1 ttl=63 time=0.974 ms 64 bytes from 100.135.55.3: seq=2 ttl=63 time=0.923 ms --- 100.135.55.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.923/2.005/4.118 ms 2025-11-07 13:21:09,388 - INFO - Ping to IP 100.135.55.3 from VM ctest-TestBasicPolicy-02461697-51194504 passed 2025-11-07 13:21:09,568 - DEBUG - Policy Update Response {"network-policy": {"uuid": "8d4ece79-0e8c-4ca3-a0ec-8c371abdd115", "href": "http://10.0.0.50:8082/network-policy/8d4ece79-0e8c-4ca3-a0ec-8c371abdd115"}} 2025-11-07 13:21:09,568 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-07 13:21:09,568 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 100.135.55.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-07 13:21:09,568 - DEBUG - ping -s 56 -c 3 -W 1 100.135.55.3 2025-11-07 13:21:12,687 - DEBUG - PING 100.135.55.3 (100.135.55.3): 56 data bytes --- 100.135.55.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-07 13:21:12,687 - WARNING - Ping to IP 100.135.55.3 from VM ctest-TestBasicPolicy-02461697-51194504 failed 2025-11-07 13:21:12,687 - INFO - Deleting VM ctest-TestBasicPolicy-02461697-40348894 2025-11-07 13:21:12,759 - INFO - Deleting VM ctest-TestBasicPolicy-02461697-51194504 2025-11-07 13:21:13,158 - INFO - Deleted policy ctest-policy-allow-all-32679333 2025-11-07 13:21:13,158 - INFO - Deleting VN ctest-vn-71621408 2025-11-07 13:21:13,196 - DEBUG - VN 3425649f-41f0-449d-b434-74d761e0f139 still in use: Unable to complete operation on network 3425649f-41f0-449d-b434-74d761e0f139. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f49df69c-af2e-412b-be47-8837ba193661'] 2025-11-07 13:21:13,197 - WARNING - Deleting VN ctest-vn-71621408 failed..Will retry 2025-11-07 13:21:15,302 - DEBUG - Response for deleting network () 2025-11-07 13:21:15,302 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9792c1c4-91b4-4d69-a751-67ae249b47a0 2025-11-07 13:21:15,311 - DEBUG - Response Code: 404 2025-11-07 13:21:15,312 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-07 13:21:15,319 - DEBUG - Requesting: http://10.0.0.50:8082/domain/a8d0d865-f9b0-4130-9301-1ae509ba31e3 2025-11-07 13:21:15,374 - DEBUG - Requesting: http://10.0.0.50:8082/project/1bea7523-4af2-4e19-8bc1-871e1c327012 2025-11-07 13:21:15,450 - INFO - Validated that VN ctest-vn-71621408 is not found in API Server 2025-11-07 13:21:15,462 - DEBUG - VN ctest-vn-71621408 is not present in Agent 10.0.0.50 2025-11-07 13:21:15,462 - INFO - Validated that VN ctest-vn-71621408 is not in any agent 2025-11-07 13:21:15,477 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-71621408 info 2025-11-07 13:21:15,477 - INFO - Deleting VN ctest-vn-78917080 2025-11-07 13:21:15,583 - DEBUG - Response for deleting network () 2025-11-07 13:21:15,583 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e42ad22b-c2db-403c-8cd6-ec9298f12bf7 2025-11-07 13:21:15,593 - DEBUG - Response Code: 404 2025-11-07 13:21:15,593 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-07 13:21:15,603 - DEBUG - Requesting: http://10.0.0.50:8082/domain/a8d0d865-f9b0-4130-9301-1ae509ba31e3 2025-11-07 13:21:15,658 - DEBUG - Requesting: http://10.0.0.50:8082/project/1bea7523-4af2-4e19-8bc1-871e1c327012 2025-11-07 13:21:15,734 - INFO - Validated that VN ctest-vn-78917080 is not found in API Server 2025-11-07 13:21:15,745 - DEBUG - VN ctest-vn-78917080 is not present in Agent 10.0.0.50 2025-11-07 13:21:15,745 - INFO - Validated that VN ctest-vn-78917080 is not in any agent 2025-11-07 13:21:15,761 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-78917080 info 2025-11-07 13:21:16,018 - DEBUG - No XMPP flaps were noticed during the test 2025-11-07 13:21:16,018 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-11-07 13:21:16,018 - INFO - -------------------------------------------------------------------------------- 2025-11-07 13:21:16,737 - INFO - Deleted project: ctest-TestBasicPolicy-02461697, ID : 1bea7523-4af2-4e19-8bc1-871e1c327012