2025-12-08 17:20:42,756 - INFO - Domain Default found not creating 2025-12-08 17:20:42,936 - INFO - Project ctest-TestBasicPolicy-66839516 not found, creating it 2025-12-08 17:20:43,357 - INFO - Created Project:ctest-TestBasicPolicy-66839516, ID : fcfdf0ef-aafc-4eb9-8b4b-427ff216c5e4 2025-12-08 17:20:44,738 - INFO - ================================================================================ 2025-12-08 17:20:44,739 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-12-08 17:20:44,739 - 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-12-08 17:20:44,991 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.20.0.14': '0'}} with 2025-12-08 17:20:44,991 - INFO - Initial checks done. Running the testcase now 2025-12-08 17:20:44,991 - INFO - 2025-12-08 17:20:45,507 - DEBUG - Response for create_network : {'network': {'id': 'a3f5276a-e42c-4faf-a505-1cc24670c5c2', 'name': 'ctest-vn-29559754', 'tenant_id': 'fcfdf0efaafc4eb98b4b427ff216c5e4', 'project_id': 'fcfdf0efaafc4eb98b4b427ff216c5e4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66839516', 'ctest-vn-29559754'], 'port_security_enabled': True, 'description': ''}} 2025-12-08 17:20:45,679 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b0dd9b6a-3a2a-47b7-ae57-e6bbddf4f1b5', 'name': '', 'tenant_id': 'fcfdf0efaafc4eb98b4b427ff216c5e4', 'network_id': 'a3f5276a-e42c-4faf-a505-1cc24670c5c2', 'ip_version': 4, 'cidr': '184.228.115.0/26', 'allocation_pools': [{'start': '184.228.115.2', 'end': '184.228.115.62'}], 'gateway_ip': '184.228.115.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '184.228.115.2', 'tags': [], 'project_id': 'fcfdf0efaafc4eb98b4b427ff216c5e4'}} 2025-12-08 17:20:45,706 - INFO - Created VN ctest-vn-29559754 2025-12-08 17:20:45,759 - DEBUG - VN ctest-vn-29559754 UUID is a3f5276a-e42c-4faf-a505-1cc24670c5c2 2025-12-08 17:20:46,079 - DEBUG - Response for create_network : {'network': {'id': '4eb1c90a-60f7-440a-9c9e-57545db7dc1d', 'name': 'ctest-vn-25853792', 'tenant_id': 'fcfdf0efaafc4eb98b4b427ff216c5e4', 'project_id': 'fcfdf0efaafc4eb98b4b427ff216c5e4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66839516', 'ctest-vn-25853792'], 'port_security_enabled': True, 'description': ''}} 2025-12-08 17:20:46,263 - DEBUG - Response for create_subnet : {'subnet': {'id': '750d7309-1f03-4873-902b-ad8b6709027c', 'name': '', 'tenant_id': 'fcfdf0efaafc4eb98b4b427ff216c5e4', 'network_id': '4eb1c90a-60f7-440a-9c9e-57545db7dc1d', 'ip_version': 4, 'cidr': '51.89.79.128/26', 'allocation_pools': [{'start': '51.89.79.130', 'end': '51.89.79.190'}], 'gateway_ip': '51.89.79.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '51.89.79.130', 'tags': [], 'project_id': 'fcfdf0efaafc4eb98b4b427ff216c5e4'}} 2025-12-08 17:20:46,279 - INFO - Created VN ctest-vn-25853792 2025-12-08 17:20:46,331 - DEBUG - VN ctest-vn-25853792 UUID is 4eb1c90a-60f7-440a-9c9e-57545db7dc1d 2025-12-08 17:20:46,438 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-66839516:ctest-vn-29559754, 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-66839516:ctest-vn-25853792, 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-12-08 17:20:46,712 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a3f5276a-e42c-4faf-a505-1cc24670c5c2', 'name': 'ctest-vn-29559754', 'tenant_id': 'fcfdf0efaafc4eb98b4b427ff216c5e4', 'project_id': 'fcfdf0efaafc4eb98b4b427ff216c5e4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b0dd9b6a-3a2a-47b7-ae57-e6bbddf4f1b5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66839516', 'ctest-vn-29559754'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-66839516', 'ctest-policy-allow-all-97655895']], 'subnet_ipam': [{'subnet_cidr': '184.228.115.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-08 17:20:46,924 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4eb1c90a-60f7-440a-9c9e-57545db7dc1d', 'name': 'ctest-vn-25853792', 'tenant_id': 'fcfdf0efaafc4eb98b4b427ff216c5e4', 'project_id': 'fcfdf0efaafc4eb98b4b427ff216c5e4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['750d7309-1f03-4873-902b-ad8b6709027c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66839516', 'ctest-vn-25853792'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-66839516', 'ctest-policy-allow-all-97655895']], 'subnet_ipam': [{'subnet_cidr': '51.89.79.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-08 17:20:47,067 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2025-12-08 17:20:47,360 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2025-12-08 17:20:47,388 - DEBUG - Requesting: http://10.0.0.129:8082/domain/bece9f62-338c-4186-bf42-3ac7f9272697 2025-12-08 17:20:47,399 - DEBUG - Requesting: http://10.0.0.129:8082/project/fcfdf0ef-aafc-4eb9-8b4b-427ff216c5e4 2025-12-08 17:20:47,470 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/a3f5276a-e42c-4faf-a505-1cc24670c5c2 2025-12-08 17:20:47,480 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/a3f5276a-e42c-4faf-a505-1cc24670c5c2 2025-12-08 17:20:47,488 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/2e5e8d81-a291-43ea-9b54-1f9c57aa2db4 2025-12-08 17:20:47,493 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/2e5e8d81-a291-43ea-9b54-1f9c57aa2db4 2025-12-08 17:20:47,499 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/006f8fe8-01dc-42f8-9b06-5f949c7964fb 2025-12-08 17:20:47,503 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-08 17:20:47,503 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/a3f5276a-e42c-4faf-a505-1cc24670c5c2 2025-12-08 17:20:47,510 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/2e5e8d81-a291-43ea-9b54-1f9c57aa2db4 2025-12-08 17:20:47,521 - INFO - Verified VN network id 12 for VN a3f5276a-e42c-4faf-a505-1cc24670c5c2 2025-12-08 17:20:47,521 - INFO - Verifications in API Server for VN ctest-vn-29559754 passed 2025-12-08 17:20:47,521 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/a3f5276a-e42c-4faf-a505-1cc24670c5c2 2025-12-08 17:20:47,527 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/2e5e8d81-a291-43ea-9b54-1f9c57aa2db4 2025-12-08 17:20:47,532 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/2e5e8d81-a291-43ea-9b54-1f9c57aa2db4 2025-12-08 17:20:47,537 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/006f8fe8-01dc-42f8-9b06-5f949c7964fb 2025-12-08 17:20:47,548 - DEBUG - Control-node 10.0.0.129 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-66839516:ctest-vn-29559754', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-66839516', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11814392537524490159', 'uuid-lslong': '11890942011872691650'}, 'enable': 'true', 'created': '2025-12-08T17:20:45', 'last-modified': '2025-12-08T17:20:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.855538'} 2025-12-08 17:20:47,553 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-08 17:20:47,553 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-29559754 passed 2025-12-08 17:20:47,553 - DEBUG - ====Verifying policy data for ctest-vn-29559754 in API_Server ====== 2025-12-08 17:20:47,553 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2025-12-08 17:20:47,558 - DEBUG - Requesting: http://10.0.0.129:8082/domain/bece9f62-338c-4186-bf42-3ac7f9272697 2025-12-08 17:20:47,568 - DEBUG - Requesting: http://10.0.0.129:8082/project/fcfdf0ef-aafc-4eb9-8b4b-427ff216c5e4 2025-12-08 17:20:47,633 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/a3f5276a-e42c-4faf-a505-1cc24670c5c2 2025-12-08 17:20:47,641 - DEBUG - ==>Verifying data for policy with id: 8630bdd3-2735-4afb-a462-0c1bdc3ae999, fqn: ['default-domain', 'ctest-TestBasicPolicy-66839516', 'ctest-policy-allow-all-97655895'] 2025-12-08 17:20:47,641 - INFO - VN ctest-vn-29559754 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-08 17:20:47,641 - DEBUG - Verifying the vn in opserver 2025-12-08 17:20:47,641 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-66839516:ctest-vn-29559754 virtual network link through opserver 10.0.0.129 2025-12-08 17:20:47,641 - DEBUG - Requesting: http://10.0.0.129:8081/analytics/uves/virtual-networks 2025-12-08 17:20:47,929 - DEBUG - Requesting: http://10.0.0.129:8081/analytics/uves/virtual-networks 2025-12-08 17:20:47,979 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-66839516:ctest-vn-29559754', 'href': 'http://10.0.0.129:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-66839516:ctest-vn-29559754?flat'} 2025-12-08 17:20:47,979 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-66839516:ctest-vn-29559754 is found in opserver 2025-12-08 17:20:47,987 - DEBUG - Do not have enough data to verify VN in agent 2025-12-08 17:20:47,990 - DEBUG - VRF ids for VN ctest-vn-29559754: {} 2025-12-08 17:20:47,990 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2025-12-08 17:20:47,994 - DEBUG - Requesting: http://10.0.0.129:8082/domain/bece9f62-338c-4186-bf42-3ac7f9272697 2025-12-08 17:20:48,003 - DEBUG - Requesting: http://10.0.0.129:8082/project/fcfdf0ef-aafc-4eb9-8b4b-427ff216c5e4 2025-12-08 17:20:48,072 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/4eb1c90a-60f7-440a-9c9e-57545db7dc1d 2025-12-08 17:20:48,081 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/4eb1c90a-60f7-440a-9c9e-57545db7dc1d 2025-12-08 17:20:48,088 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/2e27d902-089a-499c-87af-8726e762c3d1 2025-12-08 17:20:48,093 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/2e27d902-089a-499c-87af-8726e762c3d1 2025-12-08 17:20:48,098 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/23246313-d2a2-4958-a081-2f59f28080a0 2025-12-08 17:20:48,103 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-08 17:20:48,103 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/4eb1c90a-60f7-440a-9c9e-57545db7dc1d 2025-12-08 17:20:48,109 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/2e27d902-089a-499c-87af-8726e762c3d1 2025-12-08 17:20:48,119 - INFO - Verified VN network id 13 for VN 4eb1c90a-60f7-440a-9c9e-57545db7dc1d 2025-12-08 17:20:48,119 - INFO - Verifications in API Server for VN ctest-vn-25853792 passed 2025-12-08 17:20:48,119 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/4eb1c90a-60f7-440a-9c9e-57545db7dc1d 2025-12-08 17:20:48,126 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/2e27d902-089a-499c-87af-8726e762c3d1 2025-12-08 17:20:48,131 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/2e27d902-089a-499c-87af-8726e762c3d1 2025-12-08 17:20:48,135 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/23246313-d2a2-4958-a081-2f59f28080a0 2025-12-08 17:20:48,143 - DEBUG - Control-node 10.0.0.129 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-66839516:ctest-vn-25853792', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-66839516', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5670534452249838602', 'uuid-lslong': '11285553736098241565'}, 'enable': 'true', 'created': '2025-12-08T17:20:46', 'last-modified': '2025-12-08T17:20:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.238426'} 2025-12-08 17:20:48,148 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-08 17:20:48,148 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-25853792 passed 2025-12-08 17:20:48,148 - DEBUG - ====Verifying policy data for ctest-vn-25853792 in API_Server ====== 2025-12-08 17:20:48,148 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2025-12-08 17:20:48,152 - DEBUG - Requesting: http://10.0.0.129:8082/domain/bece9f62-338c-4186-bf42-3ac7f9272697 2025-12-08 17:20:48,160 - DEBUG - Requesting: http://10.0.0.129:8082/project/fcfdf0ef-aafc-4eb9-8b4b-427ff216c5e4 2025-12-08 17:20:48,226 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/4eb1c90a-60f7-440a-9c9e-57545db7dc1d 2025-12-08 17:20:48,234 - DEBUG - ==>Verifying data for policy with id: 8630bdd3-2735-4afb-a462-0c1bdc3ae999, fqn: ['default-domain', 'ctest-TestBasicPolicy-66839516', 'ctest-policy-allow-all-97655895'] 2025-12-08 17:20:48,234 - INFO - VN ctest-vn-25853792 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-08 17:20:48,234 - DEBUG - Verifying the vn in opserver 2025-12-08 17:20:48,234 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-66839516:ctest-vn-25853792 virtual network link through opserver 10.0.0.129 2025-12-08 17:20:48,234 - DEBUG - Requesting: http://10.0.0.129:8081/analytics/uves/virtual-networks 2025-12-08 17:20:48,242 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-66839516:ctest-vn-25853792', 'href': 'http://10.0.0.129:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-66839516:ctest-vn-25853792?flat'} 2025-12-08 17:20:48,242 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-66839516:ctest-vn-25853792 is found in opserver 2025-12-08 17:20:48,250 - DEBUG - Do not have enough data to verify VN in agent 2025-12-08 17:20:48,254 - DEBUG - VRF ids for VN ctest-vn-25853792: {} 2025-12-08 17:20:48,303 - DEBUG - Services list from nova: [, , ] 2025-12-08 17:20:49,249 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4857-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4857-1) 2025-12-08 17:20:50,286 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4857-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4857-1) 2025-12-08 17:20:50,286 - INFO - Waiting for VM ctest-TestBasicPolicy-66839516-46578543 to be up.. 2025-12-08 17:20:50,356 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-08 17:20:55,430 - DEBUG - VM is in ACTIVE state now 2025-12-08 17:20:55,431 - INFO - VM name : ctest-TestBasicPolicy-66839516-46578543 2025-12-08 17:20:55,497 - DEBUG - VM ctest-TestBasicPolicy-66839516-46578543 ID is 0227007a-cfaf-4b83-9879-aa3a0cc28a68 2025-12-08 17:20:55,514 - DEBUG - VM ctest-TestBasicPolicy-66839516-46578543 launched on Node cn-jenkins-deploy-platform-ansible-os-4857-1 2025-12-08 17:20:55,577 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/0227007a-cfaf-4b83-9879-aa3a0cc28a68 2025-12-08 17:20:55,583 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/d6dcb9a3-d2e6-4a9f-a95d-e0828633cffe 2025-12-08 17:20:58,840 - 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 1023ms') 2025-12-08 17:20:58,840 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-66839516-46578543 failed! 2025-12-08 17:20:58,895 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-66839516:ctest-vn-29559754 is 184.228.115.1 and allocation pool is NOT set 2025-12-08 17:21:00,950 - 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.23 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.569 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.569/1.897/3.226/1.328 ms') 2025-12-08 17:21:00,950 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-66839516-46578543 passed 2025-12-08 17:21:01,099 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 17:21:01,099 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-66839516-46578543, IP 184.228.115.3, Port 22 2025-12-08 17:21:01,255 - DEBUG - VM ctest-TestBasicPolicy-66839516-46578543 is ready for SSH connections 2025-12-08 17:21:01,255 - INFO - Waiting for VM ctest-TestBasicPolicy-66839516-39109835 to be up.. 2025-12-08 17:21:01,321 - DEBUG - VM is in ACTIVE state now 2025-12-08 17:21:01,321 - INFO - VM name : ctest-TestBasicPolicy-66839516-39109835 2025-12-08 17:21:01,385 - DEBUG - VM ctest-TestBasicPolicy-66839516-39109835 ID is 530b2fcc-c29f-4432-b1c1-20579444cadc 2025-12-08 17:21:01,386 - DEBUG - VM ctest-TestBasicPolicy-66839516-39109835 launched on Node cn-jenkins-deploy-platform-ansible-os-4857-1 2025-12-08 17:21:01,453 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/530b2fcc-c29f-4432-b1c1-20579444cadc 2025-12-08 17:21:01,460 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/d7925d92-1424-49cc-812f-f28c6208a6e1 2025-12-08 17:21:02,690 - 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.11 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.373 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.373/1.743/3.113/1.370 ms') 2025-12-08 17:21:02,690 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-66839516-39109835 passed 2025-12-08 17:21:02,843 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 17:21:02,843 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-66839516-39109835, IP 51.89.79.131, Port 22 2025-12-08 17:21:02,994 - DEBUG - VM ctest-TestBasicPolicy-66839516-39109835 is ready for SSH connections 2025-12-08 17:21:02,994 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 17:21:02,994 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 51.89.79.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2025-12-08 17:21:02,994 - DEBUG - ping -s 56 -c 3 -W 1 51.89.79.131 2025-12-08 17:21:06,677 - DEBUG - PING 51.89.79.131 (51.89.79.131): 56 data bytes 64 bytes from 51.89.79.131: seq=0 ttl=63 time=3.117 ms 64 bytes from 51.89.79.131: seq=1 ttl=63 time=0.707 ms 64 bytes from 51.89.79.131: seq=2 ttl=63 time=0.718 ms --- 51.89.79.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.707/1.514/3.117 ms 2025-12-08 17:21:06,677 - INFO - Ping to IP 51.89.79.131 from VM ctest-TestBasicPolicy-66839516-46578543 passed 2025-12-08 17:21:06,846 - DEBUG - Policy Update Response {"network-policy": {"uuid": "8630bdd3-2735-4afb-a462-0c1bdc3ae999", "href": "http://10.0.0.129:8082/network-policy/8630bdd3-2735-4afb-a462-0c1bdc3ae999"}} 2025-12-08 17:21:06,847 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 17:21:06,847 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 51.89.79.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2025-12-08 17:21:06,847 - DEBUG - ping -s 56 -c 3 -W 1 51.89.79.131 2025-12-08 17:21:10,053 - DEBUG - PING 51.89.79.131 (51.89.79.131): 56 data bytes --- 51.89.79.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-08 17:21:10,053 - WARNING - Ping to IP 51.89.79.131 from VM ctest-TestBasicPolicy-66839516-46578543 failed 2025-12-08 17:21:10,053 - INFO - Deleting VM ctest-TestBasicPolicy-66839516-39109835 2025-12-08 17:21:10,125 - INFO - Deleting VM ctest-TestBasicPolicy-66839516-46578543 2025-12-08 17:21:10,518 - INFO - Deleted policy ctest-policy-allow-all-97655895 2025-12-08 17:21:10,518 - INFO - Deleting VN ctest-vn-25853792 2025-12-08 17:21:10,564 - DEBUG - VN 4eb1c90a-60f7-440a-9c9e-57545db7dc1d still in use: Unable to complete operation on network 4eb1c90a-60f7-440a-9c9e-57545db7dc1d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0bf6b05a-bfe9-47e8-9fe4-81a7f799e22f'] 2025-12-08 17:21:10,565 - WARNING - Deleting VN ctest-vn-25853792 failed..Will retry 2025-12-08 17:21:12,668 - DEBUG - Response for deleting network () 2025-12-08 17:21:12,668 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/2e27d902-089a-499c-87af-8726e762c3d1 2025-12-08 17:21:12,675 - DEBUG - Response Code: 404 2025-12-08 17:21:12,675 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2025-12-08 17:21:12,681 - DEBUG - Requesting: http://10.0.0.129:8082/domain/bece9f62-338c-4186-bf42-3ac7f9272697 2025-12-08 17:21:12,737 - DEBUG - Requesting: http://10.0.0.129:8082/project/fcfdf0ef-aafc-4eb9-8b4b-427ff216c5e4 2025-12-08 17:21:12,809 - INFO - Validated that VN ctest-vn-25853792 is not found in API Server 2025-12-08 17:21:12,819 - DEBUG - VN ctest-vn-25853792 is not present in Agent 10.0.0.129 2025-12-08 17:21:12,819 - INFO - Validated that VN ctest-vn-25853792 is not in any agent 2025-12-08 17:21:12,833 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-25853792 info 2025-12-08 17:21:12,833 - INFO - Deleting VN ctest-vn-29559754 2025-12-08 17:21:12,916 - DEBUG - Response for deleting network () 2025-12-08 17:21:12,916 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/2e5e8d81-a291-43ea-9b54-1f9c57aa2db4 2025-12-08 17:21:12,920 - DEBUG - Response Code: 404 2025-12-08 17:21:12,920 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2025-12-08 17:21:12,926 - DEBUG - Requesting: http://10.0.0.129:8082/domain/bece9f62-338c-4186-bf42-3ac7f9272697 2025-12-08 17:21:12,979 - DEBUG - Requesting: http://10.0.0.129:8082/project/fcfdf0ef-aafc-4eb9-8b4b-427ff216c5e4 2025-12-08 17:21:13,052 - INFO - Validated that VN ctest-vn-29559754 is not found in API Server 2025-12-08 17:21:13,061 - DEBUG - VN ctest-vn-29559754 is not present in Agent 10.0.0.129 2025-12-08 17:21:13,061 - INFO - Validated that VN ctest-vn-29559754 is not in any agent 2025-12-08 17:21:13,074 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-29559754 info 2025-12-08 17:21:13,332 - DEBUG - No XMPP flaps were noticed during the test 2025-12-08 17:21:13,332 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-12-08 17:21:13,332 - INFO - -------------------------------------------------------------------------------- 2025-12-08 17:21:13,993 - INFO - Deleted project: ctest-TestBasicPolicy-66839516, ID : fcfdf0ef-aafc-4eb9-8b4b-427ff216c5e4