2026-03-05 12:24:08,852 - INFO - Domain Default found not creating 2026-03-05 12:24:09,027 - INFO - Project ctest-TestBasicPolicy-53858438 not found, creating it 2026-03-05 12:24:09,481 - INFO - Created Project:ctest-TestBasicPolicy-53858438, ID : d2ad88fd-bafa-448d-9888-6c76df66d9e1 2026-03-05 12:24:10,898 - INFO - ================================================================================ 2026-03-05 12:24:10,898 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-03-05 12:24:10,898 - 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-03-05 12:24:11,154 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.17': '0'}} with 2026-03-05 12:24:11,154 - INFO - Initial checks done. Running the testcase now 2026-03-05 12:24:11,154 - INFO - 2026-03-05 12:24:11,678 - DEBUG - Response for create_network : {'network': {'id': '515457d5-8d1d-4806-b7f7-826043cbf494', 'name': 'ctest-vn-03192329', 'tenant_id': 'd2ad88fdbafa448d98886c76df66d9e1', 'project_id': 'd2ad88fdbafa448d98886c76df66d9e1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-53858438', 'ctest-vn-03192329'], 'port_security_enabled': True, 'description': ''}} 2026-03-05 12:24:11,857 - DEBUG - Response for create_subnet : {'subnet': {'id': '43a69483-a8fc-4590-a9a5-ba583b9d735c', 'name': '', 'tenant_id': 'd2ad88fdbafa448d98886c76df66d9e1', 'network_id': '515457d5-8d1d-4806-b7f7-826043cbf494', 'ip_version': 4, 'cidr': '160.218.22.0/26', 'allocation_pools': [{'start': '160.218.22.2', 'end': '160.218.22.62'}], 'gateway_ip': '160.218.22.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '160.218.22.2', 'tags': [], 'project_id': 'd2ad88fdbafa448d98886c76df66d9e1'}} 2026-03-05 12:24:11,874 - INFO - Created VN ctest-vn-03192329 2026-03-05 12:24:11,925 - DEBUG - VN ctest-vn-03192329 UUID is 515457d5-8d1d-4806-b7f7-826043cbf494 2026-03-05 12:24:12,242 - DEBUG - Response for create_network : {'network': {'id': 'a4b7ff5b-97ec-4322-9fd4-58abd43dacfe', 'name': 'ctest-vn-82658769', 'tenant_id': 'd2ad88fdbafa448d98886c76df66d9e1', 'project_id': 'd2ad88fdbafa448d98886c76df66d9e1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-53858438', 'ctest-vn-82658769'], 'port_security_enabled': True, 'description': ''}} 2026-03-05 12:24:12,426 - DEBUG - Response for create_subnet : {'subnet': {'id': '0f4e4aaf-cf49-46a1-9ffa-75f576831173', 'name': '', 'tenant_id': 'd2ad88fdbafa448d98886c76df66d9e1', 'network_id': 'a4b7ff5b-97ec-4322-9fd4-58abd43dacfe', 'ip_version': 4, 'cidr': '144.174.62.128/26', 'allocation_pools': [{'start': '144.174.62.130', 'end': '144.174.62.190'}], 'gateway_ip': '144.174.62.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '144.174.62.130', 'tags': [], 'project_id': 'd2ad88fdbafa448d98886c76df66d9e1'}} 2026-03-05 12:24:12,442 - INFO - Created VN ctest-vn-82658769 2026-03-05 12:24:12,493 - DEBUG - VN ctest-vn-82658769 UUID is a4b7ff5b-97ec-4322-9fd4-58abd43dacfe 2026-03-05 12:24:12,641 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-53858438:ctest-vn-03192329, 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-53858438:ctest-vn-82658769, 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-03-05 12:24:12,922 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '515457d5-8d1d-4806-b7f7-826043cbf494', 'name': 'ctest-vn-03192329', 'tenant_id': 'd2ad88fdbafa448d98886c76df66d9e1', 'project_id': 'd2ad88fdbafa448d98886c76df66d9e1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['43a69483-a8fc-4590-a9a5-ba583b9d735c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-53858438', 'ctest-vn-03192329'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-53858438', 'ctest-policy-allow-all-44560636']], 'subnet_ipam': [{'subnet_cidr': '160.218.22.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-05 12:24:13,191 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a4b7ff5b-97ec-4322-9fd4-58abd43dacfe', 'name': 'ctest-vn-82658769', 'tenant_id': 'd2ad88fdbafa448d98886c76df66d9e1', 'project_id': 'd2ad88fdbafa448d98886c76df66d9e1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0f4e4aaf-cf49-46a1-9ffa-75f576831173'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-53858438', 'ctest-vn-82658769'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-53858438', 'ctest-policy-allow-all-44560636']], 'subnet_ipam': [{'subnet_cidr': '144.174.62.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-05 12:24:13,333 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-03-05 12:24:13,624 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-03-05 12:24:13,651 - DEBUG - Requesting: http://10.0.0.141:8082/domain/af2d3857-6f89-42ce-b84d-fde6738531e5 2026-03-05 12:24:13,662 - DEBUG - Requesting: http://10.0.0.141:8082/project/d2ad88fd-bafa-448d-9888-6c76df66d9e1 2026-03-05 12:24:13,733 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/515457d5-8d1d-4806-b7f7-826043cbf494 2026-03-05 12:24:13,742 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/515457d5-8d1d-4806-b7f7-826043cbf494 2026-03-05 12:24:13,750 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/b3996f28-ac2a-4484-8632-5e143bced2b0 2026-03-05 12:24:13,757 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/b3996f28-ac2a-4484-8632-5e143bced2b0 2026-03-05 12:24:13,763 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/d303c1cc-1c28-49f2-9c1f-cd1c24d7a14e 2026-03-05 12:24:13,768 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-05 12:24:13,768 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/515457d5-8d1d-4806-b7f7-826043cbf494 2026-03-05 12:24:13,777 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/b3996f28-ac2a-4484-8632-5e143bced2b0 2026-03-05 12:24:13,792 - INFO - Verified VN network id 12 for VN 515457d5-8d1d-4806-b7f7-826043cbf494 2026-03-05 12:24:13,792 - INFO - Verifications in API Server for VN ctest-vn-03192329 passed 2026-03-05 12:24:13,792 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/515457d5-8d1d-4806-b7f7-826043cbf494 2026-03-05 12:24:13,801 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/b3996f28-ac2a-4484-8632-5e143bced2b0 2026-03-05 12:24:13,807 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/b3996f28-ac2a-4484-8632-5e143bced2b0 2026-03-05 12:24:13,813 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/d303c1cc-1c28-49f2-9c1f-cd1c24d7a14e 2026-03-05 12:24:13,823 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-53858438:ctest-vn-03192329', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-53858438', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5860405589823014918', 'uuid-lslong': '13256207378154255508'}, 'enable': 'true', 'created': '2026-03-05T12:24:11', 'last-modified': '2026-03-05T12:24:12', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.922505'} 2026-03-05 12:24:13,829 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-05 12:24:13,829 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-03192329 passed 2026-03-05 12:24:13,829 - DEBUG - ====Verifying policy data for ctest-vn-03192329 in API_Server ====== 2026-03-05 12:24:13,829 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-03-05 12:24:13,834 - DEBUG - Requesting: http://10.0.0.141:8082/domain/af2d3857-6f89-42ce-b84d-fde6738531e5 2026-03-05 12:24:13,843 - DEBUG - Requesting: http://10.0.0.141:8082/project/d2ad88fd-bafa-448d-9888-6c76df66d9e1 2026-03-05 12:24:13,907 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/515457d5-8d1d-4806-b7f7-826043cbf494 2026-03-05 12:24:13,916 - DEBUG - ==>Verifying data for policy with id: 09c17a08-5b31-49f6-9d55-bba9c0593d04, fqn: ['default-domain', 'ctest-TestBasicPolicy-53858438', 'ctest-policy-allow-all-44560636'] 2026-03-05 12:24:13,916 - INFO - VN ctest-vn-03192329 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-05 12:24:13,916 - DEBUG - Verifying the vn in opserver 2026-03-05 12:24:13,916 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-53858438:ctest-vn-03192329 virtual network link through opserver 10.0.0.141 2026-03-05 12:24:13,916 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2026-03-05 12:24:14,206 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2026-03-05 12:24:14,261 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-53858438:ctest-vn-03192329', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-53858438:ctest-vn-03192329?flat'} 2026-03-05 12:24:14,261 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-53858438:ctest-vn-03192329 is found in opserver 2026-03-05 12:24:14,270 - DEBUG - Do not have enough data to verify VN in agent 2026-03-05 12:24:14,274 - DEBUG - VRF ids for VN ctest-vn-03192329: {} 2026-03-05 12:24:14,274 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-03-05 12:24:14,278 - DEBUG - Requesting: http://10.0.0.141:8082/domain/af2d3857-6f89-42ce-b84d-fde6738531e5 2026-03-05 12:24:14,287 - DEBUG - Requesting: http://10.0.0.141:8082/project/d2ad88fd-bafa-448d-9888-6c76df66d9e1 2026-03-05 12:24:14,357 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/a4b7ff5b-97ec-4322-9fd4-58abd43dacfe 2026-03-05 12:24:14,368 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/a4b7ff5b-97ec-4322-9fd4-58abd43dacfe 2026-03-05 12:24:14,376 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/c1b710ff-3510-4b10-b74e-4a2463484f1c 2026-03-05 12:24:14,382 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/c1b710ff-3510-4b10-b74e-4a2463484f1c 2026-03-05 12:24:14,388 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/44ae1ab1-4b8f-4a7a-a4d1-8d146b9e04c0 2026-03-05 12:24:14,395 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-05 12:24:14,395 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/a4b7ff5b-97ec-4322-9fd4-58abd43dacfe 2026-03-05 12:24:14,404 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/c1b710ff-3510-4b10-b74e-4a2463484f1c 2026-03-05 12:24:14,418 - INFO - Verified VN network id 13 for VN a4b7ff5b-97ec-4322-9fd4-58abd43dacfe 2026-03-05 12:24:14,418 - INFO - Verifications in API Server for VN ctest-vn-82658769 passed 2026-03-05 12:24:14,418 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/a4b7ff5b-97ec-4322-9fd4-58abd43dacfe 2026-03-05 12:24:14,428 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/c1b710ff-3510-4b10-b74e-4a2463484f1c 2026-03-05 12:24:14,435 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/c1b710ff-3510-4b10-b74e-4a2463484f1c 2026-03-05 12:24:14,442 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/44ae1ab1-4b8f-4a7a-a4d1-8d146b9e04c0 2026-03-05 12:24:14,453 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-53858438:ctest-vn-82658769', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-53858438', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11869236111814181666', 'uuid-lslong': '11516927642116664574'}, 'enable': 'true', 'created': '2026-03-05T12:24:12', 'last-modified': '2026-03-05T12:24:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.334042'} 2026-03-05 12:24:14,461 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-05 12:24:14,461 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-82658769 passed 2026-03-05 12:24:14,461 - DEBUG - ====Verifying policy data for ctest-vn-82658769 in API_Server ====== 2026-03-05 12:24:14,461 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-03-05 12:24:14,466 - DEBUG - Requesting: http://10.0.0.141:8082/domain/af2d3857-6f89-42ce-b84d-fde6738531e5 2026-03-05 12:24:14,475 - DEBUG - Requesting: http://10.0.0.141:8082/project/d2ad88fd-bafa-448d-9888-6c76df66d9e1 2026-03-05 12:24:14,542 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/a4b7ff5b-97ec-4322-9fd4-58abd43dacfe 2026-03-05 12:24:14,550 - DEBUG - ==>Verifying data for policy with id: 09c17a08-5b31-49f6-9d55-bba9c0593d04, fqn: ['default-domain', 'ctest-TestBasicPolicy-53858438', 'ctest-policy-allow-all-44560636'] 2026-03-05 12:24:14,550 - INFO - VN ctest-vn-82658769 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-05 12:24:14,551 - DEBUG - Verifying the vn in opserver 2026-03-05 12:24:14,551 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-53858438:ctest-vn-82658769 virtual network link through opserver 10.0.0.141 2026-03-05 12:24:14,551 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2026-03-05 12:24:14,559 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-53858438:ctest-vn-82658769', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-53858438:ctest-vn-82658769?flat'} 2026-03-05 12:24:14,559 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-53858438:ctest-vn-82658769 is found in opserver 2026-03-05 12:24:14,567 - DEBUG - Do not have enough data to verify VN in agent 2026-03-05 12:24:14,571 - DEBUG - VRF ids for VN ctest-vn-82658769: {} 2026-03-05 12:24:14,622 - DEBUG - Services list from nova: [, , ] 2026-03-05 12:24:15,615 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5440-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5440-1) 2026-03-05 12:24:16,713 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5440-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5440-1) 2026-03-05 12:24:16,714 - INFO - Waiting for VM ctest-TestBasicPolicy-53858438-17348203 to be up.. 2026-03-05 12:24:16,785 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-05 12:24:21,859 - DEBUG - VM is in ACTIVE state now 2026-03-05 12:24:21,859 - INFO - VM name : ctest-TestBasicPolicy-53858438-17348203 2026-03-05 12:24:21,929 - DEBUG - VM ctest-TestBasicPolicy-53858438-17348203 ID is ad1601dd-0670-49fb-b096-adae56aabe95 2026-03-05 12:24:21,946 - DEBUG - VM ctest-TestBasicPolicy-53858438-17348203 launched on Node cn-jenkins-deploy-platform-ansible-os-5440-1 2026-03-05 12:24:22,016 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/ad1601dd-0670-49fb-b096-adae56aabe95 2026-03-05 12:24:22,023 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/8c5aaed4-f6b5-4973-aceb-b06ff5ab7c0d 2026-03-05 12:24:25,274 - 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 1020ms') 2026-03-05 12:24:25,274 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-53858438-17348203 failed! 2026-03-05 12:24:25,333 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-53858438:ctest-vn-03192329 is 160.218.22.1 and allocation pool is NOT set 2026-03-05 12:24:27,392 - 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.12 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.99 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 = 2.988/3.053/3.118/0.065 ms') 2026-03-05 12:24:27,392 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-53858438-17348203 passed 2026-03-05 12:24:27,545 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-05 12:24:27,545 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-53858438-17348203, IP 160.218.22.3, Port 22 2026-03-05 12:24:27,701 - DEBUG - VM ctest-TestBasicPolicy-53858438-17348203 is ready for SSH connections 2026-03-05 12:24:27,701 - INFO - Waiting for VM ctest-TestBasicPolicy-53858438-98736810 to be up.. 2026-03-05 12:24:27,771 - DEBUG - VM is in ACTIVE state now 2026-03-05 12:24:27,771 - INFO - VM name : ctest-TestBasicPolicy-53858438-98736810 2026-03-05 12:24:27,836 - DEBUG - VM ctest-TestBasicPolicy-53858438-98736810 ID is 779cd46f-c249-4083-b8b3-917f1a263c4c 2026-03-05 12:24:27,837 - DEBUG - VM ctest-TestBasicPolicy-53858438-98736810 launched on Node cn-jenkins-deploy-platform-ansible-os-5440-1 2026-03-05 12:24:27,905 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/779cd46f-c249-4083-b8b3-917f1a263c4c 2026-03-05 12:24:27,913 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/1335b7d5-ae38-41ed-a7ae-22320708e077 2026-03-05 12:24:29,153 - 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.08 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.843 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.843/2.459/4.076/1.616 ms') 2026-03-05 12:24:29,153 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-53858438-98736810 passed 2026-03-05 12:24:29,301 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-05 12:24:29,301 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-53858438-98736810, IP 144.174.62.131, Port 22 2026-03-05 12:24:29,456 - DEBUG - VM ctest-TestBasicPolicy-53858438-98736810 is ready for SSH connections 2026-03-05 12:24:29,456 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-05 12:24:29,457 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 144.174.62.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2026-03-05 12:24:29,457 - DEBUG - ping -s 56 -c 3 -W 1 144.174.62.131 2026-03-05 12:24:33,467 - DEBUG - PING 144.174.62.131 (144.174.62.131): 56 data bytes 64 bytes from 144.174.62.131: seq=0 ttl=63 time=3.411 ms 64 bytes from 144.174.62.131: seq=1 ttl=63 time=0.731 ms 64 bytes from 144.174.62.131: seq=2 ttl=63 time=0.770 ms --- 144.174.62.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.731/1.637/3.411 ms 2026-03-05 12:24:33,467 - INFO - Ping to IP 144.174.62.131 from VM ctest-TestBasicPolicy-53858438-17348203 passed 2026-03-05 12:24:33,636 - DEBUG - Policy Update Response {"network-policy": {"uuid": "09c17a08-5b31-49f6-9d55-bba9c0593d04", "href": "http://10.0.0.141:8082/network-policy/09c17a08-5b31-49f6-9d55-bba9c0593d04"}} 2026-03-05 12:24:33,637 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-05 12:24:33,637 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 144.174.62.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2026-03-05 12:24:33,637 - DEBUG - ping -s 56 -c 3 -W 1 144.174.62.131 2026-03-05 12:24:36,839 - DEBUG - PING 144.174.62.131 (144.174.62.131): 56 data bytes --- 144.174.62.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-03-05 12:24:36,839 - WARNING - Ping to IP 144.174.62.131 from VM ctest-TestBasicPolicy-53858438-17348203 failed 2026-03-05 12:24:36,840 - INFO - Deleting VM ctest-TestBasicPolicy-53858438-98736810 2026-03-05 12:24:36,916 - INFO - Deleting VM ctest-TestBasicPolicy-53858438-17348203 2026-03-05 12:24:37,320 - INFO - Deleted policy ctest-policy-allow-all-44560636 2026-03-05 12:24:37,320 - INFO - Deleting VN ctest-vn-82658769 2026-03-05 12:24:37,355 - DEBUG - VN a4b7ff5b-97ec-4322-9fd4-58abd43dacfe still in use: Unable to complete operation on network a4b7ff5b-97ec-4322-9fd4-58abd43dacfe. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-dd670b6c-2f63-4d65-bdf5-223d014f77ae'] 2026-03-05 12:24:37,355 - WARNING - Deleting VN ctest-vn-82658769 failed..Will retry 2026-03-05 12:24:39,445 - DEBUG - Response for deleting network () 2026-03-05 12:24:39,445 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/c1b710ff-3510-4b10-b74e-4a2463484f1c 2026-03-05 12:24:39,450 - DEBUG - Response Code: 404 2026-03-05 12:24:39,450 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-03-05 12:24:39,455 - DEBUG - Requesting: http://10.0.0.141:8082/domain/af2d3857-6f89-42ce-b84d-fde6738531e5 2026-03-05 12:24:39,506 - DEBUG - Requesting: http://10.0.0.141:8082/project/d2ad88fd-bafa-448d-9888-6c76df66d9e1 2026-03-05 12:24:39,572 - INFO - Validated that VN ctest-vn-82658769 is not found in API Server 2026-03-05 12:24:39,581 - DEBUG - VN ctest-vn-82658769 is not present in Agent 10.0.0.141 2026-03-05 12:24:39,581 - INFO - Validated that VN ctest-vn-82658769 is not in any agent 2026-03-05 12:24:39,593 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-82658769 info 2026-03-05 12:24:39,594 - INFO - Deleting VN ctest-vn-03192329 2026-03-05 12:24:39,679 - DEBUG - Response for deleting network () 2026-03-05 12:24:39,679 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/b3996f28-ac2a-4484-8632-5e143bced2b0 2026-03-05 12:24:39,684 - DEBUG - Response Code: 404 2026-03-05 12:24:39,684 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-03-05 12:24:39,689 - DEBUG - Requesting: http://10.0.0.141:8082/domain/af2d3857-6f89-42ce-b84d-fde6738531e5 2026-03-05 12:24:39,741 - DEBUG - Requesting: http://10.0.0.141:8082/project/d2ad88fd-bafa-448d-9888-6c76df66d9e1 2026-03-05 12:24:39,808 - INFO - Validated that VN ctest-vn-03192329 is not found in API Server 2026-03-05 12:24:39,819 - DEBUG - VN ctest-vn-03192329 is not present in Agent 10.0.0.141 2026-03-05 12:24:39,819 - INFO - Validated that VN ctest-vn-03192329 is not in any agent 2026-03-05 12:24:39,832 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-03192329 info 2026-03-05 12:24:40,087 - DEBUG - No XMPP flaps were noticed during the test 2026-03-05 12:24:40,087 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2026-03-05 12:24:40,087 - INFO - -------------------------------------------------------------------------------- 2026-03-05 12:24:40,757 - INFO - Deleted project: ctest-TestBasicPolicy-53858438, ID : d2ad88fd-bafa-448d-9888-6c76df66d9e1