2025-08-13 15:41:27,538 - INFO - Domain Default found not creating 2025-08-13 15:41:27,669 - INFO - Project ctest-TestBasicPolicy-55805435 not found, creating it 2025-08-13 15:41:28,129 - INFO - Created Project:ctest-TestBasicPolicy-55805435, ID : 82cf8fc0-2398-4b6a-a3c2-75ce46fe4a87 2025-08-13 15:41:29,506 - INFO - ================================================================================ 2025-08-13 15:41:29,506 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-13 15:41:29,506 - 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-08-13 15:41:29,764 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.17': '0'}} with 2025-08-13 15:41:29,764 - INFO - Initial checks done. Running the testcase now 2025-08-13 15:41:29,764 - INFO - 2025-08-13 15:41:30,278 - DEBUG - Response for create_network : {'network': {'id': 'df76f00c-b38f-4b4e-b5b3-a427a3cb566f', 'name': 'ctest-vn-47555303', 'tenant_id': '82cf8fc023984b6aa3c275ce46fe4a87', 'project_id': '82cf8fc023984b6aa3c275ce46fe4a87', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-55805435', 'ctest-vn-47555303'], 'port_security_enabled': True, 'description': ''}} 2025-08-13 15:41:30,419 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bc2e0c35-3352-4ba7-b150-59e3fa7b3621', 'name': '', 'tenant_id': '82cf8fc023984b6aa3c275ce46fe4a87', 'network_id': 'df76f00c-b38f-4b4e-b5b3-a427a3cb566f', 'ip_version': 4, 'cidr': '159.32.167.64/26', 'allocation_pools': [{'start': '159.32.167.66', 'end': '159.32.167.126'}], 'gateway_ip': '159.32.167.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '159.32.167.66', 'tags': [], 'project_id': '82cf8fc023984b6aa3c275ce46fe4a87'}} 2025-08-13 15:41:30,435 - INFO - Created VN ctest-vn-47555303 2025-08-13 15:41:30,487 - DEBUG - VN ctest-vn-47555303 UUID is df76f00c-b38f-4b4e-b5b3-a427a3cb566f 2025-08-13 15:41:30,756 - DEBUG - Response for create_network : {'network': {'id': '781bce4e-26ce-4bf3-a771-65bd80833e7b', 'name': 'ctest-vn-29379343', 'tenant_id': '82cf8fc023984b6aa3c275ce46fe4a87', 'project_id': '82cf8fc023984b6aa3c275ce46fe4a87', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-55805435', 'ctest-vn-29379343'], 'port_security_enabled': True, 'description': ''}} 2025-08-13 15:41:30,904 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b025d598-76ac-4426-ad30-f4147ca76637', 'name': '', 'tenant_id': '82cf8fc023984b6aa3c275ce46fe4a87', 'network_id': '781bce4e-26ce-4bf3-a771-65bd80833e7b', 'ip_version': 4, 'cidr': '110.77.165.128/26', 'allocation_pools': [{'start': '110.77.165.130', 'end': '110.77.165.190'}], 'gateway_ip': '110.77.165.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '110.77.165.130', 'tags': [], 'project_id': '82cf8fc023984b6aa3c275ce46fe4a87'}} 2025-08-13 15:41:30,919 - INFO - Created VN ctest-vn-29379343 2025-08-13 15:41:30,971 - DEBUG - VN ctest-vn-29379343 UUID is 781bce4e-26ce-4bf3-a771-65bd80833e7b 2025-08-13 15:41:31,111 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-55805435:ctest-vn-47555303, 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-55805435:ctest-vn-29379343, 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-08-13 15:41:31,394 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'df76f00c-b38f-4b4e-b5b3-a427a3cb566f', 'name': 'ctest-vn-47555303', 'tenant_id': '82cf8fc023984b6aa3c275ce46fe4a87', 'project_id': '82cf8fc023984b6aa3c275ce46fe4a87', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['bc2e0c35-3352-4ba7-b150-59e3fa7b3621'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-55805435', 'ctest-vn-47555303'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-55805435', 'ctest-policy-allow-all-60461005']], 'subnet_ipam': [{'subnet_cidr': '159.32.167.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-13 15:41:31,614 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '781bce4e-26ce-4bf3-a771-65bd80833e7b', 'name': 'ctest-vn-29379343', 'tenant_id': '82cf8fc023984b6aa3c275ce46fe4a87', 'project_id': '82cf8fc023984b6aa3c275ce46fe4a87', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b025d598-76ac-4426-ad30-f4147ca76637'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-55805435', 'ctest-vn-29379343'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-55805435', 'ctest-policy-allow-all-60461005']], 'subnet_ipam': [{'subnet_cidr': '110.77.165.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-13 15:41:31,759 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-08-13 15:41:32,053 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-08-13 15:41:32,077 - DEBUG - Requesting: http://10.0.0.141:8082/domain/24455de6-f2a1-4f58-8f9b-7739c5c2c866 2025-08-13 15:41:32,088 - DEBUG - Requesting: http://10.0.0.141:8082/project/82cf8fc0-2398-4b6a-a3c2-75ce46fe4a87 2025-08-13 15:41:32,157 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/df76f00c-b38f-4b4e-b5b3-a427a3cb566f 2025-08-13 15:41:32,166 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/df76f00c-b38f-4b4e-b5b3-a427a3cb566f 2025-08-13 15:41:32,175 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/82740e53-c2e7-4eb6-84c4-84e420fee989 2025-08-13 15:41:32,181 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/82740e53-c2e7-4eb6-84c4-84e420fee989 2025-08-13 15:41:32,187 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/d17bc0cd-d3ea-47e2-9e93-820233173c9e 2025-08-13 15:41:32,192 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-13 15:41:32,192 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/df76f00c-b38f-4b4e-b5b3-a427a3cb566f 2025-08-13 15:41:32,200 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/82740e53-c2e7-4eb6-84c4-84e420fee989 2025-08-13 15:41:32,212 - INFO - Verified VN network id 11 for VN df76f00c-b38f-4b4e-b5b3-a427a3cb566f 2025-08-13 15:41:32,212 - INFO - Verifications in API Server for VN ctest-vn-47555303 passed 2025-08-13 15:41:32,212 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/df76f00c-b38f-4b4e-b5b3-a427a3cb566f 2025-08-13 15:41:32,221 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/82740e53-c2e7-4eb6-84c4-84e420fee989 2025-08-13 15:41:32,226 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/82740e53-c2e7-4eb6-84c4-84e420fee989 2025-08-13 15:41:32,232 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/d17bc0cd-d3ea-47e2-9e93-820233173c9e 2025-08-13 15:41:32,242 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-55805435:ctest-vn-47555303', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-55805435', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16102321455052573518', 'uuid-lslong': '13092989031854855791'}, 'enable': 'true', 'created': '2025-08-13T15:41:30', 'last-modified': '2025-08-13T15:41:31', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.868853'} 2025-08-13 15:41:32,248 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-13 15:41:32,248 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-47555303 passed 2025-08-13 15:41:32,249 - DEBUG - ====Verifying policy data for ctest-vn-47555303 in API_Server ====== 2025-08-13 15:41:32,249 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-08-13 15:41:32,253 - DEBUG - Requesting: http://10.0.0.141:8082/domain/24455de6-f2a1-4f58-8f9b-7739c5c2c866 2025-08-13 15:41:32,263 - DEBUG - Requesting: http://10.0.0.141:8082/project/82cf8fc0-2398-4b6a-a3c2-75ce46fe4a87 2025-08-13 15:41:32,329 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/df76f00c-b38f-4b4e-b5b3-a427a3cb566f 2025-08-13 15:41:32,338 - DEBUG - ==>Verifying data for policy with id: 85c53fe7-1159-4b99-bcbe-e843a1dd8df6, fqn: ['default-domain', 'ctest-TestBasicPolicy-55805435', 'ctest-policy-allow-all-60461005'] 2025-08-13 15:41:32,338 - INFO - VN ctest-vn-47555303 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-13 15:41:32,338 - DEBUG - Verifying the vn in opserver 2025-08-13 15:41:32,338 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-55805435:ctest-vn-47555303 virtual network link through opserver 10.0.0.141 2025-08-13 15:41:32,338 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2025-08-13 15:41:32,625 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2025-08-13 15:41:32,672 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-55805435:ctest-vn-47555303', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-55805435:ctest-vn-47555303?flat'} 2025-08-13 15:41:32,673 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-55805435:ctest-vn-47555303 is found in opserver 2025-08-13 15:41:32,683 - DEBUG - Do not have enough data to verify VN in agent 2025-08-13 15:41:32,687 - DEBUG - VRF ids for VN ctest-vn-47555303: {} 2025-08-13 15:41:32,687 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-08-13 15:41:32,692 - DEBUG - Requesting: http://10.0.0.141:8082/domain/24455de6-f2a1-4f58-8f9b-7739c5c2c866 2025-08-13 15:41:32,703 - DEBUG - Requesting: http://10.0.0.141:8082/project/82cf8fc0-2398-4b6a-a3c2-75ce46fe4a87 2025-08-13 15:41:32,772 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/781bce4e-26ce-4bf3-a771-65bd80833e7b 2025-08-13 15:41:32,783 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/781bce4e-26ce-4bf3-a771-65bd80833e7b 2025-08-13 15:41:32,792 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/1d29b876-70de-4278-b1c9-6742be52efe3 2025-08-13 15:41:32,798 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/1d29b876-70de-4278-b1c9-6742be52efe3 2025-08-13 15:41:32,804 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/f4d2656c-be7d-4894-aefe-78ada3ffd781 2025-08-13 15:41:32,809 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-13 15:41:32,809 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/781bce4e-26ce-4bf3-a771-65bd80833e7b 2025-08-13 15:41:32,817 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/1d29b876-70de-4278-b1c9-6742be52efe3 2025-08-13 15:41:32,829 - INFO - Verified VN network id 12 for VN 781bce4e-26ce-4bf3-a771-65bd80833e7b 2025-08-13 15:41:32,829 - INFO - Verifications in API Server for VN ctest-vn-29379343 passed 2025-08-13 15:41:32,829 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/781bce4e-26ce-4bf3-a771-65bd80833e7b 2025-08-13 15:41:32,838 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/1d29b876-70de-4278-b1c9-6742be52efe3 2025-08-13 15:41:32,844 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/1d29b876-70de-4278-b1c9-6742be52efe3 2025-08-13 15:41:32,850 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/f4d2656c-be7d-4894-aefe-78ada3ffd781 2025-08-13 15:41:32,860 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-55805435:ctest-vn-29379343', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-55805435', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8654737943976365043', 'uuid-lslong': '12065536741281578619'}, 'enable': 'true', 'created': '2025-08-13T15:41:30', 'last-modified': '2025-08-13T15:41:31', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.266970'} 2025-08-13 15:41:32,866 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-13 15:41:32,866 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-29379343 passed 2025-08-13 15:41:32,866 - DEBUG - ====Verifying policy data for ctest-vn-29379343 in API_Server ====== 2025-08-13 15:41:32,866 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-08-13 15:41:32,876 - DEBUG - Requesting: http://10.0.0.141:8082/domain/24455de6-f2a1-4f58-8f9b-7739c5c2c866 2025-08-13 15:41:32,886 - DEBUG - Requesting: http://10.0.0.141:8082/project/82cf8fc0-2398-4b6a-a3c2-75ce46fe4a87 2025-08-13 15:41:32,954 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/781bce4e-26ce-4bf3-a771-65bd80833e7b 2025-08-13 15:41:32,964 - DEBUG - ==>Verifying data for policy with id: 85c53fe7-1159-4b99-bcbe-e843a1dd8df6, fqn: ['default-domain', 'ctest-TestBasicPolicy-55805435', 'ctest-policy-allow-all-60461005'] 2025-08-13 15:41:32,964 - INFO - VN ctest-vn-29379343 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-13 15:41:32,964 - DEBUG - Verifying the vn in opserver 2025-08-13 15:41:32,964 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-55805435:ctest-vn-29379343 virtual network link through opserver 10.0.0.141 2025-08-13 15:41:32,964 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2025-08-13 15:41:32,973 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-55805435:ctest-vn-29379343', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-55805435:ctest-vn-29379343?flat'} 2025-08-13 15:41:32,973 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-55805435:ctest-vn-29379343 is found in opserver 2025-08-13 15:41:32,983 - DEBUG - Do not have enough data to verify VN in agent 2025-08-13 15:41:32,988 - DEBUG - VRF ids for VN ctest-vn-29379343: {} 2025-08-13 15:41:33,036 - DEBUG - Services list from nova: [, , ] 2025-08-13 15:41:33,978 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3841-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3841-1) 2025-08-13 15:41:35,065 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3841-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3841-1) 2025-08-13 15:41:35,065 - INFO - Waiting for VM ctest-TestBasicPolicy-55805435-76655902 to be up.. 2025-08-13 15:41:35,137 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-13 15:41:40,200 - DEBUG - VM is in ACTIVE state now 2025-08-13 15:41:40,200 - INFO - VM name : ctest-TestBasicPolicy-55805435-76655902 2025-08-13 15:41:40,259 - DEBUG - VM ctest-TestBasicPolicy-55805435-76655902 ID is f93daa7d-66c2-4ecb-9b15-f7a3765a226f 2025-08-13 15:41:40,275 - DEBUG - VM ctest-TestBasicPolicy-55805435-76655902 launched on Node cn-jenkins-deploy-platform-ansible-os-3841-1 2025-08-13 15:41:40,334 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/f93daa7d-66c2-4ecb-9b15-f7a3765a226f 2025-08-13 15:41:40,341 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/55c203cc-2b56-497b-b442-f6c72b44664a 2025-08-13 15:41:43,592 - 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 1020ms') 2025-08-13 15:41:43,592 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-55805435-76655902 failed! 2025-08-13 15:41:43,647 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-55805435:ctest-vn-47555303 is 159.32.167.65 and allocation pool is NOT set 2025-08-13 15:41:45,703 - 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.46 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.328 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.328/1.394/2.460/1.066 ms') 2025-08-13 15:41:45,703 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-55805435-76655902 passed 2025-08-13 15:41:45,856 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-13 15:41:45,856 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-55805435-76655902, IP 159.32.167.67, Port 22 2025-08-13 15:41:46,011 - DEBUG - VM ctest-TestBasicPolicy-55805435-76655902 is ready for SSH connections 2025-08-13 15:41:46,011 - INFO - Waiting for VM ctest-TestBasicPolicy-55805435-09229173 to be up.. 2025-08-13 15:41:46,080 - DEBUG - VM is in ACTIVE state now 2025-08-13 15:41:46,081 - INFO - VM name : ctest-TestBasicPolicy-55805435-09229173 2025-08-13 15:41:46,148 - DEBUG - VM ctest-TestBasicPolicy-55805435-09229173 ID is 108a27f3-05ba-4296-9e10-a460d8d7fa6c 2025-08-13 15:41:46,148 - DEBUG - VM ctest-TestBasicPolicy-55805435-09229173 launched on Node cn-jenkins-deploy-platform-ansible-os-3841-1 2025-08-13 15:41:46,217 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/108a27f3-05ba-4296-9e10-a460d8d7fa6c 2025-08-13 15:41:46,227 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/5fdc9339-c8f3-46cc-b465-d8f71997175d 2025-08-13 15:41:47,463 - 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.71 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.309 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.309/1.510/2.711/1.201 ms') 2025-08-13 15:41:47,464 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-55805435-09229173 passed 2025-08-13 15:41:47,615 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-13 15:41:47,616 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-55805435-09229173, IP 110.77.165.131, Port 22 2025-08-13 15:41:47,771 - DEBUG - VM ctest-TestBasicPolicy-55805435-09229173 is ready for SSH connections 2025-08-13 15:41:47,771 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-13 15:41:47,771 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 110.77.165.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-08-13 15:41:47,771 - DEBUG - ping -s 56 -c 3 -W 1 110.77.165.131 2025-08-13 15:41:51,737 - DEBUG - PING 110.77.165.131 (110.77.165.131): 56 data bytes 64 bytes from 110.77.165.131: seq=0 ttl=63 time=2.973 ms 64 bytes from 110.77.165.131: seq=1 ttl=63 time=0.673 ms 64 bytes from 110.77.165.131: seq=2 ttl=63 time=0.784 ms --- 110.77.165.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.673/1.476/2.973 ms 2025-08-13 15:41:51,737 - INFO - Ping to IP 110.77.165.131 from VM ctest-TestBasicPolicy-55805435-76655902 passed 2025-08-13 15:41:51,907 - DEBUG - Policy Update Response {"network-policy": {"uuid": "85c53fe7-1159-4b99-bcbe-e843a1dd8df6", "href": "http://10.0.0.141:8082/network-policy/85c53fe7-1159-4b99-bcbe-e843a1dd8df6"}} 2025-08-13 15:41:51,907 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-13 15:41:51,907 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 110.77.165.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-08-13 15:41:51,908 - DEBUG - ping -s 56 -c 3 -W 1 110.77.165.131 2025-08-13 15:41:55,096 - DEBUG - PING 110.77.165.131 (110.77.165.131): 56 data bytes --- 110.77.165.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-13 15:41:55,096 - WARNING - Ping to IP 110.77.165.131 from VM ctest-TestBasicPolicy-55805435-76655902 failed 2025-08-13 15:41:55,096 - INFO - Deleting VM ctest-TestBasicPolicy-55805435-09229173 2025-08-13 15:41:55,152 - INFO - Deleting VM ctest-TestBasicPolicy-55805435-76655902 2025-08-13 15:41:55,475 - INFO - Deleted policy ctest-policy-allow-all-60461005 2025-08-13 15:41:55,475 - INFO - Deleting VN ctest-vn-29379343 2025-08-13 15:41:55,505 - DEBUG - VN 781bce4e-26ce-4bf3-a771-65bd80833e7b still in use: Unable to complete operation on network 781bce4e-26ce-4bf3-a771-65bd80833e7b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ec15e52f-ae26-4109-afb5-6dd357001872'] 2025-08-13 15:41:55,505 - WARNING - Deleting VN ctest-vn-29379343 failed..Will retry 2025-08-13 15:41:57,593 - DEBUG - Response for deleting network () 2025-08-13 15:41:57,594 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/1d29b876-70de-4278-b1c9-6742be52efe3 2025-08-13 15:41:57,599 - DEBUG - Response Code: 404 2025-08-13 15:41:57,599 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-08-13 15:41:57,603 - DEBUG - Requesting: http://10.0.0.141:8082/domain/24455de6-f2a1-4f58-8f9b-7739c5c2c866 2025-08-13 15:41:57,660 - DEBUG - Requesting: http://10.0.0.141:8082/project/82cf8fc0-2398-4b6a-a3c2-75ce46fe4a87 2025-08-13 15:41:57,733 - INFO - Validated that VN ctest-vn-29379343 is not found in API Server 2025-08-13 15:41:57,743 - DEBUG - VN ctest-vn-29379343 is not present in Agent 10.0.0.141 2025-08-13 15:41:57,743 - INFO - Validated that VN ctest-vn-29379343 is not in any agent 2025-08-13 15:41:57,758 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-29379343 info 2025-08-13 15:41:57,758 - INFO - Deleting VN ctest-vn-47555303 2025-08-13 15:41:57,845 - DEBUG - Response for deleting network () 2025-08-13 15:41:57,845 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/82740e53-c2e7-4eb6-84c4-84e420fee989 2025-08-13 15:41:57,850 - DEBUG - Response Code: 404 2025-08-13 15:41:57,850 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-08-13 15:41:57,855 - DEBUG - Requesting: http://10.0.0.141:8082/domain/24455de6-f2a1-4f58-8f9b-7739c5c2c866 2025-08-13 15:41:57,908 - DEBUG - Requesting: http://10.0.0.141:8082/project/82cf8fc0-2398-4b6a-a3c2-75ce46fe4a87 2025-08-13 15:41:57,977 - INFO - Validated that VN ctest-vn-47555303 is not found in API Server 2025-08-13 15:41:57,987 - DEBUG - VN ctest-vn-47555303 is not present in Agent 10.0.0.141 2025-08-13 15:41:57,987 - INFO - Validated that VN ctest-vn-47555303 is not in any agent 2025-08-13 15:41:58,001 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-47555303 info 2025-08-13 15:41:58,253 - DEBUG - No XMPP flaps were noticed during the test
2025-08-13 15:41:58,253 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-08-13 15:41:58,253 - INFO - -------------------------------------------------------------------------------- 2025-08-13 15:41:58,886 - INFO - Deleted project: ctest-TestBasicPolicy-55805435, ID : 82cf8fc0-2398-4b6a-a3c2-75ce46fe4a87