2026-05-19 15:41:35,163 - INFO - Domain Default found not creating 2026-05-19 15:41:35,340 - INFO - Project ctest-TestBasicPolicy-48876728 not found, creating it 2026-05-19 15:41:35,786 - INFO - Created Project:ctest-TestBasicPolicy-48876728, ID : 8fdcf952-0b96-458a-8894-2296d1117f2e 2026-05-19 15:41:37,263 - INFO - ================================================================================ 2026-05-19 15:41:37,263 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-05-19 15:41:37,264 - 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-05-19 15:41:37,517 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.17': '0'}} with 2026-05-19 15:41:37,518 - INFO - Initial checks done. Running the testcase now 2026-05-19 15:41:37,518 - INFO - 2026-05-19 15:41:38,063 - DEBUG - Response for create_network : {'network': {'id': '3d174719-1adb-468f-b58b-fe3b26824694', 'name': 'ctest-vn-42235426', 'tenant_id': '8fdcf9520b96458a88942296d1117f2e', 'project_id': '8fdcf9520b96458a88942296d1117f2e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48876728', 'ctest-vn-42235426'], 'port_security_enabled': True, 'description': ''}} 2026-05-19 15:41:38,240 - DEBUG - Response for create_subnet : {'subnet': {'id': '901cee12-7de7-49b5-b5ec-e81a6de1c724', 'name': '', 'tenant_id': '8fdcf9520b96458a88942296d1117f2e', 'network_id': '3d174719-1adb-468f-b58b-fe3b26824694', 'ip_version': 4, 'cidr': '5.228.226.192/26', 'allocation_pools': [{'start': '5.228.226.194', 'end': '5.228.226.254'}], 'gateway_ip': '5.228.226.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '5.228.226.194', 'tags': [], 'project_id': '8fdcf9520b96458a88942296d1117f2e'}} 2026-05-19 15:41:38,260 - INFO - Created VN ctest-vn-42235426 2026-05-19 15:41:38,312 - DEBUG - VN ctest-vn-42235426 UUID is 3d174719-1adb-468f-b58b-fe3b26824694 2026-05-19 15:41:38,650 - DEBUG - Response for create_network : {'network': {'id': 'd38811d7-890a-46cd-a6db-047e36d956c5', 'name': 'ctest-vn-19112605', 'tenant_id': '8fdcf9520b96458a88942296d1117f2e', 'project_id': '8fdcf9520b96458a88942296d1117f2e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48876728', 'ctest-vn-19112605'], 'port_security_enabled': True, 'description': ''}} 2026-05-19 15:41:38,823 - DEBUG - Response for create_subnet : {'subnet': {'id': '5dbf1b7e-a799-4730-9675-af14358bb885', 'name': '', 'tenant_id': '8fdcf9520b96458a88942296d1117f2e', 'network_id': 'd38811d7-890a-46cd-a6db-047e36d956c5', 'ip_version': 4, 'cidr': '170.232.54.0/26', 'allocation_pools': [{'start': '170.232.54.2', 'end': '170.232.54.62'}], 'gateway_ip': '170.232.54.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '170.232.54.2', 'tags': [], 'project_id': '8fdcf9520b96458a88942296d1117f2e'}} 2026-05-19 15:41:38,838 - INFO - Created VN ctest-vn-19112605 2026-05-19 15:41:38,888 - DEBUG - VN ctest-vn-19112605 UUID is d38811d7-890a-46cd-a6db-047e36d956c5 2026-05-19 15:41:39,036 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-48876728:ctest-vn-42235426, 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-48876728:ctest-vn-19112605, 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-05-19 15:41:39,328 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3d174719-1adb-468f-b58b-fe3b26824694', 'name': 'ctest-vn-42235426', 'tenant_id': '8fdcf9520b96458a88942296d1117f2e', 'project_id': '8fdcf9520b96458a88942296d1117f2e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['901cee12-7de7-49b5-b5ec-e81a6de1c724'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48876728', 'ctest-vn-42235426'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-48876728', 'ctest-policy-allow-all-16586998']], 'subnet_ipam': [{'subnet_cidr': '5.228.226.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-19 15:41:39,558 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd38811d7-890a-46cd-a6db-047e36d956c5', 'name': 'ctest-vn-19112605', 'tenant_id': '8fdcf9520b96458a88942296d1117f2e', 'project_id': '8fdcf9520b96458a88942296d1117f2e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5dbf1b7e-a799-4730-9675-af14358bb885'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48876728', 'ctest-vn-19112605'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-48876728', 'ctest-policy-allow-all-16586998']], 'subnet_ipam': [{'subnet_cidr': '170.232.54.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-19 15:41:39,720 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-05-19 15:41:40,017 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-05-19 15:41:40,080 - DEBUG - Requesting: http://10.0.0.249:8082/domain/0eceec70-5e66-45a5-8f0a-19104e53907b 2026-05-19 15:41:40,091 - DEBUG - Requesting: http://10.0.0.249:8082/project/8fdcf952-0b96-458a-8894-2296d1117f2e 2026-05-19 15:41:40,157 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/3d174719-1adb-468f-b58b-fe3b26824694 2026-05-19 15:41:40,168 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/3d174719-1adb-468f-b58b-fe3b26824694 2026-05-19 15:41:40,177 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/31ab3d73-4cfa-491c-bb8f-6c4ab5f07e15 2026-05-19 15:41:40,186 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/31ab3d73-4cfa-491c-bb8f-6c4ab5f07e15 2026-05-19 15:41:40,193 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/060f700b-9ca4-423f-8d8b-2c855e6a2c9e 2026-05-19 15:41:40,199 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-19 15:41:40,200 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/3d174719-1adb-468f-b58b-fe3b26824694 2026-05-19 15:41:40,208 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/31ab3d73-4cfa-491c-bb8f-6c4ab5f07e15 2026-05-19 15:41:40,220 - INFO - Verified VN network id 11 for VN 3d174719-1adb-468f-b58b-fe3b26824694 2026-05-19 15:41:40,220 - INFO - Verifications in API Server for VN ctest-vn-42235426 passed 2026-05-19 15:41:40,220 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/3d174719-1adb-468f-b58b-fe3b26824694 2026-05-19 15:41:40,227 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/31ab3d73-4cfa-491c-bb8f-6c4ab5f07e15 2026-05-19 15:41:40,233 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/31ab3d73-4cfa-491c-bb8f-6c4ab5f07e15 2026-05-19 15:41:40,240 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/060f700b-9ca4-423f-8d8b-2c855e6a2c9e 2026-05-19 15:41:40,250 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-48876728:ctest-vn-42235426', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-48876728', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4402065333928281743', 'uuid-lslong': '13081829072630335124'}, 'enable': 'true', 'created': '2026-05-19T15:41:38', 'last-modified': '2026-05-19T15:41:39', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.936124'} 2026-05-19 15:41:40,258 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-19 15:41:40,258 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-42235426 passed 2026-05-19 15:41:40,258 - DEBUG - ====Verifying policy data for ctest-vn-42235426 in API_Server ====== 2026-05-19 15:41:40,258 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-05-19 15:41:40,264 - DEBUG - Requesting: http://10.0.0.249:8082/domain/0eceec70-5e66-45a5-8f0a-19104e53907b 2026-05-19 15:41:40,273 - DEBUG - Requesting: http://10.0.0.249:8082/project/8fdcf952-0b96-458a-8894-2296d1117f2e 2026-05-19 15:41:40,345 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/3d174719-1adb-468f-b58b-fe3b26824694 2026-05-19 15:41:40,353 - DEBUG - ==>Verifying data for policy with id: 0015f661-ef6e-4a8f-a35a-7a15310e09b2, fqn: ['default-domain', 'ctest-TestBasicPolicy-48876728', 'ctest-policy-allow-all-16586998'] 2026-05-19 15:41:40,353 - INFO - VN ctest-vn-42235426 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-19 15:41:40,353 - DEBUG - Verifying the vn in opserver 2026-05-19 15:41:40,353 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-48876728:ctest-vn-42235426 virtual network link through opserver 10.0.0.249 2026-05-19 15:41:40,353 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-05-19 15:41:40,649 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-05-19 15:41:40,705 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-48876728:ctest-vn-42235426', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-48876728:ctest-vn-42235426?flat'} 2026-05-19 15:41:40,705 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-48876728:ctest-vn-42235426 is found in opserver 2026-05-19 15:41:40,714 - DEBUG - Do not have enough data to verify VN in agent 2026-05-19 15:41:40,718 - DEBUG - VRF ids for VN ctest-vn-42235426: {} 2026-05-19 15:41:40,718 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-05-19 15:41:40,723 - DEBUG - Requesting: http://10.0.0.249:8082/domain/0eceec70-5e66-45a5-8f0a-19104e53907b 2026-05-19 15:41:40,732 - DEBUG - Requesting: http://10.0.0.249:8082/project/8fdcf952-0b96-458a-8894-2296d1117f2e 2026-05-19 15:41:40,798 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/d38811d7-890a-46cd-a6db-047e36d956c5 2026-05-19 15:41:40,809 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/d38811d7-890a-46cd-a6db-047e36d956c5 2026-05-19 15:41:40,818 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/9024765e-9691-4f6d-9e69-439c505a835f 2026-05-19 15:41:40,824 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/9024765e-9691-4f6d-9e69-439c505a835f 2026-05-19 15:41:40,830 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/57a525ef-d268-4dbd-928e-9832cc8face5 2026-05-19 15:41:40,836 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-19 15:41:40,836 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/d38811d7-890a-46cd-a6db-047e36d956c5 2026-05-19 15:41:40,844 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/9024765e-9691-4f6d-9e69-439c505a835f 2026-05-19 15:41:40,856 - INFO - Verified VN network id 12 for VN d38811d7-890a-46cd-a6db-047e36d956c5 2026-05-19 15:41:40,856 - INFO - Verifications in API Server for VN ctest-vn-19112605 passed 2026-05-19 15:41:40,856 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/d38811d7-890a-46cd-a6db-047e36d956c5 2026-05-19 15:41:40,863 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/9024765e-9691-4f6d-9e69-439c505a835f 2026-05-19 15:41:40,868 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/9024765e-9691-4f6d-9e69-439c505a835f 2026-05-19 15:41:40,874 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/57a525ef-d268-4dbd-928e-9832cc8face5 2026-05-19 15:41:40,883 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-48876728:ctest-vn-19112605', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-48876728', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15242452556250236621', 'uuid-lslong': '12023208570328274629'}, 'enable': 'true', 'created': '2026-05-19T15:41:38', 'last-modified': '2026-05-19T15:41:39', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.347901'} 2026-05-19 15:41:40,888 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-19 15:41:40,889 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-19112605 passed 2026-05-19 15:41:40,889 - DEBUG - ====Verifying policy data for ctest-vn-19112605 in API_Server ====== 2026-05-19 15:41:40,889 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-05-19 15:41:40,894 - DEBUG - Requesting: http://10.0.0.249:8082/domain/0eceec70-5e66-45a5-8f0a-19104e53907b 2026-05-19 15:41:40,903 - DEBUG - Requesting: http://10.0.0.249:8082/project/8fdcf952-0b96-458a-8894-2296d1117f2e 2026-05-19 15:41:40,974 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/d38811d7-890a-46cd-a6db-047e36d956c5 2026-05-19 15:41:40,983 - DEBUG - ==>Verifying data for policy with id: 0015f661-ef6e-4a8f-a35a-7a15310e09b2, fqn: ['default-domain', 'ctest-TestBasicPolicy-48876728', 'ctest-policy-allow-all-16586998'] 2026-05-19 15:41:40,983 - INFO - VN ctest-vn-19112605 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-19 15:41:40,983 - DEBUG - Verifying the vn in opserver 2026-05-19 15:41:40,983 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-48876728:ctest-vn-19112605 virtual network link through opserver 10.0.0.249 2026-05-19 15:41:40,983 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-05-19 15:41:40,993 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-48876728:ctest-vn-19112605', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-48876728:ctest-vn-19112605?flat'} 2026-05-19 15:41:40,993 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-48876728:ctest-vn-19112605 is found in opserver 2026-05-19 15:41:41,001 - DEBUG - Do not have enough data to verify VN in agent 2026-05-19 15:41:41,005 - DEBUG - VRF ids for VN ctest-vn-19112605: {} 2026-05-19 15:41:41,066 - DEBUG - Services list from nova: [, , ] 2026-05-19 15:41:42,073 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5797-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5797-1) 2026-05-19 15:41:43,193 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5797-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5797-1) 2026-05-19 15:41:43,193 - INFO - Waiting for VM ctest-TestBasicPolicy-48876728-08330689 to be up.. 2026-05-19 15:41:43,271 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-19 15:41:48,347 - DEBUG - VM is in ACTIVE state now 2026-05-19 15:41:48,348 - INFO - VM name : ctest-TestBasicPolicy-48876728-08330689 2026-05-19 15:41:48,436 - DEBUG - VM ctest-TestBasicPolicy-48876728-08330689 ID is df493f5d-cf49-48fa-a9d8-8c7e2e8ffb6f 2026-05-19 15:41:48,457 - DEBUG - VM ctest-TestBasicPolicy-48876728-08330689 launched on Node cn-jenkins-deploy-platform-ansible-os-5797-1 2026-05-19 15:41:48,529 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/df493f5d-cf49-48fa-a9d8-8c7e2e8ffb6f 2026-05-19 15:41:48,536 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/93931246-60d3-4b74-8e36-2dd272eef004 2026-05-19 15:41:51,780 - 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 1011ms') 2026-05-19 15:41:51,780 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-48876728-08330689 failed! 2026-05-19 15:41:51,840 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-48876728:ctest-vn-42235426 is 5.228.226.193 and allocation pool is NOT set 2026-05-19 15:41:53,905 - 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=4.83 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.935 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.935/2.882/4.829/1.947 ms') 2026-05-19 15:41:53,905 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-48876728-08330689 passed 2026-05-19 15:41:54,056 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-19 15:41:54,056 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-48876728-08330689, IP 5.228.226.195, Port 22 2026-05-19 15:41:54,211 - DEBUG - VM ctest-TestBasicPolicy-48876728-08330689 is ready for SSH connections 2026-05-19 15:41:54,212 - INFO - Waiting for VM ctest-TestBasicPolicy-48876728-71981816 to be up.. 2026-05-19 15:41:54,286 - DEBUG - VM is in ACTIVE state now 2026-05-19 15:41:54,286 - INFO - VM name : ctest-TestBasicPolicy-48876728-71981816 2026-05-19 15:41:54,359 - DEBUG - VM ctest-TestBasicPolicy-48876728-71981816 ID is 005bc55c-1db6-4b1a-ae70-7bd3048ec513 2026-05-19 15:41:54,359 - DEBUG - VM ctest-TestBasicPolicy-48876728-71981816 launched on Node cn-jenkins-deploy-platform-ansible-os-5797-1 2026-05-19 15:41:54,431 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/005bc55c-1db6-4b1a-ae70-7bd3048ec513 2026-05-19 15:41:54,438 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/53924a07-c2b3-4984-ad9c-01c365d5ea3a 2026-05-19 15:41:55,674 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=5.10 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.34 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 = 2.344/3.724/5.104/1.380 ms') 2026-05-19 15:41:55,674 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-48876728-71981816 passed 2026-05-19 15:41:55,820 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-19 15:41:55,820 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-48876728-71981816, IP 170.232.54.3, Port 22 2026-05-19 15:41:55,976 - DEBUG - VM ctest-TestBasicPolicy-48876728-71981816 is ready for SSH connections 2026-05-19 15:41:55,976 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-19 15:41:55,976 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 170.232.54.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-05-19 15:41:55,976 - DEBUG - ping -s 56 -c 3 -W 1 170.232.54.3 2026-05-19 15:41:59,989 - DEBUG - PING 170.232.54.3 (170.232.54.3): 56 data bytes 64 bytes from 170.232.54.3: seq=0 ttl=63 time=3.842 ms 64 bytes from 170.232.54.3: seq=1 ttl=63 time=0.872 ms 64 bytes from 170.232.54.3: seq=2 ttl=63 time=0.876 ms --- 170.232.54.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.872/1.863/3.842 ms 2026-05-19 15:41:59,989 - INFO - Ping to IP 170.232.54.3 from VM ctest-TestBasicPolicy-48876728-08330689 passed 2026-05-19 15:42:00,172 - DEBUG - Policy Update Response {"network-policy": {"uuid": "0015f661-ef6e-4a8f-a35a-7a15310e09b2", "href": "http://10.0.0.249:8082/network-policy/0015f661-ef6e-4a8f-a35a-7a15310e09b2"}} 2026-05-19 15:42:00,172 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-19 15:42:00,172 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 170.232.54.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-05-19 15:42:00,172 - DEBUG - ping -s 56 -c 3 -W 1 170.232.54.3 2026-05-19 15:42:03,394 - DEBUG - PING 170.232.54.3 (170.232.54.3): 56 data bytes --- 170.232.54.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-05-19 15:42:03,394 - WARNING - Ping to IP 170.232.54.3 from VM ctest-TestBasicPolicy-48876728-08330689 failed 2026-05-19 15:42:03,394 - INFO - Deleting VM ctest-TestBasicPolicy-48876728-71981816 2026-05-19 15:42:03,485 - INFO - Deleting VM ctest-TestBasicPolicy-48876728-08330689 2026-05-19 15:42:03,869 - INFO - Deleted policy ctest-policy-allow-all-16586998 2026-05-19 15:42:03,869 - INFO - Deleting VN ctest-vn-19112605 2026-05-19 15:42:03,915 - DEBUG - VN d38811d7-890a-46cd-a6db-047e36d956c5 still in use: Unable to complete operation on network d38811d7-890a-46cd-a6db-047e36d956c5. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b698450e-0d7c-496d-8063-1af631ef0488'] 2026-05-19 15:42:03,916 - WARNING - Deleting VN ctest-vn-19112605 failed..Will retry 2026-05-19 15:42:06,026 - DEBUG - Response for deleting network () 2026-05-19 15:42:06,026 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/9024765e-9691-4f6d-9e69-439c505a835f 2026-05-19 15:42:06,036 - DEBUG - Response Code: 404 2026-05-19 15:42:06,037 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-05-19 15:42:06,041 - DEBUG - Requesting: http://10.0.0.249:8082/domain/0eceec70-5e66-45a5-8f0a-19104e53907b 2026-05-19 15:42:06,093 - DEBUG - Requesting: http://10.0.0.249:8082/project/8fdcf952-0b96-458a-8894-2296d1117f2e 2026-05-19 15:42:06,164 - INFO - Validated that VN ctest-vn-19112605 is not found in API Server 2026-05-19 15:42:06,174 - DEBUG - VN ctest-vn-19112605 is not present in Agent 10.0.0.249 2026-05-19 15:42:06,174 - INFO - Validated that VN ctest-vn-19112605 is not in any agent 2026-05-19 15:42:06,187 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-19112605 info 2026-05-19 15:42:06,187 - INFO - Deleting VN ctest-vn-42235426 2026-05-19 15:42:06,280 - DEBUG - Response for deleting network () 2026-05-19 15:42:06,280 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/31ab3d73-4cfa-491c-bb8f-6c4ab5f07e15 2026-05-19 15:42:06,286 - DEBUG - Response Code: 404 2026-05-19 15:42:06,286 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-05-19 15:42:06,292 - DEBUG - Requesting: http://10.0.0.249:8082/domain/0eceec70-5e66-45a5-8f0a-19104e53907b 2026-05-19 15:42:06,345 - DEBUG - Requesting: http://10.0.0.249:8082/project/8fdcf952-0b96-458a-8894-2296d1117f2e 2026-05-19 15:42:06,418 - INFO - Validated that VN ctest-vn-42235426 is not found in API Server 2026-05-19 15:42:06,427 - DEBUG - VN ctest-vn-42235426 is not present in Agent 10.0.0.249 2026-05-19 15:42:06,427 - INFO - Validated that VN ctest-vn-42235426 is not in any agent 2026-05-19 15:42:06,438 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-42235426 info 2026-05-19 15:42:06,698 - DEBUG - No XMPP flaps were noticed during the test 2026-05-19 15:42:06,698 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2026-05-19 15:42:06,698 - INFO - -------------------------------------------------------------------------------- 2026-05-19 15:42:07,405 - INFO - Deleted project: ctest-TestBasicPolicy-48876728, ID : 8fdcf952-0b96-458a-8894-2296d1117f2e