2026-08-18 05:42:00,043 - INFO - Domain Default found not creating 2026-08-18 05:42:00,206 - INFO - Project ctest-TestBasicPolicy-71734341 not found, creating it 2026-08-18 05:42:00,675 - INFO - Created Project:ctest-TestBasicPolicy-71734341, ID : 6694173c-858e-46d9-bd21-538e290da64f 2026-08-18 05:42:02,252 - INFO - ================================================================================ 2026-08-18 05:42:02,252 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-08-18 05:42:02,252 - 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-08-18 05:42:02,512 - DEBUG - Nothing to compare xmpp stats {'10.0.0.251': {'10.20.0.17': '0'}} with 2026-08-18 05:42:02,512 - INFO - Initial checks done. Running the testcase now 2026-08-18 05:42:02,512 - INFO - 2026-08-18 05:42:03,134 - DEBUG - Response for create_network : {'network': {'id': '9031ea4b-da07-46b4-abb8-91d2ff688a05', 'name': 'ctest-vn-82160184', 'tenant_id': '6694173c858e46d9bd21538e290da64f', 'project_id': '6694173c858e46d9bd21538e290da64f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71734341', 'ctest-vn-82160184'], 'port_security_enabled': True, 'description': ''}} 2026-08-18 05:42:03,333 - DEBUG - Response for create_subnet : {'subnet': {'id': '3b5c517f-95fb-4f9e-948a-68064cc1e541', 'name': '', 'tenant_id': '6694173c858e46d9bd21538e290da64f', 'network_id': '9031ea4b-da07-46b4-abb8-91d2ff688a05', 'ip_version': 4, 'cidr': '197.40.77.0/26', 'allocation_pools': [{'start': '197.40.77.2', 'end': '197.40.77.62'}], 'gateway_ip': '197.40.77.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '197.40.77.2', 'tags': [], 'project_id': '6694173c858e46d9bd21538e290da64f'}} 2026-08-18 05:42:03,356 - INFO - Created VN ctest-vn-82160184 2026-08-18 05:42:03,408 - DEBUG - VN ctest-vn-82160184 UUID is 9031ea4b-da07-46b4-abb8-91d2ff688a05 2026-08-18 05:42:03,729 - DEBUG - Response for create_network : {'network': {'id': '5bd93b21-3986-4329-bd4c-7bef405f9c56', 'name': 'ctest-vn-56652427', 'tenant_id': '6694173c858e46d9bd21538e290da64f', 'project_id': '6694173c858e46d9bd21538e290da64f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71734341', 'ctest-vn-56652427'], 'port_security_enabled': True, 'description': ''}} 2026-08-18 05:42:03,914 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e8a54252-29c4-4d34-b849-67955ca45d6e', 'name': '', 'tenant_id': '6694173c858e46d9bd21538e290da64f', 'network_id': '5bd93b21-3986-4329-bd4c-7bef405f9c56', 'ip_version': 4, 'cidr': '162.238.236.192/26', 'allocation_pools': [{'start': '162.238.236.194', 'end': '162.238.236.254'}], 'gateway_ip': '162.238.236.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '162.238.236.194', 'tags': [], 'project_id': '6694173c858e46d9bd21538e290da64f'}} 2026-08-18 05:42:03,938 - INFO - Created VN ctest-vn-56652427 2026-08-18 05:42:03,992 - DEBUG - VN ctest-vn-56652427 UUID is 5bd93b21-3986-4329-bd4c-7bef405f9c56 2026-08-18 05:42:04,109 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-71734341:ctest-vn-82160184, 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-71734341:ctest-vn-56652427, 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-08-18 05:42:04,449 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9031ea4b-da07-46b4-abb8-91d2ff688a05', 'name': 'ctest-vn-82160184', 'tenant_id': '6694173c858e46d9bd21538e290da64f', 'project_id': '6694173c858e46d9bd21538e290da64f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3b5c517f-95fb-4f9e-948a-68064cc1e541'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71734341', 'ctest-vn-82160184'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-71734341', 'ctest-policy-allow-all-82380800']], 'subnet_ipam': [{'subnet_cidr': '197.40.77.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-18 05:42:04,697 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5bd93b21-3986-4329-bd4c-7bef405f9c56', 'name': 'ctest-vn-56652427', 'tenant_id': '6694173c858e46d9bd21538e290da64f', 'project_id': '6694173c858e46d9bd21538e290da64f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e8a54252-29c4-4d34-b849-67955ca45d6e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71734341', 'ctest-vn-56652427'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-71734341', 'ctest-policy-allow-all-82380800']], 'subnet_ipam': [{'subnet_cidr': '162.238.236.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-18 05:42:04,876 - DEBUG - Requesting: http://10.0.0.251:8082/domains 2026-08-18 05:42:05,207 - DEBUG - Requesting: http://10.0.0.251:8082/domains 2026-08-18 05:42:05,235 - DEBUG - Requesting: http://10.0.0.251:8082/domain/7f5cb176-2a6f-4fb7-a275-08a073ee0434 2026-08-18 05:42:05,248 - DEBUG - Requesting: http://10.0.0.251:8082/project/6694173c-858e-46d9-bd21-538e290da64f 2026-08-18 05:42:05,320 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/9031ea4b-da07-46b4-abb8-91d2ff688a05 2026-08-18 05:42:05,331 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/9031ea4b-da07-46b4-abb8-91d2ff688a05 2026-08-18 05:42:05,340 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/47659c35-78bd-47a3-ae12-812f88cde700 2026-08-18 05:42:05,347 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/47659c35-78bd-47a3-ae12-812f88cde700 2026-08-18 05:42:05,354 - DEBUG - Requesting: http://10.0.0.251:8082/route-target/5842e5bf-bf48-46d9-94fb-3501e084bc11 2026-08-18 05:42:05,361 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-08-18 05:42:05,361 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/9031ea4b-da07-46b4-abb8-91d2ff688a05 2026-08-18 05:42:05,370 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/47659c35-78bd-47a3-ae12-812f88cde700 2026-08-18 05:42:05,383 - INFO - Verified VN network id 9 for VN 9031ea4b-da07-46b4-abb8-91d2ff688a05 2026-08-18 05:42:05,383 - INFO - Verifications in API Server for VN ctest-vn-82160184 passed 2026-08-18 05:42:05,383 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/9031ea4b-da07-46b4-abb8-91d2ff688a05 2026-08-18 05:42:05,392 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/47659c35-78bd-47a3-ae12-812f88cde700 2026-08-18 05:42:05,398 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/47659c35-78bd-47a3-ae12-812f88cde700 2026-08-18 05:42:05,406 - DEBUG - Requesting: http://10.0.0.251:8082/route-target/5842e5bf-bf48-46d9-94fb-3501e084bc11 2026-08-18 05:42:05,419 - DEBUG - Control-node 10.0.0.251 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-71734341:ctest-vn-82160184', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-71734341', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10390343426821801652', 'uuid-lslong': '12373800311614638597'}, 'enable': 'true', 'created': '2026-08-18T05:42:03', 'last-modified': '2026-08-18T05:42:04', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.995221'} 2026-08-18 05:42:05,427 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-08-18 05:42:05,427 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-82160184 passed 2026-08-18 05:42:05,427 - DEBUG - ====Verifying policy data for ctest-vn-82160184 in API_Server ====== 2026-08-18 05:42:05,427 - DEBUG - Requesting: http://10.0.0.251:8082/domains 2026-08-18 05:42:05,433 - DEBUG - Requesting: http://10.0.0.251:8082/domain/7f5cb176-2a6f-4fb7-a275-08a073ee0434 2026-08-18 05:42:05,442 - DEBUG - Requesting: http://10.0.0.251:8082/project/6694173c-858e-46d9-bd21-538e290da64f 2026-08-18 05:42:05,512 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/9031ea4b-da07-46b4-abb8-91d2ff688a05 2026-08-18 05:42:05,521 - DEBUG - ==>Verifying data for policy with id: c2fcfd6a-e9fa-42fb-bb4d-b631b359e0de, fqn: ['default-domain', 'ctest-TestBasicPolicy-71734341', 'ctest-policy-allow-all-82380800'] 2026-08-18 05:42:05,521 - INFO - VN ctest-vn-82160184 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-18 05:42:05,522 - DEBUG - Verifying the vn in opserver 2026-08-18 05:42:05,522 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-71734341:ctest-vn-82160184 virtual network link through opserver 10.0.0.251 2026-08-18 05:42:05,522 - DEBUG - Requesting: http://10.0.0.251:8081/analytics/uves/virtual-networks 2026-08-18 05:42:05,843 - DEBUG - Requesting: http://10.0.0.251:8081/analytics/uves/virtual-networks 2026-08-18 05:42:05,896 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-71734341:ctest-vn-82160184', 'href': 'http://10.0.0.251:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-71734341:ctest-vn-82160184?flat'} 2026-08-18 05:42:05,896 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-71734341:ctest-vn-82160184 is found in opserver 2026-08-18 05:42:05,908 - DEBUG - Do not have enough data to verify VN in agent 2026-08-18 05:42:05,913 - DEBUG - VRF ids for VN ctest-vn-82160184: {} 2026-08-18 05:42:05,913 - DEBUG - Requesting: http://10.0.0.251:8082/domains 2026-08-18 05:42:05,919 - DEBUG - Requesting: http://10.0.0.251:8082/domain/7f5cb176-2a6f-4fb7-a275-08a073ee0434 2026-08-18 05:42:05,930 - DEBUG - Requesting: http://10.0.0.251:8082/project/6694173c-858e-46d9-bd21-538e290da64f 2026-08-18 05:42:06,008 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/5bd93b21-3986-4329-bd4c-7bef405f9c56 2026-08-18 05:42:06,023 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/5bd93b21-3986-4329-bd4c-7bef405f9c56 2026-08-18 05:42:06,033 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/311b33d1-a2f2-42eb-a18e-1b814580ffea 2026-08-18 05:42:06,041 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/311b33d1-a2f2-42eb-a18e-1b814580ffea 2026-08-18 05:42:06,048 - DEBUG - Requesting: http://10.0.0.251:8082/route-target/cb7eeeaa-9a44-4b99-8a2b-d3ce3c1a4d06 2026-08-18 05:42:06,055 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-18 05:42:06,055 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/5bd93b21-3986-4329-bd4c-7bef405f9c56 2026-08-18 05:42:06,065 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/311b33d1-a2f2-42eb-a18e-1b814580ffea 2026-08-18 05:42:06,081 - INFO - Verified VN network id 10 for VN 5bd93b21-3986-4329-bd4c-7bef405f9c56 2026-08-18 05:42:06,081 - INFO - Verifications in API Server for VN ctest-vn-56652427 passed 2026-08-18 05:42:06,081 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/5bd93b21-3986-4329-bd4c-7bef405f9c56 2026-08-18 05:42:06,090 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/311b33d1-a2f2-42eb-a18e-1b814580ffea 2026-08-18 05:42:06,097 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/311b33d1-a2f2-42eb-a18e-1b814580ffea 2026-08-18 05:42:06,105 - DEBUG - Requesting: http://10.0.0.251:8082/route-target/cb7eeeaa-9a44-4b99-8a2b-d3ce3c1a4d06 2026-08-18 05:42:06,118 - DEBUG - Control-node 10.0.0.251 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-71734341:ctest-vn-56652427', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-71734341', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6618386141282714409', 'uuid-lslong': '13640413638905797718'}, 'enable': 'true', 'created': '2026-08-18T05:42:03', 'last-modified': '2026-08-18T05:42:04', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.450548'} 2026-08-18 05:42:06,124 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-18 05:42:06,124 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-56652427 passed 2026-08-18 05:42:06,125 - DEBUG - ====Verifying policy data for ctest-vn-56652427 in API_Server ====== 2026-08-18 05:42:06,125 - DEBUG - Requesting: http://10.0.0.251:8082/domains 2026-08-18 05:42:06,130 - DEBUG - Requesting: http://10.0.0.251:8082/domain/7f5cb176-2a6f-4fb7-a275-08a073ee0434 2026-08-18 05:42:06,142 - DEBUG - Requesting: http://10.0.0.251:8082/project/6694173c-858e-46d9-bd21-538e290da64f 2026-08-18 05:42:06,214 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/5bd93b21-3986-4329-bd4c-7bef405f9c56 2026-08-18 05:42:06,225 - DEBUG - ==>Verifying data for policy with id: c2fcfd6a-e9fa-42fb-bb4d-b631b359e0de, fqn: ['default-domain', 'ctest-TestBasicPolicy-71734341', 'ctest-policy-allow-all-82380800'] 2026-08-18 05:42:06,225 - INFO - VN ctest-vn-56652427 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-18 05:42:06,225 - DEBUG - Verifying the vn in opserver 2026-08-18 05:42:06,225 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-71734341:ctest-vn-56652427 virtual network link through opserver 10.0.0.251 2026-08-18 05:42:06,225 - DEBUG - Requesting: http://10.0.0.251:8081/analytics/uves/virtual-networks 2026-08-18 05:42:06,235 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-71734341:ctest-vn-56652427', 'href': 'http://10.0.0.251:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-71734341:ctest-vn-56652427?flat'} 2026-08-18 05:42:06,235 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-71734341:ctest-vn-56652427 is found in opserver 2026-08-18 05:42:06,245 - DEBUG - Do not have enough data to verify VN in agent 2026-08-18 05:42:06,251 - DEBUG - VRF ids for VN ctest-vn-56652427: {} 2026-08-18 05:42:06,308 - DEBUG - Services list from nova: [, , ] 2026-08-18 05:42:06,719 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6178-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6178-1) 2026-08-18 05:42:07,112 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6178-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6178-1) 2026-08-18 05:42:07,112 - INFO - Waiting for VM ctest-TestBasicPolicy-71734341-92483066 to be up.. 2026-08-18 05:42:07,151 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-18 05:42:12,231 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-18 05:42:17,308 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-18 05:42:22,430 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-18 05:42:27,516 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-18 05:42:32,600 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-18 05:42:37,678 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-18 05:42:42,748 - DEBUG - VM is in ACTIVE state now 2026-08-18 05:42:42,748 - INFO - VM name : ctest-TestBasicPolicy-71734341-92483066 2026-08-18 05:42:42,828 - DEBUG - VM ctest-TestBasicPolicy-71734341-92483066 ID is 7e89cf0d-542f-4bce-ac17-b045aaf6b5b6 2026-08-18 05:42:42,849 - DEBUG - VM ctest-TestBasicPolicy-71734341-92483066 launched on Node cn-jenkins-deploy-platform-ansible-os-6178-1 2026-08-18 05:42:42,928 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-machine/7e89cf0d-542f-4bce-ac17-b045aaf6b5b6 2026-08-18 05:42:42,937 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-machine-interface/3177adff-3f07-4af1-be27-3baf6c783418 2026-08-18 05:42:46,189 - 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-08-18 05:42:46,189 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-71734341-92483066 failed! 2026-08-18 05:42:46,244 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-71734341:ctest-vn-82160184 is 197.40.77.1 and allocation pool is NOT set 2026-08-18 05:42:48,303 - 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=4.39 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.512 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 = 0.512/2.451/4.391/1.939 ms') 2026-08-18 05:42:48,303 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-71734341-92483066 passed 2026-08-18 05:42:48,456 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-18 05:42:48,456 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-71734341-92483066, IP 197.40.77.3, Port 22 2026-08-18 05:42:48,611 - DEBUG - VM ctest-TestBasicPolicy-71734341-92483066 is ready for SSH connections 2026-08-18 05:42:48,611 - INFO - Waiting for VM ctest-TestBasicPolicy-71734341-53587167 to be up.. 2026-08-18 05:42:48,690 - DEBUG - VM is in ACTIVE state now 2026-08-18 05:42:48,691 - INFO - VM name : ctest-TestBasicPolicy-71734341-53587167 2026-08-18 05:42:48,780 - DEBUG - VM ctest-TestBasicPolicy-71734341-53587167 ID is af2fe2b3-a145-49ce-a46c-b83621b47937 2026-08-18 05:42:48,780 - DEBUG - VM ctest-TestBasicPolicy-71734341-53587167 launched on Node cn-jenkins-deploy-platform-ansible-os-6178-1 2026-08-18 05:42:48,857 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-machine/af2fe2b3-a145-49ce-a46c-b83621b47937 2026-08-18 05:42:48,865 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-machine-interface/8aecd6cf-5158-409c-a2b7-f848fe674882 2026-08-18 05:42:52,117 - 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 1005ms') 2026-08-18 05:42:52,117 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-71734341-53587167 failed! 2026-08-18 05:42:52,172 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-71734341:ctest-vn-56652427 is 162.238.236.193 and allocation pool is NOT set 2026-08-18 05:42:54,234 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=4.06 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.528 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 = 0.528/2.296/4.064/1.768 ms') 2026-08-18 05:42:54,234 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-71734341-53587167 passed 2026-08-18 05:42:54,384 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-18 05:42:54,384 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-71734341-53587167, IP 162.238.236.195, Port 22 2026-08-18 05:42:54,543 - DEBUG - VM ctest-TestBasicPolicy-71734341-53587167 is ready for SSH connections 2026-08-18 05:42:54,544 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-18 05:42:54,544 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 162.238.236.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.251, gateway password: c0ntrail123 2026-08-18 05:42:54,544 - DEBUG - ping -s 56 -c 3 -W 1 162.238.236.195 2026-08-18 05:42:58,595 - DEBUG - PING 162.238.236.195 (162.238.236.195): 56 data bytes 64 bytes from 162.238.236.195: seq=0 ttl=63 time=3.792 ms 64 bytes from 162.238.236.195: seq=1 ttl=63 time=1.125 ms 64 bytes from 162.238.236.195: seq=2 ttl=63 time=0.922 ms --- 162.238.236.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.922/1.946/3.792 ms 2026-08-18 05:42:58,595 - INFO - Ping to IP 162.238.236.195 from VM ctest-TestBasicPolicy-71734341-92483066 passed 2026-08-18 05:42:58,775 - DEBUG - Policy Update Response {"network-policy": {"uuid": "c2fcfd6a-e9fa-42fb-bb4d-b631b359e0de", "href": "http://10.0.0.251:8082/network-policy/c2fcfd6a-e9fa-42fb-bb4d-b631b359e0de"}} 2026-08-18 05:42:58,776 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-18 05:42:58,776 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 162.238.236.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.251, gateway password: c0ntrail123 2026-08-18 05:42:58,776 - DEBUG - ping -s 56 -c 3 -W 1 162.238.236.195 2026-08-18 05:43:01,900 - DEBUG - PING 162.238.236.195 (162.238.236.195): 56 data bytes 64 bytes from 162.238.236.195: seq=0 ttl=63 time=2.085 ms --- 162.238.236.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 2.085/2.085/2.085 ms 2026-08-18 05:43:01,900 - WARNING - Ping to IP 162.238.236.195 from VM ctest-TestBasicPolicy-71734341-92483066 failed 2026-08-18 05:43:01,900 - INFO - Deleting VM ctest-TestBasicPolicy-71734341-53587167 2026-08-18 05:43:01,982 - INFO - Deleting VM ctest-TestBasicPolicy-71734341-92483066 2026-08-18 05:43:02,386 - INFO - Deleted policy ctest-policy-allow-all-82380800 2026-08-18 05:43:02,386 - INFO - Deleting VN ctest-vn-56652427 2026-08-18 05:43:02,422 - DEBUG - VN 5bd93b21-3986-4329-bd4c-7bef405f9c56 still in use: Unable to complete operation on network 5bd93b21-3986-4329-bd4c-7bef405f9c56. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a843377c-98e7-4b2e-92d5-6b08e1324fa9'] 2026-08-18 05:43:02,423 - WARNING - Deleting VN ctest-vn-56652427 failed..Will retry 2026-08-18 05:43:04,560 - DEBUG - Response for deleting network () 2026-08-18 05:43:04,560 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/311b33d1-a2f2-42eb-a18e-1b814580ffea 2026-08-18 05:43:04,574 - DEBUG - Response Code: 404 2026-08-18 05:43:04,574 - DEBUG - Requesting: http://10.0.0.251:8082/domains 2026-08-18 05:43:04,582 - DEBUG - Requesting: http://10.0.0.251:8082/domain/7f5cb176-2a6f-4fb7-a275-08a073ee0434 2026-08-18 05:43:04,639 - DEBUG - Requesting: http://10.0.0.251:8082/project/6694173c-858e-46d9-bd21-538e290da64f 2026-08-18 05:43:04,720 - INFO - Validated that VN ctest-vn-56652427 is not found in API Server 2026-08-18 05:43:04,732 - DEBUG - VN ctest-vn-56652427 is not present in Agent 10.0.0.251 2026-08-18 05:43:04,732 - INFO - Validated that VN ctest-vn-56652427 is not in any agent 2026-08-18 05:43:04,750 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-56652427 info 2026-08-18 05:43:04,750 - INFO - Deleting VN ctest-vn-82160184 2026-08-18 05:43:04,861 - DEBUG - Response for deleting network () 2026-08-18 05:43:04,861 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/47659c35-78bd-47a3-ae12-812f88cde700 2026-08-18 05:43:04,872 - DEBUG - Response Code: 404 2026-08-18 05:43:04,872 - DEBUG - Requesting: http://10.0.0.251:8082/domains 2026-08-18 05:43:04,878 - DEBUG - Requesting: http://10.0.0.251:8082/domain/7f5cb176-2a6f-4fb7-a275-08a073ee0434 2026-08-18 05:43:04,930 - DEBUG - Requesting: http://10.0.0.251:8082/project/6694173c-858e-46d9-bd21-538e290da64f 2026-08-18 05:43:05,007 - INFO - Validated that VN ctest-vn-82160184 is not found in API Server 2026-08-18 05:43:05,018 - DEBUG - VN ctest-vn-82160184 is not present in Agent 10.0.0.251 2026-08-18 05:43:05,018 - INFO - Validated that VN ctest-vn-82160184 is not in any agent 2026-08-18 05:43:05,033 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-82160184 info 2026-08-18 05:43:05,290 - DEBUG - No XMPP flaps were noticed during the test
2026-08-18 05:43:05,290 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:03]
2026-08-18 05:43:05,290 - INFO - -------------------------------------------------------------------------------- 2026-08-18 05:43:05,988 - INFO - Deleted project: ctest-TestBasicPolicy-71734341, ID : 6694173c-858e-46d9-bd21-538e290da64f