2026-07-05 02:31:37,386 - INFO - Domain Default found not creating 2026-07-05 02:31:37,556 - INFO - Project ctest-TestBasicPolicy-02808415 not found, creating it 2026-07-05 02:31:38,138 - INFO - Created Project:ctest-TestBasicPolicy-02808415, ID : a06e51a4-614d-430c-8c4d-4cc905dd1693 2026-07-05 02:31:39,659 - INFO - ================================================================================ 2026-07-05 02:31:39,660 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-07-05 02:31:39,660 - 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-07-05 02:31:39,913 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-07-05 02:31:39,913 - INFO - Initial checks done. Running the testcase now 2026-07-05 02:31:39,913 - INFO - 2026-07-05 02:31:40,488 - DEBUG - Response for create_network : {'network': {'id': '535f5424-dcb9-49c6-b2a4-8d89d38d74e8', 'name': 'ctest-vn-35847774', 'tenant_id': 'a06e51a4614d430c8c4d4cc905dd1693', 'project_id': 'a06e51a4614d430c8c4d4cc905dd1693', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02808415', 'ctest-vn-35847774'], 'port_security_enabled': True, 'description': ''}} 2026-07-05 02:31:40,676 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ee29d79d-ac5e-4f2f-9151-e8d6837ca293', 'name': '', 'tenant_id': 'a06e51a4614d430c8c4d4cc905dd1693', 'network_id': '535f5424-dcb9-49c6-b2a4-8d89d38d74e8', 'ip_version': 4, 'cidr': '54.40.66.192/26', 'allocation_pools': [{'start': '54.40.66.194', 'end': '54.40.66.254'}], 'gateway_ip': '54.40.66.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '54.40.66.194', 'tags': [], 'project_id': 'a06e51a4614d430c8c4d4cc905dd1693'}} 2026-07-05 02:31:40,691 - INFO - Created VN ctest-vn-35847774 2026-07-05 02:31:40,740 - DEBUG - VN ctest-vn-35847774 UUID is 535f5424-dcb9-49c6-b2a4-8d89d38d74e8 2026-07-05 02:31:41,042 - DEBUG - Response for create_network : {'network': {'id': '5f960f28-29b2-4423-b794-6a49b964cde9', 'name': 'ctest-vn-98893537', 'tenant_id': 'a06e51a4614d430c8c4d4cc905dd1693', 'project_id': 'a06e51a4614d430c8c4d4cc905dd1693', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02808415', 'ctest-vn-98893537'], 'port_security_enabled': True, 'description': ''}} 2026-07-05 02:31:41,189 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c40da9e1-07e3-4ef0-ad93-4c60e98ab160', 'name': '', 'tenant_id': 'a06e51a4614d430c8c4d4cc905dd1693', 'network_id': '5f960f28-29b2-4423-b794-6a49b964cde9', 'ip_version': 4, 'cidr': '87.227.45.192/26', 'allocation_pools': [{'start': '87.227.45.194', 'end': '87.227.45.254'}], 'gateway_ip': '87.227.45.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '87.227.45.194', 'tags': [], 'project_id': 'a06e51a4614d430c8c4d4cc905dd1693'}} 2026-07-05 02:31:41,202 - INFO - Created VN ctest-vn-98893537 2026-07-05 02:31:41,252 - DEBUG - VN ctest-vn-98893537 UUID is 5f960f28-29b2-4423-b794-6a49b964cde9 2026-07-05 02:31:41,369 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-02808415:ctest-vn-35847774, 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-02808415:ctest-vn-98893537, 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-07-05 02:31:41,657 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '535f5424-dcb9-49c6-b2a4-8d89d38d74e8', 'name': 'ctest-vn-35847774', 'tenant_id': 'a06e51a4614d430c8c4d4cc905dd1693', 'project_id': 'a06e51a4614d430c8c4d4cc905dd1693', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ee29d79d-ac5e-4f2f-9151-e8d6837ca293'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02808415', 'ctest-vn-35847774'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-02808415', 'ctest-policy-allow-all-58794281']], 'subnet_ipam': [{'subnet_cidr': '54.40.66.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-07-05 02:31:41,887 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5f960f28-29b2-4423-b794-6a49b964cde9', 'name': 'ctest-vn-98893537', 'tenant_id': 'a06e51a4614d430c8c4d4cc905dd1693', 'project_id': 'a06e51a4614d430c8c4d4cc905dd1693', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c40da9e1-07e3-4ef0-ad93-4c60e98ab160'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02808415', 'ctest-vn-98893537'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-02808415', 'ctest-policy-allow-all-58794281']], 'subnet_ipam': [{'subnet_cidr': '87.227.45.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-07-05 02:31:42,040 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-07-05 02:31:42,376 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-07-05 02:31:42,704 - DEBUG - Requesting: http://10.0.0.50:8082/domain/b9b5b983-2787-4ca1-b56f-d52598b07a92 2026-07-05 02:31:42,716 - DEBUG - Requesting: http://10.0.0.50:8082/project/a06e51a4-614d-430c-8c4d-4cc905dd1693 2026-07-05 02:31:42,800 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/535f5424-dcb9-49c6-b2a4-8d89d38d74e8 2026-07-05 02:31:42,811 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/535f5424-dcb9-49c6-b2a4-8d89d38d74e8 2026-07-05 02:31:42,819 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/acdb1bcc-d3e3-47d8-8614-c7e0ef853116 2026-07-05 02:31:42,826 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/acdb1bcc-d3e3-47d8-8614-c7e0ef853116 2026-07-05 02:31:42,832 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/373efd51-97ba-4183-802b-a3551a800f90 2026-07-05 02:31:42,837 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-07-05 02:31:42,838 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/535f5424-dcb9-49c6-b2a4-8d89d38d74e8 2026-07-05 02:31:42,846 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/acdb1bcc-d3e3-47d8-8614-c7e0ef853116 2026-07-05 02:31:42,859 - INFO - Verified VN network id 12 for VN 535f5424-dcb9-49c6-b2a4-8d89d38d74e8 2026-07-05 02:31:42,859 - INFO - Verifications in API Server for VN ctest-vn-35847774 passed 2026-07-05 02:31:42,859 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/535f5424-dcb9-49c6-b2a4-8d89d38d74e8 2026-07-05 02:31:42,868 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/acdb1bcc-d3e3-47d8-8614-c7e0ef853116 2026-07-05 02:31:42,874 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/acdb1bcc-d3e3-47d8-8614-c7e0ef853116 2026-07-05 02:31:42,880 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/373efd51-97ba-4183-802b-a3551a800f90 2026-07-05 02:31:42,891 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-02808415:ctest-vn-35847774', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-02808415', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6007612945234217414', 'uuid-lslong': '12872569258031019240'}, 'enable': 'true', 'created': '2026-07-05T02:31:40', 'last-modified': '2026-07-05T02:31:41', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.260570'} 2026-07-05 02:31:42,896 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-07-05 02:31:42,896 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-35847774 passed 2026-07-05 02:31:42,897 - DEBUG - ====Verifying policy data for ctest-vn-35847774 in API_Server ====== 2026-07-05 02:31:42,897 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-07-05 02:31:42,901 - DEBUG - Requesting: http://10.0.0.50:8082/domain/b9b5b983-2787-4ca1-b56f-d52598b07a92 2026-07-05 02:31:42,911 - DEBUG - Requesting: http://10.0.0.50:8082/project/a06e51a4-614d-430c-8c4d-4cc905dd1693 2026-07-05 02:31:42,983 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/535f5424-dcb9-49c6-b2a4-8d89d38d74e8 2026-07-05 02:31:42,991 - DEBUG - ==>Verifying data for policy with id: 46829de8-49f2-4012-9c75-4560f2b1ecc0, fqn: ['default-domain', 'ctest-TestBasicPolicy-02808415', 'ctest-policy-allow-all-58794281'] 2026-07-05 02:31:42,991 - INFO - VN ctest-vn-35847774 Policy verification: verify_vn_policy_in_api_server, status: True 2026-07-05 02:31:42,991 - DEBUG - Verifying the vn in opserver 2026-07-05 02:31:42,991 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-02808415:ctest-vn-35847774 virtual network link through opserver 10.0.0.50 2026-07-05 02:31:42,991 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-07-05 02:31:43,389 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-07-05 02:31:43,450 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-02808415:ctest-vn-35847774', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-02808415:ctest-vn-35847774?flat'} 2026-07-05 02:31:43,450 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-02808415:ctest-vn-35847774 is found in opserver 2026-07-05 02:31:43,459 - DEBUG - Do not have enough data to verify VN in agent 2026-07-05 02:31:43,463 - DEBUG - VRF ids for VN ctest-vn-35847774: {} 2026-07-05 02:31:43,464 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-07-05 02:31:43,468 - DEBUG - Requesting: http://10.0.0.50:8082/domain/b9b5b983-2787-4ca1-b56f-d52598b07a92 2026-07-05 02:31:43,479 - DEBUG - Requesting: http://10.0.0.50:8082/project/a06e51a4-614d-430c-8c4d-4cc905dd1693 2026-07-05 02:31:43,544 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5f960f28-29b2-4423-b794-6a49b964cde9 2026-07-05 02:31:43,554 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5f960f28-29b2-4423-b794-6a49b964cde9 2026-07-05 02:31:43,563 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/24513c44-de37-44b6-980f-828425021e52 2026-07-05 02:31:43,569 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/24513c44-de37-44b6-980f-828425021e52 2026-07-05 02:31:43,576 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/e899d49e-3af1-4d92-93e1-0469f9655bc9 2026-07-05 02:31:43,582 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-07-05 02:31:43,582 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5f960f28-29b2-4423-b794-6a49b964cde9 2026-07-05 02:31:43,590 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/24513c44-de37-44b6-980f-828425021e52 2026-07-05 02:31:43,603 - INFO - Verified VN network id 13 for VN 5f960f28-29b2-4423-b794-6a49b964cde9 2026-07-05 02:31:43,603 - INFO - Verifications in API Server for VN ctest-vn-98893537 passed 2026-07-05 02:31:43,603 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5f960f28-29b2-4423-b794-6a49b964cde9 2026-07-05 02:31:43,611 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/24513c44-de37-44b6-980f-828425021e52 2026-07-05 02:31:43,618 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/24513c44-de37-44b6-980f-828425021e52 2026-07-05 02:31:43,625 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/e899d49e-3af1-4d92-93e1-0469f9655bc9 2026-07-05 02:31:43,635 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-02808415:ctest-vn-98893537', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-02808415', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6887709345282409507', 'uuid-lslong': '13228314870369537513'}, 'enable': 'true', 'created': '2026-07-05T02:31:41', 'last-modified': '2026-07-05T02:31:41', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.768675'} 2026-07-05 02:31:43,641 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-07-05 02:31:43,641 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-98893537 passed 2026-07-05 02:31:43,641 - DEBUG - ====Verifying policy data for ctest-vn-98893537 in API_Server ====== 2026-07-05 02:31:43,641 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-07-05 02:31:43,648 - DEBUG - Requesting: http://10.0.0.50:8082/domain/b9b5b983-2787-4ca1-b56f-d52598b07a92 2026-07-05 02:31:43,659 - DEBUG - Requesting: http://10.0.0.50:8082/project/a06e51a4-614d-430c-8c4d-4cc905dd1693 2026-07-05 02:31:43,733 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5f960f28-29b2-4423-b794-6a49b964cde9 2026-07-05 02:31:43,742 - DEBUG - ==>Verifying data for policy with id: 46829de8-49f2-4012-9c75-4560f2b1ecc0, fqn: ['default-domain', 'ctest-TestBasicPolicy-02808415', 'ctest-policy-allow-all-58794281'] 2026-07-05 02:31:43,742 - INFO - VN ctest-vn-98893537 Policy verification: verify_vn_policy_in_api_server, status: True 2026-07-05 02:31:43,742 - DEBUG - Verifying the vn in opserver 2026-07-05 02:31:43,742 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-02808415:ctest-vn-98893537 virtual network link through opserver 10.0.0.50 2026-07-05 02:31:43,742 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-07-05 02:31:43,752 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-02808415:ctest-vn-98893537', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-02808415:ctest-vn-98893537?flat'} 2026-07-05 02:31:43,752 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-02808415:ctest-vn-98893537 is found in opserver 2026-07-05 02:31:43,762 - DEBUG - Do not have enough data to verify VN in agent 2026-07-05 02:31:43,766 - DEBUG - VRF ids for VN ctest-vn-98893537: {} 2026-07-05 02:31:43,831 - DEBUG - Services list from nova: [, , ] 2026-07-05 02:31:44,134 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6080-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6080-1) 2026-07-05 02:31:44,506 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6080-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6080-1) 2026-07-05 02:31:44,507 - INFO - Waiting for VM ctest-TestBasicPolicy-02808415-21618076 to be up.. 2026-07-05 02:31:44,550 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-05 02:31:49,619 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-05 02:31:54,692 - DEBUG - VM is in ACTIVE state now 2026-07-05 02:31:54,692 - INFO - VM name : ctest-TestBasicPolicy-02808415-21618076 2026-07-05 02:31:54,756 - DEBUG - VM ctest-TestBasicPolicy-02808415-21618076 ID is f9d34bf9-0e0c-4f91-890a-91b83332c9cb 2026-07-05 02:31:54,774 - DEBUG - VM ctest-TestBasicPolicy-02808415-21618076 launched on Node cn-jenkins-deploy-platform-ansible-os-6080-1 2026-07-05 02:31:54,845 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/f9d34bf9-0e0c-4f91-890a-91b83332c9cb 2026-07-05 02:31:54,855 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/c4eb8317-f07c-46e2-9728-88617c39fa94 2026-07-05 02:31:58,099 - 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-07-05 02:31:58,100 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-02808415-21618076 failed! 2026-07-05 02:31:58,156 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-02808415:ctest-vn-35847774 is 54.40.66.193 and allocation pool is NOT set 2026-07-05 02:32:02,232 - 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=2 ttl=63 time=8.04 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1019ms\r\nrtt min/avg/max/mdev = 8.037/8.037/8.037/0.000 ms') 2026-07-05 02:32:02,232 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-02808415-21618076 passed 2026-07-05 02:32:02,380 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-05 02:32:02,380 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-02808415-21618076, IP 54.40.66.195, Port 22 2026-07-05 02:32:02,550 - DEBUG - VM ctest-TestBasicPolicy-02808415-21618076 is ready for SSH connections 2026-07-05 02:32:02,550 - INFO - Waiting for VM ctest-TestBasicPolicy-02808415-98528759 to be up.. 2026-07-05 02:32:02,630 - DEBUG - VM is in ACTIVE state now 2026-07-05 02:32:02,630 - INFO - VM name : ctest-TestBasicPolicy-02808415-98528759 2026-07-05 02:32:02,699 - DEBUG - VM ctest-TestBasicPolicy-02808415-98528759 ID is e0deec5e-206a-4279-bfc8-058d27f0242d 2026-07-05 02:32:02,699 - DEBUG - VM ctest-TestBasicPolicy-02808415-98528759 launched on Node cn-jenkins-deploy-platform-ansible-os-6080-1 2026-07-05 02:32:02,775 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/e0deec5e-206a-4279-bfc8-058d27f0242d 2026-07-05 02:32:02,783 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/a1b82edd-fed2-4021-a7da-1db902267b77 2026-07-05 02:32:04,024 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=3.07 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.605 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.605/1.838/3.071/1.233 ms') 2026-07-05 02:32:04,024 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-02808415-98528759 passed 2026-07-05 02:32:04,188 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-05 02:32:04,188 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-02808415-98528759, IP 87.227.45.195, Port 22 2026-07-05 02:32:04,348 - DEBUG - VM ctest-TestBasicPolicy-02808415-98528759 is ready for SSH connections 2026-07-05 02:32:04,348 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-05 02:32:04,348 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 87.227.45.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-07-05 02:32:04,348 - DEBUG - ping -s 56 -c 3 -W 1 87.227.45.195 2026-07-05 02:32:08,245 - DEBUG - PING 87.227.45.195 (87.227.45.195): 56 data bytes 64 bytes from 87.227.45.195: seq=0 ttl=63 time=4.199 ms 64 bytes from 87.227.45.195: seq=1 ttl=63 time=1.611 ms 64 bytes from 87.227.45.195: seq=2 ttl=63 time=1.248 ms --- 87.227.45.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.248/2.352/4.199 ms 2026-07-05 02:32:08,245 - INFO - Ping to IP 87.227.45.195 from VM ctest-TestBasicPolicy-02808415-21618076 passed 2026-07-05 02:32:08,424 - DEBUG - Policy Update Response {"network-policy": {"uuid": "46829de8-49f2-4012-9c75-4560f2b1ecc0", "href": "http://10.0.0.50:8082/network-policy/46829de8-49f2-4012-9c75-4560f2b1ecc0"}} 2026-07-05 02:32:08,424 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-05 02:32:08,424 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 87.227.45.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-07-05 02:32:08,424 - DEBUG - ping -s 56 -c 3 -W 1 87.227.45.195 2026-07-05 02:32:11,546 - DEBUG - PING 87.227.45.195 (87.227.45.195): 56 data bytes --- 87.227.45.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-07-05 02:32:11,546 - WARNING - Ping to IP 87.227.45.195 from VM ctest-TestBasicPolicy-02808415-21618076 failed 2026-07-05 02:32:11,546 - INFO - Deleting VM ctest-TestBasicPolicy-02808415-98528759 2026-07-05 02:32:11,616 - INFO - Deleting VM ctest-TestBasicPolicy-02808415-21618076 2026-07-05 02:32:11,957 - INFO - Deleted policy ctest-policy-allow-all-58794281 2026-07-05 02:32:11,957 - INFO - Deleting VN ctest-vn-98893537 2026-07-05 02:32:11,989 - DEBUG - VN 5f960f28-29b2-4423-b794-6a49b964cde9 still in use: Unable to complete operation on network 5f960f28-29b2-4423-b794-6a49b964cde9. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3eff4dc6-c6ac-4b90-901e-b1cbfdb78ef6'] 2026-07-05 02:32:11,989 - WARNING - Deleting VN ctest-vn-98893537 failed..Will retry 2026-07-05 02:32:14,086 - DEBUG - Response for deleting network () 2026-07-05 02:32:14,086 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/24513c44-de37-44b6-980f-828425021e52 2026-07-05 02:32:14,091 - DEBUG - Response Code: 404 2026-07-05 02:32:14,091 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-07-05 02:32:14,095 - DEBUG - Requesting: http://10.0.0.50:8082/domain/b9b5b983-2787-4ca1-b56f-d52598b07a92 2026-07-05 02:32:14,149 - DEBUG - Requesting: http://10.0.0.50:8082/project/a06e51a4-614d-430c-8c4d-4cc905dd1693 2026-07-05 02:32:14,219 - INFO - Validated that VN ctest-vn-98893537 is not found in API Server 2026-07-05 02:32:14,228 - DEBUG - VN ctest-vn-98893537 is not present in Agent 10.0.0.50 2026-07-05 02:32:14,229 - INFO - Validated that VN ctest-vn-98893537 is not in any agent 2026-07-05 02:32:14,245 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-98893537 info 2026-07-05 02:32:14,245 - INFO - Deleting VN ctest-vn-35847774 2026-07-05 02:32:14,350 - DEBUG - Response for deleting network () 2026-07-05 02:32:14,351 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/acdb1bcc-d3e3-47d8-8614-c7e0ef853116 2026-07-05 02:32:14,356 - DEBUG - Response Code: 404 2026-07-05 02:32:14,356 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-07-05 02:32:14,362 - DEBUG - Requesting: http://10.0.0.50:8082/domain/b9b5b983-2787-4ca1-b56f-d52598b07a92 2026-07-05 02:32:14,418 - DEBUG - Requesting: http://10.0.0.50:8082/project/a06e51a4-614d-430c-8c4d-4cc905dd1693 2026-07-05 02:32:14,488 - INFO - Validated that VN ctest-vn-35847774 is not found in API Server 2026-07-05 02:32:14,497 - DEBUG - VN ctest-vn-35847774 is not present in Agent 10.0.0.50 2026-07-05 02:32:14,497 - INFO - Validated that VN ctest-vn-35847774 is not in any agent 2026-07-05 02:32:14,510 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-35847774 info 2026-07-05 02:32:14,769 - DEBUG - No XMPP flaps were noticed during the test
2026-07-05 02:32:14,769 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35]
2026-07-05 02:32:14,770 - INFO - -------------------------------------------------------------------------------- 2026-07-05 02:32:15,475 - INFO - Deleted project: ctest-TestBasicPolicy-02808415, ID : a06e51a4-614d-430c-8c4d-4cc905dd1693