2026-09-03 11:58:09,022 - INFO - Domain Default found not creating 2026-09-03 11:58:09,246 - INFO - Project ctest-TestBasicPolicy-06116041 not found, creating it 2026-09-03 11:58:09,840 - INFO - Created Project:ctest-TestBasicPolicy-06116041, ID : 04efc2eb-3008-48d4-bca4-4e1f03113482 2026-09-03 11:58:12,547 - INFO - ================================================================================ 2026-09-03 11:58:12,548 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-09-03 11:58:12,548 - 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-09-03 11:58:12,833 - DEBUG - Nothing to compare xmpp stats {'10.0.0.162': {'10.20.0.14': '0'}} with 2026-09-03 11:58:12,833 - INFO - Initial checks done. Running the testcase now 2026-09-03 11:58:12,833 - INFO - 2026-09-03 11:58:13,567 - DEBUG - Response for create_network : {'network': {'id': '003029e3-a22b-4f32-ba21-c3567abfe506', 'name': 'ctest-vn-00781226', 'tenant_id': '04efc2eb300848d4bca44e1f03113482', 'project_id': '04efc2eb300848d4bca44e1f03113482', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06116041', 'ctest-vn-00781226'], 'port_security_enabled': True, 'description': ''}} 2026-09-03 11:58:13,791 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f08333e2-7aef-4c04-aef7-56d467458f40', 'name': '', 'tenant_id': '04efc2eb300848d4bca44e1f03113482', 'network_id': '003029e3-a22b-4f32-ba21-c3567abfe506', 'ip_version': 4, 'cidr': '47.191.231.128/26', 'allocation_pools': [{'start': '47.191.231.130', 'end': '47.191.231.190'}], 'gateway_ip': '47.191.231.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '47.191.231.130', 'tags': [], 'project_id': '04efc2eb300848d4bca44e1f03113482'}} 2026-09-03 11:58:13,815 - INFO - Created VN ctest-vn-00781226 2026-09-03 11:58:13,875 - DEBUG - VN ctest-vn-00781226 UUID is 003029e3-a22b-4f32-ba21-c3567abfe506 2026-09-03 11:58:14,240 - DEBUG - Response for create_network : {'network': {'id': 'f67f752b-c322-4ace-91c2-584b22d38517', 'name': 'ctest-vn-65190962', 'tenant_id': '04efc2eb300848d4bca44e1f03113482', 'project_id': '04efc2eb300848d4bca44e1f03113482', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06116041', 'ctest-vn-65190962'], 'port_security_enabled': True, 'description': ''}} 2026-09-03 11:58:14,474 - DEBUG - Response for create_subnet : {'subnet': {'id': '7a6c7403-60eb-4173-b70c-0785be774919', 'name': '', 'tenant_id': '04efc2eb300848d4bca44e1f03113482', 'network_id': 'f67f752b-c322-4ace-91c2-584b22d38517', 'ip_version': 4, 'cidr': '63.187.153.64/26', 'allocation_pools': [{'start': '63.187.153.66', 'end': '63.187.153.126'}], 'gateway_ip': '63.187.153.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '63.187.153.66', 'tags': [], 'project_id': '04efc2eb300848d4bca44e1f03113482'}} 2026-09-03 11:58:14,495 - INFO - Created VN ctest-vn-65190962 2026-09-03 11:58:14,550 - DEBUG - VN ctest-vn-65190962 UUID is f67f752b-c322-4ace-91c2-584b22d38517 2026-09-03 11:58:14,681 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-06116041:ctest-vn-00781226, 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-06116041:ctest-vn-65190962, 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-09-03 11:58:15,039 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '003029e3-a22b-4f32-ba21-c3567abfe506', 'name': 'ctest-vn-00781226', 'tenant_id': '04efc2eb300848d4bca44e1f03113482', 'project_id': '04efc2eb300848d4bca44e1f03113482', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['f08333e2-7aef-4c04-aef7-56d467458f40'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06116041', 'ctest-vn-00781226'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-06116041', 'ctest-policy-allow-all-18845912']], 'subnet_ipam': [{'subnet_cidr': '47.191.231.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-09-03 11:58:15,315 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f67f752b-c322-4ace-91c2-584b22d38517', 'name': 'ctest-vn-65190962', 'tenant_id': '04efc2eb300848d4bca44e1f03113482', 'project_id': '04efc2eb300848d4bca44e1f03113482', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['7a6c7403-60eb-4173-b70c-0785be774919'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06116041', 'ctest-vn-65190962'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-06116041', 'ctest-policy-allow-all-18845912']], 'subnet_ipam': [{'subnet_cidr': '63.187.153.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-09-03 11:58:15,491 - DEBUG - Requesting: http://10.0.0.162:8082/domains 2026-09-03 11:58:15,865 - DEBUG - Requesting: http://10.0.0.162:8082/domains 2026-09-03 11:58:15,903 - DEBUG - Requesting: http://10.0.0.162:8082/domain/e5ce8e97-353b-4dcd-b783-44e78990d6ab 2026-09-03 11:58:15,923 - DEBUG - Requesting: http://10.0.0.162:8082/project/04efc2eb-3008-48d4-bca4-4e1f03113482 2026-09-03 11:58:16,016 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/003029e3-a22b-4f32-ba21-c3567abfe506 2026-09-03 11:58:16,035 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/003029e3-a22b-4f32-ba21-c3567abfe506 2026-09-03 11:58:16,048 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/682d2fa1-ea06-43ff-8276-cd0ba90bb7ae 2026-09-03 11:58:16,059 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/682d2fa1-ea06-43ff-8276-cd0ba90bb7ae 2026-09-03 11:58:16,070 - DEBUG - Requesting: http://10.0.0.162:8082/route-target/371df0a3-1a5b-44c0-8a9b-8529a15c876c 2026-09-03 11:58:16,080 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-03 11:58:16,080 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/003029e3-a22b-4f32-ba21-c3567abfe506 2026-09-03 11:58:16,093 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/682d2fa1-ea06-43ff-8276-cd0ba90bb7ae 2026-09-03 11:58:16,114 - INFO - Verified VN network id 12 for VN 003029e3-a22b-4f32-ba21-c3567abfe506 2026-09-03 11:58:16,116 - INFO - Verifications in API Server for VN ctest-vn-00781226 passed 2026-09-03 11:58:16,116 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/003029e3-a22b-4f32-ba21-c3567abfe506 2026-09-03 11:58:16,129 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/682d2fa1-ea06-43ff-8276-cd0ba90bb7ae 2026-09-03 11:58:16,141 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/682d2fa1-ea06-43ff-8276-cd0ba90bb7ae 2026-09-03 11:58:16,153 - DEBUG - Requesting: http://10.0.0.162:8082/route-target/371df0a3-1a5b-44c0-8a9b-8529a15c876c 2026-09-03 11:58:16,168 - DEBUG - Control-node 10.0.0.162 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-06116041:ctest-vn-00781226', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-06116041', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13556856537173810', 'uuid-lslong': '13412215941480047878'}, 'enable': 'true', 'created': '2026-09-03T11:58:13', 'last-modified': '2026-09-03T11:58:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.165657'} 2026-09-03 11:58:16,176 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-03 11:58:16,176 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-00781226 passed 2026-09-03 11:58:16,177 - DEBUG - ====Verifying policy data for ctest-vn-00781226 in API_Server ====== 2026-09-03 11:58:16,177 - DEBUG - Requesting: http://10.0.0.162:8082/domains 2026-09-03 11:58:16,184 - DEBUG - Requesting: http://10.0.0.162:8082/domain/e5ce8e97-353b-4dcd-b783-44e78990d6ab 2026-09-03 11:58:16,198 - DEBUG - Requesting: http://10.0.0.162:8082/project/04efc2eb-3008-48d4-bca4-4e1f03113482 2026-09-03 11:58:16,289 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/003029e3-a22b-4f32-ba21-c3567abfe506 2026-09-03 11:58:16,302 - DEBUG - ==>Verifying data for policy with id: ece2f114-8a54-42e0-aba1-8a03ec0a3c21, fqn: ['default-domain', 'ctest-TestBasicPolicy-06116041', 'ctest-policy-allow-all-18845912'] 2026-09-03 11:58:16,302 - INFO - VN ctest-vn-00781226 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-03 11:58:16,302 - DEBUG - Verifying the vn in opserver 2026-09-03 11:58:16,302 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-06116041:ctest-vn-00781226 virtual network link through opserver 10.0.0.162 2026-09-03 11:58:16,302 - DEBUG - Requesting: http://10.0.0.162:8081/analytics/uves/virtual-networks 2026-09-03 11:58:16,696 - DEBUG - Requesting: http://10.0.0.162:8081/analytics/uves/virtual-networks 2026-09-03 11:58:16,765 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-06116041:ctest-vn-00781226', 'href': 'http://10.0.0.162:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-06116041:ctest-vn-00781226?flat'} 2026-09-03 11:58:16,765 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-06116041:ctest-vn-00781226 is found in opserver 2026-09-03 11:58:16,780 - DEBUG - Do not have enough data to verify VN in agent 2026-09-03 11:58:16,786 - DEBUG - VRF ids for VN ctest-vn-00781226: {} 2026-09-03 11:58:16,786 - DEBUG - Requesting: http://10.0.0.162:8082/domains 2026-09-03 11:58:16,795 - DEBUG - Requesting: http://10.0.0.162:8082/domain/e5ce8e97-353b-4dcd-b783-44e78990d6ab 2026-09-03 11:58:16,810 - DEBUG - Requesting: http://10.0.0.162:8082/project/04efc2eb-3008-48d4-bca4-4e1f03113482 2026-09-03 11:58:16,900 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/f67f752b-c322-4ace-91c2-584b22d38517 2026-09-03 11:58:16,917 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/f67f752b-c322-4ace-91c2-584b22d38517 2026-09-03 11:58:16,931 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/e78f9f84-3835-4c21-bbf3-7b34f70012ce 2026-09-03 11:58:16,944 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/e78f9f84-3835-4c21-bbf3-7b34f70012ce 2026-09-03 11:58:16,955 - DEBUG - Requesting: http://10.0.0.162:8082/route-target/76a06685-023b-4c7e-8bfe-78dc957f161d 2026-09-03 11:58:16,964 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-09-03 11:58:16,964 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/f67f752b-c322-4ace-91c2-584b22d38517 2026-09-03 11:58:16,976 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/e78f9f84-3835-4c21-bbf3-7b34f70012ce 2026-09-03 11:58:16,996 - INFO - Verified VN network id 13 for VN f67f752b-c322-4ace-91c2-584b22d38517 2026-09-03 11:58:16,997 - INFO - Verifications in API Server for VN ctest-vn-65190962 passed 2026-09-03 11:58:16,997 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/f67f752b-c322-4ace-91c2-584b22d38517 2026-09-03 11:58:17,011 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/e78f9f84-3835-4c21-bbf3-7b34f70012ce 2026-09-03 11:58:17,021 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/e78f9f84-3835-4c21-bbf3-7b34f70012ce 2026-09-03 11:58:17,030 - DEBUG - Requesting: http://10.0.0.162:8082/route-target/76a06685-023b-4c7e-8bfe-78dc957f161d 2026-09-03 11:58:17,046 - DEBUG - Control-node 10.0.0.162 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-06116041:ctest-vn-65190962', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-06116041', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17762044286190373582', 'uuid-lslong': '10503054360711496983'}, 'enable': 'true', 'created': '2026-09-03T11:58:14', 'last-modified': '2026-09-03T11:58:15', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.773999'} 2026-09-03 11:58:17,054 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-09-03 11:58:17,054 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-65190962 passed 2026-09-03 11:58:17,054 - DEBUG - ====Verifying policy data for ctest-vn-65190962 in API_Server ====== 2026-09-03 11:58:17,054 - DEBUG - Requesting: http://10.0.0.162:8082/domains 2026-09-03 11:58:17,061 - DEBUG - Requesting: http://10.0.0.162:8082/domain/e5ce8e97-353b-4dcd-b783-44e78990d6ab 2026-09-03 11:58:17,075 - DEBUG - Requesting: http://10.0.0.162:8082/project/04efc2eb-3008-48d4-bca4-4e1f03113482 2026-09-03 11:58:17,170 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/f67f752b-c322-4ace-91c2-584b22d38517 2026-09-03 11:58:17,186 - DEBUG - ==>Verifying data for policy with id: ece2f114-8a54-42e0-aba1-8a03ec0a3c21, fqn: ['default-domain', 'ctest-TestBasicPolicy-06116041', 'ctest-policy-allow-all-18845912'] 2026-09-03 11:58:17,186 - INFO - VN ctest-vn-65190962 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-03 11:58:17,186 - DEBUG - Verifying the vn in opserver 2026-09-03 11:58:17,186 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-06116041:ctest-vn-65190962 virtual network link through opserver 10.0.0.162 2026-09-03 11:58:17,186 - DEBUG - Requesting: http://10.0.0.162:8081/analytics/uves/virtual-networks 2026-09-03 11:58:17,201 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-06116041:ctest-vn-65190962', 'href': 'http://10.0.0.162:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-06116041:ctest-vn-65190962?flat'} 2026-09-03 11:58:17,201 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-06116041:ctest-vn-65190962 is found in opserver 2026-09-03 11:58:17,216 - DEBUG - Do not have enough data to verify VN in agent 2026-09-03 11:58:17,222 - DEBUG - VRF ids for VN ctest-vn-65190962: {} 2026-09-03 11:58:17,298 - DEBUG - Services list from nova: [, , ] 2026-09-03 11:58:17,741 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6252-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6252-1) 2026-09-03 11:58:18,211 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6252-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6252-1) 2026-09-03 11:58:18,211 - INFO - Waiting for VM ctest-TestBasicPolicy-06116041-39682575 to be up.. 2026-09-03 11:58:18,260 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-03 11:58:23,349 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-03 11:58:28,446 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-03 11:58:33,535 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-03 11:58:38,632 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-03 11:58:43,726 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-03 11:58:48,816 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-03 11:58:53,916 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-03 11:58:59,020 - DEBUG - VM is in ACTIVE state now 2026-09-03 11:58:59,020 - INFO - VM name : ctest-TestBasicPolicy-06116041-39682575 2026-09-03 11:58:59,122 - DEBUG - VM ctest-TestBasicPolicy-06116041-39682575 ID is d0736e70-f5be-4556-8330-dfc5597ae029 2026-09-03 11:58:59,147 - DEBUG - VM ctest-TestBasicPolicy-06116041-39682575 launched on Node cn-jenkins-deploy-platform-ansible-os-6252-1 2026-09-03 11:58:59,249 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-machine/d0736e70-f5be-4556-8330-dfc5597ae029 2026-09-03 11:58:59,260 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-machine-interface/10475d51-8da8-4e73-89dd-81169b785a0d 2026-09-03 11:59:02,538 - 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=11.7 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1007ms\r\nrtt min/avg/max/mdev = 11.659/11.659/11.659/0.000 ms') 2026-09-03 11:59:02,539 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-06116041-39682575 passed 2026-09-03 11:59:02,695 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-03 11:59:02,695 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-06116041-39682575, IP 47.191.231.131, Port 22 2026-09-03 11:59:02,866 - DEBUG - VM ctest-TestBasicPolicy-06116041-39682575 is ready for SSH connections 2026-09-03 11:59:02,866 - INFO - Waiting for VM ctest-TestBasicPolicy-06116041-67775394 to be up.. 2026-09-03 11:59:02,957 - DEBUG - VM is in ACTIVE state now 2026-09-03 11:59:02,957 - INFO - VM name : ctest-TestBasicPolicy-06116041-67775394 2026-09-03 11:59:03,052 - DEBUG - VM ctest-TestBasicPolicy-06116041-67775394 ID is 14eb24e5-b502-4784-aef8-124b3eedc530 2026-09-03 11:59:03,052 - DEBUG - VM ctest-TestBasicPolicy-06116041-67775394 launched on Node cn-jenkins-deploy-platform-ansible-os-6252-1 2026-09-03 11:59:03,141 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-machine/14eb24e5-b502-4784-aef8-124b3eedc530 2026-09-03 11:59:03,152 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-machine-interface/c5cf7809-1bf0-43fa-bbbc-75e92017002d 2026-09-03 11:59:06,406 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1000ms') 2026-09-03 11:59:06,406 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-06116041-67775394 failed! 2026-09-03 11:59:06,463 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-06116041:ctest-vn-65190962 is 63.187.153.65 and allocation pool is NOT set 2026-09-03 11:59:08,531 - 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.89 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.672 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.672/2.282/3.893/1.610 ms') 2026-09-03 11:59:08,531 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-06116041-67775394 passed 2026-09-03 11:59:08,687 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-03 11:59:08,687 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-06116041-67775394, IP 63.187.153.67, Port 22 2026-09-03 11:59:08,856 - DEBUG - VM ctest-TestBasicPolicy-06116041-67775394 is ready for SSH connections 2026-09-03 11:59:08,856 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-03 11:59:08,857 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 63.187.153.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.162, gateway password: c0ntrail123 2026-09-03 11:59:08,857 - DEBUG - ping -s 56 -c 3 -W 1 63.187.153.67 2026-09-03 11:59:12,902 - DEBUG - PING 63.187.153.67 (63.187.153.67): 56 data bytes 64 bytes from 63.187.153.67: seq=0 ttl=63 time=6.208 ms 64 bytes from 63.187.153.67: seq=1 ttl=63 time=0.983 ms 64 bytes from 63.187.153.67: seq=2 ttl=63 time=1.463 ms --- 63.187.153.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.983/2.884/6.208 ms 2026-09-03 11:59:12,902 - INFO - Ping to IP 63.187.153.67 from VM ctest-TestBasicPolicy-06116041-39682575 passed 2026-09-03 11:59:13,106 - DEBUG - Policy Update Response {"network-policy": {"uuid": "ece2f114-8a54-42e0-aba1-8a03ec0a3c21", "href": "http://10.0.0.162:8082/network-policy/ece2f114-8a54-42e0-aba1-8a03ec0a3c21"}} 2026-09-03 11:59:13,106 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-03 11:59:13,107 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 63.187.153.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.162, gateway password: c0ntrail123 2026-09-03 11:59:13,107 - DEBUG - ping -s 56 -c 3 -W 1 63.187.153.67 2026-09-03 11:59:16,241 - DEBUG - PING 63.187.153.67 (63.187.153.67): 56 data bytes 64 bytes from 63.187.153.67: seq=0 ttl=63 time=1.594 ms --- 63.187.153.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.594/1.594/1.594 ms 2026-09-03 11:59:16,241 - WARNING - Ping to IP 63.187.153.67 from VM ctest-TestBasicPolicy-06116041-39682575 failed 2026-09-03 11:59:16,241 - INFO - Deleting VM ctest-TestBasicPolicy-06116041-67775394 2026-09-03 11:59:16,328 - INFO - Deleting VM ctest-TestBasicPolicy-06116041-39682575 2026-09-03 11:59:16,803 - INFO - Deleted policy ctest-policy-allow-all-18845912 2026-09-03 11:59:16,803 - INFO - Deleting VN ctest-vn-65190962 2026-09-03 11:59:16,858 - DEBUG - VN f67f752b-c322-4ace-91c2-584b22d38517 still in use: Unable to complete operation on network f67f752b-c322-4ace-91c2-584b22d38517. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7b5467af-b0b6-4e36-bfb7-21a69dafe300'] 2026-09-03 11:59:16,858 - WARNING - Deleting VN ctest-vn-65190962 failed..Will retry 2026-09-03 11:59:18,999 - DEBUG - Response for deleting network () 2026-09-03 11:59:18,999 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/e78f9f84-3835-4c21-bbf3-7b34f70012ce 2026-09-03 11:59:19,006 - DEBUG - Response Code: 404 2026-09-03 11:59:19,006 - DEBUG - Requesting: http://10.0.0.162:8082/domains 2026-09-03 11:59:19,019 - DEBUG - Requesting: http://10.0.0.162:8082/domain/e5ce8e97-353b-4dcd-b783-44e78990d6ab 2026-09-03 11:59:19,083 - DEBUG - Requesting: http://10.0.0.162:8082/project/04efc2eb-3008-48d4-bca4-4e1f03113482 2026-09-03 11:59:19,166 - INFO - Validated that VN ctest-vn-65190962 is not found in API Server 2026-09-03 11:59:19,188 - DEBUG - VN ctest-vn-65190962 is not present in Agent 10.0.0.162 2026-09-03 11:59:19,188 - INFO - Validated that VN ctest-vn-65190962 is not in any agent 2026-09-03 11:59:19,210 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-65190962 info 2026-09-03 11:59:19,210 - INFO - Deleting VN ctest-vn-00781226 2026-09-03 11:59:19,349 - DEBUG - Response for deleting network () 2026-09-03 11:59:19,349 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/682d2fa1-ea06-43ff-8276-cd0ba90bb7ae 2026-09-03 11:59:19,363 - DEBUG - Response Code: 404 2026-09-03 11:59:19,364 - DEBUG - Requesting: http://10.0.0.162:8082/domains 2026-09-03 11:59:19,370 - DEBUG - Requesting: http://10.0.0.162:8082/domain/e5ce8e97-353b-4dcd-b783-44e78990d6ab 2026-09-03 11:59:19,425 - DEBUG - Requesting: http://10.0.0.162:8082/project/04efc2eb-3008-48d4-bca4-4e1f03113482 2026-09-03 11:59:19,511 - INFO - Validated that VN ctest-vn-00781226 is not found in API Server 2026-09-03 11:59:19,523 - DEBUG - VN ctest-vn-00781226 is not present in Agent 10.0.0.162 2026-09-03 11:59:19,523 - INFO - Validated that VN ctest-vn-00781226 is not in any agent 2026-09-03 11:59:19,543 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-00781226 info 2026-09-03 11:59:19,817 - DEBUG - No XMPP flaps were noticed during the test
2026-09-03 11:59:19,817 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:07]
2026-09-03 11:59:19,818 - INFO - -------------------------------------------------------------------------------- 2026-09-03 11:59:20,591 - INFO - Deleted project: ctest-TestBasicPolicy-06116041, ID : 04efc2eb-3008-48d4-bca4-4e1f03113482