2025-07-17 02:26:11,170 - INFO - Domain Default found not creating 2025-07-17 02:26:11,351 - INFO - Project ctest-TestBasicPolicy-42779990 not found, creating it 2025-07-17 02:26:11,827 - INFO - Created Project:ctest-TestBasicPolicy-42779990, ID : 9a7712a8-6071-40dc-8f3c-a60eccf2b4f0 2025-07-17 02:26:13,323 - INFO - ================================================================================ 2025-07-17 02:26:13,323 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-07-17 02:26:13,323 - 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-07-17 02:26:13,586 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.201': '0'}} with 2025-07-17 02:26:13,586 - INFO - Initial checks done. Running the testcase now 2025-07-17 02:26:13,586 - INFO - 2025-07-17 02:26:14,188 - DEBUG - Response for create_network : {'network': {'id': 'd8932d37-a38d-4179-a1db-1a3c57faf6bf', 'name': 'ctest-vn-79016018', 'tenant_id': '9a7712a8607140dc8f3ca60eccf2b4f0', 'project_id': '9a7712a8607140dc8f3ca60eccf2b4f0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-42779990', 'ctest-vn-79016018'], 'port_security_enabled': True, 'description': ''}} 2025-07-17 02:26:14,392 - DEBUG - Response for create_subnet : {'subnet': {'id': '80acfe4b-4bd5-409d-b10a-71d566869457', 'name': '', 'tenant_id': '9a7712a8607140dc8f3ca60eccf2b4f0', 'network_id': 'd8932d37-a38d-4179-a1db-1a3c57faf6bf', 'ip_version': 4, 'cidr': '114.254.69.64/26', 'allocation_pools': [{'start': '114.254.69.66', 'end': '114.254.69.126'}], 'gateway_ip': '114.254.69.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '114.254.69.66', 'tags': [], 'project_id': '9a7712a8607140dc8f3ca60eccf2b4f0'}} 2025-07-17 02:26:14,410 - INFO - Created VN ctest-vn-79016018 2025-07-17 02:26:14,469 - DEBUG - VN ctest-vn-79016018 UUID is d8932d37-a38d-4179-a1db-1a3c57faf6bf 2025-07-17 02:26:14,766 - DEBUG - Response for create_network : {'network': {'id': '631a79d4-27c6-46ab-959a-5bcc5d8db309', 'name': 'ctest-vn-31844790', 'tenant_id': '9a7712a8607140dc8f3ca60eccf2b4f0', 'project_id': '9a7712a8607140dc8f3ca60eccf2b4f0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-42779990', 'ctest-vn-31844790'], 'port_security_enabled': True, 'description': ''}} 2025-07-17 02:26:14,983 - DEBUG - Response for create_subnet : {'subnet': {'id': '5e512a91-46a1-48ff-a82b-f1ca9f040cf0', 'name': '', 'tenant_id': '9a7712a8607140dc8f3ca60eccf2b4f0', 'network_id': '631a79d4-27c6-46ab-959a-5bcc5d8db309', 'ip_version': 4, 'cidr': '212.102.193.192/26', 'allocation_pools': [{'start': '212.102.193.194', 'end': '212.102.193.254'}], 'gateway_ip': '212.102.193.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '212.102.193.194', 'tags': [], 'project_id': '9a7712a8607140dc8f3ca60eccf2b4f0'}} 2025-07-17 02:26:15,003 - INFO - Created VN ctest-vn-31844790 2025-07-17 02:26:15,057 - DEBUG - VN ctest-vn-31844790 UUID is 631a79d4-27c6-46ab-959a-5bcc5d8db309 2025-07-17 02:26:15,263 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-42779990:ctest-vn-79016018, 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-42779990:ctest-vn-31844790, 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-07-17 02:26:15,565 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd8932d37-a38d-4179-a1db-1a3c57faf6bf', 'name': 'ctest-vn-79016018', 'tenant_id': '9a7712a8607140dc8f3ca60eccf2b4f0', 'project_id': '9a7712a8607140dc8f3ca60eccf2b4f0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['80acfe4b-4bd5-409d-b10a-71d566869457'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-42779990', 'ctest-vn-79016018'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-42779990', 'ctest-policy-allow-all-48316024']], 'subnet_ipam': [{'subnet_cidr': '114.254.69.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-17 02:26:15,790 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '631a79d4-27c6-46ab-959a-5bcc5d8db309', 'name': 'ctest-vn-31844790', 'tenant_id': '9a7712a8607140dc8f3ca60eccf2b4f0', 'project_id': '9a7712a8607140dc8f3ca60eccf2b4f0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5e512a91-46a1-48ff-a82b-f1ca9f040cf0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-42779990', 'ctest-vn-31844790'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-42779990', 'ctest-policy-allow-all-48316024']], 'subnet_ipam': [{'subnet_cidr': '212.102.193.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-17 02:26:15,960 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-07-17 02:26:16,254 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-07-17 02:26:16,284 - DEBUG - Requesting: http://10.0.0.33:8082/domain/31eeaee1-41bd-4342-b367-0fef12138452 2025-07-17 02:26:16,299 - DEBUG - Requesting: http://10.0.0.33:8082/project/9a7712a8-6071-40dc-8f3c-a60eccf2b4f0 2025-07-17 02:26:16,379 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/d8932d37-a38d-4179-a1db-1a3c57faf6bf 2025-07-17 02:26:16,393 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/d8932d37-a38d-4179-a1db-1a3c57faf6bf 2025-07-17 02:26:16,404 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/637db845-e8f4-4185-8a44-b2465d3daec3 2025-07-17 02:26:16,413 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/637db845-e8f4-4185-8a44-b2465d3daec3 2025-07-17 02:26:16,422 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/3ef712c5-1b73-422a-b5fb-048ad9707267 2025-07-17 02:26:16,431 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-17 02:26:16,431 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/d8932d37-a38d-4179-a1db-1a3c57faf6bf 2025-07-17 02:26:16,443 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/637db845-e8f4-4185-8a44-b2465d3daec3 2025-07-17 02:26:16,464 - INFO - Verified VN network id 8 for VN d8932d37-a38d-4179-a1db-1a3c57faf6bf 2025-07-17 02:26:16,464 - INFO - Verifications in API Server for VN ctest-vn-79016018 passed 2025-07-17 02:26:16,464 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/d8932d37-a38d-4179-a1db-1a3c57faf6bf 2025-07-17 02:26:16,477 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/637db845-e8f4-4185-8a44-b2465d3daec3 2025-07-17 02:26:16,485 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/637db845-e8f4-4185-8a44-b2465d3daec3 2025-07-17 02:26:16,493 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/3ef712c5-1b73-422a-b5fb-048ad9707267 2025-07-17 02:26:16,507 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-42779990:ctest-vn-79016018', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-42779990', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15605866850759295353', 'uuid-lslong': '11662944506482456255'}, 'enable': 'true', 'created': '2025-07-17T02:26:14', 'last-modified': '2025-07-17T02:26:15', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.961869'} 2025-07-17 02:26:16,513 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-17 02:26:16,514 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-79016018 passed 2025-07-17 02:26:16,514 - DEBUG - ====Verifying policy data for ctest-vn-79016018 in API_Server ====== 2025-07-17 02:26:16,514 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-07-17 02:26:16,520 - DEBUG - Requesting: http://10.0.0.33:8082/domain/31eeaee1-41bd-4342-b367-0fef12138452 2025-07-17 02:26:16,537 - DEBUG - Requesting: http://10.0.0.33:8082/project/9a7712a8-6071-40dc-8f3c-a60eccf2b4f0 2025-07-17 02:26:16,616 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/d8932d37-a38d-4179-a1db-1a3c57faf6bf 2025-07-17 02:26:16,627 - DEBUG - ==>Verifying data for policy with id: c6ee6989-9c83-40b0-93dd-c8f6a3a64162, fqn: ['default-domain', 'ctest-TestBasicPolicy-42779990', 'ctest-policy-allow-all-48316024'] 2025-07-17 02:26:16,627 - INFO - VN ctest-vn-79016018 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-17 02:26:16,627 - DEBUG - Verifying the vn in opserver 2025-07-17 02:26:16,627 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-42779990:ctest-vn-79016018 virtual network link through opserver 10.0.0.33 2025-07-17 02:26:16,627 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-07-17 02:26:16,917 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-07-17 02:26:16,971 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-42779990:ctest-vn-79016018', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-42779990:ctest-vn-79016018?flat'} 2025-07-17 02:26:16,972 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-42779990:ctest-vn-79016018 is found in opserver 2025-07-17 02:26:16,985 - DEBUG - Do not have enough data to verify VN in agent 2025-07-17 02:26:16,990 - DEBUG - VRF ids for VN ctest-vn-79016018: {} 2025-07-17 02:26:16,990 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-07-17 02:26:16,997 - DEBUG - Requesting: http://10.0.0.33:8082/domain/31eeaee1-41bd-4342-b367-0fef12138452 2025-07-17 02:26:17,010 - DEBUG - Requesting: http://10.0.0.33:8082/project/9a7712a8-6071-40dc-8f3c-a60eccf2b4f0 2025-07-17 02:26:17,086 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/631a79d4-27c6-46ab-959a-5bcc5d8db309 2025-07-17 02:26:17,099 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/631a79d4-27c6-46ab-959a-5bcc5d8db309 2025-07-17 02:26:17,111 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/74def40f-5f3e-4d86-9043-9b13e97196c1 2025-07-17 02:26:17,121 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/74def40f-5f3e-4d86-9043-9b13e97196c1 2025-07-17 02:26:17,131 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/b6750d25-f5bb-48d2-8f9c-723b73e1f202 2025-07-17 02:26:17,139 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-17 02:26:17,139 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/631a79d4-27c6-46ab-959a-5bcc5d8db309 2025-07-17 02:26:17,150 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/74def40f-5f3e-4d86-9043-9b13e97196c1 2025-07-17 02:26:17,165 - INFO - Verified VN network id 9 for VN 631a79d4-27c6-46ab-959a-5bcc5d8db309 2025-07-17 02:26:17,165 - INFO - Verifications in API Server for VN ctest-vn-31844790 passed 2025-07-17 02:26:17,165 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/631a79d4-27c6-46ab-959a-5bcc5d8db309 2025-07-17 02:26:17,174 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/74def40f-5f3e-4d86-9043-9b13e97196c1 2025-07-17 02:26:17,182 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/74def40f-5f3e-4d86-9043-9b13e97196c1 2025-07-17 02:26:17,190 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/b6750d25-f5bb-48d2-8f9c-723b73e1f202 2025-07-17 02:26:17,203 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-42779990:ctest-vn-31844790', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-42779990', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7141154111256676011', 'uuid-lslong': '10780029591365726985'}, 'enable': 'true', 'created': '2025-07-17T02:26:14', 'last-modified': '2025-07-17T02:26:15', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.433869'} 2025-07-17 02:26:17,210 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-17 02:26:17,210 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-31844790 passed 2025-07-17 02:26:17,211 - DEBUG - ====Verifying policy data for ctest-vn-31844790 in API_Server ====== 2025-07-17 02:26:17,211 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-07-17 02:26:17,218 - DEBUG - Requesting: http://10.0.0.33:8082/domain/31eeaee1-41bd-4342-b367-0fef12138452 2025-07-17 02:26:17,231 - DEBUG - Requesting: http://10.0.0.33:8082/project/9a7712a8-6071-40dc-8f3c-a60eccf2b4f0 2025-07-17 02:26:17,307 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/631a79d4-27c6-46ab-959a-5bcc5d8db309 2025-07-17 02:26:17,319 - DEBUG - ==>Verifying data for policy with id: c6ee6989-9c83-40b0-93dd-c8f6a3a64162, fqn: ['default-domain', 'ctest-TestBasicPolicy-42779990', 'ctest-policy-allow-all-48316024'] 2025-07-17 02:26:17,319 - INFO - VN ctest-vn-31844790 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-17 02:26:17,319 - DEBUG - Verifying the vn in opserver 2025-07-17 02:26:17,319 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-42779990:ctest-vn-31844790 virtual network link through opserver 10.0.0.33 2025-07-17 02:26:17,319 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-07-17 02:26:17,330 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-42779990:ctest-vn-31844790', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-42779990:ctest-vn-31844790?flat'} 2025-07-17 02:26:17,330 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-42779990:ctest-vn-31844790 is found in opserver 2025-07-17 02:26:17,341 - DEBUG - Do not have enough data to verify VN in agent 2025-07-17 02:26:17,347 - DEBUG - VRF ids for VN ctest-vn-31844790: {} 2025-07-17 02:26:17,402 - DEBUG - Services list from nova: [, , ] 2025-07-17 02:26:18,402 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3649-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3649-1) 2025-07-17 02:26:19,632 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3649-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3649-1) 2025-07-17 02:26:19,632 - INFO - Waiting for VM ctest-TestBasicPolicy-42779990-84693652 to be up.. 2025-07-17 02:26:19,712 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-17 02:26:24,783 - DEBUG - VM is in ACTIVE state now 2025-07-17 02:26:24,783 - INFO - VM name : ctest-TestBasicPolicy-42779990-84693652 2025-07-17 02:26:24,865 - DEBUG - VM ctest-TestBasicPolicy-42779990-84693652 ID is 0ea37e2c-c098-45c9-9102-1868d91c0506 2025-07-17 02:26:24,889 - DEBUG - VM ctest-TestBasicPolicy-42779990-84693652 launched on Node cn-jenkins-deploy-platform-ansible-os-3649-1 2025-07-17 02:26:24,975 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/0ea37e2c-c098-45c9-9102-1868d91c0506 2025-07-17 02:26:24,986 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/f9a5d678-e45a-4a72-8003-76abd5bef7cf 2025-07-17 02:26:28,232 - 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 1004ms') 2025-07-17 02:26:28,233 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-42779990-84693652 failed! 2025-07-17 02:26:28,292 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-42779990:ctest-vn-79016018 is 114.254.69.65 and allocation pool is NOT set 2025-07-17 02:26:30,358 - 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=10.7 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.90 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 = 1.899/6.300/10.701/4.401 ms') 2025-07-17 02:26:30,358 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-42779990-84693652 passed 2025-07-17 02:26:30,512 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-17 02:26:30,513 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-42779990-84693652, IP 114.254.69.67, Port 22 2025-07-17 02:26:30,678 - DEBUG - VM ctest-TestBasicPolicy-42779990-84693652 is ready for SSH connections 2025-07-17 02:26:30,678 - INFO - Waiting for VM ctest-TestBasicPolicy-42779990-61828836 to be up.. 2025-07-17 02:26:30,756 - DEBUG - VM is in ACTIVE state now 2025-07-17 02:26:30,756 - INFO - VM name : ctest-TestBasicPolicy-42779990-61828836 2025-07-17 02:26:30,847 - DEBUG - VM ctest-TestBasicPolicy-42779990-61828836 ID is 1e730660-5313-48ef-8197-f3cf2ab248b2 2025-07-17 02:26:30,847 - DEBUG - VM ctest-TestBasicPolicy-42779990-61828836 launched on Node cn-jenkins-deploy-platform-ansible-os-3649-1 2025-07-17 02:26:30,938 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/1e730660-5313-48ef-8197-f3cf2ab248b2 2025-07-17 02:26:30,948 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/be11c827-363b-4a05-9ac3-8c7d857539d7 2025-07-17 02:26:32,188 - 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.28 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.387 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.387/1.834/3.282/1.447 ms') 2025-07-17 02:26:32,188 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-42779990-61828836 passed 2025-07-17 02:26:32,336 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-17 02:26:32,337 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-42779990-61828836, IP 212.102.193.195, Port 22 2025-07-17 02:26:32,496 - DEBUG - VM ctest-TestBasicPolicy-42779990-61828836 is ready for SSH connections 2025-07-17 02:26:32,496 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-17 02:26:32,497 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 212.102.193.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-07-17 02:26:32,497 - DEBUG - ping -s 56 -c 3 -W 1 212.102.193.195 2025-07-17 02:26:36,482 - DEBUG - PING 212.102.193.195 (212.102.193.195): 56 data bytes 64 bytes from 212.102.193.195: seq=0 ttl=63 time=3.436 ms 64 bytes from 212.102.193.195: seq=1 ttl=63 time=0.851 ms 64 bytes from 212.102.193.195: seq=2 ttl=63 time=0.976 ms --- 212.102.193.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.851/1.754/3.436 ms 2025-07-17 02:26:36,482 - INFO - Ping to IP 212.102.193.195 from VM ctest-TestBasicPolicy-42779990-84693652 passed 2025-07-17 02:26:36,668 - DEBUG - Policy Update Response {"network-policy": {"uuid": "c6ee6989-9c83-40b0-93dd-c8f6a3a64162", "href": "http://10.0.0.33:8082/network-policy/c6ee6989-9c83-40b0-93dd-c8f6a3a64162"}} 2025-07-17 02:26:36,668 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-17 02:26:36,668 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 212.102.193.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-07-17 02:26:36,669 - DEBUG - ping -s 56 -c 3 -W 1 212.102.193.195 2025-07-17 02:26:39,887 - DEBUG - PING 212.102.193.195 (212.102.193.195): 56 data bytes --- 212.102.193.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-07-17 02:26:39,887 - WARNING - Ping to IP 212.102.193.195 from VM ctest-TestBasicPolicy-42779990-84693652 failed 2025-07-17 02:26:39,887 - INFO - Deleting VM ctest-TestBasicPolicy-42779990-61828836 2025-07-17 02:26:39,958 - INFO - Deleting VM ctest-TestBasicPolicy-42779990-84693652 2025-07-17 02:26:40,364 - INFO - Deleted policy ctest-policy-allow-all-48316024 2025-07-17 02:26:40,364 - INFO - Deleting VN ctest-vn-31844790 2025-07-17 02:26:40,429 - DEBUG - VN 631a79d4-27c6-46ab-959a-5bcc5d8db309 still in use: Unable to complete operation on network 631a79d4-27c6-46ab-959a-5bcc5d8db309. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-41abeb94-719f-4da2-81f6-c8c64d9532a9'] 2025-07-17 02:26:40,429 - WARNING - Deleting VN ctest-vn-31844790 failed..Will retry 2025-07-17 02:26:42,536 - DEBUG - Response for deleting network () 2025-07-17 02:26:42,536 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/74def40f-5f3e-4d86-9043-9b13e97196c1 2025-07-17 02:26:42,543 - DEBUG - Response Code: 404 2025-07-17 02:26:42,543 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-07-17 02:26:42,549 - DEBUG - Requesting: http://10.0.0.33:8082/domain/31eeaee1-41bd-4342-b367-0fef12138452 2025-07-17 02:26:42,602 - DEBUG - Requesting: http://10.0.0.33:8082/project/9a7712a8-6071-40dc-8f3c-a60eccf2b4f0 2025-07-17 02:26:42,679 - INFO - Validated that VN ctest-vn-31844790 is not found in API Server 2025-07-17 02:26:42,691 - DEBUG - VN ctest-vn-31844790 is not present in Agent 10.0.0.33 2025-07-17 02:26:42,691 - INFO - Validated that VN ctest-vn-31844790 is not in any agent 2025-07-17 02:26:42,708 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-31844790 info 2025-07-17 02:26:42,709 - INFO - Deleting VN ctest-vn-79016018 2025-07-17 02:26:42,810 - DEBUG - Response for deleting network () 2025-07-17 02:26:42,810 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/637db845-e8f4-4185-8a44-b2465d3daec3 2025-07-17 02:26:42,818 - DEBUG - Response Code: 404 2025-07-17 02:26:42,818 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-07-17 02:26:42,827 - DEBUG - Requesting: http://10.0.0.33:8082/domain/31eeaee1-41bd-4342-b367-0fef12138452 2025-07-17 02:26:42,882 - DEBUG - Requesting: http://10.0.0.33:8082/project/9a7712a8-6071-40dc-8f3c-a60eccf2b4f0 2025-07-17 02:26:42,956 - INFO - Validated that VN ctest-vn-79016018 is not found in API Server 2025-07-17 02:26:42,967 - DEBUG - VN ctest-vn-79016018 is not present in Agent 10.0.0.33 2025-07-17 02:26:42,967 - INFO - Validated that VN ctest-vn-79016018 is not in any agent 2025-07-17 02:26:42,983 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-79016018 info 2025-07-17 02:26:43,238 - DEBUG - No XMPP flaps were noticed during the test
2025-07-17 02:26:43,238 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-07-17 02:26:43,238 - INFO - -------------------------------------------------------------------------------- 2025-07-17 02:26:43,908 - INFO - Deleted project: ctest-TestBasicPolicy-42779990, ID : 9a7712a8-6071-40dc-8f3c-a60eccf2b4f0