2026-02-25 16:52:35,636 - INFO - Domain Default found not creating 2026-02-25 16:52:35,767 - INFO - Project ctest-TestBasicPolicy-45671183 not found, creating it 2026-02-25 16:52:36,181 - INFO - Created Project:ctest-TestBasicPolicy-45671183, ID : 31968982-f2ba-43f3-b3c2-5ed653149f10 2026-02-25 16:52:37,532 - INFO - ================================================================================ 2026-02-25 16:52:37,532 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-25 16:52:37,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-25 16:52:37,787 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2026-02-25 16:52:37,787 - INFO - Initial checks done. Running the testcase now 2026-02-25 16:52:37,787 - INFO - 2026-02-25 16:52:38,294 - DEBUG - Response for create_network : {'network': {'id': 'd14657df-d5b9-40dc-91a4-12b564864bc7', 'name': 'ctest-vn-65331837', 'tenant_id': '31968982f2ba43f3b3c25ed653149f10', 'project_id': '31968982f2ba43f3b3c25ed653149f10', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45671183', 'ctest-vn-65331837'], 'port_security_enabled': True, 'description': ''}} 2026-02-25 16:52:38,467 - DEBUG - Response for create_subnet : {'subnet': {'id': '880907cc-8c12-415c-a7ea-d37f1f2ab9be', 'name': '', 'tenant_id': '31968982f2ba43f3b3c25ed653149f10', 'network_id': 'd14657df-d5b9-40dc-91a4-12b564864bc7', 'ip_version': 4, 'cidr': '128.254.76.192/26', 'allocation_pools': [{'start': '128.254.76.194', 'end': '128.254.76.254'}], 'gateway_ip': '128.254.76.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '128.254.76.194', 'tags': [], 'project_id': '31968982f2ba43f3b3c25ed653149f10'}} 2026-02-25 16:52:38,481 - INFO - Created VN ctest-vn-65331837 2026-02-25 16:52:38,530 - DEBUG - VN ctest-vn-65331837 UUID is d14657df-d5b9-40dc-91a4-12b564864bc7 2026-02-25 16:52:38,822 - DEBUG - Response for create_network : {'network': {'id': '4fe779e7-9584-4a22-8355-dea2094034cc', 'name': 'ctest-vn-10708483', 'tenant_id': '31968982f2ba43f3b3c25ed653149f10', 'project_id': '31968982f2ba43f3b3c25ed653149f10', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45671183', 'ctest-vn-10708483'], 'port_security_enabled': True, 'description': ''}} 2026-02-25 16:52:38,989 - DEBUG - Response for create_subnet : {'subnet': {'id': '288f6826-1a59-4c4a-bd95-457230a5de75', 'name': '', 'tenant_id': '31968982f2ba43f3b3c25ed653149f10', 'network_id': '4fe779e7-9584-4a22-8355-dea2094034cc', 'ip_version': 4, 'cidr': '135.244.92.128/26', 'allocation_pools': [{'start': '135.244.92.130', 'end': '135.244.92.190'}], 'gateway_ip': '135.244.92.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '135.244.92.130', 'tags': [], 'project_id': '31968982f2ba43f3b3c25ed653149f10'}} 2026-02-25 16:52:39,004 - INFO - Created VN ctest-vn-10708483 2026-02-25 16:52:39,054 - DEBUG - VN ctest-vn-10708483 UUID is 4fe779e7-9584-4a22-8355-dea2094034cc 2026-02-25 16:52:39,194 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-45671183:ctest-vn-65331837, 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-45671183:ctest-vn-10708483, 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-25 16:52:39,489 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd14657df-d5b9-40dc-91a4-12b564864bc7', 'name': 'ctest-vn-65331837', 'tenant_id': '31968982f2ba43f3b3c25ed653149f10', 'project_id': '31968982f2ba43f3b3c25ed653149f10', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['880907cc-8c12-415c-a7ea-d37f1f2ab9be'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45671183', 'ctest-vn-65331837'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-45671183', 'ctest-policy-allow-all-79484632']], 'subnet_ipam': [{'subnet_cidr': '128.254.76.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-25 16:52:39,718 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4fe779e7-9584-4a22-8355-dea2094034cc', 'name': 'ctest-vn-10708483', 'tenant_id': '31968982f2ba43f3b3c25ed653149f10', 'project_id': '31968982f2ba43f3b3c25ed653149f10', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['288f6826-1a59-4c4a-bd95-457230a5de75'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45671183', 'ctest-vn-10708483'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-45671183', 'ctest-policy-allow-all-79484632']], 'subnet_ipam': [{'subnet_cidr': '135.244.92.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-25 16:52:39,866 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-02-25 16:52:40,180 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-02-25 16:52:40,212 - DEBUG - Requesting: http://10.0.0.22:8082/domain/9dfdb332-45fa-4d14-8a62-697b714a7198 2026-02-25 16:52:40,223 - DEBUG - Requesting: http://10.0.0.22:8082/project/31968982-f2ba-43f3-b3c2-5ed653149f10 2026-02-25 16:52:40,293 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/d14657df-d5b9-40dc-91a4-12b564864bc7 2026-02-25 16:52:40,302 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/d14657df-d5b9-40dc-91a4-12b564864bc7 2026-02-25 16:52:40,310 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/dc9296fc-f7e3-4f11-98cc-b69d8e9e14a1 2026-02-25 16:52:40,315 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/dc9296fc-f7e3-4f11-98cc-b69d8e9e14a1 2026-02-25 16:52:40,321 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/ecc8121c-2e3d-4116-9b91-27fce8624f7d 2026-02-25 16:52:40,325 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-25 16:52:40,325 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/d14657df-d5b9-40dc-91a4-12b564864bc7 2026-02-25 16:52:40,333 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/dc9296fc-f7e3-4f11-98cc-b69d8e9e14a1 2026-02-25 16:52:40,346 - INFO - Verified VN network id 11 for VN d14657df-d5b9-40dc-91a4-12b564864bc7 2026-02-25 16:52:40,346 - INFO - Verifications in API Server for VN ctest-vn-65331837 passed 2026-02-25 16:52:40,347 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/d14657df-d5b9-40dc-91a4-12b564864bc7 2026-02-25 16:52:40,353 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/dc9296fc-f7e3-4f11-98cc-b69d8e9e14a1 2026-02-25 16:52:40,358 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/dc9296fc-f7e3-4f11-98cc-b69d8e9e14a1 2026-02-25 16:52:40,364 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/ecc8121c-2e3d-4116-9b91-27fce8624f7d 2026-02-25 16:52:40,374 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-45671183:ctest-vn-65331837', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-45671183', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15079837021171695836', 'uuid-lslong': '10494533601965001671'}, 'enable': 'true', 'created': '2026-02-25T16:52:38', 'last-modified': '2026-02-25T16:52:39', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.911022'} 2026-02-25 16:52:40,380 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-25 16:52:40,380 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-65331837 passed 2026-02-25 16:52:40,381 - DEBUG - ====Verifying policy data for ctest-vn-65331837 in API_Server ====== 2026-02-25 16:52:40,381 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-02-25 16:52:40,386 - DEBUG - Requesting: http://10.0.0.22:8082/domain/9dfdb332-45fa-4d14-8a62-697b714a7198 2026-02-25 16:52:40,395 - DEBUG - Requesting: http://10.0.0.22:8082/project/31968982-f2ba-43f3-b3c2-5ed653149f10 2026-02-25 16:52:40,463 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/d14657df-d5b9-40dc-91a4-12b564864bc7 2026-02-25 16:52:40,472 - DEBUG - ==>Verifying data for policy with id: 62cf9362-f6ce-453a-ac0f-da08f06b42cf, fqn: ['default-domain', 'ctest-TestBasicPolicy-45671183', 'ctest-policy-allow-all-79484632'] 2026-02-25 16:52:40,472 - INFO - VN ctest-vn-65331837 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-25 16:52:40,472 - DEBUG - Verifying the vn in opserver 2026-02-25 16:52:40,472 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-45671183:ctest-vn-65331837 virtual network link through opserver 10.0.0.22 2026-02-25 16:52:40,472 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-02-25 16:52:40,769 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-02-25 16:52:40,827 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-45671183:ctest-vn-65331837', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-45671183:ctest-vn-65331837?flat'} 2026-02-25 16:52:40,827 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-45671183:ctest-vn-65331837 is found in opserver 2026-02-25 16:52:40,836 - DEBUG - Do not have enough data to verify VN in agent 2026-02-25 16:52:40,840 - DEBUG - VRF ids for VN ctest-vn-65331837: {} 2026-02-25 16:52:40,840 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-02-25 16:52:40,845 - DEBUG - Requesting: http://10.0.0.22:8082/domain/9dfdb332-45fa-4d14-8a62-697b714a7198 2026-02-25 16:52:40,854 - DEBUG - Requesting: http://10.0.0.22:8082/project/31968982-f2ba-43f3-b3c2-5ed653149f10 2026-02-25 16:52:40,922 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/4fe779e7-9584-4a22-8355-dea2094034cc 2026-02-25 16:52:40,934 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/4fe779e7-9584-4a22-8355-dea2094034cc 2026-02-25 16:52:40,942 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/61e69a47-dd43-447a-957f-1fdf8a012d84 2026-02-25 16:52:40,948 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/61e69a47-dd43-447a-957f-1fdf8a012d84 2026-02-25 16:52:40,953 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/be5e630b-bfdc-4d67-ae16-1f47e5f80517 2026-02-25 16:52:40,959 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-25 16:52:40,959 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/4fe779e7-9584-4a22-8355-dea2094034cc 2026-02-25 16:52:40,967 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/61e69a47-dd43-447a-957f-1fdf8a012d84 2026-02-25 16:52:40,978 - INFO - Verified VN network id 12 for VN 4fe779e7-9584-4a22-8355-dea2094034cc 2026-02-25 16:52:40,978 - INFO - Verifications in API Server for VN ctest-vn-10708483 passed 2026-02-25 16:52:40,978 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/4fe779e7-9584-4a22-8355-dea2094034cc 2026-02-25 16:52:40,986 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/61e69a47-dd43-447a-957f-1fdf8a012d84 2026-02-25 16:52:40,991 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/61e69a47-dd43-447a-957f-1fdf8a012d84 2026-02-25 16:52:40,996 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/be5e630b-bfdc-4d67-ae16-1f47e5f80517 2026-02-25 16:52:41,005 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-45671183:ctest-vn-10708483', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-45671183', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5757704684169349666', 'uuid-lslong': '9463714979510236364'}, 'enable': 'true', 'created': '2026-02-25T16:52:38', 'last-modified': '2026-02-25T16:52:39', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.307792'} 2026-02-25 16:52:41,010 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-25 16:52:41,010 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-10708483 passed 2026-02-25 16:52:41,010 - DEBUG - ====Verifying policy data for ctest-vn-10708483 in API_Server ====== 2026-02-25 16:52:41,010 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-02-25 16:52:41,016 - DEBUG - Requesting: http://10.0.0.22:8082/domain/9dfdb332-45fa-4d14-8a62-697b714a7198 2026-02-25 16:52:41,024 - DEBUG - Requesting: http://10.0.0.22:8082/project/31968982-f2ba-43f3-b3c2-5ed653149f10 2026-02-25 16:52:41,091 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/4fe779e7-9584-4a22-8355-dea2094034cc 2026-02-25 16:52:41,098 - DEBUG - ==>Verifying data for policy with id: 62cf9362-f6ce-453a-ac0f-da08f06b42cf, fqn: ['default-domain', 'ctest-TestBasicPolicy-45671183', 'ctest-policy-allow-all-79484632'] 2026-02-25 16:52:41,099 - INFO - VN ctest-vn-10708483 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-25 16:52:41,099 - DEBUG - Verifying the vn in opserver 2026-02-25 16:52:41,099 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-45671183:ctest-vn-10708483 virtual network link through opserver 10.0.0.22 2026-02-25 16:52:41,099 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-02-25 16:52:41,107 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-45671183:ctest-vn-10708483', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-45671183:ctest-vn-10708483?flat'} 2026-02-25 16:52:41,107 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-45671183:ctest-vn-10708483 is found in opserver 2026-02-25 16:52:41,115 - DEBUG - Do not have enough data to verify VN in agent 2026-02-25 16:52:41,119 - DEBUG - VRF ids for VN ctest-vn-10708483: {} 2026-02-25 16:52:41,168 - DEBUG - Services list from nova: [, , ] 2026-02-25 16:52:42,148 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5397-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5397-1) 2026-02-25 16:52:43,276 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5397-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5397-1) 2026-02-25 16:52:43,276 - INFO - Waiting for VM ctest-TestBasicPolicy-45671183-06589822 to be up.. 2026-02-25 16:52:43,353 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-25 16:52:48,420 - DEBUG - VM is in ACTIVE state now 2026-02-25 16:52:48,420 - INFO - VM name : ctest-TestBasicPolicy-45671183-06589822 2026-02-25 16:52:48,490 - DEBUG - VM ctest-TestBasicPolicy-45671183-06589822 ID is 39d49c31-072d-4c3f-8d5d-95649c947fba 2026-02-25 16:52:48,509 - DEBUG - VM ctest-TestBasicPolicy-45671183-06589822 launched on Node cn-jenkins-deploy-platform-ansible-os-5397-1 2026-02-25 16:52:48,585 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/39d49c31-072d-4c3f-8d5d-95649c947fba 2026-02-25 16:52:48,594 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/16f96508-0c31-4a14-bd00-4df694237c81 2026-02-25 16:52:51,839 - 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 1019ms') 2026-02-25 16:52:51,839 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-45671183-06589822 failed! 2026-02-25 16:52:51,890 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-45671183:ctest-vn-65331837 is 128.254.76.193 and allocation pool is NOT set 2026-02-25 16:52:53,952 - 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.89 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.323 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.323/1.605/2.887/1.282 ms') 2026-02-25 16:52:53,952 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-45671183-06589822 passed 2026-02-25 16:52:54,102 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-25 16:52:54,102 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-45671183-06589822, IP 128.254.76.195, Port 22 2026-02-25 16:52:54,262 - DEBUG - VM ctest-TestBasicPolicy-45671183-06589822 is ready for SSH connections 2026-02-25 16:52:54,262 - INFO - Waiting for VM ctest-TestBasicPolicy-45671183-18375917 to be up.. 2026-02-25 16:52:54,328 - DEBUG - VM is in ACTIVE state now 2026-02-25 16:52:54,328 - INFO - VM name : ctest-TestBasicPolicy-45671183-18375917 2026-02-25 16:52:54,393 - DEBUG - VM ctest-TestBasicPolicy-45671183-18375917 ID is 91623435-35e4-49e8-b806-9cc52cb7d31c 2026-02-25 16:52:54,393 - DEBUG - VM ctest-TestBasicPolicy-45671183-18375917 launched on Node cn-jenkins-deploy-platform-ansible-os-5397-1 2026-02-25 16:52:54,457 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/91623435-35e4-49e8-b806-9cc52cb7d31c 2026-02-25 16:52:54,463 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/8aa19a5e-e283-4d80-8cf0-f4b1f9581195 2026-02-25 16:52:55,693 - 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=1.03 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 = 1.031/2.553/4.076/1.522 ms') 2026-02-25 16:52:55,693 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-45671183-18375917 passed 2026-02-25 16:52:55,842 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-25 16:52:55,842 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-45671183-18375917, IP 135.244.92.131, Port 22 2026-02-25 16:52:55,994 - DEBUG - VM ctest-TestBasicPolicy-45671183-18375917 is ready for SSH connections 2026-02-25 16:52:55,994 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-25 16:52:55,994 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 135.244.92.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-02-25 16:52:55,994 - DEBUG - ping -s 56 -c 3 -W 1 135.244.92.131 2026-02-25 16:52:59,660 - DEBUG - PING 135.244.92.131 (135.244.92.131): 56 data bytes 64 bytes from 135.244.92.131: seq=0 ttl=63 time=3.553 ms 64 bytes from 135.244.92.131: seq=1 ttl=63 time=0.722 ms 64 bytes from 135.244.92.131: seq=2 ttl=63 time=0.796 ms --- 135.244.92.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.722/1.690/3.553 ms 2026-02-25 16:52:59,660 - INFO - Ping to IP 135.244.92.131 from VM ctest-TestBasicPolicy-45671183-06589822 passed 2026-02-25 16:52:59,830 - DEBUG - Policy Update Response {"network-policy": {"uuid": "62cf9362-f6ce-453a-ac0f-da08f06b42cf", "href": "http://10.0.0.22:8082/network-policy/62cf9362-f6ce-453a-ac0f-da08f06b42cf"}} 2026-02-25 16:52:59,830 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-25 16:52:59,830 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 135.244.92.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-02-25 16:52:59,830 - DEBUG - ping -s 56 -c 3 -W 1 135.244.92.131 2026-02-25 16:53:03,031 - DEBUG - PING 135.244.92.131 (135.244.92.131): 56 data bytes --- 135.244.92.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-25 16:53:03,031 - WARNING - Ping to IP 135.244.92.131 from VM ctest-TestBasicPolicy-45671183-06589822 failed 2026-02-25 16:53:03,031 - INFO - Deleting VM ctest-TestBasicPolicy-45671183-18375917 2026-02-25 16:53:03,091 - INFO - Deleting VM ctest-TestBasicPolicy-45671183-06589822 2026-02-25 16:53:03,390 - INFO - Deleted policy ctest-policy-allow-all-79484632 2026-02-25 16:53:03,390 - INFO - Deleting VN ctest-vn-10708483 2026-02-25 16:53:03,423 - DEBUG - VN 4fe779e7-9584-4a22-8355-dea2094034cc still in use: Unable to complete operation on network 4fe779e7-9584-4a22-8355-dea2094034cc. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d60f5f11-8457-45f8-b105-213f55ef52c5'] 2026-02-25 16:53:03,423 - WARNING - Deleting VN ctest-vn-10708483 failed..Will retry 2026-02-25 16:53:05,506 - DEBUG - Response for deleting network () 2026-02-25 16:53:05,506 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/61e69a47-dd43-447a-957f-1fdf8a012d84 2026-02-25 16:53:05,514 - DEBUG - Response Code: 404 2026-02-25 16:53:05,514 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-02-25 16:53:05,518 - DEBUG - Requesting: http://10.0.0.22:8082/domain/9dfdb332-45fa-4d14-8a62-697b714a7198 2026-02-25 16:53:05,571 - DEBUG - Requesting: http://10.0.0.22:8082/project/31968982-f2ba-43f3-b3c2-5ed653149f10 2026-02-25 16:53:05,636 - INFO - Validated that VN ctest-vn-10708483 is not found in API Server 2026-02-25 16:53:05,644 - DEBUG - VN ctest-vn-10708483 is not present in Agent 10.0.0.22 2026-02-25 16:53:05,644 - INFO - Validated that VN ctest-vn-10708483 is not in any agent 2026-02-25 16:53:05,655 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-10708483 info 2026-02-25 16:53:05,655 - INFO - Deleting VN ctest-vn-65331837 2026-02-25 16:53:05,739 - DEBUG - Response for deleting network () 2026-02-25 16:53:05,739 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/dc9296fc-f7e3-4f11-98cc-b69d8e9e14a1 2026-02-25 16:53:05,745 - DEBUG - Response Code: 404 2026-02-25 16:53:05,745 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-02-25 16:53:05,750 - DEBUG - Requesting: http://10.0.0.22:8082/domain/9dfdb332-45fa-4d14-8a62-697b714a7198 2026-02-25 16:53:05,803 - DEBUG - Requesting: http://10.0.0.22:8082/project/31968982-f2ba-43f3-b3c2-5ed653149f10 2026-02-25 16:53:05,870 - INFO - Validated that VN ctest-vn-65331837 is not found in API Server 2026-02-25 16:53:05,877 - DEBUG - VN ctest-vn-65331837 is not present in Agent 10.0.0.22 2026-02-25 16:53:05,878 - INFO - Validated that VN ctest-vn-65331837 is not in any agent 2026-02-25 16:53:05,889 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-65331837 info 2026-02-25 16:53:06,138 - DEBUG - No XMPP flaps were noticed during the test
2026-02-25 16:53:06,138 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2026-02-25 16:53:06,138 - INFO - -------------------------------------------------------------------------------- 2026-02-25 16:53:06,807 - INFO - Deleted project: ctest-TestBasicPolicy-45671183, ID : 31968982-f2ba-43f3-b3c2-5ed653149f10