2026-02-23 02:13:19,564 - INFO - Domain Default found not creating 2026-02-23 02:13:19,732 - INFO - Project ctest-TestBasicPolicy-73698248 not found, creating it 2026-02-23 02:13:20,193 - INFO - Created Project:ctest-TestBasicPolicy-73698248, ID : 302b4351-8b4b-4a07-b2ae-9567f747b826 2026-02-23 02:13:21,810 - INFO - ================================================================================ 2026-02-23 02:13:21,810 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-23 02:13:21,810 - 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-02-23 02:13:22,073 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.201': '0'}} with 2026-02-23 02:13:22,073 - INFO - Initial checks done. Running the testcase now 2026-02-23 02:13:22,073 - INFO - 2026-02-23 02:13:22,683 - DEBUG - Response for create_network : {'network': {'id': '95d6e54e-c1dd-40e3-9df2-9245865e184b', 'name': 'ctest-vn-35723198', 'tenant_id': '302b43518b4b4a07b2ae9567f747b826', 'project_id': '302b43518b4b4a07b2ae9567f747b826', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73698248', 'ctest-vn-35723198'], 'port_security_enabled': True, 'description': ''}} 2026-02-23 02:13:22,845 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f44b1c38-af8e-4087-a424-56d073075bd5', 'name': '', 'tenant_id': '302b43518b4b4a07b2ae9567f747b826', 'network_id': '95d6e54e-c1dd-40e3-9df2-9245865e184b', 'ip_version': 4, 'cidr': '33.83.44.128/26', 'allocation_pools': [{'start': '33.83.44.130', 'end': '33.83.44.190'}], 'gateway_ip': '33.83.44.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '33.83.44.130', 'tags': [], 'project_id': '302b43518b4b4a07b2ae9567f747b826'}} 2026-02-23 02:13:22,863 - INFO - Created VN ctest-vn-35723198 2026-02-23 02:13:22,914 - DEBUG - VN ctest-vn-35723198 UUID is 95d6e54e-c1dd-40e3-9df2-9245865e184b 2026-02-23 02:13:23,216 - DEBUG - Response for create_network : {'network': {'id': 'ff5d057e-1517-4e30-b415-34f2f708bd2f', 'name': 'ctest-vn-34702168', 'tenant_id': '302b43518b4b4a07b2ae9567f747b826', 'project_id': '302b43518b4b4a07b2ae9567f747b826', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73698248', 'ctest-vn-34702168'], 'port_security_enabled': True, 'description': ''}} 2026-02-23 02:13:23,389 - DEBUG - Response for create_subnet : {'subnet': {'id': '785dcb72-6f95-4a19-a62b-c91131049ce6', 'name': '', 'tenant_id': '302b43518b4b4a07b2ae9567f747b826', 'network_id': 'ff5d057e-1517-4e30-b415-34f2f708bd2f', 'ip_version': 4, 'cidr': '105.73.54.0/26', 'allocation_pools': [{'start': '105.73.54.2', 'end': '105.73.54.62'}], 'gateway_ip': '105.73.54.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '105.73.54.2', 'tags': [], 'project_id': '302b43518b4b4a07b2ae9567f747b826'}} 2026-02-23 02:13:23,408 - INFO - Created VN ctest-vn-34702168 2026-02-23 02:13:23,462 - DEBUG - VN ctest-vn-34702168 UUID is ff5d057e-1517-4e30-b415-34f2f708bd2f 2026-02-23 02:13:23,613 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-73698248:ctest-vn-35723198, 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-73698248:ctest-vn-34702168, 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-02-23 02:13:23,908 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '95d6e54e-c1dd-40e3-9df2-9245865e184b', 'name': 'ctest-vn-35723198', 'tenant_id': '302b43518b4b4a07b2ae9567f747b826', 'project_id': '302b43518b4b4a07b2ae9567f747b826', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f44b1c38-af8e-4087-a424-56d073075bd5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73698248', 'ctest-vn-35723198'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-73698248', 'ctest-policy-allow-all-38955626']], 'subnet_ipam': [{'subnet_cidr': '33.83.44.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-23 02:13:24,184 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ff5d057e-1517-4e30-b415-34f2f708bd2f', 'name': 'ctest-vn-34702168', 'tenant_id': '302b43518b4b4a07b2ae9567f747b826', 'project_id': '302b43518b4b4a07b2ae9567f747b826', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['785dcb72-6f95-4a19-a62b-c91131049ce6'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73698248', 'ctest-vn-34702168'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-73698248', 'ctest-policy-allow-all-38955626']], 'subnet_ipam': [{'subnet_cidr': '105.73.54.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-23 02:13:24,342 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-02-23 02:13:24,688 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-02-23 02:13:24,718 - DEBUG - Requesting: http://10.0.0.22:8082/domain/84709e10-1f7f-4c3d-9f76-df17733534a0 2026-02-23 02:13:24,730 - DEBUG - Requesting: http://10.0.0.22:8082/project/302b4351-8b4b-4a07-b2ae-9567f747b826 2026-02-23 02:13:24,804 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/95d6e54e-c1dd-40e3-9df2-9245865e184b 2026-02-23 02:13:24,816 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/95d6e54e-c1dd-40e3-9df2-9245865e184b 2026-02-23 02:13:24,826 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/2eb18a80-323f-4ba8-97aa-e00d62af7c2d 2026-02-23 02:13:24,833 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/2eb18a80-323f-4ba8-97aa-e00d62af7c2d 2026-02-23 02:13:24,839 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/f2e414b4-9f08-4c6d-887f-fb57bfdf5350 2026-02-23 02:13:24,845 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-23 02:13:24,845 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/95d6e54e-c1dd-40e3-9df2-9245865e184b 2026-02-23 02:13:24,854 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/2eb18a80-323f-4ba8-97aa-e00d62af7c2d 2026-02-23 02:13:24,869 - INFO - Verified VN network id 10 for VN 95d6e54e-c1dd-40e3-9df2-9245865e184b 2026-02-23 02:13:24,869 - INFO - Verifications in API Server for VN ctest-vn-35723198 passed 2026-02-23 02:13:24,870 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/95d6e54e-c1dd-40e3-9df2-9245865e184b 2026-02-23 02:13:24,880 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/2eb18a80-323f-4ba8-97aa-e00d62af7c2d 2026-02-23 02:13:24,893 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/2eb18a80-323f-4ba8-97aa-e00d62af7c2d 2026-02-23 02:13:24,901 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/f2e414b4-9f08-4c6d-887f-fb57bfdf5350 2026-02-23 02:13:24,914 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-73698248:ctest-vn-35723198', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-73698248', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10797069283090055395', 'uuid-lslong': '11381320035623376971'}, 'enable': 'true', 'created': '2026-02-23T02:13:22', 'last-modified': '2026-02-23T02:13:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.030976'} 2026-02-23 02:13:24,920 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-23 02:13:24,920 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-35723198 passed 2026-02-23 02:13:24,921 - DEBUG - ====Verifying policy data for ctest-vn-35723198 in API_Server ====== 2026-02-23 02:13:24,921 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-02-23 02:13:24,926 - DEBUG - Requesting: http://10.0.0.22:8082/domain/84709e10-1f7f-4c3d-9f76-df17733534a0 2026-02-23 02:13:24,936 - DEBUG - Requesting: http://10.0.0.22:8082/project/302b4351-8b4b-4a07-b2ae-9567f747b826 2026-02-23 02:13:25,007 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/95d6e54e-c1dd-40e3-9df2-9245865e184b 2026-02-23 02:13:25,019 - DEBUG - ==>Verifying data for policy with id: 3876dd04-ebff-4a59-989f-81164823e74e, fqn: ['default-domain', 'ctest-TestBasicPolicy-73698248', 'ctest-policy-allow-all-38955626'] 2026-02-23 02:13:25,019 - INFO - VN ctest-vn-35723198 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-23 02:13:25,020 - DEBUG - Verifying the vn in opserver 2026-02-23 02:13:25,020 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-73698248:ctest-vn-35723198 virtual network link through opserver 10.0.0.22 2026-02-23 02:13:25,020 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-02-23 02:13:25,354 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-02-23 02:13:25,420 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-73698248:ctest-vn-35723198', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-73698248:ctest-vn-35723198?flat'} 2026-02-23 02:13:25,420 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-73698248:ctest-vn-35723198 is found in opserver 2026-02-23 02:13:25,430 - DEBUG - Do not have enough data to verify VN in agent 2026-02-23 02:13:25,434 - DEBUG - VRF ids for VN ctest-vn-35723198: {} 2026-02-23 02:13:25,434 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-02-23 02:13:25,439 - DEBUG - Requesting: http://10.0.0.22:8082/domain/84709e10-1f7f-4c3d-9f76-df17733534a0 2026-02-23 02:13:25,449 - DEBUG - Requesting: http://10.0.0.22:8082/project/302b4351-8b4b-4a07-b2ae-9567f747b826 2026-02-23 02:13:25,522 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/ff5d057e-1517-4e30-b415-34f2f708bd2f 2026-02-23 02:13:25,534 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/ff5d057e-1517-4e30-b415-34f2f708bd2f 2026-02-23 02:13:25,543 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/a73d3c8c-c608-4947-928a-ea5f9fef8a5b 2026-02-23 02:13:25,550 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/a73d3c8c-c608-4947-928a-ea5f9fef8a5b 2026-02-23 02:13:25,556 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/841690b2-7e11-4ca0-bb50-ea18dbc7fee4 2026-02-23 02:13:25,562 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-23 02:13:25,562 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/ff5d057e-1517-4e30-b415-34f2f708bd2f 2026-02-23 02:13:25,571 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/a73d3c8c-c608-4947-928a-ea5f9fef8a5b 2026-02-23 02:13:25,585 - INFO - Verified VN network id 11 for VN ff5d057e-1517-4e30-b415-34f2f708bd2f 2026-02-23 02:13:25,585 - INFO - Verifications in API Server for VN ctest-vn-34702168 passed 2026-02-23 02:13:25,585 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/ff5d057e-1517-4e30-b415-34f2f708bd2f 2026-02-23 02:13:25,595 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/a73d3c8c-c608-4947-928a-ea5f9fef8a5b 2026-02-23 02:13:25,602 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/a73d3c8c-c608-4947-928a-ea5f9fef8a5b 2026-02-23 02:13:25,609 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/841690b2-7e11-4ca0-bb50-ea18dbc7fee4 2026-02-23 02:13:25,623 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-73698248:ctest-vn-34702168', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-73698248', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18400869691583581744', 'uuid-lslong': '12976336119469227311'}, 'enable': 'true', 'created': '2026-02-23T02:13:23', 'last-modified': '2026-02-23T02:13:24', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.504455'} 2026-02-23 02:13:25,629 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-23 02:13:25,629 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-34702168 passed 2026-02-23 02:13:25,630 - DEBUG - ====Verifying policy data for ctest-vn-34702168 in API_Server ====== 2026-02-23 02:13:25,630 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-02-23 02:13:25,636 - DEBUG - Requesting: http://10.0.0.22:8082/domain/84709e10-1f7f-4c3d-9f76-df17733534a0 2026-02-23 02:13:25,650 - DEBUG - Requesting: http://10.0.0.22:8082/project/302b4351-8b4b-4a07-b2ae-9567f747b826 2026-02-23 02:13:25,720 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/ff5d057e-1517-4e30-b415-34f2f708bd2f 2026-02-23 02:13:25,731 - DEBUG - ==>Verifying data for policy with id: 3876dd04-ebff-4a59-989f-81164823e74e, fqn: ['default-domain', 'ctest-TestBasicPolicy-73698248', 'ctest-policy-allow-all-38955626'] 2026-02-23 02:13:25,731 - INFO - VN ctest-vn-34702168 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-23 02:13:25,731 - DEBUG - Verifying the vn in opserver 2026-02-23 02:13:25,731 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-73698248:ctest-vn-34702168 virtual network link through opserver 10.0.0.22 2026-02-23 02:13:25,731 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-02-23 02:13:25,741 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-73698248:ctest-vn-34702168', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-73698248:ctest-vn-34702168?flat'} 2026-02-23 02:13:25,741 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-73698248:ctest-vn-34702168 is found in opserver 2026-02-23 02:13:25,750 - DEBUG - Do not have enough data to verify VN in agent 2026-02-23 02:13:25,754 - DEBUG - VRF ids for VN ctest-vn-34702168: {} 2026-02-23 02:13:25,813 - DEBUG - Services list from nova: [, , ] 2026-02-23 02:13:26,933 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5387-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5387-1) 2026-02-23 02:13:28,139 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5387-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5387-1) 2026-02-23 02:13:28,139 - INFO - Waiting for VM ctest-TestBasicPolicy-73698248-23352856 to be up.. 2026-02-23 02:13:28,223 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-23 02:13:33,302 - DEBUG - VM is in ACTIVE state now 2026-02-23 02:13:33,302 - INFO - VM name : ctest-TestBasicPolicy-73698248-23352856 2026-02-23 02:13:33,380 - DEBUG - VM ctest-TestBasicPolicy-73698248-23352856 ID is 2687be50-ca7b-4be2-bea6-0e4da0c425e7 2026-02-23 02:13:33,401 - DEBUG - VM ctest-TestBasicPolicy-73698248-23352856 launched on Node cn-jenkins-deploy-platform-ansible-os-5387-1 2026-02-23 02:13:33,477 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/2687be50-ca7b-4be2-bea6-0e4da0c425e7 2026-02-23 02:13:33,485 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/814b1af5-8a79-495f-a93e-6992d93c31b8 2026-02-23 02:13:36,740 - 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 1010ms') 2026-02-23 02:13:36,740 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-73698248-23352856 failed! 2026-02-23 02:13:36,794 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-73698248:ctest-vn-35723198 is 33.83.44.129 and allocation pool is NOT set 2026-02-23 02:13:38,860 - 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=10.4 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.41 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 = 2.408/6.426/10.444/4.018 ms') 2026-02-23 02:13:38,860 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-73698248-23352856 passed 2026-02-23 02:13:39,010 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-23 02:13:39,010 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-73698248-23352856, IP 33.83.44.131, Port 22 2026-02-23 02:13:39,165 - DEBUG - VM ctest-TestBasicPolicy-73698248-23352856 is ready for SSH connections 2026-02-23 02:13:39,166 - INFO - Waiting for VM ctest-TestBasicPolicy-73698248-56823947 to be up.. 2026-02-23 02:13:39,263 - DEBUG - VM is in ACTIVE state now 2026-02-23 02:13:39,263 - INFO - VM name : ctest-TestBasicPolicy-73698248-56823947 2026-02-23 02:13:39,342 - DEBUG - VM ctest-TestBasicPolicy-73698248-56823947 ID is d9208e52-4713-431d-9f18-1ab423f36a1d 2026-02-23 02:13:39,342 - DEBUG - VM ctest-TestBasicPolicy-73698248-56823947 launched on Node cn-jenkins-deploy-platform-ansible-os-5387-1 2026-02-23 02:13:39,419 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/d9208e52-4713-431d-9f18-1ab423f36a1d 2026-02-23 02:13:39,427 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/703279a9-1a52-4dfc-a902-ee91adc2aacf 2026-02-23 02:13:40,666 - 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=4.78 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.31 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.314/3.047/4.780/1.733 ms') 2026-02-23 02:13:40,667 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-73698248-56823947 passed 2026-02-23 02:13:40,814 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-23 02:13:40,814 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-73698248-56823947, IP 105.73.54.3, Port 22 2026-02-23 02:13:40,974 - DEBUG - VM ctest-TestBasicPolicy-73698248-56823947 is ready for SSH connections 2026-02-23 02:13:40,974 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-23 02:13:40,974 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 105.73.54.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-02-23 02:13:40,974 - DEBUG - ping -s 56 -c 3 -W 1 105.73.54.3 2026-02-23 02:13:45,052 - DEBUG - PING 105.73.54.3 (105.73.54.3): 56 data bytes 64 bytes from 105.73.54.3: seq=0 ttl=63 time=4.487 ms 64 bytes from 105.73.54.3: seq=1 ttl=63 time=0.855 ms 64 bytes from 105.73.54.3: seq=2 ttl=63 time=0.858 ms --- 105.73.54.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.855/2.066/4.487 ms 2026-02-23 02:13:45,052 - INFO - Ping to IP 105.73.54.3 from VM ctest-TestBasicPolicy-73698248-23352856 passed 2026-02-23 02:13:45,233 - DEBUG - Policy Update Response {"network-policy": {"uuid": "3876dd04-ebff-4a59-989f-81164823e74e", "href": "http://10.0.0.22:8082/network-policy/3876dd04-ebff-4a59-989f-81164823e74e"}} 2026-02-23 02:13:45,234 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-23 02:13:45,234 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 105.73.54.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-02-23 02:13:45,234 - DEBUG - ping -s 56 -c 3 -W 1 105.73.54.3 2026-02-23 02:13:48,458 - DEBUG - PING 105.73.54.3 (105.73.54.3): 56 data bytes --- 105.73.54.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-23 02:13:48,459 - WARNING - Ping to IP 105.73.54.3 from VM ctest-TestBasicPolicy-73698248-23352856 failed 2026-02-23 02:13:48,459 - INFO - Deleting VM ctest-TestBasicPolicy-73698248-56823947 2026-02-23 02:13:48,528 - INFO - Deleting VM ctest-TestBasicPolicy-73698248-23352856 2026-02-23 02:13:48,915 - INFO - Deleted policy ctest-policy-allow-all-38955626 2026-02-23 02:13:48,915 - INFO - Deleting VN ctest-vn-34702168 2026-02-23 02:13:48,951 - DEBUG - VN ff5d057e-1517-4e30-b415-34f2f708bd2f still in use: Unable to complete operation on network ff5d057e-1517-4e30-b415-34f2f708bd2f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-bbe20719-c968-4f0b-8630-2ac3460f4269'] 2026-02-23 02:13:48,951 - WARNING - Deleting VN ctest-vn-34702168 failed..Will retry 2026-02-23 02:13:51,066 - DEBUG - Response for deleting network () 2026-02-23 02:13:51,066 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/a73d3c8c-c608-4947-928a-ea5f9fef8a5b 2026-02-23 02:13:51,072 - DEBUG - Response Code: 404 2026-02-23 02:13:51,072 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-02-23 02:13:51,079 - DEBUG - Requesting: http://10.0.0.22:8082/domain/84709e10-1f7f-4c3d-9f76-df17733534a0 2026-02-23 02:13:51,131 - DEBUG - Requesting: http://10.0.0.22:8082/project/302b4351-8b4b-4a07-b2ae-9567f747b826 2026-02-23 02:13:51,206 - INFO - Validated that VN ctest-vn-34702168 is not found in API Server 2026-02-23 02:13:51,216 - DEBUG - VN ctest-vn-34702168 is not present in Agent 10.0.0.22 2026-02-23 02:13:51,216 - INFO - Validated that VN ctest-vn-34702168 is not in any agent 2026-02-23 02:13:51,231 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-34702168 info 2026-02-23 02:13:51,231 - INFO - Deleting VN ctest-vn-35723198 2026-02-23 02:13:51,326 - DEBUG - Response for deleting network () 2026-02-23 02:13:51,326 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/2eb18a80-323f-4ba8-97aa-e00d62af7c2d 2026-02-23 02:13:51,331 - DEBUG - Response Code: 404 2026-02-23 02:13:51,331 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-02-23 02:13:51,336 - DEBUG - Requesting: http://10.0.0.22:8082/domain/84709e10-1f7f-4c3d-9f76-df17733534a0 2026-02-23 02:13:51,391 - DEBUG - Requesting: http://10.0.0.22:8082/project/302b4351-8b4b-4a07-b2ae-9567f747b826 2026-02-23 02:13:51,461 - INFO - Validated that VN ctest-vn-35723198 is not found in API Server 2026-02-23 02:13:51,470 - DEBUG - VN ctest-vn-35723198 is not present in Agent 10.0.0.22 2026-02-23 02:13:51,470 - INFO - Validated that VN ctest-vn-35723198 is not in any agent 2026-02-23 02:13:51,482 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-35723198 info 2026-02-23 02:13:51,734 - DEBUG - No XMPP flaps were noticed during the test
2026-02-23 02:13:51,735 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2026-02-23 02:13:51,735 - INFO - -------------------------------------------------------------------------------- 2026-02-23 02:13:52,433 - INFO - Deleted project: ctest-TestBasicPolicy-73698248, ID : 302b4351-8b4b-4a07-b2ae-9567f747b826