2025-04-08 16:56:26,016 - INFO - Domain Default found not creating 2025-04-08 16:56:26,170 - INFO - Project ctest-TestBasicPolicy-31351833 not found, creating it 2025-04-08 16:56:26,635 - INFO - Created Project:ctest-TestBasicPolicy-31351833, ID : 9b823b33-910c-4ae3-96e2-8321d16c9719 2025-04-08 16:56:28,066 - INFO - ================================================================================ 2025-04-08 16:56:28,066 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-04-08 16:56:28,066 - 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-04-08 16:56:28,322 - DEBUG - Nothing to compare xmpp stats {'10.0.0.32': {'10.20.0.8': '0'}} with 2025-04-08 16:56:28,322 - INFO - Initial checks done. Running the testcase now 2025-04-08 16:56:28,322 - INFO - 2025-04-08 16:56:28,881 - DEBUG - Response for create_network : {'network': {'id': '0f6e200b-1cc6-4178-9c68-cecc8e647c97', 'name': 'ctest-vn-44325260', 'tenant_id': '9b823b33910c4ae396e28321d16c9719', 'project_id': '9b823b33910c4ae396e28321d16c9719', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-31351833', 'ctest-vn-44325260'], 'port_security_enabled': True, 'description': ''}} 2025-04-08 16:56:29,071 - DEBUG - Response for create_subnet : {'subnet': {'id': '19065fbc-490a-4737-bfbd-be23ca8da789', 'name': '', 'tenant_id': '9b823b33910c4ae396e28321d16c9719', 'network_id': '0f6e200b-1cc6-4178-9c68-cecc8e647c97', 'ip_version': 4, 'cidr': '42.247.115.64/26', 'allocation_pools': [{'start': '42.247.115.66', 'end': '42.247.115.126'}], 'gateway_ip': '42.247.115.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '42.247.115.66', 'tags': [], 'project_id': '9b823b33910c4ae396e28321d16c9719'}} 2025-04-08 16:56:29,089 - INFO - Created VN ctest-vn-44325260 2025-04-08 16:56:29,144 - DEBUG - VN ctest-vn-44325260 UUID is 0f6e200b-1cc6-4178-9c68-cecc8e647c97 2025-04-08 16:56:29,447 - DEBUG - Response for create_network : {'network': {'id': '21ab75d2-8009-401f-af0b-9702bc845f3c', 'name': 'ctest-vn-71523594', 'tenant_id': '9b823b33910c4ae396e28321d16c9719', 'project_id': '9b823b33910c4ae396e28321d16c9719', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-31351833', 'ctest-vn-71523594'], 'port_security_enabled': True, 'description': ''}} 2025-04-08 16:56:29,625 - DEBUG - Response for create_subnet : {'subnet': {'id': '50c38686-739e-414a-a1c6-719a64471c05', 'name': '', 'tenant_id': '9b823b33910c4ae396e28321d16c9719', 'network_id': '21ab75d2-8009-401f-af0b-9702bc845f3c', 'ip_version': 4, 'cidr': '138.151.57.64/26', 'allocation_pools': [{'start': '138.151.57.66', 'end': '138.151.57.126'}], 'gateway_ip': '138.151.57.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '138.151.57.66', 'tags': [], 'project_id': '9b823b33910c4ae396e28321d16c9719'}} 2025-04-08 16:56:29,643 - INFO - Created VN ctest-vn-71523594 2025-04-08 16:56:29,695 - DEBUG - VN ctest-vn-71523594 UUID is 21ab75d2-8009-401f-af0b-9702bc845f3c 2025-04-08 16:56:29,847 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-31351833:ctest-vn-44325260, 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-31351833:ctest-vn-71523594, 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-04-08 16:56:30,146 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0f6e200b-1cc6-4178-9c68-cecc8e647c97', 'name': 'ctest-vn-44325260', 'tenant_id': '9b823b33910c4ae396e28321d16c9719', 'project_id': '9b823b33910c4ae396e28321d16c9719', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['19065fbc-490a-4737-bfbd-be23ca8da789'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-31351833', 'ctest-vn-44325260'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-31351833', 'ctest-policy-allow-all-73026772']], 'subnet_ipam': [{'subnet_cidr': '42.247.115.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-08 16:56:30,426 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '21ab75d2-8009-401f-af0b-9702bc845f3c', 'name': 'ctest-vn-71523594', 'tenant_id': '9b823b33910c4ae396e28321d16c9719', 'project_id': '9b823b33910c4ae396e28321d16c9719', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['50c38686-739e-414a-a1c6-719a64471c05'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-31351833', 'ctest-vn-71523594'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-31351833', 'ctest-policy-allow-all-73026772']], 'subnet_ipam': [{'subnet_cidr': '138.151.57.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-08 16:56:30,572 - DEBUG - Requesting: http://10.0.0.32:8082/domains 2025-04-08 16:56:30,911 - DEBUG - Requesting: http://10.0.0.32:8082/domains 2025-04-08 16:56:30,964 - DEBUG - Requesting: http://10.0.0.32:8082/domain/5cbac752-aeba-45b0-b15c-0c7907fecdd1 2025-04-08 16:56:31,038 - DEBUG - Requesting: http://10.0.0.32:8082/project/9b823b33-910c-4ae3-96e2-8321d16c9719 2025-04-08 16:56:31,161 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/0f6e200b-1cc6-4178-9c68-cecc8e647c97 2025-04-08 16:56:31,180 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/0f6e200b-1cc6-4178-9c68-cecc8e647c97 2025-04-08 16:56:31,196 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/1f94ad7a-1eb7-486f-8193-34ef2fa39505 2025-04-08 16:56:31,205 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/1f94ad7a-1eb7-486f-8193-34ef2fa39505 2025-04-08 16:56:31,213 - DEBUG - Requesting: http://10.0.0.32:8082/route-target/058b3741-c453-4059-8f18-ec3196c635af 2025-04-08 16:56:31,219 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-04-08 16:56:31,219 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/0f6e200b-1cc6-4178-9c68-cecc8e647c97 2025-04-08 16:56:31,233 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/1f94ad7a-1eb7-486f-8193-34ef2fa39505 2025-04-08 16:56:31,250 - INFO - Verified VN network id 9 for VN 0f6e200b-1cc6-4178-9c68-cecc8e647c97 2025-04-08 16:56:31,250 - INFO - Verifications in API Server for VN ctest-vn-44325260 passed 2025-04-08 16:56:31,252 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/0f6e200b-1cc6-4178-9c68-cecc8e647c97 2025-04-08 16:56:31,269 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/1f94ad7a-1eb7-486f-8193-34ef2fa39505 2025-04-08 16:56:31,278 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/1f94ad7a-1eb7-486f-8193-34ef2fa39505 2025-04-08 16:56:31,289 - DEBUG - Requesting: http://10.0.0.32:8082/route-target/058b3741-c453-4059-8f18-ec3196c635af 2025-04-08 16:56:31,308 - DEBUG - Control-node 10.0.0.32 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-31351833:ctest-vn-44325260', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-31351833', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1111861390106575224', 'uuid-lslong': '11270485445452266647'}, 'enable': 'true', 'created': '2025-04-08T16:56:28', 'last-modified': '2025-04-08T16:56:30', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.181589'} 2025-04-08 16:56:31,320 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-04-08 16:56:31,320 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-44325260 passed 2025-04-08 16:56:31,320 - DEBUG - ====Verifying policy data for ctest-vn-44325260 in API_Server ====== 2025-04-08 16:56:31,320 - DEBUG - Requesting: http://10.0.0.32:8082/domains 2025-04-08 16:56:31,327 - DEBUG - Requesting: http://10.0.0.32:8082/domain/5cbac752-aeba-45b0-b15c-0c7907fecdd1 2025-04-08 16:56:31,349 - DEBUG - Requesting: http://10.0.0.32:8082/project/9b823b33-910c-4ae3-96e2-8321d16c9719 2025-04-08 16:56:31,427 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/0f6e200b-1cc6-4178-9c68-cecc8e647c97 2025-04-08 16:56:31,440 - DEBUG - ==>Verifying data for policy with id: 88463028-8fda-4290-8821-72edb39a4fdc, fqn: ['default-domain', 'ctest-TestBasicPolicy-31351833', 'ctest-policy-allow-all-73026772'] 2025-04-08 16:56:31,440 - INFO - VN ctest-vn-44325260 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-08 16:56:31,440 - DEBUG - Verifying the vn in opserver 2025-04-08 16:56:31,440 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-31351833:ctest-vn-44325260 virtual network link through opserver 10.0.0.32 2025-04-08 16:56:31,441 - DEBUG - Requesting: http://10.0.0.32:8081/analytics/uves/virtual-networks 2025-04-08 16:56:31,731 - DEBUG - Requesting: http://10.0.0.32:8081/analytics/uves/virtual-networks 2025-04-08 16:56:31,789 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-31351833:ctest-vn-44325260', 'href': 'http://10.0.0.32:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-31351833:ctest-vn-44325260?flat'} 2025-04-08 16:56:31,790 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-31351833:ctest-vn-44325260 is found in opserver 2025-04-08 16:56:31,800 - DEBUG - Do not have enough data to verify VN in agent 2025-04-08 16:56:31,807 - DEBUG - VRF ids for VN ctest-vn-44325260: {} 2025-04-08 16:56:31,807 - DEBUG - Requesting: http://10.0.0.32:8082/domains 2025-04-08 16:56:31,817 - DEBUG - Requesting: http://10.0.0.32:8082/domain/5cbac752-aeba-45b0-b15c-0c7907fecdd1 2025-04-08 16:56:31,831 - DEBUG - Requesting: http://10.0.0.32:8082/project/9b823b33-910c-4ae3-96e2-8321d16c9719 2025-04-08 16:56:31,910 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/21ab75d2-8009-401f-af0b-9702bc845f3c 2025-04-08 16:56:31,924 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/21ab75d2-8009-401f-af0b-9702bc845f3c 2025-04-08 16:56:31,935 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/178716e5-04c7-478d-92bd-3ccded0329d4 2025-04-08 16:56:31,943 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/178716e5-04c7-478d-92bd-3ccded0329d4 2025-04-08 16:56:31,953 - DEBUG - Requesting: http://10.0.0.32:8082/route-target/a86b36bc-c1fa-4a33-bc4a-862a0e5b2dee 2025-04-08 16:56:31,962 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-08 16:56:31,962 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/21ab75d2-8009-401f-af0b-9702bc845f3c 2025-04-08 16:56:31,974 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/178716e5-04c7-478d-92bd-3ccded0329d4 2025-04-08 16:56:31,989 - INFO - Verified VN network id 10 for VN 21ab75d2-8009-401f-af0b-9702bc845f3c 2025-04-08 16:56:31,990 - INFO - Verifications in API Server for VN ctest-vn-71523594 passed 2025-04-08 16:56:31,990 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/21ab75d2-8009-401f-af0b-9702bc845f3c 2025-04-08 16:56:32,002 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/178716e5-04c7-478d-92bd-3ccded0329d4 2025-04-08 16:56:32,010 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/178716e5-04c7-478d-92bd-3ccded0329d4 2025-04-08 16:56:32,018 - DEBUG - Requesting: http://10.0.0.32:8082/route-target/a86b36bc-c1fa-4a33-bc4a-862a0e5b2dee 2025-04-08 16:56:32,031 - DEBUG - Control-node 10.0.0.32 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-31351833:ctest-vn-71523594', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-31351833', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2426162371220815903', 'uuid-lslong': '12613341219389726524'}, 'enable': 'true', 'created': '2025-04-08T16:56:29', 'last-modified': '2025-04-08T16:56:30', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.677814'} 2025-04-08 16:56:32,038 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-08 16:56:32,038 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-71523594 passed 2025-04-08 16:56:32,038 - DEBUG - ====Verifying policy data for ctest-vn-71523594 in API_Server ====== 2025-04-08 16:56:32,039 - DEBUG - Requesting: http://10.0.0.32:8082/domains 2025-04-08 16:56:32,044 - DEBUG - Requesting: http://10.0.0.32:8082/domain/5cbac752-aeba-45b0-b15c-0c7907fecdd1 2025-04-08 16:56:32,056 - DEBUG - Requesting: http://10.0.0.32:8082/project/9b823b33-910c-4ae3-96e2-8321d16c9719 2025-04-08 16:56:32,131 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/21ab75d2-8009-401f-af0b-9702bc845f3c 2025-04-08 16:56:32,141 - DEBUG - ==>Verifying data for policy with id: 88463028-8fda-4290-8821-72edb39a4fdc, fqn: ['default-domain', 'ctest-TestBasicPolicy-31351833', 'ctest-policy-allow-all-73026772'] 2025-04-08 16:56:32,141 - INFO - VN ctest-vn-71523594 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-08 16:56:32,141 - DEBUG - Verifying the vn in opserver 2025-04-08 16:56:32,141 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-31351833:ctest-vn-71523594 virtual network link through opserver 10.0.0.32 2025-04-08 16:56:32,141 - DEBUG - Requesting: http://10.0.0.32:8081/analytics/uves/virtual-networks 2025-04-08 16:56:32,152 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-31351833:ctest-vn-71523594', 'href': 'http://10.0.0.32:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-31351833:ctest-vn-71523594?flat'} 2025-04-08 16:56:32,152 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-31351833:ctest-vn-71523594 is found in opserver 2025-04-08 16:56:32,163 - DEBUG - Do not have enough data to verify VN in agent 2025-04-08 16:56:32,168 - DEBUG - VRF ids for VN ctest-vn-71523594: {} 2025-04-08 16:56:32,226 - DEBUG - Services list from nova: [, , ] 2025-04-08 16:56:33,225 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3057-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3057-1) 2025-04-08 16:56:34,482 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3057-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3057-1) 2025-04-08 16:56:34,482 - INFO - Waiting for VM ctest-TestBasicPolicy-31351833-11686029 to be up.. 2025-04-08 16:56:34,578 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-08 16:56:39,667 - DEBUG - VM is in ACTIVE state now 2025-04-08 16:56:39,667 - INFO - VM name : ctest-TestBasicPolicy-31351833-11686029 2025-04-08 16:56:39,753 - DEBUG - VM ctest-TestBasicPolicy-31351833-11686029 ID is 7a0adddf-85a9-4d52-ab21-f1135c1c50ab 2025-04-08 16:56:39,780 - DEBUG - VM ctest-TestBasicPolicy-31351833-11686029 launched on Node cn-jenkins-deploy-platform-ansible-os-3057-1 2025-04-08 16:56:39,861 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/7a0adddf-85a9-4d52-ab21-f1135c1c50ab 2025-04-08 16:56:39,870 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine-interface/c87bbf6c-bc9a-4bbb-b18c-c109d243fe54 2025-04-08 16:56:43,146 - 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-04-08 16:56:43,146 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-31351833-11686029 failed! 2025-04-08 16:56:43,200 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-31351833:ctest-vn-44325260 is 42.247.115.65 and allocation pool is NOT set 2025-04-08 16:56:45,259 - 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.93 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.573 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.573/1.753/2.933/1.180 ms') 2025-04-08 16:56:45,259 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-31351833-11686029 passed 2025-04-08 16:56:45,412 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-08 16:56:45,412 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-31351833-11686029, IP 42.247.115.67, Port 22 2025-04-08 16:56:45,567 - DEBUG - VM ctest-TestBasicPolicy-31351833-11686029 is ready for SSH connections 2025-04-08 16:56:45,567 - INFO - Waiting for VM ctest-TestBasicPolicy-31351833-38364578 to be up.. 2025-04-08 16:56:45,646 - DEBUG - VM is in ACTIVE state now 2025-04-08 16:56:45,646 - INFO - VM name : ctest-TestBasicPolicy-31351833-38364578 2025-04-08 16:56:45,725 - DEBUG - VM ctest-TestBasicPolicy-31351833-38364578 ID is 823a3614-aedf-4b29-a69b-11418e91a2c5 2025-04-08 16:56:45,726 - DEBUG - VM ctest-TestBasicPolicy-31351833-38364578 launched on Node cn-jenkins-deploy-platform-ansible-os-3057-1 2025-04-08 16:56:45,807 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/823a3614-aedf-4b29-a69b-11418e91a2c5 2025-04-08 16:56:45,817 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine-interface/5180aadb-d8c1-4469-84af-ead85167aefb 2025-04-08 16:56:47,054 - 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.49 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.609 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.609/2.547/4.486/1.938 ms') 2025-04-08 16:56:47,054 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-31351833-38364578 passed 2025-04-08 16:56:47,203 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-08 16:56:47,204 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-31351833-38364578, IP 138.151.57.67, Port 22 2025-04-08 16:56:47,355 - DEBUG - VM ctest-TestBasicPolicy-31351833-38364578 is ready for SSH connections 2025-04-08 16:56:47,355 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-08 16:56:47,356 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 138.151.57.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.32, gateway password: c0ntrail123 2025-04-08 16:56:47,356 - DEBUG - ping -s 56 -c 3 -W 1 138.151.57.67 2025-04-08 16:56:51,347 - DEBUG - PING 138.151.57.67 (138.151.57.67): 56 data bytes 64 bytes from 138.151.57.67: seq=0 ttl=63 time=3.145 ms 64 bytes from 138.151.57.67: seq=1 ttl=63 time=0.904 ms 64 bytes from 138.151.57.67: seq=2 ttl=63 time=0.797 ms --- 138.151.57.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.797/1.615/3.145 ms 2025-04-08 16:56:51,347 - INFO - Ping to IP 138.151.57.67 from VM ctest-TestBasicPolicy-31351833-11686029 passed 2025-04-08 16:56:51,535 - DEBUG - Policy Update Response {"network-policy": {"uuid": "88463028-8fda-4290-8821-72edb39a4fdc", "href": "http://10.0.0.32:8082/network-policy/88463028-8fda-4290-8821-72edb39a4fdc"}} 2025-04-08 16:56:51,535 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-08 16:56:51,536 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 138.151.57.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.32, gateway password: c0ntrail123 2025-04-08 16:56:51,536 - DEBUG - ping -s 56 -c 3 -W 1 138.151.57.67 2025-04-08 16:56:54,802 - DEBUG - PING 138.151.57.67 (138.151.57.67): 56 data bytes --- 138.151.57.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-04-08 16:56:54,802 - WARNING - Ping to IP 138.151.57.67 from VM ctest-TestBasicPolicy-31351833-11686029 failed 2025-04-08 16:56:54,802 - INFO - Deleting VM ctest-TestBasicPolicy-31351833-38364578 2025-04-08 16:56:54,865 - INFO - Deleting VM ctest-TestBasicPolicy-31351833-11686029 2025-04-08 16:56:55,222 - INFO - Deleted policy ctest-policy-allow-all-73026772 2025-04-08 16:56:55,222 - INFO - Deleting VN ctest-vn-71523594 2025-04-08 16:56:55,259 - DEBUG - VN 21ab75d2-8009-401f-af0b-9702bc845f3c still in use: Unable to complete operation on network 21ab75d2-8009-401f-af0b-9702bc845f3c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f991f270-145a-4725-bafa-06c8048225a3'] 2025-04-08 16:56:55,259 - WARNING - Deleting VN ctest-vn-71523594 failed..Will retry 2025-04-08 16:56:57,353 - DEBUG - Response for deleting network () 2025-04-08 16:56:57,353 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/178716e5-04c7-478d-92bd-3ccded0329d4 2025-04-08 16:56:57,358 - DEBUG - Response Code: 404 2025-04-08 16:56:57,358 - DEBUG - Requesting: http://10.0.0.32:8082/domains 2025-04-08 16:56:57,367 - DEBUG - Requesting: http://10.0.0.32:8082/domain/5cbac752-aeba-45b0-b15c-0c7907fecdd1 2025-04-08 16:56:57,425 - DEBUG - Requesting: http://10.0.0.32:8082/project/9b823b33-910c-4ae3-96e2-8321d16c9719 2025-04-08 16:56:57,499 - INFO - Validated that VN ctest-vn-71523594 is not found in API Server 2025-04-08 16:56:57,510 - DEBUG - VN ctest-vn-71523594 is not present in Agent 10.0.0.32 2025-04-08 16:56:57,510 - INFO - Validated that VN ctest-vn-71523594 is not in any agent 2025-04-08 16:56:57,527 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-71523594 info 2025-04-08 16:56:57,528 - INFO - Deleting VN ctest-vn-44325260 2025-04-08 16:56:57,638 - DEBUG - Response for deleting network () 2025-04-08 16:56:57,639 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/1f94ad7a-1eb7-486f-8193-34ef2fa39505 2025-04-08 16:56:57,645 - DEBUG - Response Code: 404 2025-04-08 16:56:57,645 - DEBUG - Requesting: http://10.0.0.32:8082/domains 2025-04-08 16:56:57,651 - DEBUG - Requesting: http://10.0.0.32:8082/domain/5cbac752-aeba-45b0-b15c-0c7907fecdd1 2025-04-08 16:56:57,705 - DEBUG - Requesting: http://10.0.0.32:8082/project/9b823b33-910c-4ae3-96e2-8321d16c9719 2025-04-08 16:56:57,778 - INFO - Validated that VN ctest-vn-44325260 is not found in API Server 2025-04-08 16:56:57,789 - DEBUG - VN ctest-vn-44325260 is not present in Agent 10.0.0.32 2025-04-08 16:56:57,789 - INFO - Validated that VN ctest-vn-44325260 is not in any agent 2025-04-08 16:56:57,806 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-44325260 info 2025-04-08 16:56:58,061 - DEBUG - No XMPP flaps were noticed during the test
2025-04-08 16:56:58,061 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-04-08 16:56:58,061 - INFO - -------------------------------------------------------------------------------- 2025-04-08 16:56:58,730 - INFO - Deleted project: ctest-TestBasicPolicy-31351833, ID : 9b823b33-910c-4ae3-96e2-8321d16c9719