2025-04-21 02:17:40,446 - INFO - Domain Default found not creating 2025-04-21 02:17:40,680 - INFO - Project ctest-TestBasicPolicy-23433883 not found, creating it 2025-04-21 02:17:41,130 - INFO - Created Project:ctest-TestBasicPolicy-23433883, ID : 1ce884d7-c089-45dd-a55e-1ad5aee4517d 2025-04-21 02:17:42,594 - INFO - ================================================================================ 2025-04-21 02:17:42,594 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-04-21 02:17:42,594 - 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-21 02:17:42,851 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.17': '0'}} with 2025-04-21 02:17:42,851 - INFO - Initial checks done. Running the testcase now 2025-04-21 02:17:42,851 - INFO - 2025-04-21 02:17:43,386 - DEBUG - Response for create_network : {'network': {'id': 'a35fc51c-9eb2-4611-8b1e-dea9dee16bc1', 'name': 'ctest-vn-01610794', 'tenant_id': '1ce884d7c08945dda55e1ad5aee4517d', 'project_id': '1ce884d7c08945dda55e1ad5aee4517d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23433883', 'ctest-vn-01610794'], 'port_security_enabled': True, 'description': ''}} 2025-04-21 02:17:43,598 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f38b68a3-e6b8-4b0a-9f0c-2e5ba5277927', 'name': '', 'tenant_id': '1ce884d7c08945dda55e1ad5aee4517d', 'network_id': 'a35fc51c-9eb2-4611-8b1e-dea9dee16bc1', 'ip_version': 4, 'cidr': '208.211.241.192/26', 'allocation_pools': [{'start': '208.211.241.194', 'end': '208.211.241.254'}], 'gateway_ip': '208.211.241.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '208.211.241.194', 'tags': [], 'project_id': '1ce884d7c08945dda55e1ad5aee4517d'}} 2025-04-21 02:17:43,615 - INFO - Created VN ctest-vn-01610794 2025-04-21 02:17:43,669 - DEBUG - VN ctest-vn-01610794 UUID is a35fc51c-9eb2-4611-8b1e-dea9dee16bc1 2025-04-21 02:17:43,957 - DEBUG - Response for create_network : {'network': {'id': 'ff82101d-45c4-42f1-af56-2755c986e3fd', 'name': 'ctest-vn-23178868', 'tenant_id': '1ce884d7c08945dda55e1ad5aee4517d', 'project_id': '1ce884d7c08945dda55e1ad5aee4517d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23433883', 'ctest-vn-23178868'], 'port_security_enabled': True, 'description': ''}} 2025-04-21 02:17:44,155 - DEBUG - Response for create_subnet : {'subnet': {'id': '76daac4c-f381-49ee-a32d-a233e39c2ca6', 'name': '', 'tenant_id': '1ce884d7c08945dda55e1ad5aee4517d', 'network_id': 'ff82101d-45c4-42f1-af56-2755c986e3fd', 'ip_version': 4, 'cidr': '12.154.226.192/26', 'allocation_pools': [{'start': '12.154.226.194', 'end': '12.154.226.254'}], 'gateway_ip': '12.154.226.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '12.154.226.194', 'tags': [], 'project_id': '1ce884d7c08945dda55e1ad5aee4517d'}} 2025-04-21 02:17:44,173 - INFO - Created VN ctest-vn-23178868 2025-04-21 02:17:44,225 - DEBUG - VN ctest-vn-23178868 UUID is ff82101d-45c4-42f1-af56-2755c986e3fd 2025-04-21 02:17:44,336 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-23433883:ctest-vn-01610794, 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-23433883:ctest-vn-23178868, 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-21 02:17:44,629 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a35fc51c-9eb2-4611-8b1e-dea9dee16bc1', 'name': 'ctest-vn-01610794', 'tenant_id': '1ce884d7c08945dda55e1ad5aee4517d', 'project_id': '1ce884d7c08945dda55e1ad5aee4517d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f38b68a3-e6b8-4b0a-9f0c-2e5ba5277927'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23433883', 'ctest-vn-01610794'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-23433883', 'ctest-policy-allow-all-00176623']], 'subnet_ipam': [{'subnet_cidr': '208.211.241.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-21 02:17:44,853 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ff82101d-45c4-42f1-af56-2755c986e3fd', 'name': 'ctest-vn-23178868', 'tenant_id': '1ce884d7c08945dda55e1ad5aee4517d', 'project_id': '1ce884d7c08945dda55e1ad5aee4517d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['76daac4c-f381-49ee-a32d-a233e39c2ca6'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23433883', 'ctest-vn-23178868'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-23433883', 'ctest-policy-allow-all-00176623']], 'subnet_ipam': [{'subnet_cidr': '12.154.226.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-21 02:17:45,001 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-04-21 02:17:45,297 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-04-21 02:17:45,322 - DEBUG - Requesting: http://10.0.0.130:8082/domain/664ed5a6-6ec0-4e3d-bfbe-2a247298e038 2025-04-21 02:17:45,334 - DEBUG - Requesting: http://10.0.0.130:8082/project/1ce884d7-c089-45dd-a55e-1ad5aee4517d 2025-04-21 02:17:45,414 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/a35fc51c-9eb2-4611-8b1e-dea9dee16bc1 2025-04-21 02:17:45,426 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/a35fc51c-9eb2-4611-8b1e-dea9dee16bc1 2025-04-21 02:17:45,436 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/17f12254-5c68-4a3e-9efc-0b51421d419c 2025-04-21 02:17:45,444 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/17f12254-5c68-4a3e-9efc-0b51421d419c 2025-04-21 02:17:45,451 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/5deba3fc-607a-4d59-a898-7093a31af514 2025-04-21 02:17:45,457 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-21 02:17:45,457 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/a35fc51c-9eb2-4611-8b1e-dea9dee16bc1 2025-04-21 02:17:45,466 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/17f12254-5c68-4a3e-9efc-0b51421d419c 2025-04-21 02:17:45,482 - INFO - Verified VN network id 8 for VN a35fc51c-9eb2-4611-8b1e-dea9dee16bc1 2025-04-21 02:17:45,482 - INFO - Verifications in API Server for VN ctest-vn-01610794 passed 2025-04-21 02:17:45,483 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/a35fc51c-9eb2-4611-8b1e-dea9dee16bc1 2025-04-21 02:17:45,493 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/17f12254-5c68-4a3e-9efc-0b51421d419c 2025-04-21 02:17:45,500 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/17f12254-5c68-4a3e-9efc-0b51421d419c 2025-04-21 02:17:45,507 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/5deba3fc-607a-4d59-a898-7093a31af514 2025-04-21 02:17:45,519 - DEBUG - Control-node 10.0.0.130 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-23433883:ctest-vn-01610794', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-23433883', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11772344677682005521', 'uuid-lslong': '10024694641743457217'}, 'enable': 'true', 'created': '2025-04-21T02:17:43', 'last-modified': '2025-04-21T02:17:44', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.914475'} 2025-04-21 02:17:45,526 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-21 02:17:45,526 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-01610794 passed 2025-04-21 02:17:45,526 - DEBUG - ====Verifying policy data for ctest-vn-01610794 in API_Server ====== 2025-04-21 02:17:45,526 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-04-21 02:17:45,531 - DEBUG - Requesting: http://10.0.0.130:8082/domain/664ed5a6-6ec0-4e3d-bfbe-2a247298e038 2025-04-21 02:17:45,543 - DEBUG - Requesting: http://10.0.0.130:8082/project/1ce884d7-c089-45dd-a55e-1ad5aee4517d 2025-04-21 02:17:45,622 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/a35fc51c-9eb2-4611-8b1e-dea9dee16bc1 2025-04-21 02:17:45,633 - DEBUG - ==>Verifying data for policy with id: 4c5d298b-64d9-4bad-9769-304e1c96326f, fqn: ['default-domain', 'ctest-TestBasicPolicy-23433883', 'ctest-policy-allow-all-00176623'] 2025-04-21 02:17:45,633 - INFO - VN ctest-vn-01610794 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-21 02:17:45,633 - DEBUG - Verifying the vn in opserver 2025-04-21 02:17:45,633 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-23433883:ctest-vn-01610794 virtual network link through opserver 10.0.0.130 2025-04-21 02:17:45,634 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2025-04-21 02:17:45,926 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2025-04-21 02:17:45,981 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-23433883:ctest-vn-01610794', 'href': 'http://10.0.0.130:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-23433883:ctest-vn-01610794?flat'} 2025-04-21 02:17:45,981 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-23433883:ctest-vn-01610794 is found in opserver 2025-04-21 02:17:45,993 - DEBUG - Do not have enough data to verify VN in agent 2025-04-21 02:17:45,999 - DEBUG - VRF ids for VN ctest-vn-01610794: {} 2025-04-21 02:17:45,999 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-04-21 02:17:46,004 - DEBUG - Requesting: http://10.0.0.130:8082/domain/664ed5a6-6ec0-4e3d-bfbe-2a247298e038 2025-04-21 02:17:46,016 - DEBUG - Requesting: http://10.0.0.130:8082/project/1ce884d7-c089-45dd-a55e-1ad5aee4517d 2025-04-21 02:17:46,086 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/ff82101d-45c4-42f1-af56-2755c986e3fd 2025-04-21 02:17:46,100 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/ff82101d-45c4-42f1-af56-2755c986e3fd 2025-04-21 02:17:46,111 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/486de92e-35d7-4fb0-a130-e89295c64d26 2025-04-21 02:17:46,118 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/486de92e-35d7-4fb0-a130-e89295c64d26 2025-04-21 02:17:46,124 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/2c83c8e0-0559-4351-9c7e-364f41103a60 2025-04-21 02:17:46,131 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-21 02:17:46,131 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/ff82101d-45c4-42f1-af56-2755c986e3fd 2025-04-21 02:17:46,139 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/486de92e-35d7-4fb0-a130-e89295c64d26 2025-04-21 02:17:46,153 - INFO - Verified VN network id 9 for VN ff82101d-45c4-42f1-af56-2755c986e3fd 2025-04-21 02:17:46,153 - INFO - Verifications in API Server for VN ctest-vn-23178868 passed 2025-04-21 02:17:46,153 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/ff82101d-45c4-42f1-af56-2755c986e3fd 2025-04-21 02:17:46,163 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/486de92e-35d7-4fb0-a130-e89295c64d26 2025-04-21 02:17:46,172 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/486de92e-35d7-4fb0-a130-e89295c64d26 2025-04-21 02:17:46,179 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/2c83c8e0-0559-4351-9c7e-364f41103a60 2025-04-21 02:17:46,192 - DEBUG - Control-node 10.0.0.130 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-23433883:ctest-vn-23178868', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-23433883', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18411295944554595057', 'uuid-lslong': '12634329054041269245'}, 'enable': 'true', 'created': '2025-04-21T02:17:43', 'last-modified': '2025-04-21T02:17:44', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.361246'} 2025-04-21 02:17:46,198 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-21 02:17:46,199 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-23178868 passed 2025-04-21 02:17:46,199 - DEBUG - ====Verifying policy data for ctest-vn-23178868 in API_Server ====== 2025-04-21 02:17:46,199 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-04-21 02:17:46,205 - DEBUG - Requesting: http://10.0.0.130:8082/domain/664ed5a6-6ec0-4e3d-bfbe-2a247298e038 2025-04-21 02:17:46,217 - DEBUG - Requesting: http://10.0.0.130:8082/project/1ce884d7-c089-45dd-a55e-1ad5aee4517d 2025-04-21 02:17:46,288 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/ff82101d-45c4-42f1-af56-2755c986e3fd 2025-04-21 02:17:46,298 - DEBUG - ==>Verifying data for policy with id: 4c5d298b-64d9-4bad-9769-304e1c96326f, fqn: ['default-domain', 'ctest-TestBasicPolicy-23433883', 'ctest-policy-allow-all-00176623'] 2025-04-21 02:17:46,298 - INFO - VN ctest-vn-23178868 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-21 02:17:46,298 - DEBUG - Verifying the vn in opserver 2025-04-21 02:17:46,298 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-23433883:ctest-vn-23178868 virtual network link through opserver 10.0.0.130 2025-04-21 02:17:46,298 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2025-04-21 02:17:46,308 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-23433883:ctest-vn-23178868', 'href': 'http://10.0.0.130:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-23433883:ctest-vn-23178868?flat'} 2025-04-21 02:17:46,308 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-23433883:ctest-vn-23178868 is found in opserver 2025-04-21 02:17:46,318 - DEBUG - Do not have enough data to verify VN in agent 2025-04-21 02:17:46,324 - DEBUG - VRF ids for VN ctest-vn-23178868: {} 2025-04-21 02:17:46,375 - DEBUG - Services list from nova: [, , ] 2025-04-21 02:17:47,361 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3143-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3143-1) 2025-04-21 02:17:48,625 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3143-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3143-1) 2025-04-21 02:17:48,625 - INFO - Waiting for VM ctest-TestBasicPolicy-23433883-36654637 to be up.. 2025-04-21 02:17:48,707 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-21 02:17:53,798 - DEBUG - VM is in ACTIVE state now 2025-04-21 02:17:53,798 - INFO - VM name : ctest-TestBasicPolicy-23433883-36654637 2025-04-21 02:17:53,876 - DEBUG - VM ctest-TestBasicPolicy-23433883-36654637 ID is a0a72834-481f-45a2-a819-4c2eb4b453af 2025-04-21 02:17:53,896 - DEBUG - VM ctest-TestBasicPolicy-23433883-36654637 launched on Node cn-jenkins-deploy-platform-ansible-os-3143-1 2025-04-21 02:17:53,972 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/a0a72834-481f-45a2-a819-4c2eb4b453af 2025-04-21 02:17:53,980 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/53be29aa-0a7f-443a-8f38-a8953553bfa5 2025-04-21 02:17:57,202 - 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-21 02:17:57,202 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-23433883-36654637 failed! 2025-04-21 02:17:57,257 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-23433883:ctest-vn-01610794 is 208.211.241.193 and allocation pool is NOT set 2025-04-21 02:17:59,319 - 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=3.74 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.559 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.559/2.150/3.741/1.591 ms') 2025-04-21 02:17:59,319 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-23433883-36654637 passed 2025-04-21 02:17:59,469 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-21 02:17:59,469 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-23433883-36654637, IP 208.211.241.195, Port 22 2025-04-21 02:17:59,645 - DEBUG - VM ctest-TestBasicPolicy-23433883-36654637 is ready for SSH connections 2025-04-21 02:17:59,646 - INFO - Waiting for VM ctest-TestBasicPolicy-23433883-89593933 to be up.. 2025-04-21 02:17:59,722 - DEBUG - VM is in ACTIVE state now 2025-04-21 02:17:59,722 - INFO - VM name : ctest-TestBasicPolicy-23433883-89593933 2025-04-21 02:17:59,797 - DEBUG - VM ctest-TestBasicPolicy-23433883-89593933 ID is b8b3186c-de4b-4c96-8c5d-2475559cae63 2025-04-21 02:17:59,798 - DEBUG - VM ctest-TestBasicPolicy-23433883-89593933 launched on Node cn-jenkins-deploy-platform-ansible-os-3143-1 2025-04-21 02:17:59,871 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/b8b3186c-de4b-4c96-8c5d-2475559cae63 2025-04-21 02:17:59,880 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/6ce40359-3233-41a6-95b4-d82c085d7b03 2025-04-21 02:18:01,125 - 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.12 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.417 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.417/1.768/3.119/1.351 ms') 2025-04-21 02:18:01,125 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-23433883-89593933 passed 2025-04-21 02:18:01,273 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-21 02:18:01,273 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-23433883-89593933, IP 12.154.226.195, Port 22 2025-04-21 02:18:01,436 - DEBUG - VM ctest-TestBasicPolicy-23433883-89593933 is ready for SSH connections 2025-04-21 02:18:01,436 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-21 02:18:01,437 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 12.154.226.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-04-21 02:18:01,437 - DEBUG - ping -s 56 -c 3 -W 1 12.154.226.195 2025-04-21 02:18:05,136 - DEBUG - PING 12.154.226.195 (12.154.226.195): 56 data bytes 64 bytes from 12.154.226.195: seq=0 ttl=63 time=3.294 ms 64 bytes from 12.154.226.195: seq=1 ttl=63 time=0.781 ms 64 bytes from 12.154.226.195: seq=2 ttl=63 time=0.884 ms --- 12.154.226.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.781/1.653/3.294 ms 2025-04-21 02:18:05,136 - INFO - Ping to IP 12.154.226.195 from VM ctest-TestBasicPolicy-23433883-36654637 passed 2025-04-21 02:18:05,320 - DEBUG - Policy Update Response {"network-policy": {"uuid": "4c5d298b-64d9-4bad-9769-304e1c96326f", "href": "http://10.0.0.130:8082/network-policy/4c5d298b-64d9-4bad-9769-304e1c96326f"}} 2025-04-21 02:18:05,320 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-21 02:18:05,321 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 12.154.226.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-04-21 02:18:05,321 - DEBUG - ping -s 56 -c 3 -W 1 12.154.226.195 2025-04-21 02:18:08,546 - DEBUG - PING 12.154.226.195 (12.154.226.195): 56 data bytes --- 12.154.226.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-04-21 02:18:08,546 - WARNING - Ping to IP 12.154.226.195 from VM ctest-TestBasicPolicy-23433883-36654637 failed 2025-04-21 02:18:08,547 - INFO - Deleting VM ctest-TestBasicPolicy-23433883-89593933 2025-04-21 02:18:08,623 - INFO - Deleting VM ctest-TestBasicPolicy-23433883-36654637 2025-04-21 02:18:08,977 - INFO - Deleted policy ctest-policy-allow-all-00176623 2025-04-21 02:18:08,978 - INFO - Deleting VN ctest-vn-23178868 2025-04-21 02:18:09,010 - DEBUG - VN ff82101d-45c4-42f1-af56-2755c986e3fd still in use: Unable to complete operation on network ff82101d-45c4-42f1-af56-2755c986e3fd. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-fd2d9a9a-3f99-4521-a898-758d42454d56'] 2025-04-21 02:18:09,010 - WARNING - Deleting VN ctest-vn-23178868 failed..Will retry 2025-04-21 02:18:11,124 - DEBUG - Response for deleting network () 2025-04-21 02:18:11,124 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/486de92e-35d7-4fb0-a130-e89295c64d26 2025-04-21 02:18:11,130 - DEBUG - Response Code: 404 2025-04-21 02:18:11,130 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-04-21 02:18:11,135 - DEBUG - Requesting: http://10.0.0.130:8082/domain/664ed5a6-6ec0-4e3d-bfbe-2a247298e038 2025-04-21 02:18:11,186 - DEBUG - Requesting: http://10.0.0.130:8082/project/1ce884d7-c089-45dd-a55e-1ad5aee4517d 2025-04-21 02:18:11,267 - INFO - Validated that VN ctest-vn-23178868 is not found in API Server 2025-04-21 02:18:11,281 - DEBUG - VN ctest-vn-23178868 is not present in Agent 10.0.0.130 2025-04-21 02:18:11,281 - INFO - Validated that VN ctest-vn-23178868 is not in any agent 2025-04-21 02:18:11,299 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-23178868 info 2025-04-21 02:18:11,299 - INFO - Deleting VN ctest-vn-01610794 2025-04-21 02:18:11,405 - DEBUG - Response for deleting network () 2025-04-21 02:18:11,405 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/17f12254-5c68-4a3e-9efc-0b51421d419c 2025-04-21 02:18:11,410 - DEBUG - Response Code: 404 2025-04-21 02:18:11,411 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-04-21 02:18:11,418 - DEBUG - Requesting: http://10.0.0.130:8082/domain/664ed5a6-6ec0-4e3d-bfbe-2a247298e038 2025-04-21 02:18:11,471 - DEBUG - Requesting: http://10.0.0.130:8082/project/1ce884d7-c089-45dd-a55e-1ad5aee4517d 2025-04-21 02:18:11,541 - INFO - Validated that VN ctest-vn-01610794 is not found in API Server 2025-04-21 02:18:11,552 - DEBUG - VN ctest-vn-01610794 is not present in Agent 10.0.0.130 2025-04-21 02:18:11,552 - INFO - Validated that VN ctest-vn-01610794 is not in any agent 2025-04-21 02:18:11,567 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-01610794 info 2025-04-21 02:18:11,823 - DEBUG - No XMPP flaps were noticed during the test
2025-04-21 02:18:11,823 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-04-21 02:18:11,823 - INFO - -------------------------------------------------------------------------------- 2025-04-21 02:18:12,514 - INFO - Deleted project: ctest-TestBasicPolicy-23433883, ID : 1ce884d7-c089-45dd-a55e-1ad5aee4517d