2025-09-16 12:04:19,300 - INFO - Domain Default found not creating 2025-09-16 12:04:19,433 - INFO - Project ctest-TestBasicPolicy-27109876 not found, creating it 2025-09-16 12:04:19,864 - INFO - Created Project:ctest-TestBasicPolicy-27109876, ID : bed215a2-2b3a-4d7b-b18c-926f3ec3230c 2025-09-16 12:04:21,221 - INFO - ================================================================================ 2025-09-16 12:04:21,221 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-09-16 12:04:21,221 - 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-16 12:04:21,475 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2025-09-16 12:04:21,475 - INFO - Initial checks done. Running the testcase now 2025-09-16 12:04:21,475 - INFO - 2025-09-16 12:04:21,987 - DEBUG - Response for create_network : {'network': {'id': '174cc801-0992-4c61-8b54-c46e5dbd9750', 'name': 'ctest-vn-41671654', 'tenant_id': 'bed215a22b3a4d7bb18c926f3ec3230c', 'project_id': 'bed215a22b3a4d7bb18c926f3ec3230c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-27109876', 'ctest-vn-41671654'], 'port_security_enabled': True, 'description': ''}} 2025-09-16 12:04:22,157 - DEBUG - Response for create_subnet : {'subnet': {'id': '09b25408-55aa-4e09-b454-671ce7e85a19', 'name': '', 'tenant_id': 'bed215a22b3a4d7bb18c926f3ec3230c', 'network_id': '174cc801-0992-4c61-8b54-c46e5dbd9750', 'ip_version': 4, 'cidr': '129.141.210.0/26', 'allocation_pools': [{'start': '129.141.210.2', 'end': '129.141.210.62'}], 'gateway_ip': '129.141.210.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '129.141.210.2', 'tags': [], 'project_id': 'bed215a22b3a4d7bb18c926f3ec3230c'}} 2025-09-16 12:04:22,175 - INFO - Created VN ctest-vn-41671654 2025-09-16 12:04:22,225 - DEBUG - VN ctest-vn-41671654 UUID is 174cc801-0992-4c61-8b54-c46e5dbd9750 2025-09-16 12:04:22,526 - DEBUG - Response for create_network : {'network': {'id': '63c7e553-2512-4fd8-a77e-d4e5f3309ece', 'name': 'ctest-vn-91798077', 'tenant_id': 'bed215a22b3a4d7bb18c926f3ec3230c', 'project_id': 'bed215a22b3a4d7bb18c926f3ec3230c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-27109876', 'ctest-vn-91798077'], 'port_security_enabled': True, 'description': ''}} 2025-09-16 12:04:22,689 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cd2582da-c595-499a-b421-100f66c0045d', 'name': '', 'tenant_id': 'bed215a22b3a4d7bb18c926f3ec3230c', 'network_id': '63c7e553-2512-4fd8-a77e-d4e5f3309ece', 'ip_version': 4, 'cidr': '71.5.208.64/26', 'allocation_pools': [{'start': '71.5.208.66', 'end': '71.5.208.126'}], 'gateway_ip': '71.5.208.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '71.5.208.66', 'tags': [], 'project_id': 'bed215a22b3a4d7bb18c926f3ec3230c'}} 2025-09-16 12:04:22,706 - INFO - Created VN ctest-vn-91798077 2025-09-16 12:04:22,761 - DEBUG - VN ctest-vn-91798077 UUID is 63c7e553-2512-4fd8-a77e-d4e5f3309ece 2025-09-16 12:04:22,909 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-27109876:ctest-vn-41671654, 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-27109876:ctest-vn-91798077, 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-16 12:04:23,189 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '174cc801-0992-4c61-8b54-c46e5dbd9750', 'name': 'ctest-vn-41671654', 'tenant_id': 'bed215a22b3a4d7bb18c926f3ec3230c', 'project_id': 'bed215a22b3a4d7bb18c926f3ec3230c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['09b25408-55aa-4e09-b454-671ce7e85a19'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-27109876', 'ctest-vn-41671654'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-27109876', 'ctest-policy-allow-all-50105154']], 'subnet_ipam': [{'subnet_cidr': '129.141.210.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-16 12:04:23,412 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '63c7e553-2512-4fd8-a77e-d4e5f3309ece', 'name': 'ctest-vn-91798077', 'tenant_id': 'bed215a22b3a4d7bb18c926f3ec3230c', 'project_id': 'bed215a22b3a4d7bb18c926f3ec3230c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['cd2582da-c595-499a-b421-100f66c0045d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-27109876', 'ctest-vn-91798077'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-27109876', 'ctest-policy-allow-all-50105154']], 'subnet_ipam': [{'subnet_cidr': '71.5.208.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-16 12:04:23,573 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-09-16 12:04:23,862 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-09-16 12:04:23,887 - DEBUG - Requesting: http://10.0.0.50:8082/domain/457b366e-c28a-4292-9228-3b0449ec22cc 2025-09-16 12:04:23,897 - DEBUG - Requesting: http://10.0.0.50:8082/project/bed215a2-2b3a-4d7b-b18c-926f3ec3230c 2025-09-16 12:04:23,969 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/174cc801-0992-4c61-8b54-c46e5dbd9750 2025-09-16 12:04:23,978 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/174cc801-0992-4c61-8b54-c46e5dbd9750 2025-09-16 12:04:23,985 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/baf5e4dc-defc-48f4-832f-48cdfe4876db 2025-09-16 12:04:23,991 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/baf5e4dc-defc-48f4-832f-48cdfe4876db 2025-09-16 12:04:23,996 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/cab57aff-9825-47f9-aa62-6be8ef7d2237 2025-09-16 12:04:24,000 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-16 12:04:24,000 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/174cc801-0992-4c61-8b54-c46e5dbd9750 2025-09-16 12:04:24,007 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/baf5e4dc-defc-48f4-832f-48cdfe4876db 2025-09-16 12:04:24,018 - INFO - Verified VN network id 12 for VN 174cc801-0992-4c61-8b54-c46e5dbd9750 2025-09-16 12:04:24,018 - INFO - Verifications in API Server for VN ctest-vn-41671654 passed 2025-09-16 12:04:24,018 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/174cc801-0992-4c61-8b54-c46e5dbd9750 2025-09-16 12:04:24,025 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/baf5e4dc-defc-48f4-832f-48cdfe4876db 2025-09-16 12:04:24,031 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/baf5e4dc-defc-48f4-832f-48cdfe4876db 2025-09-16 12:04:24,036 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/cab57aff-9825-47f9-aa62-6be8ef7d2237 2025-09-16 12:04:24,045 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-27109876:ctest-vn-41671654', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-27109876', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1678936667883457633', 'uuid-lslong': '10039865447613830992'}, 'enable': 'true', 'created': '2025-09-16T12:04:21', 'last-modified': '2025-09-16T12:04:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.875123'} 2025-09-16 12:04:24,050 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-16 12:04:24,050 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-41671654 passed 2025-09-16 12:04:24,050 - DEBUG - ====Verifying policy data for ctest-vn-41671654 in API_Server ====== 2025-09-16 12:04:24,050 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-09-16 12:04:24,055 - DEBUG - Requesting: http://10.0.0.50:8082/domain/457b366e-c28a-4292-9228-3b0449ec22cc 2025-09-16 12:04:24,067 - DEBUG - Requesting: http://10.0.0.50:8082/project/bed215a2-2b3a-4d7b-b18c-926f3ec3230c 2025-09-16 12:04:24,130 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/174cc801-0992-4c61-8b54-c46e5dbd9750 2025-09-16 12:04:24,138 - DEBUG - ==>Verifying data for policy with id: fac3581c-d9a2-4c02-8022-8d67e26f55df, fqn: ['default-domain', 'ctest-TestBasicPolicy-27109876', 'ctest-policy-allow-all-50105154'] 2025-09-16 12:04:24,138 - INFO - VN ctest-vn-41671654 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-16 12:04:24,138 - DEBUG - Verifying the vn in opserver 2025-09-16 12:04:24,138 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-27109876:ctest-vn-41671654 virtual network link through opserver 10.0.0.50 2025-09-16 12:04:24,138 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-09-16 12:04:24,451 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-09-16 12:04:24,512 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-27109876:ctest-vn-41671654', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-27109876:ctest-vn-41671654?flat'} 2025-09-16 12:04:24,512 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-27109876:ctest-vn-41671654 is found in opserver 2025-09-16 12:04:24,521 - DEBUG - Do not have enough data to verify VN in agent 2025-09-16 12:04:24,525 - DEBUG - VRF ids for VN ctest-vn-41671654: {} 2025-09-16 12:04:24,525 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-09-16 12:04:24,530 - DEBUG - Requesting: http://10.0.0.50:8082/domain/457b366e-c28a-4292-9228-3b0449ec22cc 2025-09-16 12:04:24,540 - DEBUG - Requesting: http://10.0.0.50:8082/project/bed215a2-2b3a-4d7b-b18c-926f3ec3230c 2025-09-16 12:04:24,610 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/63c7e553-2512-4fd8-a77e-d4e5f3309ece 2025-09-16 12:04:24,621 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/63c7e553-2512-4fd8-a77e-d4e5f3309ece 2025-09-16 12:04:24,629 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/66847951-78f9-4203-b049-934071072134 2025-09-16 12:04:24,634 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/66847951-78f9-4203-b049-934071072134 2025-09-16 12:04:24,640 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/10488c78-7860-4364-bc5e-a5db28a2c9d7 2025-09-16 12:04:24,645 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-16 12:04:24,645 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/63c7e553-2512-4fd8-a77e-d4e5f3309ece 2025-09-16 12:04:24,653 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/66847951-78f9-4203-b049-934071072134 2025-09-16 12:04:24,666 - INFO - Verified VN network id 13 for VN 63c7e553-2512-4fd8-a77e-d4e5f3309ece 2025-09-16 12:04:24,666 - INFO - Verifications in API Server for VN ctest-vn-91798077 passed 2025-09-16 12:04:24,667 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/63c7e553-2512-4fd8-a77e-d4e5f3309ece 2025-09-16 12:04:24,675 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/66847951-78f9-4203-b049-934071072134 2025-09-16 12:04:24,681 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/66847951-78f9-4203-b049-934071072134 2025-09-16 12:04:24,687 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/10488c78-7860-4364-bc5e-a5db28a2c9d7 2025-09-16 12:04:24,697 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-27109876:ctest-vn-91798077', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-27109876', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7189967475387289560', 'uuid-lslong': '12069318135492157134'}, 'enable': 'true', 'created': '2025-09-16T12:04:22', 'last-modified': '2025-09-16T12:04:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.305505'} 2025-09-16 12:04:24,704 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-16 12:04:24,704 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-91798077 passed 2025-09-16 12:04:24,704 - DEBUG - ====Verifying policy data for ctest-vn-91798077 in API_Server ====== 2025-09-16 12:04:24,704 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-09-16 12:04:24,711 - DEBUG - Requesting: http://10.0.0.50:8082/domain/457b366e-c28a-4292-9228-3b0449ec22cc 2025-09-16 12:04:24,721 - DEBUG - Requesting: http://10.0.0.50:8082/project/bed215a2-2b3a-4d7b-b18c-926f3ec3230c 2025-09-16 12:04:24,793 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/63c7e553-2512-4fd8-a77e-d4e5f3309ece 2025-09-16 12:04:24,804 - DEBUG - ==>Verifying data for policy with id: fac3581c-d9a2-4c02-8022-8d67e26f55df, fqn: ['default-domain', 'ctest-TestBasicPolicy-27109876', 'ctest-policy-allow-all-50105154'] 2025-09-16 12:04:24,804 - INFO - VN ctest-vn-91798077 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-16 12:04:24,804 - DEBUG - Verifying the vn in opserver 2025-09-16 12:04:24,804 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-27109876:ctest-vn-91798077 virtual network link through opserver 10.0.0.50 2025-09-16 12:04:24,804 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-09-16 12:04:24,813 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-27109876:ctest-vn-91798077', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-27109876:ctest-vn-91798077?flat'} 2025-09-16 12:04:24,813 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-27109876:ctest-vn-91798077 is found in opserver 2025-09-16 12:04:24,821 - DEBUG - Do not have enough data to verify VN in agent 2025-09-16 12:04:24,824 - DEBUG - VRF ids for VN ctest-vn-91798077: {} 2025-09-16 12:04:24,873 - DEBUG - Services list from nova: [, , ] 2025-09-16 12:04:25,838 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4122-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4122-1) 2025-09-16 12:04:26,893 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4122-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4122-1) 2025-09-16 12:04:26,893 - INFO - Waiting for VM ctest-TestBasicPolicy-27109876-04673083 to be up.. 2025-09-16 12:04:26,959 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-16 12:04:32,030 - DEBUG - VM is in ACTIVE state now 2025-09-16 12:04:32,030 - INFO - VM name : ctest-TestBasicPolicy-27109876-04673083 2025-09-16 12:04:32,094 - DEBUG - VM ctest-TestBasicPolicy-27109876-04673083 ID is 0ef0359d-431b-4f84-b6cd-70d0282e684e 2025-09-16 12:04:32,111 - DEBUG - VM ctest-TestBasicPolicy-27109876-04673083 launched on Node cn-jenkins-deploy-platform-ansible-os-4122-1 2025-09-16 12:04:32,185 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/0ef0359d-431b-4f84-b6cd-70d0282e684e 2025-09-16 12:04:32,193 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/108cf020-fea0-4e51-93e0-2b026bef3491 2025-09-16 12:04:35,471 - 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 1035ms') 2025-09-16 12:04:35,471 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-27109876-04673083 failed! 2025-09-16 12:04:35,525 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-27109876:ctest-vn-41671654 is 129.141.210.1 and allocation pool is NOT set 2025-09-16 12:04:37,580 - 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.05 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.809 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.809/2.428/4.048/1.619 ms') 2025-09-16 12:04:37,580 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-27109876-04673083 passed 2025-09-16 12:04:37,729 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-16 12:04:37,729 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-27109876-04673083, IP 129.141.210.3, Port 22 2025-09-16 12:04:37,889 - DEBUG - VM ctest-TestBasicPolicy-27109876-04673083 is ready for SSH connections 2025-09-16 12:04:37,889 - INFO - Waiting for VM ctest-TestBasicPolicy-27109876-46276179 to be up.. 2025-09-16 12:04:37,957 - DEBUG - VM is in ACTIVE state now 2025-09-16 12:04:37,957 - INFO - VM name : ctest-TestBasicPolicy-27109876-46276179 2025-09-16 12:04:38,029 - DEBUG - VM ctest-TestBasicPolicy-27109876-46276179 ID is a1ae0b5a-352c-494e-8b67-1044d3715c21 2025-09-16 12:04:38,029 - DEBUG - VM ctest-TestBasicPolicy-27109876-46276179 launched on Node cn-jenkins-deploy-platform-ansible-os-4122-1 2025-09-16 12:04:38,091 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/a1ae0b5a-352c-494e-8b67-1044d3715c21 2025-09-16 12:04:38,098 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/d10c40ce-49d0-4b34-8727-acce1b799efb 2025-09-16 12:04:39,331 - 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.85 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.00 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 = 1.004/2.427/3.851/1.423 ms') 2025-09-16 12:04:39,332 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-27109876-46276179 passed 2025-09-16 12:04:39,481 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-16 12:04:39,481 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-27109876-46276179, IP 71.5.208.67, Port 22 2025-09-16 12:04:39,647 - DEBUG - VM ctest-TestBasicPolicy-27109876-46276179 is ready for SSH connections 2025-09-16 12:04:39,647 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-16 12:04:39,647 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 71.5.208.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-09-16 12:04:39,647 - DEBUG - ping -s 56 -c 3 -W 1 71.5.208.67 2025-09-16 12:04:43,307 - DEBUG - PING 71.5.208.67 (71.5.208.67): 56 data bytes 64 bytes from 71.5.208.67: seq=0 ttl=63 time=3.316 ms 64 bytes from 71.5.208.67: seq=1 ttl=63 time=0.744 ms 64 bytes from 71.5.208.67: seq=2 ttl=63 time=0.804 ms --- 71.5.208.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.744/1.621/3.316 ms 2025-09-16 12:04:43,307 - INFO - Ping to IP 71.5.208.67 from VM ctest-TestBasicPolicy-27109876-04673083 passed 2025-09-16 12:04:43,481 - DEBUG - Policy Update Response {"network-policy": {"uuid": "fac3581c-d9a2-4c02-8022-8d67e26f55df", "href": "http://10.0.0.50:8082/network-policy/fac3581c-d9a2-4c02-8022-8d67e26f55df"}} 2025-09-16 12:04:43,481 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-16 12:04:43,481 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 71.5.208.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-09-16 12:04:43,481 - DEBUG - ping -s 56 -c 3 -W 1 71.5.208.67 2025-09-16 12:04:46,688 - DEBUG - PING 71.5.208.67 (71.5.208.67): 56 data bytes --- 71.5.208.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-16 12:04:46,688 - WARNING - Ping to IP 71.5.208.67 from VM ctest-TestBasicPolicy-27109876-04673083 failed 2025-09-16 12:04:46,688 - INFO - Deleting VM ctest-TestBasicPolicy-27109876-46276179 2025-09-16 12:04:46,758 - INFO - Deleting VM ctest-TestBasicPolicy-27109876-04673083 2025-09-16 12:04:47,121 - INFO - Deleted policy ctest-policy-allow-all-50105154 2025-09-16 12:04:47,122 - INFO - Deleting VN ctest-vn-91798077 2025-09-16 12:04:47,157 - DEBUG - VN 63c7e553-2512-4fd8-a77e-d4e5f3309ece still in use: Unable to complete operation on network 63c7e553-2512-4fd8-a77e-d4e5f3309ece. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-84b52cbd-f46a-4415-a816-a202759caf69'] 2025-09-16 12:04:47,157 - WARNING - Deleting VN ctest-vn-91798077 failed..Will retry 2025-09-16 12:04:49,259 - DEBUG - Response for deleting network () 2025-09-16 12:04:49,259 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/66847951-78f9-4203-b049-934071072134 2025-09-16 12:04:49,267 - DEBUG - Response Code: 404 2025-09-16 12:04:49,267 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-09-16 12:04:49,272 - DEBUG - Requesting: http://10.0.0.50:8082/domain/457b366e-c28a-4292-9228-3b0449ec22cc 2025-09-16 12:04:49,327 - DEBUG - Requesting: http://10.0.0.50:8082/project/bed215a2-2b3a-4d7b-b18c-926f3ec3230c 2025-09-16 12:04:49,393 - INFO - Validated that VN ctest-vn-91798077 is not found in API Server 2025-09-16 12:04:49,402 - DEBUG - VN ctest-vn-91798077 is not present in Agent 10.0.0.50 2025-09-16 12:04:49,402 - INFO - Validated that VN ctest-vn-91798077 is not in any agent 2025-09-16 12:04:49,414 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-91798077 info 2025-09-16 12:04:49,414 - INFO - Deleting VN ctest-vn-41671654 2025-09-16 12:04:49,501 - DEBUG - Response for deleting network () 2025-09-16 12:04:49,501 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/baf5e4dc-defc-48f4-832f-48cdfe4876db 2025-09-16 12:04:49,506 - DEBUG - Response Code: 404 2025-09-16 12:04:49,506 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-09-16 12:04:49,510 - DEBUG - Requesting: http://10.0.0.50:8082/domain/457b366e-c28a-4292-9228-3b0449ec22cc 2025-09-16 12:04:49,562 - DEBUG - Requesting: http://10.0.0.50:8082/project/bed215a2-2b3a-4d7b-b18c-926f3ec3230c 2025-09-16 12:04:49,632 - INFO - Validated that VN ctest-vn-41671654 is not found in API Server 2025-09-16 12:04:49,641 - DEBUG - VN ctest-vn-41671654 is not present in Agent 10.0.0.50 2025-09-16 12:04:49,641 - INFO - Validated that VN ctest-vn-41671654 is not in any agent 2025-09-16 12:04:49,655 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-41671654 info 2025-09-16 12:04:49,918 - DEBUG - No XMPP flaps were noticed during the test 2025-09-16 12:04:49,918 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:28] 2025-09-16 12:04:49,918 - INFO - -------------------------------------------------------------------------------- 2025-09-16 12:04:50,572 - INFO - Deleted project: ctest-TestBasicPolicy-27109876, ID : bed215a2-2b3a-4d7b-b18c-926f3ec3230c