2026-03-27 15:15:31,257 - INFO - Domain Default found not creating 2026-03-27 15:15:31,426 - INFO - Project ctest-TestBasicPolicy-86695481 not found, creating it 2026-03-27 15:15:31,875 - INFO - Created Project:ctest-TestBasicPolicy-86695481, ID : d610a6c8-7752-4fa3-904c-890338d241b3 2026-03-27 15:15:33,342 - INFO - ================================================================================ 2026-03-27 15:15:33,342 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-03-27 15:15:33,342 - 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-27 15:15:33,603 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.25': '0'}} with 2026-03-27 15:15:33,603 - INFO - Initial checks done. Running the testcase now 2026-03-27 15:15:33,603 - INFO - 2026-03-27 15:15:34,156 - DEBUG - Response for create_network : {'network': {'id': 'a92f5c66-a614-43fe-a209-a3eaeaa780a7', 'name': 'ctest-vn-47201023', 'tenant_id': 'd610a6c877524fa3904c890338d241b3', 'project_id': 'd610a6c877524fa3904c890338d241b3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86695481', 'ctest-vn-47201023'], 'port_security_enabled': True, 'description': ''}} 2026-03-27 15:15:34,362 - DEBUG - Response for create_subnet : {'subnet': {'id': '2fbd817e-4ae7-45a0-8dea-97426440e5a3', 'name': '', 'tenant_id': 'd610a6c877524fa3904c890338d241b3', 'network_id': 'a92f5c66-a614-43fe-a209-a3eaeaa780a7', 'ip_version': 4, 'cidr': '152.101.110.128/26', 'allocation_pools': [{'start': '152.101.110.130', 'end': '152.101.110.190'}], 'gateway_ip': '152.101.110.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '152.101.110.130', 'tags': [], 'project_id': 'd610a6c877524fa3904c890338d241b3'}} 2026-03-27 15:15:34,385 - INFO - Created VN ctest-vn-47201023 2026-03-27 15:15:34,438 - DEBUG - VN ctest-vn-47201023 UUID is a92f5c66-a614-43fe-a209-a3eaeaa780a7 2026-03-27 15:15:34,745 - DEBUG - Response for create_network : {'network': {'id': '342ad0de-35c1-47ec-8b4f-d5d7b95e8004', 'name': 'ctest-vn-51024771', 'tenant_id': 'd610a6c877524fa3904c890338d241b3', 'project_id': 'd610a6c877524fa3904c890338d241b3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86695481', 'ctest-vn-51024771'], 'port_security_enabled': True, 'description': ''}} 2026-03-27 15:15:34,898 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a044e509-f5f5-4755-837f-5bacfcbecf07', 'name': '', 'tenant_id': 'd610a6c877524fa3904c890338d241b3', 'network_id': '342ad0de-35c1-47ec-8b4f-d5d7b95e8004', 'ip_version': 4, 'cidr': '95.25.22.64/26', 'allocation_pools': [{'start': '95.25.22.66', 'end': '95.25.22.126'}], 'gateway_ip': '95.25.22.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '95.25.22.66', 'tags': [], 'project_id': 'd610a6c877524fa3904c890338d241b3'}} 2026-03-27 15:15:34,915 - INFO - Created VN ctest-vn-51024771 2026-03-27 15:15:34,969 - DEBUG - VN ctest-vn-51024771 UUID is 342ad0de-35c1-47ec-8b4f-d5d7b95e8004 2026-03-27 15:15:35,121 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-86695481:ctest-vn-47201023, 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-86695481:ctest-vn-51024771, 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-27 15:15:35,403 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a92f5c66-a614-43fe-a209-a3eaeaa780a7', 'name': 'ctest-vn-47201023', 'tenant_id': 'd610a6c877524fa3904c890338d241b3', 'project_id': 'd610a6c877524fa3904c890338d241b3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2fbd817e-4ae7-45a0-8dea-97426440e5a3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86695481', 'ctest-vn-47201023'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-86695481', 'ctest-policy-allow-all-57846957']], 'subnet_ipam': [{'subnet_cidr': '152.101.110.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-27 15:15:35,670 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '342ad0de-35c1-47ec-8b4f-d5d7b95e8004', 'name': 'ctest-vn-51024771', 'tenant_id': 'd610a6c877524fa3904c890338d241b3', 'project_id': 'd610a6c877524fa3904c890338d241b3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a044e509-f5f5-4755-837f-5bacfcbecf07'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86695481', 'ctest-vn-51024771'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-86695481', 'ctest-policy-allow-all-57846957']], 'subnet_ipam': [{'subnet_cidr': '95.25.22.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-27 15:15:35,818 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-03-27 15:15:36,117 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-03-27 15:15:36,152 - DEBUG - Requesting: http://10.0.0.249:8082/domain/a66a75c5-d98c-48dc-b4b1-99517c5599c1 2026-03-27 15:15:36,163 - DEBUG - Requesting: http://10.0.0.249:8082/project/d610a6c8-7752-4fa3-904c-890338d241b3 2026-03-27 15:15:36,239 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/a92f5c66-a614-43fe-a209-a3eaeaa780a7 2026-03-27 15:15:36,249 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/a92f5c66-a614-43fe-a209-a3eaeaa780a7 2026-03-27 15:15:36,259 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/b3ecd079-d34d-40a5-89fa-264aa70f5ba6 2026-03-27 15:15:36,266 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/b3ecd079-d34d-40a5-89fa-264aa70f5ba6 2026-03-27 15:15:36,275 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/1dd17adb-41f3-4319-8587-cf16916faf66 2026-03-27 15:15:36,282 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-27 15:15:36,282 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/a92f5c66-a614-43fe-a209-a3eaeaa780a7 2026-03-27 15:15:36,292 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/b3ecd079-d34d-40a5-89fa-264aa70f5ba6 2026-03-27 15:15:36,306 - INFO - Verified VN network id 11 for VN a92f5c66-a614-43fe-a209-a3eaeaa780a7 2026-03-27 15:15:36,306 - INFO - Verifications in API Server for VN ctest-vn-47201023 passed 2026-03-27 15:15:36,306 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/a92f5c66-a614-43fe-a209-a3eaeaa780a7 2026-03-27 15:15:36,314 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/b3ecd079-d34d-40a5-89fa-264aa70f5ba6 2026-03-27 15:15:36,321 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/b3ecd079-d34d-40a5-89fa-264aa70f5ba6 2026-03-27 15:15:36,328 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/1dd17adb-41f3-4319-8587-cf16916faf66 2026-03-27 15:15:36,342 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-86695481:ctest-vn-47201023', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-86695481', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12191064312257987582', 'uuid-lslong': '11676043738289242279'}, 'enable': 'true', 'created': '2026-03-27T15:15:34', 'last-modified': '2026-03-27T15:15:35', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.950994'} 2026-03-27 15:15:36,348 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-27 15:15:36,348 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-47201023 passed 2026-03-27 15:15:36,348 - DEBUG - ====Verifying policy data for ctest-vn-47201023 in API_Server ====== 2026-03-27 15:15:36,348 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-03-27 15:15:36,354 - DEBUG - Requesting: http://10.0.0.249:8082/domain/a66a75c5-d98c-48dc-b4b1-99517c5599c1 2026-03-27 15:15:36,367 - DEBUG - Requesting: http://10.0.0.249:8082/project/d610a6c8-7752-4fa3-904c-890338d241b3 2026-03-27 15:15:36,440 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/a92f5c66-a614-43fe-a209-a3eaeaa780a7 2026-03-27 15:15:36,450 - DEBUG - ==>Verifying data for policy with id: 28f38e0c-30bc-4859-ac55-83aaddc1d8b9, fqn: ['default-domain', 'ctest-TestBasicPolicy-86695481', 'ctest-policy-allow-all-57846957'] 2026-03-27 15:15:36,450 - INFO - VN ctest-vn-47201023 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-27 15:15:36,450 - DEBUG - Verifying the vn in opserver 2026-03-27 15:15:36,450 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-86695481:ctest-vn-47201023 virtual network link through opserver 10.0.0.249 2026-03-27 15:15:36,450 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-03-27 15:15:36,745 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-03-27 15:15:36,806 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-86695481:ctest-vn-47201023', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-86695481:ctest-vn-47201023?flat'} 2026-03-27 15:15:36,806 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-86695481:ctest-vn-47201023 is found in opserver 2026-03-27 15:15:36,814 - DEBUG - Do not have enough data to verify VN in agent 2026-03-27 15:15:36,818 - DEBUG - VRF ids for VN ctest-vn-47201023: {} 2026-03-27 15:15:36,818 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-03-27 15:15:36,824 - DEBUG - Requesting: http://10.0.0.249:8082/domain/a66a75c5-d98c-48dc-b4b1-99517c5599c1 2026-03-27 15:15:36,834 - DEBUG - Requesting: http://10.0.0.249:8082/project/d610a6c8-7752-4fa3-904c-890338d241b3 2026-03-27 15:15:36,904 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/342ad0de-35c1-47ec-8b4f-d5d7b95e8004 2026-03-27 15:15:36,915 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/342ad0de-35c1-47ec-8b4f-d5d7b95e8004 2026-03-27 15:15:36,924 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/fd894c75-f257-47b4-9b4d-378bfb8c40f8 2026-03-27 15:15:36,930 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/fd894c75-f257-47b4-9b4d-378bfb8c40f8 2026-03-27 15:15:36,936 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/8eb59ec7-45f5-475b-a93f-bcfe79e2fcb6 2026-03-27 15:15:36,942 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-27 15:15:36,942 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/342ad0de-35c1-47ec-8b4f-d5d7b95e8004 2026-03-27 15:15:36,951 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/fd894c75-f257-47b4-9b4d-378bfb8c40f8 2026-03-27 15:15:36,963 - INFO - Verified VN network id 12 for VN 342ad0de-35c1-47ec-8b4f-d5d7b95e8004 2026-03-27 15:15:36,963 - INFO - Verifications in API Server for VN ctest-vn-51024771 passed 2026-03-27 15:15:36,963 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/342ad0de-35c1-47ec-8b4f-d5d7b95e8004 2026-03-27 15:15:36,971 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/fd894c75-f257-47b4-9b4d-378bfb8c40f8 2026-03-27 15:15:36,978 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/fd894c75-f257-47b4-9b4d-378bfb8c40f8 2026-03-27 15:15:36,984 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/8eb59ec7-45f5-475b-a93f-bcfe79e2fcb6 2026-03-27 15:15:36,995 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-86695481:ctest-vn-51024771', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-86695481', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3759046491797276652', 'uuid-lslong': '10038477216936787972'}, 'enable': 'true', 'created': '2026-03-27T15:15:34', 'last-modified': '2026-03-27T15:15:35', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.387314'} 2026-03-27 15:15:37,001 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-27 15:15:37,001 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-51024771 passed 2026-03-27 15:15:37,001 - DEBUG - ====Verifying policy data for ctest-vn-51024771 in API_Server ====== 2026-03-27 15:15:37,001 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-03-27 15:15:37,008 - DEBUG - Requesting: http://10.0.0.249:8082/domain/a66a75c5-d98c-48dc-b4b1-99517c5599c1 2026-03-27 15:15:37,018 - DEBUG - Requesting: http://10.0.0.249:8082/project/d610a6c8-7752-4fa3-904c-890338d241b3 2026-03-27 15:15:37,085 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/342ad0de-35c1-47ec-8b4f-d5d7b95e8004 2026-03-27 15:15:37,093 - DEBUG - ==>Verifying data for policy with id: 28f38e0c-30bc-4859-ac55-83aaddc1d8b9, fqn: ['default-domain', 'ctest-TestBasicPolicy-86695481', 'ctest-policy-allow-all-57846957'] 2026-03-27 15:15:37,094 - INFO - VN ctest-vn-51024771 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-27 15:15:37,094 - DEBUG - Verifying the vn in opserver 2026-03-27 15:15:37,094 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-86695481:ctest-vn-51024771 virtual network link through opserver 10.0.0.249 2026-03-27 15:15:37,094 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-03-27 15:15:37,103 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-86695481:ctest-vn-51024771', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-86695481:ctest-vn-51024771?flat'} 2026-03-27 15:15:37,103 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-86695481:ctest-vn-51024771 is found in opserver 2026-03-27 15:15:37,113 - DEBUG - Do not have enough data to verify VN in agent 2026-03-27 15:15:37,118 - DEBUG - VRF ids for VN ctest-vn-51024771: {} 2026-03-27 15:15:37,177 - DEBUG - Services list from nova: [, , ] 2026-03-27 15:15:38,199 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5556-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5556-1) 2026-03-27 15:15:39,356 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5556-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5556-1) 2026-03-27 15:15:39,356 - INFO - Waiting for VM ctest-TestBasicPolicy-86695481-59496930 to be up.. 2026-03-27 15:15:39,441 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-27 15:15:44,516 - DEBUG - VM is in ACTIVE state now 2026-03-27 15:15:44,517 - INFO - VM name : ctest-TestBasicPolicy-86695481-59496930 2026-03-27 15:15:44,590 - DEBUG - VM ctest-TestBasicPolicy-86695481-59496930 ID is 0ab64874-5cab-4731-9144-e42f89f39cc8 2026-03-27 15:15:44,609 - DEBUG - VM ctest-TestBasicPolicy-86695481-59496930 launched on Node cn-jenkins-deploy-platform-ansible-os-5556-1 2026-03-27 15:15:44,682 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/0ab64874-5cab-4731-9144-e42f89f39cc8 2026-03-27 15:15:44,691 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/893600c8-0c76-4ee6-8371-d03d81e7378d 2026-03-27 15:15:47,963 - 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 1034ms') 2026-03-27 15:15:47,964 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-86695481-59496930 failed! 2026-03-27 15:15:48,017 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-86695481:ctest-vn-47201023 is 152.101.110.129 and allocation pool is NOT set 2026-03-27 15:15:50,075 - 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=8.06 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.522 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.522/4.289/8.056/3.767 ms') 2026-03-27 15:15:50,075 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-86695481-59496930 passed 2026-03-27 15:15:50,225 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-27 15:15:50,226 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-86695481-59496930, IP 152.101.110.131, Port 22 2026-03-27 15:15:50,381 - DEBUG - VM ctest-TestBasicPolicy-86695481-59496930 is ready for SSH connections 2026-03-27 15:15:50,381 - INFO - Waiting for VM ctest-TestBasicPolicy-86695481-62414649 to be up.. 2026-03-27 15:15:50,458 - DEBUG - VM is in ACTIVE state now 2026-03-27 15:15:50,458 - INFO - VM name : ctest-TestBasicPolicy-86695481-62414649 2026-03-27 15:15:50,527 - DEBUG - VM ctest-TestBasicPolicy-86695481-62414649 ID is 1d03094d-a7e2-4303-8acc-e2a0e7cbc670 2026-03-27 15:15:50,527 - DEBUG - VM ctest-TestBasicPolicy-86695481-62414649 launched on Node cn-jenkins-deploy-platform-ansible-os-5556-1 2026-03-27 15:15:50,596 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/1d03094d-a7e2-4303-8acc-e2a0e7cbc670 2026-03-27 15:15:50,604 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/36c920c9-710e-494e-b833-7f7aa682fc64 2026-03-27 15:15:51,836 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=3.02 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.415 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.415/1.719/3.023/1.304 ms') 2026-03-27 15:15:51,836 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-86695481-62414649 passed 2026-03-27 15:15:51,989 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-27 15:15:51,990 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-86695481-62414649, IP 95.25.22.67, Port 22 2026-03-27 15:15:52,045 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-03-27 15:15:52,118 - DEBUG - VM ctest-TestBasicPolicy-86695481-62414649 is NOT ready for SSH connections, VM status: ACTIVE 2026-03-27 15:15:57,119 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-27 15:15:57,119 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-86695481-62414649, IP 95.25.22.67, Port 22 2026-03-27 15:15:57,273 - DEBUG - VM ctest-TestBasicPolicy-86695481-62414649 is ready for SSH connections 2026-03-27 15:15:57,273 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-27 15:15:57,273 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 95.25.22.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-03-27 15:15:57,273 - DEBUG - ping -s 56 -c 3 -W 1 95.25.22.67 2026-03-27 15:16:01,279 - DEBUG - PING 95.25.22.67 (95.25.22.67): 56 data bytes 64 bytes from 95.25.22.67: seq=0 ttl=63 time=3.679 ms 64 bytes from 95.25.22.67: seq=1 ttl=63 time=0.904 ms 64 bytes from 95.25.22.67: seq=2 ttl=63 time=0.755 ms --- 95.25.22.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.755/1.779/3.679 ms 2026-03-27 15:16:01,280 - INFO - Ping to IP 95.25.22.67 from VM ctest-TestBasicPolicy-86695481-59496930 passed 2026-03-27 15:16:01,449 - DEBUG - Policy Update Response {"network-policy": {"uuid": "28f38e0c-30bc-4859-ac55-83aaddc1d8b9", "href": "http://10.0.0.249:8082/network-policy/28f38e0c-30bc-4859-ac55-83aaddc1d8b9"}} 2026-03-27 15:16:01,449 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-27 15:16:01,449 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 95.25.22.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-03-27 15:16:01,449 - DEBUG - ping -s 56 -c 3 -W 1 95.25.22.67 2026-03-27 15:16:04,667 - DEBUG - PING 95.25.22.67 (95.25.22.67): 56 data bytes --- 95.25.22.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-03-27 15:16:04,667 - WARNING - Ping to IP 95.25.22.67 from VM ctest-TestBasicPolicy-86695481-59496930 failed 2026-03-27 15:16:04,667 - INFO - Deleting VM ctest-TestBasicPolicy-86695481-62414649 2026-03-27 15:16:04,734 - INFO - Deleting VM ctest-TestBasicPolicy-86695481-59496930 2026-03-27 15:16:05,117 - INFO - Deleted policy ctest-policy-allow-all-57846957 2026-03-27 15:16:05,117 - INFO - Deleting VN ctest-vn-51024771 2026-03-27 15:16:05,150 - DEBUG - VN 342ad0de-35c1-47ec-8b4f-d5d7b95e8004 still in use: Unable to complete operation on network 342ad0de-35c1-47ec-8b4f-d5d7b95e8004. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c85aab67-f445-446f-86e2-4630f8d4cd0e'] 2026-03-27 15:16:05,150 - WARNING - Deleting VN ctest-vn-51024771 failed..Will retry 2026-03-27 15:16:07,241 - DEBUG - Response for deleting network () 2026-03-27 15:16:07,241 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/fd894c75-f257-47b4-9b4d-378bfb8c40f8 2026-03-27 15:16:07,246 - DEBUG - Response Code: 404 2026-03-27 15:16:07,246 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-03-27 15:16:07,253 - DEBUG - Requesting: http://10.0.0.249:8082/domain/a66a75c5-d98c-48dc-b4b1-99517c5599c1 2026-03-27 15:16:07,308 - DEBUG - Requesting: http://10.0.0.249:8082/project/d610a6c8-7752-4fa3-904c-890338d241b3 2026-03-27 15:16:07,377 - INFO - Validated that VN ctest-vn-51024771 is not found in API Server 2026-03-27 15:16:07,386 - DEBUG - VN ctest-vn-51024771 is not present in Agent 10.0.0.249 2026-03-27 15:16:07,386 - INFO - Validated that VN ctest-vn-51024771 is not in any agent 2026-03-27 15:16:07,398 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-51024771 info 2026-03-27 15:16:07,398 - INFO - Deleting VN ctest-vn-47201023 2026-03-27 15:16:07,502 - DEBUG - Response for deleting network () 2026-03-27 15:16:07,502 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/b3ecd079-d34d-40a5-89fa-264aa70f5ba6 2026-03-27 15:16:07,506 - DEBUG - Response Code: 404 2026-03-27 15:16:07,507 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-03-27 15:16:07,513 - DEBUG - Requesting: http://10.0.0.249:8082/domain/a66a75c5-d98c-48dc-b4b1-99517c5599c1 2026-03-27 15:16:07,566 - DEBUG - Requesting: http://10.0.0.249:8082/project/d610a6c8-7752-4fa3-904c-890338d241b3 2026-03-27 15:16:07,640 - INFO - Validated that VN ctest-vn-47201023 is not found in API Server 2026-03-27 15:16:07,649 - DEBUG - VN ctest-vn-47201023 is not present in Agent 10.0.0.249 2026-03-27 15:16:07,649 - INFO - Validated that VN ctest-vn-47201023 is not in any agent 2026-03-27 15:16:07,662 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-47201023 info 2026-03-27 15:16:07,918 - DEBUG - No XMPP flaps were noticed during the test 2026-03-27 15:16:07,918 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:34] 2026-03-27 15:16:07,918 - INFO - -------------------------------------------------------------------------------- 2026-03-27 15:16:08,585 - INFO - Deleted project: ctest-TestBasicPolicy-86695481, ID : d610a6c8-7752-4fa3-904c-890338d241b3