2026-02-09 21:51:19,450 - INFO - Domain Default found not creating 2026-02-09 21:51:19,615 - INFO - Project ctest-TestBasicPolicy-29514620 not found, creating it 2026-02-09 21:51:20,056 - INFO - Created Project:ctest-TestBasicPolicy-29514620, ID : 8f581ff8-4356-41b3-a4f4-74c34ce56533 2026-02-09 21:51:21,532 - INFO - ================================================================================ 2026-02-09 21:51:21,532 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-09 21:51:21,532 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2026-02-09 21:51:21,784 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-02-09 21:51:21,784 - INFO - Initial checks done. Running the testcase now 2026-02-09 21:51:21,784 - INFO - 2026-02-09 21:51:22,323 - DEBUG - Response for create_network : {'network': {'id': '3ec5bfa3-2d69-46fe-ac02-5af1cd883510', 'name': 'ctest-vn-58856529', 'tenant_id': '8f581ff8435641b3a4f474c34ce56533', 'project_id': '8f581ff8435641b3a4f474c34ce56533', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29514620', 'ctest-vn-58856529'], 'port_security_enabled': True, 'description': ''}} 2026-02-09 21:51:22,517 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a3e21458-b0e5-4e08-aa93-e6010316edb4', 'name': '', 'tenant_id': '8f581ff8435641b3a4f474c34ce56533', 'network_id': '3ec5bfa3-2d69-46fe-ac02-5af1cd883510', 'ip_version': 4, 'cidr': '119.239.87.0/26', 'allocation_pools': [{'start': '119.239.87.2', 'end': '119.239.87.62'}], 'gateway_ip': '119.239.87.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '119.239.87.2', 'tags': [], 'project_id': '8f581ff8435641b3a4f474c34ce56533'}} 2026-02-09 21:51:22,532 - INFO - Created VN ctest-vn-58856529 2026-02-09 21:51:22,583 - DEBUG - VN ctest-vn-58856529 UUID is 3ec5bfa3-2d69-46fe-ac02-5af1cd883510 2026-02-09 21:51:22,901 - DEBUG - Response for create_network : {'network': {'id': '3c95de09-0632-4bec-a3a9-bbe5854def60', 'name': 'ctest-vn-88580538', 'tenant_id': '8f581ff8435641b3a4f474c34ce56533', 'project_id': '8f581ff8435641b3a4f474c34ce56533', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29514620', 'ctest-vn-88580538'], 'port_security_enabled': True, 'description': ''}} 2026-02-09 21:51:23,107 - DEBUG - Response for create_subnet : {'subnet': {'id': '3343b8bc-b849-47a8-b15c-a5df390b2e3b', 'name': '', 'tenant_id': '8f581ff8435641b3a4f474c34ce56533', 'network_id': '3c95de09-0632-4bec-a3a9-bbe5854def60', 'ip_version': 4, 'cidr': '141.108.193.64/26', 'allocation_pools': [{'start': '141.108.193.66', 'end': '141.108.193.126'}], 'gateway_ip': '141.108.193.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '141.108.193.66', 'tags': [], 'project_id': '8f581ff8435641b3a4f474c34ce56533'}} 2026-02-09 21:51:23,121 - INFO - Created VN ctest-vn-88580538 2026-02-09 21:51:23,171 - DEBUG - VN ctest-vn-88580538 UUID is 3c95de09-0632-4bec-a3a9-bbe5854def60 2026-02-09 21:51:23,315 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-29514620:ctest-vn-58856529, 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-29514620:ctest-vn-88580538, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2026-02-09 21:51:23,587 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3ec5bfa3-2d69-46fe-ac02-5af1cd883510', 'name': 'ctest-vn-58856529', 'tenant_id': '8f581ff8435641b3a4f474c34ce56533', 'project_id': '8f581ff8435641b3a4f474c34ce56533', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a3e21458-b0e5-4e08-aa93-e6010316edb4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29514620', 'ctest-vn-58856529'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-29514620', 'ctest-policy-allow-all-75996802']], 'subnet_ipam': [{'subnet_cidr': '119.239.87.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-09 21:51:23,802 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3c95de09-0632-4bec-a3a9-bbe5854def60', 'name': 'ctest-vn-88580538', 'tenant_id': '8f581ff8435641b3a4f474c34ce56533', 'project_id': '8f581ff8435641b3a4f474c34ce56533', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3343b8bc-b849-47a8-b15c-a5df390b2e3b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29514620', 'ctest-vn-88580538'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-29514620', 'ctest-policy-allow-all-75996802']], 'subnet_ipam': [{'subnet_cidr': '141.108.193.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-09 21:51:23,963 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-09 21:51:24,253 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-09 21:51:24,281 - DEBUG - Requesting: http://10.0.0.50:8082/domain/f95a3f0d-f882-42ba-8357-354429176aff 2026-02-09 21:51:24,292 - DEBUG - Requesting: http://10.0.0.50:8082/project/8f581ff8-4356-41b3-a4f4-74c34ce56533 2026-02-09 21:51:24,368 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/3ec5bfa3-2d69-46fe-ac02-5af1cd883510 2026-02-09 21:51:24,377 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/3ec5bfa3-2d69-46fe-ac02-5af1cd883510 2026-02-09 21:51:24,385 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9c9e056e-0dcc-4a5a-952a-9fb74d663336 2026-02-09 21:51:24,392 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9c9e056e-0dcc-4a5a-952a-9fb74d663336 2026-02-09 21:51:24,404 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/66d090ff-d711-4e22-aa09-0267dbdc472f 2026-02-09 21:51:24,411 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-09 21:51:24,411 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/3ec5bfa3-2d69-46fe-ac02-5af1cd883510 2026-02-09 21:51:24,419 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9c9e056e-0dcc-4a5a-952a-9fb74d663336 2026-02-09 21:51:24,431 - INFO - Verified VN network id 11 for VN 3ec5bfa3-2d69-46fe-ac02-5af1cd883510 2026-02-09 21:51:24,432 - INFO - Verifications in API Server for VN ctest-vn-58856529 passed 2026-02-09 21:51:24,432 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/3ec5bfa3-2d69-46fe-ac02-5af1cd883510 2026-02-09 21:51:24,439 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9c9e056e-0dcc-4a5a-952a-9fb74d663336 2026-02-09 21:51:24,444 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9c9e056e-0dcc-4a5a-952a-9fb74d663336 2026-02-09 21:51:24,449 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/66d090ff-d711-4e22-aa09-0267dbdc472f 2026-02-09 21:51:24,458 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-29514620:ctest-vn-58856529', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-29514620', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4523232108325979902', 'uuid-lslong': '12394569119058900240'}, 'enable': 'true', 'created': '2026-02-09T21:51:22', 'last-modified': '2026-02-09T21:51:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.889931'} 2026-02-09 21:51:24,465 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-09 21:51:24,465 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-58856529 passed 2026-02-09 21:51:24,465 - DEBUG - ====Verifying policy data for ctest-vn-58856529 in API_Server ====== 2026-02-09 21:51:24,465 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-09 21:51:24,469 - DEBUG - Requesting: http://10.0.0.50:8082/domain/f95a3f0d-f882-42ba-8357-354429176aff 2026-02-09 21:51:24,477 - DEBUG - Requesting: http://10.0.0.50:8082/project/8f581ff8-4356-41b3-a4f4-74c34ce56533 2026-02-09 21:51:24,546 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/3ec5bfa3-2d69-46fe-ac02-5af1cd883510 2026-02-09 21:51:24,555 - DEBUG - ==>Verifying data for policy with id: 99c1b403-e2f1-4cbe-9d2e-c7a8b86b2b79, fqn: ['default-domain', 'ctest-TestBasicPolicy-29514620', 'ctest-policy-allow-all-75996802'] 2026-02-09 21:51:24,555 - INFO - VN ctest-vn-58856529 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-09 21:51:24,555 - DEBUG - Verifying the vn in opserver 2026-02-09 21:51:24,555 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-29514620:ctest-vn-58856529 virtual network link through opserver 10.0.0.50 2026-02-09 21:51:24,555 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-02-09 21:51:24,854 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-02-09 21:51:24,911 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-29514620:ctest-vn-58856529', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-29514620:ctest-vn-58856529?flat'} 2026-02-09 21:51:24,911 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-29514620:ctest-vn-58856529 is found in opserver 2026-02-09 21:51:24,922 - DEBUG - Do not have enough data to verify VN in agent 2026-02-09 21:51:24,926 - DEBUG - VRF ids for VN ctest-vn-58856529: {} 2026-02-09 21:51:24,926 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-09 21:51:24,931 - DEBUG - Requesting: http://10.0.0.50:8082/domain/f95a3f0d-f882-42ba-8357-354429176aff 2026-02-09 21:51:24,942 - DEBUG - Requesting: http://10.0.0.50:8082/project/8f581ff8-4356-41b3-a4f4-74c34ce56533 2026-02-09 21:51:25,014 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/3c95de09-0632-4bec-a3a9-bbe5854def60 2026-02-09 21:51:25,023 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/3c95de09-0632-4bec-a3a9-bbe5854def60 2026-02-09 21:51:25,032 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/4926fdca-97f2-4e88-80f3-b52d0853b736 2026-02-09 21:51:25,038 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/4926fdca-97f2-4e88-80f3-b52d0853b736 2026-02-09 21:51:25,043 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/098c9c86-bebf-42b0-85a1-a4236bc97ba9 2026-02-09 21:51:25,049 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-09 21:51:25,049 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/3c95de09-0632-4bec-a3a9-bbe5854def60 2026-02-09 21:51:25,056 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/4926fdca-97f2-4e88-80f3-b52d0853b736 2026-02-09 21:51:25,067 - INFO - Verified VN network id 12 for VN 3c95de09-0632-4bec-a3a9-bbe5854def60 2026-02-09 21:51:25,067 - INFO - Verifications in API Server for VN ctest-vn-88580538 passed 2026-02-09 21:51:25,067 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/3c95de09-0632-4bec-a3a9-bbe5854def60 2026-02-09 21:51:25,079 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/4926fdca-97f2-4e88-80f3-b52d0853b736 2026-02-09 21:51:25,091 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/4926fdca-97f2-4e88-80f3-b52d0853b736 2026-02-09 21:51:25,096 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/098c9c86-bebf-42b0-85a1-a4236bc97ba9 2026-02-09 21:51:25,107 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-29514620:ctest-vn-88580538', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-29514620', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4365639544145595372', 'uuid-lslong': '11793163693704736608'}, 'enable': 'true', 'created': '2026-02-09T21:51:22', 'last-modified': '2026-02-09T21:51:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.323908'} 2026-02-09 21:51:25,114 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-09 21:51:25,115 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-88580538 passed 2026-02-09 21:51:25,115 - DEBUG - ====Verifying policy data for ctest-vn-88580538 in API_Server ====== 2026-02-09 21:51:25,115 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-09 21:51:25,119 - DEBUG - Requesting: http://10.0.0.50:8082/domain/f95a3f0d-f882-42ba-8357-354429176aff 2026-02-09 21:51:25,127 - DEBUG - Requesting: http://10.0.0.50:8082/project/8f581ff8-4356-41b3-a4f4-74c34ce56533 2026-02-09 21:51:25,200 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/3c95de09-0632-4bec-a3a9-bbe5854def60 2026-02-09 21:51:25,207 - DEBUG - ==>Verifying data for policy with id: 99c1b403-e2f1-4cbe-9d2e-c7a8b86b2b79, fqn: ['default-domain', 'ctest-TestBasicPolicy-29514620', 'ctest-policy-allow-all-75996802'] 2026-02-09 21:51:25,207 - INFO - VN ctest-vn-88580538 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-09 21:51:25,207 - DEBUG - Verifying the vn in opserver 2026-02-09 21:51:25,207 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-29514620:ctest-vn-88580538 virtual network link through opserver 10.0.0.50 2026-02-09 21:51:25,208 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-02-09 21:51:25,215 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-29514620:ctest-vn-88580538', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-29514620:ctest-vn-88580538?flat'} 2026-02-09 21:51:25,215 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-29514620:ctest-vn-88580538 is found in opserver 2026-02-09 21:51:25,223 - DEBUG - Do not have enough data to verify VN in agent 2026-02-09 21:51:25,228 - DEBUG - VRF ids for VN ctest-vn-88580538: {} 2026-02-09 21:51:25,277 - DEBUG - Services list from nova: [, , ] 2026-02-09 21:51:26,241 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5250-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5250-1) 2026-02-09 21:51:27,317 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5250-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5250-1) 2026-02-09 21:51:27,318 - INFO - Waiting for VM ctest-TestBasicPolicy-29514620-80653141 to be up.. 2026-02-09 21:51:27,393 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-09 21:51:32,483 - DEBUG - VM is in ACTIVE state now 2026-02-09 21:51:32,483 - INFO - VM name : ctest-TestBasicPolicy-29514620-80653141 2026-02-09 21:51:32,554 - DEBUG - VM ctest-TestBasicPolicy-29514620-80653141 ID is a862b209-5181-4b4d-989c-986ac02b2f45 2026-02-09 21:51:32,587 - DEBUG - VM ctest-TestBasicPolicy-29514620-80653141 launched on Node cn-jenkins-deploy-platform-ansible-os-5250-1 2026-02-09 21:51:32,663 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/a862b209-5181-4b4d-989c-986ac02b2f45 2026-02-09 21:51:32,674 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/d02e5dbd-c743-4f26-abdc-9e2d11b4747f 2026-02-09 21:51:35,886 - 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 1002ms') 2026-02-09 21:51:35,886 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-29514620-80653141 failed! 2026-02-09 21:51:35,939 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-29514620:ctest-vn-58856529 is 119.239.87.1 and allocation pool is NOT set 2026-02-09 21:51:38,003 - 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=2.99 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.819 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.819/1.905/2.992/1.086 ms') 2026-02-09 21:51:38,004 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-29514620-80653141 passed 2026-02-09 21:51:38,159 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-09 21:51:38,160 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-29514620-80653141, IP 119.239.87.3, Port 22 2026-02-09 21:51:38,319 - DEBUG - VM ctest-TestBasicPolicy-29514620-80653141 is ready for SSH connections 2026-02-09 21:51:38,319 - INFO - Waiting for VM ctest-TestBasicPolicy-29514620-49515261 to be up.. 2026-02-09 21:51:38,396 - DEBUG - VM is in ACTIVE state now 2026-02-09 21:51:38,396 - INFO - VM name : ctest-TestBasicPolicy-29514620-49515261 2026-02-09 21:51:38,475 - DEBUG - VM ctest-TestBasicPolicy-29514620-49515261 ID is dd0539df-9df6-4326-bbcd-47880d636d71 2026-02-09 21:51:38,475 - DEBUG - VM ctest-TestBasicPolicy-29514620-49515261 launched on Node cn-jenkins-deploy-platform-ansible-os-5250-1 2026-02-09 21:51:38,540 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/dd0539df-9df6-4326-bbcd-47880d636d71 2026-02-09 21:51:38,548 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/758a9fa2-efc6-47cf-b84d-c296dd37e6e3 2026-02-09 21:51:39,782 - 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.01 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.581 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.581/2.795/5.010/2.214 ms') 2026-02-09 21:51:39,782 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-29514620-49515261 passed 2026-02-09 21:51:39,931 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-09 21:51:39,931 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-29514620-49515261, IP 141.108.193.67, Port 22 2026-02-09 21:51:40,090 - DEBUG - VM ctest-TestBasicPolicy-29514620-49515261 is ready for SSH connections 2026-02-09 21:51:40,090 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-09 21:51:40,090 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 141.108.193.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-02-09 21:51:40,090 - DEBUG - ping -s 56 -c 3 -W 1 141.108.193.67 2026-02-09 21:51:44,130 - DEBUG - PING 141.108.193.67 (141.108.193.67): 56 data bytes 64 bytes from 141.108.193.67: seq=0 ttl=63 time=3.449 ms 64 bytes from 141.108.193.67: seq=1 ttl=63 time=0.782 ms 64 bytes from 141.108.193.67: seq=2 ttl=63 time=0.793 ms --- 141.108.193.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.782/1.674/3.449 ms 2026-02-09 21:51:44,130 - INFO - Ping to IP 141.108.193.67 from VM ctest-TestBasicPolicy-29514620-80653141 passed 2026-02-09 21:51:44,307 - DEBUG - Policy Update Response {"network-policy": {"uuid": "99c1b403-e2f1-4cbe-9d2e-c7a8b86b2b79", "href": "http://10.0.0.50:8082/network-policy/99c1b403-e2f1-4cbe-9d2e-c7a8b86b2b79"}} 2026-02-09 21:51:44,307 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-09 21:51:44,307 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 141.108.193.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-02-09 21:51:44,307 - DEBUG - ping -s 56 -c 3 -W 1 141.108.193.67 2026-02-09 21:51:47,512 - DEBUG - PING 141.108.193.67 (141.108.193.67): 56 data bytes --- 141.108.193.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-09 21:51:47,512 - WARNING - Ping to IP 141.108.193.67 from VM ctest-TestBasicPolicy-29514620-80653141 failed 2026-02-09 21:51:47,512 - INFO - Deleting VM ctest-TestBasicPolicy-29514620-49515261 2026-02-09 21:51:47,579 - INFO - Deleting VM ctest-TestBasicPolicy-29514620-80653141 2026-02-09 21:51:47,942 - INFO - Deleted policy ctest-policy-allow-all-75996802 2026-02-09 21:51:47,942 - INFO - Deleting VN ctest-vn-88580538 2026-02-09 21:51:47,978 - DEBUG - VN 3c95de09-0632-4bec-a3a9-bbe5854def60 still in use: Unable to complete operation on network 3c95de09-0632-4bec-a3a9-bbe5854def60. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4bdd07fb-e969-4396-b6be-622167ad8618'] 2026-02-09 21:51:47,978 - WARNING - Deleting VN ctest-vn-88580538 failed..Will retry 2026-02-09 21:51:50,074 - DEBUG - Response for deleting network () 2026-02-09 21:51:50,074 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/4926fdca-97f2-4e88-80f3-b52d0853b736 2026-02-09 21:51:50,079 - DEBUG - Response Code: 404 2026-02-09 21:51:50,079 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-09 21:51:50,084 - DEBUG - Requesting: http://10.0.0.50:8082/domain/f95a3f0d-f882-42ba-8357-354429176aff 2026-02-09 21:51:50,137 - DEBUG - Requesting: http://10.0.0.50:8082/project/8f581ff8-4356-41b3-a4f4-74c34ce56533 2026-02-09 21:51:50,208 - INFO - Validated that VN ctest-vn-88580538 is not found in API Server 2026-02-09 21:51:50,217 - DEBUG - VN ctest-vn-88580538 is not present in Agent 10.0.0.50 2026-02-09 21:51:50,217 - INFO - Validated that VN ctest-vn-88580538 is not in any agent 2026-02-09 21:51:50,229 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-88580538 info 2026-02-09 21:51:50,229 - INFO - Deleting VN ctest-vn-58856529 2026-02-09 21:51:50,332 - DEBUG - Response for deleting network () 2026-02-09 21:51:50,333 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9c9e056e-0dcc-4a5a-952a-9fb74d663336 2026-02-09 21:51:50,337 - DEBUG - Response Code: 404 2026-02-09 21:51:50,337 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-09 21:51:50,343 - DEBUG - Requesting: http://10.0.0.50:8082/domain/f95a3f0d-f882-42ba-8357-354429176aff 2026-02-09 21:51:50,400 - DEBUG - Requesting: http://10.0.0.50:8082/project/8f581ff8-4356-41b3-a4f4-74c34ce56533 2026-02-09 21:51:50,469 - INFO - Validated that VN ctest-vn-58856529 is not found in API Server 2026-02-09 21:51:50,478 - DEBUG - VN ctest-vn-58856529 is not present in Agent 10.0.0.50 2026-02-09 21:51:50,478 - INFO - Validated that VN ctest-vn-58856529 is not in any agent 2026-02-09 21:51:50,491 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-58856529 info 2026-02-09 21:51:50,744 - DEBUG - No XMPP flaps were noticed during the test
2026-02-09 21:51:50,744 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2026-02-09 21:51:50,744 - INFO - -------------------------------------------------------------------------------- 2026-02-09 21:51:51,419 - INFO - Deleted project: ctest-TestBasicPolicy-29514620, ID : 8f581ff8-4356-41b3-a4f4-74c34ce56533