2025-03-10 02:24:35,861 - INFO - Domain Default found not creating 2025-03-10 02:24:36,009 - INFO - Project ctest-TestBasicPolicy-72359637 not found, creating it 2025-03-10 02:24:36,470 - INFO - Created Project:ctest-TestBasicPolicy-72359637, ID : c3c34ba8-9a52-4e26-aaa1-2a3d1a29004e 2025-03-10 02:24:37,929 - INFO - ================================================================================ 2025-03-10 02:24:37,930 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-03-10 02:24:37,930 - 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-03-10 02:24:38,187 - DEBUG - Nothing to compare xmpp stats {'10.0.0.61': {'10.20.0.10': '0'}} with 2025-03-10 02:24:38,187 - INFO - Initial checks done. Running the testcase now 2025-03-10 02:24:38,187 - INFO - 2025-03-10 02:24:38,736 - DEBUG - Response for create_network : {'network': {'id': '52e0ef0d-827a-424c-988f-57c80c3bdbf3', 'name': 'ctest-vn-89222006', 'tenant_id': 'c3c34ba89a524e26aaa12a3d1a29004e', 'project_id': 'c3c34ba89a524e26aaa12a3d1a29004e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-72359637', 'ctest-vn-89222006'], 'port_security_enabled': True, 'description': ''}} 2025-03-10 02:24:38,914 - DEBUG - Response for create_subnet : {'subnet': {'id': '9f54adf8-bbfc-4367-8b9c-ead6765e7738', 'name': '', 'tenant_id': 'c3c34ba89a524e26aaa12a3d1a29004e', 'network_id': '52e0ef0d-827a-424c-988f-57c80c3bdbf3', 'ip_version': 4, 'cidr': '168.58.193.192/26', 'allocation_pools': [{'start': '168.58.193.194', 'end': '168.58.193.254'}], 'gateway_ip': '168.58.193.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '168.58.193.194', 'tags': [], 'project_id': 'c3c34ba89a524e26aaa12a3d1a29004e'}} 2025-03-10 02:24:38,931 - INFO - Created VN ctest-vn-89222006 2025-03-10 02:24:38,985 - DEBUG - VN ctest-vn-89222006 UUID is 52e0ef0d-827a-424c-988f-57c80c3bdbf3 2025-03-10 02:24:39,451 - DEBUG - Response for create_network : {'network': {'id': 'ffcd2f02-cddc-4426-939c-4f2dc64302b5', 'name': 'ctest-vn-93688538', 'tenant_id': 'c3c34ba89a524e26aaa12a3d1a29004e', 'project_id': 'c3c34ba89a524e26aaa12a3d1a29004e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-72359637', 'ctest-vn-93688538'], 'port_security_enabled': True, 'description': ''}} 2025-03-10 02:24:39,850 - DEBUG - Response for create_subnet : {'subnet': {'id': '92bf2796-ca81-4089-a096-8c8965aa06d6', 'name': '', 'tenant_id': 'c3c34ba89a524e26aaa12a3d1a29004e', 'network_id': 'ffcd2f02-cddc-4426-939c-4f2dc64302b5', 'ip_version': 4, 'cidr': '214.80.59.0/26', 'allocation_pools': [{'start': '214.80.59.2', 'end': '214.80.59.62'}], 'gateway_ip': '214.80.59.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '214.80.59.2', 'tags': [], 'project_id': 'c3c34ba89a524e26aaa12a3d1a29004e'}} 2025-03-10 02:24:39,868 - INFO - Created VN ctest-vn-93688538 2025-03-10 02:24:39,929 - DEBUG - VN ctest-vn-93688538 UUID is ffcd2f02-cddc-4426-939c-4f2dc64302b5 2025-03-10 02:24:40,085 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-72359637:ctest-vn-89222006, 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-72359637:ctest-vn-93688538, 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-03-10 02:24:40,373 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '52e0ef0d-827a-424c-988f-57c80c3bdbf3', 'name': 'ctest-vn-89222006', 'tenant_id': 'c3c34ba89a524e26aaa12a3d1a29004e', 'project_id': 'c3c34ba89a524e26aaa12a3d1a29004e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9f54adf8-bbfc-4367-8b9c-ead6765e7738'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-72359637', 'ctest-vn-89222006'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-72359637', 'ctest-policy-allow-all-98430658']], 'subnet_ipam': [{'subnet_cidr': '168.58.193.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-03-10 02:24:40,604 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ffcd2f02-cddc-4426-939c-4f2dc64302b5', 'name': 'ctest-vn-93688538', 'tenant_id': 'c3c34ba89a524e26aaa12a3d1a29004e', 'project_id': 'c3c34ba89a524e26aaa12a3d1a29004e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['92bf2796-ca81-4089-a096-8c8965aa06d6'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-72359637', 'ctest-vn-93688538'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-72359637', 'ctest-policy-allow-all-98430658']], 'subnet_ipam': [{'subnet_cidr': '214.80.59.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-03-10 02:24:40,777 - DEBUG - Requesting: http://10.0.0.61:8082/domains 2025-03-10 02:24:41,072 - DEBUG - Requesting: http://10.0.0.61:8082/domains 2025-03-10 02:24:41,100 - DEBUG - Requesting: http://10.0.0.61:8082/domain/5db6b05a-2b46-4b9f-8db8-1c409f5083f8 2025-03-10 02:24:41,113 - DEBUG - Requesting: http://10.0.0.61:8082/project/c3c34ba8-9a52-4e26-aaa1-2a3d1a29004e 2025-03-10 02:24:41,186 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-network/52e0ef0d-827a-424c-988f-57c80c3bdbf3 2025-03-10 02:24:41,199 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-network/52e0ef0d-827a-424c-988f-57c80c3bdbf3 2025-03-10 02:24:41,209 - DEBUG - Requesting: http://10.0.0.61:8082/routing-instance/2b7df1c1-399d-493f-8ec2-1e97f7001e35 2025-03-10 02:24:41,216 - DEBUG - Requesting: http://10.0.0.61:8082/routing-instance/2b7df1c1-399d-493f-8ec2-1e97f7001e35 2025-03-10 02:24:41,224 - DEBUG - Requesting: http://10.0.0.61:8082/route-target/919026db-c255-4ce7-95cf-e88fdd4f18ea 2025-03-10 02:24:41,230 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-03-10 02:24:41,230 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-network/52e0ef0d-827a-424c-988f-57c80c3bdbf3 2025-03-10 02:24:41,241 - DEBUG - Requesting: http://10.0.0.61:8082/routing-instance/2b7df1c1-399d-493f-8ec2-1e97f7001e35 2025-03-10 02:24:41,255 - INFO - Verified VN network id 9 for VN 52e0ef0d-827a-424c-988f-57c80c3bdbf3 2025-03-10 02:24:41,255 - INFO - Verifications in API Server for VN ctest-vn-89222006 passed 2025-03-10 02:24:41,255 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-network/52e0ef0d-827a-424c-988f-57c80c3bdbf3 2025-03-10 02:24:41,265 - DEBUG - Requesting: http://10.0.0.61:8082/routing-instance/2b7df1c1-399d-493f-8ec2-1e97f7001e35 2025-03-10 02:24:41,271 - DEBUG - Requesting: http://10.0.0.61:8082/routing-instance/2b7df1c1-399d-493f-8ec2-1e97f7001e35 2025-03-10 02:24:41,277 - DEBUG - Requesting: http://10.0.0.61:8082/route-target/919026db-c255-4ce7-95cf-e88fdd4f18ea 2025-03-10 02:24:41,303 - DEBUG - Control-node 10.0.0.61 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-72359637:ctest-vn-89222006', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-72359637', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5972035947195941452', 'uuid-lslong': '10993101732144995315'}, 'enable': 'true', 'created': '2025-03-10T02:24:38', 'last-modified': '2025-03-10T02:24:40', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.937599'} 2025-03-10 02:24:41,309 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-03-10 02:24:41,310 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-89222006 passed 2025-03-10 02:24:41,310 - DEBUG - ====Verifying policy data for ctest-vn-89222006 in API_Server ====== 2025-03-10 02:24:41,310 - DEBUG - Requesting: http://10.0.0.61:8082/domains 2025-03-10 02:24:41,316 - DEBUG - Requesting: http://10.0.0.61:8082/domain/5db6b05a-2b46-4b9f-8db8-1c409f5083f8 2025-03-10 02:24:41,327 - DEBUG - Requesting: http://10.0.0.61:8082/project/c3c34ba8-9a52-4e26-aaa1-2a3d1a29004e 2025-03-10 02:24:41,404 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-network/52e0ef0d-827a-424c-988f-57c80c3bdbf3 2025-03-10 02:24:41,414 - DEBUG - ==>Verifying data for policy with id: 151c04e4-5907-4214-b47d-b0d97f525cfc, fqn: ['default-domain', 'ctest-TestBasicPolicy-72359637', 'ctest-policy-allow-all-98430658'] 2025-03-10 02:24:41,414 - INFO - VN ctest-vn-89222006 Policy verification: verify_vn_policy_in_api_server, status: True 2025-03-10 02:24:41,414 - DEBUG - Verifying the vn in opserver 2025-03-10 02:24:41,414 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-72359637:ctest-vn-89222006 virtual network link through opserver 10.0.0.61 2025-03-10 02:24:41,414 - DEBUG - Requesting: http://10.0.0.61:8081/analytics/uves/virtual-networks 2025-03-10 02:24:41,706 - DEBUG - Requesting: http://10.0.0.61:8081/analytics/uves/virtual-networks 2025-03-10 02:24:41,755 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-72359637:ctest-vn-89222006', 'href': 'http://10.0.0.61:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-72359637:ctest-vn-89222006?flat'} 2025-03-10 02:24:41,755 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-72359637:ctest-vn-89222006 is found in opserver 2025-03-10 02:24:41,766 - DEBUG - Do not have enough data to verify VN in agent 2025-03-10 02:24:41,771 - DEBUG - VRF ids for VN ctest-vn-89222006: {} 2025-03-10 02:24:41,771 - DEBUG - Requesting: http://10.0.0.61:8082/domains 2025-03-10 02:24:41,777 - DEBUG - Requesting: http://10.0.0.61:8082/domain/5db6b05a-2b46-4b9f-8db8-1c409f5083f8 2025-03-10 02:24:41,787 - DEBUG - Requesting: http://10.0.0.61:8082/project/c3c34ba8-9a52-4e26-aaa1-2a3d1a29004e 2025-03-10 02:24:41,865 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-network/ffcd2f02-cddc-4426-939c-4f2dc64302b5 2025-03-10 02:24:41,877 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-network/ffcd2f02-cddc-4426-939c-4f2dc64302b5 2025-03-10 02:24:41,886 - DEBUG - Requesting: http://10.0.0.61:8082/routing-instance/faddca26-de8f-46b2-a70b-9d2fdd77b806 2025-03-10 02:24:41,894 - DEBUG - Requesting: http://10.0.0.61:8082/routing-instance/faddca26-de8f-46b2-a70b-9d2fdd77b806 2025-03-10 02:24:41,900 - DEBUG - Requesting: http://10.0.0.61:8082/route-target/71f26ec8-faa9-4ea8-bda6-9639fc3528e1 2025-03-10 02:24:41,907 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-03-10 02:24:41,907 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-network/ffcd2f02-cddc-4426-939c-4f2dc64302b5 2025-03-10 02:24:41,916 - DEBUG - Requesting: http://10.0.0.61:8082/routing-instance/faddca26-de8f-46b2-a70b-9d2fdd77b806 2025-03-10 02:24:41,930 - INFO - Verified VN network id 10 for VN ffcd2f02-cddc-4426-939c-4f2dc64302b5 2025-03-10 02:24:41,930 - INFO - Verifications in API Server for VN ctest-vn-93688538 passed 2025-03-10 02:24:41,930 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-network/ffcd2f02-cddc-4426-939c-4f2dc64302b5 2025-03-10 02:24:41,939 - DEBUG - Requesting: http://10.0.0.61:8082/routing-instance/faddca26-de8f-46b2-a70b-9d2fdd77b806 2025-03-10 02:24:41,945 - DEBUG - Requesting: http://10.0.0.61:8082/routing-instance/faddca26-de8f-46b2-a70b-9d2fdd77b806 2025-03-10 02:24:41,953 - DEBUG - Requesting: http://10.0.0.61:8082/route-target/71f26ec8-faa9-4ea8-bda6-9639fc3528e1 2025-03-10 02:24:41,965 - DEBUG - Control-node 10.0.0.61 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-72359637:ctest-vn-93688538', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-72359637', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18432440538987512870', 'uuid-lslong': '10636463477960671925'}, 'enable': 'true', 'created': '2025-03-10T02:24:39', 'last-modified': '2025-03-10T02:24:40', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.389674'} 2025-03-10 02:24:41,971 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-03-10 02:24:41,971 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-93688538 passed 2025-03-10 02:24:41,971 - DEBUG - ====Verifying policy data for ctest-vn-93688538 in API_Server ====== 2025-03-10 02:24:41,971 - DEBUG - Requesting: http://10.0.0.61:8082/domains 2025-03-10 02:24:41,977 - DEBUG - Requesting: http://10.0.0.61:8082/domain/5db6b05a-2b46-4b9f-8db8-1c409f5083f8 2025-03-10 02:24:41,988 - DEBUG - Requesting: http://10.0.0.61:8082/project/c3c34ba8-9a52-4e26-aaa1-2a3d1a29004e 2025-03-10 02:24:42,057 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-network/ffcd2f02-cddc-4426-939c-4f2dc64302b5 2025-03-10 02:24:42,067 - DEBUG - ==>Verifying data for policy with id: 151c04e4-5907-4214-b47d-b0d97f525cfc, fqn: ['default-domain', 'ctest-TestBasicPolicy-72359637', 'ctest-policy-allow-all-98430658'] 2025-03-10 02:24:42,067 - INFO - VN ctest-vn-93688538 Policy verification: verify_vn_policy_in_api_server, status: True 2025-03-10 02:24:42,067 - DEBUG - Verifying the vn in opserver 2025-03-10 02:24:42,067 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-72359637:ctest-vn-93688538 virtual network link through opserver 10.0.0.61 2025-03-10 02:24:42,067 - DEBUG - Requesting: http://10.0.0.61:8081/analytics/uves/virtual-networks 2025-03-10 02:24:42,077 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-72359637:ctest-vn-93688538', 'href': 'http://10.0.0.61:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-72359637:ctest-vn-93688538?flat'} 2025-03-10 02:24:42,077 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-72359637:ctest-vn-93688538 is found in opserver 2025-03-10 02:24:42,087 - DEBUG - Do not have enough data to verify VN in agent 2025-03-10 02:24:42,092 - DEBUG - VRF ids for VN ctest-vn-93688538: {} 2025-03-10 02:24:42,146 - DEBUG - Services list from nova: [, , ] 2025-03-10 02:24:43,142 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2829-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2829-1) 2025-03-10 02:24:44,352 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2829-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2829-1) 2025-03-10 02:24:44,352 - INFO - Waiting for VM ctest-TestBasicPolicy-72359637-66392629 to be up.. 2025-03-10 02:24:44,432 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-03-10 02:24:49,509 - DEBUG - VM is in ACTIVE state now 2025-03-10 02:24:49,510 - INFO - VM name : ctest-TestBasicPolicy-72359637-66392629 2025-03-10 02:24:49,588 - DEBUG - VM ctest-TestBasicPolicy-72359637-66392629 ID is c2b0fdc9-e607-4906-8883-b2e2d73f9fb8 2025-03-10 02:24:49,606 - DEBUG - VM ctest-TestBasicPolicy-72359637-66392629 launched on Node cn-jenkins-deploy-platform-ansible-os-2829-1 2025-03-10 02:24:49,686 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-machine/c2b0fdc9-e607-4906-8883-b2e2d73f9fb8 2025-03-10 02:24:49,699 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-machine-interface/4dac327e-9ece-44e2-a58c-849c9636665f 2025-03-10 02:24:52,955 - 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 1004ms') 2025-03-10 02:24:52,955 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-72359637-66392629 failed! 2025-03-10 02:24:53,009 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-72359637:ctest-vn-89222006 is 168.58.193.193 and allocation pool is NOT set 2025-03-10 02:24:55,068 - 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.71 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.467 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.467/1.586/2.706/1.119 ms') 2025-03-10 02:24:55,068 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-72359637-66392629 passed 2025-03-10 02:24:55,217 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-10 02:24:55,217 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-72359637-66392629, IP 168.58.193.195, Port 22 2025-03-10 02:24:55,388 - DEBUG - VM ctest-TestBasicPolicy-72359637-66392629 is ready for SSH connections 2025-03-10 02:24:55,388 - INFO - Waiting for VM ctest-TestBasicPolicy-72359637-18858739 to be up.. 2025-03-10 02:24:55,477 - DEBUG - VM is in ACTIVE state now 2025-03-10 02:24:55,477 - INFO - VM name : ctest-TestBasicPolicy-72359637-18858739 2025-03-10 02:24:55,556 - DEBUG - VM ctest-TestBasicPolicy-72359637-18858739 ID is 46c7a1b9-f037-425a-acf1-a242438a8374 2025-03-10 02:24:55,556 - DEBUG - VM ctest-TestBasicPolicy-72359637-18858739 launched on Node cn-jenkins-deploy-platform-ansible-os-2829-1 2025-03-10 02:24:55,637 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-machine/46c7a1b9-f037-425a-acf1-a242438a8374 2025-03-10 02:24:55,647 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-machine-interface/4bf6389f-3165-4390-ab36-c2c331d27363 2025-03-10 02:24:56,902 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=2.83 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.418 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.418/1.622/2.826/1.204 ms') 2025-03-10 02:24:56,902 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-72359637-18858739 passed 2025-03-10 02:24:57,049 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-10 02:24:57,049 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-72359637-18858739, IP 214.80.59.3, Port 22 2025-03-10 02:24:57,204 - DEBUG - VM ctest-TestBasicPolicy-72359637-18858739 is ready for SSH connections 2025-03-10 02:24:57,204 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-10 02:24:57,205 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 214.80.59.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.61, gateway password: c0ntrail123 2025-03-10 02:24:57,205 - DEBUG - ping -s 56 -c 3 -W 1 214.80.59.3 2025-03-10 02:25:01,177 - DEBUG - PING 214.80.59.3 (214.80.59.3): 56 data bytes 64 bytes from 214.80.59.3: seq=0 ttl=63 time=3.108 ms 64 bytes from 214.80.59.3: seq=1 ttl=63 time=0.790 ms 64 bytes from 214.80.59.3: seq=2 ttl=63 time=0.737 ms --- 214.80.59.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.737/1.545/3.108 ms 2025-03-10 02:25:01,177 - INFO - Ping to IP 214.80.59.3 from VM ctest-TestBasicPolicy-72359637-66392629 passed 2025-03-10 02:25:01,361 - DEBUG - Policy Update Response {"network-policy": {"uuid": "151c04e4-5907-4214-b47d-b0d97f525cfc", "href": "http://10.0.0.61:8082/network-policy/151c04e4-5907-4214-b47d-b0d97f525cfc"}} 2025-03-10 02:25:01,361 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-10 02:25:01,361 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 214.80.59.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.61, gateway password: c0ntrail123 2025-03-10 02:25:01,361 - DEBUG - ping -s 56 -c 3 -W 1 214.80.59.3 2025-03-10 02:25:04,560 - DEBUG - PING 214.80.59.3 (214.80.59.3): 56 data bytes --- 214.80.59.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-03-10 02:25:04,561 - WARNING - Ping to IP 214.80.59.3 from VM ctest-TestBasicPolicy-72359637-66392629 failed 2025-03-10 02:25:04,561 - INFO - Deleting VM ctest-TestBasicPolicy-72359637-18858739 2025-03-10 02:25:04,619 - INFO - Deleting VM ctest-TestBasicPolicy-72359637-66392629 2025-03-10 02:25:05,040 - INFO - Deleted policy ctest-policy-allow-all-98430658 2025-03-10 02:25:05,040 - INFO - Deleting VN ctest-vn-93688538 2025-03-10 02:25:05,079 - DEBUG - VN ffcd2f02-cddc-4426-939c-4f2dc64302b5 still in use: Unable to complete operation on network ffcd2f02-cddc-4426-939c-4f2dc64302b5. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c586ffc9-6b96-4749-98c0-77c79a43e3c6'] 2025-03-10 02:25:05,079 - WARNING - Deleting VN ctest-vn-93688538 failed..Will retry 2025-03-10 02:25:07,189 - DEBUG - Response for deleting network () 2025-03-10 02:25:07,190 - DEBUG - Requesting: http://10.0.0.61:8082/routing-instance/faddca26-de8f-46b2-a70b-9d2fdd77b806 2025-03-10 02:25:07,199 - DEBUG - Response Code: 404 2025-03-10 02:25:07,199 - DEBUG - Requesting: http://10.0.0.61:8082/domains 2025-03-10 02:25:07,206 - DEBUG - Requesting: http://10.0.0.61:8082/domain/5db6b05a-2b46-4b9f-8db8-1c409f5083f8 2025-03-10 02:25:07,263 - DEBUG - Requesting: http://10.0.0.61:8082/project/c3c34ba8-9a52-4e26-aaa1-2a3d1a29004e 2025-03-10 02:25:07,341 - INFO - Validated that VN ctest-vn-93688538 is not found in API Server 2025-03-10 02:25:07,351 - DEBUG - VN ctest-vn-93688538 is not present in Agent 10.0.0.61 2025-03-10 02:25:07,351 - INFO - Validated that VN ctest-vn-93688538 is not in any agent 2025-03-10 02:25:07,367 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-93688538 info 2025-03-10 02:25:07,367 - INFO - Deleting VN ctest-vn-89222006 2025-03-10 02:25:07,462 - DEBUG - Response for deleting network () 2025-03-10 02:25:07,462 - DEBUG - Requesting: http://10.0.0.61:8082/routing-instance/2b7df1c1-399d-493f-8ec2-1e97f7001e35 2025-03-10 02:25:07,467 - DEBUG - Response Code: 404 2025-03-10 02:25:07,467 - DEBUG - Requesting: http://10.0.0.61:8082/domains 2025-03-10 02:25:07,477 - DEBUG - Requesting: http://10.0.0.61:8082/domain/5db6b05a-2b46-4b9f-8db8-1c409f5083f8 2025-03-10 02:25:07,530 - DEBUG - Requesting: http://10.0.0.61:8082/project/c3c34ba8-9a52-4e26-aaa1-2a3d1a29004e 2025-03-10 02:25:07,598 - INFO - Validated that VN ctest-vn-89222006 is not found in API Server 2025-03-10 02:25:07,609 - DEBUG - VN ctest-vn-89222006 is not present in Agent 10.0.0.61 2025-03-10 02:25:07,610 - INFO - Validated that VN ctest-vn-89222006 is not in any agent 2025-03-10 02:25:07,625 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-89222006 info 2025-03-10 02:25:07,883 - DEBUG - No XMPP flaps were noticed during the test 2025-03-10 02:25:07,883 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-03-10 02:25:07,883 - INFO - -------------------------------------------------------------------------------- 2025-03-10 02:25:08,565 - INFO - Deleted project: ctest-TestBasicPolicy-72359637, ID : c3c34ba8-9a52-4e26-aaa1-2a3d1a29004e