2025-07-02 16:52:11,759 - INFO - Domain Default found not creating 2025-07-02 16:52:11,916 - INFO - Project ctest-TestBasicPolicy-53174795 not found, creating it 2025-07-02 16:52:12,386 - INFO - Created Project:ctest-TestBasicPolicy-53174795, ID : 79315550-3eda-4128-86c5-0ab19ff34941 2025-07-02 16:52:13,873 - INFO - ================================================================================ 2025-07-02 16:52:13,873 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-07-02 16:52:13,873 - 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-07-02 16:52:14,128 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-07-02 16:52:14,128 - INFO - Initial checks done. Running the testcase now 2025-07-02 16:52:14,128 - INFO - 2025-07-02 16:52:14,711 - DEBUG - Response for create_network : {'network': {'id': '1f2dfe52-ac6d-4b30-a351-8e83076aa8f9', 'name': 'ctest-vn-99908883', 'tenant_id': '793155503eda412886c50ab19ff34941', 'project_id': '793155503eda412886c50ab19ff34941', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-53174795', 'ctest-vn-99908883'], 'port_security_enabled': True, 'description': ''}} 2025-07-02 16:52:14,905 - DEBUG - Response for create_subnet : {'subnet': {'id': '9a145f0e-a857-4c96-aa77-cc1a765021e8', 'name': '', 'tenant_id': '793155503eda412886c50ab19ff34941', 'network_id': '1f2dfe52-ac6d-4b30-a351-8e83076aa8f9', 'ip_version': 4, 'cidr': '107.175.11.192/26', 'allocation_pools': [{'start': '107.175.11.194', 'end': '107.175.11.254'}], 'gateway_ip': '107.175.11.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '107.175.11.194', 'tags': [], 'project_id': '793155503eda412886c50ab19ff34941'}} 2025-07-02 16:52:14,992 - INFO - Created VN ctest-vn-99908883 2025-07-02 16:52:15,049 - DEBUG - VN ctest-vn-99908883 UUID is 1f2dfe52-ac6d-4b30-a351-8e83076aa8f9 2025-07-02 16:52:15,351 - DEBUG - Response for create_network : {'network': {'id': 'b3d9f190-5f17-4aff-a14a-aff22203ed62', 'name': 'ctest-vn-98329807', 'tenant_id': '793155503eda412886c50ab19ff34941', 'project_id': '793155503eda412886c50ab19ff34941', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-53174795', 'ctest-vn-98329807'], 'port_security_enabled': True, 'description': ''}} 2025-07-02 16:52:15,545 - DEBUG - Response for create_subnet : {'subnet': {'id': '8c34cac6-95a6-4a3e-b635-47502ae22a58', 'name': '', 'tenant_id': '793155503eda412886c50ab19ff34941', 'network_id': 'b3d9f190-5f17-4aff-a14a-aff22203ed62', 'ip_version': 4, 'cidr': '104.20.177.0/26', 'allocation_pools': [{'start': '104.20.177.2', 'end': '104.20.177.62'}], 'gateway_ip': '104.20.177.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '104.20.177.2', 'tags': [], 'project_id': '793155503eda412886c50ab19ff34941'}} 2025-07-02 16:52:15,564 - INFO - Created VN ctest-vn-98329807 2025-07-02 16:52:15,617 - DEBUG - VN ctest-vn-98329807 UUID is b3d9f190-5f17-4aff-a14a-aff22203ed62 2025-07-02 16:52:15,730 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-53174795:ctest-vn-99908883, 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-53174795:ctest-vn-98329807, 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-07-02 16:52:16,054 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1f2dfe52-ac6d-4b30-a351-8e83076aa8f9', 'name': 'ctest-vn-99908883', 'tenant_id': '793155503eda412886c50ab19ff34941', 'project_id': '793155503eda412886c50ab19ff34941', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9a145f0e-a857-4c96-aa77-cc1a765021e8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-53174795', 'ctest-vn-99908883'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-53174795', 'ctest-policy-allow-all-61807088']], 'subnet_ipam': [{'subnet_cidr': '107.175.11.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-02 16:52:16,297 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b3d9f190-5f17-4aff-a14a-aff22203ed62', 'name': 'ctest-vn-98329807', 'tenant_id': '793155503eda412886c50ab19ff34941', 'project_id': '793155503eda412886c50ab19ff34941', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8c34cac6-95a6-4a3e-b635-47502ae22a58'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-53174795', 'ctest-vn-98329807'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-53174795', 'ctest-policy-allow-all-61807088']], 'subnet_ipam': [{'subnet_cidr': '104.20.177.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-02 16:52:16,457 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-02 16:52:16,769 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-02 16:52:16,802 - DEBUG - Requesting: http://10.0.0.254:8082/domain/5147c601-786e-4fad-b0db-df42c3969458 2025-07-02 16:52:16,819 - DEBUG - Requesting: http://10.0.0.254:8082/project/79315550-3eda-4128-86c5-0ab19ff34941 2025-07-02 16:52:16,898 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/1f2dfe52-ac6d-4b30-a351-8e83076aa8f9 2025-07-02 16:52:16,911 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/1f2dfe52-ac6d-4b30-a351-8e83076aa8f9 2025-07-02 16:52:16,922 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/3a8625de-0d38-4b30-8077-d4721c34e3c3 2025-07-02 16:52:16,931 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/3a8625de-0d38-4b30-8077-d4721c34e3c3 2025-07-02 16:52:16,939 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/5dd6df5a-fcec-402d-b883-3a546921e5d1 2025-07-02 16:52:16,947 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-02 16:52:16,947 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/1f2dfe52-ac6d-4b30-a351-8e83076aa8f9 2025-07-02 16:52:16,958 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/3a8625de-0d38-4b30-8077-d4721c34e3c3 2025-07-02 16:52:16,979 - INFO - Verified VN network id 8 for VN 1f2dfe52-ac6d-4b30-a351-8e83076aa8f9 2025-07-02 16:52:16,979 - INFO - Verifications in API Server for VN ctest-vn-99908883 passed 2025-07-02 16:52:16,979 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/1f2dfe52-ac6d-4b30-a351-8e83076aa8f9 2025-07-02 16:52:16,992 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/3a8625de-0d38-4b30-8077-d4721c34e3c3 2025-07-02 16:52:17,003 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/3a8625de-0d38-4b30-8077-d4721c34e3c3 2025-07-02 16:52:17,013 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/5dd6df5a-fcec-402d-b883-3a546921e5d1 2025-07-02 16:52:17,029 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-53174795:ctest-vn-99908883', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-53174795', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2246731420161362736', 'uuid-lslong': '11768343994712107257'}, 'enable': 'true', 'created': '2025-07-02T16:52:14', 'last-modified': '2025-07-02T16:52:16', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.005327'} 2025-07-02 16:52:17,036 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-02 16:52:17,037 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-99908883 passed 2025-07-02 16:52:17,037 - DEBUG - ====Verifying policy data for ctest-vn-99908883 in API_Server ====== 2025-07-02 16:52:17,037 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-02 16:52:17,045 - DEBUG - Requesting: http://10.0.0.254:8082/domain/5147c601-786e-4fad-b0db-df42c3969458 2025-07-02 16:52:17,060 - DEBUG - Requesting: http://10.0.0.254:8082/project/79315550-3eda-4128-86c5-0ab19ff34941 2025-07-02 16:52:17,133 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/1f2dfe52-ac6d-4b30-a351-8e83076aa8f9 2025-07-02 16:52:17,145 - DEBUG - ==>Verifying data for policy with id: b46d617f-9194-40b6-b775-575a71faa64c, fqn: ['default-domain', 'ctest-TestBasicPolicy-53174795', 'ctest-policy-allow-all-61807088'] 2025-07-02 16:52:17,145 - INFO - VN ctest-vn-99908883 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-02 16:52:17,145 - DEBUG - Verifying the vn in opserver 2025-07-02 16:52:17,145 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-53174795:ctest-vn-99908883 virtual network link through opserver 10.0.0.254 2025-07-02 16:52:17,145 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-07-02 16:52:17,439 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-07-02 16:52:17,512 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-53174795:ctest-vn-99908883', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-53174795:ctest-vn-99908883?flat'} 2025-07-02 16:52:17,512 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-53174795:ctest-vn-99908883 is found in opserver 2025-07-02 16:52:17,526 - DEBUG - Do not have enough data to verify VN in agent 2025-07-02 16:52:17,531 - DEBUG - VRF ids for VN ctest-vn-99908883: {} 2025-07-02 16:52:17,531 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-02 16:52:17,538 - DEBUG - Requesting: http://10.0.0.254:8082/domain/5147c601-786e-4fad-b0db-df42c3969458 2025-07-02 16:52:17,551 - DEBUG - Requesting: http://10.0.0.254:8082/project/79315550-3eda-4128-86c5-0ab19ff34941 2025-07-02 16:52:17,628 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/b3d9f190-5f17-4aff-a14a-aff22203ed62 2025-07-02 16:52:17,644 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/b3d9f190-5f17-4aff-a14a-aff22203ed62 2025-07-02 16:52:17,658 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/b3f357fd-0170-4de9-917e-75402beab6e0 2025-07-02 16:52:17,669 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/b3f357fd-0170-4de9-917e-75402beab6e0 2025-07-02 16:52:17,678 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/6181abf8-85f9-4c75-b4be-3def6037e6ee 2025-07-02 16:52:17,686 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-02 16:52:17,686 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/b3d9f190-5f17-4aff-a14a-aff22203ed62 2025-07-02 16:52:17,698 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/b3f357fd-0170-4de9-917e-75402beab6e0 2025-07-02 16:52:17,720 - INFO - Verified VN network id 9 for VN b3d9f190-5f17-4aff-a14a-aff22203ed62 2025-07-02 16:52:17,720 - INFO - Verifications in API Server for VN ctest-vn-98329807 passed 2025-07-02 16:52:17,720 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/b3d9f190-5f17-4aff-a14a-aff22203ed62 2025-07-02 16:52:17,730 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/b3f357fd-0170-4de9-917e-75402beab6e0 2025-07-02 16:52:17,738 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/b3f357fd-0170-4de9-917e-75402beab6e0 2025-07-02 16:52:17,747 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/6181abf8-85f9-4c75-b4be-3def6037e6ee 2025-07-02 16:52:17,764 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-53174795:ctest-vn-98329807', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-53174795', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12959655005108259583', 'uuid-lslong': '11622295242870615394'}, 'enable': 'true', 'created': '2025-07-02T16:52:15', 'last-modified': '2025-07-02T16:52:16', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.487494'} 2025-07-02 16:52:17,773 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-02 16:52:17,774 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-98329807 passed 2025-07-02 16:52:17,774 - DEBUG - ====Verifying policy data for ctest-vn-98329807 in API_Server ====== 2025-07-02 16:52:17,774 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-02 16:52:17,785 - DEBUG - Requesting: http://10.0.0.254:8082/domain/5147c601-786e-4fad-b0db-df42c3969458 2025-07-02 16:52:17,805 - DEBUG - Requesting: http://10.0.0.254:8082/project/79315550-3eda-4128-86c5-0ab19ff34941 2025-07-02 16:52:17,880 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/b3d9f190-5f17-4aff-a14a-aff22203ed62 2025-07-02 16:52:17,892 - DEBUG - ==>Verifying data for policy with id: b46d617f-9194-40b6-b775-575a71faa64c, fqn: ['default-domain', 'ctest-TestBasicPolicy-53174795', 'ctest-policy-allow-all-61807088'] 2025-07-02 16:52:17,892 - INFO - VN ctest-vn-98329807 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-02 16:52:17,892 - DEBUG - Verifying the vn in opserver 2025-07-02 16:52:17,892 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-53174795:ctest-vn-98329807 virtual network link through opserver 10.0.0.254 2025-07-02 16:52:17,892 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-07-02 16:52:17,906 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-53174795:ctest-vn-98329807', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-53174795:ctest-vn-98329807?flat'} 2025-07-02 16:52:17,906 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-53174795:ctest-vn-98329807 is found in opserver 2025-07-02 16:52:17,921 - DEBUG - Do not have enough data to verify VN in agent 2025-07-02 16:52:17,935 - DEBUG - VRF ids for VN ctest-vn-98329807: {} 2025-07-02 16:52:17,995 - DEBUG - Services list from nova: [, , ] 2025-07-02 16:52:19,018 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3590-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3590-1) 2025-07-02 16:52:20,343 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3590-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3590-1) 2025-07-02 16:52:20,343 - INFO - Waiting for VM ctest-TestBasicPolicy-53174795-52383398 to be up.. 2025-07-02 16:52:20,434 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-02 16:52:25,513 - DEBUG - VM is in ACTIVE state now 2025-07-02 16:52:25,514 - INFO - VM name : ctest-TestBasicPolicy-53174795-52383398 2025-07-02 16:52:25,593 - DEBUG - VM ctest-TestBasicPolicy-53174795-52383398 ID is 26a19e5c-0e20-4b5c-97ca-6809b42251e2 2025-07-02 16:52:25,613 - DEBUG - VM ctest-TestBasicPolicy-53174795-52383398 launched on Node cn-jenkins-deploy-platform-ansible-os-3590-1 2025-07-02 16:52:25,692 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/26a19e5c-0e20-4b5c-97ca-6809b42251e2 2025-07-02 16:52:25,704 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/82e4ad05-7104-4298-b0cb-34800c97848b 2025-07-02 16:52:28,968 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1010ms') 2025-07-02 16:52:28,969 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-53174795-52383398 failed! 2025-07-02 16:52:29,025 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-53174795:ctest-vn-99908883 is 107.175.11.193 and allocation pool is NOT set 2025-07-02 16:52:31,081 - 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=6.61 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.551 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 = 0.551/3.580/6.610/3.029 ms') 2025-07-02 16:52:31,081 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-53174795-52383398 passed 2025-07-02 16:52:31,237 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-02 16:52:31,237 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-53174795-52383398, IP 107.175.11.195, Port 22 2025-07-02 16:52:31,406 - DEBUG - VM ctest-TestBasicPolicy-53174795-52383398 is ready for SSH connections 2025-07-02 16:52:31,406 - INFO - Waiting for VM ctest-TestBasicPolicy-53174795-44631982 to be up.. 2025-07-02 16:52:31,488 - DEBUG - VM is in ACTIVE state now 2025-07-02 16:52:31,488 - INFO - VM name : ctest-TestBasicPolicy-53174795-44631982 2025-07-02 16:52:31,576 - DEBUG - VM ctest-TestBasicPolicy-53174795-44631982 ID is bf60ab09-324a-421c-b324-4cc56e4e2c15 2025-07-02 16:52:31,576 - DEBUG - VM ctest-TestBasicPolicy-53174795-44631982 launched on Node cn-jenkins-deploy-platform-ansible-os-3590-1 2025-07-02 16:52:31,665 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/bf60ab09-324a-421c-b324-4cc56e4e2c15 2025-07-02 16:52:31,676 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/00e3afac-2e5a-40c3-9c7e-4f0ecb64bb10 2025-07-02 16:52:32,940 - 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.17 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.450 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.450/1.809/3.168/1.359 ms') 2025-07-02 16:52:32,940 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-53174795-44631982 passed 2025-07-02 16:52:33,093 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-02 16:52:33,093 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-53174795-44631982, IP 104.20.177.3, Port 22 2025-07-02 16:52:33,253 - DEBUG - VM ctest-TestBasicPolicy-53174795-44631982 is ready for SSH connections 2025-07-02 16:52:33,253 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-02 16:52:33,254 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 104.20.177.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-07-02 16:52:33,254 - DEBUG - ping -s 56 -c 3 -W 1 104.20.177.3 2025-07-02 16:52:37,280 - DEBUG - PING 104.20.177.3 (104.20.177.3): 56 data bytes 64 bytes from 104.20.177.3: seq=0 ttl=63 time=3.821 ms 64 bytes from 104.20.177.3: seq=1 ttl=63 time=0.962 ms 64 bytes from 104.20.177.3: seq=2 ttl=63 time=0.815 ms --- 104.20.177.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.815/1.866/3.821 ms 2025-07-02 16:52:37,280 - INFO - Ping to IP 104.20.177.3 from VM ctest-TestBasicPolicy-53174795-52383398 passed 2025-07-02 16:52:37,473 - DEBUG - Policy Update Response {"network-policy": {"uuid": "b46d617f-9194-40b6-b775-575a71faa64c", "href": "http://10.0.0.254:8082/network-policy/b46d617f-9194-40b6-b775-575a71faa64c"}} 2025-07-02 16:52:37,473 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-02 16:52:37,473 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 104.20.177.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-07-02 16:52:37,473 - DEBUG - ping -s 56 -c 3 -W 1 104.20.177.3 2025-07-02 16:52:40,689 - DEBUG - PING 104.20.177.3 (104.20.177.3): 56 data bytes --- 104.20.177.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-07-02 16:52:40,689 - WARNING - Ping to IP 104.20.177.3 from VM ctest-TestBasicPolicy-53174795-52383398 failed 2025-07-02 16:52:40,690 - INFO - Deleting VM ctest-TestBasicPolicy-53174795-44631982 2025-07-02 16:52:40,752 - INFO - Deleting VM ctest-TestBasicPolicy-53174795-52383398 2025-07-02 16:52:41,129 - INFO - Deleted policy ctest-policy-allow-all-61807088 2025-07-02 16:52:41,129 - INFO - Deleting VN ctest-vn-98329807 2025-07-02 16:52:41,168 - DEBUG - VN b3d9f190-5f17-4aff-a14a-aff22203ed62 still in use: Unable to complete operation on network b3d9f190-5f17-4aff-a14a-aff22203ed62. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-29d51d50-fbff-4eaf-ac38-bc841049caef'] 2025-07-02 16:52:41,168 - WARNING - Deleting VN ctest-vn-98329807 failed..Will retry 2025-07-02 16:52:43,273 - DEBUG - Response for deleting network () 2025-07-02 16:52:43,273 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/b3f357fd-0170-4de9-917e-75402beab6e0 2025-07-02 16:52:43,282 - DEBUG - Response Code: 404 2025-07-02 16:52:43,282 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-02 16:52:43,289 - DEBUG - Requesting: http://10.0.0.254:8082/domain/5147c601-786e-4fad-b0db-df42c3969458 2025-07-02 16:52:43,343 - DEBUG - Requesting: http://10.0.0.254:8082/project/79315550-3eda-4128-86c5-0ab19ff34941 2025-07-02 16:52:43,415 - INFO - Validated that VN ctest-vn-98329807 is not found in API Server 2025-07-02 16:52:43,428 - DEBUG - VN ctest-vn-98329807 is not present in Agent 10.0.0.254 2025-07-02 16:52:43,428 - INFO - Validated that VN ctest-vn-98329807 is not in any agent 2025-07-02 16:52:43,444 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-98329807 info 2025-07-02 16:52:43,444 - INFO - Deleting VN ctest-vn-99908883 2025-07-02 16:52:43,560 - DEBUG - Response for deleting network () 2025-07-02 16:52:43,560 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/3a8625de-0d38-4b30-8077-d4721c34e3c3 2025-07-02 16:52:43,566 - DEBUG - Response Code: 404 2025-07-02 16:52:43,566 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-02 16:52:43,574 - DEBUG - Requesting: http://10.0.0.254:8082/domain/5147c601-786e-4fad-b0db-df42c3969458 2025-07-02 16:52:43,631 - DEBUG - Requesting: http://10.0.0.254:8082/project/79315550-3eda-4128-86c5-0ab19ff34941 2025-07-02 16:52:43,714 - INFO - Validated that VN ctest-vn-99908883 is not found in API Server 2025-07-02 16:52:43,729 - DEBUG - VN ctest-vn-99908883 is not present in Agent 10.0.0.254 2025-07-02 16:52:43,729 - INFO - Validated that VN ctest-vn-99908883 is not in any agent 2025-07-02 16:52:43,751 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-99908883 info 2025-07-02 16:52:44,024 - DEBUG - No XMPP flaps were noticed during the test 2025-07-02 16:52:44,024 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31] 2025-07-02 16:52:44,024 - INFO - -------------------------------------------------------------------------------- 2025-07-02 16:52:44,706 - INFO - Deleted project: ctest-TestBasicPolicy-53174795, ID : 79315550-3eda-4128-86c5-0ab19ff34941