2025-11-05 08:20:52,900 - INFO - Domain Default found not creating 2025-11-05 08:20:53,040 - INFO - Project ctest-TestBasicPolicy-60350571 not found, creating it 2025-11-05 08:20:53,499 - INFO - Created Project:ctest-TestBasicPolicy-60350571, ID : 6c017f47-bfb9-4ef6-a09e-ae29daaacd64 2025-11-05 08:20:54,998 - INFO - ================================================================================ 2025-11-05 08:20:54,998 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-05 08:20:54,998 - 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-11-05 08:20:55,260 - DEBUG - Nothing to compare xmpp stats {'10.0.0.131': {'10.20.0.18': '0'}} with 2025-11-05 08:20:55,260 - INFO - Initial checks done. Running the testcase now 2025-11-05 08:20:55,260 - INFO - 2025-11-05 08:20:55,748 - DEBUG - Response for create_network : {'network': {'id': '12e53c84-8ece-4bdc-8150-b7ffb4be6102', 'name': 'ctest-vn-66620593', 'tenant_id': '6c017f47bfb94ef6a09eae29daaacd64', 'project_id': '6c017f47bfb94ef6a09eae29daaacd64', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-60350571', 'ctest-vn-66620593'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 08:20:55,931 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd55ccfb0-dfb2-4868-9fbf-340599032cc7', 'name': '', 'tenant_id': '6c017f47bfb94ef6a09eae29daaacd64', 'network_id': '12e53c84-8ece-4bdc-8150-b7ffb4be6102', 'ip_version': 4, 'cidr': '40.198.43.64/26', 'allocation_pools': [{'start': '40.198.43.66', 'end': '40.198.43.126'}], 'gateway_ip': '40.198.43.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '40.198.43.66', 'tags': [], 'project_id': '6c017f47bfb94ef6a09eae29daaacd64'}} 2025-11-05 08:20:55,947 - INFO - Created VN ctest-vn-66620593 2025-11-05 08:20:55,999 - DEBUG - VN ctest-vn-66620593 UUID is 12e53c84-8ece-4bdc-8150-b7ffb4be6102 2025-11-05 08:20:56,332 - DEBUG - Response for create_network : {'network': {'id': '2bd4e8c5-bd1c-47d5-9a12-409f5b8573a6', 'name': 'ctest-vn-15683515', 'tenant_id': '6c017f47bfb94ef6a09eae29daaacd64', 'project_id': '6c017f47bfb94ef6a09eae29daaacd64', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-60350571', 'ctest-vn-15683515'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 08:20:56,503 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fb083e10-8cb2-4d34-b93b-d6a8e491cb5a', 'name': '', 'tenant_id': '6c017f47bfb94ef6a09eae29daaacd64', 'network_id': '2bd4e8c5-bd1c-47d5-9a12-409f5b8573a6', 'ip_version': 4, 'cidr': '72.137.60.128/26', 'allocation_pools': [{'start': '72.137.60.130', 'end': '72.137.60.190'}], 'gateway_ip': '72.137.60.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '72.137.60.130', 'tags': [], 'project_id': '6c017f47bfb94ef6a09eae29daaacd64'}} 2025-11-05 08:20:56,520 - INFO - Created VN ctest-vn-15683515 2025-11-05 08:20:56,575 - DEBUG - VN ctest-vn-15683515 UUID is 2bd4e8c5-bd1c-47d5-9a12-409f5b8573a6 2025-11-05 08:20:56,727 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-60350571:ctest-vn-66620593, 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-60350571:ctest-vn-15683515, 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-11-05 08:20:57,014 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '12e53c84-8ece-4bdc-8150-b7ffb4be6102', 'name': 'ctest-vn-66620593', 'tenant_id': '6c017f47bfb94ef6a09eae29daaacd64', 'project_id': '6c017f47bfb94ef6a09eae29daaacd64', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d55ccfb0-dfb2-4868-9fbf-340599032cc7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-60350571', 'ctest-vn-66620593'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-60350571', 'ctest-policy-allow-all-83820681']], 'subnet_ipam': [{'subnet_cidr': '40.198.43.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-05 08:20:57,240 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2bd4e8c5-bd1c-47d5-9a12-409f5b8573a6', 'name': 'ctest-vn-15683515', 'tenant_id': '6c017f47bfb94ef6a09eae29daaacd64', 'project_id': '6c017f47bfb94ef6a09eae29daaacd64', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['fb083e10-8cb2-4d34-b93b-d6a8e491cb5a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-60350571', 'ctest-vn-15683515'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-60350571', 'ctest-policy-allow-all-83820681']], 'subnet_ipam': [{'subnet_cidr': '72.137.60.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-05 08:20:57,399 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2025-11-05 08:20:57,702 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2025-11-05 08:20:57,730 - DEBUG - Requesting: http://10.0.0.131:8082/domain/7a620f37-a3d5-4e73-8333-5ca467258adb 2025-11-05 08:20:57,741 - DEBUG - Requesting: http://10.0.0.131:8082/project/6c017f47-bfb9-4ef6-a09e-ae29daaacd64 2025-11-05 08:20:57,808 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/12e53c84-8ece-4bdc-8150-b7ffb4be6102 2025-11-05 08:20:57,818 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/12e53c84-8ece-4bdc-8150-b7ffb4be6102 2025-11-05 08:20:57,825 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/82d46e34-ea48-43f0-ab41-3bd38b219a45 2025-11-05 08:20:57,831 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/82d46e34-ea48-43f0-ab41-3bd38b219a45 2025-11-05 08:20:57,837 - DEBUG - Requesting: http://10.0.0.131:8082/route-target/cfc07959-4c98-4faa-8110-05e346465357 2025-11-05 08:20:57,841 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-05 08:20:57,841 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/12e53c84-8ece-4bdc-8150-b7ffb4be6102 2025-11-05 08:20:57,849 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/82d46e34-ea48-43f0-ab41-3bd38b219a45 2025-11-05 08:20:57,861 - INFO - Verified VN network id 9 for VN 12e53c84-8ece-4bdc-8150-b7ffb4be6102 2025-11-05 08:20:57,861 - INFO - Verifications in API Server for VN ctest-vn-66620593 passed 2025-11-05 08:20:57,861 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/12e53c84-8ece-4bdc-8150-b7ffb4be6102 2025-11-05 08:20:57,869 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/82d46e34-ea48-43f0-ab41-3bd38b219a45 2025-11-05 08:20:57,875 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/82d46e34-ea48-43f0-ab41-3bd38b219a45 2025-11-05 08:20:57,881 - DEBUG - Requesting: http://10.0.0.131:8082/route-target/cfc07959-4c98-4faa-8110-05e346465357 2025-11-05 08:20:57,890 - DEBUG - Control-node 10.0.0.131 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-60350571:ctest-vn-66620593', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-60350571', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1361561002378677212', 'uuid-lslong': '9318149937906475266'}, 'enable': 'true', 'created': '2025-11-05T08:20:55', 'last-modified': '2025-11-05T08:20:56', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.900944'} 2025-11-05 08:20:57,895 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-05 08:20:57,895 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-66620593 passed 2025-11-05 08:20:57,896 - DEBUG - ====Verifying policy data for ctest-vn-66620593 in API_Server ====== 2025-11-05 08:20:57,896 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2025-11-05 08:20:57,900 - DEBUG - Requesting: http://10.0.0.131:8082/domain/7a620f37-a3d5-4e73-8333-5ca467258adb 2025-11-05 08:20:57,911 - DEBUG - Requesting: http://10.0.0.131:8082/project/6c017f47-bfb9-4ef6-a09e-ae29daaacd64 2025-11-05 08:20:57,981 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/12e53c84-8ece-4bdc-8150-b7ffb4be6102 2025-11-05 08:20:57,990 - DEBUG - ==>Verifying data for policy with id: 8afd6b5e-48b9-42ad-add2-5a0a38640267, fqn: ['default-domain', 'ctest-TestBasicPolicy-60350571', 'ctest-policy-allow-all-83820681'] 2025-11-05 08:20:57,990 - INFO - VN ctest-vn-66620593 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-05 08:20:57,990 - DEBUG - Verifying the vn in opserver 2025-11-05 08:20:57,990 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-60350571:ctest-vn-66620593 virtual network link through opserver 10.0.0.131 2025-11-05 08:20:57,990 - DEBUG - Requesting: http://10.0.0.131:8081/analytics/uves/virtual-networks 2025-11-05 08:20:58,282 - DEBUG - Requesting: http://10.0.0.131:8081/analytics/uves/virtual-networks 2025-11-05 08:20:58,333 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-60350571:ctest-vn-66620593', 'href': 'http://10.0.0.131:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-60350571:ctest-vn-66620593?flat'} 2025-11-05 08:20:58,333 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-60350571:ctest-vn-66620593 is found in opserver 2025-11-05 08:20:58,341 - DEBUG - Do not have enough data to verify VN in agent 2025-11-05 08:20:58,345 - DEBUG - VRF ids for VN ctest-vn-66620593: {} 2025-11-05 08:20:58,345 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2025-11-05 08:20:58,350 - DEBUG - Requesting: http://10.0.0.131:8082/domain/7a620f37-a3d5-4e73-8333-5ca467258adb 2025-11-05 08:20:58,359 - DEBUG - Requesting: http://10.0.0.131:8082/project/6c017f47-bfb9-4ef6-a09e-ae29daaacd64 2025-11-05 08:20:58,426 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/2bd4e8c5-bd1c-47d5-9a12-409f5b8573a6 2025-11-05 08:20:58,435 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/2bd4e8c5-bd1c-47d5-9a12-409f5b8573a6 2025-11-05 08:20:58,442 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/5c5fc7aa-bdf5-4496-a706-1194e4b217fd 2025-11-05 08:20:58,447 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/5c5fc7aa-bdf5-4496-a706-1194e4b217fd 2025-11-05 08:20:58,453 - DEBUG - Requesting: http://10.0.0.131:8082/route-target/cc6994ab-f9a9-49dc-881b-8e5e56831269 2025-11-05 08:20:58,458 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-05 08:20:58,458 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/2bd4e8c5-bd1c-47d5-9a12-409f5b8573a6 2025-11-05 08:20:58,465 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/5c5fc7aa-bdf5-4496-a706-1194e4b217fd 2025-11-05 08:20:58,475 - INFO - Verified VN network id 10 for VN 2bd4e8c5-bd1c-47d5-9a12-409f5b8573a6 2025-11-05 08:20:58,475 - INFO - Verifications in API Server for VN ctest-vn-15683515 passed 2025-11-05 08:20:58,475 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/2bd4e8c5-bd1c-47d5-9a12-409f5b8573a6 2025-11-05 08:20:58,482 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/5c5fc7aa-bdf5-4496-a706-1194e4b217fd 2025-11-05 08:20:58,487 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/5c5fc7aa-bdf5-4496-a706-1194e4b217fd 2025-11-05 08:20:58,492 - DEBUG - Requesting: http://10.0.0.131:8082/route-target/cc6994ab-f9a9-49dc-881b-8e5e56831269 2025-11-05 08:20:58,501 - DEBUG - Control-node 10.0.0.131 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-60350571:ctest-vn-15683515', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-60350571', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3158405174672508885', 'uuid-lslong': '11102007084601144230'}, 'enable': 'true', 'created': '2025-11-05T08:20:56', 'last-modified': '2025-11-05T08:20:57', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.288420'} 2025-11-05 08:20:58,505 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-05 08:20:58,505 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-15683515 passed 2025-11-05 08:20:58,506 - DEBUG - ====Verifying policy data for ctest-vn-15683515 in API_Server ====== 2025-11-05 08:20:58,506 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2025-11-05 08:20:58,510 - DEBUG - Requesting: http://10.0.0.131:8082/domain/7a620f37-a3d5-4e73-8333-5ca467258adb 2025-11-05 08:20:58,518 - DEBUG - Requesting: http://10.0.0.131:8082/project/6c017f47-bfb9-4ef6-a09e-ae29daaacd64 2025-11-05 08:20:58,584 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/2bd4e8c5-bd1c-47d5-9a12-409f5b8573a6 2025-11-05 08:20:58,592 - DEBUG - ==>Verifying data for policy with id: 8afd6b5e-48b9-42ad-add2-5a0a38640267, fqn: ['default-domain', 'ctest-TestBasicPolicy-60350571', 'ctest-policy-allow-all-83820681'] 2025-11-05 08:20:58,592 - INFO - VN ctest-vn-15683515 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-05 08:20:58,592 - DEBUG - Verifying the vn in opserver 2025-11-05 08:20:58,592 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-60350571:ctest-vn-15683515 virtual network link through opserver 10.0.0.131 2025-11-05 08:20:58,592 - DEBUG - Requesting: http://10.0.0.131:8081/analytics/uves/virtual-networks 2025-11-05 08:20:58,600 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-60350571:ctest-vn-15683515', 'href': 'http://10.0.0.131:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-60350571:ctest-vn-15683515?flat'} 2025-11-05 08:20:58,600 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-60350571:ctest-vn-15683515 is found in opserver 2025-11-05 08:20:58,608 - DEBUG - Do not have enough data to verify VN in agent 2025-11-05 08:20:58,611 - DEBUG - VRF ids for VN ctest-vn-15683515: {} 2025-11-05 08:20:58,660 - DEBUG - Services list from nova: [, , ] 2025-11-05 08:20:59,793 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4635-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4635-1) 2025-11-05 08:21:00,888 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4635-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4635-1) 2025-11-05 08:21:00,888 - INFO - Waiting for VM ctest-TestBasicPolicy-60350571-62831177 to be up.. 2025-11-05 08:21:00,972 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-05 08:21:06,048 - DEBUG - VM is in ACTIVE state now 2025-11-05 08:21:06,048 - INFO - VM name : ctest-TestBasicPolicy-60350571-62831177 2025-11-05 08:21:06,124 - DEBUG - VM ctest-TestBasicPolicy-60350571-62831177 ID is 1fbcde82-6a54-484a-9595-6fe89599b9f2 2025-11-05 08:21:06,141 - DEBUG - VM ctest-TestBasicPolicy-60350571-62831177 launched on Node cn-jenkins-deploy-platform-ansible-os-4635-1 2025-11-05 08:21:06,204 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/1fbcde82-6a54-484a-9595-6fe89599b9f2 2025-11-05 08:21:06,211 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/2a7f9acb-43ed-42b6-9d09-6c6b4093a47b 2025-11-05 08:21:09,436 - 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 1003ms') 2025-11-05 08:21:09,436 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-60350571-62831177 failed! 2025-11-05 08:21:09,487 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-60350571:ctest-vn-66620593 is 40.198.43.65 and allocation pool is NOT set 2025-11-05 08:21:11,558 - 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.72 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.18 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.178/2.449/3.721/1.271 ms') 2025-11-05 08:21:11,558 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-60350571-62831177 passed 2025-11-05 08:21:11,703 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 08:21:11,703 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-60350571-62831177, IP 40.198.43.67, Port 22 2025-11-05 08:21:11,855 - DEBUG - VM ctest-TestBasicPolicy-60350571-62831177 is ready for SSH connections 2025-11-05 08:21:11,855 - INFO - Waiting for VM ctest-TestBasicPolicy-60350571-36173039 to be up.. 2025-11-05 08:21:11,936 - DEBUG - VM is in ACTIVE state now 2025-11-05 08:21:11,936 - INFO - VM name : ctest-TestBasicPolicy-60350571-36173039 2025-11-05 08:21:12,018 - DEBUG - VM ctest-TestBasicPolicy-60350571-36173039 ID is 62ab0599-0496-48e1-8a30-64c2b86de4a2 2025-11-05 08:21:12,018 - DEBUG - VM ctest-TestBasicPolicy-60350571-36173039 launched on Node cn-jenkins-deploy-platform-ansible-os-4635-1 2025-11-05 08:21:12,098 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/62ab0599-0496-48e1-8a30-64c2b86de4a2 2025-11-05 08:21:12,106 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/768436f4-df62-4f33-a61a-dc5696b1cc38 2025-11-05 08:21:13,344 - 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=2.93 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.577 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.577/1.751/2.926/1.174 ms') 2025-11-05 08:21:13,344 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-60350571-36173039 passed 2025-11-05 08:21:13,491 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 08:21:13,491 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-60350571-36173039, IP 72.137.60.131, Port 22 2025-11-05 08:21:13,651 - DEBUG - VM ctest-TestBasicPolicy-60350571-36173039 is ready for SSH connections 2025-11-05 08:21:13,651 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 08:21:13,651 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 72.137.60.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-11-05 08:21:13,651 - DEBUG - ping -s 56 -c 3 -W 1 72.137.60.131 2025-11-05 08:21:17,348 - DEBUG - PING 72.137.60.131 (72.137.60.131): 56 data bytes 64 bytes from 72.137.60.131: seq=0 ttl=63 time=3.236 ms 64 bytes from 72.137.60.131: seq=1 ttl=63 time=0.763 ms 64 bytes from 72.137.60.131: seq=2 ttl=63 time=0.744 ms --- 72.137.60.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.744/1.581/3.236 ms 2025-11-05 08:21:17,348 - INFO - Ping to IP 72.137.60.131 from VM ctest-TestBasicPolicy-60350571-62831177 passed 2025-11-05 08:21:17,523 - DEBUG - Policy Update Response {"network-policy": {"uuid": "8afd6b5e-48b9-42ad-add2-5a0a38640267", "href": "http://10.0.0.131:8082/network-policy/8afd6b5e-48b9-42ad-add2-5a0a38640267"}} 2025-11-05 08:21:17,523 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 08:21:17,524 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 72.137.60.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-11-05 08:21:17,524 - DEBUG - ping -s 56 -c 3 -W 1 72.137.60.131 2025-11-05 08:21:20,727 - DEBUG - PING 72.137.60.131 (72.137.60.131): 56 data bytes --- 72.137.60.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-05 08:21:20,727 - WARNING - Ping to IP 72.137.60.131 from VM ctest-TestBasicPolicy-60350571-62831177 failed 2025-11-05 08:21:20,727 - INFO - Deleting VM ctest-TestBasicPolicy-60350571-36173039 2025-11-05 08:21:20,785 - INFO - Deleting VM ctest-TestBasicPolicy-60350571-62831177 2025-11-05 08:21:21,135 - INFO - Deleted policy ctest-policy-allow-all-83820681 2025-11-05 08:21:21,136 - INFO - Deleting VN ctest-vn-15683515 2025-11-05 08:21:21,166 - DEBUG - VN 2bd4e8c5-bd1c-47d5-9a12-409f5b8573a6 still in use: Unable to complete operation on network 2bd4e8c5-bd1c-47d5-9a12-409f5b8573a6. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1588167d-8b53-4ff8-a100-fea41ccc834e'] 2025-11-05 08:21:21,167 - WARNING - Deleting VN ctest-vn-15683515 failed..Will retry 2025-11-05 08:21:23,258 - DEBUG - Response for deleting network () 2025-11-05 08:21:23,258 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/5c5fc7aa-bdf5-4496-a706-1194e4b217fd 2025-11-05 08:21:23,263 - DEBUG - Response Code: 404 2025-11-05 08:21:23,263 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2025-11-05 08:21:23,267 - DEBUG - Requesting: http://10.0.0.131:8082/domain/7a620f37-a3d5-4e73-8333-5ca467258adb 2025-11-05 08:21:23,320 - DEBUG - Requesting: http://10.0.0.131:8082/project/6c017f47-bfb9-4ef6-a09e-ae29daaacd64 2025-11-05 08:21:23,395 - INFO - Validated that VN ctest-vn-15683515 is not found in API Server 2025-11-05 08:21:23,406 - DEBUG - VN ctest-vn-15683515 is not present in Agent 10.0.0.131 2025-11-05 08:21:23,406 - INFO - Validated that VN ctest-vn-15683515 is not in any agent 2025-11-05 08:21:23,419 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-15683515 info 2025-11-05 08:21:23,419 - INFO - Deleting VN ctest-vn-66620593 2025-11-05 08:21:23,507 - DEBUG - Response for deleting network () 2025-11-05 08:21:23,507 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/82d46e34-ea48-43f0-ab41-3bd38b219a45 2025-11-05 08:21:23,512 - DEBUG - Response Code: 404 2025-11-05 08:21:23,512 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2025-11-05 08:21:23,516 - DEBUG - Requesting: http://10.0.0.131:8082/domain/7a620f37-a3d5-4e73-8333-5ca467258adb 2025-11-05 08:21:23,567 - DEBUG - Requesting: http://10.0.0.131:8082/project/6c017f47-bfb9-4ef6-a09e-ae29daaacd64 2025-11-05 08:21:23,636 - INFO - Validated that VN ctest-vn-66620593 is not found in API Server 2025-11-05 08:21:23,644 - DEBUG - VN ctest-vn-66620593 is not present in Agent 10.0.0.131 2025-11-05 08:21:23,644 - INFO - Validated that VN ctest-vn-66620593 is not in any agent 2025-11-05 08:21:23,656 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-66620593 info 2025-11-05 08:21:23,908 - DEBUG - No XMPP flaps were noticed during the test
2025-11-05 08:21:23,908 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-11-05 08:21:23,908 - INFO - -------------------------------------------------------------------------------- 2025-11-05 08:21:24,550 - INFO - Deleted project: ctest-TestBasicPolicy-60350571, ID : 6c017f47-bfb9-4ef6-a09e-ae29daaacd64