2025-10-15 12:44:50,698 - INFO - Domain Default found not creating 2025-10-15 12:44:50,862 - INFO - Project ctest-TestBasicPolicy-59755258 not found, creating it 2025-10-15 12:44:51,308 - INFO - Created Project:ctest-TestBasicPolicy-59755258, ID : 1bd86e67-e8d7-4223-afa6-9615c3d60f95 2025-10-15 12:44:52,663 - INFO - ================================================================================ 2025-10-15 12:44:52,663 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-15 12:44:52,663 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2025-10-15 12:44:52,915 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.145': '0'}} with 2025-10-15 12:44:52,915 - INFO - Initial checks done. Running the testcase now 2025-10-15 12:44:52,915 - INFO - 2025-10-15 12:44:53,424 - DEBUG - Response for create_network : {'network': {'id': '4310a6ac-e6c0-40a3-815e-cab842c55f17', 'name': 'ctest-vn-75128513', 'tenant_id': '1bd86e67e8d74223afa69615c3d60f95', 'project_id': '1bd86e67e8d74223afa69615c3d60f95', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-59755258', 'ctest-vn-75128513'], 'port_security_enabled': True, 'description': ''}} 2025-10-15 12:44:53,591 - DEBUG - Response for create_subnet : {'subnet': {'id': '4ae485de-29c4-4681-a60f-c404201fc221', 'name': '', 'tenant_id': '1bd86e67e8d74223afa69615c3d60f95', 'network_id': '4310a6ac-e6c0-40a3-815e-cab842c55f17', 'ip_version': 4, 'cidr': '26.145.109.192/26', 'allocation_pools': [{'start': '26.145.109.194', 'end': '26.145.109.254'}], 'gateway_ip': '26.145.109.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '26.145.109.194', 'tags': [], 'project_id': '1bd86e67e8d74223afa69615c3d60f95'}} 2025-10-15 12:44:53,607 - INFO - Created VN ctest-vn-75128513 2025-10-15 12:44:53,659 - DEBUG - VN ctest-vn-75128513 UUID is 4310a6ac-e6c0-40a3-815e-cab842c55f17 2025-10-15 12:44:53,969 - DEBUG - Response for create_network : {'network': {'id': '24757647-fec2-4b96-9bfd-6b334852675a', 'name': 'ctest-vn-67476841', 'tenant_id': '1bd86e67e8d74223afa69615c3d60f95', 'project_id': '1bd86e67e8d74223afa69615c3d60f95', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-59755258', 'ctest-vn-67476841'], 'port_security_enabled': True, 'description': ''}} 2025-10-15 12:44:54,181 - DEBUG - Response for create_subnet : {'subnet': {'id': '4f8274ca-898f-4242-ad8f-86bb31e218b5', 'name': '', 'tenant_id': '1bd86e67e8d74223afa69615c3d60f95', 'network_id': '24757647-fec2-4b96-9bfd-6b334852675a', 'ip_version': 4, 'cidr': '114.226.59.0/26', 'allocation_pools': [{'start': '114.226.59.2', 'end': '114.226.59.62'}], 'gateway_ip': '114.226.59.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '114.226.59.2', 'tags': [], 'project_id': '1bd86e67e8d74223afa69615c3d60f95'}} 2025-10-15 12:44:54,197 - INFO - Created VN ctest-vn-67476841 2025-10-15 12:44:54,251 - DEBUG - VN ctest-vn-67476841 UUID is 24757647-fec2-4b96-9bfd-6b334852675a 2025-10-15 12:44:54,399 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-59755258:ctest-vn-75128513, 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-59755258:ctest-vn-67476841, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2025-10-15 12:44:54,685 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4310a6ac-e6c0-40a3-815e-cab842c55f17', 'name': 'ctest-vn-75128513', 'tenant_id': '1bd86e67e8d74223afa69615c3d60f95', 'project_id': '1bd86e67e8d74223afa69615c3d60f95', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4ae485de-29c4-4681-a60f-c404201fc221'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-59755258', 'ctest-vn-75128513'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-59755258', 'ctest-policy-allow-all-82608669']], 'subnet_ipam': [{'subnet_cidr': '26.145.109.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-15 12:44:54,948 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '24757647-fec2-4b96-9bfd-6b334852675a', 'name': 'ctest-vn-67476841', 'tenant_id': '1bd86e67e8d74223afa69615c3d60f95', 'project_id': '1bd86e67e8d74223afa69615c3d60f95', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4f8274ca-898f-4242-ad8f-86bb31e218b5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-59755258', 'ctest-vn-67476841'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-59755258', 'ctest-policy-allow-all-82608669']], 'subnet_ipam': [{'subnet_cidr': '114.226.59.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-15 12:44:55,095 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-15 12:44:55,386 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-15 12:44:55,413 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2dbc06a8-a315-4d0f-8b78-a4c5f1f9b3b0 2025-10-15 12:44:55,423 - DEBUG - Requesting: http://10.0.0.38:8082/project/1bd86e67-e8d7-4223-afa6-9615c3d60f95 2025-10-15 12:44:55,493 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/4310a6ac-e6c0-40a3-815e-cab842c55f17 2025-10-15 12:44:55,502 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/4310a6ac-e6c0-40a3-815e-cab842c55f17 2025-10-15 12:44:55,510 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b24d415e-e93d-4cea-a90f-2a56766073e8 2025-10-15 12:44:55,516 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b24d415e-e93d-4cea-a90f-2a56766073e8 2025-10-15 12:44:55,522 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/4e9ad831-c7cb-4a49-95d5-d8c30bd1981c 2025-10-15 12:44:55,527 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-15 12:44:55,527 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/4310a6ac-e6c0-40a3-815e-cab842c55f17 2025-10-15 12:44:55,535 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b24d415e-e93d-4cea-a90f-2a56766073e8 2025-10-15 12:44:55,547 - INFO - Verified VN network id 12 for VN 4310a6ac-e6c0-40a3-815e-cab842c55f17 2025-10-15 12:44:55,547 - INFO - Verifications in API Server for VN ctest-vn-75128513 passed 2025-10-15 12:44:55,547 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/4310a6ac-e6c0-40a3-815e-cab842c55f17 2025-10-15 12:44:55,554 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b24d415e-e93d-4cea-a90f-2a56766073e8 2025-10-15 12:44:55,560 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b24d415e-e93d-4cea-a90f-2a56766073e8 2025-10-15 12:44:55,566 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/4e9ad831-c7cb-4a49-95d5-d8c30bd1981c 2025-10-15 12:44:55,576 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-59755258:ctest-vn-75128513', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-59755258', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4832545661704487075', 'uuid-lslong': '9322111171446529815'}, 'enable': 'true', 'created': '2025-10-15T12:44:53', 'last-modified': '2025-10-15T12:44:54', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.912683'} 2025-10-15 12:44:55,581 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-15 12:44:55,582 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-75128513 passed 2025-10-15 12:44:55,582 - DEBUG - ====Verifying policy data for ctest-vn-75128513 in API_Server ====== 2025-10-15 12:44:55,582 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-15 12:44:55,587 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2dbc06a8-a315-4d0f-8b78-a4c5f1f9b3b0 2025-10-15 12:44:55,597 - DEBUG - Requesting: http://10.0.0.38:8082/project/1bd86e67-e8d7-4223-afa6-9615c3d60f95 2025-10-15 12:44:55,662 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/4310a6ac-e6c0-40a3-815e-cab842c55f17 2025-10-15 12:44:55,670 - DEBUG - ==>Verifying data for policy with id: f047fabb-9cfb-40c7-8d06-60348aa9f2c2, fqn: ['default-domain', 'ctest-TestBasicPolicy-59755258', 'ctest-policy-allow-all-82608669'] 2025-10-15 12:44:55,670 - INFO - VN ctest-vn-75128513 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-15 12:44:55,670 - DEBUG - Verifying the vn in opserver 2025-10-15 12:44:55,670 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-59755258:ctest-vn-75128513 virtual network link through opserver 10.0.0.38 2025-10-15 12:44:55,670 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-10-15 12:44:55,961 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-10-15 12:44:56,014 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-59755258:ctest-vn-75128513', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-59755258:ctest-vn-75128513?flat'} 2025-10-15 12:44:56,014 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-59755258:ctest-vn-75128513 is found in opserver 2025-10-15 12:44:56,022 - DEBUG - Do not have enough data to verify VN in agent 2025-10-15 12:44:56,026 - DEBUG - VRF ids for VN ctest-vn-75128513: {} 2025-10-15 12:44:56,026 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-15 12:44:56,031 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2dbc06a8-a315-4d0f-8b78-a4c5f1f9b3b0 2025-10-15 12:44:56,040 - DEBUG - Requesting: http://10.0.0.38:8082/project/1bd86e67-e8d7-4223-afa6-9615c3d60f95 2025-10-15 12:44:56,106 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/24757647-fec2-4b96-9bfd-6b334852675a 2025-10-15 12:44:56,116 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/24757647-fec2-4b96-9bfd-6b334852675a 2025-10-15 12:44:56,123 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/25e3ffde-defd-47dd-8793-b461f925cdb3 2025-10-15 12:44:56,129 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/25e3ffde-defd-47dd-8793-b461f925cdb3 2025-10-15 12:44:56,134 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/f8e08c43-6a07-44c5-bda2-adee09e081f7 2025-10-15 12:44:56,139 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-15 12:44:56,139 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/24757647-fec2-4b96-9bfd-6b334852675a 2025-10-15 12:44:56,146 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/25e3ffde-defd-47dd-8793-b461f925cdb3 2025-10-15 12:44:56,156 - INFO - Verified VN network id 13 for VN 24757647-fec2-4b96-9bfd-6b334852675a 2025-10-15 12:44:56,156 - INFO - Verifications in API Server for VN ctest-vn-67476841 passed 2025-10-15 12:44:56,156 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/24757647-fec2-4b96-9bfd-6b334852675a 2025-10-15 12:44:56,164 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/25e3ffde-defd-47dd-8793-b461f925cdb3 2025-10-15 12:44:56,169 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/25e3ffde-defd-47dd-8793-b461f925cdb3 2025-10-15 12:44:56,176 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/f8e08c43-6a07-44c5-bda2-adee09e081f7 2025-10-15 12:44:56,186 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-59755258:ctest-vn-67476841', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-59755258', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2627136009229454230', 'uuid-lslong': '11240258112987490138'}, 'enable': 'true', 'created': '2025-10-15T12:44:53', 'last-modified': '2025-10-15T12:44:54', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.299996'} 2025-10-15 12:44:56,191 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-15 12:44:56,191 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-67476841 passed 2025-10-15 12:44:56,191 - DEBUG - ====Verifying policy data for ctest-vn-67476841 in API_Server ====== 2025-10-15 12:44:56,191 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-15 12:44:56,196 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2dbc06a8-a315-4d0f-8b78-a4c5f1f9b3b0 2025-10-15 12:44:56,204 - DEBUG - Requesting: http://10.0.0.38:8082/project/1bd86e67-e8d7-4223-afa6-9615c3d60f95 2025-10-15 12:44:56,271 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/24757647-fec2-4b96-9bfd-6b334852675a 2025-10-15 12:44:56,279 - DEBUG - ==>Verifying data for policy with id: f047fabb-9cfb-40c7-8d06-60348aa9f2c2, fqn: ['default-domain', 'ctest-TestBasicPolicy-59755258', 'ctest-policy-allow-all-82608669'] 2025-10-15 12:44:56,279 - INFO - VN ctest-vn-67476841 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-15 12:44:56,279 - DEBUG - Verifying the vn in opserver 2025-10-15 12:44:56,279 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-59755258:ctest-vn-67476841 virtual network link through opserver 10.0.0.38 2025-10-15 12:44:56,279 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-10-15 12:44:56,287 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-59755258:ctest-vn-67476841', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-59755258:ctest-vn-67476841?flat'} 2025-10-15 12:44:56,287 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-59755258:ctest-vn-67476841 is found in opserver 2025-10-15 12:44:56,294 - DEBUG - Do not have enough data to verify VN in agent 2025-10-15 12:44:56,298 - DEBUG - VRF ids for VN ctest-vn-67476841: {} 2025-10-15 12:44:56,347 - DEBUG - Services list from nova: [, , ] 2025-10-15 12:44:57,326 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4324-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4324-1) 2025-10-15 12:44:58,419 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4324-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4324-1) 2025-10-15 12:44:58,419 - INFO - Waiting for VM ctest-TestBasicPolicy-59755258-36387874 to be up.. 2025-10-15 12:44:58,483 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-15 12:45:03,555 - DEBUG - VM is in ACTIVE state now 2025-10-15 12:45:03,555 - INFO - VM name : ctest-TestBasicPolicy-59755258-36387874 2025-10-15 12:45:03,626 - DEBUG - VM ctest-TestBasicPolicy-59755258-36387874 ID is 9ec01e4b-84d3-47e2-a9da-ba39829be07d 2025-10-15 12:45:03,643 - DEBUG - VM ctest-TestBasicPolicy-59755258-36387874 launched on Node cn-jenkins-deploy-platform-ansible-os-4324-1 2025-10-15 12:45:03,716 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/9ec01e4b-84d3-47e2-a9da-ba39829be07d 2025-10-15 12:45:03,724 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/2a7efb49-a8bf-4523-88cf-bb091751b1d7 2025-10-15 12:45:06,957 - 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-10-15 12:45:06,957 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-59755258-36387874 failed! 2025-10-15 12:45:07,011 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-59755258:ctest-vn-75128513 is 26.145.109.193 and allocation pool is NOT set 2025-10-15 12:45:09,070 - 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=2.83 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.467 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.467/1.649/2.831/1.182 ms') 2025-10-15 12:45:09,070 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-59755258-36387874 passed 2025-10-15 12:45:09,223 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-15 12:45:09,223 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-59755258-36387874, IP 26.145.109.195, Port 22 2025-10-15 12:45:09,378 - DEBUG - VM ctest-TestBasicPolicy-59755258-36387874 is ready for SSH connections 2025-10-15 12:45:09,378 - INFO - Waiting for VM ctest-TestBasicPolicy-59755258-97225931 to be up.. 2025-10-15 12:45:09,448 - DEBUG - VM is in ACTIVE state now 2025-10-15 12:45:09,448 - INFO - VM name : ctest-TestBasicPolicy-59755258-97225931 2025-10-15 12:45:09,512 - DEBUG - VM ctest-TestBasicPolicy-59755258-97225931 ID is eff0a6d3-bea0-48b1-834e-4f0726aebd05 2025-10-15 12:45:09,512 - DEBUG - VM ctest-TestBasicPolicy-59755258-97225931 launched on Node cn-jenkins-deploy-platform-ansible-os-4324-1 2025-10-15 12:45:09,590 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/eff0a6d3-bea0-48b1-834e-4f0726aebd05 2025-10-15 12:45:09,598 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/c810ab38-4f11-46e5-b8db-7a1a4c38b5b9 2025-10-15 12:45:10,830 - 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.66 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.495 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.495/1.578/2.662/1.083 ms') 2025-10-15 12:45:10,830 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-59755258-97225931 passed 2025-10-15 12:45:10,979 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-15 12:45:10,979 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-59755258-97225931, IP 114.226.59.3, Port 22 2025-10-15 12:45:11,140 - DEBUG - VM ctest-TestBasicPolicy-59755258-97225931 is ready for SSH connections 2025-10-15 12:45:11,140 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-15 12:45:11,140 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 114.226.59.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-15 12:45:11,140 - DEBUG - ping -s 56 -c 3 -W 1 114.226.59.3 2025-10-15 12:45:14,819 - DEBUG - PING 114.226.59.3 (114.226.59.3): 56 data bytes 64 bytes from 114.226.59.3: seq=0 ttl=63 time=3.367 ms 64 bytes from 114.226.59.3: seq=1 ttl=63 time=0.830 ms 64 bytes from 114.226.59.3: seq=2 ttl=63 time=0.994 ms --- 114.226.59.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.830/1.730/3.367 ms 2025-10-15 12:45:14,819 - INFO - Ping to IP 114.226.59.3 from VM ctest-TestBasicPolicy-59755258-36387874 passed 2025-10-15 12:45:14,986 - DEBUG - Policy Update Response {"network-policy": {"uuid": "f047fabb-9cfb-40c7-8d06-60348aa9f2c2", "href": "http://10.0.0.38:8082/network-policy/f047fabb-9cfb-40c7-8d06-60348aa9f2c2"}} 2025-10-15 12:45:14,986 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-15 12:45:14,987 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 114.226.59.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-15 12:45:14,987 - DEBUG - ping -s 56 -c 3 -W 1 114.226.59.3 2025-10-15 12:45:18,195 - DEBUG - PING 114.226.59.3 (114.226.59.3): 56 data bytes --- 114.226.59.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-15 12:45:18,195 - WARNING - Ping to IP 114.226.59.3 from VM ctest-TestBasicPolicy-59755258-36387874 failed 2025-10-15 12:45:18,195 - INFO - Deleting VM ctest-TestBasicPolicy-59755258-97225931 2025-10-15 12:45:18,258 - INFO - Deleting VM ctest-TestBasicPolicy-59755258-36387874 2025-10-15 12:45:18,636 - INFO - Deleted policy ctest-policy-allow-all-82608669 2025-10-15 12:45:18,636 - INFO - Deleting VN ctest-vn-67476841 2025-10-15 12:45:18,675 - DEBUG - VN 24757647-fec2-4b96-9bfd-6b334852675a still in use: Unable to complete operation on network 24757647-fec2-4b96-9bfd-6b334852675a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f5b3a255-ca28-459c-a222-cc05f49e4255'] 2025-10-15 12:45:18,675 - WARNING - Deleting VN ctest-vn-67476841 failed..Will retry 2025-10-15 12:45:20,770 - DEBUG - Response for deleting network () 2025-10-15 12:45:20,770 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/25e3ffde-defd-47dd-8793-b461f925cdb3 2025-10-15 12:45:20,775 - DEBUG - Response Code: 404 2025-10-15 12:45:20,775 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-15 12:45:20,780 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2dbc06a8-a315-4d0f-8b78-a4c5f1f9b3b0 2025-10-15 12:45:20,832 - DEBUG - Requesting: http://10.0.0.38:8082/project/1bd86e67-e8d7-4223-afa6-9615c3d60f95 2025-10-15 12:45:20,897 - INFO - Validated that VN ctest-vn-67476841 is not found in API Server 2025-10-15 12:45:20,907 - DEBUG - VN ctest-vn-67476841 is not present in Agent 10.0.0.38 2025-10-15 12:45:20,907 - INFO - Validated that VN ctest-vn-67476841 is not in any agent 2025-10-15 12:45:20,920 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-67476841 info 2025-10-15 12:45:20,920 - INFO - Deleting VN ctest-vn-75128513 2025-10-15 12:45:21,015 - DEBUG - Response for deleting network () 2025-10-15 12:45:21,015 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b24d415e-e93d-4cea-a90f-2a56766073e8 2025-10-15 12:45:21,020 - DEBUG - Response Code: 404 2025-10-15 12:45:21,020 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-15 12:45:21,024 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2dbc06a8-a315-4d0f-8b78-a4c5f1f9b3b0 2025-10-15 12:45:21,075 - DEBUG - Requesting: http://10.0.0.38:8082/project/1bd86e67-e8d7-4223-afa6-9615c3d60f95 2025-10-15 12:45:21,146 - INFO - Validated that VN ctest-vn-75128513 is not found in API Server 2025-10-15 12:45:21,155 - DEBUG - VN ctest-vn-75128513 is not present in Agent 10.0.0.38 2025-10-15 12:45:21,155 - INFO - Validated that VN ctest-vn-75128513 is not in any agent 2025-10-15 12:45:21,169 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-75128513 info 2025-10-15 12:45:21,427 - DEBUG - No XMPP flaps were noticed during the test 2025-10-15 12:45:21,427 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-10-15 12:45:21,427 - INFO - -------------------------------------------------------------------------------- 2025-10-15 12:45:22,100 - INFO - Deleted project: ctest-TestBasicPolicy-59755258, ID : 1bd86e67-e8d7-4223-afa6-9615c3d60f95