2025-11-14 07:52:39,265 - INFO - Domain Default found not creating 2025-11-14 07:52:39,423 - INFO - Project ctest-TestBasicPolicy-82097730 not found, creating it 2025-11-14 07:52:39,880 - INFO - Created Project:ctest-TestBasicPolicy-82097730, ID : a7418c5e-ab9d-4234-ba79-58c3536490fc 2025-11-14 07:52:41,500 - INFO - ================================================================================ 2025-11-14 07:52:41,500 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-14 07:52:41,500 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2025-11-14 07:52:41,765 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2025-11-14 07:52:41,765 - INFO - Initial checks done. Running the testcase now 2025-11-14 07:52:41,765 - INFO - 2025-11-14 07:52:42,378 - DEBUG - Response for create_network : {'network': {'id': '5723d887-e64a-4c53-9380-b46febd56501', 'name': 'ctest-vn-80468343', 'tenant_id': 'a7418c5eab9d4234ba7958c3536490fc', 'project_id': 'a7418c5eab9d4234ba7958c3536490fc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-82097730', 'ctest-vn-80468343'], 'port_security_enabled': True, 'description': ''}} 2025-11-14 07:52:42,581 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b65cc09f-4f22-4bb7-96a3-b74acab997c5', 'name': '', 'tenant_id': 'a7418c5eab9d4234ba7958c3536490fc', 'network_id': '5723d887-e64a-4c53-9380-b46febd56501', 'ip_version': 4, 'cidr': '35.150.240.0/26', 'allocation_pools': [{'start': '35.150.240.2', 'end': '35.150.240.62'}], 'gateway_ip': '35.150.240.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '35.150.240.2', 'tags': [], 'project_id': 'a7418c5eab9d4234ba7958c3536490fc'}} 2025-11-14 07:52:42,608 - INFO - Created VN ctest-vn-80468343 2025-11-14 07:52:42,662 - DEBUG - VN ctest-vn-80468343 UUID is 5723d887-e64a-4c53-9380-b46febd56501 2025-11-14 07:52:42,971 - DEBUG - Response for create_network : {'network': {'id': 'b57ec727-f9c8-414e-bcfd-b320ed8cfde2', 'name': 'ctest-vn-99135427', 'tenant_id': 'a7418c5eab9d4234ba7958c3536490fc', 'project_id': 'a7418c5eab9d4234ba7958c3536490fc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-82097730', 'ctest-vn-99135427'], 'port_security_enabled': True, 'description': ''}} 2025-11-14 07:52:43,130 - DEBUG - Response for create_subnet : {'subnet': {'id': '9b32eb26-8708-4b1a-86df-9bab5602a2bf', 'name': '', 'tenant_id': 'a7418c5eab9d4234ba7958c3536490fc', 'network_id': 'b57ec727-f9c8-414e-bcfd-b320ed8cfde2', 'ip_version': 4, 'cidr': '86.106.189.0/26', 'allocation_pools': [{'start': '86.106.189.2', 'end': '86.106.189.62'}], 'gateway_ip': '86.106.189.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '86.106.189.2', 'tags': [], 'project_id': 'a7418c5eab9d4234ba7958c3536490fc'}} 2025-11-14 07:52:43,151 - INFO - Created VN ctest-vn-99135427 2025-11-14 07:52:43,206 - DEBUG - VN ctest-vn-99135427 UUID is b57ec727-f9c8-414e-bcfd-b320ed8cfde2 2025-11-14 07:52:43,358 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-82097730:ctest-vn-80468343, 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-82097730:ctest-vn-99135427, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2025-11-14 07:52:43,669 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5723d887-e64a-4c53-9380-b46febd56501', 'name': 'ctest-vn-80468343', 'tenant_id': 'a7418c5eab9d4234ba7958c3536490fc', 'project_id': 'a7418c5eab9d4234ba7958c3536490fc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b65cc09f-4f22-4bb7-96a3-b74acab997c5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-82097730', 'ctest-vn-80468343'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-82097730', 'ctest-policy-allow-all-33602277']], 'subnet_ipam': [{'subnet_cidr': '35.150.240.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-14 07:52:43,892 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b57ec727-f9c8-414e-bcfd-b320ed8cfde2', 'name': 'ctest-vn-99135427', 'tenant_id': 'a7418c5eab9d4234ba7958c3536490fc', 'project_id': 'a7418c5eab9d4234ba7958c3536490fc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9b32eb26-8708-4b1a-86df-9bab5602a2bf'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-82097730', 'ctest-vn-99135427'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-82097730', 'ctest-policy-allow-all-33602277']], 'subnet_ipam': [{'subnet_cidr': '86.106.189.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-14 07:52:44,054 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-14 07:52:44,384 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-14 07:52:44,414 - DEBUG - Requesting: http://10.0.0.50:8082/domain/8bb30c5f-0428-4214-84fc-6569f7875112 2025-11-14 07:52:44,427 - DEBUG - Requesting: http://10.0.0.50:8082/project/a7418c5e-ab9d-4234-ba79-58c3536490fc 2025-11-14 07:52:44,499 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5723d887-e64a-4c53-9380-b46febd56501 2025-11-14 07:52:44,509 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5723d887-e64a-4c53-9380-b46febd56501 2025-11-14 07:52:44,518 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/11f1bbf3-fe3d-4ba3-bf7c-042b08daa97e 2025-11-14 07:52:44,524 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/11f1bbf3-fe3d-4ba3-bf7c-042b08daa97e 2025-11-14 07:52:44,530 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/1681e853-9f6b-4d99-acf7-a79097930655 2025-11-14 07:52:44,535 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-14 07:52:44,535 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5723d887-e64a-4c53-9380-b46febd56501 2025-11-14 07:52:44,544 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/11f1bbf3-fe3d-4ba3-bf7c-042b08daa97e 2025-11-14 07:52:44,556 - INFO - Verified VN network id 10 for VN 5723d887-e64a-4c53-9380-b46febd56501 2025-11-14 07:52:44,556 - INFO - Verifications in API Server for VN ctest-vn-80468343 passed 2025-11-14 07:52:44,556 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5723d887-e64a-4c53-9380-b46febd56501 2025-11-14 07:52:44,564 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/11f1bbf3-fe3d-4ba3-bf7c-042b08daa97e 2025-11-14 07:52:44,570 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/11f1bbf3-fe3d-4ba3-bf7c-042b08daa97e 2025-11-14 07:52:44,575 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/1681e853-9f6b-4d99-acf7-a79097930655 2025-11-14 07:52:44,586 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-82097730:ctest-vn-80468343', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-82097730', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6279100383680416851', 'uuid-lslong': '10628693513385370881'}, 'enable': 'true', 'created': '2025-11-14T07:52:42', 'last-modified': '2025-11-14T07:52:43', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.943592'} 2025-11-14 07:52:44,591 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-14 07:52:44,591 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-80468343 passed 2025-11-14 07:52:44,592 - DEBUG - ====Verifying policy data for ctest-vn-80468343 in API_Server ====== 2025-11-14 07:52:44,592 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-14 07:52:44,596 - DEBUG - Requesting: http://10.0.0.50:8082/domain/8bb30c5f-0428-4214-84fc-6569f7875112 2025-11-14 07:52:44,606 - DEBUG - Requesting: http://10.0.0.50:8082/project/a7418c5e-ab9d-4234-ba79-58c3536490fc 2025-11-14 07:52:44,675 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5723d887-e64a-4c53-9380-b46febd56501 2025-11-14 07:52:44,683 - DEBUG - ==>Verifying data for policy with id: 1bfb0643-cc51-4e60-ba37-a3979498b5c7, fqn: ['default-domain', 'ctest-TestBasicPolicy-82097730', 'ctest-policy-allow-all-33602277'] 2025-11-14 07:52:44,683 - INFO - VN ctest-vn-80468343 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-14 07:52:44,683 - DEBUG - Verifying the vn in opserver 2025-11-14 07:52:44,683 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-82097730:ctest-vn-80468343 virtual network link through opserver 10.0.0.50 2025-11-14 07:52:44,684 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-11-14 07:52:45,020 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-11-14 07:52:45,087 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-82097730:ctest-vn-80468343', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-82097730:ctest-vn-80468343?flat'} 2025-11-14 07:52:45,087 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-82097730:ctest-vn-80468343 is found in opserver 2025-11-14 07:52:45,096 - DEBUG - Do not have enough data to verify VN in agent 2025-11-14 07:52:45,101 - DEBUG - VRF ids for VN ctest-vn-80468343: {} 2025-11-14 07:52:45,101 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-14 07:52:45,106 - DEBUG - Requesting: http://10.0.0.50:8082/domain/8bb30c5f-0428-4214-84fc-6569f7875112 2025-11-14 07:52:45,116 - DEBUG - Requesting: http://10.0.0.50:8082/project/a7418c5e-ab9d-4234-ba79-58c3536490fc 2025-11-14 07:52:45,189 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b57ec727-f9c8-414e-bcfd-b320ed8cfde2 2025-11-14 07:52:45,202 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b57ec727-f9c8-414e-bcfd-b320ed8cfde2 2025-11-14 07:52:45,211 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/feb16eb0-f5ee-485a-8563-bbedc0393158 2025-11-14 07:52:45,219 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/feb16eb0-f5ee-485a-8563-bbedc0393158 2025-11-14 07:52:45,226 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/4d84ec4e-12fa-478f-a4f0-897f465e965d 2025-11-14 07:52:45,232 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-14 07:52:45,232 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b57ec727-f9c8-414e-bcfd-b320ed8cfde2 2025-11-14 07:52:45,241 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/feb16eb0-f5ee-485a-8563-bbedc0393158 2025-11-14 07:52:45,255 - INFO - Verified VN network id 11 for VN b57ec727-f9c8-414e-bcfd-b320ed8cfde2 2025-11-14 07:52:45,255 - INFO - Verifications in API Server for VN ctest-vn-99135427 passed 2025-11-14 07:52:45,255 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b57ec727-f9c8-414e-bcfd-b320ed8cfde2 2025-11-14 07:52:45,264 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/feb16eb0-f5ee-485a-8563-bbedc0393158 2025-11-14 07:52:45,271 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/feb16eb0-f5ee-485a-8563-bbedc0393158 2025-11-14 07:52:45,278 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/4d84ec4e-12fa-478f-a4f0-897f465e965d 2025-11-14 07:52:45,289 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-82097730:ctest-vn-99135427', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-82097730', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13078109342438801742', 'uuid-lslong': '13618237802244013538'}, 'enable': 'true', 'created': '2025-11-14T07:52:42', 'last-modified': '2025-11-14T07:52:43', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.423384'} 2025-11-14 07:52:45,296 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-14 07:52:45,296 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-99135427 passed 2025-11-14 07:52:45,296 - DEBUG - ====Verifying policy data for ctest-vn-99135427 in API_Server ====== 2025-11-14 07:52:45,296 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-14 07:52:45,302 - DEBUG - Requesting: http://10.0.0.50:8082/domain/8bb30c5f-0428-4214-84fc-6569f7875112 2025-11-14 07:52:45,311 - DEBUG - Requesting: http://10.0.0.50:8082/project/a7418c5e-ab9d-4234-ba79-58c3536490fc 2025-11-14 07:52:45,382 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b57ec727-f9c8-414e-bcfd-b320ed8cfde2 2025-11-14 07:52:45,392 - DEBUG - ==>Verifying data for policy with id: 1bfb0643-cc51-4e60-ba37-a3979498b5c7, fqn: ['default-domain', 'ctest-TestBasicPolicy-82097730', 'ctest-policy-allow-all-33602277'] 2025-11-14 07:52:45,392 - INFO - VN ctest-vn-99135427 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-14 07:52:45,392 - DEBUG - Verifying the vn in opserver 2025-11-14 07:52:45,392 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-82097730:ctest-vn-99135427 virtual network link through opserver 10.0.0.50 2025-11-14 07:52:45,392 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-11-14 07:52:45,402 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-82097730:ctest-vn-99135427', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-82097730:ctest-vn-99135427?flat'} 2025-11-14 07:52:45,402 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-82097730:ctest-vn-99135427 is found in opserver 2025-11-14 07:52:45,411 - DEBUG - Do not have enough data to verify VN in agent 2025-11-14 07:52:45,415 - DEBUG - VRF ids for VN ctest-vn-99135427: {} 2025-11-14 07:52:45,474 - DEBUG - Services list from nova: [, , ] 2025-11-14 07:52:46,565 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4727-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4727-1) 2025-11-14 07:52:47,802 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4727-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4727-1) 2025-11-14 07:52:47,802 - INFO - Waiting for VM ctest-TestBasicPolicy-82097730-29722518 to be up.. 2025-11-14 07:52:47,886 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-14 07:52:52,960 - DEBUG - VM is in ACTIVE state now 2025-11-14 07:52:52,960 - INFO - VM name : ctest-TestBasicPolicy-82097730-29722518 2025-11-14 07:52:53,034 - DEBUG - VM ctest-TestBasicPolicy-82097730-29722518 ID is 68cd5f46-64a0-491d-8a74-5ec07ebc5244 2025-11-14 07:52:53,054 - DEBUG - VM ctest-TestBasicPolicy-82097730-29722518 launched on Node cn-jenkins-deploy-platform-ansible-os-4727-1 2025-11-14 07:52:53,127 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/68cd5f46-64a0-491d-8a74-5ec07ebc5244 2025-11-14 07:52:53,134 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/4f903095-1917-4724-af37-7ccc4b3388b4 2025-11-14 07:52:56,400 - 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 1031ms') 2025-11-14 07:52:56,400 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-82097730-29722518 failed! 2025-11-14 07:52:56,458 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-82097730:ctest-vn-80468343 is 35.150.240.1 and allocation pool is NOT set 2025-11-14 07:52:58,523 - 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=10.3 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.37 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 = 2.368/6.317/10.267/3.949 ms') 2025-11-14 07:52:58,523 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-82097730-29722518 passed 2025-11-14 07:52:58,674 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-14 07:52:58,674 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-82097730-29722518, IP 35.150.240.3, Port 22 2025-11-14 07:52:58,838 - DEBUG - VM ctest-TestBasicPolicy-82097730-29722518 is ready for SSH connections 2025-11-14 07:52:58,838 - INFO - Waiting for VM ctest-TestBasicPolicy-82097730-96094947 to be up.. 2025-11-14 07:52:58,943 - DEBUG - VM is in ACTIVE state now 2025-11-14 07:52:58,943 - INFO - VM name : ctest-TestBasicPolicy-82097730-96094947 2025-11-14 07:52:59,035 - DEBUG - VM ctest-TestBasicPolicy-82097730-96094947 ID is 56c2366d-cadf-4f3d-a6ed-3fd503c2df46 2025-11-14 07:52:59,035 - DEBUG - VM ctest-TestBasicPolicy-82097730-96094947 launched on Node cn-jenkins-deploy-platform-ansible-os-4727-1 2025-11-14 07:52:59,113 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/56c2366d-cadf-4f3d-a6ed-3fd503c2df46 2025-11-14 07:52:59,121 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/c774894f-4267-4b8e-bebf-c8781743e1bd 2025-11-14 07:53:00,377 - 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.79 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.18 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 = 2.180/3.482/4.785/1.302 ms') 2025-11-14 07:53:00,377 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-82097730-96094947 passed 2025-11-14 07:53:00,526 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-14 07:53:00,526 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-82097730-96094947, IP 86.106.189.3, Port 22 2025-11-14 07:53:00,681 - DEBUG - VM ctest-TestBasicPolicy-82097730-96094947 is ready for SSH connections 2025-11-14 07:53:00,681 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-14 07:53:00,682 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 86.106.189.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-14 07:53:00,682 - DEBUG - ping -s 56 -c 3 -W 1 86.106.189.3 2025-11-14 07:53:04,427 - DEBUG - PING 86.106.189.3 (86.106.189.3): 56 data bytes 64 bytes from 86.106.189.3: seq=0 ttl=63 time=3.811 ms 64 bytes from 86.106.189.3: seq=1 ttl=63 time=0.972 ms 64 bytes from 86.106.189.3: seq=2 ttl=63 time=0.975 ms --- 86.106.189.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.972/1.919/3.811 ms 2025-11-14 07:53:04,427 - INFO - Ping to IP 86.106.189.3 from VM ctest-TestBasicPolicy-82097730-29722518 passed 2025-11-14 07:53:04,601 - DEBUG - Policy Update Response {"network-policy": {"uuid": "1bfb0643-cc51-4e60-ba37-a3979498b5c7", "href": "http://10.0.0.50:8082/network-policy/1bfb0643-cc51-4e60-ba37-a3979498b5c7"}} 2025-11-14 07:53:04,602 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-14 07:53:04,602 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 86.106.189.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-14 07:53:04,602 - DEBUG - ping -s 56 -c 3 -W 1 86.106.189.3 2025-11-14 07:53:07,851 - DEBUG - PING 86.106.189.3 (86.106.189.3): 56 data bytes --- 86.106.189.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-14 07:53:07,852 - WARNING - Ping to IP 86.106.189.3 from VM ctest-TestBasicPolicy-82097730-29722518 failed 2025-11-14 07:53:07,852 - INFO - Deleting VM ctest-TestBasicPolicy-82097730-96094947 2025-11-14 07:53:07,923 - INFO - Deleting VM ctest-TestBasicPolicy-82097730-29722518 2025-11-14 07:53:08,272 - INFO - Deleted policy ctest-policy-allow-all-33602277 2025-11-14 07:53:08,272 - INFO - Deleting VN ctest-vn-99135427 2025-11-14 07:53:08,310 - DEBUG - VN b57ec727-f9c8-414e-bcfd-b320ed8cfde2 still in use: Unable to complete operation on network b57ec727-f9c8-414e-bcfd-b320ed8cfde2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d182cc16-847b-427c-8bbf-e80de3bb63b1'] 2025-11-14 07:53:08,310 - WARNING - Deleting VN ctest-vn-99135427 failed..Will retry 2025-11-14 07:53:10,428 - DEBUG - Response for deleting network () 2025-11-14 07:53:10,428 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/feb16eb0-f5ee-485a-8563-bbedc0393158 2025-11-14 07:53:10,435 - DEBUG - Response Code: 404 2025-11-14 07:53:10,436 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-14 07:53:10,443 - DEBUG - Requesting: http://10.0.0.50:8082/domain/8bb30c5f-0428-4214-84fc-6569f7875112 2025-11-14 07:53:10,495 - DEBUG - Requesting: http://10.0.0.50:8082/project/a7418c5e-ab9d-4234-ba79-58c3536490fc 2025-11-14 07:53:10,564 - INFO - Validated that VN ctest-vn-99135427 is not found in API Server 2025-11-14 07:53:10,573 - DEBUG - VN ctest-vn-99135427 is not present in Agent 10.0.0.50 2025-11-14 07:53:10,573 - INFO - Validated that VN ctest-vn-99135427 is not in any agent 2025-11-14 07:53:10,586 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-99135427 info 2025-11-14 07:53:10,586 - INFO - Deleting VN ctest-vn-80468343 2025-11-14 07:53:10,684 - DEBUG - Response for deleting network () 2025-11-14 07:53:10,684 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/11f1bbf3-fe3d-4ba3-bf7c-042b08daa97e 2025-11-14 07:53:10,693 - DEBUG - Response Code: 404 2025-11-14 07:53:10,693 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-14 07:53:10,699 - DEBUG - Requesting: http://10.0.0.50:8082/domain/8bb30c5f-0428-4214-84fc-6569f7875112 2025-11-14 07:53:10,754 - DEBUG - Requesting: http://10.0.0.50:8082/project/a7418c5e-ab9d-4234-ba79-58c3536490fc 2025-11-14 07:53:10,824 - INFO - Validated that VN ctest-vn-80468343 is not found in API Server 2025-11-14 07:53:10,833 - DEBUG - VN ctest-vn-80468343 is not present in Agent 10.0.0.50 2025-11-14 07:53:10,833 - INFO - Validated that VN ctest-vn-80468343 is not in any agent 2025-11-14 07:53:10,846 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-80468343 info 2025-11-14 07:53:11,099 - DEBUG - No XMPP flaps were noticed during the test
2025-11-14 07:53:11,099 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-11-14 07:53:11,099 - INFO - -------------------------------------------------------------------------------- 2025-11-14 07:53:11,812 - INFO - Deleted project: ctest-TestBasicPolicy-82097730, ID : a7418c5e-ab9d-4234-ba79-58c3536490fc