2026-11-27 21:41:08,728 - INFO - Domain Default found not creating 2026-11-27 21:41:08,902 - INFO - Project ctest-TestBasicPolicy-02972941 not found, creating it 2026-11-27 21:41:09,355 - INFO - Created Project:ctest-TestBasicPolicy-02972941, ID : ff8d67a4-4149-45fc-b5a3-3d44a516d2dd 2026-11-27 21:41:10,957 - INFO - ================================================================================ 2026-11-27 21:41:10,958 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-11-27 21:41:10,958 - 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-11-27 21:41:11,211 - DEBUG - Nothing to compare xmpp stats {'10.0.0.163': {'10.20.0.29': '0'}} with 2026-11-27 21:41:11,211 - INFO - Initial checks done. Running the testcase now 2026-11-27 21:41:11,211 - INFO - 2026-11-27 21:41:11,801 - DEBUG - Response for create_network : {'network': {'id': '2d8a86c0-3d62-4987-b726-60e147b3778f', 'name': 'ctest-vn-60250626', 'tenant_id': 'ff8d67a4414945fcb5a33d44a516d2dd', 'project_id': 'ff8d67a4414945fcb5a33d44a516d2dd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02972941', 'ctest-vn-60250626'], 'port_security_enabled': True, 'description': ''}} 2026-11-27 21:41:12,012 - DEBUG - Response for create_subnet : {'subnet': {'id': '07cf0d60-8517-4557-a4d4-0a32d2536ef9', 'name': '', 'tenant_id': 'ff8d67a4414945fcb5a33d44a516d2dd', 'network_id': '2d8a86c0-3d62-4987-b726-60e147b3778f', 'ip_version': 4, 'cidr': '39.99.130.192/26', 'allocation_pools': [{'start': '39.99.130.194', 'end': '39.99.130.254'}], 'gateway_ip': '39.99.130.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '39.99.130.194', 'tags': [], 'project_id': 'ff8d67a4414945fcb5a33d44a516d2dd'}} 2026-11-27 21:41:12,027 - INFO - Created VN ctest-vn-60250626 2026-11-27 21:41:12,077 - DEBUG - VN ctest-vn-60250626 UUID is 2d8a86c0-3d62-4987-b726-60e147b3778f 2026-11-27 21:41:12,378 - DEBUG - Response for create_network : {'network': {'id': 'a21cfc23-8b1d-4fc5-acc9-4532522478bf', 'name': 'ctest-vn-47358888', 'tenant_id': 'ff8d67a4414945fcb5a33d44a516d2dd', 'project_id': 'ff8d67a4414945fcb5a33d44a516d2dd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02972941', 'ctest-vn-47358888'], 'port_security_enabled': True, 'description': ''}} 2026-11-27 21:41:12,592 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f0dfda89-194a-4733-aa34-62a2a72233bf', 'name': '', 'tenant_id': 'ff8d67a4414945fcb5a33d44a516d2dd', 'network_id': 'a21cfc23-8b1d-4fc5-acc9-4532522478bf', 'ip_version': 4, 'cidr': '79.157.214.192/26', 'allocation_pools': [{'start': '79.157.214.194', 'end': '79.157.214.254'}], 'gateway_ip': '79.157.214.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '79.157.214.194', 'tags': [], 'project_id': 'ff8d67a4414945fcb5a33d44a516d2dd'}} 2026-11-27 21:41:12,609 - INFO - Created VN ctest-vn-47358888 2026-11-27 21:41:12,665 - DEBUG - VN ctest-vn-47358888 UUID is a21cfc23-8b1d-4fc5-acc9-4532522478bf 2026-11-27 21:41:12,809 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-02972941:ctest-vn-60250626, 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-02972941:ctest-vn-47358888, 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-11-27 21:41:13,109 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2d8a86c0-3d62-4987-b726-60e147b3778f', 'name': 'ctest-vn-60250626', 'tenant_id': 'ff8d67a4414945fcb5a33d44a516d2dd', 'project_id': 'ff8d67a4414945fcb5a33d44a516d2dd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['07cf0d60-8517-4557-a4d4-0a32d2536ef9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02972941', 'ctest-vn-60250626'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-02972941', 'ctest-policy-allow-all-79713836']], 'subnet_ipam': [{'subnet_cidr': '39.99.130.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-11-27 21:41:13,332 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a21cfc23-8b1d-4fc5-acc9-4532522478bf', 'name': 'ctest-vn-47358888', 'tenant_id': 'ff8d67a4414945fcb5a33d44a516d2dd', 'project_id': 'ff8d67a4414945fcb5a33d44a516d2dd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['f0dfda89-194a-4733-aa34-62a2a72233bf'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02972941', 'ctest-vn-47358888'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-02972941', 'ctest-policy-allow-all-79713836']], 'subnet_ipam': [{'subnet_cidr': '79.157.214.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-11-27 21:41:13,493 - DEBUG - Requesting: http://10.0.0.163:8082/domains 2026-11-27 21:41:13,851 - DEBUG - Requesting: http://10.0.0.163:8082/domains 2026-11-27 21:41:13,875 - DEBUG - Requesting: http://10.0.0.163:8082/domain/a967db48-c8a0-4914-bcc3-0f2db27aabf1 2026-11-27 21:41:13,886 - DEBUG - Requesting: http://10.0.0.163:8082/project/ff8d67a4-4149-45fc-b5a3-3d44a516d2dd 2026-11-27 21:41:13,952 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/2d8a86c0-3d62-4987-b726-60e147b3778f 2026-11-27 21:41:13,962 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/2d8a86c0-3d62-4987-b726-60e147b3778f 2026-11-27 21:41:13,970 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/c2b1a5d6-98c0-4117-a511-2fad36bd50fb 2026-11-27 21:41:13,977 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/c2b1a5d6-98c0-4117-a511-2fad36bd50fb 2026-11-27 21:41:13,982 - DEBUG - Requesting: http://10.0.0.163:8082/route-target/e5be7fc1-2c80-41a8-a250-34bf5af2f584 2026-11-27 21:41:13,987 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-11-27 21:41:13,987 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/2d8a86c0-3d62-4987-b726-60e147b3778f 2026-11-27 21:41:13,994 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/c2b1a5d6-98c0-4117-a511-2fad36bd50fb 2026-11-27 21:41:14,004 - INFO - Verified VN network id 12 for VN 2d8a86c0-3d62-4987-b726-60e147b3778f 2026-11-27 21:41:14,004 - INFO - Verifications in API Server for VN ctest-vn-60250626 passed 2026-11-27 21:41:14,004 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/2d8a86c0-3d62-4987-b726-60e147b3778f 2026-11-27 21:41:14,012 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/c2b1a5d6-98c0-4117-a511-2fad36bd50fb 2026-11-27 21:41:14,017 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/c2b1a5d6-98c0-4117-a511-2fad36bd50fb 2026-11-27 21:41:14,023 - DEBUG - Requesting: http://10.0.0.163:8082/route-target/e5be7fc1-2c80-41a8-a250-34bf5af2f584 2026-11-27 21:41:14,034 - DEBUG - Control-node 10.0.0.163 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-02972941:ctest-vn-60250626', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-02972941', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3281583438714521991', 'uuid-lslong': '13197342278742669199'}, 'enable': 'true', 'created': '2026-11-27T21:41:11', 'last-modified': '2026-11-27T21:41:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.947099'} 2026-11-27 21:41:14,041 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-11-27 21:41:14,041 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-60250626 passed 2026-11-27 21:41:14,041 - DEBUG - ====Verifying policy data for ctest-vn-60250626 in API_Server ====== 2026-11-27 21:41:14,041 - DEBUG - Requesting: http://10.0.0.163:8082/domains 2026-11-27 21:41:14,045 - DEBUG - Requesting: http://10.0.0.163:8082/domain/a967db48-c8a0-4914-bcc3-0f2db27aabf1 2026-11-27 21:41:14,054 - DEBUG - Requesting: http://10.0.0.163:8082/project/ff8d67a4-4149-45fc-b5a3-3d44a516d2dd 2026-11-27 21:41:14,120 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/2d8a86c0-3d62-4987-b726-60e147b3778f 2026-11-27 21:41:14,128 - DEBUG - ==>Verifying data for policy with id: 3df1a952-9975-46a5-bf5b-75d918a150f6, fqn: ['default-domain', 'ctest-TestBasicPolicy-02972941', 'ctest-policy-allow-all-79713836'] 2026-11-27 21:41:14,128 - INFO - VN ctest-vn-60250626 Policy verification: verify_vn_policy_in_api_server, status: True 2026-11-27 21:41:14,128 - DEBUG - Verifying the vn in opserver 2026-11-27 21:41:14,128 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-02972941:ctest-vn-60250626 virtual network link through opserver 10.0.0.163 2026-11-27 21:41:14,128 - DEBUG - Requesting: http://10.0.0.163:8081/analytics/uves/virtual-networks 2026-11-27 21:41:14,489 - DEBUG - Requesting: http://10.0.0.163:8081/analytics/uves/virtual-networks 2026-11-27 21:41:14,533 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-02972941:ctest-vn-60250626', 'href': 'http://10.0.0.163:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-02972941:ctest-vn-60250626?flat'} 2026-11-27 21:41:14,533 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-02972941:ctest-vn-60250626 is found in opserver 2026-11-27 21:41:14,543 - DEBUG - Do not have enough data to verify VN in agent 2026-11-27 21:41:14,546 - DEBUG - VRF ids for VN ctest-vn-60250626: {} 2026-11-27 21:41:14,547 - DEBUG - Requesting: http://10.0.0.163:8082/domains 2026-11-27 21:41:14,551 - DEBUG - Requesting: http://10.0.0.163:8082/domain/a967db48-c8a0-4914-bcc3-0f2db27aabf1 2026-11-27 21:41:14,560 - DEBUG - Requesting: http://10.0.0.163:8082/project/ff8d67a4-4149-45fc-b5a3-3d44a516d2dd 2026-11-27 21:41:14,630 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/a21cfc23-8b1d-4fc5-acc9-4532522478bf 2026-11-27 21:41:14,640 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/a21cfc23-8b1d-4fc5-acc9-4532522478bf 2026-11-27 21:41:14,648 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/3fb1187a-325d-4a9c-bf92-7d291e7ae770 2026-11-27 21:41:14,653 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/3fb1187a-325d-4a9c-bf92-7d291e7ae770 2026-11-27 21:41:14,660 - DEBUG - Requesting: http://10.0.0.163:8082/route-target/6a28fcff-65f5-4ca7-be5c-3f515571ac1c 2026-11-27 21:41:14,666 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-11-27 21:41:14,666 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/a21cfc23-8b1d-4fc5-acc9-4532522478bf 2026-11-27 21:41:14,674 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/3fb1187a-325d-4a9c-bf92-7d291e7ae770 2026-11-27 21:41:14,686 - INFO - Verified VN network id 13 for VN a21cfc23-8b1d-4fc5-acc9-4532522478bf 2026-11-27 21:41:14,686 - INFO - Verifications in API Server for VN ctest-vn-47358888 passed 2026-11-27 21:41:14,686 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/a21cfc23-8b1d-4fc5-acc9-4532522478bf 2026-11-27 21:41:14,694 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/3fb1187a-325d-4a9c-bf92-7d291e7ae770 2026-11-27 21:41:14,700 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/3fb1187a-325d-4a9c-bf92-7d291e7ae770 2026-11-27 21:41:14,705 - DEBUG - Requesting: http://10.0.0.163:8082/route-target/6a28fcff-65f5-4ca7-be5c-3f515571ac1c 2026-11-27 21:41:14,715 - DEBUG - Control-node 10.0.0.163 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-02972941:ctest-vn-47358888', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-02972941', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11681488763080232901', 'uuid-lslong': '12450558727271250111'}, 'enable': 'true', 'created': '2026-11-27T21:41:12', 'last-modified': '2026-11-27T21:41:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.398817'} 2026-11-27 21:41:14,721 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-11-27 21:41:14,721 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-47358888 passed 2026-11-27 21:41:14,721 - DEBUG - ====Verifying policy data for ctest-vn-47358888 in API_Server ====== 2026-11-27 21:41:14,721 - DEBUG - Requesting: http://10.0.0.163:8082/domains 2026-11-27 21:41:14,725 - DEBUG - Requesting: http://10.0.0.163:8082/domain/a967db48-c8a0-4914-bcc3-0f2db27aabf1 2026-11-27 21:41:14,734 - DEBUG - Requesting: http://10.0.0.163:8082/project/ff8d67a4-4149-45fc-b5a3-3d44a516d2dd 2026-11-27 21:41:14,809 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/a21cfc23-8b1d-4fc5-acc9-4532522478bf 2026-11-27 21:41:14,818 - DEBUG - ==>Verifying data for policy with id: 3df1a952-9975-46a5-bf5b-75d918a150f6, fqn: ['default-domain', 'ctest-TestBasicPolicy-02972941', 'ctest-policy-allow-all-79713836'] 2026-11-27 21:41:14,818 - INFO - VN ctest-vn-47358888 Policy verification: verify_vn_policy_in_api_server, status: True 2026-11-27 21:41:14,818 - DEBUG - Verifying the vn in opserver 2026-11-27 21:41:14,818 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-02972941:ctest-vn-47358888 virtual network link through opserver 10.0.0.163 2026-11-27 21:41:14,818 - DEBUG - Requesting: http://10.0.0.163:8081/analytics/uves/virtual-networks 2026-11-27 21:41:14,826 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-02972941:ctest-vn-47358888', 'href': 'http://10.0.0.163:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-02972941:ctest-vn-47358888?flat'} 2026-11-27 21:41:14,826 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-02972941:ctest-vn-47358888 is found in opserver 2026-11-27 21:41:14,835 - DEBUG - Do not have enough data to verify VN in agent 2026-11-27 21:41:14,839 - DEBUG - VRF ids for VN ctest-vn-47358888: {} 2026-11-27 21:41:14,893 - DEBUG - Services list from nova: [, , ] 2026-11-27 21:41:15,254 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6517-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6517-1) 2026-11-27 21:41:15,581 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6517-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6517-1) 2026-11-27 21:41:15,581 - INFO - Waiting for VM ctest-TestBasicPolicy-02972941-04965920 to be up.. 2026-11-27 21:41:15,614 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-27 21:41:20,683 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-27 21:41:25,756 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-27 21:41:30,830 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-27 21:41:35,900 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-27 21:41:40,970 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-27 21:41:46,058 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-27 21:41:51,130 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-27 21:41:56,205 - DEBUG - VM is in ACTIVE state now 2026-11-27 21:41:56,205 - INFO - VM name : ctest-TestBasicPolicy-02972941-04965920 2026-11-27 21:41:56,275 - DEBUG - VM ctest-TestBasicPolicy-02972941-04965920 ID is 6b357c6e-b3fa-47a9-8279-83bb5a348cce 2026-11-27 21:41:56,295 - DEBUG - VM ctest-TestBasicPolicy-02972941-04965920 launched on Node cn-jenkins-deploy-platform-ansible-os-6517-1 2026-11-27 21:41:56,365 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-machine/6b357c6e-b3fa-47a9-8279-83bb5a348cce 2026-11-27 21:41:56,373 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-machine-interface/a9ff8b5e-6fed-4b0b-97f6-144833f9d4ae 2026-11-27 21:41:59,609 - 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=9.63 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 9.630/9.630/9.630/0.000 ms') 2026-11-27 21:41:59,609 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-02972941-04965920 passed 2026-11-27 21:41:59,757 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-27 21:41:59,757 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-02972941-04965920, IP 39.99.130.195, Port 22 2026-11-27 21:41:59,917 - DEBUG - VM ctest-TestBasicPolicy-02972941-04965920 is ready for SSH connections 2026-11-27 21:41:59,917 - INFO - Waiting for VM ctest-TestBasicPolicy-02972941-81518873 to be up.. 2026-11-27 21:41:59,987 - DEBUG - VM is in ACTIVE state now 2026-11-27 21:41:59,987 - INFO - VM name : ctest-TestBasicPolicy-02972941-81518873 2026-11-27 21:42:00,058 - DEBUG - VM ctest-TestBasicPolicy-02972941-81518873 ID is dda081fe-d64c-4240-af82-27fd80d7701b 2026-11-27 21:42:00,058 - DEBUG - VM ctest-TestBasicPolicy-02972941-81518873 launched on Node cn-jenkins-deploy-platform-ansible-os-6517-1 2026-11-27 21:42:00,149 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-machine/dda081fe-d64c-4240-af82-27fd80d7701b 2026-11-27 21:42:00,156 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-machine-interface/bbfa266a-dfc8-440e-8cf0-4656e867b084 2026-11-27 21:42:01,387 - 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=8.39 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.51 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 1.505/4.946/8.388/3.441 ms') 2026-11-27 21:42:01,387 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-02972941-81518873 passed 2026-11-27 21:42:01,533 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-27 21:42:01,533 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-02972941-81518873, IP 79.157.214.195, Port 22 2026-11-27 21:42:01,692 - DEBUG - VM ctest-TestBasicPolicy-02972941-81518873 is ready for SSH connections 2026-11-27 21:42:01,692 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-27 21:42:01,692 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 79.157.214.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.163, gateway password: c0ntrail123 2026-11-27 21:42:01,692 - DEBUG - ping -s 56 -c 3 -W 1 79.157.214.195 2026-11-27 21:42:05,588 - DEBUG - PING 79.157.214.195 (79.157.214.195): 56 data bytes 64 bytes from 79.157.214.195: seq=0 ttl=63 time=3.768 ms 64 bytes from 79.157.214.195: seq=1 ttl=63 time=0.745 ms 64 bytes from 79.157.214.195: seq=2 ttl=63 time=1.060 ms --- 79.157.214.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.745/1.857/3.768 ms 2026-11-27 21:42:05,588 - INFO - Ping to IP 79.157.214.195 from VM ctest-TestBasicPolicy-02972941-04965920 passed 2026-11-27 21:42:05,761 - DEBUG - Policy Update Response {"network-policy": {"uuid": "3df1a952-9975-46a5-bf5b-75d918a150f6", "href": "http://10.0.0.163:8082/network-policy/3df1a952-9975-46a5-bf5b-75d918a150f6"}} 2026-11-27 21:42:05,761 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-27 21:42:05,761 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 79.157.214.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.163, gateway password: c0ntrail123 2026-11-27 21:42:05,761 - DEBUG - ping -s 56 -c 3 -W 1 79.157.214.195 2026-11-27 21:42:08,890 - DEBUG - PING 79.157.214.195 (79.157.214.195): 56 data bytes 64 bytes from 79.157.214.195: seq=0 ttl=63 time=1.330 ms --- 79.157.214.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.330/1.330/1.330 ms 2026-11-27 21:42:08,890 - WARNING - Ping to IP 79.157.214.195 from VM ctest-TestBasicPolicy-02972941-04965920 failed 2026-11-27 21:42:08,890 - INFO - Deleting VM ctest-TestBasicPolicy-02972941-81518873 2026-11-27 21:42:08,957 - INFO - Deleting VM ctest-TestBasicPolicy-02972941-04965920 2026-11-27 21:42:09,290 - INFO - Deleted policy ctest-policy-allow-all-79713836 2026-11-27 21:42:09,290 - INFO - Deleting VN ctest-vn-47358888 2026-11-27 21:42:09,321 - DEBUG - VN a21cfc23-8b1d-4fc5-acc9-4532522478bf still in use: Unable to complete operation on network a21cfc23-8b1d-4fc5-acc9-4532522478bf. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-51490216-485b-4334-b3a7-8e97d21f7307'] 2026-11-27 21:42:09,321 - WARNING - Deleting VN ctest-vn-47358888 failed..Will retry 2026-11-27 21:42:11,350 - DEBUG - VN a21cfc23-8b1d-4fc5-acc9-4532522478bf still in use: Unable to complete operation on network a21cfc23-8b1d-4fc5-acc9-4532522478bf. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-70479b89-049b-4dc9-ac49-7f39d14cd0fe'] 2026-11-27 21:42:11,350 - WARNING - Deleting VN ctest-vn-47358888 failed..Will retry 2026-11-27 21:42:13,428 - DEBUG - Response for deleting network () 2026-11-27 21:42:13,428 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/3fb1187a-325d-4a9c-bf92-7d291e7ae770 2026-11-27 21:42:13,431 - DEBUG - Response Code: 404 2026-11-27 21:42:13,432 - DEBUG - Requesting: http://10.0.0.163:8082/domains 2026-11-27 21:42:13,437 - DEBUG - Requesting: http://10.0.0.163:8082/domain/a967db48-c8a0-4914-bcc3-0f2db27aabf1 2026-11-27 21:42:13,490 - DEBUG - Requesting: http://10.0.0.163:8082/project/ff8d67a4-4149-45fc-b5a3-3d44a516d2dd 2026-11-27 21:42:13,559 - INFO - Validated that VN ctest-vn-47358888 is not found in API Server 2026-11-27 21:42:13,570 - DEBUG - VN ctest-vn-47358888 is not present in Agent 10.0.0.163 2026-11-27 21:42:13,571 - INFO - Validated that VN ctest-vn-47358888 is not in any agent 2026-11-27 21:42:13,585 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-47358888 info 2026-11-27 21:42:13,585 - INFO - Deleting VN ctest-vn-60250626 2026-11-27 21:42:13,790 - DEBUG - Response for deleting network () 2026-11-27 21:42:13,790 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/c2b1a5d6-98c0-4117-a511-2fad36bd50fb 2026-11-27 21:42:13,794 - DEBUG - Response Code: 404 2026-11-27 21:42:13,795 - DEBUG - Requesting: http://10.0.0.163:8082/domains 2026-11-27 21:42:13,799 - DEBUG - Requesting: http://10.0.0.163:8082/domain/a967db48-c8a0-4914-bcc3-0f2db27aabf1 2026-11-27 21:42:13,850 - DEBUG - Requesting: http://10.0.0.163:8082/project/ff8d67a4-4149-45fc-b5a3-3d44a516d2dd 2026-11-27 21:42:13,926 - INFO - Validated that VN ctest-vn-60250626 is not found in API Server 2026-11-27 21:42:13,937 - DEBUG - VN ctest-vn-60250626 is not present in Agent 10.0.0.163 2026-11-27 21:42:13,937 - INFO - Validated that VN ctest-vn-60250626 is not in any agent 2026-11-27 21:42:13,954 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-60250626 info 2026-11-27 21:42:14,205 - DEBUG - No XMPP flaps were noticed during the test
2026-11-27 21:42:14,205 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:04]
2026-11-27 21:42:14,205 - INFO - -------------------------------------------------------------------------------- 2026-11-27 21:42:15,002 - INFO - Deleted project: ctest-TestBasicPolicy-02972941, ID : ff8d67a4-4149-45fc-b5a3-3d44a516d2dd