2025-10-09 08:27:39,611 - INFO - Domain Default found not creating 2025-10-09 08:27:39,754 - INFO - Project ctest-TestBasicPolicy-39195797 not found, creating it 2025-10-09 08:27:40,187 - INFO - Created Project:ctest-TestBasicPolicy-39195797, ID : a515dea3-8167-44e8-896b-7a7b8b55ee1b 2025-10-09 08:27:41,540 - INFO - ================================================================================ 2025-10-09 08:27:41,540 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-09 08:27:41,540 - 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-10-09 08:27:41,793 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2025-10-09 08:27:41,793 - INFO - Initial checks done. Running the testcase now 2025-10-09 08:27:41,793 - INFO - 2025-10-09 08:27:42,351 - DEBUG - Response for create_network : {'network': {'id': '2df8e8e3-fa83-4a1d-890b-b8a87c4877d7', 'name': 'ctest-vn-90890616', 'tenant_id': 'a515dea3816744e8896b7a7b8b55ee1b', 'project_id': 'a515dea3816744e8896b7a7b8b55ee1b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-39195797', 'ctest-vn-90890616'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 08:27:42,567 - DEBUG - Response for create_subnet : {'subnet': {'id': 'eeebe1cb-0a61-4794-b023-1eace7363ee6', 'name': '', 'tenant_id': 'a515dea3816744e8896b7a7b8b55ee1b', 'network_id': '2df8e8e3-fa83-4a1d-890b-b8a87c4877d7', 'ip_version': 4, 'cidr': '163.84.227.0/26', 'allocation_pools': [{'start': '163.84.227.2', 'end': '163.84.227.62'}], 'gateway_ip': '163.84.227.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '163.84.227.2', 'tags': [], 'project_id': 'a515dea3816744e8896b7a7b8b55ee1b'}} 2025-10-09 08:27:42,584 - INFO - Created VN ctest-vn-90890616 2025-10-09 08:27:42,635 - DEBUG - VN ctest-vn-90890616 UUID is 2df8e8e3-fa83-4a1d-890b-b8a87c4877d7 2025-10-09 08:27:42,961 - DEBUG - Response for create_network : {'network': {'id': '35a7b838-b2dd-4c77-a469-63b263a756be', 'name': 'ctest-vn-56038297', 'tenant_id': 'a515dea3816744e8896b7a7b8b55ee1b', 'project_id': 'a515dea3816744e8896b7a7b8b55ee1b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-39195797', 'ctest-vn-56038297'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 08:27:43,095 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dd0e986c-9631-4f22-b331-43c3c14a3bbc', 'name': '', 'tenant_id': 'a515dea3816744e8896b7a7b8b55ee1b', 'network_id': '35a7b838-b2dd-4c77-a469-63b263a756be', 'ip_version': 4, 'cidr': '45.76.103.192/26', 'allocation_pools': [{'start': '45.76.103.194', 'end': '45.76.103.254'}], 'gateway_ip': '45.76.103.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '45.76.103.194', 'tags': [], 'project_id': 'a515dea3816744e8896b7a7b8b55ee1b'}} 2025-10-09 08:27:43,111 - INFO - Created VN ctest-vn-56038297 2025-10-09 08:27:43,163 - DEBUG - VN ctest-vn-56038297 UUID is 35a7b838-b2dd-4c77-a469-63b263a756be 2025-10-09 08:27:43,307 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-39195797:ctest-vn-90890616, 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-39195797:ctest-vn-56038297, 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-10-09 08:27:43,600 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2df8e8e3-fa83-4a1d-890b-b8a87c4877d7', 'name': 'ctest-vn-90890616', 'tenant_id': 'a515dea3816744e8896b7a7b8b55ee1b', 'project_id': 'a515dea3816744e8896b7a7b8b55ee1b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['eeebe1cb-0a61-4794-b023-1eace7363ee6'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-39195797', 'ctest-vn-90890616'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-39195797', 'ctest-policy-allow-all-88942769']], 'subnet_ipam': [{'subnet_cidr': '163.84.227.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-09 08:27:43,827 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '35a7b838-b2dd-4c77-a469-63b263a756be', 'name': 'ctest-vn-56038297', 'tenant_id': 'a515dea3816744e8896b7a7b8b55ee1b', 'project_id': 'a515dea3816744e8896b7a7b8b55ee1b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['dd0e986c-9631-4f22-b331-43c3c14a3bbc'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-39195797', 'ctest-vn-56038297'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-39195797', 'ctest-policy-allow-all-88942769']], 'subnet_ipam': [{'subnet_cidr': '45.76.103.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-09 08:27:43,983 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-09 08:27:44,273 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-09 08:27:44,298 - DEBUG - Requesting: http://10.0.0.33:8082/domain/1f8125b1-b5c6-4390-b854-f43a5ea2f1ac 2025-10-09 08:27:44,309 - DEBUG - Requesting: http://10.0.0.33:8082/project/a515dea3-8167-44e8-896b-7a7b8b55ee1b 2025-10-09 08:27:44,383 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/2df8e8e3-fa83-4a1d-890b-b8a87c4877d7 2025-10-09 08:27:44,392 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/2df8e8e3-fa83-4a1d-890b-b8a87c4877d7 2025-10-09 08:27:44,399 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/cb7cecb5-9f68-44e2-ace9-6693e98f6add 2025-10-09 08:27:44,405 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/cb7cecb5-9f68-44e2-ace9-6693e98f6add 2025-10-09 08:27:44,410 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/ab471836-1a85-4c15-9f4e-bc0190c0cc8e 2025-10-09 08:27:44,414 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-09 08:27:44,414 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/2df8e8e3-fa83-4a1d-890b-b8a87c4877d7 2025-10-09 08:27:44,421 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/cb7cecb5-9f68-44e2-ace9-6693e98f6add 2025-10-09 08:27:44,433 - INFO - Verified VN network id 9 for VN 2df8e8e3-fa83-4a1d-890b-b8a87c4877d7 2025-10-09 08:27:44,433 - INFO - Verifications in API Server for VN ctest-vn-90890616 passed 2025-10-09 08:27:44,433 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/2df8e8e3-fa83-4a1d-890b-b8a87c4877d7 2025-10-09 08:27:44,441 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/cb7cecb5-9f68-44e2-ace9-6693e98f6add 2025-10-09 08:27:44,446 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/cb7cecb5-9f68-44e2-ace9-6693e98f6add 2025-10-09 08:27:44,452 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/ab471836-1a85-4c15-9f4e-bc0190c0cc8e 2025-10-09 08:27:44,461 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-39195797:ctest-vn-90890616', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-39195797', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3312653591789128221', 'uuid-lslong': '9875189641719085015'}, 'enable': 'true', 'created': '2025-10-09T08:27:42', 'last-modified': '2025-10-09T08:27:43', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.881749'} 2025-10-09 08:27:44,466 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-09 08:27:44,466 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-90890616 passed 2025-10-09 08:27:44,466 - DEBUG - ====Verifying policy data for ctest-vn-90890616 in API_Server ====== 2025-10-09 08:27:44,466 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-09 08:27:44,470 - DEBUG - Requesting: http://10.0.0.33:8082/domain/1f8125b1-b5c6-4390-b854-f43a5ea2f1ac 2025-10-09 08:27:44,480 - DEBUG - Requesting: http://10.0.0.33:8082/project/a515dea3-8167-44e8-896b-7a7b8b55ee1b 2025-10-09 08:27:44,546 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/2df8e8e3-fa83-4a1d-890b-b8a87c4877d7 2025-10-09 08:27:44,554 - DEBUG - ==>Verifying data for policy with id: f9219a60-2ef8-472f-bad0-499170613dc3, fqn: ['default-domain', 'ctest-TestBasicPolicy-39195797', 'ctest-policy-allow-all-88942769'] 2025-10-09 08:27:44,554 - INFO - VN ctest-vn-90890616 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-09 08:27:44,554 - DEBUG - Verifying the vn in opserver 2025-10-09 08:27:44,554 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-39195797:ctest-vn-90890616 virtual network link through opserver 10.0.0.33 2025-10-09 08:27:44,554 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-10-09 08:27:44,842 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-10-09 08:27:44,890 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-39195797:ctest-vn-90890616', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-39195797:ctest-vn-90890616?flat'} 2025-10-09 08:27:44,890 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-39195797:ctest-vn-90890616 is found in opserver 2025-10-09 08:27:44,899 - DEBUG - Do not have enough data to verify VN in agent 2025-10-09 08:27:44,903 - DEBUG - VRF ids for VN ctest-vn-90890616: {} 2025-10-09 08:27:44,903 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-09 08:27:44,907 - DEBUG - Requesting: http://10.0.0.33:8082/domain/1f8125b1-b5c6-4390-b854-f43a5ea2f1ac 2025-10-09 08:27:44,917 - DEBUG - Requesting: http://10.0.0.33:8082/project/a515dea3-8167-44e8-896b-7a7b8b55ee1b 2025-10-09 08:27:44,987 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/35a7b838-b2dd-4c77-a469-63b263a756be 2025-10-09 08:27:44,998 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/35a7b838-b2dd-4c77-a469-63b263a756be 2025-10-09 08:27:45,006 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/f53f2ff8-a4af-4d90-b017-552cdbab173b 2025-10-09 08:27:45,012 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/f53f2ff8-a4af-4d90-b017-552cdbab173b 2025-10-09 08:27:45,017 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/e0e60d46-b0e9-432d-bb15-f9b97ce71e6c 2025-10-09 08:27:45,023 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-09 08:27:45,023 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/35a7b838-b2dd-4c77-a469-63b263a756be 2025-10-09 08:27:45,031 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/f53f2ff8-a4af-4d90-b017-552cdbab173b 2025-10-09 08:27:45,043 - INFO - Verified VN network id 10 for VN 35a7b838-b2dd-4c77-a469-63b263a756be 2025-10-09 08:27:45,043 - INFO - Verifications in API Server for VN ctest-vn-56038297 passed 2025-10-09 08:27:45,043 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/35a7b838-b2dd-4c77-a469-63b263a756be 2025-10-09 08:27:45,055 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/f53f2ff8-a4af-4d90-b017-552cdbab173b 2025-10-09 08:27:45,062 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/f53f2ff8-a4af-4d90-b017-552cdbab173b 2025-10-09 08:27:45,069 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/e0e60d46-b0e9-432d-bb15-f9b97ce71e6c 2025-10-09 08:27:45,079 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-39195797:ctest-vn-56038297', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-39195797', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3866261358779386999', 'uuid-lslong': '11847109912602039998'}, 'enable': 'true', 'created': '2025-10-09T08:27:42', 'last-modified': '2025-10-09T08:27:43', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.280696'} 2025-10-09 08:27:45,084 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-09 08:27:45,084 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-56038297 passed 2025-10-09 08:27:45,084 - DEBUG - ====Verifying policy data for ctest-vn-56038297 in API_Server ====== 2025-10-09 08:27:45,084 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-09 08:27:45,089 - DEBUG - Requesting: http://10.0.0.33:8082/domain/1f8125b1-b5c6-4390-b854-f43a5ea2f1ac 2025-10-09 08:27:45,097 - DEBUG - Requesting: http://10.0.0.33:8082/project/a515dea3-8167-44e8-896b-7a7b8b55ee1b 2025-10-09 08:27:45,163 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/35a7b838-b2dd-4c77-a469-63b263a756be 2025-10-09 08:27:45,170 - DEBUG - ==>Verifying data for policy with id: f9219a60-2ef8-472f-bad0-499170613dc3, fqn: ['default-domain', 'ctest-TestBasicPolicy-39195797', 'ctest-policy-allow-all-88942769'] 2025-10-09 08:27:45,170 - INFO - VN ctest-vn-56038297 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-09 08:27:45,170 - DEBUG - Verifying the vn in opserver 2025-10-09 08:27:45,170 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-39195797:ctest-vn-56038297 virtual network link through opserver 10.0.0.33 2025-10-09 08:27:45,170 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-10-09 08:27:45,178 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-39195797:ctest-vn-56038297', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-39195797:ctest-vn-56038297?flat'} 2025-10-09 08:27:45,178 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-39195797:ctest-vn-56038297 is found in opserver 2025-10-09 08:27:45,186 - DEBUG - Do not have enough data to verify VN in agent 2025-10-09 08:27:45,192 - DEBUG - VRF ids for VN ctest-vn-56038297: {} 2025-10-09 08:27:45,242 - DEBUG - Services list from nova: [, , ] 2025-10-09 08:27:46,302 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4254-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4254-1) 2025-10-09 08:27:47,446 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4254-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4254-1) 2025-10-09 08:27:47,447 - INFO - Waiting for VM ctest-TestBasicPolicy-39195797-87539654 to be up.. 2025-10-09 08:27:47,518 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-09 08:27:52,587 - DEBUG - VM is in ACTIVE state now 2025-10-09 08:27:52,587 - INFO - VM name : ctest-TestBasicPolicy-39195797-87539654 2025-10-09 08:27:52,664 - DEBUG - VM ctest-TestBasicPolicy-39195797-87539654 ID is 018c24e5-a771-4155-a95c-40f6e03aadc3 2025-10-09 08:27:52,682 - DEBUG - VM ctest-TestBasicPolicy-39195797-87539654 launched on Node cn-jenkins-deploy-platform-ansible-os-4254-1 2025-10-09 08:27:52,753 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/018c24e5-a771-4155-a95c-40f6e03aadc3 2025-10-09 08:27:52,760 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/0c9a7cb9-28da-4547-bc04-424af70e6150 2025-10-09 08:27:56,010 - 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 1012ms') 2025-10-09 08:27:56,010 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-39195797-87539654 failed! 2025-10-09 08:27:56,067 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-39195797:ctest-vn-90890616 is 163.84.227.1 and allocation pool is NOT set 2025-10-09 08:27:58,136 - 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=3.26 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.482 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.482/1.872/3.263/1.390 ms') 2025-10-09 08:27:58,136 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-39195797-87539654 passed 2025-10-09 08:27:58,299 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 08:27:58,300 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-39195797-87539654, IP 163.84.227.3, Port 22 2025-10-09 08:27:58,461 - DEBUG - VM ctest-TestBasicPolicy-39195797-87539654 is ready for SSH connections 2025-10-09 08:27:58,461 - INFO - Waiting for VM ctest-TestBasicPolicy-39195797-34429092 to be up.. 2025-10-09 08:27:58,534 - DEBUG - VM is in ACTIVE state now 2025-10-09 08:27:58,534 - INFO - VM name : ctest-TestBasicPolicy-39195797-34429092 2025-10-09 08:27:58,613 - DEBUG - VM ctest-TestBasicPolicy-39195797-34429092 ID is e53e5764-32fa-4425-ae9f-d0f4cf026148 2025-10-09 08:27:58,613 - DEBUG - VM ctest-TestBasicPolicy-39195797-34429092 launched on Node cn-jenkins-deploy-platform-ansible-os-4254-1 2025-10-09 08:27:58,689 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/e53e5764-32fa-4425-ae9f-d0f4cf026148 2025-10-09 08:27:58,697 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/0b0c1fc3-8eb5-4b95-8698-e60d873b3193 2025-10-09 08:27:59,938 - 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.38 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.405 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.405/1.890/3.375/1.485 ms') 2025-10-09 08:27:59,938 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-39195797-34429092 passed 2025-10-09 08:28:00,087 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 08:28:00,088 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-39195797-34429092, IP 45.76.103.195, Port 22 2025-10-09 08:28:00,239 - DEBUG - VM ctest-TestBasicPolicy-39195797-34429092 is ready for SSH connections 2025-10-09 08:28:00,239 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 08:28:00,239 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 45.76.103.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-10-09 08:28:00,239 - DEBUG - ping -s 56 -c 3 -W 1 45.76.103.195 2025-10-09 08:28:03,937 - DEBUG - PING 45.76.103.195 (45.76.103.195): 56 data bytes 64 bytes from 45.76.103.195: seq=0 ttl=63 time=3.385 ms 64 bytes from 45.76.103.195: seq=1 ttl=63 time=0.821 ms 64 bytes from 45.76.103.195: seq=2 ttl=63 time=0.992 ms --- 45.76.103.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.821/1.732/3.385 ms 2025-10-09 08:28:03,937 - INFO - Ping to IP 45.76.103.195 from VM ctest-TestBasicPolicy-39195797-87539654 passed 2025-10-09 08:28:04,115 - DEBUG - Policy Update Response {"network-policy": {"uuid": "f9219a60-2ef8-472f-bad0-499170613dc3", "href": "http://10.0.0.33:8082/network-policy/f9219a60-2ef8-472f-bad0-499170613dc3"}} 2025-10-09 08:28:04,115 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 08:28:04,116 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 45.76.103.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-10-09 08:28:04,116 - DEBUG - ping -s 56 -c 3 -W 1 45.76.103.195 2025-10-09 08:28:07,320 - DEBUG - PING 45.76.103.195 (45.76.103.195): 56 data bytes --- 45.76.103.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-09 08:28:07,321 - WARNING - Ping to IP 45.76.103.195 from VM ctest-TestBasicPolicy-39195797-87539654 failed 2025-10-09 08:28:07,322 - INFO - Deleting VM ctest-TestBasicPolicy-39195797-34429092 2025-10-09 08:28:07,396 - INFO - Deleting VM ctest-TestBasicPolicy-39195797-87539654 2025-10-09 08:28:07,766 - INFO - Deleted policy ctest-policy-allow-all-88942769 2025-10-09 08:28:07,766 - INFO - Deleting VN ctest-vn-56038297 2025-10-09 08:28:07,801 - DEBUG - VN 35a7b838-b2dd-4c77-a469-63b263a756be still in use: Unable to complete operation on network 35a7b838-b2dd-4c77-a469-63b263a756be. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a24990dd-b786-4224-b764-66b3f8cca134'] 2025-10-09 08:28:07,802 - WARNING - Deleting VN ctest-vn-56038297 failed..Will retry 2025-10-09 08:28:09,900 - DEBUG - Response for deleting network () 2025-10-09 08:28:09,900 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/f53f2ff8-a4af-4d90-b017-552cdbab173b 2025-10-09 08:28:09,904 - DEBUG - Response Code: 404 2025-10-09 08:28:09,904 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-09 08:28:09,913 - DEBUG - Requesting: http://10.0.0.33:8082/domain/1f8125b1-b5c6-4390-b854-f43a5ea2f1ac 2025-10-09 08:28:09,967 - DEBUG - Requesting: http://10.0.0.33:8082/project/a515dea3-8167-44e8-896b-7a7b8b55ee1b 2025-10-09 08:28:10,044 - INFO - Validated that VN ctest-vn-56038297 is not found in API Server 2025-10-09 08:28:10,053 - DEBUG - VN ctest-vn-56038297 is not present in Agent 10.0.0.33 2025-10-09 08:28:10,053 - INFO - Validated that VN ctest-vn-56038297 is not in any agent 2025-10-09 08:28:10,067 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-56038297 info 2025-10-09 08:28:10,067 - INFO - Deleting VN ctest-vn-90890616 2025-10-09 08:28:10,159 - DEBUG - Response for deleting network () 2025-10-09 08:28:10,159 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/cb7cecb5-9f68-44e2-ace9-6693e98f6add 2025-10-09 08:28:10,164 - DEBUG - Response Code: 404 2025-10-09 08:28:10,164 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-09 08:28:10,171 - DEBUG - Requesting: http://10.0.0.33:8082/domain/1f8125b1-b5c6-4390-b854-f43a5ea2f1ac 2025-10-09 08:28:10,224 - DEBUG - Requesting: http://10.0.0.33:8082/project/a515dea3-8167-44e8-896b-7a7b8b55ee1b 2025-10-09 08:28:10,293 - INFO - Validated that VN ctest-vn-90890616 is not found in API Server 2025-10-09 08:28:10,302 - DEBUG - VN ctest-vn-90890616 is not present in Agent 10.0.0.33 2025-10-09 08:28:10,302 - INFO - Validated that VN ctest-vn-90890616 is not in any agent 2025-10-09 08:28:10,313 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-90890616 info 2025-10-09 08:28:10,569 - DEBUG - No XMPP flaps were noticed during the test 2025-10-09 08:28:10,570 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-10-09 08:28:10,570 - INFO - -------------------------------------------------------------------------------- 2025-10-09 08:28:11,262 - INFO - Deleted project: ctest-TestBasicPolicy-39195797, ID : a515dea3-8167-44e8-896b-7a7b8b55ee1b