2025-09-25 19:55:00,043 - INFO - Domain Default found not creating 2025-09-25 19:55:00,168 - INFO - Project ctest-TestBasicPolicy-31787597 not found, creating it 2025-09-25 19:55:00,580 - INFO - Created Project:ctest-TestBasicPolicy-31787597, ID : 822376d4-40fe-4077-aef9-d1e2efd4f782 2025-09-25 19:55:01,892 - INFO - ================================================================================ 2025-09-25 19:55:01,892 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-09-25 19:55:01,892 - 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 2025-09-25 19:55:02,142 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.17': '0'}} with 2025-09-25 19:55:02,142 - INFO - Initial checks done. Running the testcase now 2025-09-25 19:55:02,143 - INFO - 2025-09-25 19:55:02,647 - DEBUG - Response for create_network : {'network': {'id': 'a4b19f13-e0d2-4389-87f6-8791379dcaf0', 'name': 'ctest-vn-73360284', 'tenant_id': '822376d440fe4077aef9d1e2efd4f782', 'project_id': '822376d440fe4077aef9d1e2efd4f782', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-31787597', 'ctest-vn-73360284'], 'port_security_enabled': True, 'description': ''}} 2025-09-25 19:55:02,846 - DEBUG - Response for create_subnet : {'subnet': {'id': '1e1101ac-8015-4403-ac33-5731510c3036', 'name': '', 'tenant_id': '822376d440fe4077aef9d1e2efd4f782', 'network_id': 'a4b19f13-e0d2-4389-87f6-8791379dcaf0', 'ip_version': 4, 'cidr': '158.176.218.128/26', 'allocation_pools': [{'start': '158.176.218.130', 'end': '158.176.218.190'}], 'gateway_ip': '158.176.218.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '158.176.218.130', 'tags': [], 'project_id': '822376d440fe4077aef9d1e2efd4f782'}} 2025-09-25 19:55:02,860 - INFO - Created VN ctest-vn-73360284 2025-09-25 19:55:02,910 - DEBUG - VN ctest-vn-73360284 UUID is a4b19f13-e0d2-4389-87f6-8791379dcaf0 2025-09-25 19:55:03,202 - DEBUG - Response for create_network : {'network': {'id': '03d133d1-ac8c-4cc3-8f8f-fc6c40626b9f', 'name': 'ctest-vn-52849814', 'tenant_id': '822376d440fe4077aef9d1e2efd4f782', 'project_id': '822376d440fe4077aef9d1e2efd4f782', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-31787597', 'ctest-vn-52849814'], 'port_security_enabled': True, 'description': ''}} 2025-09-25 19:55:03,405 - DEBUG - Response for create_subnet : {'subnet': {'id': '309ec9a6-9b86-45d8-bfeb-a56fa75618d0', 'name': '', 'tenant_id': '822376d440fe4077aef9d1e2efd4f782', 'network_id': '03d133d1-ac8c-4cc3-8f8f-fc6c40626b9f', 'ip_version': 4, 'cidr': '209.107.243.128/26', 'allocation_pools': [{'start': '209.107.243.130', 'end': '209.107.243.190'}], 'gateway_ip': '209.107.243.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '209.107.243.130', 'tags': [], 'project_id': '822376d440fe4077aef9d1e2efd4f782'}} 2025-09-25 19:55:03,420 - INFO - Created VN ctest-vn-52849814 2025-09-25 19:55:03,470 - DEBUG - VN ctest-vn-52849814 UUID is 03d133d1-ac8c-4cc3-8f8f-fc6c40626b9f 2025-09-25 19:55:03,614 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-31787597:ctest-vn-73360284, 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-31787597:ctest-vn-52849814, 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] 2025-09-25 19:55:03,890 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a4b19f13-e0d2-4389-87f6-8791379dcaf0', 'name': 'ctest-vn-73360284', 'tenant_id': '822376d440fe4077aef9d1e2efd4f782', 'project_id': '822376d440fe4077aef9d1e2efd4f782', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1e1101ac-8015-4403-ac33-5731510c3036'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-31787597', 'ctest-vn-73360284'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-31787597', 'ctest-policy-allow-all-72843767']], 'subnet_ipam': [{'subnet_cidr': '158.176.218.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-25 19:55:04,102 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '03d133d1-ac8c-4cc3-8f8f-fc6c40626b9f', 'name': 'ctest-vn-52849814', 'tenant_id': '822376d440fe4077aef9d1e2efd4f782', 'project_id': '822376d440fe4077aef9d1e2efd4f782', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['309ec9a6-9b86-45d8-bfeb-a56fa75618d0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-31787597', 'ctest-vn-52849814'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-31787597', 'ctest-policy-allow-all-72843767']], 'subnet_ipam': [{'subnet_cidr': '209.107.243.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-25 19:55:04,254 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-09-25 19:55:04,542 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-09-25 19:55:04,565 - DEBUG - Requesting: http://10.0.0.57:8082/domain/acd9d76b-625d-43b1-bfb9-0d48e90947f0 2025-09-25 19:55:04,576 - DEBUG - Requesting: http://10.0.0.57:8082/project/822376d4-40fe-4077-aef9-d1e2efd4f782 2025-09-25 19:55:04,643 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/a4b19f13-e0d2-4389-87f6-8791379dcaf0 2025-09-25 19:55:04,653 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/a4b19f13-e0d2-4389-87f6-8791379dcaf0 2025-09-25 19:55:04,661 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/63771151-765a-40bd-ae32-42a907514a76 2025-09-25 19:55:04,669 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/63771151-765a-40bd-ae32-42a907514a76 2025-09-25 19:55:04,674 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/9ec6a7ac-d3e6-482b-b824-8927b5b84c34 2025-09-25 19:55:04,679 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-25 19:55:04,679 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/a4b19f13-e0d2-4389-87f6-8791379dcaf0 2025-09-25 19:55:04,686 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/63771151-765a-40bd-ae32-42a907514a76 2025-09-25 19:55:04,696 - INFO - Verified VN network id 12 for VN a4b19f13-e0d2-4389-87f6-8791379dcaf0 2025-09-25 19:55:04,696 - INFO - Verifications in API Server for VN ctest-vn-73360284 passed 2025-09-25 19:55:04,696 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/a4b19f13-e0d2-4389-87f6-8791379dcaf0 2025-09-25 19:55:04,703 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/63771151-765a-40bd-ae32-42a907514a76 2025-09-25 19:55:04,708 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/63771151-765a-40bd-ae32-42a907514a76 2025-09-25 19:55:04,714 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/9ec6a7ac-d3e6-482b-b824-8927b5b84c34 2025-09-25 19:55:04,723 - DEBUG - Control-node 10.0.0.57 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-31787597:ctest-vn-73360284', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-31787597', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11867441400823038857', 'uuid-lslong': '9797167097164188400'}, 'enable': 'true', 'created': '2025-09-25T19:55:02', 'last-modified': '2025-09-25T19:55:03', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.855461'} 2025-09-25 19:55:04,728 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-25 19:55:04,728 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-73360284 passed 2025-09-25 19:55:04,728 - DEBUG - ====Verifying policy data for ctest-vn-73360284 in API_Server ====== 2025-09-25 19:55:04,728 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-09-25 19:55:04,733 - DEBUG - Requesting: http://10.0.0.57:8082/domain/acd9d76b-625d-43b1-bfb9-0d48e90947f0 2025-09-25 19:55:04,742 - DEBUG - Requesting: http://10.0.0.57:8082/project/822376d4-40fe-4077-aef9-d1e2efd4f782 2025-09-25 19:55:04,808 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/a4b19f13-e0d2-4389-87f6-8791379dcaf0 2025-09-25 19:55:04,816 - DEBUG - ==>Verifying data for policy with id: 2f1ea7ce-e03f-4cdc-97a5-30edf559457c, fqn: ['default-domain', 'ctest-TestBasicPolicy-31787597', 'ctest-policy-allow-all-72843767'] 2025-09-25 19:55:04,816 - INFO - VN ctest-vn-73360284 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-25 19:55:04,816 - DEBUG - Verifying the vn in opserver 2025-09-25 19:55:04,816 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-31787597:ctest-vn-73360284 virtual network link through opserver 10.0.0.57 2025-09-25 19:55:04,816 - DEBUG - Requesting: http://10.0.0.57:8081/analytics/uves/virtual-networks 2025-09-25 19:55:05,104 - DEBUG - Requesting: http://10.0.0.57:8081/analytics/uves/virtual-networks 2025-09-25 19:55:05,149 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-31787597:ctest-vn-73360284', 'href': 'http://10.0.0.57:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-31787597:ctest-vn-73360284?flat'} 2025-09-25 19:55:05,149 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-31787597:ctest-vn-73360284 is found in opserver 2025-09-25 19:55:05,157 - DEBUG - Do not have enough data to verify VN in agent 2025-09-25 19:55:05,162 - DEBUG - VRF ids for VN ctest-vn-73360284: {} 2025-09-25 19:55:05,162 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-09-25 19:55:05,166 - DEBUG - Requesting: http://10.0.0.57:8082/domain/acd9d76b-625d-43b1-bfb9-0d48e90947f0 2025-09-25 19:55:05,175 - DEBUG - Requesting: http://10.0.0.57:8082/project/822376d4-40fe-4077-aef9-d1e2efd4f782 2025-09-25 19:55:05,240 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/03d133d1-ac8c-4cc3-8f8f-fc6c40626b9f 2025-09-25 19:55:05,249 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/03d133d1-ac8c-4cc3-8f8f-fc6c40626b9f 2025-09-25 19:55:05,256 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/e6f219ac-3313-4fb9-ad42-454630f785f1 2025-09-25 19:55:05,261 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/e6f219ac-3313-4fb9-ad42-454630f785f1 2025-09-25 19:55:05,266 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/e6e62237-4d7b-496c-9418-a87babbcf78c 2025-09-25 19:55:05,271 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-25 19:55:05,271 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/03d133d1-ac8c-4cc3-8f8f-fc6c40626b9f 2025-09-25 19:55:05,277 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/e6f219ac-3313-4fb9-ad42-454630f785f1 2025-09-25 19:55:05,287 - INFO - Verified VN network id 13 for VN 03d133d1-ac8c-4cc3-8f8f-fc6c40626b9f 2025-09-25 19:55:05,287 - INFO - Verifications in API Server for VN ctest-vn-52849814 passed 2025-09-25 19:55:05,287 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/03d133d1-ac8c-4cc3-8f8f-fc6c40626b9f 2025-09-25 19:55:05,294 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/e6f219ac-3313-4fb9-ad42-454630f785f1 2025-09-25 19:55:05,298 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/e6f219ac-3313-4fb9-ad42-454630f785f1 2025-09-25 19:55:05,303 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/e6e62237-4d7b-496c-9418-a87babbcf78c 2025-09-25 19:55:05,312 - DEBUG - Control-node 10.0.0.57 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-31787597:ctest-vn-52849814', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-31787597', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '275058027882368195', 'uuid-lslong': '10344764410960178079'}, 'enable': 'true', 'created': '2025-09-25T19:55:03', 'last-modified': '2025-09-25T19:55:04', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.227072'} 2025-09-25 19:55:05,316 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-25 19:55:05,316 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-52849814 passed 2025-09-25 19:55:05,316 - DEBUG - ====Verifying policy data for ctest-vn-52849814 in API_Server ====== 2025-09-25 19:55:05,316 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-09-25 19:55:05,321 - DEBUG - Requesting: http://10.0.0.57:8082/domain/acd9d76b-625d-43b1-bfb9-0d48e90947f0 2025-09-25 19:55:05,329 - DEBUG - Requesting: http://10.0.0.57:8082/project/822376d4-40fe-4077-aef9-d1e2efd4f782 2025-09-25 19:55:05,395 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/03d133d1-ac8c-4cc3-8f8f-fc6c40626b9f 2025-09-25 19:55:05,402 - DEBUG - ==>Verifying data for policy with id: 2f1ea7ce-e03f-4cdc-97a5-30edf559457c, fqn: ['default-domain', 'ctest-TestBasicPolicy-31787597', 'ctest-policy-allow-all-72843767'] 2025-09-25 19:55:05,402 - INFO - VN ctest-vn-52849814 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-25 19:55:05,402 - DEBUG - Verifying the vn in opserver 2025-09-25 19:55:05,402 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-31787597:ctest-vn-52849814 virtual network link through opserver 10.0.0.57 2025-09-25 19:55:05,403 - DEBUG - Requesting: http://10.0.0.57:8081/analytics/uves/virtual-networks 2025-09-25 19:55:05,411 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-31787597:ctest-vn-52849814', 'href': 'http://10.0.0.57:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-31787597:ctest-vn-52849814?flat'} 2025-09-25 19:55:05,411 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-31787597:ctest-vn-52849814 is found in opserver 2025-09-25 19:55:05,419 - DEBUG - Do not have enough data to verify VN in agent 2025-09-25 19:55:05,422 - DEBUG - VRF ids for VN ctest-vn-52849814: {} 2025-09-25 19:55:05,470 - DEBUG - Services list from nova: [, , ] 2025-09-25 19:55:06,426 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4194-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4194-1) 2025-09-25 19:55:07,461 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4194-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4194-1) 2025-09-25 19:55:07,462 - INFO - Waiting for VM ctest-TestBasicPolicy-31787597-77596781 to be up.. 2025-09-25 19:55:07,525 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-25 19:55:12,593 - DEBUG - VM is in ACTIVE state now 2025-09-25 19:55:12,593 - INFO - VM name : ctest-TestBasicPolicy-31787597-77596781 2025-09-25 19:55:12,664 - DEBUG - VM ctest-TestBasicPolicy-31787597-77596781 ID is eb67f2f7-8b26-4a48-be79-790ae0fbb98b 2025-09-25 19:55:12,681 - DEBUG - VM ctest-TestBasicPolicy-31787597-77596781 launched on Node cn-jenkins-deploy-platform-ansible-os-4194-1 2025-09-25 19:55:12,744 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/eb67f2f7-8b26-4a48-be79-790ae0fbb98b 2025-09-25 19:55:12,751 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/cf257e52-ac96-43f0-86af-f2c45bd8b828 2025-09-25 19:55:15,984 - 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 1006ms') 2025-09-25 19:55:15,984 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-31787597-77596781 failed! 2025-09-25 19:55:16,042 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-31787597:ctest-vn-73360284 is 158.176.218.129 and allocation pool is NOT set 2025-09-25 19:55:18,104 - 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=2.95 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.392 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.392/1.669/2.947/1.277 ms') 2025-09-25 19:55:18,104 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-31787597-77596781 passed 2025-09-25 19:55:18,250 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-25 19:55:18,250 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-31787597-77596781, IP 158.176.218.131, Port 22 2025-09-25 19:55:18,401 - DEBUG - VM ctest-TestBasicPolicy-31787597-77596781 is ready for SSH connections 2025-09-25 19:55:18,401 - INFO - Waiting for VM ctest-TestBasicPolicy-31787597-51362576 to be up.. 2025-09-25 19:55:18,466 - DEBUG - VM is in ACTIVE state now 2025-09-25 19:55:18,466 - INFO - VM name : ctest-TestBasicPolicy-31787597-51362576 2025-09-25 19:55:18,529 - DEBUG - VM ctest-TestBasicPolicy-31787597-51362576 ID is dfdcc216-bec5-472f-a008-68c0b411ca3f 2025-09-25 19:55:18,529 - DEBUG - VM ctest-TestBasicPolicy-31787597-51362576 launched on Node cn-jenkins-deploy-platform-ansible-os-4194-1 2025-09-25 19:55:18,592 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/dfdcc216-bec5-472f-a008-68c0b411ca3f 2025-09-25 19:55:18,599 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/92fb475a-9310-445d-a1bf-dd379547bded 2025-09-25 19:55:19,829 - 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=2.53 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.379 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.379/1.453/2.527/1.074 ms') 2025-09-25 19:55:19,830 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-31787597-51362576 passed 2025-09-25 19:55:19,978 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-25 19:55:19,978 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-31787597-51362576, IP 209.107.243.131, Port 22 2025-09-25 19:55:20,129 - DEBUG - VM ctest-TestBasicPolicy-31787597-51362576 is ready for SSH connections 2025-09-25 19:55:20,130 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-25 19:55:20,130 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 209.107.243.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-09-25 19:55:20,130 - DEBUG - ping -s 56 -c 3 -W 1 209.107.243.131 2025-09-25 19:55:24,103 - DEBUG - PING 209.107.243.131 (209.107.243.131): 56 data bytes 64 bytes from 209.107.243.131: seq=0 ttl=63 time=4.214 ms 64 bytes from 209.107.243.131: seq=1 ttl=63 time=0.804 ms 64 bytes from 209.107.243.131: seq=2 ttl=63 time=0.743 ms --- 209.107.243.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.743/1.920/4.214 ms 2025-09-25 19:55:24,103 - INFO - Ping to IP 209.107.243.131 from VM ctest-TestBasicPolicy-31787597-77596781 passed 2025-09-25 19:55:24,282 - DEBUG - Policy Update Response {"network-policy": {"uuid": "2f1ea7ce-e03f-4cdc-97a5-30edf559457c", "href": "http://10.0.0.57:8082/network-policy/2f1ea7ce-e03f-4cdc-97a5-30edf559457c"}} 2025-09-25 19:55:24,282 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-25 19:55:24,282 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 209.107.243.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-09-25 19:55:24,282 - DEBUG - ping -s 56 -c 3 -W 1 209.107.243.131 2025-09-25 19:55:27,478 - DEBUG - PING 209.107.243.131 (209.107.243.131): 56 data bytes 64 bytes from 209.107.243.131: seq=0 ttl=63 time=1.216 ms --- 209.107.243.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.216/1.216/1.216 ms 2025-09-25 19:55:27,478 - WARNING - Ping to IP 209.107.243.131 from VM ctest-TestBasicPolicy-31787597-77596781 failed 2025-09-25 19:55:27,479 - INFO - Deleting VM ctest-TestBasicPolicy-31787597-51362576 2025-09-25 19:55:27,539 - INFO - Deleting VM ctest-TestBasicPolicy-31787597-77596781 2025-09-25 19:55:27,882 - INFO - Deleted policy ctest-policy-allow-all-72843767 2025-09-25 19:55:27,882 - INFO - Deleting VN ctest-vn-52849814 2025-09-25 19:55:27,914 - DEBUG - VN 03d133d1-ac8c-4cc3-8f8f-fc6c40626b9f still in use: Unable to complete operation on network 03d133d1-ac8c-4cc3-8f8f-fc6c40626b9f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b653ce1c-f465-4bf2-9cca-07bb2abc9641'] 2025-09-25 19:55:27,914 - WARNING - Deleting VN ctest-vn-52849814 failed..Will retry 2025-09-25 19:55:30,009 - DEBUG - Response for deleting network () 2025-09-25 19:55:30,009 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/e6f219ac-3313-4fb9-ad42-454630f785f1 2025-09-25 19:55:30,015 - DEBUG - Response Code: 404 2025-09-25 19:55:30,016 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-09-25 19:55:30,020 - DEBUG - Requesting: http://10.0.0.57:8082/domain/acd9d76b-625d-43b1-bfb9-0d48e90947f0 2025-09-25 19:55:30,071 - DEBUG - Requesting: http://10.0.0.57:8082/project/822376d4-40fe-4077-aef9-d1e2efd4f782 2025-09-25 19:55:30,134 - INFO - Validated that VN ctest-vn-52849814 is not found in API Server 2025-09-25 19:55:30,143 - DEBUG - VN ctest-vn-52849814 is not present in Agent 10.0.0.57 2025-09-25 19:55:30,143 - INFO - Validated that VN ctest-vn-52849814 is not in any agent 2025-09-25 19:55:30,155 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-52849814 info 2025-09-25 19:55:30,156 - INFO - Deleting VN ctest-vn-73360284 2025-09-25 19:55:30,242 - DEBUG - Response for deleting network () 2025-09-25 19:55:30,242 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/63771151-765a-40bd-ae32-42a907514a76 2025-09-25 19:55:30,248 - DEBUG - Response Code: 404 2025-09-25 19:55:30,249 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-09-25 19:55:30,253 - DEBUG - Requesting: http://10.0.0.57:8082/domain/acd9d76b-625d-43b1-bfb9-0d48e90947f0 2025-09-25 19:55:30,302 - DEBUG - Requesting: http://10.0.0.57:8082/project/822376d4-40fe-4077-aef9-d1e2efd4f782 2025-09-25 19:55:30,369 - INFO - Validated that VN ctest-vn-73360284 is not found in API Server 2025-09-25 19:55:30,377 - DEBUG - VN ctest-vn-73360284 is not present in Agent 10.0.0.57 2025-09-25 19:55:30,377 - INFO - Validated that VN ctest-vn-73360284 is not in any agent 2025-09-25 19:55:30,389 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-73360284 info 2025-09-25 19:55:30,642 - DEBUG - No XMPP flaps were noticed during the test
2025-09-25 19:55:30,642 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-09-25 19:55:30,643 - INFO - -------------------------------------------------------------------------------- 2025-09-25 19:55:31,324 - INFO - Deleted project: ctest-TestBasicPolicy-31787597, ID : 822376d4-40fe-4077-aef9-d1e2efd4f782