2026-04-17 09:17:05,491 - INFO - Domain Default found not creating 2026-04-17 09:17:05,678 - INFO - Project ctest-TestBasicPolicy-97900753 not found, creating it 2026-04-17 09:17:06,162 - INFO - Created Project:ctest-TestBasicPolicy-97900753, ID : 6f0a4168-bb54-4414-9fc7-1d010747ccca 2026-04-17 09:17:07,721 - INFO - ================================================================================ 2026-04-17 09:17:07,721 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-04-17 09:17:07,721 - 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-04-17 09:17:07,980 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2026-04-17 09:17:07,980 - INFO - Initial checks done. Running the testcase now 2026-04-17 09:17:07,981 - INFO - 2026-04-17 09:17:08,849 - DEBUG - Response for create_network : {'network': {'id': 'a79f8f3d-549e-43f3-917f-f1c4c50b6c2a', 'name': 'ctest-vn-07169164', 'tenant_id': '6f0a4168bb5444149fc71d010747ccca', 'project_id': '6f0a4168bb5444149fc71d010747ccca', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97900753', 'ctest-vn-07169164'], 'port_security_enabled': True, 'description': ''}} 2026-04-17 09:17:09,028 - DEBUG - Response for create_subnet : {'subnet': {'id': '92505c57-e166-4189-b730-d7dcc0ee4455', 'name': '', 'tenant_id': '6f0a4168bb5444149fc71d010747ccca', 'network_id': 'a79f8f3d-549e-43f3-917f-f1c4c50b6c2a', 'ip_version': 4, 'cidr': '91.174.6.128/26', 'allocation_pools': [{'start': '91.174.6.130', 'end': '91.174.6.190'}], 'gateway_ip': '91.174.6.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '91.174.6.130', 'tags': [], 'project_id': '6f0a4168bb5444149fc71d010747ccca'}} 2026-04-17 09:17:09,048 - INFO - Created VN ctest-vn-07169164 2026-04-17 09:17:09,102 - DEBUG - VN ctest-vn-07169164 UUID is a79f8f3d-549e-43f3-917f-f1c4c50b6c2a 2026-04-17 09:17:09,394 - DEBUG - Response for create_network : {'network': {'id': 'ce71b289-22ef-415a-aa6f-cf122830419e', 'name': 'ctest-vn-79710132', 'tenant_id': '6f0a4168bb5444149fc71d010747ccca', 'project_id': '6f0a4168bb5444149fc71d010747ccca', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97900753', 'ctest-vn-79710132'], 'port_security_enabled': True, 'description': ''}} 2026-04-17 09:17:09,542 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fe3d7702-bc52-4955-87c6-eabd2cd47efb', 'name': '', 'tenant_id': '6f0a4168bb5444149fc71d010747ccca', 'network_id': 'ce71b289-22ef-415a-aa6f-cf122830419e', 'ip_version': 4, 'cidr': '70.178.182.128/26', 'allocation_pools': [{'start': '70.178.182.130', 'end': '70.178.182.190'}], 'gateway_ip': '70.178.182.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '70.178.182.130', 'tags': [], 'project_id': '6f0a4168bb5444149fc71d010747ccca'}} 2026-04-17 09:17:09,561 - INFO - Created VN ctest-vn-79710132 2026-04-17 09:17:09,614 - DEBUG - VN ctest-vn-79710132 UUID is ce71b289-22ef-415a-aa6f-cf122830419e 2026-04-17 09:17:09,743 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-97900753:ctest-vn-07169164, 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-97900753:ctest-vn-79710132, 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-04-17 09:17:10,037 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a79f8f3d-549e-43f3-917f-f1c4c50b6c2a', 'name': 'ctest-vn-07169164', 'tenant_id': '6f0a4168bb5444149fc71d010747ccca', 'project_id': '6f0a4168bb5444149fc71d010747ccca', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['92505c57-e166-4189-b730-d7dcc0ee4455'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97900753', 'ctest-vn-07169164'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-97900753', 'ctest-policy-allow-all-94983336']], 'subnet_ipam': [{'subnet_cidr': '91.174.6.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-17 09:17:10,273 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ce71b289-22ef-415a-aa6f-cf122830419e', 'name': 'ctest-vn-79710132', 'tenant_id': '6f0a4168bb5444149fc71d010747ccca', 'project_id': '6f0a4168bb5444149fc71d010747ccca', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['fe3d7702-bc52-4955-87c6-eabd2cd47efb'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97900753', 'ctest-vn-79710132'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-97900753', 'ctest-policy-allow-all-94983336']], 'subnet_ipam': [{'subnet_cidr': '70.178.182.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-17 09:17:10,442 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-17 09:17:10,743 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-17 09:17:10,780 - DEBUG - Requesting: http://10.0.0.50:8082/domain/acd3df83-2407-4a60-989f-98d23fa475f0 2026-04-17 09:17:10,792 - DEBUG - Requesting: http://10.0.0.50:8082/project/6f0a4168-bb54-4414-9fc7-1d010747ccca 2026-04-17 09:17:10,860 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a79f8f3d-549e-43f3-917f-f1c4c50b6c2a 2026-04-17 09:17:10,881 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a79f8f3d-549e-43f3-917f-f1c4c50b6c2a 2026-04-17 09:17:10,891 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/418a8d65-0d3b-4c69-b477-9dd0f91f483d 2026-04-17 09:17:10,899 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/418a8d65-0d3b-4c69-b477-9dd0f91f483d 2026-04-17 09:17:10,907 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/f15950c4-ef93-48c4-b4d3-30eb8a0de837 2026-04-17 09:17:10,914 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-17 09:17:10,914 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a79f8f3d-549e-43f3-917f-f1c4c50b6c2a 2026-04-17 09:17:10,922 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/418a8d65-0d3b-4c69-b477-9dd0f91f483d 2026-04-17 09:17:10,937 - INFO - Verified VN network id 11 for VN a79f8f3d-549e-43f3-917f-f1c4c50b6c2a 2026-04-17 09:17:10,937 - INFO - Verifications in API Server for VN ctest-vn-07169164 passed 2026-04-17 09:17:10,937 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a79f8f3d-549e-43f3-917f-f1c4c50b6c2a 2026-04-17 09:17:10,947 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/418a8d65-0d3b-4c69-b477-9dd0f91f483d 2026-04-17 09:17:10,954 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/418a8d65-0d3b-4c69-b477-9dd0f91f483d 2026-04-17 09:17:10,962 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/f15950c4-ef93-48c4-b4d3-30eb8a0de837 2026-04-17 09:17:10,974 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-97900753:ctest-vn-07169164', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-97900753', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12078530219206394867', 'uuid-lslong': '10484364284963548202'}, 'enable': 'true', 'created': '2026-04-17T09:17:08', 'last-modified': '2026-04-17T09:17:10', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.956410'} 2026-04-17 09:17:10,980 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-17 09:17:10,980 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-07169164 passed 2026-04-17 09:17:10,980 - DEBUG - ====Verifying policy data for ctest-vn-07169164 in API_Server ====== 2026-04-17 09:17:10,980 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-17 09:17:10,986 - DEBUG - Requesting: http://10.0.0.50:8082/domain/acd3df83-2407-4a60-989f-98d23fa475f0 2026-04-17 09:17:10,996 - DEBUG - Requesting: http://10.0.0.50:8082/project/6f0a4168-bb54-4414-9fc7-1d010747ccca 2026-04-17 09:17:11,067 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a79f8f3d-549e-43f3-917f-f1c4c50b6c2a 2026-04-17 09:17:11,076 - DEBUG - ==>Verifying data for policy with id: 840dde44-7559-4cb4-9dfd-d8eb9ff1c133, fqn: ['default-domain', 'ctest-TestBasicPolicy-97900753', 'ctest-policy-allow-all-94983336'] 2026-04-17 09:17:11,076 - INFO - VN ctest-vn-07169164 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-17 09:17:11,076 - DEBUG - Verifying the vn in opserver 2026-04-17 09:17:11,077 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-97900753:ctest-vn-07169164 virtual network link through opserver 10.0.0.50 2026-04-17 09:17:11,077 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-04-17 09:17:11,395 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-04-17 09:17:11,466 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-97900753:ctest-vn-07169164', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-97900753:ctest-vn-07169164?flat'} 2026-04-17 09:17:11,466 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-97900753:ctest-vn-07169164 is found in opserver 2026-04-17 09:17:11,477 - DEBUG - Do not have enough data to verify VN in agent 2026-04-17 09:17:11,481 - DEBUG - VRF ids for VN ctest-vn-07169164: {} 2026-04-17 09:17:11,481 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-17 09:17:11,487 - DEBUG - Requesting: http://10.0.0.50:8082/domain/acd3df83-2407-4a60-989f-98d23fa475f0 2026-04-17 09:17:11,498 - DEBUG - Requesting: http://10.0.0.50:8082/project/6f0a4168-bb54-4414-9fc7-1d010747ccca 2026-04-17 09:17:11,569 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ce71b289-22ef-415a-aa6f-cf122830419e 2026-04-17 09:17:11,584 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ce71b289-22ef-415a-aa6f-cf122830419e 2026-04-17 09:17:11,593 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c36dadd3-2b21-4f59-8d8d-2a3599e6f1d1 2026-04-17 09:17:11,601 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c36dadd3-2b21-4f59-8d8d-2a3599e6f1d1 2026-04-17 09:17:11,609 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/8c109de7-9f35-4983-a412-a8e0a135de96 2026-04-17 09:17:11,617 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-17 09:17:11,617 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ce71b289-22ef-415a-aa6f-cf122830419e 2026-04-17 09:17:11,627 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c36dadd3-2b21-4f59-8d8d-2a3599e6f1d1 2026-04-17 09:17:11,642 - INFO - Verified VN network id 12 for VN ce71b289-22ef-415a-aa6f-cf122830419e 2026-04-17 09:17:11,642 - INFO - Verifications in API Server for VN ctest-vn-79710132 passed 2026-04-17 09:17:11,642 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ce71b289-22ef-415a-aa6f-cf122830419e 2026-04-17 09:17:11,651 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c36dadd3-2b21-4f59-8d8d-2a3599e6f1d1 2026-04-17 09:17:11,659 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c36dadd3-2b21-4f59-8d8d-2a3599e6f1d1 2026-04-17 09:17:11,666 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/8c109de7-9f35-4983-a412-a8e0a135de96 2026-04-17 09:17:11,681 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-97900753:ctest-vn-79710132', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-97900753', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14875867346247827802', 'uuid-lslong': '12281262385753244062'}, 'enable': 'true', 'created': '2026-04-17T09:17:09', 'last-modified': '2026-04-17T09:17:10', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.432245'} 2026-04-17 09:17:11,686 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-17 09:17:11,686 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-79710132 passed 2026-04-17 09:17:11,687 - DEBUG - ====Verifying policy data for ctest-vn-79710132 in API_Server ====== 2026-04-17 09:17:11,687 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-17 09:17:11,693 - DEBUG - Requesting: http://10.0.0.50:8082/domain/acd3df83-2407-4a60-989f-98d23fa475f0 2026-04-17 09:17:11,703 - DEBUG - Requesting: http://10.0.0.50:8082/project/6f0a4168-bb54-4414-9fc7-1d010747ccca 2026-04-17 09:17:11,775 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ce71b289-22ef-415a-aa6f-cf122830419e 2026-04-17 09:17:11,783 - DEBUG - ==>Verifying data for policy with id: 840dde44-7559-4cb4-9dfd-d8eb9ff1c133, fqn: ['default-domain', 'ctest-TestBasicPolicy-97900753', 'ctest-policy-allow-all-94983336'] 2026-04-17 09:17:11,784 - INFO - VN ctest-vn-79710132 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-17 09:17:11,784 - DEBUG - Verifying the vn in opserver 2026-04-17 09:17:11,784 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-97900753:ctest-vn-79710132 virtual network link through opserver 10.0.0.50 2026-04-17 09:17:11,784 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-04-17 09:17:11,793 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-97900753:ctest-vn-79710132', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-97900753:ctest-vn-79710132?flat'} 2026-04-17 09:17:11,793 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-97900753:ctest-vn-79710132 is found in opserver 2026-04-17 09:17:11,804 - DEBUG - Do not have enough data to verify VN in agent 2026-04-17 09:17:11,812 - DEBUG - VRF ids for VN ctest-vn-79710132: {} 2026-04-17 09:17:11,881 - DEBUG - Services list from nova: [, , ] 2026-04-17 09:17:12,968 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5633-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5633-1) 2026-04-17 09:17:14,139 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5633-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5633-1) 2026-04-17 09:17:14,139 - INFO - Waiting for VM ctest-TestBasicPolicy-97900753-13005462 to be up.. 2026-04-17 09:17:14,223 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-17 09:17:19,315 - DEBUG - VM is in ACTIVE state now 2026-04-17 09:17:19,315 - INFO - VM name : ctest-TestBasicPolicy-97900753-13005462 2026-04-17 09:17:19,402 - DEBUG - VM ctest-TestBasicPolicy-97900753-13005462 ID is ead613c2-cdb8-43ae-9b18-c2edf91733f9 2026-04-17 09:17:19,422 - DEBUG - VM ctest-TestBasicPolicy-97900753-13005462 launched on Node cn-jenkins-deploy-platform-ansible-os-5633-1 2026-04-17 09:17:19,516 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/ead613c2-cdb8-43ae-9b18-c2edf91733f9 2026-04-17 09:17:19,526 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/c76ffd27-d05a-4b10-8a16-2d2de93d6cce 2026-04-17 09:17:22,776 - 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 1003ms') 2026-04-17 09:17:22,776 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-97900753-13005462 failed! 2026-04-17 09:17:22,834 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-97900753:ctest-vn-07169164 is 91.174.6.129 and allocation pool is NOT set 2026-04-17 09:17:24,897 - 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=10.7 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.18 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 = 2.184/6.420/10.657/4.236 ms') 2026-04-17 09:17:24,897 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-97900753-13005462 passed 2026-04-17 09:17:25,046 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-17 09:17:25,047 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-97900753-13005462, IP 91.174.6.131, Port 22 2026-04-17 09:17:25,213 - DEBUG - VM ctest-TestBasicPolicy-97900753-13005462 is ready for SSH connections 2026-04-17 09:17:25,214 - INFO - Waiting for VM ctest-TestBasicPolicy-97900753-80133288 to be up.. 2026-04-17 09:17:25,304 - DEBUG - VM is in ACTIVE state now 2026-04-17 09:17:25,304 - INFO - VM name : ctest-TestBasicPolicy-97900753-80133288 2026-04-17 09:17:25,383 - DEBUG - VM ctest-TestBasicPolicy-97900753-80133288 ID is a2cf6ca4-e73f-4945-ab5e-0cdc43d4a5b7 2026-04-17 09:17:25,383 - DEBUG - VM ctest-TestBasicPolicy-97900753-80133288 launched on Node cn-jenkins-deploy-platform-ansible-os-5633-1 2026-04-17 09:17:25,471 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/a2cf6ca4-e73f-4945-ab5e-0cdc43d4a5b7 2026-04-17 09:17:25,481 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/8816e0be-1c71-48ed-a4a2-cf140e3edf74 2026-04-17 09:17:26,735 - 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.83 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.606 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.606/1.718/2.830/1.112 ms') 2026-04-17 09:17:26,735 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-97900753-80133288 passed 2026-04-17 09:17:26,890 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-17 09:17:26,890 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-97900753-80133288, IP 70.178.182.131, Port 22 2026-04-17 09:17:27,058 - DEBUG - VM ctest-TestBasicPolicy-97900753-80133288 is ready for SSH connections 2026-04-17 09:17:27,058 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-17 09:17:27,058 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 70.178.182.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-04-17 09:17:27,058 - DEBUG - ping -s 56 -c 3 -W 1 70.178.182.131 2026-04-17 09:17:31,144 - DEBUG - PING 70.178.182.131 (70.178.182.131): 56 data bytes 64 bytes from 70.178.182.131: seq=0 ttl=63 time=3.714 ms 64 bytes from 70.178.182.131: seq=1 ttl=63 time=1.148 ms 64 bytes from 70.178.182.131: seq=2 ttl=63 time=1.231 ms --- 70.178.182.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.148/2.031/3.714 ms 2026-04-17 09:17:31,144 - INFO - Ping to IP 70.178.182.131 from VM ctest-TestBasicPolicy-97900753-13005462 passed 2026-04-17 09:17:31,326 - DEBUG - Policy Update Response {"network-policy": {"uuid": "840dde44-7559-4cb4-9dfd-d8eb9ff1c133", "href": "http://10.0.0.50:8082/network-policy/840dde44-7559-4cb4-9dfd-d8eb9ff1c133"}} 2026-04-17 09:17:31,326 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-17 09:17:31,326 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 70.178.182.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-04-17 09:17:31,326 - DEBUG - ping -s 56 -c 3 -W 1 70.178.182.131 2026-04-17 09:17:34,537 - DEBUG - PING 70.178.182.131 (70.178.182.131): 56 data bytes --- 70.178.182.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-04-17 09:17:34,537 - WARNING - Ping to IP 70.178.182.131 from VM ctest-TestBasicPolicy-97900753-13005462 failed 2026-04-17 09:17:34,537 - INFO - Deleting VM ctest-TestBasicPolicy-97900753-80133288 2026-04-17 09:17:34,610 - INFO - Deleting VM ctest-TestBasicPolicy-97900753-13005462 2026-04-17 09:17:35,032 - INFO - Deleted policy ctest-policy-allow-all-94983336 2026-04-17 09:17:35,032 - INFO - Deleting VN ctest-vn-79710132 2026-04-17 09:17:35,066 - DEBUG - VN ce71b289-22ef-415a-aa6f-cf122830419e still in use: Unable to complete operation on network ce71b289-22ef-415a-aa6f-cf122830419e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-eae5502d-6e8e-41ae-a3c6-1d17c3749287'] 2026-04-17 09:17:35,066 - WARNING - Deleting VN ctest-vn-79710132 failed..Will retry 2026-04-17 09:17:37,169 - DEBUG - Response for deleting network () 2026-04-17 09:17:37,169 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c36dadd3-2b21-4f59-8d8d-2a3599e6f1d1 2026-04-17 09:17:37,176 - DEBUG - Response Code: 404 2026-04-17 09:17:37,176 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-17 09:17:37,181 - DEBUG - Requesting: http://10.0.0.50:8082/domain/acd3df83-2407-4a60-989f-98d23fa475f0 2026-04-17 09:17:37,236 - DEBUG - Requesting: http://10.0.0.50:8082/project/6f0a4168-bb54-4414-9fc7-1d010747ccca 2026-04-17 09:17:37,310 - INFO - Validated that VN ctest-vn-79710132 is not found in API Server 2026-04-17 09:17:37,321 - DEBUG - VN ctest-vn-79710132 is not present in Agent 10.0.0.50 2026-04-17 09:17:37,321 - INFO - Validated that VN ctest-vn-79710132 is not in any agent 2026-04-17 09:17:37,334 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-79710132 info 2026-04-17 09:17:37,334 - INFO - Deleting VN ctest-vn-07169164 2026-04-17 09:17:37,442 - DEBUG - Response for deleting network () 2026-04-17 09:17:37,442 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/418a8d65-0d3b-4c69-b477-9dd0f91f483d 2026-04-17 09:17:37,448 - DEBUG - Response Code: 404 2026-04-17 09:17:37,449 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-17 09:17:37,455 - DEBUG - Requesting: http://10.0.0.50:8082/domain/acd3df83-2407-4a60-989f-98d23fa475f0 2026-04-17 09:17:37,512 - DEBUG - Requesting: http://10.0.0.50:8082/project/6f0a4168-bb54-4414-9fc7-1d010747ccca 2026-04-17 09:17:37,589 - INFO - Validated that VN ctest-vn-07169164 is not found in API Server 2026-04-17 09:17:37,598 - DEBUG - VN ctest-vn-07169164 is not present in Agent 10.0.0.50 2026-04-17 09:17:37,598 - INFO - Validated that VN ctest-vn-07169164 is not in any agent 2026-04-17 09:17:37,610 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-07169164 info 2026-04-17 09:17:37,863 - DEBUG - No XMPP flaps were noticed during the test
2026-04-17 09:17:37,863 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2026-04-17 09:17:37,863 - INFO - -------------------------------------------------------------------------------- 2026-04-17 09:17:38,561 - INFO - Deleted project: ctest-TestBasicPolicy-97900753, ID : 6f0a4168-bb54-4414-9fc7-1d010747ccca