2026-10-05 21:41:55,414 - INFO - Domain Default found not creating 2026-10-05 21:41:55,569 - INFO - Project ctest-TestBasicPolicy-58037355 not found, creating it 2026-10-05 21:41:56,021 - INFO - Created Project:ctest-TestBasicPolicy-58037355, ID : 72e4685e-3d5a-402e-b8b9-aee4e0d0d99c 2026-10-05 21:41:57,657 - INFO - ================================================================================ 2026-10-05 21:41:57,658 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-10-05 21:41:57,658 - 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-10-05 21:41:57,916 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.25': '0'}} with 2026-10-05 21:41:57,916 - INFO - Initial checks done. Running the testcase now 2026-10-05 21:41:57,916 - INFO - 2026-10-05 21:41:58,542 - DEBUG - Response for create_network : {'network': {'id': '6b11e70b-9934-4032-8743-1e7cc9506819', 'name': 'ctest-vn-36768063', 'tenant_id': '72e4685e3d5a402eb8b9aee4e0d0d99c', 'project_id': '72e4685e3d5a402eb8b9aee4e0d0d99c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-58037355', 'ctest-vn-36768063'], 'port_security_enabled': True, 'description': ''}} 2026-10-05 21:41:58,750 - DEBUG - Response for create_subnet : {'subnet': {'id': '00356551-570e-439a-901e-b3d73669bf09', 'name': '', 'tenant_id': '72e4685e3d5a402eb8b9aee4e0d0d99c', 'network_id': '6b11e70b-9934-4032-8743-1e7cc9506819', 'ip_version': 4, 'cidr': '72.26.229.64/26', 'allocation_pools': [{'start': '72.26.229.66', 'end': '72.26.229.126'}], 'gateway_ip': '72.26.229.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '72.26.229.66', 'tags': [], 'project_id': '72e4685e3d5a402eb8b9aee4e0d0d99c'}} 2026-10-05 21:41:58,764 - INFO - Created VN ctest-vn-36768063 2026-10-05 21:41:58,818 - DEBUG - VN ctest-vn-36768063 UUID is 6b11e70b-9934-4032-8743-1e7cc9506819 2026-10-05 21:41:59,138 - DEBUG - Response for create_network : {'network': {'id': '9b00f2ab-5108-4169-a1f2-d47f899b4754', 'name': 'ctest-vn-26525803', 'tenant_id': '72e4685e3d5a402eb8b9aee4e0d0d99c', 'project_id': '72e4685e3d5a402eb8b9aee4e0d0d99c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-58037355', 'ctest-vn-26525803'], 'port_security_enabled': True, 'description': ''}} 2026-10-05 21:41:59,338 - DEBUG - Response for create_subnet : {'subnet': {'id': '447553bd-f3c5-4689-8587-e451eb44faee', 'name': '', 'tenant_id': '72e4685e3d5a402eb8b9aee4e0d0d99c', 'network_id': '9b00f2ab-5108-4169-a1f2-d47f899b4754', 'ip_version': 4, 'cidr': '114.76.118.128/26', 'allocation_pools': [{'start': '114.76.118.130', 'end': '114.76.118.190'}], 'gateway_ip': '114.76.118.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '114.76.118.130', 'tags': [], 'project_id': '72e4685e3d5a402eb8b9aee4e0d0d99c'}} 2026-10-05 21:41:59,354 - INFO - Created VN ctest-vn-26525803 2026-10-05 21:41:59,406 - DEBUG - VN ctest-vn-26525803 UUID is 9b00f2ab-5108-4169-a1f2-d47f899b4754 2026-10-05 21:41:59,553 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-58037355:ctest-vn-36768063, 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-58037355:ctest-vn-26525803, 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-10-05 21:41:59,859 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6b11e70b-9934-4032-8743-1e7cc9506819', 'name': 'ctest-vn-36768063', 'tenant_id': '72e4685e3d5a402eb8b9aee4e0d0d99c', 'project_id': '72e4685e3d5a402eb8b9aee4e0d0d99c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['00356551-570e-439a-901e-b3d73669bf09'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-58037355', 'ctest-vn-36768063'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-58037355', 'ctest-policy-allow-all-19911181']], 'subnet_ipam': [{'subnet_cidr': '72.26.229.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-10-05 21:42:00,097 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9b00f2ab-5108-4169-a1f2-d47f899b4754', 'name': 'ctest-vn-26525803', 'tenant_id': '72e4685e3d5a402eb8b9aee4e0d0d99c', 'project_id': '72e4685e3d5a402eb8b9aee4e0d0d99c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['447553bd-f3c5-4689-8587-e451eb44faee'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-58037355', 'ctest-vn-26525803'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-58037355', 'ctest-policy-allow-all-19911181']], 'subnet_ipam': [{'subnet_cidr': '114.76.118.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-10-05 21:42:00,270 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-10-05 21:42:00,633 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-10-05 21:42:00,660 - DEBUG - Requesting: http://10.0.0.50:8082/domain/9493e94d-af95-42ca-9ca5-57754df57a74 2026-10-05 21:42:00,671 - DEBUG - Requesting: http://10.0.0.50:8082/project/72e4685e-3d5a-402e-b8b9-aee4e0d0d99c 2026-10-05 21:42:00,745 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/6b11e70b-9934-4032-8743-1e7cc9506819 2026-10-05 21:42:00,758 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/6b11e70b-9934-4032-8743-1e7cc9506819 2026-10-05 21:42:00,767 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3bd4f9c9-07a0-45aa-8397-fb810ce5967d 2026-10-05 21:42:00,774 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3bd4f9c9-07a0-45aa-8397-fb810ce5967d 2026-10-05 21:42:00,780 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/8d8fffcb-0ad9-493c-8a13-e116c3e19ab3 2026-10-05 21:42:00,786 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-10-05 21:42:00,786 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/6b11e70b-9934-4032-8743-1e7cc9506819 2026-10-05 21:42:00,795 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3bd4f9c9-07a0-45aa-8397-fb810ce5967d 2026-10-05 21:42:00,808 - INFO - Verified VN network id 12 for VN 6b11e70b-9934-4032-8743-1e7cc9506819 2026-10-05 21:42:00,808 - INFO - Verifications in API Server for VN ctest-vn-36768063 passed 2026-10-05 21:42:00,808 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/6b11e70b-9934-4032-8743-1e7cc9506819 2026-10-05 21:42:00,816 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3bd4f9c9-07a0-45aa-8397-fb810ce5967d 2026-10-05 21:42:00,823 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3bd4f9c9-07a0-45aa-8397-fb810ce5967d 2026-10-05 21:42:00,830 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/8d8fffcb-0ad9-493c-8a13-e116c3e19ab3 2026-10-05 21:42:00,842 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-58037355:ctest-vn-36768063', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-58037355', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7715201673663365170', 'uuid-lslong': '9746667539862153241'}, 'enable': 'true', 'created': '2026-10-05T21:41:58', 'last-modified': '2026-10-05T21:41:59', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.001855'} 2026-10-05 21:42:00,847 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-10-05 21:42:00,848 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-36768063 passed 2026-10-05 21:42:00,848 - DEBUG - ====Verifying policy data for ctest-vn-36768063 in API_Server ====== 2026-10-05 21:42:00,848 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-10-05 21:42:00,854 - DEBUG - Requesting: http://10.0.0.50:8082/domain/9493e94d-af95-42ca-9ca5-57754df57a74 2026-10-05 21:42:00,866 - DEBUG - Requesting: http://10.0.0.50:8082/project/72e4685e-3d5a-402e-b8b9-aee4e0d0d99c 2026-10-05 21:42:00,940 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/6b11e70b-9934-4032-8743-1e7cc9506819 2026-10-05 21:42:00,952 - DEBUG - ==>Verifying data for policy with id: b08e02ad-dfa0-4288-8ab0-42304c55dc69, fqn: ['default-domain', 'ctest-TestBasicPolicy-58037355', 'ctest-policy-allow-all-19911181'] 2026-10-05 21:42:00,952 - INFO - VN ctest-vn-36768063 Policy verification: verify_vn_policy_in_api_server, status: True 2026-10-05 21:42:00,952 - DEBUG - Verifying the vn in opserver 2026-10-05 21:42:00,952 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-58037355:ctest-vn-36768063 virtual network link through opserver 10.0.0.50 2026-10-05 21:42:00,953 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-10-05 21:42:01,316 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-10-05 21:42:01,373 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-58037355:ctest-vn-36768063', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-58037355:ctest-vn-36768063?flat'} 2026-10-05 21:42:01,373 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-58037355:ctest-vn-36768063 is found in opserver 2026-10-05 21:42:01,382 - DEBUG - Do not have enough data to verify VN in agent 2026-10-05 21:42:01,388 - DEBUG - VRF ids for VN ctest-vn-36768063: {} 2026-10-05 21:42:01,388 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-10-05 21:42:01,393 - DEBUG - Requesting: http://10.0.0.50:8082/domain/9493e94d-af95-42ca-9ca5-57754df57a74 2026-10-05 21:42:01,404 - DEBUG - Requesting: http://10.0.0.50:8082/project/72e4685e-3d5a-402e-b8b9-aee4e0d0d99c 2026-10-05 21:42:01,474 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/9b00f2ab-5108-4169-a1f2-d47f899b4754 2026-10-05 21:42:01,486 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/9b00f2ab-5108-4169-a1f2-d47f899b4754 2026-10-05 21:42:01,495 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3f88e538-864a-4e85-8933-0368b6be12a7 2026-10-05 21:42:01,502 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3f88e538-864a-4e85-8933-0368b6be12a7 2026-10-05 21:42:01,508 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/db4eec39-b9bd-42c2-8e36-9dfcb5da77e5 2026-10-05 21:42:01,514 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-10-05 21:42:01,514 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/9b00f2ab-5108-4169-a1f2-d47f899b4754 2026-10-05 21:42:01,523 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3f88e538-864a-4e85-8933-0368b6be12a7 2026-10-05 21:42:01,537 - INFO - Verified VN network id 13 for VN 9b00f2ab-5108-4169-a1f2-d47f899b4754 2026-10-05 21:42:01,537 - INFO - Verifications in API Server for VN ctest-vn-26525803 passed 2026-10-05 21:42:01,537 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/9b00f2ab-5108-4169-a1f2-d47f899b4754 2026-10-05 21:42:01,547 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3f88e538-864a-4e85-8933-0368b6be12a7 2026-10-05 21:42:01,553 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3f88e538-864a-4e85-8933-0368b6be12a7 2026-10-05 21:42:01,559 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/db4eec39-b9bd-42c2-8e36-9dfcb5da77e5 2026-10-05 21:42:01,571 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-58037355:ctest-vn-26525803', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-58037355', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11169193893491655017', 'uuid-lslong': '11669623228704966484'}, 'enable': 'true', 'created': '2026-10-05T21:41:59', 'last-modified': '2026-10-05T21:42:00', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.495004'} 2026-10-05 21:42:01,578 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-10-05 21:42:01,578 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-26525803 passed 2026-10-05 21:42:01,579 - DEBUG - ====Verifying policy data for ctest-vn-26525803 in API_Server ====== 2026-10-05 21:42:01,579 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-10-05 21:42:01,584 - DEBUG - Requesting: http://10.0.0.50:8082/domain/9493e94d-af95-42ca-9ca5-57754df57a74 2026-10-05 21:42:01,595 - DEBUG - Requesting: http://10.0.0.50:8082/project/72e4685e-3d5a-402e-b8b9-aee4e0d0d99c 2026-10-05 21:42:01,669 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/9b00f2ab-5108-4169-a1f2-d47f899b4754 2026-10-05 21:42:01,678 - DEBUG - ==>Verifying data for policy with id: b08e02ad-dfa0-4288-8ab0-42304c55dc69, fqn: ['default-domain', 'ctest-TestBasicPolicy-58037355', 'ctest-policy-allow-all-19911181'] 2026-10-05 21:42:01,678 - INFO - VN ctest-vn-26525803 Policy verification: verify_vn_policy_in_api_server, status: True 2026-10-05 21:42:01,678 - DEBUG - Verifying the vn in opserver 2026-10-05 21:42:01,678 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-58037355:ctest-vn-26525803 virtual network link through opserver 10.0.0.50 2026-10-05 21:42:01,678 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-10-05 21:42:01,688 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-58037355:ctest-vn-26525803', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-58037355:ctest-vn-26525803?flat'} 2026-10-05 21:42:01,688 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-58037355:ctest-vn-26525803 is found in opserver 2026-10-05 21:42:01,698 - DEBUG - Do not have enough data to verify VN in agent 2026-10-05 21:42:01,705 - DEBUG - VRF ids for VN ctest-vn-26525803: {} 2026-10-05 21:42:01,764 - DEBUG - Services list from nova: [, , ] 2026-10-05 21:42:02,187 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6348-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6348-1) 2026-10-05 21:42:02,561 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6348-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6348-1) 2026-10-05 21:42:02,561 - INFO - Waiting for VM ctest-TestBasicPolicy-58037355-91292673 to be up.. 2026-10-05 21:42:02,602 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-05 21:42:07,679 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-05 21:42:12,763 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-05 21:42:17,874 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-05 21:42:22,953 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-05 21:42:28,023 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-05 21:42:33,105 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-05 21:42:38,187 - DEBUG - VM is in ACTIVE state now 2026-10-05 21:42:38,187 - INFO - VM name : ctest-TestBasicPolicy-58037355-91292673 2026-10-05 21:42:38,265 - DEBUG - VM ctest-TestBasicPolicy-58037355-91292673 ID is 0cf1bf33-a3ab-44ed-bcc2-3c2cff72dda5 2026-10-05 21:42:38,284 - DEBUG - VM ctest-TestBasicPolicy-58037355-91292673 launched on Node cn-jenkins-deploy-platform-ansible-os-6348-1 2026-10-05 21:42:38,366 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/0cf1bf33-a3ab-44ed-bcc2-3c2cff72dda5 2026-10-05 21:42:38,375 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/f6ed49f9-f7c5-4872-bf66-2e3886340bad 2026-10-05 21:42:41,639 - 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 1014ms') 2026-10-05 21:42:41,639 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-58037355-91292673 failed! 2026-10-05 21:42:41,694 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-58037355:ctest-vn-36768063 is 72.26.229.65 and allocation pool is NOT set 2026-10-05 21:42:45,774 - 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.08 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1018ms\r\nrtt min/avg/max/mdev = 9.083/9.083/9.083/0.000 ms') 2026-10-05 21:42:45,774 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-58037355-91292673 passed 2026-10-05 21:42:45,930 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-05 21:42:45,930 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-58037355-91292673, IP 72.26.229.67, Port 22 2026-10-05 21:42:46,085 - DEBUG - VM ctest-TestBasicPolicy-58037355-91292673 is ready for SSH connections 2026-10-05 21:42:46,085 - INFO - Waiting for VM ctest-TestBasicPolicy-58037355-54942611 to be up.. 2026-10-05 21:42:46,172 - DEBUG - VM is in ACTIVE state now 2026-10-05 21:42:46,172 - INFO - VM name : ctest-TestBasicPolicy-58037355-54942611 2026-10-05 21:42:46,251 - DEBUG - VM ctest-TestBasicPolicy-58037355-54942611 ID is d4487617-6d43-47e0-9ec5-a3312eed4d09 2026-10-05 21:42:46,252 - DEBUG - VM ctest-TestBasicPolicy-58037355-54942611 launched on Node cn-jenkins-deploy-platform-ansible-os-6348-1 2026-10-05 21:42:46,342 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/d4487617-6d43-47e0-9ec5-a3312eed4d09 2026-10-05 21:42:46,350 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/a8bdd981-5a1e-4a8a-abb4-98538299c4d4 2026-10-05 21:42:49,612 - 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 1016ms') 2026-10-05 21:42:49,612 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-58037355-54942611 failed! 2026-10-05 21:42:49,666 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-58037355:ctest-vn-26525803 is 114.76.118.129 and allocation pool is NOT set 2026-10-05 21:42:51,729 - 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.81 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.411 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.411/2.109/3.808/1.698 ms') 2026-10-05 21:42:51,729 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-58037355-54942611 passed 2026-10-05 21:42:51,878 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-05 21:42:51,878 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-58037355-54942611, IP 114.76.118.131, Port 22 2026-10-05 21:42:52,044 - DEBUG - VM ctest-TestBasicPolicy-58037355-54942611 is ready for SSH connections 2026-10-05 21:42:52,044 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-05 21:42:52,044 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 114.76.118.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-10-05 21:42:52,044 - DEBUG - ping -s 56 -c 3 -W 1 114.76.118.131 2026-10-05 21:42:55,980 - DEBUG - PING 114.76.118.131 (114.76.118.131): 56 data bytes 64 bytes from 114.76.118.131: seq=0 ttl=63 time=3.880 ms 64 bytes from 114.76.118.131: seq=1 ttl=63 time=0.978 ms 64 bytes from 114.76.118.131: seq=2 ttl=63 time=0.880 ms --- 114.76.118.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.880/1.912/3.880 ms 2026-10-05 21:42:55,980 - INFO - Ping to IP 114.76.118.131 from VM ctest-TestBasicPolicy-58037355-91292673 passed 2026-10-05 21:42:56,165 - DEBUG - Policy Update Response {"network-policy": {"uuid": "b08e02ad-dfa0-4288-8ab0-42304c55dc69", "href": "http://10.0.0.50:8082/network-policy/b08e02ad-dfa0-4288-8ab0-42304c55dc69"}} 2026-10-05 21:42:56,165 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-05 21:42:56,166 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 114.76.118.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-10-05 21:42:56,166 - DEBUG - ping -s 56 -c 3 -W 1 114.76.118.131 2026-10-05 21:42:59,297 - DEBUG - PING 114.76.118.131 (114.76.118.131): 56 data bytes 64 bytes from 114.76.118.131: seq=0 ttl=63 time=1.434 ms --- 114.76.118.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.434/1.434/1.434 ms 2026-10-05 21:42:59,298 - WARNING - Ping to IP 114.76.118.131 from VM ctest-TestBasicPolicy-58037355-91292673 failed 2026-10-05 21:42:59,298 - INFO - Deleting VM ctest-TestBasicPolicy-58037355-54942611 2026-10-05 21:42:59,365 - INFO - Deleting VM ctest-TestBasicPolicy-58037355-91292673 2026-10-05 21:42:59,707 - INFO - Deleted policy ctest-policy-allow-all-19911181 2026-10-05 21:42:59,707 - INFO - Deleting VN ctest-vn-26525803 2026-10-05 21:42:59,736 - DEBUG - VN 9b00f2ab-5108-4169-a1f2-d47f899b4754 still in use: Unable to complete operation on network 9b00f2ab-5108-4169-a1f2-d47f899b4754. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b57398db-f9f6-4ae4-979b-159a4a54332e'] 2026-10-05 21:42:59,736 - WARNING - Deleting VN ctest-vn-26525803 failed..Will retry 2026-10-05 21:43:01,844 - DEBUG - Response for deleting network () 2026-10-05 21:43:01,844 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3f88e538-864a-4e85-8933-0368b6be12a7 2026-10-05 21:43:01,852 - DEBUG - Response Code: 404 2026-10-05 21:43:01,852 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-10-05 21:43:01,858 - DEBUG - Requesting: http://10.0.0.50:8082/domain/9493e94d-af95-42ca-9ca5-57754df57a74 2026-10-05 21:43:01,916 - DEBUG - Requesting: http://10.0.0.50:8082/project/72e4685e-3d5a-402e-b8b9-aee4e0d0d99c 2026-10-05 21:43:01,990 - INFO - Validated that VN ctest-vn-26525803 is not found in API Server 2026-10-05 21:43:02,005 - DEBUG - VN ctest-vn-26525803 is not present in Agent 10.0.0.50 2026-10-05 21:43:02,005 - INFO - Validated that VN ctest-vn-26525803 is not in any agent 2026-10-05 21:43:02,025 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-26525803 info 2026-10-05 21:43:02,026 - INFO - Deleting VN ctest-vn-36768063 2026-10-05 21:43:02,124 - DEBUG - Response for deleting network () 2026-10-05 21:43:02,124 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3bd4f9c9-07a0-45aa-8397-fb810ce5967d 2026-10-05 21:43:02,129 - DEBUG - Response Code: 404 2026-10-05 21:43:02,130 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-10-05 21:43:02,136 - DEBUG - Requesting: http://10.0.0.50:8082/domain/9493e94d-af95-42ca-9ca5-57754df57a74 2026-10-05 21:43:02,186 - DEBUG - Requesting: http://10.0.0.50:8082/project/72e4685e-3d5a-402e-b8b9-aee4e0d0d99c 2026-10-05 21:43:02,259 - INFO - Validated that VN ctest-vn-36768063 is not found in API Server 2026-10-05 21:43:02,272 - DEBUG - VN ctest-vn-36768063 is not present in Agent 10.0.0.50 2026-10-05 21:43:02,272 - INFO - Validated that VN ctest-vn-36768063 is not in any agent 2026-10-05 21:43:02,290 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-36768063 info 2026-10-05 21:43:02,543 - DEBUG - No XMPP flaps were noticed during the test 2026-10-05 21:43:02,543 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:05] 2026-10-05 21:43:02,543 - INFO - -------------------------------------------------------------------------------- 2026-10-05 21:43:03,303 - INFO - Deleted project: ctest-TestBasicPolicy-58037355, ID : 72e4685e-3d5a-402e-b8b9-aee4e0d0d99c