2026-06-04 02:25:53,823 - INFO - Domain Default found not creating 2026-06-04 02:25:53,998 - INFO - Project ctest-TestBasicPolicy-75827855 not found, creating it 2026-06-04 02:25:54,554 - INFO - Created Project:ctest-TestBasicPolicy-75827855, ID : d2650751-dd73-4769-b7ba-661b18af2d44 2026-06-04 02:25:56,053 - INFO - ================================================================================ 2026-06-04 02:25:56,054 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-06-04 02:25:56,054 - 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-06-04 02:25:56,310 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with 2026-06-04 02:25:56,310 - INFO - Initial checks done. Running the testcase now 2026-06-04 02:25:56,311 - INFO - 2026-06-04 02:25:56,877 - DEBUG - Response for create_network : {'network': {'id': '68540a79-7c66-4472-90f3-41ef6a920419', 'name': 'ctest-vn-83229326', 'tenant_id': 'd2650751dd734769b7ba661b18af2d44', 'project_id': 'd2650751dd734769b7ba661b18af2d44', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-75827855', 'ctest-vn-83229326'], 'port_security_enabled': True, 'description': ''}} 2026-06-04 02:25:57,042 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fbd5781d-3033-4f9e-b3f1-bdcf025ac2b1', 'name': '', 'tenant_id': 'd2650751dd734769b7ba661b18af2d44', 'network_id': '68540a79-7c66-4472-90f3-41ef6a920419', 'ip_version': 4, 'cidr': '29.85.59.64/26', 'allocation_pools': [{'start': '29.85.59.66', 'end': '29.85.59.126'}], 'gateway_ip': '29.85.59.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '29.85.59.66', 'tags': [], 'project_id': 'd2650751dd734769b7ba661b18af2d44'}} 2026-06-04 02:25:57,061 - INFO - Created VN ctest-vn-83229326 2026-06-04 02:25:57,113 - DEBUG - VN ctest-vn-83229326 UUID is 68540a79-7c66-4472-90f3-41ef6a920419 2026-06-04 02:25:57,405 - DEBUG - Response for create_network : {'network': {'id': 'd6f2d9c1-d386-49f3-96ff-28c79f256dfd', 'name': 'ctest-vn-38669046', 'tenant_id': 'd2650751dd734769b7ba661b18af2d44', 'project_id': 'd2650751dd734769b7ba661b18af2d44', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-75827855', 'ctest-vn-38669046'], 'port_security_enabled': True, 'description': ''}} 2026-06-04 02:25:57,579 - DEBUG - Response for create_subnet : {'subnet': {'id': '4fdcaf7f-0180-45ba-b1ba-d4e3bddf3cff', 'name': '', 'tenant_id': 'd2650751dd734769b7ba661b18af2d44', 'network_id': 'd6f2d9c1-d386-49f3-96ff-28c79f256dfd', 'ip_version': 4, 'cidr': '202.10.20.0/26', 'allocation_pools': [{'start': '202.10.20.2', 'end': '202.10.20.62'}], 'gateway_ip': '202.10.20.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '202.10.20.2', 'tags': [], 'project_id': 'd2650751dd734769b7ba661b18af2d44'}} 2026-06-04 02:25:57,597 - INFO - Created VN ctest-vn-38669046 2026-06-04 02:25:57,649 - DEBUG - VN ctest-vn-38669046 UUID is d6f2d9c1-d386-49f3-96ff-28c79f256dfd 2026-06-04 02:25:57,801 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-75827855:ctest-vn-83229326, 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-75827855:ctest-vn-38669046, 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-06-04 02:25:58,106 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '68540a79-7c66-4472-90f3-41ef6a920419', 'name': 'ctest-vn-83229326', 'tenant_id': 'd2650751dd734769b7ba661b18af2d44', 'project_id': 'd2650751dd734769b7ba661b18af2d44', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['fbd5781d-3033-4f9e-b3f1-bdcf025ac2b1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-75827855', 'ctest-vn-83229326'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-75827855', 'ctest-policy-allow-all-94927705']], 'subnet_ipam': [{'subnet_cidr': '29.85.59.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-04 02:25:58,350 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd6f2d9c1-d386-49f3-96ff-28c79f256dfd', 'name': 'ctest-vn-38669046', 'tenant_id': 'd2650751dd734769b7ba661b18af2d44', 'project_id': 'd2650751dd734769b7ba661b18af2d44', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4fdcaf7f-0180-45ba-b1ba-d4e3bddf3cff'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-75827855', 'ctest-vn-38669046'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-75827855', 'ctest-policy-allow-all-94927705']], 'subnet_ipam': [{'subnet_cidr': '202.10.20.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-04 02:25:58,521 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-06-04 02:25:58,816 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-06-04 02:25:58,845 - DEBUG - Requesting: http://10.0.0.22:8082/domain/e506eb7a-b2dc-43f7-9128-6e432f346ffe 2026-06-04 02:25:58,858 - DEBUG - Requesting: http://10.0.0.22:8082/project/d2650751-dd73-4769-b7ba-661b18af2d44 2026-06-04 02:25:58,925 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/68540a79-7c66-4472-90f3-41ef6a920419 2026-06-04 02:25:58,936 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/68540a79-7c66-4472-90f3-41ef6a920419 2026-06-04 02:25:58,946 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/2a9361dc-fea3-4609-927b-6b0f0d122687 2026-06-04 02:25:58,954 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/2a9361dc-fea3-4609-927b-6b0f0d122687 2026-06-04 02:25:58,963 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/5dae26ad-21b2-4a86-8f5f-802c2c99f304 2026-06-04 02:25:58,970 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-04 02:25:58,970 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/68540a79-7c66-4472-90f3-41ef6a920419 2026-06-04 02:25:58,979 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/2a9361dc-fea3-4609-927b-6b0f0d122687 2026-06-04 02:25:58,993 - INFO - Verified VN network id 11 for VN 68540a79-7c66-4472-90f3-41ef6a920419 2026-06-04 02:25:58,993 - INFO - Verifications in API Server for VN ctest-vn-83229326 passed 2026-06-04 02:25:58,994 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/68540a79-7c66-4472-90f3-41ef6a920419 2026-06-04 02:25:59,002 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/2a9361dc-fea3-4609-927b-6b0f0d122687 2026-06-04 02:25:59,009 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/2a9361dc-fea3-4609-927b-6b0f0d122687 2026-06-04 02:25:59,016 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/5dae26ad-21b2-4a86-8f5f-802c2c99f304 2026-06-04 02:25:59,028 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-75827855:ctest-vn-83229326', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-75827855', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7517645194882598002', 'uuid-lslong': '10444764457343255577'}, 'enable': 'true', 'created': '2026-06-04T02:25:56', 'last-modified': '2026-06-04T02:25:58', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.943768'} 2026-06-04 02:25:59,034 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-04 02:25:59,034 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-83229326 passed 2026-06-04 02:25:59,034 - DEBUG - ====Verifying policy data for ctest-vn-83229326 in API_Server ====== 2026-06-04 02:25:59,034 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-06-04 02:25:59,039 - DEBUG - Requesting: http://10.0.0.22:8082/domain/e506eb7a-b2dc-43f7-9128-6e432f346ffe 2026-06-04 02:25:59,050 - DEBUG - Requesting: http://10.0.0.22:8082/project/d2650751-dd73-4769-b7ba-661b18af2d44 2026-06-04 02:25:59,120 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/68540a79-7c66-4472-90f3-41ef6a920419 2026-06-04 02:25:59,129 - DEBUG - ==>Verifying data for policy with id: 3191ecb9-95a1-4fde-9271-2758ca6480af, fqn: ['default-domain', 'ctest-TestBasicPolicy-75827855', 'ctest-policy-allow-all-94927705'] 2026-06-04 02:25:59,129 - INFO - VN ctest-vn-83229326 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-04 02:25:59,129 - DEBUG - Verifying the vn in opserver 2026-06-04 02:25:59,129 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-75827855:ctest-vn-83229326 virtual network link through opserver 10.0.0.22 2026-06-04 02:25:59,129 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-06-04 02:25:59,440 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-06-04 02:25:59,514 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-75827855:ctest-vn-83229326', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-75827855:ctest-vn-83229326?flat'} 2026-06-04 02:25:59,514 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-75827855:ctest-vn-83229326 is found in opserver 2026-06-04 02:25:59,524 - DEBUG - Do not have enough data to verify VN in agent 2026-06-04 02:25:59,530 - DEBUG - VRF ids for VN ctest-vn-83229326: {} 2026-06-04 02:25:59,530 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-06-04 02:25:59,536 - DEBUG - Requesting: http://10.0.0.22:8082/domain/e506eb7a-b2dc-43f7-9128-6e432f346ffe 2026-06-04 02:25:59,548 - DEBUG - Requesting: http://10.0.0.22:8082/project/d2650751-dd73-4769-b7ba-661b18af2d44 2026-06-04 02:25:59,626 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/d6f2d9c1-d386-49f3-96ff-28c79f256dfd 2026-06-04 02:25:59,639 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/d6f2d9c1-d386-49f3-96ff-28c79f256dfd 2026-06-04 02:25:59,647 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/ef0495c1-7bfd-414d-9c5f-9dfe139e4763 2026-06-04 02:25:59,655 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/ef0495c1-7bfd-414d-9c5f-9dfe139e4763 2026-06-04 02:25:59,661 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/316ae80f-3e4e-45b6-8448-7bdb416feff7 2026-06-04 02:25:59,667 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-04 02:25:59,667 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/d6f2d9c1-d386-49f3-96ff-28c79f256dfd 2026-06-04 02:25:59,677 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/ef0495c1-7bfd-414d-9c5f-9dfe139e4763 2026-06-04 02:25:59,694 - INFO - Verified VN network id 12 for VN d6f2d9c1-d386-49f3-96ff-28c79f256dfd 2026-06-04 02:25:59,694 - INFO - Verifications in API Server for VN ctest-vn-38669046 passed 2026-06-04 02:25:59,694 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/d6f2d9c1-d386-49f3-96ff-28c79f256dfd 2026-06-04 02:25:59,705 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/ef0495c1-7bfd-414d-9c5f-9dfe139e4763 2026-06-04 02:25:59,713 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/ef0495c1-7bfd-414d-9c5f-9dfe139e4763 2026-06-04 02:25:59,723 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/316ae80f-3e4e-45b6-8448-7bdb416feff7 2026-06-04 02:25:59,737 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-75827855:ctest-vn-38669046', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-75827855', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15488681494981265907', 'uuid-lslong': '10880460062584040957'}, 'enable': 'true', 'created': '2026-06-04T02:25:57', 'last-modified': '2026-06-04T02:25:58', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.414485'} 2026-06-04 02:25:59,744 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-04 02:25:59,744 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-38669046 passed 2026-06-04 02:25:59,744 - DEBUG - ====Verifying policy data for ctest-vn-38669046 in API_Server ====== 2026-06-04 02:25:59,744 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-06-04 02:25:59,750 - DEBUG - Requesting: http://10.0.0.22:8082/domain/e506eb7a-b2dc-43f7-9128-6e432f346ffe 2026-06-04 02:25:59,762 - DEBUG - Requesting: http://10.0.0.22:8082/project/d2650751-dd73-4769-b7ba-661b18af2d44 2026-06-04 02:25:59,839 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/d6f2d9c1-d386-49f3-96ff-28c79f256dfd 2026-06-04 02:25:59,849 - DEBUG - ==>Verifying data for policy with id: 3191ecb9-95a1-4fde-9271-2758ca6480af, fqn: ['default-domain', 'ctest-TestBasicPolicy-75827855', 'ctest-policy-allow-all-94927705'] 2026-06-04 02:25:59,849 - INFO - VN ctest-vn-38669046 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-04 02:25:59,849 - DEBUG - Verifying the vn in opserver 2026-06-04 02:25:59,849 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-75827855:ctest-vn-38669046 virtual network link through opserver 10.0.0.22 2026-06-04 02:25:59,849 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-06-04 02:25:59,859 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-75827855:ctest-vn-38669046', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-75827855:ctest-vn-38669046?flat'} 2026-06-04 02:25:59,859 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-75827855:ctest-vn-38669046 is found in opserver 2026-06-04 02:25:59,870 - DEBUG - Do not have enough data to verify VN in agent 2026-06-04 02:25:59,875 - DEBUG - VRF ids for VN ctest-vn-38669046: {} 2026-06-04 02:25:59,947 - DEBUG - Services list from nova: [, , ] 2026-06-04 02:26:01,008 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5885-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5885-1) 2026-06-04 02:26:02,201 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5885-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5885-1) 2026-06-04 02:26:02,201 - INFO - Waiting for VM ctest-TestBasicPolicy-75827855-87553431 to be up.. 2026-06-04 02:26:02,288 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-04 02:26:07,364 - DEBUG - VM is in ACTIVE state now 2026-06-04 02:26:07,365 - INFO - VM name : ctest-TestBasicPolicy-75827855-87553431 2026-06-04 02:26:07,441 - DEBUG - VM ctest-TestBasicPolicy-75827855-87553431 ID is 721c54c9-a101-4aa1-9260-aa428a775a38 2026-06-04 02:26:07,463 - DEBUG - VM ctest-TestBasicPolicy-75827855-87553431 launched on Node cn-jenkins-deploy-platform-ansible-os-5885-1 2026-06-04 02:26:07,546 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/721c54c9-a101-4aa1-9260-aa428a775a38 2026-06-04 02:26:07,555 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/45e96c60-4e58-4c00-abb2-88a810cf73f6 2026-06-04 02:26:10,809 - 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 1014ms') 2026-06-04 02:26:10,809 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-75827855-87553431 failed! 2026-06-04 02:26:10,865 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-75827855:ctest-vn-83229326 is 29.85.59.65 and allocation pool is NOT set 2026-06-04 02:26:12,929 - 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=6.57 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.57 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 2.565/4.567/6.569/2.002 ms') 2026-06-04 02:26:12,929 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-75827855-87553431 passed 2026-06-04 02:26:13,077 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-04 02:26:13,077 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-75827855-87553431, IP 29.85.59.67, Port 22 2026-06-04 02:26:13,232 - DEBUG - VM ctest-TestBasicPolicy-75827855-87553431 is ready for SSH connections 2026-06-04 02:26:13,232 - INFO - Waiting for VM ctest-TestBasicPolicy-75827855-86113222 to be up.. 2026-06-04 02:26:13,310 - DEBUG - VM is in ACTIVE state now 2026-06-04 02:26:13,310 - INFO - VM name : ctest-TestBasicPolicy-75827855-86113222 2026-06-04 02:26:13,390 - DEBUG - VM ctest-TestBasicPolicy-75827855-86113222 ID is 09bc205c-447c-459d-a1f9-ecdd0937ab16 2026-06-04 02:26:13,390 - DEBUG - VM ctest-TestBasicPolicy-75827855-86113222 launched on Node cn-jenkins-deploy-platform-ansible-os-5885-1 2026-06-04 02:26:13,471 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/09bc205c-447c-459d-a1f9-ecdd0937ab16 2026-06-04 02:26:13,482 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/f1af4384-a69c-4457-a73d-34d7b2120257 2026-06-04 02:26:14,726 - 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=4.58 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.944 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.944/2.761/4.579/1.817 ms') 2026-06-04 02:26:14,727 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-75827855-86113222 passed 2026-06-04 02:26:14,877 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-04 02:26:14,877 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-75827855-86113222, IP 202.10.20.3, Port 22 2026-06-04 02:26:15,036 - DEBUG - VM ctest-TestBasicPolicy-75827855-86113222 is ready for SSH connections 2026-06-04 02:26:15,036 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-04 02:26:15,037 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 202.10.20.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-06-04 02:26:15,037 - DEBUG - ping -s 56 -c 3 -W 1 202.10.20.3 2026-06-04 02:26:19,069 - DEBUG - PING 202.10.20.3 (202.10.20.3): 56 data bytes 64 bytes from 202.10.20.3: seq=0 ttl=63 time=3.583 ms 64 bytes from 202.10.20.3: seq=1 ttl=63 time=0.895 ms 64 bytes from 202.10.20.3: seq=2 ttl=63 time=0.829 ms --- 202.10.20.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.829/1.769/3.583 ms 2026-06-04 02:26:19,069 - INFO - Ping to IP 202.10.20.3 from VM ctest-TestBasicPolicy-75827855-87553431 passed 2026-06-04 02:26:19,249 - DEBUG - Policy Update Response {"network-policy": {"uuid": "3191ecb9-95a1-4fde-9271-2758ca6480af", "href": "http://10.0.0.22:8082/network-policy/3191ecb9-95a1-4fde-9271-2758ca6480af"}} 2026-06-04 02:26:19,249 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-04 02:26:19,249 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 202.10.20.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-06-04 02:26:19,249 - DEBUG - ping -s 56 -c 3 -W 1 202.10.20.3 2026-06-04 02:26:22,467 - DEBUG - PING 202.10.20.3 (202.10.20.3): 56 data bytes --- 202.10.20.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-06-04 02:26:22,467 - WARNING - Ping to IP 202.10.20.3 from VM ctest-TestBasicPolicy-75827855-87553431 failed 2026-06-04 02:26:22,468 - INFO - Deleting VM ctest-TestBasicPolicy-75827855-86113222 2026-06-04 02:26:22,541 - INFO - Deleting VM ctest-TestBasicPolicy-75827855-87553431 2026-06-04 02:26:22,928 - INFO - Deleted policy ctest-policy-allow-all-94927705 2026-06-04 02:26:22,928 - INFO - Deleting VN ctest-vn-38669046 2026-06-04 02:26:22,972 - DEBUG - VN d6f2d9c1-d386-49f3-96ff-28c79f256dfd still in use: Unable to complete operation on network d6f2d9c1-d386-49f3-96ff-28c79f256dfd. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b1b71829-b379-48ca-816a-07ba92a8b212'] 2026-06-04 02:26:22,972 - WARNING - Deleting VN ctest-vn-38669046 failed..Will retry 2026-06-04 02:26:25,084 - DEBUG - Response for deleting network () 2026-06-04 02:26:25,084 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/ef0495c1-7bfd-414d-9c5f-9dfe139e4763 2026-06-04 02:26:25,090 - DEBUG - Response Code: 404 2026-06-04 02:26:25,090 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-06-04 02:26:25,097 - DEBUG - Requesting: http://10.0.0.22:8082/domain/e506eb7a-b2dc-43f7-9128-6e432f346ffe 2026-06-04 02:26:25,154 - DEBUG - Requesting: http://10.0.0.22:8082/project/d2650751-dd73-4769-b7ba-661b18af2d44 2026-06-04 02:26:25,231 - INFO - Validated that VN ctest-vn-38669046 is not found in API Server 2026-06-04 02:26:25,241 - DEBUG - VN ctest-vn-38669046 is not present in Agent 10.0.0.22 2026-06-04 02:26:25,241 - INFO - Validated that VN ctest-vn-38669046 is not in any agent 2026-06-04 02:26:25,256 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-38669046 info 2026-06-04 02:26:25,256 - INFO - Deleting VN ctest-vn-83229326 2026-06-04 02:26:25,357 - DEBUG - Response for deleting network () 2026-06-04 02:26:25,358 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/2a9361dc-fea3-4609-927b-6b0f0d122687 2026-06-04 02:26:25,365 - DEBUG - Response Code: 404 2026-06-04 02:26:25,365 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-06-04 02:26:25,370 - DEBUG - Requesting: http://10.0.0.22:8082/domain/e506eb7a-b2dc-43f7-9128-6e432f346ffe 2026-06-04 02:26:25,425 - DEBUG - Requesting: http://10.0.0.22:8082/project/d2650751-dd73-4769-b7ba-661b18af2d44 2026-06-04 02:26:25,495 - INFO - Validated that VN ctest-vn-83229326 is not found in API Server 2026-06-04 02:26:25,503 - DEBUG - VN ctest-vn-83229326 is not present in Agent 10.0.0.22 2026-06-04 02:26:25,503 - INFO - Validated that VN ctest-vn-83229326 is not in any agent 2026-06-04 02:26:25,517 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-83229326 info 2026-06-04 02:26:25,769 - DEBUG - No XMPP flaps were noticed during the test
2026-06-04 02:26:25,769 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2026-06-04 02:26:25,770 - INFO - -------------------------------------------------------------------------------- 2026-06-04 02:26:26,502 - INFO - Deleted project: ctest-TestBasicPolicy-75827855, ID : d2650751-dd73-4769-b7ba-661b18af2d44