2025-11-12 05:27:29,945 - INFO - Domain Default found not creating 2025-11-12 05:27:30,096 - INFO - Project ctest-TestBasicPolicy-73166768 not found, creating it 2025-11-12 05:27:30,550 - INFO - Created Project:ctest-TestBasicPolicy-73166768, ID : 053da237-df25-49ec-9da9-c46e1c584881 2025-11-12 05:27:31,974 - INFO - ================================================================================ 2025-11-12 05:27:31,974 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-12 05:27:31,974 - 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-12 05:27:32,233 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.20.0.14': '0'}} with 2025-11-12 05:27:32,233 - INFO - Initial checks done. Running the testcase now 2025-11-12 05:27:32,233 - INFO - 2025-11-12 05:27:32,765 - DEBUG - Response for create_network : {'network': {'id': 'f953a4f2-8443-43b7-abea-28d555906351', 'name': 'ctest-vn-63638842', 'tenant_id': '053da237df2549ec9da9c46e1c584881', 'project_id': '053da237df2549ec9da9c46e1c584881', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73166768', 'ctest-vn-63638842'], 'port_security_enabled': True, 'description': ''}} 2025-11-12 05:27:32,933 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dd0cf096-04a4-459d-84eb-616b1510bfb9', 'name': '', 'tenant_id': '053da237df2549ec9da9c46e1c584881', 'network_id': 'f953a4f2-8443-43b7-abea-28d555906351', 'ip_version': 4, 'cidr': '105.142.205.64/26', 'allocation_pools': [{'start': '105.142.205.66', 'end': '105.142.205.126'}], 'gateway_ip': '105.142.205.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '105.142.205.66', 'tags': [], 'project_id': '053da237df2549ec9da9c46e1c584881'}} 2025-11-12 05:27:32,950 - INFO - Created VN ctest-vn-63638842 2025-11-12 05:27:33,002 - DEBUG - VN ctest-vn-63638842 UUID is f953a4f2-8443-43b7-abea-28d555906351 2025-11-12 05:27:33,282 - DEBUG - Response for create_network : {'network': {'id': 'ce98e0cc-deeb-4e56-bfb0-aa599e9c6f1f', 'name': 'ctest-vn-12622654', 'tenant_id': '053da237df2549ec9da9c46e1c584881', 'project_id': '053da237df2549ec9da9c46e1c584881', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73166768', 'ctest-vn-12622654'], 'port_security_enabled': True, 'description': ''}} 2025-11-12 05:27:33,459 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e0f1e002-3b1e-40fa-9727-77ac3ba17d5f', 'name': '', 'tenant_id': '053da237df2549ec9da9c46e1c584881', 'network_id': 'ce98e0cc-deeb-4e56-bfb0-aa599e9c6f1f', 'ip_version': 4, 'cidr': '59.183.10.192/26', 'allocation_pools': [{'start': '59.183.10.194', 'end': '59.183.10.254'}], 'gateway_ip': '59.183.10.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '59.183.10.194', 'tags': [], 'project_id': '053da237df2549ec9da9c46e1c584881'}} 2025-11-12 05:27:33,478 - INFO - Created VN ctest-vn-12622654 2025-11-12 05:27:33,530 - DEBUG - VN ctest-vn-12622654 UUID is ce98e0cc-deeb-4e56-bfb0-aa599e9c6f1f 2025-11-12 05:27:33,682 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-73166768:ctest-vn-63638842, 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-73166768:ctest-vn-12622654, 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-12 05:27:33,972 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f953a4f2-8443-43b7-abea-28d555906351', 'name': 'ctest-vn-63638842', 'tenant_id': '053da237df2549ec9da9c46e1c584881', 'project_id': '053da237df2549ec9da9c46e1c584881', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['dd0cf096-04a4-459d-84eb-616b1510bfb9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73166768', 'ctest-vn-63638842'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-73166768', 'ctest-policy-allow-all-14737621']], 'subnet_ipam': [{'subnet_cidr': '105.142.205.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-12 05:27:34,203 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ce98e0cc-deeb-4e56-bfb0-aa599e9c6f1f', 'name': 'ctest-vn-12622654', 'tenant_id': '053da237df2549ec9da9c46e1c584881', 'project_id': '053da237df2549ec9da9c46e1c584881', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e0f1e002-3b1e-40fa-9727-77ac3ba17d5f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73166768', 'ctest-vn-12622654'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-73166768', 'ctest-policy-allow-all-14737621']], 'subnet_ipam': [{'subnet_cidr': '59.183.10.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-12 05:27:34,354 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2025-11-12 05:27:34,651 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2025-11-12 05:27:34,681 - DEBUG - Requesting: http://10.0.0.129:8082/domain/df91833d-36e6-437d-bdbd-e01edc8c3c81 2025-11-12 05:27:34,692 - DEBUG - Requesting: http://10.0.0.129:8082/project/053da237-df25-49ec-9da9-c46e1c584881 2025-11-12 05:27:34,762 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/f953a4f2-8443-43b7-abea-28d555906351 2025-11-12 05:27:34,772 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/f953a4f2-8443-43b7-abea-28d555906351 2025-11-12 05:27:34,780 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/b48821ae-7150-4340-8fef-d57dc285c177 2025-11-12 05:27:34,786 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/b48821ae-7150-4340-8fef-d57dc285c177 2025-11-12 05:27:34,792 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/56296098-4ab0-495e-bb8e-aff388c46157 2025-11-12 05:27:34,797 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-12 05:27:34,797 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/f953a4f2-8443-43b7-abea-28d555906351 2025-11-12 05:27:34,805 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/b48821ae-7150-4340-8fef-d57dc285c177 2025-11-12 05:27:34,818 - INFO - Verified VN network id 11 for VN f953a4f2-8443-43b7-abea-28d555906351 2025-11-12 05:27:34,818 - INFO - Verifications in API Server for VN ctest-vn-63638842 passed 2025-11-12 05:27:34,818 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/f953a4f2-8443-43b7-abea-28d555906351 2025-11-12 05:27:34,826 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/b48821ae-7150-4340-8fef-d57dc285c177 2025-11-12 05:27:34,833 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/b48821ae-7150-4340-8fef-d57dc285c177 2025-11-12 05:27:34,839 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/56296098-4ab0-495e-bb8e-aff388c46157 2025-11-12 05:27:34,850 - DEBUG - Control-node 10.0.0.129 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-73166768:ctest-vn-63638842', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-73166768', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17965884700019082167', 'uuid-lslong': '12387758621764641617'}, 'enable': 'true', 'created': '2025-11-12T05:27:32', 'last-modified': '2025-11-12T05:27:33', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.898973'} 2025-11-12 05:27:34,856 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-12 05:27:34,857 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-63638842 passed 2025-11-12 05:27:34,857 - DEBUG - ====Verifying policy data for ctest-vn-63638842 in API_Server ====== 2025-11-12 05:27:34,857 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2025-11-12 05:27:34,862 - DEBUG - Requesting: http://10.0.0.129:8082/domain/df91833d-36e6-437d-bdbd-e01edc8c3c81 2025-11-12 05:27:34,873 - DEBUG - Requesting: http://10.0.0.129:8082/project/053da237-df25-49ec-9da9-c46e1c584881 2025-11-12 05:27:34,945 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/f953a4f2-8443-43b7-abea-28d555906351 2025-11-12 05:27:34,954 - DEBUG - ==>Verifying data for policy with id: 4eaf16c2-c653-4137-9c16-50b6435b52d9, fqn: ['default-domain', 'ctest-TestBasicPolicy-73166768', 'ctest-policy-allow-all-14737621'] 2025-11-12 05:27:34,954 - INFO - VN ctest-vn-63638842 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-12 05:27:34,954 - DEBUG - Verifying the vn in opserver 2025-11-12 05:27:34,954 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-73166768:ctest-vn-63638842 virtual network link through opserver 10.0.0.129 2025-11-12 05:27:34,954 - DEBUG - Requesting: http://10.0.0.129:8081/analytics/uves/virtual-networks 2025-11-12 05:27:35,245 - DEBUG - Requesting: http://10.0.0.129:8081/analytics/uves/virtual-networks 2025-11-12 05:27:35,300 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-73166768:ctest-vn-63638842', 'href': 'http://10.0.0.129:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-73166768:ctest-vn-63638842?flat'} 2025-11-12 05:27:35,300 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-73166768:ctest-vn-63638842 is found in opserver 2025-11-12 05:27:35,309 - DEBUG - Do not have enough data to verify VN in agent 2025-11-12 05:27:35,314 - DEBUG - VRF ids for VN ctest-vn-63638842: {} 2025-11-12 05:27:35,314 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2025-11-12 05:27:35,319 - DEBUG - Requesting: http://10.0.0.129:8082/domain/df91833d-36e6-437d-bdbd-e01edc8c3c81 2025-11-12 05:27:35,331 - DEBUG - Requesting: http://10.0.0.129:8082/project/053da237-df25-49ec-9da9-c46e1c584881 2025-11-12 05:27:35,397 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/ce98e0cc-deeb-4e56-bfb0-aa599e9c6f1f 2025-11-12 05:27:35,407 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/ce98e0cc-deeb-4e56-bfb0-aa599e9c6f1f 2025-11-12 05:27:35,415 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/541890ac-961b-430a-954a-98bae605229f 2025-11-12 05:27:35,421 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/541890ac-961b-430a-954a-98bae605229f 2025-11-12 05:27:35,430 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/e3eba1a0-c862-4268-b858-f84d0b019ec9 2025-11-12 05:27:35,437 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-12 05:27:35,437 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/ce98e0cc-deeb-4e56-bfb0-aa599e9c6f1f 2025-11-12 05:27:35,445 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/541890ac-961b-430a-954a-98bae605229f 2025-11-12 05:27:35,459 - INFO - Verified VN network id 12 for VN ce98e0cc-deeb-4e56-bfb0-aa599e9c6f1f 2025-11-12 05:27:35,459 - INFO - Verifications in API Server for VN ctest-vn-12622654 passed 2025-11-12 05:27:35,459 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/ce98e0cc-deeb-4e56-bfb0-aa599e9c6f1f 2025-11-12 05:27:35,468 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/541890ac-961b-430a-954a-98bae605229f 2025-11-12 05:27:35,481 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/541890ac-961b-430a-954a-98bae605229f 2025-11-12 05:27:35,487 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/e3eba1a0-c862-4268-b858-f84d0b019ec9 2025-11-12 05:27:35,498 - DEBUG - Control-node 10.0.0.129 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-73166768:ctest-vn-12622654', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-73166768', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14886895738791087702', 'uuid-lslong': '13812727359035174687'}, 'enable': 'true', 'created': '2025-11-12T05:27:33', 'last-modified': '2025-11-12T05:27:34', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.316068'} 2025-11-12 05:27:35,505 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-12 05:27:35,505 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-12622654 passed 2025-11-12 05:27:35,505 - DEBUG - ====Verifying policy data for ctest-vn-12622654 in API_Server ====== 2025-11-12 05:27:35,505 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2025-11-12 05:27:35,511 - DEBUG - Requesting: http://10.0.0.129:8082/domain/df91833d-36e6-437d-bdbd-e01edc8c3c81 2025-11-12 05:27:35,524 - DEBUG - Requesting: http://10.0.0.129:8082/project/053da237-df25-49ec-9da9-c46e1c584881 2025-11-12 05:27:35,594 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/ce98e0cc-deeb-4e56-bfb0-aa599e9c6f1f 2025-11-12 05:27:35,602 - DEBUG - ==>Verifying data for policy with id: 4eaf16c2-c653-4137-9c16-50b6435b52d9, fqn: ['default-domain', 'ctest-TestBasicPolicy-73166768', 'ctest-policy-allow-all-14737621'] 2025-11-12 05:27:35,602 - INFO - VN ctest-vn-12622654 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-12 05:27:35,602 - DEBUG - Verifying the vn in opserver 2025-11-12 05:27:35,602 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-73166768:ctest-vn-12622654 virtual network link through opserver 10.0.0.129 2025-11-12 05:27:35,602 - DEBUG - Requesting: http://10.0.0.129:8081/analytics/uves/virtual-networks 2025-11-12 05:27:35,610 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-73166768:ctest-vn-12622654', 'href': 'http://10.0.0.129:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-73166768:ctest-vn-12622654?flat'} 2025-11-12 05:27:35,610 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-73166768:ctest-vn-12622654 is found in opserver 2025-11-12 05:27:35,619 - DEBUG - Do not have enough data to verify VN in agent 2025-11-12 05:27:35,625 - DEBUG - VRF ids for VN ctest-vn-12622654: {} 2025-11-12 05:27:35,680 - DEBUG - Services list from nova: [, , ] 2025-11-12 05:27:36,670 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4699-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4699-1) 2025-11-12 05:27:37,779 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4699-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4699-1) 2025-11-12 05:27:37,779 - INFO - Waiting for VM ctest-TestBasicPolicy-73166768-26863703 to be up.. 2025-11-12 05:27:37,857 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-12 05:27:42,932 - DEBUG - VM is in ACTIVE state now 2025-11-12 05:27:42,932 - INFO - VM name : ctest-TestBasicPolicy-73166768-26863703 2025-11-12 05:27:43,016 - DEBUG - VM ctest-TestBasicPolicy-73166768-26863703 ID is 870b2115-d857-4fbf-bdca-b338d831f9bb 2025-11-12 05:27:43,039 - DEBUG - VM ctest-TestBasicPolicy-73166768-26863703 launched on Node cn-jenkins-deploy-platform-ansible-os-4699-1 2025-11-12 05:27:43,115 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/870b2115-d857-4fbf-bdca-b338d831f9bb 2025-11-12 05:27:43,123 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/445bcc9c-c14d-4465-aada-afc6df8bac71 2025-11-12 05:27:46,385 - 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 1014ms') 2025-11-12 05:27:46,385 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-73166768-26863703 failed! 2025-11-12 05:27:46,438 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-73166768:ctest-vn-63638842 is 105.142.205.65 and allocation pool is NOT set 2025-11-12 05:27:48,504 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=9.04 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.03 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.025/5.531/9.037/3.506 ms') 2025-11-12 05:27:48,504 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-73166768-26863703 passed 2025-11-12 05:27:48,654 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 05:27:48,654 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-73166768-26863703, IP 105.142.205.67, Port 22 2025-11-12 05:27:48,810 - DEBUG - VM ctest-TestBasicPolicy-73166768-26863703 is ready for SSH connections 2025-11-12 05:27:48,810 - INFO - Waiting for VM ctest-TestBasicPolicy-73166768-86537063 to be up.. 2025-11-12 05:27:48,886 - DEBUG - VM is in ACTIVE state now 2025-11-12 05:27:48,886 - INFO - VM name : ctest-TestBasicPolicy-73166768-86537063 2025-11-12 05:27:48,962 - DEBUG - VM ctest-TestBasicPolicy-73166768-86537063 ID is c2b42940-a5d0-4555-a5e8-ad394ed811d7 2025-11-12 05:27:48,962 - DEBUG - VM ctest-TestBasicPolicy-73166768-86537063 launched on Node cn-jenkins-deploy-platform-ansible-os-4699-1 2025-11-12 05:27:49,045 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/c2b42940-a5d0-4555-a5e8-ad394ed811d7 2025-11-12 05:27:49,052 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/597481f5-49c3-4cf2-b794-6c4946a02db3 2025-11-12 05:27:50,291 - 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.66 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.458 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.458/2.058/3.659/1.600 ms') 2025-11-12 05:27:50,292 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-73166768-86537063 passed 2025-11-12 05:27:50,442 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 05:27:50,442 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-73166768-86537063, IP 59.183.10.195, Port 22 2025-11-12 05:27:50,616 - DEBUG - VM ctest-TestBasicPolicy-73166768-86537063 is ready for SSH connections 2025-11-12 05:27:50,616 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 05:27:50,617 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 59.183.10.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2025-11-12 05:27:50,617 - DEBUG - ping -s 56 -c 3 -W 1 59.183.10.195 2025-11-12 05:27:54,646 - DEBUG - PING 59.183.10.195 (59.183.10.195): 56 data bytes 64 bytes from 59.183.10.195: seq=0 ttl=63 time=4.280 ms 64 bytes from 59.183.10.195: seq=1 ttl=63 time=0.737 ms 64 bytes from 59.183.10.195: seq=2 ttl=63 time=0.813 ms --- 59.183.10.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.737/1.943/4.280 ms 2025-11-12 05:27:54,646 - INFO - Ping to IP 59.183.10.195 from VM ctest-TestBasicPolicy-73166768-26863703 passed 2025-11-12 05:27:54,822 - DEBUG - Policy Update Response {"network-policy": {"uuid": "4eaf16c2-c653-4137-9c16-50b6435b52d9", "href": "http://10.0.0.129:8082/network-policy/4eaf16c2-c653-4137-9c16-50b6435b52d9"}} 2025-11-12 05:27:54,822 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 05:27:54,822 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 59.183.10.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2025-11-12 05:27:54,822 - DEBUG - ping -s 56 -c 3 -W 1 59.183.10.195 2025-11-12 05:27:58,035 - DEBUG - PING 59.183.10.195 (59.183.10.195): 56 data bytes --- 59.183.10.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-12 05:27:58,035 - WARNING - Ping to IP 59.183.10.195 from VM ctest-TestBasicPolicy-73166768-26863703 failed 2025-11-12 05:27:58,036 - INFO - Deleting VM ctest-TestBasicPolicy-73166768-86537063 2025-11-12 05:27:58,102 - INFO - Deleting VM ctest-TestBasicPolicy-73166768-26863703 2025-11-12 05:27:58,566 - INFO - Deleted policy ctest-policy-allow-all-14737621 2025-11-12 05:27:58,566 - INFO - Deleting VN ctest-vn-12622654 2025-11-12 05:27:58,611 - DEBUG - VN ce98e0cc-deeb-4e56-bfb0-aa599e9c6f1f still in use: Unable to complete operation on network ce98e0cc-deeb-4e56-bfb0-aa599e9c6f1f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-bf669d63-068e-4a55-aac8-41076f9c6bc9'] 2025-11-12 05:27:58,611 - WARNING - Deleting VN ctest-vn-12622654 failed..Will retry 2025-11-12 05:28:00,710 - DEBUG - Response for deleting network () 2025-11-12 05:28:00,710 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/541890ac-961b-430a-954a-98bae605229f 2025-11-12 05:28:00,716 - DEBUG - Response Code: 404 2025-11-12 05:28:00,716 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2025-11-12 05:28:00,721 - DEBUG - Requesting: http://10.0.0.129:8082/domain/df91833d-36e6-437d-bdbd-e01edc8c3c81 2025-11-12 05:28:00,774 - DEBUG - Requesting: http://10.0.0.129:8082/project/053da237-df25-49ec-9da9-c46e1c584881 2025-11-12 05:28:00,846 - INFO - Validated that VN ctest-vn-12622654 is not found in API Server 2025-11-12 05:28:00,855 - DEBUG - VN ctest-vn-12622654 is not present in Agent 10.0.0.129 2025-11-12 05:28:00,855 - INFO - Validated that VN ctest-vn-12622654 is not in any agent 2025-11-12 05:28:00,869 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-12622654 info 2025-11-12 05:28:00,869 - INFO - Deleting VN ctest-vn-63638842 2025-11-12 05:28:00,987 - DEBUG - Response for deleting network () 2025-11-12 05:28:00,987 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/b48821ae-7150-4340-8fef-d57dc285c177 2025-11-12 05:28:00,997 - DEBUG - Response Code: 404 2025-11-12 05:28:00,997 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2025-11-12 05:28:01,003 - DEBUG - Requesting: http://10.0.0.129:8082/domain/df91833d-36e6-437d-bdbd-e01edc8c3c81 2025-11-12 05:28:01,054 - DEBUG - Requesting: http://10.0.0.129:8082/project/053da237-df25-49ec-9da9-c46e1c584881 2025-11-12 05:28:01,124 - INFO - Validated that VN ctest-vn-63638842 is not found in API Server 2025-11-12 05:28:01,133 - DEBUG - VN ctest-vn-63638842 is not present in Agent 10.0.0.129 2025-11-12 05:28:01,133 - INFO - Validated that VN ctest-vn-63638842 is not in any agent 2025-11-12 05:28:01,147 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-63638842 info 2025-11-12 05:28:01,407 - DEBUG - No XMPP flaps were noticed during the test
2025-11-12 05:28:01,407 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-11-12 05:28:01,407 - INFO - -------------------------------------------------------------------------------- 2025-11-12 05:28:02,079 - INFO - Deleted project: ctest-TestBasicPolicy-73166768, ID : 053da237-df25-49ec-9da9-c46e1c584881