2026-05-28 02:03:38,577 - INFO - Domain Default found not creating 2026-05-28 02:03:38,746 - INFO - Project ctest-TestBasicPolicy-88610588 not found, creating it 2026-05-28 02:03:39,198 - INFO - Created Project:ctest-TestBasicPolicy-88610588, ID : 619bfe3e-3326-43a2-8d0c-054f7b2a6797 2026-05-28 02:03:40,688 - INFO - ================================================================================ 2026-05-28 02:03:40,688 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-05-28 02:03:40,688 - 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-05-28 02:03:40,940 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.18': '0'}} with 2026-05-28 02:03:40,940 - INFO - Initial checks done. Running the testcase now 2026-05-28 02:03:40,940 - INFO - 2026-05-28 02:03:41,514 - DEBUG - Response for create_network : {'network': {'id': 'dfde8bcb-47aa-4fc5-a1d4-972a799c0e0a', 'name': 'ctest-vn-29767382', 'tenant_id': '619bfe3e332643a28d0c054f7b2a6797', 'project_id': '619bfe3e332643a28d0c054f7b2a6797', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-88610588', 'ctest-vn-29767382'], 'port_security_enabled': True, 'description': ''}} 2026-05-28 02:03:41,707 - DEBUG - Response for create_subnet : {'subnet': {'id': '8bc81d95-4b4c-4e46-a212-50dabfec1604', 'name': '', 'tenant_id': '619bfe3e332643a28d0c054f7b2a6797', 'network_id': 'dfde8bcb-47aa-4fc5-a1d4-972a799c0e0a', 'ip_version': 4, 'cidr': '191.56.240.128/26', 'allocation_pools': [{'start': '191.56.240.130', 'end': '191.56.240.190'}], 'gateway_ip': '191.56.240.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '191.56.240.130', 'tags': [], 'project_id': '619bfe3e332643a28d0c054f7b2a6797'}} 2026-05-28 02:03:41,727 - INFO - Created VN ctest-vn-29767382 2026-05-28 02:03:41,779 - DEBUG - VN ctest-vn-29767382 UUID is dfde8bcb-47aa-4fc5-a1d4-972a799c0e0a 2026-05-28 02:03:42,074 - DEBUG - Response for create_network : {'network': {'id': '14558c8f-88be-47e8-812e-ed2be08848b3', 'name': 'ctest-vn-35110260', 'tenant_id': '619bfe3e332643a28d0c054f7b2a6797', 'project_id': '619bfe3e332643a28d0c054f7b2a6797', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-88610588', 'ctest-vn-35110260'], 'port_security_enabled': True, 'description': ''}} 2026-05-28 02:03:42,276 - DEBUG - Response for create_subnet : {'subnet': {'id': '094c8b12-cdc3-4e5e-887c-c97613b632ad', 'name': '', 'tenant_id': '619bfe3e332643a28d0c054f7b2a6797', 'network_id': '14558c8f-88be-47e8-812e-ed2be08848b3', 'ip_version': 4, 'cidr': '89.180.72.192/26', 'allocation_pools': [{'start': '89.180.72.194', 'end': '89.180.72.254'}], 'gateway_ip': '89.180.72.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '89.180.72.194', 'tags': [], 'project_id': '619bfe3e332643a28d0c054f7b2a6797'}} 2026-05-28 02:03:42,293 - INFO - Created VN ctest-vn-35110260 2026-05-28 02:03:42,343 - DEBUG - VN ctest-vn-35110260 UUID is 14558c8f-88be-47e8-812e-ed2be08848b3 2026-05-28 02:03:42,460 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-88610588:ctest-vn-29767382, 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-88610588:ctest-vn-35110260, 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-05-28 02:03:42,748 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'dfde8bcb-47aa-4fc5-a1d4-972a799c0e0a', 'name': 'ctest-vn-29767382', 'tenant_id': '619bfe3e332643a28d0c054f7b2a6797', 'project_id': '619bfe3e332643a28d0c054f7b2a6797', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8bc81d95-4b4c-4e46-a212-50dabfec1604'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-88610588', 'ctest-vn-29767382'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-88610588', 'ctest-policy-allow-all-20600607']], 'subnet_ipam': [{'subnet_cidr': '191.56.240.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-28 02:03:42,971 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '14558c8f-88be-47e8-812e-ed2be08848b3', 'name': 'ctest-vn-35110260', 'tenant_id': '619bfe3e332643a28d0c054f7b2a6797', 'project_id': '619bfe3e332643a28d0c054f7b2a6797', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['094c8b12-cdc3-4e5e-887c-c97613b632ad'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-88610588', 'ctest-vn-35110260'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-88610588', 'ctest-policy-allow-all-20600607']], 'subnet_ipam': [{'subnet_cidr': '89.180.72.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-28 02:03:43,131 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2026-05-28 02:03:43,422 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2026-05-28 02:03:43,454 - DEBUG - Requesting: http://10.0.0.65:8082/domain/35f40dc4-ad20-4c6b-9ec4-ae6d5231740e 2026-05-28 02:03:43,466 - DEBUG - Requesting: http://10.0.0.65:8082/project/619bfe3e-3326-43a2-8d0c-054f7b2a6797 2026-05-28 02:03:43,541 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/dfde8bcb-47aa-4fc5-a1d4-972a799c0e0a 2026-05-28 02:03:43,554 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/dfde8bcb-47aa-4fc5-a1d4-972a799c0e0a 2026-05-28 02:03:43,563 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/0a9ddfc3-6ca1-46e5-af0b-4cadfc94290b 2026-05-28 02:03:43,571 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/0a9ddfc3-6ca1-46e5-af0b-4cadfc94290b 2026-05-28 02:03:43,579 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/55ef9958-e046-4ec2-9cfb-61021f6a17ab 2026-05-28 02:03:43,586 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-28 02:03:43,586 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/dfde8bcb-47aa-4fc5-a1d4-972a799c0e0a 2026-05-28 02:03:43,597 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/0a9ddfc3-6ca1-46e5-af0b-4cadfc94290b 2026-05-28 02:03:43,613 - INFO - Verified VN network id 11 for VN dfde8bcb-47aa-4fc5-a1d4-972a799c0e0a 2026-05-28 02:03:43,613 - INFO - Verifications in API Server for VN ctest-vn-29767382 passed 2026-05-28 02:03:43,613 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/dfde8bcb-47aa-4fc5-a1d4-972a799c0e0a 2026-05-28 02:03:43,624 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/0a9ddfc3-6ca1-46e5-af0b-4cadfc94290b 2026-05-28 02:03:43,632 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/0a9ddfc3-6ca1-46e5-af0b-4cadfc94290b 2026-05-28 02:03:43,641 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/55ef9958-e046-4ec2-9cfb-61021f6a17ab 2026-05-28 02:03:43,653 - DEBUG - Control-node 10.0.0.65 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-88610588:ctest-vn-29767382', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-88610588', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16131484620484661189', 'uuid-lslong': '11661111543853747722'}, 'enable': 'true', 'created': '2026-05-28T02:03:41', 'last-modified': '2026-05-28T02:03:42', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.924738'} 2026-05-28 02:03:43,660 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-28 02:03:43,660 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-29767382 passed 2026-05-28 02:03:43,660 - DEBUG - ====Verifying policy data for ctest-vn-29767382 in API_Server ====== 2026-05-28 02:03:43,660 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2026-05-28 02:03:43,665 - DEBUG - Requesting: http://10.0.0.65:8082/domain/35f40dc4-ad20-4c6b-9ec4-ae6d5231740e 2026-05-28 02:03:43,676 - DEBUG - Requesting: http://10.0.0.65:8082/project/619bfe3e-3326-43a2-8d0c-054f7b2a6797 2026-05-28 02:03:43,748 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/dfde8bcb-47aa-4fc5-a1d4-972a799c0e0a 2026-05-28 02:03:43,756 - DEBUG - ==>Verifying data for policy with id: 099e4a6e-79ee-4686-b723-59067bb98ad0, fqn: ['default-domain', 'ctest-TestBasicPolicy-88610588', 'ctest-policy-allow-all-20600607'] 2026-05-28 02:03:43,756 - INFO - VN ctest-vn-29767382 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-28 02:03:43,756 - DEBUG - Verifying the vn in opserver 2026-05-28 02:03:43,756 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-88610588:ctest-vn-29767382 virtual network link through opserver 10.0.0.65 2026-05-28 02:03:43,757 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2026-05-28 02:03:44,047 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2026-05-28 02:03:44,114 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-88610588:ctest-vn-29767382', 'href': 'http://10.0.0.65:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-88610588:ctest-vn-29767382?flat'} 2026-05-28 02:03:44,114 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-88610588:ctest-vn-29767382 is found in opserver 2026-05-28 02:03:44,124 - DEBUG - Do not have enough data to verify VN in agent 2026-05-28 02:03:44,129 - DEBUG - VRF ids for VN ctest-vn-29767382: {} 2026-05-28 02:03:44,129 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2026-05-28 02:03:44,136 - DEBUG - Requesting: http://10.0.0.65:8082/domain/35f40dc4-ad20-4c6b-9ec4-ae6d5231740e 2026-05-28 02:03:44,148 - DEBUG - Requesting: http://10.0.0.65:8082/project/619bfe3e-3326-43a2-8d0c-054f7b2a6797 2026-05-28 02:03:44,218 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/14558c8f-88be-47e8-812e-ed2be08848b3 2026-05-28 02:03:44,230 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/14558c8f-88be-47e8-812e-ed2be08848b3 2026-05-28 02:03:44,242 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/43929d40-ee30-4151-88e6-1cf401e0eea9 2026-05-28 02:03:44,251 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/43929d40-ee30-4151-88e6-1cf401e0eea9 2026-05-28 02:03:44,259 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/16ba8e42-3a83-482d-9e33-2e3699fb1bd3 2026-05-28 02:03:44,267 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-28 02:03:44,267 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/14558c8f-88be-47e8-812e-ed2be08848b3 2026-05-28 02:03:44,276 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/43929d40-ee30-4151-88e6-1cf401e0eea9 2026-05-28 02:03:44,293 - INFO - Verified VN network id 12 for VN 14558c8f-88be-47e8-812e-ed2be08848b3 2026-05-28 02:03:44,293 - INFO - Verifications in API Server for VN ctest-vn-35110260 passed 2026-05-28 02:03:44,293 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/14558c8f-88be-47e8-812e-ed2be08848b3 2026-05-28 02:03:44,303 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/43929d40-ee30-4151-88e6-1cf401e0eea9 2026-05-28 02:03:44,309 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/43929d40-ee30-4151-88e6-1cf401e0eea9 2026-05-28 02:03:44,316 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/16ba8e42-3a83-482d-9e33-2e3699fb1bd3 2026-05-28 02:03:44,328 - DEBUG - Control-node 10.0.0.65 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-88610588:ctest-vn-35110260', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-88610588', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1465231801881348072', 'uuid-lslong': '9308638252527798451'}, 'enable': 'true', 'created': '2026-05-28T02:03:42', 'last-modified': '2026-05-28T02:03:42', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.375998'} 2026-05-28 02:03:44,335 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-28 02:03:44,336 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-35110260 passed 2026-05-28 02:03:44,336 - DEBUG - ====Verifying policy data for ctest-vn-35110260 in API_Server ====== 2026-05-28 02:03:44,336 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2026-05-28 02:03:44,342 - DEBUG - Requesting: http://10.0.0.65:8082/domain/35f40dc4-ad20-4c6b-9ec4-ae6d5231740e 2026-05-28 02:03:44,355 - DEBUG - Requesting: http://10.0.0.65:8082/project/619bfe3e-3326-43a2-8d0c-054f7b2a6797 2026-05-28 02:03:44,425 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/14558c8f-88be-47e8-812e-ed2be08848b3 2026-05-28 02:03:44,436 - DEBUG - ==>Verifying data for policy with id: 099e4a6e-79ee-4686-b723-59067bb98ad0, fqn: ['default-domain', 'ctest-TestBasicPolicy-88610588', 'ctest-policy-allow-all-20600607'] 2026-05-28 02:03:44,436 - INFO - VN ctest-vn-35110260 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-28 02:03:44,436 - DEBUG - Verifying the vn in opserver 2026-05-28 02:03:44,437 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-88610588:ctest-vn-35110260 virtual network link through opserver 10.0.0.65 2026-05-28 02:03:44,437 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2026-05-28 02:03:44,447 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-88610588:ctest-vn-35110260', 'href': 'http://10.0.0.65:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-88610588:ctest-vn-35110260?flat'} 2026-05-28 02:03:44,448 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-88610588:ctest-vn-35110260 is found in opserver 2026-05-28 02:03:44,461 - DEBUG - Do not have enough data to verify VN in agent 2026-05-28 02:03:44,467 - DEBUG - VRF ids for VN ctest-vn-35110260: {} 2026-05-28 02:03:44,526 - DEBUG - Services list from nova: [, , ] 2026-05-28 02:03:45,565 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5837-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5837-1) 2026-05-28 02:03:46,784 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5837-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5837-1) 2026-05-28 02:03:46,784 - INFO - Waiting for VM ctest-TestBasicPolicy-88610588-01604243 to be up.. 2026-05-28 02:03:46,877 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-28 02:03:51,962 - DEBUG - VM is in ACTIVE state now 2026-05-28 02:03:51,962 - INFO - VM name : ctest-TestBasicPolicy-88610588-01604243 2026-05-28 02:03:52,041 - DEBUG - VM ctest-TestBasicPolicy-88610588-01604243 ID is 33060cfc-eff8-4b37-a0bc-ff87149cd080 2026-05-28 02:03:52,066 - DEBUG - VM ctest-TestBasicPolicy-88610588-01604243 launched on Node cn-jenkins-deploy-platform-ansible-os-5837-1 2026-05-28 02:03:52,159 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/33060cfc-eff8-4b37-a0bc-ff87149cd080 2026-05-28 02:03:52,169 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/4b4051ad-ec13-4df7-a50a-e72cc7246a07 2026-05-28 02:03:55,423 - 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 1010ms') 2026-05-28 02:03:55,424 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-88610588-01604243 failed! 2026-05-28 02:03:55,479 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-88610588:ctest-vn-29767382 is 191.56.240.129 and allocation pool is NOT set 2026-05-28 02:03:57,537 - 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=9.12 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.09 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 = 1.089/5.102/9.115/4.013 ms') 2026-05-28 02:03:57,537 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-88610588-01604243 passed 2026-05-28 02:03:57,687 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-28 02:03:57,687 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-88610588-01604243, IP 191.56.240.131, Port 22 2026-05-28 02:03:57,843 - DEBUG - VM ctest-TestBasicPolicy-88610588-01604243 is ready for SSH connections 2026-05-28 02:03:57,843 - INFO - Waiting for VM ctest-TestBasicPolicy-88610588-86599747 to be up.. 2026-05-28 02:03:57,922 - DEBUG - VM is in ACTIVE state now 2026-05-28 02:03:57,922 - INFO - VM name : ctest-TestBasicPolicy-88610588-86599747 2026-05-28 02:03:58,000 - DEBUG - VM ctest-TestBasicPolicy-88610588-86599747 ID is dec30875-3a64-4129-a6b5-ada164242baa 2026-05-28 02:03:58,000 - DEBUG - VM ctest-TestBasicPolicy-88610588-86599747 launched on Node cn-jenkins-deploy-platform-ansible-os-5837-1 2026-05-28 02:03:58,082 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/dec30875-3a64-4129-a6b5-ada164242baa 2026-05-28 02:03:58,089 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/1ecc5252-e063-4e8a-bfdf-78532fab2975 2026-05-28 02:03:59,337 - 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=2.85 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 = 2.828/2.839/2.851/0.011 ms') 2026-05-28 02:03:59,337 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-88610588-86599747 passed 2026-05-28 02:03:59,487 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-28 02:03:59,487 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-88610588-86599747, IP 89.180.72.195, Port 22 2026-05-28 02:03:59,647 - DEBUG - VM ctest-TestBasicPolicy-88610588-86599747 is ready for SSH connections 2026-05-28 02:03:59,647 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-28 02:03:59,647 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 89.180.72.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2026-05-28 02:03:59,647 - DEBUG - ping -s 56 -c 3 -W 1 89.180.72.195 2026-05-28 02:04:03,921 - DEBUG - PING 89.180.72.195 (89.180.72.195): 56 data bytes 64 bytes from 89.180.72.195: seq=0 ttl=63 time=4.459 ms 64 bytes from 89.180.72.195: seq=1 ttl=63 time=1.002 ms 64 bytes from 89.180.72.195: seq=2 ttl=63 time=0.981 ms --- 89.180.72.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.981/2.147/4.459 ms 2026-05-28 02:04:03,921 - INFO - Ping to IP 89.180.72.195 from VM ctest-TestBasicPolicy-88610588-01604243 passed 2026-05-28 02:04:04,103 - DEBUG - Policy Update Response {"network-policy": {"uuid": "099e4a6e-79ee-4686-b723-59067bb98ad0", "href": "http://10.0.0.65:8082/network-policy/099e4a6e-79ee-4686-b723-59067bb98ad0"}} 2026-05-28 02:04:04,103 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-28 02:04:04,103 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 89.180.72.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2026-05-28 02:04:04,103 - DEBUG - ping -s 56 -c 3 -W 1 89.180.72.195 2026-05-28 02:04:07,346 - DEBUG - PING 89.180.72.195 (89.180.72.195): 56 data bytes --- 89.180.72.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-05-28 02:04:07,346 - WARNING - Ping to IP 89.180.72.195 from VM ctest-TestBasicPolicy-88610588-01604243 failed 2026-05-28 02:04:07,347 - INFO - Deleting VM ctest-TestBasicPolicy-88610588-86599747 2026-05-28 02:04:07,422 - INFO - Deleting VM ctest-TestBasicPolicy-88610588-01604243 2026-05-28 02:04:07,831 - INFO - Deleted policy ctest-policy-allow-all-20600607 2026-05-28 02:04:07,832 - INFO - Deleting VN ctest-vn-35110260 2026-05-28 02:04:07,875 - DEBUG - VN 14558c8f-88be-47e8-812e-ed2be08848b3 still in use: Unable to complete operation on network 14558c8f-88be-47e8-812e-ed2be08848b3. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-eecd1925-08c4-4710-a979-0214bfd970d0'] 2026-05-28 02:04:07,875 - WARNING - Deleting VN ctest-vn-35110260 failed..Will retry 2026-05-28 02:04:09,985 - DEBUG - Response for deleting network () 2026-05-28 02:04:09,985 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/43929d40-ee30-4151-88e6-1cf401e0eea9 2026-05-28 02:04:09,991 - DEBUG - Response Code: 404 2026-05-28 02:04:09,992 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2026-05-28 02:04:09,997 - DEBUG - Requesting: http://10.0.0.65:8082/domain/35f40dc4-ad20-4c6b-9ec4-ae6d5231740e 2026-05-28 02:04:10,053 - DEBUG - Requesting: http://10.0.0.65:8082/project/619bfe3e-3326-43a2-8d0c-054f7b2a6797 2026-05-28 02:04:10,128 - INFO - Validated that VN ctest-vn-35110260 is not found in API Server 2026-05-28 02:04:10,138 - DEBUG - VN ctest-vn-35110260 is not present in Agent 10.0.0.65 2026-05-28 02:04:10,138 - INFO - Validated that VN ctest-vn-35110260 is not in any agent 2026-05-28 02:04:10,154 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-35110260 info 2026-05-28 02:04:10,154 - INFO - Deleting VN ctest-vn-29767382 2026-05-28 02:04:10,266 - DEBUG - Response for deleting network () 2026-05-28 02:04:10,266 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/0a9ddfc3-6ca1-46e5-af0b-4cadfc94290b 2026-05-28 02:04:10,276 - DEBUG - Response Code: 404 2026-05-28 02:04:10,276 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2026-05-28 02:04:10,282 - DEBUG - Requesting: http://10.0.0.65:8082/domain/35f40dc4-ad20-4c6b-9ec4-ae6d5231740e 2026-05-28 02:04:10,337 - DEBUG - Requesting: http://10.0.0.65:8082/project/619bfe3e-3326-43a2-8d0c-054f7b2a6797 2026-05-28 02:04:10,414 - INFO - Validated that VN ctest-vn-29767382 is not found in API Server 2026-05-28 02:04:10,424 - DEBUG - VN ctest-vn-29767382 is not present in Agent 10.0.0.65 2026-05-28 02:04:10,425 - INFO - Validated that VN ctest-vn-29767382 is not in any agent 2026-05-28 02:04:10,438 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-29767382 info 2026-05-28 02:04:10,698 - DEBUG - No XMPP flaps were noticed during the test
2026-05-28 02:04:10,698 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2026-05-28 02:04:10,698 - INFO - -------------------------------------------------------------------------------- 2026-05-28 02:04:11,411 - INFO - Deleted project: ctest-TestBasicPolicy-88610588, ID : 619bfe3e-3326-43a2-8d0c-054f7b2a6797