2026-05-14 02:04:08,219 - INFO - Domain Default found not creating 2026-05-14 02:04:08,428 - INFO - Project ctest-TestBasicPolicy-00251704 not found, creating it 2026-05-14 02:04:08,943 - INFO - Created Project:ctest-TestBasicPolicy-00251704, ID : 7ef6b20c-9dbc-4fda-8532-63bad9fb8b69 2026-05-14 02:04:10,496 - INFO - ================================================================================ 2026-05-14 02:04:10,496 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-05-14 02:04:10,496 - 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-05-14 02:04:10,754 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-05-14 02:04:10,754 - INFO - Initial checks done. Running the testcase now 2026-05-14 02:04:10,754 - INFO - 2026-05-14 02:04:11,338 - DEBUG - Response for create_network : {'network': {'id': 'ea435c4b-5321-4bc8-ba43-bfd2b266b343', 'name': 'ctest-vn-70809549', 'tenant_id': '7ef6b20c9dbc4fda853263bad9fb8b69', 'project_id': '7ef6b20c9dbc4fda853263bad9fb8b69', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00251704', 'ctest-vn-70809549'], 'port_security_enabled': True, 'description': ''}} 2026-05-14 02:04:11,527 - DEBUG - Response for create_subnet : {'subnet': {'id': '3816d07d-0fe8-4a19-bb17-665f6e5fb578', 'name': '', 'tenant_id': '7ef6b20c9dbc4fda853263bad9fb8b69', 'network_id': 'ea435c4b-5321-4bc8-ba43-bfd2b266b343', 'ip_version': 4, 'cidr': '197.108.177.192/26', 'allocation_pools': [{'start': '197.108.177.194', 'end': '197.108.177.254'}], 'gateway_ip': '197.108.177.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '197.108.177.194', 'tags': [], 'project_id': '7ef6b20c9dbc4fda853263bad9fb8b69'}} 2026-05-14 02:04:11,547 - INFO - Created VN ctest-vn-70809549 2026-05-14 02:04:11,599 - DEBUG - VN ctest-vn-70809549 UUID is ea435c4b-5321-4bc8-ba43-bfd2b266b343 2026-05-14 02:04:11,904 - DEBUG - Response for create_network : {'network': {'id': '00f710d5-7627-454c-b513-8e64821754b0', 'name': 'ctest-vn-54045723', 'tenant_id': '7ef6b20c9dbc4fda853263bad9fb8b69', 'project_id': '7ef6b20c9dbc4fda853263bad9fb8b69', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00251704', 'ctest-vn-54045723'], 'port_security_enabled': True, 'description': ''}} 2026-05-14 02:04:12,099 - DEBUG - Response for create_subnet : {'subnet': {'id': '27e3207c-2a92-4f6b-b878-6d4084ca3e00', 'name': '', 'tenant_id': '7ef6b20c9dbc4fda853263bad9fb8b69', 'network_id': '00f710d5-7627-454c-b513-8e64821754b0', 'ip_version': 4, 'cidr': '212.111.115.192/26', 'allocation_pools': [{'start': '212.111.115.194', 'end': '212.111.115.254'}], 'gateway_ip': '212.111.115.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '212.111.115.194', 'tags': [], 'project_id': '7ef6b20c9dbc4fda853263bad9fb8b69'}} 2026-05-14 02:04:12,117 - INFO - Created VN ctest-vn-54045723 2026-05-14 02:04:12,175 - DEBUG - VN ctest-vn-54045723 UUID is 00f710d5-7627-454c-b513-8e64821754b0 2026-05-14 02:04:12,295 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-00251704:ctest-vn-70809549, 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-00251704:ctest-vn-54045723, 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-05-14 02:04:12,608 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ea435c4b-5321-4bc8-ba43-bfd2b266b343', 'name': 'ctest-vn-70809549', 'tenant_id': '7ef6b20c9dbc4fda853263bad9fb8b69', 'project_id': '7ef6b20c9dbc4fda853263bad9fb8b69', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3816d07d-0fe8-4a19-bb17-665f6e5fb578'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00251704', 'ctest-vn-70809549'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-00251704', 'ctest-policy-allow-all-07753888']], 'subnet_ipam': [{'subnet_cidr': '197.108.177.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-14 02:04:12,847 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '00f710d5-7627-454c-b513-8e64821754b0', 'name': 'ctest-vn-54045723', 'tenant_id': '7ef6b20c9dbc4fda853263bad9fb8b69', 'project_id': '7ef6b20c9dbc4fda853263bad9fb8b69', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['27e3207c-2a92-4f6b-b878-6d4084ca3e00'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00251704', 'ctest-vn-54045723'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-00251704', 'ctest-policy-allow-all-07753888']], 'subnet_ipam': [{'subnet_cidr': '212.111.115.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-14 02:04:13,031 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-14 02:04:13,337 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-14 02:04:13,370 - DEBUG - Requesting: http://10.0.0.50:8082/domain/48ce7b1d-9026-4524-ad2d-03e884191c4d 2026-05-14 02:04:13,385 - DEBUG - Requesting: http://10.0.0.50:8082/project/7ef6b20c-9dbc-4fda-8532-63bad9fb8b69 2026-05-14 02:04:13,460 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ea435c4b-5321-4bc8-ba43-bfd2b266b343 2026-05-14 02:04:13,472 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ea435c4b-5321-4bc8-ba43-bfd2b266b343 2026-05-14 02:04:13,482 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/fd90a7a2-b997-4a88-ad31-135350dd92e8 2026-05-14 02:04:13,490 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/fd90a7a2-b997-4a88-ad31-135350dd92e8 2026-05-14 02:04:13,498 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/97ff9ff1-2809-4013-aa85-a7d18e878d54 2026-05-14 02:04:13,504 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-14 02:04:13,505 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ea435c4b-5321-4bc8-ba43-bfd2b266b343 2026-05-14 02:04:13,513 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/fd90a7a2-b997-4a88-ad31-135350dd92e8 2026-05-14 02:04:13,527 - INFO - Verified VN network id 11 for VN ea435c4b-5321-4bc8-ba43-bfd2b266b343 2026-05-14 02:04:13,527 - INFO - Verifications in API Server for VN ctest-vn-70809549 passed 2026-05-14 02:04:13,527 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ea435c4b-5321-4bc8-ba43-bfd2b266b343 2026-05-14 02:04:13,537 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/fd90a7a2-b997-4a88-ad31-135350dd92e8 2026-05-14 02:04:13,544 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/fd90a7a2-b997-4a88-ad31-135350dd92e8 2026-05-14 02:04:13,552 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/97ff9ff1-2809-4013-aa85-a7d18e878d54 2026-05-14 02:04:13,565 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-00251704:ctest-vn-70809549', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-00251704', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16880437306901744584', 'uuid-lslong': '13421782226151322435'}, 'enable': 'true', 'created': '2026-05-14T02:04:11', 'last-modified': '2026-05-14T02:04:12', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.987146'} 2026-05-14 02:04:13,574 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-14 02:04:13,574 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-70809549 passed 2026-05-14 02:04:13,574 - DEBUG - ====Verifying policy data for ctest-vn-70809549 in API_Server ====== 2026-05-14 02:04:13,574 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-14 02:04:13,581 - DEBUG - Requesting: http://10.0.0.50:8082/domain/48ce7b1d-9026-4524-ad2d-03e884191c4d 2026-05-14 02:04:13,592 - DEBUG - Requesting: http://10.0.0.50:8082/project/7ef6b20c-9dbc-4fda-8532-63bad9fb8b69 2026-05-14 02:04:13,666 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ea435c4b-5321-4bc8-ba43-bfd2b266b343 2026-05-14 02:04:13,676 - DEBUG - ==>Verifying data for policy with id: f6ce3f17-cb99-4dd5-9f40-9be46fe9ba3b, fqn: ['default-domain', 'ctest-TestBasicPolicy-00251704', 'ctest-policy-allow-all-07753888'] 2026-05-14 02:04:13,676 - INFO - VN ctest-vn-70809549 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-14 02:04:13,677 - DEBUG - Verifying the vn in opserver 2026-05-14 02:04:13,677 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-00251704:ctest-vn-70809549 virtual network link through opserver 10.0.0.50 2026-05-14 02:04:13,677 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-05-14 02:04:13,979 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-05-14 02:04:14,041 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-00251704:ctest-vn-70809549', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-00251704:ctest-vn-70809549?flat'} 2026-05-14 02:04:14,041 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-00251704:ctest-vn-70809549 is found in opserver 2026-05-14 02:04:14,051 - DEBUG - Do not have enough data to verify VN in agent 2026-05-14 02:04:14,055 - DEBUG - VRF ids for VN ctest-vn-70809549: {} 2026-05-14 02:04:14,055 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-14 02:04:14,061 - DEBUG - Requesting: http://10.0.0.50:8082/domain/48ce7b1d-9026-4524-ad2d-03e884191c4d 2026-05-14 02:04:14,071 - DEBUG - Requesting: http://10.0.0.50:8082/project/7ef6b20c-9dbc-4fda-8532-63bad9fb8b69 2026-05-14 02:04:14,142 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/00f710d5-7627-454c-b513-8e64821754b0 2026-05-14 02:04:14,155 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/00f710d5-7627-454c-b513-8e64821754b0 2026-05-14 02:04:14,166 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/52f4d10d-c8c7-4c2a-8e65-405c057453f3 2026-05-14 02:04:14,173 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/52f4d10d-c8c7-4c2a-8e65-405c057453f3 2026-05-14 02:04:14,181 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/12cb7569-0d2d-4c80-8326-ad2d0897e33e 2026-05-14 02:04:14,189 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-14 02:04:14,189 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/00f710d5-7627-454c-b513-8e64821754b0 2026-05-14 02:04:14,198 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/52f4d10d-c8c7-4c2a-8e65-405c057453f3 2026-05-14 02:04:14,212 - INFO - Verified VN network id 12 for VN 00f710d5-7627-454c-b513-8e64821754b0 2026-05-14 02:04:14,212 - INFO - Verifications in API Server for VN ctest-vn-54045723 passed 2026-05-14 02:04:14,212 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/00f710d5-7627-454c-b513-8e64821754b0 2026-05-14 02:04:14,222 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/52f4d10d-c8c7-4c2a-8e65-405c057453f3 2026-05-14 02:04:14,229 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/52f4d10d-c8c7-4c2a-8e65-405c057453f3 2026-05-14 02:04:14,236 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/12cb7569-0d2d-4c80-8326-ad2d0897e33e 2026-05-14 02:04:14,249 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-00251704:ctest-vn-54045723', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-00251704', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '69542828243895628', 'uuid-lslong': '13047929107752899760'}, 'enable': 'true', 'created': '2026-05-14T02:04:11', 'last-modified': '2026-05-14T02:04:12', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.428561'} 2026-05-14 02:04:14,256 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-14 02:04:14,256 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-54045723 passed 2026-05-14 02:04:14,257 - DEBUG - ====Verifying policy data for ctest-vn-54045723 in API_Server ====== 2026-05-14 02:04:14,257 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-14 02:04:14,262 - DEBUG - Requesting: http://10.0.0.50:8082/domain/48ce7b1d-9026-4524-ad2d-03e884191c4d 2026-05-14 02:04:14,276 - DEBUG - Requesting: http://10.0.0.50:8082/project/7ef6b20c-9dbc-4fda-8532-63bad9fb8b69 2026-05-14 02:04:14,352 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/00f710d5-7627-454c-b513-8e64821754b0 2026-05-14 02:04:14,365 - DEBUG - ==>Verifying data for policy with id: f6ce3f17-cb99-4dd5-9f40-9be46fe9ba3b, fqn: ['default-domain', 'ctest-TestBasicPolicy-00251704', 'ctest-policy-allow-all-07753888'] 2026-05-14 02:04:14,365 - INFO - VN ctest-vn-54045723 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-14 02:04:14,365 - DEBUG - Verifying the vn in opserver 2026-05-14 02:04:14,365 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-00251704:ctest-vn-54045723 virtual network link through opserver 10.0.0.50 2026-05-14 02:04:14,365 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-05-14 02:04:14,378 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-00251704:ctest-vn-54045723', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-00251704:ctest-vn-54045723?flat'} 2026-05-14 02:04:14,378 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-00251704:ctest-vn-54045723 is found in opserver 2026-05-14 02:04:14,389 - DEBUG - Do not have enough data to verify VN in agent 2026-05-14 02:04:14,394 - DEBUG - VRF ids for VN ctest-vn-54045723: {} 2026-05-14 02:04:14,459 - DEBUG - Services list from nova: [, , ] 2026-05-14 02:04:15,521 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5776-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5776-1) 2026-05-14 02:04:16,726 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5776-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5776-1) 2026-05-14 02:04:16,726 - INFO - Waiting for VM ctest-TestBasicPolicy-00251704-51615513 to be up.. 2026-05-14 02:04:16,819 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-14 02:04:21,909 - DEBUG - VM is in ACTIVE state now 2026-05-14 02:04:21,910 - INFO - VM name : ctest-TestBasicPolicy-00251704-51615513 2026-05-14 02:04:22,000 - DEBUG - VM ctest-TestBasicPolicy-00251704-51615513 ID is 8e07ef76-abe0-49ba-ac4a-a6a875f9198a 2026-05-14 02:04:22,025 - DEBUG - VM ctest-TestBasicPolicy-00251704-51615513 launched on Node cn-jenkins-deploy-platform-ansible-os-5776-1 2026-05-14 02:04:22,111 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/8e07ef76-abe0-49ba-ac4a-a6a875f9198a 2026-05-14 02:04:22,121 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/a1968e34-7594-41fa-89bc-72ab15cdc93c 2026-05-14 02:04:25,388 - 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 1018ms') 2026-05-14 02:04:25,389 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-00251704-51615513 failed! 2026-05-14 02:04:25,451 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-00251704:ctest-vn-70809549 is 197.108.177.193 and allocation pool is NOT set 2026-05-14 02:04:27,520 - 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=5.08 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.66 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 2.660/3.871/5.082/1.211 ms') 2026-05-14 02:04:27,520 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-00251704-51615513 passed 2026-05-14 02:04:27,675 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-14 02:04:27,675 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-00251704-51615513, IP 197.108.177.195, Port 22 2026-05-14 02:04:27,854 - DEBUG - VM ctest-TestBasicPolicy-00251704-51615513 is ready for SSH connections 2026-05-14 02:04:27,854 - INFO - Waiting for VM ctest-TestBasicPolicy-00251704-85259488 to be up.. 2026-05-14 02:04:27,939 - DEBUG - VM is in ACTIVE state now 2026-05-14 02:04:27,939 - INFO - VM name : ctest-TestBasicPolicy-00251704-85259488 2026-05-14 02:04:28,022 - DEBUG - VM ctest-TestBasicPolicy-00251704-85259488 ID is 3cad941e-95a5-4851-94cb-1af2bacddba1 2026-05-14 02:04:28,023 - DEBUG - VM ctest-TestBasicPolicy-00251704-85259488 launched on Node cn-jenkins-deploy-platform-ansible-os-5776-1 2026-05-14 02:04:28,118 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/3cad941e-95a5-4851-94cb-1af2bacddba1 2026-05-14 02:04:28,127 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/93720fd0-c2c4-466b-bf38-2f1b73ed30c4 2026-05-14 02:04:29,379 - 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.13 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.25 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 = 2.245/3.686/5.128/1.441 ms') 2026-05-14 02:04:29,379 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-00251704-85259488 passed 2026-05-14 02:04:29,535 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-14 02:04:29,535 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-00251704-85259488, IP 212.111.115.195, Port 22 2026-05-14 02:04:29,690 - DEBUG - VM ctest-TestBasicPolicy-00251704-85259488 is ready for SSH connections 2026-05-14 02:04:29,691 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-14 02:04:29,691 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 212.111.115.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-05-14 02:04:29,691 - DEBUG - ping -s 56 -c 3 -W 1 212.111.115.195 2026-05-14 02:04:33,802 - DEBUG - PING 212.111.115.195 (212.111.115.195): 56 data bytes 64 bytes from 212.111.115.195: seq=0 ttl=63 time=3.458 ms 64 bytes from 212.111.115.195: seq=1 ttl=63 time=0.871 ms 64 bytes from 212.111.115.195: seq=2 ttl=63 time=1.085 ms --- 212.111.115.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.871/1.804/3.458 ms 2026-05-14 02:04:33,802 - INFO - Ping to IP 212.111.115.195 from VM ctest-TestBasicPolicy-00251704-51615513 passed 2026-05-14 02:04:33,982 - DEBUG - Policy Update Response {"network-policy": {"uuid": "f6ce3f17-cb99-4dd5-9f40-9be46fe9ba3b", "href": "http://10.0.0.50:8082/network-policy/f6ce3f17-cb99-4dd5-9f40-9be46fe9ba3b"}} 2026-05-14 02:04:33,982 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-14 02:04:33,983 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 212.111.115.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-05-14 02:04:33,983 - DEBUG - ping -s 56 -c 3 -W 1 212.111.115.195 2026-05-14 02:04:37,200 - DEBUG - PING 212.111.115.195 (212.111.115.195): 56 data bytes --- 212.111.115.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-05-14 02:04:37,200 - WARNING - Ping to IP 212.111.115.195 from VM ctest-TestBasicPolicy-00251704-51615513 failed 2026-05-14 02:04:37,200 - INFO - Deleting VM ctest-TestBasicPolicy-00251704-85259488 2026-05-14 02:04:37,282 - INFO - Deleting VM ctest-TestBasicPolicy-00251704-51615513 2026-05-14 02:04:37,690 - INFO - Deleted policy ctest-policy-allow-all-07753888 2026-05-14 02:04:37,690 - INFO - Deleting VN ctest-vn-54045723 2026-05-14 02:04:37,736 - DEBUG - VN 00f710d5-7627-454c-b513-8e64821754b0 still in use: Unable to complete operation on network 00f710d5-7627-454c-b513-8e64821754b0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-989d16fa-4115-41f4-b635-8917df227dad'] 2026-05-14 02:04:37,736 - WARNING - Deleting VN ctest-vn-54045723 failed..Will retry 2026-05-14 02:04:39,851 - DEBUG - Response for deleting network () 2026-05-14 02:04:39,851 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/52f4d10d-c8c7-4c2a-8e65-405c057453f3 2026-05-14 02:04:39,859 - DEBUG - Response Code: 404 2026-05-14 02:04:39,860 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-14 02:04:39,867 - DEBUG - Requesting: http://10.0.0.50:8082/domain/48ce7b1d-9026-4524-ad2d-03e884191c4d 2026-05-14 02:04:39,921 - DEBUG - Requesting: http://10.0.0.50:8082/project/7ef6b20c-9dbc-4fda-8532-63bad9fb8b69 2026-05-14 02:04:39,997 - INFO - Validated that VN ctest-vn-54045723 is not found in API Server 2026-05-14 02:04:40,007 - DEBUG - VN ctest-vn-54045723 is not present in Agent 10.0.0.50 2026-05-14 02:04:40,007 - INFO - Validated that VN ctest-vn-54045723 is not in any agent 2026-05-14 02:04:40,026 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-54045723 info 2026-05-14 02:04:40,026 - INFO - Deleting VN ctest-vn-70809549 2026-05-14 02:04:40,138 - DEBUG - Response for deleting network () 2026-05-14 02:04:40,138 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/fd90a7a2-b997-4a88-ad31-135350dd92e8 2026-05-14 02:04:40,145 - DEBUG - Response Code: 404 2026-05-14 02:04:40,145 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-14 02:04:40,152 - DEBUG - Requesting: http://10.0.0.50:8082/domain/48ce7b1d-9026-4524-ad2d-03e884191c4d 2026-05-14 02:04:40,209 - DEBUG - Requesting: http://10.0.0.50:8082/project/7ef6b20c-9dbc-4fda-8532-63bad9fb8b69 2026-05-14 02:04:40,290 - INFO - Validated that VN ctest-vn-70809549 is not found in API Server 2026-05-14 02:04:40,302 - DEBUG - VN ctest-vn-70809549 is not present in Agent 10.0.0.50 2026-05-14 02:04:40,302 - INFO - Validated that VN ctest-vn-70809549 is not in any agent 2026-05-14 02:04:40,316 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-70809549 info 2026-05-14 02:04:40,572 - DEBUG - No XMPP flaps were noticed during the test
2026-05-14 02:04:40,572 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2026-05-14 02:04:40,572 - INFO - -------------------------------------------------------------------------------- 2026-05-14 02:04:41,273 - INFO - Deleted project: ctest-TestBasicPolicy-00251704, ID : 7ef6b20c-9dbc-4fda-8532-63bad9fb8b69