2026-02-11 13:44:34,090 - INFO - Domain Default found not creating 2026-02-11 13:44:34,302 - INFO - Project ctest-TestBasicPolicy-69214817 not found, creating it 2026-02-11 13:44:34,793 - INFO - Created Project:ctest-TestBasicPolicy-69214817, ID : 00dbcbc9-cb2c-4ea4-9ce2-a555e93c9551 2026-02-11 13:44:36,458 - INFO - ================================================================================ 2026-02-11 13:44:36,458 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-11 13:44:36,458 - 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-11 13:44:36,711 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.193': '0'}} with 2026-02-11 13:44:36,711 - INFO - Initial checks done. Running the testcase now 2026-02-11 13:44:36,711 - INFO - 2026-02-11 13:44:37,275 - DEBUG - Response for create_network : {'network': {'id': 'ed9eab53-2c4e-4a28-855f-17f5f1458935', 'name': 'ctest-vn-16347280', 'tenant_id': '00dbcbc9cb2c4ea49ce2a555e93c9551', 'project_id': '00dbcbc9cb2c4ea49ce2a555e93c9551', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-69214817', 'ctest-vn-16347280'], 'port_security_enabled': True, 'description': ''}} 2026-02-11 13:44:37,491 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f7feb8eb-d20a-4908-9e82-78ae21ba9833', 'name': '', 'tenant_id': '00dbcbc9cb2c4ea49ce2a555e93c9551', 'network_id': 'ed9eab53-2c4e-4a28-855f-17f5f1458935', 'ip_version': 4, 'cidr': '164.74.123.0/26', 'allocation_pools': [{'start': '164.74.123.2', 'end': '164.74.123.62'}], 'gateway_ip': '164.74.123.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '164.74.123.2', 'tags': [], 'project_id': '00dbcbc9cb2c4ea49ce2a555e93c9551'}} 2026-02-11 13:44:37,511 - INFO - Created VN ctest-vn-16347280 2026-02-11 13:44:37,566 - DEBUG - VN ctest-vn-16347280 UUID is ed9eab53-2c4e-4a28-855f-17f5f1458935 2026-02-11 13:44:37,860 - DEBUG - Response for create_network : {'network': {'id': '827bbe07-b627-4652-9334-5a26d8c0a39d', 'name': 'ctest-vn-41303857', 'tenant_id': '00dbcbc9cb2c4ea49ce2a555e93c9551', 'project_id': '00dbcbc9cb2c4ea49ce2a555e93c9551', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-69214817', 'ctest-vn-41303857'], 'port_security_enabled': True, 'description': ''}} 2026-02-11 13:44:38,010 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f163f5dd-9db8-45a7-8e28-02c871af69d4', 'name': '', 'tenant_id': '00dbcbc9cb2c4ea49ce2a555e93c9551', 'network_id': '827bbe07-b627-4652-9334-5a26d8c0a39d', 'ip_version': 4, 'cidr': '57.255.187.192/26', 'allocation_pools': [{'start': '57.255.187.194', 'end': '57.255.187.254'}], 'gateway_ip': '57.255.187.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '57.255.187.194', 'tags': [], 'project_id': '00dbcbc9cb2c4ea49ce2a555e93c9551'}} 2026-02-11 13:44:38,027 - INFO - Created VN ctest-vn-41303857 2026-02-11 13:44:38,081 - DEBUG - VN ctest-vn-41303857 UUID is 827bbe07-b627-4652-9334-5a26d8c0a39d 2026-02-11 13:44:38,198 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-69214817:ctest-vn-16347280, 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-69214817:ctest-vn-41303857, 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-11 13:44:38,493 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ed9eab53-2c4e-4a28-855f-17f5f1458935', 'name': 'ctest-vn-16347280', 'tenant_id': '00dbcbc9cb2c4ea49ce2a555e93c9551', 'project_id': '00dbcbc9cb2c4ea49ce2a555e93c9551', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f7feb8eb-d20a-4908-9e82-78ae21ba9833'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-69214817', 'ctest-vn-16347280'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-69214817', 'ctest-policy-allow-all-05440262']], 'subnet_ipam': [{'subnet_cidr': '164.74.123.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-11 13:44:38,732 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '827bbe07-b627-4652-9334-5a26d8c0a39d', 'name': 'ctest-vn-41303857', 'tenant_id': '00dbcbc9cb2c4ea49ce2a555e93c9551', 'project_id': '00dbcbc9cb2c4ea49ce2a555e93c9551', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f163f5dd-9db8-45a7-8e28-02c871af69d4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-69214817', 'ctest-vn-41303857'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-69214817', 'ctest-policy-allow-all-05440262']], 'subnet_ipam': [{'subnet_cidr': '57.255.187.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-11 13:44:38,910 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-02-11 13:44:39,207 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-02-11 13:44:39,238 - DEBUG - Requesting: http://10.0.0.141:8082/domain/afb4e00c-2e10-4bb2-8b9e-2cd58d43f13c 2026-02-11 13:44:39,250 - DEBUG - Requesting: http://10.0.0.141:8082/project/00dbcbc9-cb2c-4ea4-9ce2-a555e93c9551 2026-02-11 13:44:39,324 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/ed9eab53-2c4e-4a28-855f-17f5f1458935 2026-02-11 13:44:39,338 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/ed9eab53-2c4e-4a28-855f-17f5f1458935 2026-02-11 13:44:39,349 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/3907f711-581b-4897-8774-68a6a4dc7f23 2026-02-11 13:44:39,359 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/3907f711-581b-4897-8774-68a6a4dc7f23 2026-02-11 13:44:39,367 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/b20584ef-5c21-411b-8bb5-8f21f52b6389 2026-02-11 13:44:39,375 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-11 13:44:39,375 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/ed9eab53-2c4e-4a28-855f-17f5f1458935 2026-02-11 13:44:39,386 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/3907f711-581b-4897-8774-68a6a4dc7f23 2026-02-11 13:44:39,404 - INFO - Verified VN network id 11 for VN ed9eab53-2c4e-4a28-855f-17f5f1458935 2026-02-11 13:44:39,404 - INFO - Verifications in API Server for VN ctest-vn-16347280 passed 2026-02-11 13:44:39,404 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/ed9eab53-2c4e-4a28-855f-17f5f1458935 2026-02-11 13:44:39,415 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/3907f711-581b-4897-8774-68a6a4dc7f23 2026-02-11 13:44:39,424 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/3907f711-581b-4897-8774-68a6a4dc7f23 2026-02-11 13:44:39,433 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/b20584ef-5c21-411b-8bb5-8f21f52b6389 2026-02-11 13:44:39,446 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-69214817:ctest-vn-16347280', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-69214817', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17122311207023168040', 'uuid-lslong': '9610426474914220341'}, 'enable': 'true', 'created': '2026-02-11T13:44:37', 'last-modified': '2026-02-11T13:44:38', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.972795'} 2026-02-11 13:44:39,454 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-11 13:44:39,454 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-16347280 passed 2026-02-11 13:44:39,454 - DEBUG - ====Verifying policy data for ctest-vn-16347280 in API_Server ====== 2026-02-11 13:44:39,454 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-02-11 13:44:39,461 - DEBUG - Requesting: http://10.0.0.141:8082/domain/afb4e00c-2e10-4bb2-8b9e-2cd58d43f13c 2026-02-11 13:44:39,474 - DEBUG - Requesting: http://10.0.0.141:8082/project/00dbcbc9-cb2c-4ea4-9ce2-a555e93c9551 2026-02-11 13:44:39,549 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/ed9eab53-2c4e-4a28-855f-17f5f1458935 2026-02-11 13:44:39,562 - DEBUG - ==>Verifying data for policy with id: 7d81d8aa-6eb1-48e3-88e8-a8ff1721ee74, fqn: ['default-domain', 'ctest-TestBasicPolicy-69214817', 'ctest-policy-allow-all-05440262'] 2026-02-11 13:44:39,562 - INFO - VN ctest-vn-16347280 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-11 13:44:39,563 - DEBUG - Verifying the vn in opserver 2026-02-11 13:44:39,563 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-69214817:ctest-vn-16347280 virtual network link through opserver 10.0.0.141 2026-02-11 13:44:39,563 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2026-02-11 13:44:39,874 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2026-02-11 13:44:39,953 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-69214817:ctest-vn-16347280', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-69214817:ctest-vn-16347280?flat'} 2026-02-11 13:44:39,953 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-69214817:ctest-vn-16347280 is found in opserver 2026-02-11 13:44:39,965 - DEBUG - Do not have enough data to verify VN in agent 2026-02-11 13:44:39,969 - DEBUG - VRF ids for VN ctest-vn-16347280: {} 2026-02-11 13:44:39,969 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-02-11 13:44:39,975 - DEBUG - Requesting: http://10.0.0.141:8082/domain/afb4e00c-2e10-4bb2-8b9e-2cd58d43f13c 2026-02-11 13:44:39,987 - DEBUG - Requesting: http://10.0.0.141:8082/project/00dbcbc9-cb2c-4ea4-9ce2-a555e93c9551 2026-02-11 13:44:40,058 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/827bbe07-b627-4652-9334-5a26d8c0a39d 2026-02-11 13:44:40,069 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/827bbe07-b627-4652-9334-5a26d8c0a39d 2026-02-11 13:44:40,080 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/aa465d1a-9f9b-40fe-b50e-11615ebdf07a 2026-02-11 13:44:40,087 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/aa465d1a-9f9b-40fe-b50e-11615ebdf07a 2026-02-11 13:44:40,094 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/135a79f3-3a9b-4822-b2e8-a6463031d626 2026-02-11 13:44:40,101 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-11 13:44:40,101 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/827bbe07-b627-4652-9334-5a26d8c0a39d 2026-02-11 13:44:40,110 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/aa465d1a-9f9b-40fe-b50e-11615ebdf07a 2026-02-11 13:44:40,124 - INFO - Verified VN network id 12 for VN 827bbe07-b627-4652-9334-5a26d8c0a39d 2026-02-11 13:44:40,124 - INFO - Verifications in API Server for VN ctest-vn-41303857 passed 2026-02-11 13:44:40,125 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/827bbe07-b627-4652-9334-5a26d8c0a39d 2026-02-11 13:44:40,133 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/aa465d1a-9f9b-40fe-b50e-11615ebdf07a 2026-02-11 13:44:40,140 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/aa465d1a-9f9b-40fe-b50e-11615ebdf07a 2026-02-11 13:44:40,147 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/135a79f3-3a9b-4822-b2e8-a6463031d626 2026-02-11 13:44:40,161 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-69214817:ctest-vn-41303857', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-69214817', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9402317587396118098', 'uuid-lslong': '10607202145256121245'}, 'enable': 'true', 'created': '2026-02-11T13:44:37', 'last-modified': '2026-02-11T13:44:38', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.455648'} 2026-02-11 13:44:40,167 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-11 13:44:40,167 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-41303857 passed 2026-02-11 13:44:40,168 - DEBUG - ====Verifying policy data for ctest-vn-41303857 in API_Server ====== 2026-02-11 13:44:40,168 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-02-11 13:44:40,173 - DEBUG - Requesting: http://10.0.0.141:8082/domain/afb4e00c-2e10-4bb2-8b9e-2cd58d43f13c 2026-02-11 13:44:40,183 - DEBUG - Requesting: http://10.0.0.141:8082/project/00dbcbc9-cb2c-4ea4-9ce2-a555e93c9551 2026-02-11 13:44:40,252 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/827bbe07-b627-4652-9334-5a26d8c0a39d 2026-02-11 13:44:40,264 - DEBUG - ==>Verifying data for policy with id: 7d81d8aa-6eb1-48e3-88e8-a8ff1721ee74, fqn: ['default-domain', 'ctest-TestBasicPolicy-69214817', 'ctest-policy-allow-all-05440262'] 2026-02-11 13:44:40,264 - INFO - VN ctest-vn-41303857 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-11 13:44:40,264 - DEBUG - Verifying the vn in opserver 2026-02-11 13:44:40,264 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-69214817:ctest-vn-41303857 virtual network link through opserver 10.0.0.141 2026-02-11 13:44:40,264 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2026-02-11 13:44:40,274 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-69214817:ctest-vn-41303857', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-69214817:ctest-vn-41303857?flat'} 2026-02-11 13:44:40,274 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-69214817:ctest-vn-41303857 is found in opserver 2026-02-11 13:44:40,284 - DEBUG - Do not have enough data to verify VN in agent 2026-02-11 13:44:40,289 - DEBUG - VRF ids for VN ctest-vn-41303857: {} 2026-02-11 13:44:40,352 - DEBUG - Services list from nova: [, , ] 2026-02-11 13:44:41,441 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5293-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5293-1) 2026-02-11 13:44:42,616 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5293-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5293-1) 2026-02-11 13:44:42,616 - INFO - Waiting for VM ctest-TestBasicPolicy-69214817-76704037 to be up.. 2026-02-11 13:44:42,702 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-11 13:44:47,777 - DEBUG - VM is in ACTIVE state now 2026-02-11 13:44:47,777 - INFO - VM name : ctest-TestBasicPolicy-69214817-76704037 2026-02-11 13:44:47,859 - DEBUG - VM ctest-TestBasicPolicy-69214817-76704037 ID is 6ee07746-ee7f-4327-9f61-70e7d01c93a3 2026-02-11 13:44:47,884 - DEBUG - VM ctest-TestBasicPolicy-69214817-76704037 launched on Node cn-jenkins-deploy-platform-ansible-os-5293-1 2026-02-11 13:44:47,956 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/6ee07746-ee7f-4327-9f61-70e7d01c93a3 2026-02-11 13:44:47,964 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/6322e9bf-4aa0-4f0a-aff7-9c877561c9ab 2026-02-11 13:44:51,211 - 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 1011ms') 2026-02-11 13:44:51,211 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-69214817-76704037 failed! 2026-02-11 13:44:51,270 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-69214817:ctest-vn-16347280 is 164.74.123.1 and allocation pool is NOT set 2026-02-11 13:44:53,340 - 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.66 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.10 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 = 1.096/4.875/8.655/3.779 ms') 2026-02-11 13:44:53,340 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-69214817-76704037 passed 2026-02-11 13:44:53,494 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-11 13:44:53,494 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-69214817-76704037, IP 164.74.123.3, Port 22 2026-02-11 13:44:53,559 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-02-11 13:44:53,642 - DEBUG - VM ctest-TestBasicPolicy-69214817-76704037 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-11 13:44:58,643 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-11 13:44:58,643 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-69214817-76704037, IP 164.74.123.3, Port 22 2026-02-11 13:44:58,811 - DEBUG - VM ctest-TestBasicPolicy-69214817-76704037 is ready for SSH connections 2026-02-11 13:44:58,811 - INFO - Waiting for VM ctest-TestBasicPolicy-69214817-34063672 to be up.. 2026-02-11 13:44:58,891 - DEBUG - VM is in ACTIVE state now 2026-02-11 13:44:58,891 - INFO - VM name : ctest-TestBasicPolicy-69214817-34063672 2026-02-11 13:44:58,976 - DEBUG - VM ctest-TestBasicPolicy-69214817-34063672 ID is 8b725e7f-d1b4-4930-8757-0c994776b74d 2026-02-11 13:44:58,976 - DEBUG - VM ctest-TestBasicPolicy-69214817-34063672 launched on Node cn-jenkins-deploy-platform-ansible-os-5293-1 2026-02-11 13:44:59,062 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/8b725e7f-d1b4-4930-8757-0c994776b74d 2026-02-11 13:44:59,071 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/cfd65872-62bc-459c-b26c-7f03939d6ea3 2026-02-11 13:45:00,324 - 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=11.0 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.434 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.434/5.692/10.951/5.258 ms') 2026-02-11 13:45:00,324 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-69214817-34063672 passed 2026-02-11 13:45:00,478 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-11 13:45:00,478 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-69214817-34063672, IP 57.255.187.195, Port 22 2026-02-11 13:45:00,647 - DEBUG - VM ctest-TestBasicPolicy-69214817-34063672 is ready for SSH connections 2026-02-11 13:45:00,647 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-11 13:45:00,648 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 57.255.187.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2026-02-11 13:45:00,648 - DEBUG - ping -s 56 -c 3 -W 1 57.255.187.195 2026-02-11 13:45:04,844 - DEBUG - PING 57.255.187.195 (57.255.187.195): 56 data bytes 64 bytes from 57.255.187.195: seq=0 ttl=63 time=3.812 ms 64 bytes from 57.255.187.195: seq=1 ttl=63 time=1.326 ms 64 bytes from 57.255.187.195: seq=2 ttl=63 time=1.015 ms --- 57.255.187.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.015/2.051/3.812 ms 2026-02-11 13:45:04,844 - INFO - Ping to IP 57.255.187.195 from VM ctest-TestBasicPolicy-69214817-76704037 passed 2026-02-11 13:45:05,017 - DEBUG - Policy Update Response {"network-policy": {"uuid": "7d81d8aa-6eb1-48e3-88e8-a8ff1721ee74", "href": "http://10.0.0.141:8082/network-policy/7d81d8aa-6eb1-48e3-88e8-a8ff1721ee74"}} 2026-02-11 13:45:05,018 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-11 13:45:05,018 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 57.255.187.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2026-02-11 13:45:05,018 - DEBUG - ping -s 56 -c 3 -W 1 57.255.187.195 2026-02-11 13:45:08,245 - DEBUG - PING 57.255.187.195 (57.255.187.195): 56 data bytes --- 57.255.187.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-11 13:45:08,246 - WARNING - Ping to IP 57.255.187.195 from VM ctest-TestBasicPolicy-69214817-76704037 failed 2026-02-11 13:45:08,246 - INFO - Deleting VM ctest-TestBasicPolicy-69214817-34063672 2026-02-11 13:45:08,322 - INFO - Deleting VM ctest-TestBasicPolicy-69214817-76704037 2026-02-11 13:45:08,776 - INFO - Deleted policy ctest-policy-allow-all-05440262 2026-02-11 13:45:08,776 - INFO - Deleting VN ctest-vn-41303857 2026-02-11 13:45:08,811 - DEBUG - VN 827bbe07-b627-4652-9334-5a26d8c0a39d still in use: Unable to complete operation on network 827bbe07-b627-4652-9334-5a26d8c0a39d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c6fae6ca-e547-4238-9fa7-b278b6b0730e'] 2026-02-11 13:45:08,811 - WARNING - Deleting VN ctest-vn-41303857 failed..Will retry 2026-02-11 13:45:10,921 - DEBUG - Response for deleting network () 2026-02-11 13:45:10,921 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/aa465d1a-9f9b-40fe-b50e-11615ebdf07a 2026-02-11 13:45:10,927 - DEBUG - Response Code: 404 2026-02-11 13:45:10,927 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-02-11 13:45:10,933 - DEBUG - Requesting: http://10.0.0.141:8082/domain/afb4e00c-2e10-4bb2-8b9e-2cd58d43f13c 2026-02-11 13:45:10,988 - DEBUG - Requesting: http://10.0.0.141:8082/project/00dbcbc9-cb2c-4ea4-9ce2-a555e93c9551 2026-02-11 13:45:11,059 - INFO - Validated that VN ctest-vn-41303857 is not found in API Server 2026-02-11 13:45:11,069 - DEBUG - VN ctest-vn-41303857 is not present in Agent 10.0.0.141 2026-02-11 13:45:11,069 - INFO - Validated that VN ctest-vn-41303857 is not in any agent 2026-02-11 13:45:11,083 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-41303857 info 2026-02-11 13:45:11,083 - INFO - Deleting VN ctest-vn-16347280 2026-02-11 13:45:11,185 - DEBUG - Response for deleting network () 2026-02-11 13:45:11,186 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/3907f711-581b-4897-8774-68a6a4dc7f23 2026-02-11 13:45:11,194 - DEBUG - Response Code: 404 2026-02-11 13:45:11,194 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-02-11 13:45:11,199 - DEBUG - Requesting: http://10.0.0.141:8082/domain/afb4e00c-2e10-4bb2-8b9e-2cd58d43f13c 2026-02-11 13:45:11,251 - DEBUG - Requesting: http://10.0.0.141:8082/project/00dbcbc9-cb2c-4ea4-9ce2-a555e93c9551 2026-02-11 13:45:11,330 - INFO - Validated that VN ctest-vn-16347280 is not found in API Server 2026-02-11 13:45:11,340 - DEBUG - VN ctest-vn-16347280 is not present in Agent 10.0.0.141 2026-02-11 13:45:11,340 - INFO - Validated that VN ctest-vn-16347280 is not in any agent 2026-02-11 13:45:11,354 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-16347280 info 2026-02-11 13:45:11,615 - DEBUG - No XMPP flaps were noticed during the test 2026-02-11 13:45:11,615 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35] 2026-02-11 13:45:11,615 - INFO - -------------------------------------------------------------------------------- 2026-02-11 13:45:12,308 - INFO - Deleted project: ctest-TestBasicPolicy-69214817, ID : 00dbcbc9-cb2c-4ea4-9ce2-a555e93c9551