2025-06-03 16:47:32,797 - INFO - Domain Default found not creating 2025-06-03 16:47:32,950 - INFO - Project ctest-TestBasicPolicy-34328387 not found, creating it 2025-06-03 16:47:33,413 - INFO - Created Project:ctest-TestBasicPolicy-34328387, ID : a6e74b7d-d191-4dd1-a54b-e390cc94233c 2025-06-03 16:47:35,035 - INFO - ================================================================================ 2025-06-03 16:47:35,035 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-03 16:47:35,035 - 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-06-03 16:47:35,294 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.20.0.17': '0'}} with 2025-06-03 16:47:35,294 - INFO - Initial checks done. Running the testcase now 2025-06-03 16:47:35,294 - INFO - 2025-06-03 16:47:35,891 - DEBUG - Response for create_network : {'network': {'id': '5b6bac3e-d2a2-4683-aacd-938c26aba7cb', 'name': 'ctest-vn-64783691', 'tenant_id': 'a6e74b7dd1914dd1a54be390cc94233c', 'project_id': 'a6e74b7dd1914dd1a54be390cc94233c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-34328387', 'ctest-vn-64783691'], 'port_security_enabled': True, 'description': ''}} 2025-06-03 16:47:36,100 - DEBUG - Response for create_subnet : {'subnet': {'id': '296b9f1f-16a7-4262-835c-f52baa36f06d', 'name': '', 'tenant_id': 'a6e74b7dd1914dd1a54be390cc94233c', 'network_id': '5b6bac3e-d2a2-4683-aacd-938c26aba7cb', 'ip_version': 4, 'cidr': '211.54.51.64/26', 'allocation_pools': [{'start': '211.54.51.66', 'end': '211.54.51.126'}], 'gateway_ip': '211.54.51.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '211.54.51.66', 'tags': [], 'project_id': 'a6e74b7dd1914dd1a54be390cc94233c'}} 2025-06-03 16:47:36,120 - INFO - Created VN ctest-vn-64783691 2025-06-03 16:47:36,176 - DEBUG - VN ctest-vn-64783691 UUID is 5b6bac3e-d2a2-4683-aacd-938c26aba7cb 2025-06-03 16:47:36,525 - DEBUG - Response for create_network : {'network': {'id': '144f0b45-0f6d-40b6-8001-a0da2eac21e7', 'name': 'ctest-vn-71048730', 'tenant_id': 'a6e74b7dd1914dd1a54be390cc94233c', 'project_id': 'a6e74b7dd1914dd1a54be390cc94233c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-34328387', 'ctest-vn-71048730'], 'port_security_enabled': True, 'description': ''}} 2025-06-03 16:47:36,712 - DEBUG - Response for create_subnet : {'subnet': {'id': '7fce0449-6b90-41a1-b410-ae9b9defd45c', 'name': '', 'tenant_id': 'a6e74b7dd1914dd1a54be390cc94233c', 'network_id': '144f0b45-0f6d-40b6-8001-a0da2eac21e7', 'ip_version': 4, 'cidr': '41.87.113.64/26', 'allocation_pools': [{'start': '41.87.113.66', 'end': '41.87.113.126'}], 'gateway_ip': '41.87.113.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '41.87.113.66', 'tags': [], 'project_id': 'a6e74b7dd1914dd1a54be390cc94233c'}} 2025-06-03 16:47:36,730 - INFO - Created VN ctest-vn-71048730 2025-06-03 16:47:36,783 - DEBUG - VN ctest-vn-71048730 UUID is 144f0b45-0f6d-40b6-8001-a0da2eac21e7 2025-06-03 16:47:36,894 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-34328387:ctest-vn-64783691, 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-34328387:ctest-vn-71048730, 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-06-03 16:47:37,217 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5b6bac3e-d2a2-4683-aacd-938c26aba7cb', 'name': 'ctest-vn-64783691', 'tenant_id': 'a6e74b7dd1914dd1a54be390cc94233c', 'project_id': 'a6e74b7dd1914dd1a54be390cc94233c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['296b9f1f-16a7-4262-835c-f52baa36f06d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-34328387', 'ctest-vn-64783691'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-34328387', 'ctest-policy-allow-all-11987885']], 'subnet_ipam': [{'subnet_cidr': '211.54.51.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-03 16:47:37,512 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '144f0b45-0f6d-40b6-8001-a0da2eac21e7', 'name': 'ctest-vn-71048730', 'tenant_id': 'a6e74b7dd1914dd1a54be390cc94233c', 'project_id': 'a6e74b7dd1914dd1a54be390cc94233c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7fce0449-6b90-41a1-b410-ae9b9defd45c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-34328387', 'ctest-vn-71048730'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-34328387', 'ctest-policy-allow-all-11987885']], 'subnet_ipam': [{'subnet_cidr': '41.87.113.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-03 16:47:37,667 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2025-06-03 16:47:38,012 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2025-06-03 16:47:38,043 - DEBUG - Requesting: http://10.0.0.129:8082/domain/42d00dd3-ce1d-4033-83e4-26cc53c4e460 2025-06-03 16:47:38,059 - DEBUG - Requesting: http://10.0.0.129:8082/project/a6e74b7d-d191-4dd1-a54b-e390cc94233c 2025-06-03 16:47:38,140 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/5b6bac3e-d2a2-4683-aacd-938c26aba7cb 2025-06-03 16:47:38,156 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/5b6bac3e-d2a2-4683-aacd-938c26aba7cb 2025-06-03 16:47:38,167 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/3fc7664c-88b4-4552-a13a-fcf92fd9ace7 2025-06-03 16:47:38,175 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/3fc7664c-88b4-4552-a13a-fcf92fd9ace7 2025-06-03 16:47:38,183 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/3322e3ba-6ba0-4cba-8227-8920cd6093d9 2025-06-03 16:47:38,190 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-03 16:47:38,190 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/5b6bac3e-d2a2-4683-aacd-938c26aba7cb 2025-06-03 16:47:38,200 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/3fc7664c-88b4-4552-a13a-fcf92fd9ace7 2025-06-03 16:47:38,214 - INFO - Verified VN network id 8 for VN 5b6bac3e-d2a2-4683-aacd-938c26aba7cb 2025-06-03 16:47:38,215 - INFO - Verifications in API Server for VN ctest-vn-64783691 passed 2025-06-03 16:47:38,215 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/5b6bac3e-d2a2-4683-aacd-938c26aba7cb 2025-06-03 16:47:38,224 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/3fc7664c-88b4-4552-a13a-fcf92fd9ace7 2025-06-03 16:47:38,232 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/3fc7664c-88b4-4552-a13a-fcf92fd9ace7 2025-06-03 16:47:38,239 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/3322e3ba-6ba0-4cba-8227-8920cd6093d9 2025-06-03 16:47:38,251 - DEBUG - Control-node 10.0.0.129 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-34328387:ctest-vn-64783691', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-34328387', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6587548265781282435', 'uuid-lslong': '12307655586826921931'}, 'enable': 'true', 'created': '2025-06-03T16:47:35', 'last-modified': '2025-06-03T16:47:37', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.071883'} 2025-06-03 16:47:38,260 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-03 16:47:38,260 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-64783691 passed 2025-06-03 16:47:38,260 - DEBUG - ====Verifying policy data for ctest-vn-64783691 in API_Server ====== 2025-06-03 16:47:38,260 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2025-06-03 16:47:38,266 - DEBUG - Requesting: http://10.0.0.129:8082/domain/42d00dd3-ce1d-4033-83e4-26cc53c4e460 2025-06-03 16:47:38,279 - DEBUG - Requesting: http://10.0.0.129:8082/project/a6e74b7d-d191-4dd1-a54b-e390cc94233c 2025-06-03 16:47:38,358 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/5b6bac3e-d2a2-4683-aacd-938c26aba7cb 2025-06-03 16:47:38,368 - DEBUG - ==>Verifying data for policy with id: 88feec57-bdad-446b-ae64-949b06721b48, fqn: ['default-domain', 'ctest-TestBasicPolicy-34328387', 'ctest-policy-allow-all-11987885'] 2025-06-03 16:47:38,368 - INFO - VN ctest-vn-64783691 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-03 16:47:38,369 - DEBUG - Verifying the vn in opserver 2025-06-03 16:47:38,369 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-34328387:ctest-vn-64783691 virtual network link through opserver 10.0.0.129 2025-06-03 16:47:38,369 - DEBUG - Requesting: http://10.0.0.129:8081/analytics/uves/virtual-networks 2025-06-03 16:47:38,706 - DEBUG - Requesting: http://10.0.0.129:8081/analytics/uves/virtual-networks 2025-06-03 16:47:38,764 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-34328387:ctest-vn-64783691', 'href': 'http://10.0.0.129:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-34328387:ctest-vn-64783691?flat'} 2025-06-03 16:47:38,764 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-34328387:ctest-vn-64783691 is found in opserver 2025-06-03 16:47:38,776 - DEBUG - Do not have enough data to verify VN in agent 2025-06-03 16:47:38,782 - DEBUG - VRF ids for VN ctest-vn-64783691: {} 2025-06-03 16:47:38,782 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2025-06-03 16:47:38,788 - DEBUG - Requesting: http://10.0.0.129:8082/domain/42d00dd3-ce1d-4033-83e4-26cc53c4e460 2025-06-03 16:47:38,801 - DEBUG - Requesting: http://10.0.0.129:8082/project/a6e74b7d-d191-4dd1-a54b-e390cc94233c 2025-06-03 16:47:38,877 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/144f0b45-0f6d-40b6-8001-a0da2eac21e7 2025-06-03 16:47:38,891 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/144f0b45-0f6d-40b6-8001-a0da2eac21e7 2025-06-03 16:47:38,903 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/e8ad0728-fbeb-49b6-9c10-e4d520e5aa68 2025-06-03 16:47:38,911 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/e8ad0728-fbeb-49b6-9c10-e4d520e5aa68 2025-06-03 16:47:38,918 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/12f0f304-fee8-47cf-852b-c2455c15b70c 2025-06-03 16:47:38,925 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-03 16:47:38,925 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/144f0b45-0f6d-40b6-8001-a0da2eac21e7 2025-06-03 16:47:38,935 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/e8ad0728-fbeb-49b6-9c10-e4d520e5aa68 2025-06-03 16:47:38,950 - INFO - Verified VN network id 9 for VN 144f0b45-0f6d-40b6-8001-a0da2eac21e7 2025-06-03 16:47:38,950 - INFO - Verifications in API Server for VN ctest-vn-71048730 passed 2025-06-03 16:47:38,951 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/144f0b45-0f6d-40b6-8001-a0da2eac21e7 2025-06-03 16:47:38,963 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/e8ad0728-fbeb-49b6-9c10-e4d520e5aa68 2025-06-03 16:47:38,972 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/e8ad0728-fbeb-49b6-9c10-e4d520e5aa68 2025-06-03 16:47:38,982 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/12f0f304-fee8-47cf-852b-c2455c15b70c 2025-06-03 16:47:39,008 - DEBUG - Control-node 10.0.0.129 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-34328387:ctest-vn-71048730', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-34328387', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1463400795158167734', 'uuid-lslong': '9223830370777833959'}, 'enable': 'true', 'created': '2025-06-03T16:47:36', 'last-modified': '2025-06-03T16:47:37', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.561531'} 2025-06-03 16:47:39,018 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-03 16:47:39,019 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-71048730 passed 2025-06-03 16:47:39,019 - DEBUG - ====Verifying policy data for ctest-vn-71048730 in API_Server ====== 2025-06-03 16:47:39,019 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2025-06-03 16:47:39,027 - DEBUG - Requesting: http://10.0.0.129:8082/domain/42d00dd3-ce1d-4033-83e4-26cc53c4e460 2025-06-03 16:47:39,042 - DEBUG - Requesting: http://10.0.0.129:8082/project/a6e74b7d-d191-4dd1-a54b-e390cc94233c 2025-06-03 16:47:39,122 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/144f0b45-0f6d-40b6-8001-a0da2eac21e7 2025-06-03 16:47:39,133 - DEBUG - ==>Verifying data for policy with id: 88feec57-bdad-446b-ae64-949b06721b48, fqn: ['default-domain', 'ctest-TestBasicPolicy-34328387', 'ctest-policy-allow-all-11987885'] 2025-06-03 16:47:39,133 - INFO - VN ctest-vn-71048730 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-03 16:47:39,133 - DEBUG - Verifying the vn in opserver 2025-06-03 16:47:39,133 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-34328387:ctest-vn-71048730 virtual network link through opserver 10.0.0.129 2025-06-03 16:47:39,133 - DEBUG - Requesting: http://10.0.0.129:8081/analytics/uves/virtual-networks 2025-06-03 16:47:39,145 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-34328387:ctest-vn-71048730', 'href': 'http://10.0.0.129:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-34328387:ctest-vn-71048730?flat'} 2025-06-03 16:47:39,145 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-34328387:ctest-vn-71048730 is found in opserver 2025-06-03 16:47:39,157 - DEBUG - Do not have enough data to verify VN in agent 2025-06-03 16:47:39,163 - DEBUG - VRF ids for VN ctest-vn-71048730: {} 2025-06-03 16:47:39,220 - DEBUG - Services list from nova: [, , ] 2025-06-03 16:47:40,322 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3396-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3396-1) 2025-06-03 16:47:41,679 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3396-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3396-1) 2025-06-03 16:47:41,679 - INFO - Waiting for VM ctest-TestBasicPolicy-34328387-64771386 to be up.. 2025-06-03 16:47:41,767 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-03 16:47:46,851 - DEBUG - VM is in ACTIVE state now 2025-06-03 16:47:46,851 - INFO - VM name : ctest-TestBasicPolicy-34328387-64771386 2025-06-03 16:47:46,954 - DEBUG - VM ctest-TestBasicPolicy-34328387-64771386 ID is bdee503f-511c-44fe-a9af-8fdc39c096db 2025-06-03 16:47:46,976 - DEBUG - VM ctest-TestBasicPolicy-34328387-64771386 launched on Node cn-jenkins-deploy-platform-ansible-os-3396-1 2025-06-03 16:47:47,057 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/bdee503f-511c-44fe-a9af-8fdc39c096db 2025-06-03 16:47:47,067 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/889fc47f-a2d2-42f6-a6f1-44d1c7dfa4eb 2025-06-03 16:47:50,329 - 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 1015ms') 2025-06-03 16:47:50,329 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-34328387-64771386 failed! 2025-06-03 16:47:50,388 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-34328387:ctest-vn-64783691 is 211.54.51.65 and allocation pool is NOT set 2025-06-03 16:47:52,446 - 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=7.52 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.475 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.475/3.996/7.518/3.521 ms') 2025-06-03 16:47:52,447 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-34328387-64771386 passed 2025-06-03 16:47:52,639 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-03 16:47:52,640 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-34328387-64771386, IP 211.54.51.67, Port 22 2025-06-03 16:47:52,795 - DEBUG - VM ctest-TestBasicPolicy-34328387-64771386 is ready for SSH connections 2025-06-03 16:47:52,795 - INFO - Waiting for VM ctest-TestBasicPolicy-34328387-76664181 to be up.. 2025-06-03 16:47:52,888 - DEBUG - VM is in ACTIVE state now 2025-06-03 16:47:52,888 - INFO - VM name : ctest-TestBasicPolicy-34328387-76664181 2025-06-03 16:47:52,977 - DEBUG - VM ctest-TestBasicPolicy-34328387-76664181 ID is 4a113a9b-6a95-4dda-8972-3218d4ccd492 2025-06-03 16:47:52,978 - DEBUG - VM ctest-TestBasicPolicy-34328387-76664181 launched on Node cn-jenkins-deploy-platform-ansible-os-3396-1 2025-06-03 16:47:53,071 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/4a113a9b-6a95-4dda-8972-3218d4ccd492 2025-06-03 16:47:53,080 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/a901c4d6-e25f-4dcf-a91a-e7763b31c5e8 2025-06-03 16:47:54,328 - 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.19 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.493 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.493/1.839/3.186/1.346 ms') 2025-06-03 16:47:54,328 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-34328387-76664181 passed 2025-06-03 16:47:54,483 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-03 16:47:54,484 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-34328387-76664181, IP 41.87.113.67, Port 22 2025-06-03 16:47:54,653 - DEBUG - VM ctest-TestBasicPolicy-34328387-76664181 is ready for SSH connections 2025-06-03 16:47:54,654 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-03 16:47:54,654 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 41.87.113.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2025-06-03 16:47:54,654 - DEBUG - ping -s 56 -c 3 -W 1 41.87.113.67 2025-06-03 16:47:58,689 - DEBUG - PING 41.87.113.67 (41.87.113.67): 56 data bytes 64 bytes from 41.87.113.67: seq=0 ttl=63 time=3.573 ms 64 bytes from 41.87.113.67: seq=1 ttl=63 time=0.773 ms 64 bytes from 41.87.113.67: seq=2 ttl=63 time=0.873 ms --- 41.87.113.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.773/1.739/3.573 ms 2025-06-03 16:47:58,689 - INFO - Ping to IP 41.87.113.67 from VM ctest-TestBasicPolicy-34328387-64771386 passed 2025-06-03 16:47:58,867 - DEBUG - Policy Update Response {"network-policy": {"uuid": "88feec57-bdad-446b-ae64-949b06721b48", "href": "http://10.0.0.129:8082/network-policy/88feec57-bdad-446b-ae64-949b06721b48"}} 2025-06-03 16:47:58,867 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-03 16:47:58,868 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 41.87.113.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2025-06-03 16:47:58,868 - DEBUG - ping -s 56 -c 3 -W 1 41.87.113.67 2025-06-03 16:48:02,097 - DEBUG - PING 41.87.113.67 (41.87.113.67): 56 data bytes 64 bytes from 41.87.113.67: seq=0 ttl=63 time=1.696 ms --- 41.87.113.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.696/1.696/1.696 ms 2025-06-03 16:48:02,097 - WARNING - Ping to IP 41.87.113.67 from VM ctest-TestBasicPolicy-34328387-64771386 failed 2025-06-03 16:48:02,097 - INFO - Deleting VM ctest-TestBasicPolicy-34328387-76664181 2025-06-03 16:48:02,169 - INFO - Deleting VM ctest-TestBasicPolicy-34328387-64771386 2025-06-03 16:48:02,595 - INFO - Deleted policy ctest-policy-allow-all-11987885 2025-06-03 16:48:02,595 - INFO - Deleting VN ctest-vn-71048730 2025-06-03 16:48:02,641 - DEBUG - VN 144f0b45-0f6d-40b6-8001-a0da2eac21e7 still in use: Unable to complete operation on network 144f0b45-0f6d-40b6-8001-a0da2eac21e7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c52b14f2-66df-481b-bc05-bcd8e647b762'] 2025-06-03 16:48:02,641 - WARNING - Deleting VN ctest-vn-71048730 failed..Will retry 2025-06-03 16:48:04,767 - DEBUG - Response for deleting network () 2025-06-03 16:48:04,767 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/e8ad0728-fbeb-49b6-9c10-e4d520e5aa68 2025-06-03 16:48:04,776 - DEBUG - Response Code: 404 2025-06-03 16:48:04,776 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2025-06-03 16:48:04,782 - DEBUG - Requesting: http://10.0.0.129:8082/domain/42d00dd3-ce1d-4033-83e4-26cc53c4e460 2025-06-03 16:48:04,841 - DEBUG - Requesting: http://10.0.0.129:8082/project/a6e74b7d-d191-4dd1-a54b-e390cc94233c 2025-06-03 16:48:04,914 - INFO - Validated that VN ctest-vn-71048730 is not found in API Server 2025-06-03 16:48:04,930 - DEBUG - VN ctest-vn-71048730 is not present in Agent 10.0.0.129 2025-06-03 16:48:04,930 - INFO - Validated that VN ctest-vn-71048730 is not in any agent 2025-06-03 16:48:04,951 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-71048730 info 2025-06-03 16:48:04,951 - INFO - Deleting VN ctest-vn-64783691 2025-06-03 16:48:05,062 - DEBUG - Response for deleting network () 2025-06-03 16:48:05,062 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/3fc7664c-88b4-4552-a13a-fcf92fd9ace7 2025-06-03 16:48:05,070 - DEBUG - Response Code: 404 2025-06-03 16:48:05,070 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2025-06-03 16:48:05,077 - DEBUG - Requesting: http://10.0.0.129:8082/domain/42d00dd3-ce1d-4033-83e4-26cc53c4e460 2025-06-03 16:48:05,133 - DEBUG - Requesting: http://10.0.0.129:8082/project/a6e74b7d-d191-4dd1-a54b-e390cc94233c 2025-06-03 16:48:05,207 - INFO - Validated that VN ctest-vn-64783691 is not found in API Server 2025-06-03 16:48:05,220 - DEBUG - VN ctest-vn-64783691 is not present in Agent 10.0.0.129 2025-06-03 16:48:05,220 - INFO - Validated that VN ctest-vn-64783691 is not in any agent 2025-06-03 16:48:05,236 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-64783691 info 2025-06-03 16:48:05,489 - DEBUG - No XMPP flaps were noticed during the test
2025-06-03 16:48:05,490 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-06-03 16:48:05,490 - INFO - -------------------------------------------------------------------------------- 2025-06-03 16:48:06,225 - INFO - Deleted project: ctest-TestBasicPolicy-34328387, ID : a6e74b7d-d191-4dd1-a54b-e390cc94233c