2026-06-22 02:23:50,301 - INFO - Domain Default found not creating 2026-06-22 02:23:50,430 - INFO - Project ctest-TestBasicPolicy-23913403 not found, creating it 2026-06-22 02:23:50,903 - INFO - Created Project:ctest-TestBasicPolicy-23913403, ID : a7c3e3e4-2b17-4402-9afa-238e3b225b8f 2026-06-22 02:23:52,328 - INFO - ================================================================================ 2026-06-22 02:23:52,329 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-06-22 02:23:52,329 - 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 2026-06-22 02:23:52,582 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.25': '0'}} with 2026-06-22 02:23:52,582 - INFO - Initial checks done. Running the testcase now 2026-06-22 02:23:52,582 - INFO - 2026-06-22 02:23:53,127 - DEBUG - Response for create_network : {'network': {'id': 'ce45a1bf-5b5b-4022-9c5f-29399a240922', 'name': 'ctest-vn-88118065', 'tenant_id': 'a7c3e3e42b1744029afa238e3b225b8f', 'project_id': 'a7c3e3e42b1744029afa238e3b225b8f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23913403', 'ctest-vn-88118065'], 'port_security_enabled': True, 'description': ''}} 2026-06-22 02:23:53,331 - DEBUG - Response for create_subnet : {'subnet': {'id': '821c767a-067c-43a0-84c8-5352dbd2e026', 'name': '', 'tenant_id': 'a7c3e3e42b1744029afa238e3b225b8f', 'network_id': 'ce45a1bf-5b5b-4022-9c5f-29399a240922', 'ip_version': 4, 'cidr': '164.210.43.128/26', 'allocation_pools': [{'start': '164.210.43.130', 'end': '164.210.43.190'}], 'gateway_ip': '164.210.43.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '164.210.43.130', 'tags': [], 'project_id': 'a7c3e3e42b1744029afa238e3b225b8f'}} 2026-06-22 02:23:53,344 - INFO - Created VN ctest-vn-88118065 2026-06-22 02:23:53,396 - DEBUG - VN ctest-vn-88118065 UUID is ce45a1bf-5b5b-4022-9c5f-29399a240922 2026-06-22 02:23:53,694 - DEBUG - Response for create_network : {'network': {'id': '58e74c95-f641-43ab-907a-bf7a18c3cfd8', 'name': 'ctest-vn-37502180', 'tenant_id': 'a7c3e3e42b1744029afa238e3b225b8f', 'project_id': 'a7c3e3e42b1744029afa238e3b225b8f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23913403', 'ctest-vn-37502180'], 'port_security_enabled': True, 'description': ''}} 2026-06-22 02:23:53,838 - DEBUG - Response for create_subnet : {'subnet': {'id': '4696b4e9-778d-46b1-9e78-18ec6d29c448', 'name': '', 'tenant_id': 'a7c3e3e42b1744029afa238e3b225b8f', 'network_id': '58e74c95-f641-43ab-907a-bf7a18c3cfd8', 'ip_version': 4, 'cidr': '84.205.48.0/26', 'allocation_pools': [{'start': '84.205.48.2', 'end': '84.205.48.62'}], 'gateway_ip': '84.205.48.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '84.205.48.2', 'tags': [], 'project_id': 'a7c3e3e42b1744029afa238e3b225b8f'}} 2026-06-22 02:23:53,850 - INFO - Created VN ctest-vn-37502180 2026-06-22 02:23:53,900 - DEBUG - VN ctest-vn-37502180 UUID is 58e74c95-f641-43ab-907a-bf7a18c3cfd8 2026-06-22 02:23:54,040 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-23913403:ctest-vn-88118065, 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-23913403:ctest-vn-37502180, 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] 2026-06-22 02:23:54,451 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ce45a1bf-5b5b-4022-9c5f-29399a240922', 'name': 'ctest-vn-88118065', 'tenant_id': 'a7c3e3e42b1744029afa238e3b225b8f', 'project_id': 'a7c3e3e42b1744029afa238e3b225b8f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['821c767a-067c-43a0-84c8-5352dbd2e026'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23913403', 'ctest-vn-88118065'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-23913403', 'ctest-policy-allow-all-45498720']], 'subnet_ipam': [{'subnet_cidr': '164.210.43.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-22 02:23:54,651 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '58e74c95-f641-43ab-907a-bf7a18c3cfd8', 'name': 'ctest-vn-37502180', 'tenant_id': 'a7c3e3e42b1744029afa238e3b225b8f', 'project_id': 'a7c3e3e42b1744029afa238e3b225b8f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4696b4e9-778d-46b1-9e78-18ec6d29c448'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23913403', 'ctest-vn-37502180'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-23913403', 'ctest-policy-allow-all-45498720']], 'subnet_ipam': [{'subnet_cidr': '84.205.48.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-22 02:23:54,768 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-22 02:23:55,092 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-22 02:23:55,116 - DEBUG - Requesting: http://10.0.0.50:8082/domain/ff98a3e8-93bd-42aa-b9d2-63f4bd374238 2026-06-22 02:23:55,126 - DEBUG - Requesting: http://10.0.0.50:8082/project/a7c3e3e4-2b17-4402-9afa-238e3b225b8f 2026-06-22 02:23:55,193 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ce45a1bf-5b5b-4022-9c5f-29399a240922 2026-06-22 02:23:55,204 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ce45a1bf-5b5b-4022-9c5f-29399a240922 2026-06-22 02:23:55,213 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/55b8dd0c-8f8a-4d43-b454-7cd8b4294f2b 2026-06-22 02:23:55,220 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/55b8dd0c-8f8a-4d43-b454-7cd8b4294f2b 2026-06-22 02:23:55,225 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/2a20dc0f-40d9-4964-9041-3074dcb2232c 2026-06-22 02:23:55,230 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-22 02:23:55,230 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ce45a1bf-5b5b-4022-9c5f-29399a240922 2026-06-22 02:23:55,237 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/55b8dd0c-8f8a-4d43-b454-7cd8b4294f2b 2026-06-22 02:23:55,247 - INFO - Verified VN network id 12 for VN ce45a1bf-5b5b-4022-9c5f-29399a240922 2026-06-22 02:23:55,247 - INFO - Verifications in API Server for VN ctest-vn-88118065 passed 2026-06-22 02:23:55,247 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ce45a1bf-5b5b-4022-9c5f-29399a240922 2026-06-22 02:23:55,256 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/55b8dd0c-8f8a-4d43-b454-7cd8b4294f2b 2026-06-22 02:23:55,263 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/55b8dd0c-8f8a-4d43-b454-7cd8b4294f2b 2026-06-22 02:23:55,271 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/2a20dc0f-40d9-4964-9041-3074dcb2232c 2026-06-22 02:23:55,281 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-23913403:ctest-vn-88118065', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-23913403', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14863463988449722402', 'uuid-lslong': '11267770120080197922'}, 'enable': 'true', 'created': '2026-06-22T02:23:53', 'last-modified': '2026-06-22T02:23:54', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.885668'} 2026-06-22 02:23:55,286 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-22 02:23:55,287 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-88118065 passed 2026-06-22 02:23:55,287 - DEBUG - ====Verifying policy data for ctest-vn-88118065 in API_Server ====== 2026-06-22 02:23:55,287 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-22 02:23:55,293 - DEBUG - Requesting: http://10.0.0.50:8082/domain/ff98a3e8-93bd-42aa-b9d2-63f4bd374238 2026-06-22 02:23:55,304 - DEBUG - Requesting: http://10.0.0.50:8082/project/a7c3e3e4-2b17-4402-9afa-238e3b225b8f 2026-06-22 02:23:55,374 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ce45a1bf-5b5b-4022-9c5f-29399a240922 2026-06-22 02:23:55,383 - DEBUG - ==>Verifying data for policy with id: a4d47240-6989-491c-a5d9-e2285c6bbd68, fqn: ['default-domain', 'ctest-TestBasicPolicy-23913403', 'ctest-policy-allow-all-45498720'] 2026-06-22 02:23:55,383 - INFO - VN ctest-vn-88118065 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-22 02:23:55,383 - DEBUG - Verifying the vn in opserver 2026-06-22 02:23:55,383 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-23913403:ctest-vn-88118065 virtual network link through opserver 10.0.0.50 2026-06-22 02:23:55,383 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-06-22 02:23:55,698 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-06-22 02:23:55,745 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-23913403:ctest-vn-88118065', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-23913403:ctest-vn-88118065?flat'} 2026-06-22 02:23:55,745 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-23913403:ctest-vn-88118065 is found in opserver 2026-06-22 02:23:55,754 - DEBUG - Do not have enough data to verify VN in agent 2026-06-22 02:23:55,758 - DEBUG - VRF ids for VN ctest-vn-88118065: {} 2026-06-22 02:23:55,758 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-22 02:23:55,763 - DEBUG - Requesting: http://10.0.0.50:8082/domain/ff98a3e8-93bd-42aa-b9d2-63f4bd374238 2026-06-22 02:23:55,772 - DEBUG - Requesting: http://10.0.0.50:8082/project/a7c3e3e4-2b17-4402-9afa-238e3b225b8f 2026-06-22 02:23:55,840 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/58e74c95-f641-43ab-907a-bf7a18c3cfd8 2026-06-22 02:23:55,850 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/58e74c95-f641-43ab-907a-bf7a18c3cfd8 2026-06-22 02:23:55,857 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0b6fa8f7-0cee-4ee8-bef2-9afe7325a09e 2026-06-22 02:23:55,862 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0b6fa8f7-0cee-4ee8-bef2-9afe7325a09e 2026-06-22 02:23:55,868 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/8399e587-0f1c-4031-b44c-58028a39ed7c 2026-06-22 02:23:55,873 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-22 02:23:55,873 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/58e74c95-f641-43ab-907a-bf7a18c3cfd8 2026-06-22 02:23:55,880 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0b6fa8f7-0cee-4ee8-bef2-9afe7325a09e 2026-06-22 02:23:55,890 - INFO - Verified VN network id 13 for VN 58e74c95-f641-43ab-907a-bf7a18c3cfd8 2026-06-22 02:23:55,890 - INFO - Verifications in API Server for VN ctest-vn-37502180 passed 2026-06-22 02:23:55,890 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/58e74c95-f641-43ab-907a-bf7a18c3cfd8 2026-06-22 02:23:55,898 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0b6fa8f7-0cee-4ee8-bef2-9afe7325a09e 2026-06-22 02:23:55,902 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0b6fa8f7-0cee-4ee8-bef2-9afe7325a09e 2026-06-22 02:23:55,908 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/8399e587-0f1c-4031-b44c-58028a39ed7c 2026-06-22 02:23:55,917 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-23913403:ctest-vn-37502180', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-23913403', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6406173201923130283', 'uuid-lslong': '10410844019742724056'}, 'enable': 'true', 'created': '2026-06-22T02:23:53', 'last-modified': '2026-06-22T02:23:54', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.279764'} 2026-06-22 02:23:55,921 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-22 02:23:55,922 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-37502180 passed 2026-06-22 02:23:55,922 - DEBUG - ====Verifying policy data for ctest-vn-37502180 in API_Server ====== 2026-06-22 02:23:55,922 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-22 02:23:55,925 - DEBUG - Requesting: http://10.0.0.50:8082/domain/ff98a3e8-93bd-42aa-b9d2-63f4bd374238 2026-06-22 02:23:55,933 - DEBUG - Requesting: http://10.0.0.50:8082/project/a7c3e3e4-2b17-4402-9afa-238e3b225b8f 2026-06-22 02:23:55,998 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/58e74c95-f641-43ab-907a-bf7a18c3cfd8 2026-06-22 02:23:56,005 - DEBUG - ==>Verifying data for policy with id: a4d47240-6989-491c-a5d9-e2285c6bbd68, fqn: ['default-domain', 'ctest-TestBasicPolicy-23913403', 'ctest-policy-allow-all-45498720'] 2026-06-22 02:23:56,005 - INFO - VN ctest-vn-37502180 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-22 02:23:56,005 - DEBUG - Verifying the vn in opserver 2026-06-22 02:23:56,005 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-23913403:ctest-vn-37502180 virtual network link through opserver 10.0.0.50 2026-06-22 02:23:56,005 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-06-22 02:23:56,013 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-23913403:ctest-vn-37502180', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-23913403:ctest-vn-37502180?flat'} 2026-06-22 02:23:56,013 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-23913403:ctest-vn-37502180 is found in opserver 2026-06-22 02:23:56,021 - DEBUG - Do not have enough data to verify VN in agent 2026-06-22 02:23:56,025 - DEBUG - VRF ids for VN ctest-vn-37502180: {} 2026-06-22 02:23:56,077 - DEBUG - Services list from nova: [, , ] 2026-06-22 02:23:57,083 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6017-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6017-1) 2026-06-22 02:23:58,141 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6017-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6017-1) 2026-06-22 02:23:58,141 - INFO - Waiting for VM ctest-TestBasicPolicy-23913403-93005453 to be up.. 2026-06-22 02:23:58,185 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-22 02:24:03,252 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-22 02:24:08,325 - DEBUG - VM is in ACTIVE state now 2026-06-22 02:24:08,325 - INFO - VM name : ctest-TestBasicPolicy-23913403-93005453 2026-06-22 02:24:08,391 - DEBUG - VM ctest-TestBasicPolicy-23913403-93005453 ID is 0a8bc578-6305-479a-a9f2-b58aba404e06 2026-06-22 02:24:08,408 - DEBUG - VM ctest-TestBasicPolicy-23913403-93005453 launched on Node cn-jenkins-deploy-platform-ansible-os-6017-1 2026-06-22 02:24:08,472 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/0a8bc578-6305-479a-a9f2-b58aba404e06 2026-06-22 02:24:08,481 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/cf83e7cf-8f12-43f1-891b-38253e0d81f7 2026-06-22 02:24:11,689 - 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 1008ms') 2026-06-22 02:24:11,689 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-23913403-93005453 failed! 2026-06-22 02:24:11,744 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-23913403:ctest-vn-88118065 is 164.210.43.129 and allocation pool is NOT set 2026-06-22 02:24:13,799 - 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=4.38 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.473 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.473/2.427/4.382/1.954 ms') 2026-06-22 02:24:13,799 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-23913403-93005453 passed 2026-06-22 02:24:13,948 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-22 02:24:13,948 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-23913403-93005453, IP 164.210.43.131, Port 22 2026-06-22 02:24:14,117 - DEBUG - VM ctest-TestBasicPolicy-23913403-93005453 is ready for SSH connections 2026-06-22 02:24:14,117 - INFO - Waiting for VM ctest-TestBasicPolicy-23913403-85053550 to be up.. 2026-06-22 02:24:14,184 - DEBUG - VM is in ACTIVE state now 2026-06-22 02:24:14,184 - INFO - VM name : ctest-TestBasicPolicy-23913403-85053550 2026-06-22 02:24:14,244 - DEBUG - VM ctest-TestBasicPolicy-23913403-85053550 ID is 082fa593-21b5-40d3-9d2e-de2b74593b26 2026-06-22 02:24:14,244 - DEBUG - VM ctest-TestBasicPolicy-23913403-85053550 launched on Node cn-jenkins-deploy-platform-ansible-os-6017-1 2026-06-22 02:24:14,311 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/082fa593-21b5-40d3-9d2e-de2b74593b26 2026-06-22 02:24:14,318 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/82e9c1de-414e-4652-b51f-6e04f1021bd0 2026-06-22 02:24:15,552 - 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.09 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=4.05 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 = 3.087/3.567/4.048/0.480 ms') 2026-06-22 02:24:15,552 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-23913403-85053550 passed 2026-06-22 02:24:15,704 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-22 02:24:15,704 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-23913403-85053550, IP 84.205.48.3, Port 22 2026-06-22 02:24:15,759 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-06-22 02:24:15,838 - DEBUG - VM ctest-TestBasicPolicy-23913403-85053550 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-22 02:24:20,839 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-22 02:24:20,839 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-23913403-85053550, IP 84.205.48.3, Port 22 2026-06-22 02:24:20,998 - DEBUG - VM ctest-TestBasicPolicy-23913403-85053550 is ready for SSH connections 2026-06-22 02:24:20,998 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-22 02:24:20,998 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 84.205.48.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-06-22 02:24:20,998 - DEBUG - ping -s 56 -c 3 -W 1 84.205.48.3 2026-06-22 02:24:24,830 - DEBUG - PING 84.205.48.3 (84.205.48.3): 56 data bytes 64 bytes from 84.205.48.3: seq=0 ttl=63 time=3.347 ms 64 bytes from 84.205.48.3: seq=1 ttl=63 time=0.872 ms 64 bytes from 84.205.48.3: seq=2 ttl=63 time=1.050 ms --- 84.205.48.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.872/1.756/3.347 ms 2026-06-22 02:24:24,830 - INFO - Ping to IP 84.205.48.3 from VM ctest-TestBasicPolicy-23913403-93005453 passed 2026-06-22 02:24:25,003 - DEBUG - Policy Update Response {"network-policy": {"uuid": "a4d47240-6989-491c-a5d9-e2285c6bbd68", "href": "http://10.0.0.50:8082/network-policy/a4d47240-6989-491c-a5d9-e2285c6bbd68"}} 2026-06-22 02:24:25,004 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-22 02:24:25,004 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 84.205.48.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-06-22 02:24:25,004 - DEBUG - ping -s 56 -c 3 -W 1 84.205.48.3 2026-06-22 02:24:28,148 - DEBUG - PING 84.205.48.3 (84.205.48.3): 56 data bytes --- 84.205.48.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-06-22 02:24:28,149 - WARNING - Ping to IP 84.205.48.3 from VM ctest-TestBasicPolicy-23913403-93005453 failed 2026-06-22 02:24:28,149 - INFO - Deleting VM ctest-TestBasicPolicy-23913403-85053550 2026-06-22 02:24:28,215 - INFO - Deleting VM ctest-TestBasicPolicy-23913403-93005453 2026-06-22 02:24:28,510 - INFO - Deleted policy ctest-policy-allow-all-45498720 2026-06-22 02:24:28,510 - INFO - Deleting VN ctest-vn-37502180 2026-06-22 02:24:28,535 - DEBUG - VN 58e74c95-f641-43ab-907a-bf7a18c3cfd8 still in use: Unable to complete operation on network 58e74c95-f641-43ab-907a-bf7a18c3cfd8. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-643771b2-9b64-453c-87e0-ae3037f91cbf'] 2026-06-22 02:24:28,535 - WARNING - Deleting VN ctest-vn-37502180 failed..Will retry 2026-06-22 02:24:30,618 - DEBUG - Response for deleting network () 2026-06-22 02:24:30,618 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0b6fa8f7-0cee-4ee8-bef2-9afe7325a09e 2026-06-22 02:24:30,622 - DEBUG - Response Code: 404 2026-06-22 02:24:30,622 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-22 02:24:30,630 - DEBUG - Requesting: http://10.0.0.50:8082/domain/ff98a3e8-93bd-42aa-b9d2-63f4bd374238 2026-06-22 02:24:30,684 - DEBUG - Requesting: http://10.0.0.50:8082/project/a7c3e3e4-2b17-4402-9afa-238e3b225b8f 2026-06-22 02:24:30,753 - INFO - Validated that VN ctest-vn-37502180 is not found in API Server 2026-06-22 02:24:30,763 - DEBUG - VN ctest-vn-37502180 is not present in Agent 10.0.0.50 2026-06-22 02:24:30,763 - INFO - Validated that VN ctest-vn-37502180 is not in any agent 2026-06-22 02:24:30,776 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-37502180 info 2026-06-22 02:24:30,776 - INFO - Deleting VN ctest-vn-88118065 2026-06-22 02:24:30,883 - DEBUG - Response for deleting network () 2026-06-22 02:24:30,883 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/55b8dd0c-8f8a-4d43-b454-7cd8b4294f2b 2026-06-22 02:24:30,889 - DEBUG - Response Code: 404 2026-06-22 02:24:30,889 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-22 02:24:30,894 - DEBUG - Requesting: http://10.0.0.50:8082/domain/ff98a3e8-93bd-42aa-b9d2-63f4bd374238 2026-06-22 02:24:30,944 - DEBUG - Requesting: http://10.0.0.50:8082/project/a7c3e3e4-2b17-4402-9afa-238e3b225b8f 2026-06-22 02:24:31,012 - INFO - Validated that VN ctest-vn-88118065 is not found in API Server 2026-06-22 02:24:31,021 - DEBUG - VN ctest-vn-88118065 is not present in Agent 10.0.0.50 2026-06-22 02:24:31,021 - INFO - Validated that VN ctest-vn-88118065 is not in any agent 2026-06-22 02:24:31,034 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-88118065 info 2026-06-22 02:24:31,293 - DEBUG - No XMPP flaps were noticed during the test
2026-06-22 02:24:31,293 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:39]
2026-06-22 02:24:31,293 - INFO - -------------------------------------------------------------------------------- 2026-06-22 02:24:31,988 - INFO - Deleted project: ctest-TestBasicPolicy-23913403, ID : a7c3e3e4-2b17-4402-9afa-238e3b225b8f