2025-08-25 02:15:48,387 - INFO - Domain Default found not creating 2025-08-25 02:15:48,563 - INFO - Project ctest-TestBasicPolicy-98298346 not found, creating it 2025-08-25 02:15:49,085 - INFO - Created Project:ctest-TestBasicPolicy-98298346, ID : 13dc7d80-6686-4963-98d6-9906ce064870 2025-08-25 02:15:50,838 - INFO - ================================================================================ 2025-08-25 02:15:50,839 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-25 02:15:50,839 - 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-25 02:15:51,096 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.20.0.18': '0'}} with 2025-08-25 02:15:51,096 - INFO - Initial checks done. Running the testcase now 2025-08-25 02:15:51,096 - INFO - 2025-08-25 02:15:51,767 - DEBUG - Response for create_network : {'network': {'id': 'f830e314-0086-451d-ae80-1d2a95679046', 'name': 'ctest-vn-07395721', 'tenant_id': '13dc7d806686496398d69906ce064870', 'project_id': '13dc7d806686496398d69906ce064870', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-98298346', 'ctest-vn-07395721'], 'port_security_enabled': True, 'description': ''}} 2025-08-25 02:15:52,013 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a86cfe1d-4a38-4ec1-9920-1059777ca244', 'name': '', 'tenant_id': '13dc7d806686496398d69906ce064870', 'network_id': 'f830e314-0086-451d-ae80-1d2a95679046', 'ip_version': 4, 'cidr': '82.65.143.0/26', 'allocation_pools': [{'start': '82.65.143.2', 'end': '82.65.143.62'}], 'gateway_ip': '82.65.143.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '82.65.143.2', 'tags': [], 'project_id': '13dc7d806686496398d69906ce064870'}} 2025-08-25 02:15:52,036 - INFO - Created VN ctest-vn-07395721 2025-08-25 02:15:52,092 - DEBUG - VN ctest-vn-07395721 UUID is f830e314-0086-451d-ae80-1d2a95679046 2025-08-25 02:15:52,460 - DEBUG - Response for create_network : {'network': {'id': 'ffd3069b-dce2-4c05-bcc5-9b442d46d189', 'name': 'ctest-vn-60106543', 'tenant_id': '13dc7d806686496398d69906ce064870', 'project_id': '13dc7d806686496398d69906ce064870', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-98298346', 'ctest-vn-60106543'], 'port_security_enabled': True, 'description': ''}} 2025-08-25 02:15:52,679 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fa40114b-1394-4292-8666-0d6eb9b86c5d', 'name': '', 'tenant_id': '13dc7d806686496398d69906ce064870', 'network_id': 'ffd3069b-dce2-4c05-bcc5-9b442d46d189', 'ip_version': 4, 'cidr': '7.184.178.128/26', 'allocation_pools': [{'start': '7.184.178.130', 'end': '7.184.178.190'}], 'gateway_ip': '7.184.178.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '7.184.178.130', 'tags': [], 'project_id': '13dc7d806686496398d69906ce064870'}} 2025-08-25 02:15:52,704 - INFO - Created VN ctest-vn-60106543 2025-08-25 02:15:52,759 - DEBUG - VN ctest-vn-60106543 UUID is ffd3069b-dce2-4c05-bcc5-9b442d46d189 2025-08-25 02:15:52,901 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-98298346:ctest-vn-07395721, 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-98298346:ctest-vn-60106543, 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-25 02:15:53,260 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f830e314-0086-451d-ae80-1d2a95679046', 'name': 'ctest-vn-07395721', 'tenant_id': '13dc7d806686496398d69906ce064870', 'project_id': '13dc7d806686496398d69906ce064870', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a86cfe1d-4a38-4ec1-9920-1059777ca244'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-98298346', 'ctest-vn-07395721'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-98298346', 'ctest-policy-allow-all-76214026']], 'subnet_ipam': [{'subnet_cidr': '82.65.143.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-25 02:15:53,583 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ffd3069b-dce2-4c05-bcc5-9b442d46d189', 'name': 'ctest-vn-60106543', 'tenant_id': '13dc7d806686496398d69906ce064870', 'project_id': '13dc7d806686496398d69906ce064870', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['fa40114b-1394-4292-8666-0d6eb9b86c5d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-98298346', 'ctest-vn-60106543'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-98298346', 'ctest-policy-allow-all-76214026']], 'subnet_ipam': [{'subnet_cidr': '7.184.178.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-25 02:15:53,739 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-08-25 02:15:54,052 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-08-25 02:15:54,093 - DEBUG - Requesting: http://10.0.0.23:8082/domain/298a0a08-89c5-4aae-8978-357a462a5d5f 2025-08-25 02:15:54,111 - DEBUG - Requesting: http://10.0.0.23:8082/project/13dc7d80-6686-4963-98d6-9906ce064870 2025-08-25 02:15:54,199 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/f830e314-0086-451d-ae80-1d2a95679046 2025-08-25 02:15:54,217 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/f830e314-0086-451d-ae80-1d2a95679046 2025-08-25 02:15:54,236 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/cee34ead-d277-4546-91ea-3a3a9c006efa 2025-08-25 02:15:54,250 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/cee34ead-d277-4546-91ea-3a3a9c006efa 2025-08-25 02:15:54,262 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/1042da42-add9-4b21-927f-638249b12cf8 2025-08-25 02:15:54,273 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-25 02:15:54,274 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/f830e314-0086-451d-ae80-1d2a95679046 2025-08-25 02:15:54,291 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/cee34ead-d277-4546-91ea-3a3a9c006efa 2025-08-25 02:15:54,315 - INFO - Verified VN network id 11 for VN f830e314-0086-451d-ae80-1d2a95679046 2025-08-25 02:15:54,315 - INFO - Verifications in API Server for VN ctest-vn-07395721 passed 2025-08-25 02:15:54,315 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/f830e314-0086-451d-ae80-1d2a95679046 2025-08-25 02:15:54,332 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/cee34ead-d277-4546-91ea-3a3a9c006efa 2025-08-25 02:15:54,353 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/cee34ead-d277-4546-91ea-3a3a9c006efa 2025-08-25 02:15:54,365 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/1042da42-add9-4b21-927f-638249b12cf8 2025-08-25 02:15:54,387 - DEBUG - Control-node 10.0.0.23 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-98298346:ctest-vn-07395721', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-98298346', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17884043795335890205', 'uuid-lslong': '12574082228350849094'}, 'enable': 'true', 'created': '2025-08-25T02:15:51', 'last-modified': '2025-08-25T02:15:53', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.166089'} 2025-08-25 02:15:54,396 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-25 02:15:54,396 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-07395721 passed 2025-08-25 02:15:54,396 - DEBUG - ====Verifying policy data for ctest-vn-07395721 in API_Server ====== 2025-08-25 02:15:54,396 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-08-25 02:15:54,408 - DEBUG - Requesting: http://10.0.0.23:8082/domain/298a0a08-89c5-4aae-8978-357a462a5d5f 2025-08-25 02:15:54,432 - DEBUG - Requesting: http://10.0.0.23:8082/project/13dc7d80-6686-4963-98d6-9906ce064870 2025-08-25 02:15:54,530 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/f830e314-0086-451d-ae80-1d2a95679046 2025-08-25 02:15:54,544 - DEBUG - ==>Verifying data for policy with id: 38032698-6c71-4917-83d0-33223a745937, fqn: ['default-domain', 'ctest-TestBasicPolicy-98298346', 'ctest-policy-allow-all-76214026'] 2025-08-25 02:15:54,544 - INFO - VN ctest-vn-07395721 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-25 02:15:54,545 - DEBUG - Verifying the vn in opserver 2025-08-25 02:15:54,545 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-98298346:ctest-vn-07395721 virtual network link through opserver 10.0.0.23 2025-08-25 02:15:54,545 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2025-08-25 02:15:54,856 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2025-08-25 02:15:54,927 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-98298346:ctest-vn-07395721', 'href': 'http://10.0.0.23:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-98298346:ctest-vn-07395721?flat'} 2025-08-25 02:15:54,927 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-98298346:ctest-vn-07395721 is found in opserver 2025-08-25 02:15:54,941 - DEBUG - Do not have enough data to verify VN in agent 2025-08-25 02:15:54,947 - DEBUG - VRF ids for VN ctest-vn-07395721: {} 2025-08-25 02:15:54,948 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-08-25 02:15:54,958 - DEBUG - Requesting: http://10.0.0.23:8082/domain/298a0a08-89c5-4aae-8978-357a462a5d5f 2025-08-25 02:15:54,975 - DEBUG - Requesting: http://10.0.0.23:8082/project/13dc7d80-6686-4963-98d6-9906ce064870 2025-08-25 02:15:55,056 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/ffd3069b-dce2-4c05-bcc5-9b442d46d189 2025-08-25 02:15:55,072 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/ffd3069b-dce2-4c05-bcc5-9b442d46d189 2025-08-25 02:15:55,084 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/8e37777a-73ed-4576-b099-5927fc9dd05d 2025-08-25 02:15:55,094 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/8e37777a-73ed-4576-b099-5927fc9dd05d 2025-08-25 02:15:55,103 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/292f0d96-428e-45d4-beb3-12494ef1b913 2025-08-25 02:15:55,112 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-25 02:15:55,112 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/ffd3069b-dce2-4c05-bcc5-9b442d46d189 2025-08-25 02:15:55,125 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/8e37777a-73ed-4576-b099-5927fc9dd05d 2025-08-25 02:15:55,143 - INFO - Verified VN network id 12 for VN ffd3069b-dce2-4c05-bcc5-9b442d46d189 2025-08-25 02:15:55,144 - INFO - Verifications in API Server for VN ctest-vn-60106543 passed 2025-08-25 02:15:55,144 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/ffd3069b-dce2-4c05-bcc5-9b442d46d189 2025-08-25 02:15:55,158 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/8e37777a-73ed-4576-b099-5927fc9dd05d 2025-08-25 02:15:55,167 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/8e37777a-73ed-4576-b099-5927fc9dd05d 2025-08-25 02:15:55,175 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/292f0d96-428e-45d4-beb3-12494ef1b913 2025-08-25 02:15:55,191 - DEBUG - Control-node 10.0.0.23 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-98298346:ctest-vn-60106543', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-98298346', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18434084966253087749', 'uuid-lslong': '13602448966662148489'}, 'enable': 'true', 'created': '2025-08-25T02:15:52', 'last-modified': '2025-08-25T02:15:53', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.694320'} 2025-08-25 02:15:55,199 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-25 02:15:55,200 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-60106543 passed 2025-08-25 02:15:55,200 - DEBUG - ====Verifying policy data for ctest-vn-60106543 in API_Server ====== 2025-08-25 02:15:55,200 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-08-25 02:15:55,208 - DEBUG - Requesting: http://10.0.0.23:8082/domain/298a0a08-89c5-4aae-8978-357a462a5d5f 2025-08-25 02:15:55,223 - DEBUG - Requesting: http://10.0.0.23:8082/project/13dc7d80-6686-4963-98d6-9906ce064870 2025-08-25 02:15:55,312 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/ffd3069b-dce2-4c05-bcc5-9b442d46d189 2025-08-25 02:15:55,328 - DEBUG - ==>Verifying data for policy with id: 38032698-6c71-4917-83d0-33223a745937, fqn: ['default-domain', 'ctest-TestBasicPolicy-98298346', 'ctest-policy-allow-all-76214026'] 2025-08-25 02:15:55,328 - INFO - VN ctest-vn-60106543 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-25 02:15:55,328 - DEBUG - Verifying the vn in opserver 2025-08-25 02:15:55,328 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-98298346:ctest-vn-60106543 virtual network link through opserver 10.0.0.23 2025-08-25 02:15:55,329 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2025-08-25 02:15:55,343 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-98298346:ctest-vn-60106543', 'href': 'http://10.0.0.23:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-98298346:ctest-vn-60106543?flat'} 2025-08-25 02:15:55,343 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-98298346:ctest-vn-60106543 is found in opserver 2025-08-25 02:15:55,356 - DEBUG - Do not have enough data to verify VN in agent 2025-08-25 02:15:55,363 - DEBUG - VRF ids for VN ctest-vn-60106543: {} 2025-08-25 02:15:55,438 - DEBUG - Services list from nova: [, , ] 2025-08-25 02:15:56,594 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3916-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3916-1) 2025-08-25 02:15:57,983 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3916-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3916-1) 2025-08-25 02:15:57,984 - INFO - Waiting for VM ctest-TestBasicPolicy-98298346-71037410 to be up.. 2025-08-25 02:15:58,101 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-25 02:16:03,213 - DEBUG - VM is in ACTIVE state now 2025-08-25 02:16:03,213 - INFO - VM name : ctest-TestBasicPolicy-98298346-71037410 2025-08-25 02:16:03,310 - DEBUG - VM ctest-TestBasicPolicy-98298346-71037410 ID is 525d40c2-2f1a-4800-a136-1fa8f1d0e586 2025-08-25 02:16:03,337 - DEBUG - VM ctest-TestBasicPolicy-98298346-71037410 launched on Node cn-jenkins-deploy-platform-ansible-os-3916-1 2025-08-25 02:16:03,426 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/525d40c2-2f1a-4800-a136-1fa8f1d0e586 2025-08-25 02:16:03,438 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/ec417429-66a3-4131-a493-1bcbf3edd3c9 2025-08-25 02:16:06,737 - 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 1030ms') 2025-08-25 02:16:06,737 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-98298346-71037410 failed! 2025-08-25 02:16:06,795 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-98298346:ctest-vn-07395721 is 82.65.143.1 and allocation pool is NOT set 2025-08-25 02:16:10,868 - 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=2 ttl=63 time=3.98 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1006ms\r\nrtt min/avg/max/mdev = 3.977/3.977/3.977/0.000 ms') 2025-08-25 02:16:10,868 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-98298346-71037410 passed 2025-08-25 02:16:11,035 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 02:16:11,036 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-98298346-71037410, IP 82.65.143.3, Port 22 2025-08-25 02:16:11,211 - DEBUG - VM ctest-TestBasicPolicy-98298346-71037410 is ready for SSH connections 2025-08-25 02:16:11,211 - INFO - Waiting for VM ctest-TestBasicPolicy-98298346-41914176 to be up.. 2025-08-25 02:16:11,308 - DEBUG - VM is in ACTIVE state now 2025-08-25 02:16:11,308 - INFO - VM name : ctest-TestBasicPolicy-98298346-41914176 2025-08-25 02:16:11,396 - DEBUG - VM ctest-TestBasicPolicy-98298346-41914176 ID is e391e58d-392e-4e5e-b246-75a5a56b854b 2025-08-25 02:16:11,396 - DEBUG - VM ctest-TestBasicPolicy-98298346-41914176 launched on Node cn-jenkins-deploy-platform-ansible-os-3916-1 2025-08-25 02:16:11,502 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/e391e58d-392e-4e5e-b246-75a5a56b854b 2025-08-25 02:16:11,517 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/f1ffb56d-3929-47f8-8d23-2690d675c4b9 2025-08-25 02:16:12,792 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=4.42 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.528 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.528/2.472/4.417/1.944 ms') 2025-08-25 02:16:12,793 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-98298346-41914176 passed 2025-08-25 02:16:12,955 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 02:16:12,955 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-98298346-41914176, IP 7.184.178.131, Port 22 2025-08-25 02:16:13,123 - DEBUG - VM ctest-TestBasicPolicy-98298346-41914176 is ready for SSH connections 2025-08-25 02:16:13,123 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 02:16:13,123 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 7.184.178.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2025-08-25 02:16:13,123 - DEBUG - ping -s 56 -c 3 -W 1 7.184.178.131 2025-08-25 02:16:16,869 - DEBUG - PING 7.184.178.131 (7.184.178.131): 56 data bytes 64 bytes from 7.184.178.131: seq=0 ttl=63 time=4.373 ms 64 bytes from 7.184.178.131: seq=1 ttl=63 time=1.294 ms 64 bytes from 7.184.178.131: seq=2 ttl=63 time=1.243 ms --- 7.184.178.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.243/2.303/4.373 ms 2025-08-25 02:16:16,869 - INFO - Ping to IP 7.184.178.131 from VM ctest-TestBasicPolicy-98298346-71037410 passed 2025-08-25 02:16:17,071 - DEBUG - Policy Update Response {"network-policy": {"uuid": "38032698-6c71-4917-83d0-33223a745937", "href": "http://10.0.0.23:8082/network-policy/38032698-6c71-4917-83d0-33223a745937"}} 2025-08-25 02:16:17,071 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 02:16:17,071 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 7.184.178.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2025-08-25 02:16:17,072 - DEBUG - ping -s 56 -c 3 -W 1 7.184.178.131 2025-08-25 02:16:20,316 - DEBUG - PING 7.184.178.131 (7.184.178.131): 56 data bytes --- 7.184.178.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-25 02:16:20,316 - WARNING - Ping to IP 7.184.178.131 from VM ctest-TestBasicPolicy-98298346-71037410 failed 2025-08-25 02:16:20,316 - INFO - Deleting VM ctest-TestBasicPolicy-98298346-41914176 2025-08-25 02:16:20,405 - INFO - Deleting VM ctest-TestBasicPolicy-98298346-71037410 2025-08-25 02:16:20,985 - INFO - Deleted policy ctest-policy-allow-all-76214026 2025-08-25 02:16:20,985 - INFO - Deleting VN ctest-vn-60106543 2025-08-25 02:16:21,042 - DEBUG - VN ffd3069b-dce2-4c05-bcc5-9b442d46d189 still in use: Unable to complete operation on network ffd3069b-dce2-4c05-bcc5-9b442d46d189. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1c5250c1-85b0-4227-b520-5f07de3ce4c5'] 2025-08-25 02:16:21,042 - WARNING - Deleting VN ctest-vn-60106543 failed..Will retry 2025-08-25 02:16:23,196 - DEBUG - Response for deleting network () 2025-08-25 02:16:23,196 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/8e37777a-73ed-4576-b099-5927fc9dd05d 2025-08-25 02:16:23,217 - DEBUG - Response Code: 404 2025-08-25 02:16:23,218 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-08-25 02:16:23,233 - DEBUG - Requesting: http://10.0.0.23:8082/domain/298a0a08-89c5-4aae-8978-357a462a5d5f 2025-08-25 02:16:23,252 - DEBUG - Requesting: http://10.0.0.23:8082/project/13dc7d80-6686-4963-98d6-9906ce064870 2025-08-25 02:16:23,341 - INFO - Validated that VN ctest-vn-60106543 is not found in API Server 2025-08-25 02:16:23,359 - DEBUG - VN ctest-vn-60106543 is not present in Agent 10.0.0.23 2025-08-25 02:16:23,359 - INFO - Validated that VN ctest-vn-60106543 is not in any agent 2025-08-25 02:16:23,379 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-60106543 info 2025-08-25 02:16:23,380 - INFO - Deleting VN ctest-vn-07395721 2025-08-25 02:16:23,506 - DEBUG - Response for deleting network () 2025-08-25 02:16:23,506 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/cee34ead-d277-4546-91ea-3a3a9c006efa 2025-08-25 02:16:23,515 - DEBUG - Response Code: 404 2025-08-25 02:16:23,515 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-08-25 02:16:23,521 - DEBUG - Requesting: http://10.0.0.23:8082/domain/298a0a08-89c5-4aae-8978-357a462a5d5f 2025-08-25 02:16:23,582 - DEBUG - Requesting: http://10.0.0.23:8082/project/13dc7d80-6686-4963-98d6-9906ce064870 2025-08-25 02:16:23,659 - INFO - Validated that VN ctest-vn-07395721 is not found in API Server 2025-08-25 02:16:23,673 - DEBUG - VN ctest-vn-07395721 is not present in Agent 10.0.0.23 2025-08-25 02:16:23,673 - INFO - Validated that VN ctest-vn-07395721 is not in any agent 2025-08-25 02:16:23,691 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-07395721 info 2025-08-25 02:16:23,956 - DEBUG - No XMPP flaps were noticed during the test 2025-08-25 02:16:23,956 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:33] 2025-08-25 02:16:23,956 - INFO - -------------------------------------------------------------------------------- 2025-08-25 02:16:24,733 - INFO - Deleted project: ctest-TestBasicPolicy-98298346, ID : 13dc7d80-6686-4963-98d6-9906ce064870