2026-02-19 23:34:23,011 - INFO - Domain Default found not creating 2026-02-19 23:34:23,178 - INFO - Project ctest-TestBasicPolicy-49092663 not found, creating it 2026-02-19 23:34:23,612 - INFO - Created Project:ctest-TestBasicPolicy-49092663, ID : 7ef88d9f-4137-4191-99bb-5d0c66dc796d 2026-02-19 23:34:25,039 - INFO - ================================================================================ 2026-02-19 23:34:25,040 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-19 23:34:25,040 - 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-19 23:34:25,297 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-02-19 23:34:25,298 - INFO - Initial checks done. Running the testcase now 2026-02-19 23:34:25,298 - INFO - 2026-02-19 23:34:25,815 - DEBUG - Response for create_network : {'network': {'id': 'a8447ac0-3978-44b3-b75c-586fb72852d0', 'name': 'ctest-vn-80117201', 'tenant_id': '7ef88d9f4137419199bb5d0c66dc796d', 'project_id': '7ef88d9f4137419199bb5d0c66dc796d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49092663', 'ctest-vn-80117201'], 'port_security_enabled': True, 'description': ''}} 2026-02-19 23:34:25,967 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bf581261-87c8-4d5c-a8da-c7b5df2f512c', 'name': '', 'tenant_id': '7ef88d9f4137419199bb5d0c66dc796d', 'network_id': 'a8447ac0-3978-44b3-b75c-586fb72852d0', 'ip_version': 4, 'cidr': '202.159.105.0/26', 'allocation_pools': [{'start': '202.159.105.2', 'end': '202.159.105.62'}], 'gateway_ip': '202.159.105.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '202.159.105.2', 'tags': [], 'project_id': '7ef88d9f4137419199bb5d0c66dc796d'}} 2026-02-19 23:34:25,981 - INFO - Created VN ctest-vn-80117201 2026-02-19 23:34:26,033 - DEBUG - VN ctest-vn-80117201 UUID is a8447ac0-3978-44b3-b75c-586fb72852d0 2026-02-19 23:34:26,370 - DEBUG - Response for create_network : {'network': {'id': '9b03f49e-d9fc-4439-a2b5-645325157881', 'name': 'ctest-vn-95261072', 'tenant_id': '7ef88d9f4137419199bb5d0c66dc796d', 'project_id': '7ef88d9f4137419199bb5d0c66dc796d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49092663', 'ctest-vn-95261072'], 'port_security_enabled': True, 'description': ''}} 2026-02-19 23:34:26,545 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ae040e70-1a19-4bc0-9ebb-a190afe7ac9b', 'name': '', 'tenant_id': '7ef88d9f4137419199bb5d0c66dc796d', 'network_id': '9b03f49e-d9fc-4439-a2b5-645325157881', 'ip_version': 4, 'cidr': '179.10.224.128/26', 'allocation_pools': [{'start': '179.10.224.130', 'end': '179.10.224.190'}], 'gateway_ip': '179.10.224.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '179.10.224.130', 'tags': [], 'project_id': '7ef88d9f4137419199bb5d0c66dc796d'}} 2026-02-19 23:34:26,559 - INFO - Created VN ctest-vn-95261072 2026-02-19 23:34:26,613 - DEBUG - VN ctest-vn-95261072 UUID is 9b03f49e-d9fc-4439-a2b5-645325157881 2026-02-19 23:34:26,753 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-49092663:ctest-vn-80117201, 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-49092663:ctest-vn-95261072, 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-19 23:34:27,027 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a8447ac0-3978-44b3-b75c-586fb72852d0', 'name': 'ctest-vn-80117201', 'tenant_id': '7ef88d9f4137419199bb5d0c66dc796d', 'project_id': '7ef88d9f4137419199bb5d0c66dc796d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['bf581261-87c8-4d5c-a8da-c7b5df2f512c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49092663', 'ctest-vn-80117201'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-49092663', 'ctest-policy-allow-all-62023954']], 'subnet_ipam': [{'subnet_cidr': '202.159.105.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-19 23:34:27,245 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9b03f49e-d9fc-4439-a2b5-645325157881', 'name': 'ctest-vn-95261072', 'tenant_id': '7ef88d9f4137419199bb5d0c66dc796d', 'project_id': '7ef88d9f4137419199bb5d0c66dc796d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ae040e70-1a19-4bc0-9ebb-a190afe7ac9b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49092663', 'ctest-vn-95261072'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-49092663', 'ctest-policy-allow-all-62023954']], 'subnet_ipam': [{'subnet_cidr': '179.10.224.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-19 23:34:27,389 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-19 23:34:27,681 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-19 23:34:27,707 - DEBUG - Requesting: http://10.0.0.38:8082/domain/450ed921-8d8f-4102-99ca-22982e027b58 2026-02-19 23:34:27,744 - DEBUG - Requesting: http://10.0.0.38:8082/project/7ef88d9f-4137-4191-99bb-5d0c66dc796d 2026-02-19 23:34:27,814 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a8447ac0-3978-44b3-b75c-586fb72852d0 2026-02-19 23:34:27,822 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a8447ac0-3978-44b3-b75c-586fb72852d0 2026-02-19 23:34:27,829 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d1997613-ba27-4fc1-8ae1-13b085b8ad19 2026-02-19 23:34:27,834 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d1997613-ba27-4fc1-8ae1-13b085b8ad19 2026-02-19 23:34:27,840 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/7e343b75-b348-434b-a8dd-60d59a52432c 2026-02-19 23:34:27,845 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-19 23:34:27,845 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a8447ac0-3978-44b3-b75c-586fb72852d0 2026-02-19 23:34:27,852 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d1997613-ba27-4fc1-8ae1-13b085b8ad19 2026-02-19 23:34:27,864 - INFO - Verified VN network id 11 for VN a8447ac0-3978-44b3-b75c-586fb72852d0 2026-02-19 23:34:27,864 - INFO - Verifications in API Server for VN ctest-vn-80117201 passed 2026-02-19 23:34:27,864 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a8447ac0-3978-44b3-b75c-586fb72852d0 2026-02-19 23:34:27,870 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d1997613-ba27-4fc1-8ae1-13b085b8ad19 2026-02-19 23:34:27,875 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d1997613-ba27-4fc1-8ae1-13b085b8ad19 2026-02-19 23:34:27,879 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/7e343b75-b348-434b-a8dd-60d59a52432c 2026-02-19 23:34:27,888 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-49092663:ctest-vn-80117201', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-49092663', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12124951062804710579', 'uuid-lslong': '13212532643635679952'}, 'enable': 'true', 'created': '2026-02-19T23:34:25', 'last-modified': '2026-02-19T23:34:27', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.878794'} 2026-02-19 23:34:27,893 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-19 23:34:27,893 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-80117201 passed 2026-02-19 23:34:27,893 - DEBUG - ====Verifying policy data for ctest-vn-80117201 in API_Server ====== 2026-02-19 23:34:27,893 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-19 23:34:27,896 - DEBUG - Requesting: http://10.0.0.38:8082/domain/450ed921-8d8f-4102-99ca-22982e027b58 2026-02-19 23:34:27,905 - DEBUG - Requesting: http://10.0.0.38:8082/project/7ef88d9f-4137-4191-99bb-5d0c66dc796d 2026-02-19 23:34:27,971 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a8447ac0-3978-44b3-b75c-586fb72852d0 2026-02-19 23:34:27,978 - DEBUG - ==>Verifying data for policy with id: be5c677b-5784-4832-af9c-5ceff5f32d37, fqn: ['default-domain', 'ctest-TestBasicPolicy-49092663', 'ctest-policy-allow-all-62023954'] 2026-02-19 23:34:27,978 - INFO - VN ctest-vn-80117201 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-19 23:34:27,978 - DEBUG - Verifying the vn in opserver 2026-02-19 23:34:27,978 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-49092663:ctest-vn-80117201 virtual network link through opserver 10.0.0.38 2026-02-19 23:34:27,978 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-02-19 23:34:28,269 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-02-19 23:34:28,321 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-49092663:ctest-vn-80117201', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-49092663:ctest-vn-80117201?flat'} 2026-02-19 23:34:28,321 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-49092663:ctest-vn-80117201 is found in opserver 2026-02-19 23:34:28,330 - DEBUG - Do not have enough data to verify VN in agent 2026-02-19 23:34:28,334 - DEBUG - VRF ids for VN ctest-vn-80117201: {} 2026-02-19 23:34:28,334 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-19 23:34:28,339 - DEBUG - Requesting: http://10.0.0.38:8082/domain/450ed921-8d8f-4102-99ca-22982e027b58 2026-02-19 23:34:28,347 - DEBUG - Requesting: http://10.0.0.38:8082/project/7ef88d9f-4137-4191-99bb-5d0c66dc796d 2026-02-19 23:34:28,412 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9b03f49e-d9fc-4439-a2b5-645325157881 2026-02-19 23:34:28,421 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9b03f49e-d9fc-4439-a2b5-645325157881 2026-02-19 23:34:28,427 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3c6b8f7d-dadd-4f21-ba70-1c4dad4fe4d4 2026-02-19 23:34:28,433 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3c6b8f7d-dadd-4f21-ba70-1c4dad4fe4d4 2026-02-19 23:34:28,437 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/5ee2c4c3-8a55-4e4a-8f0d-542b0e86773c 2026-02-19 23:34:28,442 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-19 23:34:28,442 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9b03f49e-d9fc-4439-a2b5-645325157881 2026-02-19 23:34:28,449 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3c6b8f7d-dadd-4f21-ba70-1c4dad4fe4d4 2026-02-19 23:34:28,458 - INFO - Verified VN network id 12 for VN 9b03f49e-d9fc-4439-a2b5-645325157881 2026-02-19 23:34:28,458 - INFO - Verifications in API Server for VN ctest-vn-95261072 passed 2026-02-19 23:34:28,458 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9b03f49e-d9fc-4439-a2b5-645325157881 2026-02-19 23:34:28,465 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3c6b8f7d-dadd-4f21-ba70-1c4dad4fe4d4 2026-02-19 23:34:28,470 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3c6b8f7d-dadd-4f21-ba70-1c4dad4fe4d4 2026-02-19 23:34:28,475 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/5ee2c4c3-8a55-4e4a-8f0d-542b0e86773c 2026-02-19 23:34:28,484 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-49092663:ctest-vn-95261072', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-49092663', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11170040463908160569', 'uuid-lslong': '11724387513196181633'}, 'enable': 'true', 'created': '2026-02-19T23:34:26', 'last-modified': '2026-02-19T23:34:27', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.297628'} 2026-02-19 23:34:28,489 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-19 23:34:28,489 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-95261072 passed 2026-02-19 23:34:28,489 - DEBUG - ====Verifying policy data for ctest-vn-95261072 in API_Server ====== 2026-02-19 23:34:28,489 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-19 23:34:28,493 - DEBUG - Requesting: http://10.0.0.38:8082/domain/450ed921-8d8f-4102-99ca-22982e027b58 2026-02-19 23:34:28,501 - DEBUG - Requesting: http://10.0.0.38:8082/project/7ef88d9f-4137-4191-99bb-5d0c66dc796d 2026-02-19 23:34:28,570 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9b03f49e-d9fc-4439-a2b5-645325157881 2026-02-19 23:34:28,577 - DEBUG - ==>Verifying data for policy with id: be5c677b-5784-4832-af9c-5ceff5f32d37, fqn: ['default-domain', 'ctest-TestBasicPolicy-49092663', 'ctest-policy-allow-all-62023954'] 2026-02-19 23:34:28,577 - INFO - VN ctest-vn-95261072 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-19 23:34:28,577 - DEBUG - Verifying the vn in opserver 2026-02-19 23:34:28,577 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-49092663:ctest-vn-95261072 virtual network link through opserver 10.0.0.38 2026-02-19 23:34:28,577 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-02-19 23:34:28,585 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-49092663:ctest-vn-95261072', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-49092663:ctest-vn-95261072?flat'} 2026-02-19 23:34:28,585 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-49092663:ctest-vn-95261072 is found in opserver 2026-02-19 23:34:28,592 - DEBUG - Do not have enough data to verify VN in agent 2026-02-19 23:34:28,596 - DEBUG - VRF ids for VN ctest-vn-95261072: {} 2026-02-19 23:34:28,647 - DEBUG - Services list from nova: [, , ] 2026-02-19 23:34:29,594 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5364-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5364-1) 2026-02-19 23:34:30,652 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5364-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5364-1) 2026-02-19 23:34:30,652 - INFO - Waiting for VM ctest-TestBasicPolicy-49092663-06254927 to be up.. 2026-02-19 23:34:30,726 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-19 23:34:35,789 - DEBUG - VM is in ACTIVE state now 2026-02-19 23:34:35,789 - INFO - VM name : ctest-TestBasicPolicy-49092663-06254927 2026-02-19 23:34:35,855 - DEBUG - VM ctest-TestBasicPolicy-49092663-06254927 ID is 4f5de6da-74af-477a-9113-5722207ed2e5 2026-02-19 23:34:35,872 - DEBUG - VM ctest-TestBasicPolicy-49092663-06254927 launched on Node cn-jenkins-deploy-platform-ansible-os-5364-1 2026-02-19 23:34:35,938 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/4f5de6da-74af-477a-9113-5722207ed2e5 2026-02-19 23:34:35,944 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/314f188e-5b91-4ee8-8a15-c6b2e0b3c067 2026-02-19 23:34:39,191 - 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 1013ms') 2026-02-19 23:34:39,192 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-49092663-06254927 failed! 2026-02-19 23:34:39,245 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-49092663:ctest-vn-80117201 is 202.159.105.1 and allocation pool is NOT set 2026-02-19 23:34:41,307 - 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.06 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.395 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.395/1.728/3.061/1.333 ms') 2026-02-19 23:34:41,307 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-49092663-06254927 passed 2026-02-19 23:34:41,453 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-19 23:34:41,453 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-49092663-06254927, IP 202.159.105.3, Port 22 2026-02-19 23:34:41,608 - DEBUG - VM ctest-TestBasicPolicy-49092663-06254927 is ready for SSH connections 2026-02-19 23:34:41,608 - INFO - Waiting for VM ctest-TestBasicPolicy-49092663-11421242 to be up.. 2026-02-19 23:34:41,672 - DEBUG - VM is in ACTIVE state now 2026-02-19 23:34:41,672 - INFO - VM name : ctest-TestBasicPolicy-49092663-11421242 2026-02-19 23:34:41,735 - DEBUG - VM ctest-TestBasicPolicy-49092663-11421242 ID is ee26acb1-bdb0-4c2b-9f62-3b63b1176fcc 2026-02-19 23:34:41,735 - DEBUG - VM ctest-TestBasicPolicy-49092663-11421242 launched on Node cn-jenkins-deploy-platform-ansible-os-5364-1 2026-02-19 23:34:41,796 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/ee26acb1-bdb0-4c2b-9f62-3b63b1176fcc 2026-02-19 23:34:41,803 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/3d2037b6-5543-4737-9d8b-8a845e01161c 2026-02-19 23:34:43,028 - 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=2.66 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.482 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.482/1.569/2.656/1.087 ms') 2026-02-19 23:34:43,029 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-49092663-11421242 passed 2026-02-19 23:34:43,177 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-19 23:34:43,177 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-49092663-11421242, IP 179.10.224.131, Port 22 2026-02-19 23:34:43,328 - DEBUG - VM ctest-TestBasicPolicy-49092663-11421242 is ready for SSH connections 2026-02-19 23:34:43,329 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-19 23:34:43,329 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 179.10.224.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-02-19 23:34:43,329 - DEBUG - ping -s 56 -c 3 -W 1 179.10.224.131 2026-02-19 23:34:47,012 - DEBUG - PING 179.10.224.131 (179.10.224.131): 56 data bytes 64 bytes from 179.10.224.131: seq=0 ttl=63 time=3.497 ms 64 bytes from 179.10.224.131: seq=1 ttl=63 time=0.698 ms 64 bytes from 179.10.224.131: seq=2 ttl=63 time=0.824 ms --- 179.10.224.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.698/1.673/3.497 ms 2026-02-19 23:34:47,012 - INFO - Ping to IP 179.10.224.131 from VM ctest-TestBasicPolicy-49092663-06254927 passed 2026-02-19 23:34:47,189 - DEBUG - Policy Update Response {"network-policy": {"uuid": "be5c677b-5784-4832-af9c-5ceff5f32d37", "href": "http://10.0.0.38:8082/network-policy/be5c677b-5784-4832-af9c-5ceff5f32d37"}} 2026-02-19 23:34:47,189 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-19 23:34:47,189 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 179.10.224.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-02-19 23:34:47,189 - DEBUG - ping -s 56 -c 3 -W 1 179.10.224.131 2026-02-19 23:34:50,385 - DEBUG - PING 179.10.224.131 (179.10.224.131): 56 data bytes --- 179.10.224.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-19 23:34:50,385 - WARNING - Ping to IP 179.10.224.131 from VM ctest-TestBasicPolicy-49092663-06254927 failed 2026-02-19 23:34:50,385 - INFO - Deleting VM ctest-TestBasicPolicy-49092663-11421242 2026-02-19 23:34:50,442 - INFO - Deleting VM ctest-TestBasicPolicy-49092663-06254927 2026-02-19 23:34:50,758 - INFO - Deleted policy ctest-policy-allow-all-62023954 2026-02-19 23:34:50,758 - INFO - Deleting VN ctest-vn-95261072 2026-02-19 23:34:50,786 - DEBUG - VN 9b03f49e-d9fc-4439-a2b5-645325157881 still in use: Unable to complete operation on network 9b03f49e-d9fc-4439-a2b5-645325157881. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ed9b0657-630f-4ac8-aa31-81a2376a9218'] 2026-02-19 23:34:50,786 - WARNING - Deleting VN ctest-vn-95261072 failed..Will retry 2026-02-19 23:34:52,874 - DEBUG - Response for deleting network () 2026-02-19 23:34:52,874 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3c6b8f7d-dadd-4f21-ba70-1c4dad4fe4d4 2026-02-19 23:34:52,882 - DEBUG - Response Code: 404 2026-02-19 23:34:52,882 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-19 23:34:52,886 - DEBUG - Requesting: http://10.0.0.38:8082/domain/450ed921-8d8f-4102-99ca-22982e027b58 2026-02-19 23:34:52,938 - DEBUG - Requesting: http://10.0.0.38:8082/project/7ef88d9f-4137-4191-99bb-5d0c66dc796d 2026-02-19 23:34:53,004 - INFO - Validated that VN ctest-vn-95261072 is not found in API Server 2026-02-19 23:34:53,012 - DEBUG - VN ctest-vn-95261072 is not present in Agent 10.0.0.38 2026-02-19 23:34:53,012 - INFO - Validated that VN ctest-vn-95261072 is not in any agent 2026-02-19 23:34:53,022 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-95261072 info 2026-02-19 23:34:53,022 - INFO - Deleting VN ctest-vn-80117201 2026-02-19 23:34:53,107 - DEBUG - Response for deleting network () 2026-02-19 23:34:53,107 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d1997613-ba27-4fc1-8ae1-13b085b8ad19 2026-02-19 23:34:53,111 - DEBUG - Response Code: 404 2026-02-19 23:34:53,111 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-19 23:34:53,116 - DEBUG - Requesting: http://10.0.0.38:8082/domain/450ed921-8d8f-4102-99ca-22982e027b58 2026-02-19 23:34:53,174 - DEBUG - Requesting: http://10.0.0.38:8082/project/7ef88d9f-4137-4191-99bb-5d0c66dc796d 2026-02-19 23:34:53,238 - INFO - Validated that VN ctest-vn-80117201 is not found in API Server 2026-02-19 23:34:53,246 - DEBUG - VN ctest-vn-80117201 is not present in Agent 10.0.0.38 2026-02-19 23:34:53,246 - INFO - Validated that VN ctest-vn-80117201 is not in any agent 2026-02-19 23:34:53,258 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-80117201 info 2026-02-19 23:34:53,509 - DEBUG - No XMPP flaps were noticed during the test
2026-02-19 23:34:53,509 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:28]
2026-02-19 23:34:53,509 - INFO - -------------------------------------------------------------------------------- 2026-02-19 23:34:54,164 - INFO - Deleted project: ctest-TestBasicPolicy-49092663, ID : 7ef88d9f-4137-4191-99bb-5d0c66dc796d