2025-06-10 15:58:06,318 - INFO - Domain Default found not creating 2025-06-10 15:58:06,456 - INFO - Project ctest-TestBasicPolicy-60825579 not found, creating it 2025-06-10 15:58:06,905 - INFO - Created Project:ctest-TestBasicPolicy-60825579, ID : 119b6144-cce4-42ba-952f-df8a857dee43 2025-06-10 15:58:08,363 - INFO - ================================================================================ 2025-06-10 15:58:08,363 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-10 15:58:08,364 - 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-06-10 15:58:08,628 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.14': '0'}} with 2025-06-10 15:58:08,628 - INFO - Initial checks done. Running the testcase now 2025-06-10 15:58:08,628 - INFO - 2025-06-10 15:58:09,167 - DEBUG - Response for create_network : {'network': {'id': 'b35c81ab-f0dc-4195-bdcc-e011fc9d4ad4', 'name': 'ctest-vn-71886544', 'tenant_id': '119b6144cce442ba952fdf8a857dee43', 'project_id': '119b6144cce442ba952fdf8a857dee43', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-60825579', 'ctest-vn-71886544'], 'port_security_enabled': True, 'description': ''}} 2025-06-10 15:58:09,361 - DEBUG - Response for create_subnet : {'subnet': {'id': '6935eafd-6d3f-420e-97f6-3778f8184ea7', 'name': '', 'tenant_id': '119b6144cce442ba952fdf8a857dee43', 'network_id': 'b35c81ab-f0dc-4195-bdcc-e011fc9d4ad4', 'ip_version': 4, 'cidr': '176.48.252.128/26', 'allocation_pools': [{'start': '176.48.252.130', 'end': '176.48.252.190'}], 'gateway_ip': '176.48.252.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '176.48.252.130', 'tags': [], 'project_id': '119b6144cce442ba952fdf8a857dee43'}} 2025-06-10 15:58:09,379 - INFO - Created VN ctest-vn-71886544 2025-06-10 15:58:09,435 - DEBUG - VN ctest-vn-71886544 UUID is b35c81ab-f0dc-4195-bdcc-e011fc9d4ad4 2025-06-10 15:58:09,761 - DEBUG - Response for create_network : {'network': {'id': '2d9052bb-ac9b-4f70-91fd-d69ea2b9df46', 'name': 'ctest-vn-80042425', 'tenant_id': '119b6144cce442ba952fdf8a857dee43', 'project_id': '119b6144cce442ba952fdf8a857dee43', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-60825579', 'ctest-vn-80042425'], 'port_security_enabled': True, 'description': ''}} 2025-06-10 15:58:09,924 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fc885bbe-d1db-46ce-92c9-dbac5f00fd68', 'name': '', 'tenant_id': '119b6144cce442ba952fdf8a857dee43', 'network_id': '2d9052bb-ac9b-4f70-91fd-d69ea2b9df46', 'ip_version': 4, 'cidr': '1.203.82.192/26', 'allocation_pools': [{'start': '1.203.82.194', 'end': '1.203.82.254'}], 'gateway_ip': '1.203.82.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '1.203.82.194', 'tags': [], 'project_id': '119b6144cce442ba952fdf8a857dee43'}} 2025-06-10 15:58:09,943 - INFO - Created VN ctest-vn-80042425 2025-06-10 15:58:09,995 - DEBUG - VN ctest-vn-80042425 UUID is 2d9052bb-ac9b-4f70-91fd-d69ea2b9df46 2025-06-10 15:58:10,111 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-60825579:ctest-vn-71886544, 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-60825579:ctest-vn-80042425, 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-06-10 15:58:10,408 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b35c81ab-f0dc-4195-bdcc-e011fc9d4ad4', 'name': 'ctest-vn-71886544', 'tenant_id': '119b6144cce442ba952fdf8a857dee43', 'project_id': '119b6144cce442ba952fdf8a857dee43', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6935eafd-6d3f-420e-97f6-3778f8184ea7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-60825579', 'ctest-vn-71886544'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-60825579', 'ctest-policy-allow-all-68486887']], 'subnet_ipam': [{'subnet_cidr': '176.48.252.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-10 15:58:10,647 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2d9052bb-ac9b-4f70-91fd-d69ea2b9df46', 'name': 'ctest-vn-80042425', 'tenant_id': '119b6144cce442ba952fdf8a857dee43', 'project_id': '119b6144cce442ba952fdf8a857dee43', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['fc885bbe-d1db-46ce-92c9-dbac5f00fd68'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-60825579', 'ctest-vn-80042425'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-60825579', 'ctest-policy-allow-all-68486887']], 'subnet_ipam': [{'subnet_cidr': '1.203.82.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-10 15:58:10,795 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-06-10 15:58:11,094 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-06-10 15:58:11,127 - DEBUG - Requesting: http://10.0.0.242:8082/domain/621fb548-b8ea-4281-b316-4cc7d0e34a7e 2025-06-10 15:58:11,141 - DEBUG - Requesting: http://10.0.0.242:8082/project/119b6144-cce4-42ba-952f-df8a857dee43 2025-06-10 15:58:11,219 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/b35c81ab-f0dc-4195-bdcc-e011fc9d4ad4 2025-06-10 15:58:11,230 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/b35c81ab-f0dc-4195-bdcc-e011fc9d4ad4 2025-06-10 15:58:11,240 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/b9643462-b60b-4f89-92a9-1be0622a8052 2025-06-10 15:58:11,247 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/b9643462-b60b-4f89-92a9-1be0622a8052 2025-06-10 15:58:11,254 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/8b2cb513-739e-482e-bb81-f720a5723e2d 2025-06-10 15:58:11,261 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-10 15:58:11,261 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/b35c81ab-f0dc-4195-bdcc-e011fc9d4ad4 2025-06-10 15:58:11,270 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/b9643462-b60b-4f89-92a9-1be0622a8052 2025-06-10 15:58:11,284 - INFO - Verified VN network id 8 for VN b35c81ab-f0dc-4195-bdcc-e011fc9d4ad4 2025-06-10 15:58:11,284 - INFO - Verifications in API Server for VN ctest-vn-71886544 passed 2025-06-10 15:58:11,284 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/b35c81ab-f0dc-4195-bdcc-e011fc9d4ad4 2025-06-10 15:58:11,293 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/b9643462-b60b-4f89-92a9-1be0622a8052 2025-06-10 15:58:11,300 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/b9643462-b60b-4f89-92a9-1be0622a8052 2025-06-10 15:58:11,308 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/8b2cb513-739e-482e-bb81-f720a5723e2d 2025-06-10 15:58:11,321 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-60825579:ctest-vn-71886544', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-60825579', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12924347606126838165', 'uuid-lslong': '13676552536274586324'}, 'enable': 'true', 'created': '2025-06-10T15:58:09', 'last-modified': '2025-06-10T15:58:10', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.935624'} 2025-06-10 15:58:11,328 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-10 15:58:11,328 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-71886544 passed 2025-06-10 15:58:11,328 - DEBUG - ====Verifying policy data for ctest-vn-71886544 in API_Server ====== 2025-06-10 15:58:11,328 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-06-10 15:58:11,335 - DEBUG - Requesting: http://10.0.0.242:8082/domain/621fb548-b8ea-4281-b316-4cc7d0e34a7e 2025-06-10 15:58:11,348 - DEBUG - Requesting: http://10.0.0.242:8082/project/119b6144-cce4-42ba-952f-df8a857dee43 2025-06-10 15:58:11,424 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/b35c81ab-f0dc-4195-bdcc-e011fc9d4ad4 2025-06-10 15:58:11,435 - DEBUG - ==>Verifying data for policy with id: 519666ff-6221-44ab-86c5-6eb147b08b58, fqn: ['default-domain', 'ctest-TestBasicPolicy-60825579', 'ctest-policy-allow-all-68486887'] 2025-06-10 15:58:11,435 - INFO - VN ctest-vn-71886544 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-10 15:58:11,436 - DEBUG - Verifying the vn in opserver 2025-06-10 15:58:11,436 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-60825579:ctest-vn-71886544 virtual network link through opserver 10.0.0.242 2025-06-10 15:58:11,436 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-06-10 15:58:11,729 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-06-10 15:58:11,779 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-60825579:ctest-vn-71886544', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-60825579:ctest-vn-71886544?flat'} 2025-06-10 15:58:11,780 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-60825579:ctest-vn-71886544 is found in opserver 2025-06-10 15:58:11,790 - DEBUG - Do not have enough data to verify VN in agent 2025-06-10 15:58:11,796 - DEBUG - VRF ids for VN ctest-vn-71886544: {} 2025-06-10 15:58:11,796 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-06-10 15:58:11,801 - DEBUG - Requesting: http://10.0.0.242:8082/domain/621fb548-b8ea-4281-b316-4cc7d0e34a7e 2025-06-10 15:58:11,813 - DEBUG - Requesting: http://10.0.0.242:8082/project/119b6144-cce4-42ba-952f-df8a857dee43 2025-06-10 15:58:11,886 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/2d9052bb-ac9b-4f70-91fd-d69ea2b9df46 2025-06-10 15:58:11,898 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/2d9052bb-ac9b-4f70-91fd-d69ea2b9df46 2025-06-10 15:58:11,907 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/ffc95ca0-1e08-4ae9-83b5-ea9e00046cb7 2025-06-10 15:58:11,915 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/ffc95ca0-1e08-4ae9-83b5-ea9e00046cb7 2025-06-10 15:58:11,922 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/58ec5e22-e4c8-448e-b542-a1a9957ffb69 2025-06-10 15:58:11,928 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-10 15:58:11,928 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/2d9052bb-ac9b-4f70-91fd-d69ea2b9df46 2025-06-10 15:58:11,937 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/ffc95ca0-1e08-4ae9-83b5-ea9e00046cb7 2025-06-10 15:58:11,951 - INFO - Verified VN network id 9 for VN 2d9052bb-ac9b-4f70-91fd-d69ea2b9df46 2025-06-10 15:58:11,951 - INFO - Verifications in API Server for VN ctest-vn-80042425 passed 2025-06-10 15:58:11,951 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/2d9052bb-ac9b-4f70-91fd-d69ea2b9df46 2025-06-10 15:58:11,961 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/ffc95ca0-1e08-4ae9-83b5-ea9e00046cb7 2025-06-10 15:58:11,968 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/ffc95ca0-1e08-4ae9-83b5-ea9e00046cb7 2025-06-10 15:58:11,976 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/58ec5e22-e4c8-448e-b542-a1a9957ffb69 2025-06-10 15:58:11,988 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-60825579:ctest-vn-80042425', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-60825579', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3283215094361313136', 'uuid-lslong': '10519800281430613830'}, 'enable': 'true', 'created': '2025-06-10T15:58:09', 'last-modified': '2025-06-10T15:58:10', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.359904'} 2025-06-10 15:58:11,994 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-10 15:58:11,994 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-80042425 passed 2025-06-10 15:58:11,994 - DEBUG - ====Verifying policy data for ctest-vn-80042425 in API_Server ====== 2025-06-10 15:58:11,994 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-06-10 15:58:12,000 - DEBUG - Requesting: http://10.0.0.242:8082/domain/621fb548-b8ea-4281-b316-4cc7d0e34a7e 2025-06-10 15:58:12,013 - DEBUG - Requesting: http://10.0.0.242:8082/project/119b6144-cce4-42ba-952f-df8a857dee43 2025-06-10 15:58:12,089 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/2d9052bb-ac9b-4f70-91fd-d69ea2b9df46 2025-06-10 15:58:12,100 - DEBUG - ==>Verifying data for policy with id: 519666ff-6221-44ab-86c5-6eb147b08b58, fqn: ['default-domain', 'ctest-TestBasicPolicy-60825579', 'ctest-policy-allow-all-68486887'] 2025-06-10 15:58:12,100 - INFO - VN ctest-vn-80042425 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-10 15:58:12,100 - DEBUG - Verifying the vn in opserver 2025-06-10 15:58:12,100 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-60825579:ctest-vn-80042425 virtual network link through opserver 10.0.0.242 2025-06-10 15:58:12,100 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-06-10 15:58:12,112 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-60825579:ctest-vn-80042425', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-60825579:ctest-vn-80042425?flat'} 2025-06-10 15:58:12,112 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-60825579:ctest-vn-80042425 is found in opserver 2025-06-10 15:58:12,125 - DEBUG - Do not have enough data to verify VN in agent 2025-06-10 15:58:12,129 - DEBUG - VRF ids for VN ctest-vn-80042425: {} 2025-06-10 15:58:12,184 - DEBUG - Services list from nova: [, , ] 2025-06-10 15:58:13,167 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3435-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3435-1) 2025-06-10 15:58:14,438 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3435-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3435-1) 2025-06-10 15:58:14,438 - INFO - Waiting for VM ctest-TestBasicPolicy-60825579-64780531 to be up.. 2025-06-10 15:58:14,528 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-10 15:58:19,615 - DEBUG - VM is in ACTIVE state now 2025-06-10 15:58:19,616 - INFO - VM name : ctest-TestBasicPolicy-60825579-64780531 2025-06-10 15:58:19,700 - DEBUG - VM ctest-TestBasicPolicy-60825579-64780531 ID is cb9e1c74-a518-4f83-854d-ab5f78c1d32c 2025-06-10 15:58:19,720 - DEBUG - VM ctest-TestBasicPolicy-60825579-64780531 launched on Node cn-jenkins-deploy-platform-ansible-os-3435-1 2025-06-10 15:58:19,802 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/cb9e1c74-a518-4f83-854d-ab5f78c1d32c 2025-06-10 15:58:19,819 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/897be1e6-0c9b-49a5-be17-63c7dfa1dffe 2025-06-10 15:58:23,083 - 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 1023ms') 2025-06-10 15:58:23,083 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-60825579-64780531 failed! 2025-06-10 15:58:23,143 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-60825579:ctest-vn-71886544 is 176.48.252.129 and allocation pool is NOT set 2025-06-10 15:58:25,208 - 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=9.48 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.786 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.786/5.131/9.477/4.345 ms') 2025-06-10 15:58:25,208 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-60825579-64780531 passed 2025-06-10 15:58:25,359 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-10 15:58:25,359 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-60825579-64780531, IP 176.48.252.131, Port 22 2025-06-10 15:58:25,518 - DEBUG - VM ctest-TestBasicPolicy-60825579-64780531 is ready for SSH connections 2025-06-10 15:58:25,519 - INFO - Waiting for VM ctest-TestBasicPolicy-60825579-44522718 to be up.. 2025-06-10 15:58:25,598 - DEBUG - VM is in ACTIVE state now 2025-06-10 15:58:25,598 - INFO - VM name : ctest-TestBasicPolicy-60825579-44522718 2025-06-10 15:58:25,682 - DEBUG - VM ctest-TestBasicPolicy-60825579-44522718 ID is 70393a1a-690d-47ee-a803-bcca9f2cf3d4 2025-06-10 15:58:25,682 - DEBUG - VM ctest-TestBasicPolicy-60825579-44522718 launched on Node cn-jenkins-deploy-platform-ansible-os-3435-1 2025-06-10 15:58:25,760 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/70393a1a-690d-47ee-a803-bcca9f2cf3d4 2025-06-10 15:58:25,771 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/a32671b9-1d80-40c0-9025-91aa330ca526 2025-06-10 15:58:27,005 - 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=4.12 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.83 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 = 1.825/2.973/4.122/1.148 ms') 2025-06-10 15:58:27,006 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-60825579-44522718 passed 2025-06-10 15:58:27,155 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-10 15:58:27,155 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-60825579-44522718, IP 1.203.82.195, Port 22 2025-06-10 15:58:27,310 - DEBUG - VM ctest-TestBasicPolicy-60825579-44522718 is ready for SSH connections 2025-06-10 15:58:27,310 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-10 15:58:27,310 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 1.203.82.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-06-10 15:58:27,310 - DEBUG - ping -s 56 -c 3 -W 1 1.203.82.195 2025-06-10 15:58:31,289 - DEBUG - PING 1.203.82.195 (1.203.82.195): 56 data bytes 64 bytes from 1.203.82.195: seq=0 ttl=63 time=3.235 ms 64 bytes from 1.203.82.195: seq=1 ttl=63 time=1.644 ms 64 bytes from 1.203.82.195: seq=2 ttl=63 time=1.554 ms --- 1.203.82.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.554/2.144/3.235 ms 2025-06-10 15:58:31,289 - INFO - Ping to IP 1.203.82.195 from VM ctest-TestBasicPolicy-60825579-64780531 passed 2025-06-10 15:58:31,482 - DEBUG - Policy Update Response {"network-policy": {"uuid": "519666ff-6221-44ab-86c5-6eb147b08b58", "href": "http://10.0.0.242:8082/network-policy/519666ff-6221-44ab-86c5-6eb147b08b58"}} 2025-06-10 15:58:31,483 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-10 15:58:31,483 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 1.203.82.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-06-10 15:58:31,483 - DEBUG - ping -s 56 -c 3 -W 1 1.203.82.195 2025-06-10 15:58:34,683 - DEBUG - PING 1.203.82.195 (1.203.82.195): 56 data bytes --- 1.203.82.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-06-10 15:58:34,683 - WARNING - Ping to IP 1.203.82.195 from VM ctest-TestBasicPolicy-60825579-64780531 failed 2025-06-10 15:58:34,683 - INFO - Deleting VM ctest-TestBasicPolicy-60825579-44522718 2025-06-10 15:58:34,766 - INFO - Deleting VM ctest-TestBasicPolicy-60825579-64780531 2025-06-10 15:58:35,177 - INFO - Deleted policy ctest-policy-allow-all-68486887 2025-06-10 15:58:35,177 - INFO - Deleting VN ctest-vn-80042425 2025-06-10 15:58:35,218 - DEBUG - VN 2d9052bb-ac9b-4f70-91fd-d69ea2b9df46 still in use: Unable to complete operation on network 2d9052bb-ac9b-4f70-91fd-d69ea2b9df46. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-82f1be0d-08fd-45f7-8070-21ccd2f04ee8'] 2025-06-10 15:58:35,218 - WARNING - Deleting VN ctest-vn-80042425 failed..Will retry 2025-06-10 15:58:37,315 - DEBUG - Response for deleting network () 2025-06-10 15:58:37,315 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/ffc95ca0-1e08-4ae9-83b5-ea9e00046cb7 2025-06-10 15:58:37,322 - DEBUG - Response Code: 404 2025-06-10 15:58:37,322 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-06-10 15:58:37,329 - DEBUG - Requesting: http://10.0.0.242:8082/domain/621fb548-b8ea-4281-b316-4cc7d0e34a7e 2025-06-10 15:58:37,384 - DEBUG - Requesting: http://10.0.0.242:8082/project/119b6144-cce4-42ba-952f-df8a857dee43 2025-06-10 15:58:37,455 - INFO - Validated that VN ctest-vn-80042425 is not found in API Server 2025-06-10 15:58:37,465 - DEBUG - VN ctest-vn-80042425 is not present in Agent 10.0.0.242 2025-06-10 15:58:37,465 - INFO - Validated that VN ctest-vn-80042425 is not in any agent 2025-06-10 15:58:37,480 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-80042425 info 2025-06-10 15:58:37,480 - INFO - Deleting VN ctest-vn-71886544 2025-06-10 15:58:37,579 - DEBUG - Response for deleting network () 2025-06-10 15:58:37,579 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/b9643462-b60b-4f89-92a9-1be0622a8052 2025-06-10 15:58:37,585 - DEBUG - Response Code: 404 2025-06-10 15:58:37,585 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-06-10 15:58:37,591 - DEBUG - Requesting: http://10.0.0.242:8082/domain/621fb548-b8ea-4281-b316-4cc7d0e34a7e 2025-06-10 15:58:37,644 - DEBUG - Requesting: http://10.0.0.242:8082/project/119b6144-cce4-42ba-952f-df8a857dee43 2025-06-10 15:58:37,724 - INFO - Validated that VN ctest-vn-71886544 is not found in API Server 2025-06-10 15:58:37,737 - DEBUG - VN ctest-vn-71886544 is not present in Agent 10.0.0.242 2025-06-10 15:58:37,737 - INFO - Validated that VN ctest-vn-71886544 is not in any agent 2025-06-10 15:58:37,757 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-71886544 info 2025-06-10 15:58:38,030 - DEBUG - No XMPP flaps were noticed during the test 2025-06-10 15:58:38,030 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-06-10 15:58:38,030 - INFO - -------------------------------------------------------------------------------- 2025-06-10 15:58:38,774 - INFO - Deleted project: ctest-TestBasicPolicy-60825579, ID : 119b6144-cce4-42ba-952f-df8a857dee43