2025-06-19 13:50:17,682 - INFO - Domain Default found not creating 2025-06-19 13:50:17,853 - INFO - Project ctest-TestBasicPolicy-22142498 not found, creating it 2025-06-19 13:50:18,318 - INFO - Created Project:ctest-TestBasicPolicy-22142498, ID : 8f799d45-89af-432f-8be7-214436857afc 2025-06-19 13:50:19,845 - INFO - ================================================================================ 2025-06-19 13:50:19,845 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-19 13:50:19,845 - 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-19 13:50:20,103 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.0.0.242': '0'}} with 2025-06-19 13:50:20,103 - INFO - Initial checks done. Running the testcase now 2025-06-19 13:50:20,103 - INFO - 2025-06-19 13:50:20,646 - DEBUG - Response for create_network : {'network': {'id': 'b331c4d4-1144-49f4-be0c-9bf29bca4a5a', 'name': 'ctest-vn-03872573', 'tenant_id': '8f799d4589af432f8be7214436857afc', 'project_id': '8f799d4589af432f8be7214436857afc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-22142498', 'ctest-vn-03872573'], 'port_security_enabled': True, 'description': ''}} 2025-06-19 13:50:20,812 - DEBUG - Response for create_subnet : {'subnet': {'id': '7d7333b3-9f8a-4c20-b53c-d811f5fd31f9', 'name': '', 'tenant_id': '8f799d4589af432f8be7214436857afc', 'network_id': 'b331c4d4-1144-49f4-be0c-9bf29bca4a5a', 'ip_version': 4, 'cidr': '123.121.125.192/26', 'allocation_pools': [{'start': '123.121.125.194', 'end': '123.121.125.254'}], 'gateway_ip': '123.121.125.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '123.121.125.194', 'tags': [], 'project_id': '8f799d4589af432f8be7214436857afc'}} 2025-06-19 13:50:20,837 - INFO - Created VN ctest-vn-03872573 2025-06-19 13:50:20,890 - DEBUG - VN ctest-vn-03872573 UUID is b331c4d4-1144-49f4-be0c-9bf29bca4a5a 2025-06-19 13:50:21,181 - DEBUG - Response for create_network : {'network': {'id': '4744f227-0438-42f3-babd-1ad628b60c6c', 'name': 'ctest-vn-07479954', 'tenant_id': '8f799d4589af432f8be7214436857afc', 'project_id': '8f799d4589af432f8be7214436857afc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-22142498', 'ctest-vn-07479954'], 'port_security_enabled': True, 'description': ''}} 2025-06-19 13:50:21,378 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a2f2d1ac-25ff-4f39-a3dd-2b243e38352e', 'name': '', 'tenant_id': '8f799d4589af432f8be7214436857afc', 'network_id': '4744f227-0438-42f3-babd-1ad628b60c6c', 'ip_version': 4, 'cidr': '82.158.178.0/26', 'allocation_pools': [{'start': '82.158.178.2', 'end': '82.158.178.62'}], 'gateway_ip': '82.158.178.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '82.158.178.2', 'tags': [], 'project_id': '8f799d4589af432f8be7214436857afc'}} 2025-06-19 13:50:21,396 - INFO - Created VN ctest-vn-07479954 2025-06-19 13:50:21,450 - DEBUG - VN ctest-vn-07479954 UUID is 4744f227-0438-42f3-babd-1ad628b60c6c 2025-06-19 13:50:21,606 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-22142498:ctest-vn-03872573, 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-22142498:ctest-vn-07479954, 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-19 13:50:21,905 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b331c4d4-1144-49f4-be0c-9bf29bca4a5a', 'name': 'ctest-vn-03872573', 'tenant_id': '8f799d4589af432f8be7214436857afc', 'project_id': '8f799d4589af432f8be7214436857afc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7d7333b3-9f8a-4c20-b53c-d811f5fd31f9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-22142498', 'ctest-vn-03872573'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-22142498', 'ctest-policy-allow-all-61895115']], 'subnet_ipam': [{'subnet_cidr': '123.121.125.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-19 13:50:22,192 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4744f227-0438-42f3-babd-1ad628b60c6c', 'name': 'ctest-vn-07479954', 'tenant_id': '8f799d4589af432f8be7214436857afc', 'project_id': '8f799d4589af432f8be7214436857afc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a2f2d1ac-25ff-4f39-a3dd-2b243e38352e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-22142498', 'ctest-vn-07479954'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-22142498', 'ctest-policy-allow-all-61895115']], 'subnet_ipam': [{'subnet_cidr': '82.158.178.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-19 13:50:22,342 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-06-19 13:50:22,635 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-06-19 13:50:22,663 - DEBUG - Requesting: http://10.0.0.242:8082/domain/9b505aa2-5ebb-47a1-979c-743228f56ca7 2025-06-19 13:50:22,677 - DEBUG - Requesting: http://10.0.0.242:8082/project/8f799d45-89af-432f-8be7-214436857afc 2025-06-19 13:50:22,760 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/b331c4d4-1144-49f4-be0c-9bf29bca4a5a 2025-06-19 13:50:22,772 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/b331c4d4-1144-49f4-be0c-9bf29bca4a5a 2025-06-19 13:50:22,783 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/e7f12e53-3f42-4df8-ba45-abcc7f16d464 2025-06-19 13:50:22,790 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/e7f12e53-3f42-4df8-ba45-abcc7f16d464 2025-06-19 13:50:22,797 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/b815b8e8-69bc-4feb-b1eb-39c2a776a4b7 2025-06-19 13:50:22,803 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-19 13:50:22,803 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/b331c4d4-1144-49f4-be0c-9bf29bca4a5a 2025-06-19 13:50:22,813 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/e7f12e53-3f42-4df8-ba45-abcc7f16d464 2025-06-19 13:50:22,830 - INFO - Verified VN network id 7 for VN b331c4d4-1144-49f4-be0c-9bf29bca4a5a 2025-06-19 13:50:22,831 - INFO - Verifications in API Server for VN ctest-vn-03872573 passed 2025-06-19 13:50:22,831 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/b331c4d4-1144-49f4-be0c-9bf29bca4a5a 2025-06-19 13:50:22,840 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/e7f12e53-3f42-4df8-ba45-abcc7f16d464 2025-06-19 13:50:22,846 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/e7f12e53-3f42-4df8-ba45-abcc7f16d464 2025-06-19 13:50:22,854 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/b815b8e8-69bc-4feb-b1eb-39c2a776a4b7 2025-06-19 13:50:22,865 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-22142498:ctest-vn-03872573', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-22142498', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12912318021749721588', 'uuid-lslong': '13694492033224952410'}, 'enable': 'true', 'created': '2025-06-19T13:50:20', 'last-modified': '2025-06-19T13:50:21', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.980705'} 2025-06-19 13:50:22,872 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-19 13:50:22,872 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-03872573 passed 2025-06-19 13:50:22,873 - DEBUG - ====Verifying policy data for ctest-vn-03872573 in API_Server ====== 2025-06-19 13:50:22,873 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-06-19 13:50:22,879 - DEBUG - Requesting: http://10.0.0.242:8082/domain/9b505aa2-5ebb-47a1-979c-743228f56ca7 2025-06-19 13:50:22,892 - DEBUG - Requesting: http://10.0.0.242:8082/project/8f799d45-89af-432f-8be7-214436857afc 2025-06-19 13:50:22,960 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/b331c4d4-1144-49f4-be0c-9bf29bca4a5a 2025-06-19 13:50:22,968 - DEBUG - ==>Verifying data for policy with id: f1ad12cc-46f9-488d-82c8-88ef61c26608, fqn: ['default-domain', 'ctest-TestBasicPolicy-22142498', 'ctest-policy-allow-all-61895115'] 2025-06-19 13:50:22,969 - INFO - VN ctest-vn-03872573 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-19 13:50:22,969 - DEBUG - Verifying the vn in opserver 2025-06-19 13:50:22,969 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-22142498:ctest-vn-03872573 virtual network link through opserver 10.0.0.242 2025-06-19 13:50:22,969 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-06-19 13:50:23,265 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-06-19 13:50:26,321 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-22142498:ctest-vn-03872573 virtual network link through opserver 10.0.0.242 2025-06-19 13:50:26,321 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-06-19 13:50:26,332 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-22142498:ctest-vn-03872573', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-22142498:ctest-vn-03872573?flat'} 2025-06-19 13:50:26,332 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-22142498:ctest-vn-03872573 is found in opserver 2025-06-19 13:50:26,341 - DEBUG - Do not have enough data to verify VN in agent 2025-06-19 13:50:26,346 - DEBUG - VRF ids for VN ctest-vn-03872573: {} 2025-06-19 13:50:26,346 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-06-19 13:50:26,351 - DEBUG - Requesting: http://10.0.0.242:8082/domain/9b505aa2-5ebb-47a1-979c-743228f56ca7 2025-06-19 13:50:26,361 - DEBUG - Requesting: http://10.0.0.242:8082/project/8f799d45-89af-432f-8be7-214436857afc 2025-06-19 13:50:26,431 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/4744f227-0438-42f3-babd-1ad628b60c6c 2025-06-19 13:50:26,441 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/4744f227-0438-42f3-babd-1ad628b60c6c 2025-06-19 13:50:26,450 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/ab3ca017-8328-48f7-93fa-a470c0457f72 2025-06-19 13:50:26,458 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/ab3ca017-8328-48f7-93fa-a470c0457f72 2025-06-19 13:50:26,465 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/5d19d895-c7f3-45ae-aa84-fc42ee6c608f 2025-06-19 13:50:26,471 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-19 13:50:26,472 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/4744f227-0438-42f3-babd-1ad628b60c6c 2025-06-19 13:50:26,480 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/ab3ca017-8328-48f7-93fa-a470c0457f72 2025-06-19 13:50:26,494 - INFO - Verified VN network id 8 for VN 4744f227-0438-42f3-babd-1ad628b60c6c 2025-06-19 13:50:26,494 - INFO - Verifications in API Server for VN ctest-vn-07479954 passed 2025-06-19 13:50:26,494 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/4744f227-0438-42f3-babd-1ad628b60c6c 2025-06-19 13:50:26,503 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/ab3ca017-8328-48f7-93fa-a470c0457f72 2025-06-19 13:50:26,509 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/ab3ca017-8328-48f7-93fa-a470c0457f72 2025-06-19 13:50:26,516 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/5d19d895-c7f3-45ae-aa84-fc42ee6c608f 2025-06-19 13:50:26,527 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-22142498:ctest-vn-07479954', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-22142498', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5135495724497650419', 'uuid-lslong': '13455940768761252972'}, 'enable': 'true', 'created': '2025-06-19T13:50:21', 'last-modified': '2025-06-19T13:50:22', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:04.403211'} 2025-06-19 13:50:26,534 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-19 13:50:26,534 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-07479954 passed 2025-06-19 13:50:26,534 - DEBUG - ====Verifying policy data for ctest-vn-07479954 in API_Server ====== 2025-06-19 13:50:26,534 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-06-19 13:50:26,540 - DEBUG - Requesting: http://10.0.0.242:8082/domain/9b505aa2-5ebb-47a1-979c-743228f56ca7 2025-06-19 13:50:26,551 - DEBUG - Requesting: http://10.0.0.242:8082/project/8f799d45-89af-432f-8be7-214436857afc 2025-06-19 13:50:26,621 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/4744f227-0438-42f3-babd-1ad628b60c6c 2025-06-19 13:50:26,631 - DEBUG - ==>Verifying data for policy with id: f1ad12cc-46f9-488d-82c8-88ef61c26608, fqn: ['default-domain', 'ctest-TestBasicPolicy-22142498', 'ctest-policy-allow-all-61895115'] 2025-06-19 13:50:26,631 - INFO - VN ctest-vn-07479954 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-19 13:50:26,631 - DEBUG - Verifying the vn in opserver 2025-06-19 13:50:26,631 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-22142498:ctest-vn-07479954 virtual network link through opserver 10.0.0.242 2025-06-19 13:50:26,631 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-06-19 13:50:26,643 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-22142498:ctest-vn-07479954', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-22142498:ctest-vn-07479954?flat'} 2025-06-19 13:50:26,643 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-22142498:ctest-vn-07479954 is found in opserver 2025-06-19 13:50:26,656 - DEBUG - Do not have enough data to verify VN in agent 2025-06-19 13:50:26,661 - DEBUG - VRF ids for VN ctest-vn-07479954: {} 2025-06-19 13:50:26,725 - DEBUG - Services list from nova: [, , ] 2025-06-19 13:50:27,739 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3495-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3495-1) 2025-06-19 13:50:29,004 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3495-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3495-1) 2025-06-19 13:50:29,004 - INFO - Waiting for VM ctest-TestBasicPolicy-22142498-47036515 to be up.. 2025-06-19 13:50:29,172 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-19 13:50:34,260 - DEBUG - VM is in ACTIVE state now 2025-06-19 13:50:34,260 - INFO - VM name : ctest-TestBasicPolicy-22142498-47036515 2025-06-19 13:50:34,335 - DEBUG - VM ctest-TestBasicPolicy-22142498-47036515 ID is 8a6301d6-d287-4864-8c1b-bb18ee0138eb 2025-06-19 13:50:34,357 - DEBUG - VM ctest-TestBasicPolicy-22142498-47036515 launched on Node cn-jenkins-deploy-platform-ansible-os-3495-1. 2025-06-19 13:50:34,439 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/8a6301d6-d287-4864-8c1b-bb18ee0138eb 2025-06-19 13:50:34,449 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/fbc187ba-e7f1-45b4-b117-9c01ed24167f 2025-06-19 13:50:37,704 - 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-06-19 13:50:37,704 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-22142498-47036515 failed! 2025-06-19 13:50:37,758 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-22142498:ctest-vn-03872573 is 123.121.125.193 and allocation pool is NOT set 2025-06-19 13:50:39,823 - 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.01 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.744 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.744/4.878/9.012/4.134 ms') 2025-06-19 13:50:39,823 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-22142498-47036515 passed 2025-06-19 13:50:39,970 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-19 13:50:39,970 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-22142498-47036515, IP 123.121.125.195, Port 22 2025-06-19 13:50:40,125 - DEBUG - VM ctest-TestBasicPolicy-22142498-47036515 is ready for SSH connections 2025-06-19 13:50:40,125 - INFO - Waiting for VM ctest-TestBasicPolicy-22142498-80503856 to be up.. 2025-06-19 13:50:40,215 - DEBUG - VM is in ACTIVE state now 2025-06-19 13:50:40,215 - INFO - VM name : ctest-TestBasicPolicy-22142498-80503856 2025-06-19 13:50:40,299 - DEBUG - VM ctest-TestBasicPolicy-22142498-80503856 ID is 51744f78-fd48-4fd2-8e54-637a960abb93 2025-06-19 13:50:40,300 - DEBUG - VM ctest-TestBasicPolicy-22142498-80503856 launched on Node cn-jenkins-deploy-platform-ansible-os-3495-1. 2025-06-19 13:50:40,373 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/51744f78-fd48-4fd2-8e54-637a960abb93 2025-06-19 13:50:40,381 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/902a89f7-1365-4c70-a1ed-46843e1c7c96 2025-06-19 13:50:41,612 - 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.20 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.454 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.454/1.828/3.203/1.374 ms') 2025-06-19 13:50:41,612 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-22142498-80503856 passed 2025-06-19 13:50:41,762 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-19 13:50:41,762 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-22142498-80503856, IP 82.158.178.3, Port 22 2025-06-19 13:50:41,929 - DEBUG - VM ctest-TestBasicPolicy-22142498-80503856 is ready for SSH connections 2025-06-19 13:50:41,930 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-19 13:50:41,930 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 82.158.178.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-06-19 13:50:41,930 - DEBUG - ping -s 56 -c 3 -W 1 82.158.178.3 2025-06-19 13:50:46,032 - DEBUG - PING 82.158.178.3 (82.158.178.3): 56 data bytes 64 bytes from 82.158.178.3: seq=0 ttl=63 time=3.850 ms 64 bytes from 82.158.178.3: seq=1 ttl=63 time=1.013 ms 64 bytes from 82.158.178.3: seq=2 ttl=63 time=0.863 ms --- 82.158.178.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.863/1.908/3.850 ms 2025-06-19 13:50:46,033 - INFO - Ping to IP 82.158.178.3 from VM ctest-TestBasicPolicy-22142498-47036515 passed 2025-06-19 13:50:46,214 - DEBUG - Policy Update Response {"network-policy": {"uuid": "f1ad12cc-46f9-488d-82c8-88ef61c26608", "href": "http://10.0.0.242:8082/network-policy/f1ad12cc-46f9-488d-82c8-88ef61c26608"}} 2025-06-19 13:50:46,214 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-19 13:50:46,214 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 82.158.178.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-06-19 13:50:46,214 - DEBUG - ping -s 56 -c 3 -W 1 82.158.178.3 2025-06-19 13:50:49,486 - DEBUG - PING 82.158.178.3 (82.158.178.3): 56 data bytes --- 82.158.178.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-06-19 13:50:49,486 - WARNING - Ping to IP 82.158.178.3 from VM ctest-TestBasicPolicy-22142498-47036515 failed 2025-06-19 13:50:49,486 - INFO - Deleting VM ctest-TestBasicPolicy-22142498-80503856 2025-06-19 13:50:49,590 - INFO - Deleting VM ctest-TestBasicPolicy-22142498-47036515 2025-06-19 13:50:50,020 - INFO - Deleted policy ctest-policy-allow-all-61895115 2025-06-19 13:50:50,021 - INFO - Deleting VN ctest-vn-07479954 2025-06-19 13:50:50,064 - DEBUG - VN 4744f227-0438-42f3-babd-1ad628b60c6c still in use: Unable to complete operation on network 4744f227-0438-42f3-babd-1ad628b60c6c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-39a46ec8-bd41-4477-a7d5-1b9e1cf3a429'] 2025-06-19 13:50:50,064 - WARNING - Deleting VN ctest-vn-07479954 failed..Will retry 2025-06-19 13:50:52,187 - DEBUG - Response for deleting network () 2025-06-19 13:50:52,187 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/ab3ca017-8328-48f7-93fa-a470c0457f72 2025-06-19 13:50:52,195 - DEBUG - Response Code: 404 2025-06-19 13:50:52,195 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-06-19 13:50:52,202 - DEBUG - Requesting: http://10.0.0.242:8082/domain/9b505aa2-5ebb-47a1-979c-743228f56ca7 2025-06-19 13:50:52,256 - DEBUG - Requesting: http://10.0.0.242:8082/project/8f799d45-89af-432f-8be7-214436857afc 2025-06-19 13:50:52,335 - INFO - Validated that VN ctest-vn-07479954 is not found in API Server 2025-06-19 13:50:52,344 - DEBUG - VN ctest-vn-07479954 is not present in Agent 10.0.0.242 2025-06-19 13:50:52,344 - INFO - Validated that VN ctest-vn-07479954 is not in any agent 2025-06-19 13:50:52,358 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-07479954 info 2025-06-19 13:50:52,358 - INFO - Deleting VN ctest-vn-03872573 2025-06-19 13:50:52,464 - DEBUG - Response for deleting network () 2025-06-19 13:50:52,465 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/e7f12e53-3f42-4df8-ba45-abcc7f16d464 2025-06-19 13:50:52,471 - DEBUG - Response Code: 404 2025-06-19 13:50:52,471 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-06-19 13:50:52,479 - DEBUG - Requesting: http://10.0.0.242:8082/domain/9b505aa2-5ebb-47a1-979c-743228f56ca7 2025-06-19 13:50:52,534 - DEBUG - Requesting: http://10.0.0.242:8082/project/8f799d45-89af-432f-8be7-214436857afc 2025-06-19 13:50:52,604 - INFO - Validated that VN ctest-vn-03872573 is not found in API Server 2025-06-19 13:50:52,613 - DEBUG - VN ctest-vn-03872573 is not present in Agent 10.0.0.242 2025-06-19 13:50:52,613 - INFO - Validated that VN ctest-vn-03872573 is not in any agent 2025-06-19 13:50:52,626 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-03872573 info 2025-06-19 13:50:52,883 - DEBUG - No XMPP flaps were noticed during the test 2025-06-19 13:50:52,883 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:33] 2025-06-19 13:50:52,883 - INFO - -------------------------------------------------------------------------------- 2025-06-19 13:50:53,549 - INFO - Deleted project: ctest-TestBasicPolicy-22142498, ID : 8f799d45-89af-432f-8be7-214436857afc