2026-01-31 12:22:18,928 - INFO - Domain Default found not creating 2026-01-31 12:22:19,080 - INFO - Project ctest-TestBasicPolicy-81499200 not found, creating it 2026-01-31 12:22:19,537 - INFO - Created Project:ctest-TestBasicPolicy-81499200, ID : dcb33c56-2d5f-421b-8d2a-33ec51a3b403 2026-01-31 12:22:21,095 - INFO - ================================================================================ 2026-01-31 12:22:21,096 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-01-31 12:22:21,096 - 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-01-31 12:22:21,362 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-01-31 12:22:21,362 - INFO - Initial checks done. Running the testcase now 2026-01-31 12:22:21,363 - INFO - 2026-01-31 12:22:21,858 - DEBUG - Response for create_network : {'network': {'id': 'c8ded1f3-dc48-4cad-8f9a-0a6c78ee3b62', 'name': 'ctest-vn-79851429', 'tenant_id': 'dcb33c562d5f421b8d2a33ec51a3b403', 'project_id': 'dcb33c562d5f421b8d2a33ec51a3b403', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-81499200', 'ctest-vn-79851429'], 'port_security_enabled': True, 'description': ''}} 2026-01-31 12:22:22,036 - DEBUG - Response for create_subnet : {'subnet': {'id': '84c75543-0d48-424a-8fb6-b8fbcdce1fc1', 'name': '', 'tenant_id': 'dcb33c562d5f421b8d2a33ec51a3b403', 'network_id': 'c8ded1f3-dc48-4cad-8f9a-0a6c78ee3b62', 'ip_version': 4, 'cidr': '77.170.92.0/26', 'allocation_pools': [{'start': '77.170.92.2', 'end': '77.170.92.62'}], 'gateway_ip': '77.170.92.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '77.170.92.2', 'tags': [], 'project_id': 'dcb33c562d5f421b8d2a33ec51a3b403'}} 2026-01-31 12:22:22,052 - INFO - Created VN ctest-vn-79851429 2026-01-31 12:22:22,105 - DEBUG - VN ctest-vn-79851429 UUID is c8ded1f3-dc48-4cad-8f9a-0a6c78ee3b62 2026-01-31 12:22:22,422 - DEBUG - Response for create_network : {'network': {'id': 'ad9c0ec7-205a-4726-9ab3-c05c04276dfa', 'name': 'ctest-vn-89194570', 'tenant_id': 'dcb33c562d5f421b8d2a33ec51a3b403', 'project_id': 'dcb33c562d5f421b8d2a33ec51a3b403', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-81499200', 'ctest-vn-89194570'], 'port_security_enabled': True, 'description': ''}} 2026-01-31 12:22:22,591 - DEBUG - Response for create_subnet : {'subnet': {'id': '4c87c442-1279-400b-8ed3-354ea42fb4e9', 'name': '', 'tenant_id': 'dcb33c562d5f421b8d2a33ec51a3b403', 'network_id': 'ad9c0ec7-205a-4726-9ab3-c05c04276dfa', 'ip_version': 4, 'cidr': '110.165.133.192/26', 'allocation_pools': [{'start': '110.165.133.194', 'end': '110.165.133.254'}], 'gateway_ip': '110.165.133.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '110.165.133.194', 'tags': [], 'project_id': 'dcb33c562d5f421b8d2a33ec51a3b403'}} 2026-01-31 12:22:22,607 - INFO - Created VN ctest-vn-89194570 2026-01-31 12:22:22,657 - DEBUG - VN ctest-vn-89194570 UUID is ad9c0ec7-205a-4726-9ab3-c05c04276dfa 2026-01-31 12:22:22,797 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-81499200:ctest-vn-79851429, 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-81499200:ctest-vn-89194570, 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-01-31 12:22:23,085 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c8ded1f3-dc48-4cad-8f9a-0a6c78ee3b62', 'name': 'ctest-vn-79851429', 'tenant_id': 'dcb33c562d5f421b8d2a33ec51a3b403', 'project_id': 'dcb33c562d5f421b8d2a33ec51a3b403', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['84c75543-0d48-424a-8fb6-b8fbcdce1fc1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-81499200', 'ctest-vn-79851429'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-81499200', 'ctest-policy-allow-all-38450710']], 'subnet_ipam': [{'subnet_cidr': '77.170.92.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-31 12:22:23,298 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ad9c0ec7-205a-4726-9ab3-c05c04276dfa', 'name': 'ctest-vn-89194570', 'tenant_id': 'dcb33c562d5f421b8d2a33ec51a3b403', 'project_id': 'dcb33c562d5f421b8d2a33ec51a3b403', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4c87c442-1279-400b-8ed3-354ea42fb4e9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-81499200', 'ctest-vn-89194570'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-81499200', 'ctest-policy-allow-all-38450710']], 'subnet_ipam': [{'subnet_cidr': '110.165.133.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-31 12:22:23,461 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-01-31 12:22:23,754 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-01-31 12:22:23,789 - DEBUG - Requesting: http://10.0.0.50:8082/domain/290c878f-1492-4e9f-84b5-af73f57aaa8d 2026-01-31 12:22:23,800 - DEBUG - Requesting: http://10.0.0.50:8082/project/dcb33c56-2d5f-421b-8d2a-33ec51a3b403 2026-01-31 12:22:23,866 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/c8ded1f3-dc48-4cad-8f9a-0a6c78ee3b62 2026-01-31 12:22:23,876 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/c8ded1f3-dc48-4cad-8f9a-0a6c78ee3b62 2026-01-31 12:22:23,886 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/af9a410c-739e-41e6-84d3-b694924aacbd 2026-01-31 12:22:23,893 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/af9a410c-739e-41e6-84d3-b694924aacbd 2026-01-31 12:22:23,901 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/8a6561bd-ede8-4b18-8433-b9a05d7f92bd 2026-01-31 12:22:23,907 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-31 12:22:23,907 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/c8ded1f3-dc48-4cad-8f9a-0a6c78ee3b62 2026-01-31 12:22:23,916 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/af9a410c-739e-41e6-84d3-b694924aacbd 2026-01-31 12:22:23,928 - INFO - Verified VN network id 9 for VN c8ded1f3-dc48-4cad-8f9a-0a6c78ee3b62 2026-01-31 12:22:23,928 - INFO - Verifications in API Server for VN ctest-vn-79851429 passed 2026-01-31 12:22:23,928 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/c8ded1f3-dc48-4cad-8f9a-0a6c78ee3b62 2026-01-31 12:22:23,936 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/af9a410c-739e-41e6-84d3-b694924aacbd 2026-01-31 12:22:23,941 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/af9a410c-739e-41e6-84d3-b694924aacbd 2026-01-31 12:22:23,952 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/8a6561bd-ede8-4b18-8433-b9a05d7f92bd 2026-01-31 12:22:23,966 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-81499200:ctest-vn-79851429', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-81499200', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14474237097718336685', 'uuid-lslong': '10347594554838760290'}, 'enable': 'true', 'created': '2026-01-31T12:22:21', 'last-modified': '2026-01-31T12:22:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.908083'} 2026-01-31 12:22:23,973 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-31 12:22:23,973 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-79851429 passed 2026-01-31 12:22:23,973 - DEBUG - ====Verifying policy data for ctest-vn-79851429 in API_Server ====== 2026-01-31 12:22:23,973 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-01-31 12:22:23,979 - DEBUG - Requesting: http://10.0.0.50:8082/domain/290c878f-1492-4e9f-84b5-af73f57aaa8d 2026-01-31 12:22:23,989 - DEBUG - Requesting: http://10.0.0.50:8082/project/dcb33c56-2d5f-421b-8d2a-33ec51a3b403 2026-01-31 12:22:24,054 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/c8ded1f3-dc48-4cad-8f9a-0a6c78ee3b62 2026-01-31 12:22:24,062 - DEBUG - ==>Verifying data for policy with id: 2e6dc789-5404-45c0-8d04-310f85f26eb4, fqn: ['default-domain', 'ctest-TestBasicPolicy-81499200', 'ctest-policy-allow-all-38450710'] 2026-01-31 12:22:24,062 - INFO - VN ctest-vn-79851429 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-31 12:22:24,062 - DEBUG - Verifying the vn in opserver 2026-01-31 12:22:24,062 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-81499200:ctest-vn-79851429 virtual network link through opserver 10.0.0.50 2026-01-31 12:22:24,062 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-01-31 12:22:24,353 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-01-31 12:22:24,407 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-81499200:ctest-vn-79851429', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-81499200:ctest-vn-79851429?flat'} 2026-01-31 12:22:24,407 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-81499200:ctest-vn-79851429 is found in opserver 2026-01-31 12:22:24,416 - DEBUG - Do not have enough data to verify VN in agent 2026-01-31 12:22:24,420 - DEBUG - VRF ids for VN ctest-vn-79851429: {} 2026-01-31 12:22:24,420 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-01-31 12:22:24,425 - DEBUG - Requesting: http://10.0.0.50:8082/domain/290c878f-1492-4e9f-84b5-af73f57aaa8d 2026-01-31 12:22:24,434 - DEBUG - Requesting: http://10.0.0.50:8082/project/dcb33c56-2d5f-421b-8d2a-33ec51a3b403 2026-01-31 12:22:24,503 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ad9c0ec7-205a-4726-9ab3-c05c04276dfa 2026-01-31 12:22:24,513 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ad9c0ec7-205a-4726-9ab3-c05c04276dfa 2026-01-31 12:22:24,521 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ef05510a-bd86-43ab-8d81-c71c2ca1a985 2026-01-31 12:22:24,528 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ef05510a-bd86-43ab-8d81-c71c2ca1a985 2026-01-31 12:22:24,534 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/a9374fe7-1d26-492c-b7d2-9f7bcc12e277 2026-01-31 12:22:24,539 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-31 12:22:24,539 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ad9c0ec7-205a-4726-9ab3-c05c04276dfa 2026-01-31 12:22:24,546 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ef05510a-bd86-43ab-8d81-c71c2ca1a985 2026-01-31 12:22:24,558 - INFO - Verified VN network id 10 for VN ad9c0ec7-205a-4726-9ab3-c05c04276dfa 2026-01-31 12:22:24,558 - INFO - Verifications in API Server for VN ctest-vn-89194570 passed 2026-01-31 12:22:24,558 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ad9c0ec7-205a-4726-9ab3-c05c04276dfa 2026-01-31 12:22:24,565 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ef05510a-bd86-43ab-8d81-c71c2ca1a985 2026-01-31 12:22:24,570 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ef05510a-bd86-43ab-8d81-c71c2ca1a985 2026-01-31 12:22:24,576 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/a9374fe7-1d26-492c-b7d2-9f7bcc12e277 2026-01-31 12:22:24,585 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-81499200:ctest-vn-89194570', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-81499200', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12509890113332463398', 'uuid-lslong': '11147465004111326714'}, 'enable': 'true', 'created': '2026-01-31T12:22:22', 'last-modified': '2026-01-31T12:22:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.309892'} 2026-01-31 12:22:24,590 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-31 12:22:24,590 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-89194570 passed 2026-01-31 12:22:24,590 - DEBUG - ====Verifying policy data for ctest-vn-89194570 in API_Server ====== 2026-01-31 12:22:24,590 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-01-31 12:22:24,594 - DEBUG - Requesting: http://10.0.0.50:8082/domain/290c878f-1492-4e9f-84b5-af73f57aaa8d 2026-01-31 12:22:24,603 - DEBUG - Requesting: http://10.0.0.50:8082/project/dcb33c56-2d5f-421b-8d2a-33ec51a3b403 2026-01-31 12:22:24,668 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ad9c0ec7-205a-4726-9ab3-c05c04276dfa 2026-01-31 12:22:24,677 - DEBUG - ==>Verifying data for policy with id: 2e6dc789-5404-45c0-8d04-310f85f26eb4, fqn: ['default-domain', 'ctest-TestBasicPolicy-81499200', 'ctest-policy-allow-all-38450710'] 2026-01-31 12:22:24,677 - INFO - VN ctest-vn-89194570 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-31 12:22:24,677 - DEBUG - Verifying the vn in opserver 2026-01-31 12:22:24,677 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-81499200:ctest-vn-89194570 virtual network link through opserver 10.0.0.50 2026-01-31 12:22:24,677 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-01-31 12:22:24,685 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-81499200:ctest-vn-89194570', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-81499200:ctest-vn-89194570?flat'} 2026-01-31 12:22:24,685 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-81499200:ctest-vn-89194570 is found in opserver 2026-01-31 12:22:24,694 - DEBUG - Do not have enough data to verify VN in agent 2026-01-31 12:22:24,699 - DEBUG - VRF ids for VN ctest-vn-89194570: {} 2026-01-31 12:22:24,749 - DEBUG - Services list from nova: [, , ] 2026-01-31 12:22:25,738 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5155-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5155-1) 2026-01-31 12:22:27,100 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5155-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5155-1) 2026-01-31 12:22:27,100 - INFO - Waiting for VM ctest-TestBasicPolicy-81499200-71874617 to be up.. 2026-01-31 12:22:27,174 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-31 12:22:32,251 - DEBUG - VM is in ACTIVE state now 2026-01-31 12:22:32,251 - INFO - VM name : ctest-TestBasicPolicy-81499200-71874617 2026-01-31 12:22:32,319 - DEBUG - VM ctest-TestBasicPolicy-81499200-71874617 ID is 85ea2364-a4a9-46f3-834e-7874bdacf4a7 2026-01-31 12:22:32,336 - DEBUG - VM ctest-TestBasicPolicy-81499200-71874617 launched on Node cn-jenkins-deploy-platform-ansible-os-5155-1 2026-01-31 12:22:32,400 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/85ea2364-a4a9-46f3-834e-7874bdacf4a7 2026-01-31 12:22:32,406 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/166c37b0-ef84-400a-be87-080d6c943432 2026-01-31 12:22:35,640 - 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 1004ms') 2026-01-31 12:22:35,640 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-81499200-71874617 failed! 2026-01-31 12:22:35,693 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-81499200:ctest-vn-79851429 is 77.170.92.1 and allocation pool is NOT set 2026-01-31 12:22:37,749 - 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=3.97 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.724 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.724/2.344/3.965/1.620 ms') 2026-01-31 12:22:37,749 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-81499200-71874617 passed 2026-01-31 12:22:37,897 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-31 12:22:37,897 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-81499200-71874617, IP 77.170.92.3, Port 22 2026-01-31 12:22:38,049 - DEBUG - VM ctest-TestBasicPolicy-81499200-71874617 is ready for SSH connections 2026-01-31 12:22:38,049 - INFO - Waiting for VM ctest-TestBasicPolicy-81499200-64931545 to be up.. 2026-01-31 12:22:38,122 - DEBUG - VM is in ACTIVE state now 2026-01-31 12:22:38,122 - INFO - VM name : ctest-TestBasicPolicy-81499200-64931545 2026-01-31 12:22:38,189 - DEBUG - VM ctest-TestBasicPolicy-81499200-64931545 ID is 255128c3-406c-4f21-8dac-e88b9df46067 2026-01-31 12:22:38,189 - DEBUG - VM ctest-TestBasicPolicy-81499200-64931545 launched on Node cn-jenkins-deploy-platform-ansible-os-5155-1 2026-01-31 12:22:38,258 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/255128c3-406c-4f21-8dac-e88b9df46067 2026-01-31 12:22:38,265 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/00c314d9-9ef9-49c3-a8ab-3135942331f5 2026-01-31 12:22:39,498 - 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=3.12 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 1001ms\r\nrtt min/avg/max/mdev = 0.434/1.777/3.120/1.343 ms') 2026-01-31 12:22:39,498 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-81499200-64931545 passed 2026-01-31 12:22:39,645 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-31 12:22:39,645 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-81499200-64931545, IP 110.165.133.195, Port 22 2026-01-31 12:22:39,805 - DEBUG - VM ctest-TestBasicPolicy-81499200-64931545 is ready for SSH connections 2026-01-31 12:22:39,805 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-31 12:22:39,805 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 110.165.133.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-01-31 12:22:39,806 - DEBUG - ping -s 56 -c 3 -W 1 110.165.133.195 2026-01-31 12:22:43,806 - DEBUG - PING 110.165.133.195 (110.165.133.195): 56 data bytes 64 bytes from 110.165.133.195: seq=0 ttl=63 time=4.235 ms 64 bytes from 110.165.133.195: seq=1 ttl=63 time=0.913 ms 64 bytes from 110.165.133.195: seq=2 ttl=63 time=0.852 ms --- 110.165.133.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.852/2.000/4.235 ms 2026-01-31 12:22:43,806 - INFO - Ping to IP 110.165.133.195 from VM ctest-TestBasicPolicy-81499200-71874617 passed 2026-01-31 12:22:43,985 - DEBUG - Policy Update Response {"network-policy": {"uuid": "2e6dc789-5404-45c0-8d04-310f85f26eb4", "href": "http://10.0.0.50:8082/network-policy/2e6dc789-5404-45c0-8d04-310f85f26eb4"}} 2026-01-31 12:22:43,985 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-31 12:22:43,985 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 110.165.133.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-01-31 12:22:43,986 - DEBUG - ping -s 56 -c 3 -W 1 110.165.133.195 2026-01-31 12:22:47,215 - DEBUG - PING 110.165.133.195 (110.165.133.195): 56 data bytes --- 110.165.133.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-01-31 12:22:47,215 - WARNING - Ping to IP 110.165.133.195 from VM ctest-TestBasicPolicy-81499200-71874617 failed 2026-01-31 12:22:47,215 - INFO - Deleting VM ctest-TestBasicPolicy-81499200-64931545 2026-01-31 12:22:47,286 - INFO - Deleting VM ctest-TestBasicPolicy-81499200-71874617 2026-01-31 12:22:47,643 - INFO - Deleted policy ctest-policy-allow-all-38450710 2026-01-31 12:22:47,644 - INFO - Deleting VN ctest-vn-89194570 2026-01-31 12:22:47,675 - DEBUG - VN ad9c0ec7-205a-4726-9ab3-c05c04276dfa still in use: Unable to complete operation on network ad9c0ec7-205a-4726-9ab3-c05c04276dfa. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-dc614d28-9a6e-476a-a65c-c42d70e3ca85'] 2026-01-31 12:22:47,675 - WARNING - Deleting VN ctest-vn-89194570 failed..Will retry 2026-01-31 12:22:49,767 - DEBUG - Response for deleting network () 2026-01-31 12:22:49,767 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ef05510a-bd86-43ab-8d81-c71c2ca1a985 2026-01-31 12:22:49,772 - DEBUG - Response Code: 404 2026-01-31 12:22:49,772 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-01-31 12:22:49,776 - DEBUG - Requesting: http://10.0.0.50:8082/domain/290c878f-1492-4e9f-84b5-af73f57aaa8d 2026-01-31 12:22:49,826 - DEBUG - Requesting: http://10.0.0.50:8082/project/dcb33c56-2d5f-421b-8d2a-33ec51a3b403 2026-01-31 12:22:49,895 - INFO - Validated that VN ctest-vn-89194570 is not found in API Server 2026-01-31 12:22:49,905 - DEBUG - VN ctest-vn-89194570 is not present in Agent 10.0.0.50 2026-01-31 12:22:49,905 - INFO - Validated that VN ctest-vn-89194570 is not in any agent 2026-01-31 12:22:49,916 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-89194570 info 2026-01-31 12:22:49,916 - INFO - Deleting VN ctest-vn-79851429 2026-01-31 12:22:50,017 - DEBUG - Response for deleting network () 2026-01-31 12:22:50,018 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/af9a410c-739e-41e6-84d3-b694924aacbd 2026-01-31 12:22:50,025 - DEBUG - Response Code: 404 2026-01-31 12:22:50,026 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-01-31 12:22:50,030 - DEBUG - Requesting: http://10.0.0.50:8082/domain/290c878f-1492-4e9f-84b5-af73f57aaa8d 2026-01-31 12:22:50,082 - DEBUG - Requesting: http://10.0.0.50:8082/project/dcb33c56-2d5f-421b-8d2a-33ec51a3b403 2026-01-31 12:22:50,149 - INFO - Validated that VN ctest-vn-79851429 is not found in API Server 2026-01-31 12:22:50,157 - DEBUG - VN ctest-vn-79851429 is not present in Agent 10.0.0.50 2026-01-31 12:22:50,157 - INFO - Validated that VN ctest-vn-79851429 is not in any agent 2026-01-31 12:22:50,168 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-79851429 info 2026-01-31 12:22:50,422 - DEBUG - No XMPP flaps were noticed during the test
2026-01-31 12:22:50,422 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2026-01-31 12:22:50,422 - INFO - -------------------------------------------------------------------------------- 2026-01-31 12:22:51,084 - INFO - Deleted project: ctest-TestBasicPolicy-81499200, ID : dcb33c56-2d5f-421b-8d2a-33ec51a3b403