2026-04-22 15:55:37,521 - INFO - Domain Default found not creating 2026-04-22 15:55:37,703 - INFO - Project ctest-TestBasicPolicy-20198162 not found, creating it 2026-04-22 15:55:38,239 - INFO - Created Project:ctest-TestBasicPolicy-20198162, ID : fd147ce8-87ce-49f4-86fc-eff7ddbd599b 2026-04-22 15:55:40,436 - INFO - ================================================================================ 2026-04-22 15:55:40,437 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-04-22 15:55:40,437 - 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-04-22 15:55:40,707 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.17': '0'}} with 2026-04-22 15:55:40,707 - INFO - Initial checks done. Running the testcase now 2026-04-22 15:55:40,707 - INFO - 2026-04-22 15:55:41,260 - DEBUG - Response for create_network : {'network': {'id': '969b8888-a62f-47a6-84f8-4c567a2556c4', 'name': 'ctest-vn-16746340', 'tenant_id': 'fd147ce887ce49f486fceff7ddbd599b', 'project_id': 'fd147ce887ce49f486fceff7ddbd599b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20198162', 'ctest-vn-16746340'], 'port_security_enabled': True, 'description': ''}} 2026-04-22 15:55:41,428 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e8987bc1-5dc4-4b60-8adc-3666a7d4fe3e', 'name': '', 'tenant_id': 'fd147ce887ce49f486fceff7ddbd599b', 'network_id': '969b8888-a62f-47a6-84f8-4c567a2556c4', 'ip_version': 4, 'cidr': '124.191.10.192/26', 'allocation_pools': [{'start': '124.191.10.194', 'end': '124.191.10.254'}], 'gateway_ip': '124.191.10.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '124.191.10.194', 'tags': [], 'project_id': 'fd147ce887ce49f486fceff7ddbd599b'}} 2026-04-22 15:55:41,445 - INFO - Created VN ctest-vn-16746340 2026-04-22 15:55:41,496 - DEBUG - VN ctest-vn-16746340 UUID is 969b8888-a62f-47a6-84f8-4c567a2556c4 2026-04-22 15:55:41,829 - DEBUG - Response for create_network : {'network': {'id': '44c37dc9-4d9b-45df-978b-c4df1f7bbeb4', 'name': 'ctest-vn-44354949', 'tenant_id': 'fd147ce887ce49f486fceff7ddbd599b', 'project_id': 'fd147ce887ce49f486fceff7ddbd599b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20198162', 'ctest-vn-44354949'], 'port_security_enabled': True, 'description': ''}} 2026-04-22 15:55:41,984 - DEBUG - Response for create_subnet : {'subnet': {'id': '922dfe07-6eac-42f7-a5df-d2c43c53dc66', 'name': '', 'tenant_id': 'fd147ce887ce49f486fceff7ddbd599b', 'network_id': '44c37dc9-4d9b-45df-978b-c4df1f7bbeb4', 'ip_version': 4, 'cidr': '156.34.206.128/26', 'allocation_pools': [{'start': '156.34.206.130', 'end': '156.34.206.190'}], 'gateway_ip': '156.34.206.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '156.34.206.130', 'tags': [], 'project_id': 'fd147ce887ce49f486fceff7ddbd599b'}} 2026-04-22 15:55:42,002 - INFO - Created VN ctest-vn-44354949 2026-04-22 15:55:42,060 - DEBUG - VN ctest-vn-44354949 UUID is 44c37dc9-4d9b-45df-978b-c4df1f7bbeb4 2026-04-22 15:55:42,211 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-20198162:ctest-vn-16746340, 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-20198162:ctest-vn-44354949, 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-04-22 15:55:42,513 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '969b8888-a62f-47a6-84f8-4c567a2556c4', 'name': 'ctest-vn-16746340', 'tenant_id': 'fd147ce887ce49f486fceff7ddbd599b', 'project_id': 'fd147ce887ce49f486fceff7ddbd599b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e8987bc1-5dc4-4b60-8adc-3666a7d4fe3e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20198162', 'ctest-vn-16746340'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-20198162', 'ctest-policy-allow-all-60761750']], 'subnet_ipam': [{'subnet_cidr': '124.191.10.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-22 15:55:42,737 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '44c37dc9-4d9b-45df-978b-c4df1f7bbeb4', 'name': 'ctest-vn-44354949', 'tenant_id': 'fd147ce887ce49f486fceff7ddbd599b', 'project_id': 'fd147ce887ce49f486fceff7ddbd599b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['922dfe07-6eac-42f7-a5df-d2c43c53dc66'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20198162', 'ctest-vn-44354949'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-20198162', 'ctest-policy-allow-all-60761750']], 'subnet_ipam': [{'subnet_cidr': '156.34.206.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-22 15:55:42,900 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-04-22 15:55:43,203 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-04-22 15:55:43,242 - DEBUG - Requesting: http://10.0.0.249:8082/domain/c8c6278b-eebf-4dff-9adc-a925962521ad 2026-04-22 15:55:43,255 - DEBUG - Requesting: http://10.0.0.249:8082/project/fd147ce8-87ce-49f4-86fc-eff7ddbd599b 2026-04-22 15:55:43,324 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/969b8888-a62f-47a6-84f8-4c567a2556c4 2026-04-22 15:55:43,338 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/969b8888-a62f-47a6-84f8-4c567a2556c4 2026-04-22 15:55:43,347 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/98c1aa1e-3a9d-4695-9fc7-280d9ae56dbb 2026-04-22 15:55:43,354 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/98c1aa1e-3a9d-4695-9fc7-280d9ae56dbb 2026-04-22 15:55:43,361 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/c4952a38-30f2-4544-9b07-8f2f716f9bb6 2026-04-22 15:55:43,368 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-22 15:55:43,368 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/969b8888-a62f-47a6-84f8-4c567a2556c4 2026-04-22 15:55:43,376 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/98c1aa1e-3a9d-4695-9fc7-280d9ae56dbb 2026-04-22 15:55:43,389 - INFO - Verified VN network id 11 for VN 969b8888-a62f-47a6-84f8-4c567a2556c4 2026-04-22 15:55:43,389 - INFO - Verifications in API Server for VN ctest-vn-16746340 passed 2026-04-22 15:55:43,390 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/969b8888-a62f-47a6-84f8-4c567a2556c4 2026-04-22 15:55:43,398 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/98c1aa1e-3a9d-4695-9fc7-280d9ae56dbb 2026-04-22 15:55:43,408 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/98c1aa1e-3a9d-4695-9fc7-280d9ae56dbb 2026-04-22 15:55:43,416 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/c4952a38-30f2-4544-9b07-8f2f716f9bb6 2026-04-22 15:55:43,439 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-20198162:ctest-vn-16746340', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-20198162', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10852417847564388262', 'uuid-lslong': '9581492141530896068'}, 'enable': 'true', 'created': '2026-04-22T15:55:41', 'last-modified': '2026-04-22T15:55:42', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.951785'} 2026-04-22 15:55:43,444 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-22 15:55:43,445 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-16746340 passed 2026-04-22 15:55:43,445 - DEBUG - ====Verifying policy data for ctest-vn-16746340 in API_Server ====== 2026-04-22 15:55:43,445 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-04-22 15:55:43,450 - DEBUG - Requesting: http://10.0.0.249:8082/domain/c8c6278b-eebf-4dff-9adc-a925962521ad 2026-04-22 15:55:43,461 - DEBUG - Requesting: http://10.0.0.249:8082/project/fd147ce8-87ce-49f4-86fc-eff7ddbd599b 2026-04-22 15:55:43,531 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/969b8888-a62f-47a6-84f8-4c567a2556c4 2026-04-22 15:55:43,541 - DEBUG - ==>Verifying data for policy with id: f306c5ba-0ad6-40c1-a851-c434d0351ffe, fqn: ['default-domain', 'ctest-TestBasicPolicy-20198162', 'ctest-policy-allow-all-60761750'] 2026-04-22 15:55:43,541 - INFO - VN ctest-vn-16746340 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-22 15:55:43,541 - DEBUG - Verifying the vn in opserver 2026-04-22 15:55:43,541 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-20198162:ctest-vn-16746340 virtual network link through opserver 10.0.0.249 2026-04-22 15:55:43,541 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-04-22 15:55:43,838 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-04-22 15:55:43,901 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-20198162:ctest-vn-16746340', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-20198162:ctest-vn-16746340?flat'} 2026-04-22 15:55:43,901 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-20198162:ctest-vn-16746340 is found in opserver 2026-04-22 15:55:43,910 - DEBUG - Do not have enough data to verify VN in agent 2026-04-22 15:55:43,914 - DEBUG - VRF ids for VN ctest-vn-16746340: {} 2026-04-22 15:55:43,914 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-04-22 15:55:43,920 - DEBUG - Requesting: http://10.0.0.249:8082/domain/c8c6278b-eebf-4dff-9adc-a925962521ad 2026-04-22 15:55:43,929 - DEBUG - Requesting: http://10.0.0.249:8082/project/fd147ce8-87ce-49f4-86fc-eff7ddbd599b 2026-04-22 15:55:43,997 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/44c37dc9-4d9b-45df-978b-c4df1f7bbeb4 2026-04-22 15:55:44,010 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/44c37dc9-4d9b-45df-978b-c4df1f7bbeb4 2026-04-22 15:55:44,020 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/ee92e4ae-2f2b-44b4-8cda-da7a3c37e048 2026-04-22 15:55:44,026 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/ee92e4ae-2f2b-44b4-8cda-da7a3c37e048 2026-04-22 15:55:44,033 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/56c610d2-3b23-4944-9661-8b0d71f3e884 2026-04-22 15:55:44,040 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-22 15:55:44,040 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/44c37dc9-4d9b-45df-978b-c4df1f7bbeb4 2026-04-22 15:55:44,049 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/ee92e4ae-2f2b-44b4-8cda-da7a3c37e048 2026-04-22 15:55:44,062 - INFO - Verified VN network id 12 for VN 44c37dc9-4d9b-45df-978b-c4df1f7bbeb4 2026-04-22 15:55:44,062 - INFO - Verifications in API Server for VN ctest-vn-44354949 passed 2026-04-22 15:55:44,062 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/44c37dc9-4d9b-45df-978b-c4df1f7bbeb4 2026-04-22 15:55:44,072 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/ee92e4ae-2f2b-44b4-8cda-da7a3c37e048 2026-04-22 15:55:44,078 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/ee92e4ae-2f2b-44b4-8cda-da7a3c37e048 2026-04-22 15:55:44,085 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/56c610d2-3b23-4944-9661-8b0d71f3e884 2026-04-22 15:55:44,096 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-20198162:ctest-vn-44354949', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-20198162', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4954942318581597663', 'uuid-lslong': '10920038184074854068'}, 'enable': 'true', 'created': '2026-04-22T15:55:41', 'last-modified': '2026-04-22T15:55:42', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.384778'} 2026-04-22 15:55:44,101 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-22 15:55:44,101 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-44354949 passed 2026-04-22 15:55:44,101 - DEBUG - ====Verifying policy data for ctest-vn-44354949 in API_Server ====== 2026-04-22 15:55:44,102 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-04-22 15:55:44,107 - DEBUG - Requesting: http://10.0.0.249:8082/domain/c8c6278b-eebf-4dff-9adc-a925962521ad 2026-04-22 15:55:44,117 - DEBUG - Requesting: http://10.0.0.249:8082/project/fd147ce8-87ce-49f4-86fc-eff7ddbd599b 2026-04-22 15:55:44,184 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/44c37dc9-4d9b-45df-978b-c4df1f7bbeb4 2026-04-22 15:55:44,192 - DEBUG - ==>Verifying data for policy with id: f306c5ba-0ad6-40c1-a851-c434d0351ffe, fqn: ['default-domain', 'ctest-TestBasicPolicy-20198162', 'ctest-policy-allow-all-60761750'] 2026-04-22 15:55:44,192 - INFO - VN ctest-vn-44354949 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-22 15:55:44,192 - DEBUG - Verifying the vn in opserver 2026-04-22 15:55:44,192 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-20198162:ctest-vn-44354949 virtual network link through opserver 10.0.0.249 2026-04-22 15:55:44,192 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-04-22 15:55:44,202 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-20198162:ctest-vn-44354949', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-20198162:ctest-vn-44354949?flat'} 2026-04-22 15:55:44,202 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-20198162:ctest-vn-44354949 is found in opserver 2026-04-22 15:55:44,211 - DEBUG - Do not have enough data to verify VN in agent 2026-04-22 15:55:44,216 - DEBUG - VRF ids for VN ctest-vn-44354949: {} 2026-04-22 15:55:44,277 - DEBUG - Services list from nova: [, , ] 2026-04-22 15:55:45,291 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5669-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5669-1) 2026-04-22 15:55:46,469 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5669-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5669-1) 2026-04-22 15:55:46,469 - INFO - Waiting for VM ctest-TestBasicPolicy-20198162-88380688 to be up.. 2026-04-22 15:55:46,544 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-22 15:55:51,625 - DEBUG - VM is in ACTIVE state now 2026-04-22 15:55:51,625 - INFO - VM name : ctest-TestBasicPolicy-20198162-88380688 2026-04-22 15:55:51,697 - DEBUG - VM ctest-TestBasicPolicy-20198162-88380688 ID is c895e571-374f-4dde-88df-86d680a57b60 2026-04-22 15:55:51,717 - DEBUG - VM ctest-TestBasicPolicy-20198162-88380688 launched on Node cn-jenkins-deploy-platform-ansible-os-5669-1 2026-04-22 15:55:51,796 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/c895e571-374f-4dde-88df-86d680a57b60 2026-04-22 15:55:51,804 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/74a203b9-35df-4260-beee-85dbab31d042 2026-04-22 15:55:55,066 - 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 1026ms') 2026-04-22 15:55:55,066 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-20198162-88380688 failed! 2026-04-22 15:55:55,124 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-20198162:ctest-vn-16746340 is 124.191.10.193 and allocation pool is NOT set 2026-04-22 15:55:57,186 - 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.52 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.464 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.464/4.491/8.519/4.027 ms') 2026-04-22 15:55:57,186 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-20198162-88380688 passed 2026-04-22 15:55:57,336 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-22 15:55:57,336 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-20198162-88380688, IP 124.191.10.195, Port 22 2026-04-22 15:55:57,491 - DEBUG - VM ctest-TestBasicPolicy-20198162-88380688 is ready for SSH connections 2026-04-22 15:55:57,491 - INFO - Waiting for VM ctest-TestBasicPolicy-20198162-82370738 to be up.. 2026-04-22 15:55:57,578 - DEBUG - VM is in ACTIVE state now 2026-04-22 15:55:57,578 - INFO - VM name : ctest-TestBasicPolicy-20198162-82370738 2026-04-22 15:55:57,650 - DEBUG - VM ctest-TestBasicPolicy-20198162-82370738 ID is 7af8c278-07e4-4f72-bc0e-1127afffdd78 2026-04-22 15:55:57,650 - DEBUG - VM ctest-TestBasicPolicy-20198162-82370738 launched on Node cn-jenkins-deploy-platform-ansible-os-5669-1 2026-04-22 15:55:57,724 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/7af8c278-07e4-4f72-bc0e-1127afffdd78 2026-04-22 15:55:57,732 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/fe5768cc-4d99-4dc0-9221-907b0d5c2377 2026-04-22 15:55:58,965 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=2.86 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.721 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 = 0.721/1.788/2.855/1.067 ms') 2026-04-22 15:55:58,965 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-20198162-82370738 passed 2026-04-22 15:55:59,112 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-22 15:55:59,112 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-20198162-82370738, IP 156.34.206.131, Port 22 2026-04-22 15:55:59,275 - DEBUG - VM ctest-TestBasicPolicy-20198162-82370738 is ready for SSH connections 2026-04-22 15:55:59,276 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-22 15:55:59,276 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 156.34.206.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-04-22 15:55:59,276 - DEBUG - ping -s 56 -c 3 -W 1 156.34.206.131 2026-04-22 15:56:03,324 - DEBUG - PING 156.34.206.131 (156.34.206.131): 56 data bytes 64 bytes from 156.34.206.131: seq=0 ttl=63 time=3.586 ms 64 bytes from 156.34.206.131: seq=1 ttl=63 time=0.885 ms 64 bytes from 156.34.206.131: seq=2 ttl=63 time=0.950 ms --- 156.34.206.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.885/1.807/3.586 ms 2026-04-22 15:56:03,325 - INFO - Ping to IP 156.34.206.131 from VM ctest-TestBasicPolicy-20198162-88380688 passed 2026-04-22 15:56:03,500 - DEBUG - Policy Update Response {"network-policy": {"uuid": "f306c5ba-0ad6-40c1-a851-c434d0351ffe", "href": "http://10.0.0.249:8082/network-policy/f306c5ba-0ad6-40c1-a851-c434d0351ffe"}} 2026-04-22 15:56:03,500 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-22 15:56:03,500 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 156.34.206.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-04-22 15:56:03,500 - DEBUG - ping -s 56 -c 3 -W 1 156.34.206.131 2026-04-22 15:56:06,715 - DEBUG - PING 156.34.206.131 (156.34.206.131): 56 data bytes --- 156.34.206.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-04-22 15:56:06,715 - WARNING - Ping to IP 156.34.206.131 from VM ctest-TestBasicPolicy-20198162-88380688 failed 2026-04-22 15:56:06,715 - INFO - Deleting VM ctest-TestBasicPolicy-20198162-82370738 2026-04-22 15:56:06,780 - INFO - Deleting VM ctest-TestBasicPolicy-20198162-88380688 2026-04-22 15:56:07,170 - INFO - Deleted policy ctest-policy-allow-all-60761750 2026-04-22 15:56:07,170 - INFO - Deleting VN ctest-vn-44354949 2026-04-22 15:56:07,216 - DEBUG - VN 44c37dc9-4d9b-45df-978b-c4df1f7bbeb4 still in use: Unable to complete operation on network 44c37dc9-4d9b-45df-978b-c4df1f7bbeb4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e286e226-bb99-40d6-ada2-7aa254d0381f'] 2026-04-22 15:56:07,216 - WARNING - Deleting VN ctest-vn-44354949 failed..Will retry 2026-04-22 15:56:09,330 - DEBUG - Response for deleting network () 2026-04-22 15:56:09,330 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/ee92e4ae-2f2b-44b4-8cda-da7a3c37e048 2026-04-22 15:56:09,336 - DEBUG - Response Code: 404 2026-04-22 15:56:09,337 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-04-22 15:56:09,342 - DEBUG - Requesting: http://10.0.0.249:8082/domain/c8c6278b-eebf-4dff-9adc-a925962521ad 2026-04-22 15:56:09,396 - DEBUG - Requesting: http://10.0.0.249:8082/project/fd147ce8-87ce-49f4-86fc-eff7ddbd599b 2026-04-22 15:56:09,466 - INFO - Validated that VN ctest-vn-44354949 is not found in API Server 2026-04-22 15:56:09,476 - DEBUG - VN ctest-vn-44354949 is not present in Agent 10.0.0.249 2026-04-22 15:56:09,476 - INFO - Validated that VN ctest-vn-44354949 is not in any agent 2026-04-22 15:56:09,494 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-44354949 info 2026-04-22 15:56:09,494 - INFO - Deleting VN ctest-vn-16746340 2026-04-22 15:56:09,587 - DEBUG - Response for deleting network () 2026-04-22 15:56:09,587 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/98c1aa1e-3a9d-4695-9fc7-280d9ae56dbb 2026-04-22 15:56:09,594 - DEBUG - Response Code: 404 2026-04-22 15:56:09,594 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-04-22 15:56:09,598 - DEBUG - Requesting: http://10.0.0.249:8082/domain/c8c6278b-eebf-4dff-9adc-a925962521ad 2026-04-22 15:56:09,648 - DEBUG - Requesting: http://10.0.0.249:8082/project/fd147ce8-87ce-49f4-86fc-eff7ddbd599b 2026-04-22 15:56:09,720 - INFO - Validated that VN ctest-vn-16746340 is not found in API Server 2026-04-22 15:56:09,730 - DEBUG - VN ctest-vn-16746340 is not present in Agent 10.0.0.249 2026-04-22 15:56:09,730 - INFO - Validated that VN ctest-vn-16746340 is not in any agent 2026-04-22 15:56:09,744 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-16746340 info 2026-04-22 15:56:09,995 - DEBUG - No XMPP flaps were noticed during the test 2026-04-22 15:56:09,996 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2026-04-22 15:56:09,996 - INFO - -------------------------------------------------------------------------------- 2026-04-22 15:56:10,702 - INFO - Deleted project: ctest-TestBasicPolicy-20198162, ID : fd147ce8-87ce-49f4-86fc-eff7ddbd599b