2025-09-18 19:05:00,205 - INFO - Domain Default found not creating 2025-09-18 19:05:00,371 - INFO - Project ctest-TestBasicPolicy-06128015 not found, creating it 2025-09-18 19:05:00,844 - INFO - Created Project:ctest-TestBasicPolicy-06128015, ID : 500d524f-4a87-4ac1-9b56-256ab22c1ec7 2025-09-18 19:05:02,325 - INFO - ================================================================================ 2025-09-18 19:05:02,325 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-09-18 19:05:02,326 - 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-18 19:05:02,582 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.17': '0'}} with 2025-09-18 19:05:02,582 - INFO - Initial checks done. Running the testcase now 2025-09-18 19:05:02,582 - INFO - 2025-09-18 19:05:03,135 - DEBUG - Response for create_network : {'network': {'id': '6dad22e7-baa4-4f0a-88b2-cb2410934a08', 'name': 'ctest-vn-70923373', 'tenant_id': '500d524f4a874ac19b56256ab22c1ec7', 'project_id': '500d524f4a874ac19b56256ab22c1ec7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06128015', 'ctest-vn-70923373'], 'port_security_enabled': True, 'description': ''}} 2025-09-18 19:05:03,315 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f7ad48ee-6041-433e-8ef9-d7f2aee1cc32', 'name': '', 'tenant_id': '500d524f4a874ac19b56256ab22c1ec7', 'network_id': '6dad22e7-baa4-4f0a-88b2-cb2410934a08', 'ip_version': 4, 'cidr': '132.141.244.192/26', 'allocation_pools': [{'start': '132.141.244.194', 'end': '132.141.244.254'}], 'gateway_ip': '132.141.244.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '132.141.244.194', 'tags': [], 'project_id': '500d524f4a874ac19b56256ab22c1ec7'}} 2025-09-18 19:05:03,332 - INFO - Created VN ctest-vn-70923373 2025-09-18 19:05:03,383 - DEBUG - VN ctest-vn-70923373 UUID is 6dad22e7-baa4-4f0a-88b2-cb2410934a08 2025-09-18 19:05:03,689 - DEBUG - Response for create_network : {'network': {'id': '5db6a206-17ab-420b-bd10-dfde6616863c', 'name': 'ctest-vn-51087396', 'tenant_id': '500d524f4a874ac19b56256ab22c1ec7', 'project_id': '500d524f4a874ac19b56256ab22c1ec7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06128015', 'ctest-vn-51087396'], 'port_security_enabled': True, 'description': ''}} 2025-09-18 19:05:03,837 - DEBUG - Response for create_subnet : {'subnet': {'id': '1c841724-4341-46f0-9e72-0bcd6f86f779', 'name': '', 'tenant_id': '500d524f4a874ac19b56256ab22c1ec7', 'network_id': '5db6a206-17ab-420b-bd10-dfde6616863c', 'ip_version': 4, 'cidr': '135.158.183.0/26', 'allocation_pools': [{'start': '135.158.183.2', 'end': '135.158.183.62'}], 'gateway_ip': '135.158.183.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '135.158.183.2', 'tags': [], 'project_id': '500d524f4a874ac19b56256ab22c1ec7'}} 2025-09-18 19:05:03,863 - INFO - Created VN ctest-vn-51087396 2025-09-18 19:05:03,915 - DEBUG - VN ctest-vn-51087396 UUID is 5db6a206-17ab-420b-bd10-dfde6616863c 2025-09-18 19:05:04,066 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-06128015:ctest-vn-70923373, 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-06128015:ctest-vn-51087396, 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-18 19:05:04,358 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6dad22e7-baa4-4f0a-88b2-cb2410934a08', 'name': 'ctest-vn-70923373', 'tenant_id': '500d524f4a874ac19b56256ab22c1ec7', 'project_id': '500d524f4a874ac19b56256ab22c1ec7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f7ad48ee-6041-433e-8ef9-d7f2aee1cc32'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06128015', 'ctest-vn-70923373'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-06128015', 'ctest-policy-allow-all-85498324']], 'subnet_ipam': [{'subnet_cidr': '132.141.244.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-18 19:05:04,634 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5db6a206-17ab-420b-bd10-dfde6616863c', 'name': 'ctest-vn-51087396', 'tenant_id': '500d524f4a874ac19b56256ab22c1ec7', 'project_id': '500d524f4a874ac19b56256ab22c1ec7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1c841724-4341-46f0-9e72-0bcd6f86f779'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06128015', 'ctest-vn-51087396'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-06128015', 'ctest-policy-allow-all-85498324']], 'subnet_ipam': [{'subnet_cidr': '135.158.183.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-18 19:05:04,783 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-09-18 19:05:05,078 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-09-18 19:05:05,106 - DEBUG - Requesting: http://10.0.0.65:8082/domain/bc17d518-369e-4af9-a5fa-afcd734f9215 2025-09-18 19:05:05,117 - DEBUG - Requesting: http://10.0.0.65:8082/project/500d524f-4a87-4ac1-9b56-256ab22c1ec7 2025-09-18 19:05:05,198 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/6dad22e7-baa4-4f0a-88b2-cb2410934a08 2025-09-18 19:05:05,208 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/6dad22e7-baa4-4f0a-88b2-cb2410934a08 2025-09-18 19:05:05,217 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/a548a273-0d5f-43ea-b73e-049d3573c65c 2025-09-18 19:05:05,226 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/a548a273-0d5f-43ea-b73e-049d3573c65c 2025-09-18 19:05:05,235 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/1c0b9aa4-d368-4efb-a995-078bb5ed5913 2025-09-18 19:05:05,241 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-18 19:05:05,241 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/6dad22e7-baa4-4f0a-88b2-cb2410934a08 2025-09-18 19:05:05,251 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/a548a273-0d5f-43ea-b73e-049d3573c65c 2025-09-18 19:05:05,266 - INFO - Verified VN network id 12 for VN 6dad22e7-baa4-4f0a-88b2-cb2410934a08 2025-09-18 19:05:05,267 - INFO - Verifications in API Server for VN ctest-vn-70923373 passed 2025-09-18 19:05:05,267 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/6dad22e7-baa4-4f0a-88b2-cb2410934a08 2025-09-18 19:05:05,277 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/a548a273-0d5f-43ea-b73e-049d3573c65c 2025-09-18 19:05:05,283 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/a548a273-0d5f-43ea-b73e-049d3573c65c 2025-09-18 19:05:05,290 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/1c0b9aa4-d368-4efb-a995-078bb5ed5913 2025-09-18 19:05:05,303 - DEBUG - Control-node 10.0.0.65 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-06128015:ctest-vn-70923373', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-06128015', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7903011299769208586', 'uuid-lslong': '9850158690770045448'}, 'enable': 'true', 'created': '2025-09-18T19:05:03', 'last-modified': '2025-09-18T19:05:04', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.966217'} 2025-09-18 19:05:05,311 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-18 19:05:05,311 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-70923373 passed 2025-09-18 19:05:05,311 - DEBUG - ====Verifying policy data for ctest-vn-70923373 in API_Server ====== 2025-09-18 19:05:05,311 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-09-18 19:05:05,317 - DEBUG - Requesting: http://10.0.0.65:8082/domain/bc17d518-369e-4af9-a5fa-afcd734f9215 2025-09-18 19:05:05,328 - DEBUG - Requesting: http://10.0.0.65:8082/project/500d524f-4a87-4ac1-9b56-256ab22c1ec7 2025-09-18 19:05:05,397 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/6dad22e7-baa4-4f0a-88b2-cb2410934a08 2025-09-18 19:05:05,406 - DEBUG - ==>Verifying data for policy with id: d2162f9c-d920-4926-97d6-851862475809, fqn: ['default-domain', 'ctest-TestBasicPolicy-06128015', 'ctest-policy-allow-all-85498324'] 2025-09-18 19:05:05,406 - INFO - VN ctest-vn-70923373 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-18 19:05:05,406 - DEBUG - Verifying the vn in opserver 2025-09-18 19:05:05,407 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-06128015:ctest-vn-70923373 virtual network link through opserver 10.0.0.65 2025-09-18 19:05:05,407 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2025-09-18 19:05:05,698 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2025-09-18 19:05:05,751 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-06128015:ctest-vn-70923373', 'href': 'http://10.0.0.65:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-06128015:ctest-vn-70923373?flat'} 2025-09-18 19:05:05,751 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-06128015:ctest-vn-70923373 is found in opserver 2025-09-18 19:05:05,761 - DEBUG - Do not have enough data to verify VN in agent 2025-09-18 19:05:05,766 - DEBUG - VRF ids for VN ctest-vn-70923373: {} 2025-09-18 19:05:05,766 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-09-18 19:05:05,771 - DEBUG - Requesting: http://10.0.0.65:8082/domain/bc17d518-369e-4af9-a5fa-afcd734f9215 2025-09-18 19:05:05,782 - DEBUG - Requesting: http://10.0.0.65:8082/project/500d524f-4a87-4ac1-9b56-256ab22c1ec7 2025-09-18 19:05:05,853 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/5db6a206-17ab-420b-bd10-dfde6616863c 2025-09-18 19:05:05,864 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/5db6a206-17ab-420b-bd10-dfde6616863c 2025-09-18 19:05:05,872 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/1c25cb4c-19e4-4ddc-b36c-40c1e3c218f1 2025-09-18 19:05:05,879 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/1c25cb4c-19e4-4ddc-b36c-40c1e3c218f1 2025-09-18 19:05:05,885 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/79290f33-89ea-4dd6-bedc-bab7e6e0ac88 2025-09-18 19:05:05,893 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-18 19:05:05,893 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/5db6a206-17ab-420b-bd10-dfde6616863c 2025-09-18 19:05:05,901 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/1c25cb4c-19e4-4ddc-b36c-40c1e3c218f1 2025-09-18 19:05:05,914 - INFO - Verified VN network id 13 for VN 5db6a206-17ab-420b-bd10-dfde6616863c 2025-09-18 19:05:05,915 - INFO - Verifications in API Server for VN ctest-vn-51087396 passed 2025-09-18 19:05:05,915 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/5db6a206-17ab-420b-bd10-dfde6616863c 2025-09-18 19:05:05,925 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/1c25cb4c-19e4-4ddc-b36c-40c1e3c218f1 2025-09-18 19:05:05,932 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/1c25cb4c-19e4-4ddc-b36c-40c1e3c218f1 2025-09-18 19:05:05,938 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/79290f33-89ea-4dd6-bedc-bab7e6e0ac88 2025-09-18 19:05:05,951 - DEBUG - Control-node 10.0.0.65 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-06128015:ctest-vn-51087396', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-06128015', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6752762838339240459', 'uuid-lslong': '13623635019084236348'}, 'enable': 'true', 'created': '2025-09-18T19:05:03', 'last-modified': '2025-09-18T19:05:04', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.385460'} 2025-09-18 19:05:05,959 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-18 19:05:05,960 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-51087396 passed 2025-09-18 19:05:05,960 - DEBUG - ====Verifying policy data for ctest-vn-51087396 in API_Server ====== 2025-09-18 19:05:05,960 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-09-18 19:05:05,967 - DEBUG - Requesting: http://10.0.0.65:8082/domain/bc17d518-369e-4af9-a5fa-afcd734f9215 2025-09-18 19:05:05,977 - DEBUG - Requesting: http://10.0.0.65:8082/project/500d524f-4a87-4ac1-9b56-256ab22c1ec7 2025-09-18 19:05:06,053 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/5db6a206-17ab-420b-bd10-dfde6616863c 2025-09-18 19:05:06,065 - DEBUG - ==>Verifying data for policy with id: d2162f9c-d920-4926-97d6-851862475809, fqn: ['default-domain', 'ctest-TestBasicPolicy-06128015', 'ctest-policy-allow-all-85498324'] 2025-09-18 19:05:06,065 - INFO - VN ctest-vn-51087396 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-18 19:05:06,065 - DEBUG - Verifying the vn in opserver 2025-09-18 19:05:06,065 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-06128015:ctest-vn-51087396 virtual network link through opserver 10.0.0.65 2025-09-18 19:05:06,065 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2025-09-18 19:05:06,077 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-06128015:ctest-vn-51087396', 'href': 'http://10.0.0.65:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-06128015:ctest-vn-51087396?flat'} 2025-09-18 19:05:06,077 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-06128015:ctest-vn-51087396 is found in opserver 2025-09-18 19:05:06,086 - DEBUG - Do not have enough data to verify VN in agent 2025-09-18 19:05:06,090 - DEBUG - VRF ids for VN ctest-vn-51087396: {} 2025-09-18 19:05:06,145 - DEBUG - Services list from nova: [, , ] 2025-09-18 19:05:07,146 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4140-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4140-1) 2025-09-18 19:05:08,282 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4140-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4140-1) 2025-09-18 19:05:08,282 - INFO - Waiting for VM ctest-TestBasicPolicy-06128015-78760192 to be up.. 2025-09-18 19:05:08,365 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-18 19:05:13,436 - DEBUG - VM is in ACTIVE state now 2025-09-18 19:05:13,436 - INFO - VM name : ctest-TestBasicPolicy-06128015-78760192 2025-09-18 19:05:13,507 - DEBUG - VM ctest-TestBasicPolicy-06128015-78760192 ID is caee3613-2c41-44d9-8d37-8deae5ed6abf 2025-09-18 19:05:13,528 - DEBUG - VM ctest-TestBasicPolicy-06128015-78760192 launched on Node cn-jenkins-deploy-platform-ansible-os-4140-1 2025-09-18 19:05:13,600 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/caee3613-2c41-44d9-8d37-8deae5ed6abf 2025-09-18 19:05:13,608 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/810c0b61-1a0d-45bc-87bd-0f8d4e48a882 2025-09-18 19:05:16,859 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1010ms') 2025-09-18 19:05:16,859 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-06128015-78760192 failed! 2025-09-18 19:05:16,927 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-06128015:ctest-vn-70923373 is 132.141.244.193 and allocation pool is NOT set 2025-09-18 19:05:18,983 - 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=8.52 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.789 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.789/4.656/8.523/3.867 ms') 2025-09-18 19:05:18,983 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-06128015-78760192 passed 2025-09-18 19:05:19,139 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 19:05:19,139 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-06128015-78760192, IP 132.141.244.195, Port 22 2025-09-18 19:05:19,294 - DEBUG - VM ctest-TestBasicPolicy-06128015-78760192 is ready for SSH connections 2025-09-18 19:05:19,294 - INFO - Waiting for VM ctest-TestBasicPolicy-06128015-06923318 to be up.. 2025-09-18 19:05:19,365 - DEBUG - VM is in ACTIVE state now 2025-09-18 19:05:19,365 - INFO - VM name : ctest-TestBasicPolicy-06128015-06923318 2025-09-18 19:05:19,436 - DEBUG - VM ctest-TestBasicPolicy-06128015-06923318 ID is af7a369e-6d23-4a3e-a035-142f4cd2b579 2025-09-18 19:05:19,436 - DEBUG - VM ctest-TestBasicPolicy-06128015-06923318 launched on Node cn-jenkins-deploy-platform-ansible-os-4140-1 2025-09-18 19:05:19,502 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/af7a369e-6d23-4a3e-a035-142f4cd2b579 2025-09-18 19:05:19,510 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/c020c1a1-6e27-4c53-b230-ccf4354a459e 2025-09-18 19:05:20,747 - 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.49 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 1002ms\r\nrtt min/avg/max/mdev = 0.493/1.990/3.487/1.497 ms') 2025-09-18 19:05:20,747 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-06128015-06923318 passed 2025-09-18 19:05:20,895 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 19:05:20,895 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-06128015-06923318, IP 135.158.183.3, Port 22 2025-09-18 19:05:21,050 - DEBUG - VM ctest-TestBasicPolicy-06128015-06923318 is ready for SSH connections 2025-09-18 19:05:21,050 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 19:05:21,050 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 135.158.183.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-09-18 19:05:21,050 - DEBUG - ping -s 56 -c 3 -W 1 135.158.183.3 2025-09-18 19:05:24,804 - DEBUG - PING 135.158.183.3 (135.158.183.3): 56 data bytes 64 bytes from 135.158.183.3: seq=0 ttl=63 time=3.925 ms 64 bytes from 135.158.183.3: seq=1 ttl=63 time=0.859 ms 64 bytes from 135.158.183.3: seq=2 ttl=63 time=0.771 ms --- 135.158.183.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.771/1.851/3.925 ms 2025-09-18 19:05:24,804 - INFO - Ping to IP 135.158.183.3 from VM ctest-TestBasicPolicy-06128015-78760192 passed 2025-09-18 19:05:24,978 - DEBUG - Policy Update Response {"network-policy": {"uuid": "d2162f9c-d920-4926-97d6-851862475809", "href": "http://10.0.0.65:8082/network-policy/d2162f9c-d920-4926-97d6-851862475809"}} 2025-09-18 19:05:24,979 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 19:05:24,979 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 135.158.183.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-09-18 19:05:24,979 - DEBUG - ping -s 56 -c 3 -W 1 135.158.183.3 2025-09-18 19:05:28,176 - DEBUG - PING 135.158.183.3 (135.158.183.3): 56 data bytes --- 135.158.183.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-18 19:05:28,176 - WARNING - Ping to IP 135.158.183.3 from VM ctest-TestBasicPolicy-06128015-78760192 failed 2025-09-18 19:05:28,176 - INFO - Deleting VM ctest-TestBasicPolicy-06128015-06923318 2025-09-18 19:05:28,246 - INFO - Deleting VM ctest-TestBasicPolicy-06128015-78760192 2025-09-18 19:05:28,600 - INFO - Deleted policy ctest-policy-allow-all-85498324 2025-09-18 19:05:28,600 - INFO - Deleting VN ctest-vn-51087396 2025-09-18 19:05:28,634 - DEBUG - VN 5db6a206-17ab-420b-bd10-dfde6616863c still in use: Unable to complete operation on network 5db6a206-17ab-420b-bd10-dfde6616863c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-00351bc9-c282-4924-8b58-166bcec0d5f1'] 2025-09-18 19:05:28,634 - WARNING - Deleting VN ctest-vn-51087396 failed..Will retry 2025-09-18 19:05:30,727 - DEBUG - Response for deleting network () 2025-09-18 19:05:30,727 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/1c25cb4c-19e4-4ddc-b36c-40c1e3c218f1 2025-09-18 19:05:30,732 - DEBUG - Response Code: 404 2025-09-18 19:05:30,732 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-09-18 19:05:30,736 - DEBUG - Requesting: http://10.0.0.65:8082/domain/bc17d518-369e-4af9-a5fa-afcd734f9215 2025-09-18 19:05:30,787 - DEBUG - Requesting: http://10.0.0.65:8082/project/500d524f-4a87-4ac1-9b56-256ab22c1ec7 2025-09-18 19:05:30,855 - INFO - Validated that VN ctest-vn-51087396 is not found in API Server 2025-09-18 19:05:30,865 - DEBUG - VN ctest-vn-51087396 is not present in Agent 10.0.0.65 2025-09-18 19:05:30,865 - INFO - Validated that VN ctest-vn-51087396 is not in any agent 2025-09-18 19:05:30,878 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-51087396 info 2025-09-18 19:05:30,878 - INFO - Deleting VN ctest-vn-70923373 2025-09-18 19:05:30,975 - DEBUG - Response for deleting network () 2025-09-18 19:05:30,975 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/a548a273-0d5f-43ea-b73e-049d3573c65c 2025-09-18 19:05:30,983 - DEBUG - Response Code: 404 2025-09-18 19:05:30,983 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-09-18 19:05:30,988 - DEBUG - Requesting: http://10.0.0.65:8082/domain/bc17d518-369e-4af9-a5fa-afcd734f9215 2025-09-18 19:05:31,043 - DEBUG - Requesting: http://10.0.0.65:8082/project/500d524f-4a87-4ac1-9b56-256ab22c1ec7 2025-09-18 19:05:31,115 - INFO - Validated that VN ctest-vn-70923373 is not found in API Server 2025-09-18 19:05:31,124 - DEBUG - VN ctest-vn-70923373 is not present in Agent 10.0.0.65 2025-09-18 19:05:31,124 - INFO - Validated that VN ctest-vn-70923373 is not in any agent 2025-09-18 19:05:31,139 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-70923373 info 2025-09-18 19:05:31,395 - DEBUG - No XMPP flaps were noticed during the test 2025-09-18 19:05:31,395 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-09-18 19:05:31,395 - INFO - -------------------------------------------------------------------------------- 2025-09-18 19:05:32,060 - INFO - Deleted project: ctest-TestBasicPolicy-06128015, ID : 500d524f-4a87-4ac1-9b56-256ab22c1ec7