2026-01-05 16:21:52,918 - INFO - Domain Default found not creating 2026-01-05 16:21:53,065 - INFO - Project ctest-TestBasicPolicy-13908523 not found, creating it 2026-01-05 16:21:53,486 - INFO - Created Project:ctest-TestBasicPolicy-13908523, ID : 04878791-f26c-4f97-bea9-93a1b716e337 2026-01-05 16:21:54,864 - INFO - ================================================================================ 2026-01-05 16:21:54,865 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-01-05 16:21:54,865 - 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 2026-01-05 16:21:55,122 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-01-05 16:21:55,122 - INFO - Initial checks done. Running the testcase now 2026-01-05 16:21:55,122 - INFO - 2026-01-05 16:21:55,659 - DEBUG - Response for create_network : {'network': {'id': 'fd585c67-69cb-44a2-aedf-c36908d003e4', 'name': 'ctest-vn-25238810', 'tenant_id': '04878791f26c4f97bea993a1b716e337', 'project_id': '04878791f26c4f97bea993a1b716e337', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-13908523', 'ctest-vn-25238810'], 'port_security_enabled': True, 'description': ''}} 2026-01-05 16:21:55,863 - DEBUG - Response for create_subnet : {'subnet': {'id': '9b8923a6-fe51-4678-8ca7-0bbdb91c27b4', 'name': '', 'tenant_id': '04878791f26c4f97bea993a1b716e337', 'network_id': 'fd585c67-69cb-44a2-aedf-c36908d003e4', 'ip_version': 4, 'cidr': '192.221.193.192/26', 'allocation_pools': [{'start': '192.221.193.194', 'end': '192.221.193.254'}], 'gateway_ip': '192.221.193.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '192.221.193.194', 'tags': [], 'project_id': '04878791f26c4f97bea993a1b716e337'}} 2026-01-05 16:21:55,880 - INFO - Created VN ctest-vn-25238810 2026-01-05 16:21:55,932 - DEBUG - VN ctest-vn-25238810 UUID is fd585c67-69cb-44a2-aedf-c36908d003e4 2026-01-05 16:21:56,260 - DEBUG - Response for create_network : {'network': {'id': '7c9d69c5-5421-416f-a763-bcebbb21b211', 'name': 'ctest-vn-83457695', 'tenant_id': '04878791f26c4f97bea993a1b716e337', 'project_id': '04878791f26c4f97bea993a1b716e337', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-13908523', 'ctest-vn-83457695'], 'port_security_enabled': True, 'description': ''}} 2026-01-05 16:21:56,458 - DEBUG - Response for create_subnet : {'subnet': {'id': '5372f852-4995-4fab-a60a-f7e2107db014', 'name': '', 'tenant_id': '04878791f26c4f97bea993a1b716e337', 'network_id': '7c9d69c5-5421-416f-a763-bcebbb21b211', 'ip_version': 4, 'cidr': '184.173.157.0/26', 'allocation_pools': [{'start': '184.173.157.2', 'end': '184.173.157.62'}], 'gateway_ip': '184.173.157.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '184.173.157.2', 'tags': [], 'project_id': '04878791f26c4f97bea993a1b716e337'}} 2026-01-05 16:21:56,475 - INFO - Created VN ctest-vn-83457695 2026-01-05 16:21:56,524 - DEBUG - VN ctest-vn-83457695 UUID is 7c9d69c5-5421-416f-a763-bcebbb21b211 2026-01-05 16:21:56,668 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-13908523:ctest-vn-25238810, 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-13908523:ctest-vn-83457695, 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] 2026-01-05 16:21:56,951 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'fd585c67-69cb-44a2-aedf-c36908d003e4', 'name': 'ctest-vn-25238810', 'tenant_id': '04878791f26c4f97bea993a1b716e337', 'project_id': '04878791f26c4f97bea993a1b716e337', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9b8923a6-fe51-4678-8ca7-0bbdb91c27b4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-13908523', 'ctest-vn-25238810'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-13908523', 'ctest-policy-allow-all-39000740']], 'subnet_ipam': [{'subnet_cidr': '192.221.193.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-05 16:21:57,160 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7c9d69c5-5421-416f-a763-bcebbb21b211', 'name': 'ctest-vn-83457695', 'tenant_id': '04878791f26c4f97bea993a1b716e337', 'project_id': '04878791f26c4f97bea993a1b716e337', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5372f852-4995-4fab-a60a-f7e2107db014'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-13908523', 'ctest-vn-83457695'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-13908523', 'ctest-policy-allow-all-39000740']], 'subnet_ipam': [{'subnet_cidr': '184.173.157.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-05 16:21:57,340 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-01-05 16:21:57,632 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-01-05 16:21:57,660 - DEBUG - Requesting: http://10.0.0.50:8082/domain/2d5e8786-90b2-410a-b283-8a3a00c389cc 2026-01-05 16:21:57,672 - DEBUG - Requesting: http://10.0.0.50:8082/project/04878791-f26c-4f97-bea9-93a1b716e337 2026-01-05 16:21:57,744 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/fd585c67-69cb-44a2-aedf-c36908d003e4 2026-01-05 16:21:57,754 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/fd585c67-69cb-44a2-aedf-c36908d003e4 2026-01-05 16:21:57,763 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f50e1fb8-dcf5-477a-beed-5f51fea60355 2026-01-05 16:21:57,770 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f50e1fb8-dcf5-477a-beed-5f51fea60355 2026-01-05 16:21:57,776 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/4a8985e3-2d97-4323-9e2a-706bb65815c0 2026-01-05 16:21:57,781 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-05 16:21:57,781 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/fd585c67-69cb-44a2-aedf-c36908d003e4 2026-01-05 16:21:57,789 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f50e1fb8-dcf5-477a-beed-5f51fea60355 2026-01-05 16:21:57,802 - INFO - Verified VN network id 12 for VN fd585c67-69cb-44a2-aedf-c36908d003e4 2026-01-05 16:21:57,802 - INFO - Verifications in API Server for VN ctest-vn-25238810 passed 2026-01-05 16:21:57,802 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/fd585c67-69cb-44a2-aedf-c36908d003e4 2026-01-05 16:21:57,810 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f50e1fb8-dcf5-477a-beed-5f51fea60355 2026-01-05 16:21:57,818 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f50e1fb8-dcf5-477a-beed-5f51fea60355 2026-01-05 16:21:57,824 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/4a8985e3-2d97-4323-9e2a-706bb65815c0 2026-01-05 16:21:57,834 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-13908523:ctest-vn-25238810', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-13908523', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18255442688772621474', 'uuid-lslong': '12601005138292769764'}, 'enable': 'true', 'created': '2026-01-05T16:21:55', 'last-modified': '2026-01-05T16:21:56', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.904322'} 2026-01-05 16:21:57,839 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-05 16:21:57,839 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-25238810 passed 2026-01-05 16:21:57,839 - DEBUG - ====Verifying policy data for ctest-vn-25238810 in API_Server ====== 2026-01-05 16:21:57,841 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-01-05 16:21:57,845 - DEBUG - Requesting: http://10.0.0.50:8082/domain/2d5e8786-90b2-410a-b283-8a3a00c389cc 2026-01-05 16:21:57,854 - DEBUG - Requesting: http://10.0.0.50:8082/project/04878791-f26c-4f97-bea9-93a1b716e337 2026-01-05 16:21:57,925 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/fd585c67-69cb-44a2-aedf-c36908d003e4 2026-01-05 16:21:57,933 - DEBUG - ==>Verifying data for policy with id: a8caed56-51e5-4964-bb3a-b2202a4a53df, fqn: ['default-domain', 'ctest-TestBasicPolicy-13908523', 'ctest-policy-allow-all-39000740'] 2026-01-05 16:21:57,933 - INFO - VN ctest-vn-25238810 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-05 16:21:57,933 - DEBUG - Verifying the vn in opserver 2026-01-05 16:21:57,933 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-13908523:ctest-vn-25238810 virtual network link through opserver 10.0.0.50 2026-01-05 16:21:57,934 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-01-05 16:21:58,223 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-01-05 16:21:58,278 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-13908523:ctest-vn-25238810', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-13908523:ctest-vn-25238810?flat'} 2026-01-05 16:21:58,278 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-13908523:ctest-vn-25238810 is found in opserver 2026-01-05 16:21:58,286 - DEBUG - Do not have enough data to verify VN in agent 2026-01-05 16:21:58,290 - DEBUG - VRF ids for VN ctest-vn-25238810: {} 2026-01-05 16:21:58,290 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-01-05 16:21:58,295 - DEBUG - Requesting: http://10.0.0.50:8082/domain/2d5e8786-90b2-410a-b283-8a3a00c389cc 2026-01-05 16:21:58,304 - DEBUG - Requesting: http://10.0.0.50:8082/project/04878791-f26c-4f97-bea9-93a1b716e337 2026-01-05 16:21:58,372 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7c9d69c5-5421-416f-a763-bcebbb21b211 2026-01-05 16:21:58,382 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7c9d69c5-5421-416f-a763-bcebbb21b211 2026-01-05 16:21:58,389 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/129d66b1-8270-4bc9-8adb-be37a12b3ae8 2026-01-05 16:21:58,395 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/129d66b1-8270-4bc9-8adb-be37a12b3ae8 2026-01-05 16:21:58,401 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/5a26f170-91e1-4815-86bb-8a2fc3dc19f1 2026-01-05 16:21:58,406 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-05 16:21:58,406 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7c9d69c5-5421-416f-a763-bcebbb21b211 2026-01-05 16:21:58,413 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/129d66b1-8270-4bc9-8adb-be37a12b3ae8 2026-01-05 16:21:58,426 - INFO - Verified VN network id 13 for VN 7c9d69c5-5421-416f-a763-bcebbb21b211 2026-01-05 16:21:58,426 - INFO - Verifications in API Server for VN ctest-vn-83457695 passed 2026-01-05 16:21:58,426 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7c9d69c5-5421-416f-a763-bcebbb21b211 2026-01-05 16:21:58,434 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/129d66b1-8270-4bc9-8adb-be37a12b3ae8 2026-01-05 16:21:58,440 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/129d66b1-8270-4bc9-8adb-be37a12b3ae8 2026-01-05 16:21:58,449 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/5a26f170-91e1-4815-86bb-8a2fc3dc19f1 2026-01-05 16:21:58,463 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-13908523:ctest-vn-83457695', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-13908523', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8979449528287576431', 'uuid-lslong': '12061691947671204369'}, 'enable': 'true', 'created': '2026-01-05T16:21:56', 'last-modified': '2026-01-05T16:21:57', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.320807'} 2026-01-05 16:21:58,468 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-05 16:21:58,468 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-83457695 passed 2026-01-05 16:21:58,468 - DEBUG - ====Verifying policy data for ctest-vn-83457695 in API_Server ====== 2026-01-05 16:21:58,468 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-01-05 16:21:58,473 - DEBUG - Requesting: http://10.0.0.50:8082/domain/2d5e8786-90b2-410a-b283-8a3a00c389cc 2026-01-05 16:21:58,482 - DEBUG - Requesting: http://10.0.0.50:8082/project/04878791-f26c-4f97-bea9-93a1b716e337 2026-01-05 16:21:58,548 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7c9d69c5-5421-416f-a763-bcebbb21b211 2026-01-05 16:21:58,555 - DEBUG - ==>Verifying data for policy with id: a8caed56-51e5-4964-bb3a-b2202a4a53df, fqn: ['default-domain', 'ctest-TestBasicPolicy-13908523', 'ctest-policy-allow-all-39000740'] 2026-01-05 16:21:58,555 - INFO - VN ctest-vn-83457695 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-05 16:21:58,556 - DEBUG - Verifying the vn in opserver 2026-01-05 16:21:58,556 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-13908523:ctest-vn-83457695 virtual network link through opserver 10.0.0.50 2026-01-05 16:21:58,556 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-01-05 16:21:58,564 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-13908523:ctest-vn-83457695', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-13908523:ctest-vn-83457695?flat'} 2026-01-05 16:21:58,564 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-13908523:ctest-vn-83457695 is found in opserver 2026-01-05 16:21:58,573 - DEBUG - Do not have enough data to verify VN in agent 2026-01-05 16:21:58,577 - DEBUG - VRF ids for VN ctest-vn-83457695: {} 2026-01-05 16:21:58,629 - DEBUG - Services list from nova: [, , ] 2026-01-05 16:21:59,610 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4965-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4965-1) 2026-01-05 16:22:00,767 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4965-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4965-1) 2026-01-05 16:22:00,767 - INFO - Waiting for VM ctest-TestBasicPolicy-13908523-45807644 to be up.. 2026-01-05 16:22:00,847 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-05 16:22:05,918 - DEBUG - VM is in ACTIVE state now 2026-01-05 16:22:05,918 - INFO - VM name : ctest-TestBasicPolicy-13908523-45807644 2026-01-05 16:22:05,988 - DEBUG - VM ctest-TestBasicPolicy-13908523-45807644 ID is 8f3f1656-166f-486f-bd02-6b2415d81da7 2026-01-05 16:22:06,006 - DEBUG - VM ctest-TestBasicPolicy-13908523-45807644 launched on Node cn-jenkins-deploy-platform-ansible-os-4965-1 2026-01-05 16:22:06,074 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/8f3f1656-166f-486f-bd02-6b2415d81da7 2026-01-05 16:22:06,082 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/65730d70-741f-4ef0-9cb4-3fe0481dbcfd 2026-01-05 16:22:09,343 - 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 1035ms') 2026-01-05 16:22:09,343 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-13908523-45807644 failed! 2026-01-05 16:22:09,400 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-13908523:ctest-vn-25238810 is 192.221.193.193 and allocation pool is NOT set 2026-01-05 16:22:11,460 - 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.83 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.932 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.932/2.378/3.825/1.446 ms') 2026-01-05 16:22:11,460 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-13908523-45807644 passed 2026-01-05 16:22:11,612 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-05 16:22:11,612 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-13908523-45807644, IP 192.221.193.195, Port 22 2026-01-05 16:22:11,767 - DEBUG - VM ctest-TestBasicPolicy-13908523-45807644 is ready for SSH connections 2026-01-05 16:22:11,767 - INFO - Waiting for VM ctest-TestBasicPolicy-13908523-54867592 to be up.. 2026-01-05 16:22:11,840 - DEBUG - VM is in ACTIVE state now 2026-01-05 16:22:11,841 - INFO - VM name : ctest-TestBasicPolicy-13908523-54867592 2026-01-05 16:22:11,911 - DEBUG - VM ctest-TestBasicPolicy-13908523-54867592 ID is 42e6bc13-9c13-4ea1-9286-6e72896f7d36 2026-01-05 16:22:11,911 - DEBUG - VM ctest-TestBasicPolicy-13908523-54867592 launched on Node cn-jenkins-deploy-platform-ansible-os-4965-1 2026-01-05 16:22:11,981 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/42e6bc13-9c13-4ea1-9286-6e72896f7d36 2026-01-05 16:22:11,989 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/ef474d05-db1f-4927-81c0-932d923252af 2026-01-05 16:22:13,222 - 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=2.65 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.343 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.343/1.497/2.651/1.154 ms') 2026-01-05 16:22:13,222 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-13908523-54867592 passed 2026-01-05 16:22:13,372 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-05 16:22:13,372 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-13908523-54867592, IP 184.173.157.3, Port 22 2026-01-05 16:22:13,536 - DEBUG - VM ctest-TestBasicPolicy-13908523-54867592 is ready for SSH connections 2026-01-05 16:22:13,536 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-05 16:22:13,536 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 184.173.157.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-01-05 16:22:13,536 - DEBUG - ping -s 56 -c 3 -W 1 184.173.157.3 2026-01-05 16:22:17,197 - DEBUG - PING 184.173.157.3 (184.173.157.3): 56 data bytes 64 bytes from 184.173.157.3: seq=0 ttl=63 time=3.437 ms 64 bytes from 184.173.157.3: seq=1 ttl=63 time=0.747 ms 64 bytes from 184.173.157.3: seq=2 ttl=63 time=0.854 ms --- 184.173.157.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.747/1.679/3.437 ms 2026-01-05 16:22:17,197 - INFO - Ping to IP 184.173.157.3 from VM ctest-TestBasicPolicy-13908523-45807644 passed 2026-01-05 16:22:17,376 - DEBUG - Policy Update Response {"network-policy": {"uuid": "a8caed56-51e5-4964-bb3a-b2202a4a53df", "href": "http://10.0.0.50:8082/network-policy/a8caed56-51e5-4964-bb3a-b2202a4a53df"}} 2026-01-05 16:22:17,376 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-05 16:22:17,376 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 184.173.157.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-01-05 16:22:17,376 - DEBUG - ping -s 56 -c 3 -W 1 184.173.157.3 2026-01-05 16:22:20,603 - DEBUG - PING 184.173.157.3 (184.173.157.3): 56 data bytes --- 184.173.157.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-01-05 16:22:20,603 - WARNING - Ping to IP 184.173.157.3 from VM ctest-TestBasicPolicy-13908523-45807644 failed 2026-01-05 16:22:20,604 - INFO - Deleting VM ctest-TestBasicPolicy-13908523-54867592 2026-01-05 16:22:20,686 - INFO - Deleting VM ctest-TestBasicPolicy-13908523-45807644 2026-01-05 16:22:21,079 - INFO - Deleted policy ctest-policy-allow-all-39000740 2026-01-05 16:22:21,079 - INFO - Deleting VN ctest-vn-83457695 2026-01-05 16:22:21,114 - DEBUG - VN 7c9d69c5-5421-416f-a763-bcebbb21b211 still in use: Unable to complete operation on network 7c9d69c5-5421-416f-a763-bcebbb21b211. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3548f8aa-ab3a-48dd-897a-64c512d1be86'] 2026-01-05 16:22:21,114 - WARNING - Deleting VN ctest-vn-83457695 failed..Will retry 2026-01-05 16:22:23,223 - DEBUG - Response for deleting network () 2026-01-05 16:22:23,223 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/129d66b1-8270-4bc9-8adb-be37a12b3ae8 2026-01-05 16:22:23,230 - DEBUG - Response Code: 404 2026-01-05 16:22:23,230 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-01-05 16:22:23,234 - DEBUG - Requesting: http://10.0.0.50:8082/domain/2d5e8786-90b2-410a-b283-8a3a00c389cc 2026-01-05 16:22:23,290 - DEBUG - Requesting: http://10.0.0.50:8082/project/04878791-f26c-4f97-bea9-93a1b716e337 2026-01-05 16:22:23,355 - INFO - Validated that VN ctest-vn-83457695 is not found in API Server 2026-01-05 16:22:23,363 - DEBUG - VN ctest-vn-83457695 is not present in Agent 10.0.0.50 2026-01-05 16:22:23,363 - INFO - Validated that VN ctest-vn-83457695 is not in any agent 2026-01-05 16:22:23,376 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-83457695 info 2026-01-05 16:22:23,376 - INFO - Deleting VN ctest-vn-25238810 2026-01-05 16:22:23,470 - DEBUG - Response for deleting network () 2026-01-05 16:22:23,470 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f50e1fb8-dcf5-477a-beed-5f51fea60355 2026-01-05 16:22:23,476 - DEBUG - Response Code: 404 2026-01-05 16:22:23,476 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-01-05 16:22:23,480 - DEBUG - Requesting: http://10.0.0.50:8082/domain/2d5e8786-90b2-410a-b283-8a3a00c389cc 2026-01-05 16:22:23,532 - DEBUG - Requesting: http://10.0.0.50:8082/project/04878791-f26c-4f97-bea9-93a1b716e337 2026-01-05 16:22:23,600 - INFO - Validated that VN ctest-vn-25238810 is not found in API Server 2026-01-05 16:22:23,609 - DEBUG - VN ctest-vn-25238810 is not present in Agent 10.0.0.50 2026-01-05 16:22:23,609 - INFO - Validated that VN ctest-vn-25238810 is not in any agent 2026-01-05 16:22:23,621 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-25238810 info 2026-01-05 16:22:23,872 - DEBUG - No XMPP flaps were noticed during the test 2026-01-05 16:22:23,872 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2026-01-05 16:22:23,873 - INFO - -------------------------------------------------------------------------------- 2026-01-05 16:22:24,537 - INFO - Deleted project: ctest-TestBasicPolicy-13908523, ID : 04878791-f26c-4f97-bea9-93a1b716e337