2025-07-08 16:23:34,120 - INFO - Domain Default found not creating 2025-07-08 16:23:34,264 - INFO - Project ctest-TestBasicPolicy-83173788 not found, creating it 2025-07-08 16:23:34,740 - INFO - Created Project:ctest-TestBasicPolicy-83173788, ID : 3c6521fc-d9e3-4a9b-8750-3d2e2be83400 2025-07-08 16:23:36,185 - INFO - ================================================================================ 2025-07-08 16:23:36,186 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-07-08 16:23:36,186 - 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-07-08 16:23:36,439 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.14': '0'}} with 2025-07-08 16:23:36,439 - INFO - Initial checks done. Running the testcase now 2025-07-08 16:23:36,439 - INFO - 2025-07-08 16:23:36,988 - DEBUG - Response for create_network : {'network': {'id': 'dfc4c9d9-89b3-4159-ac89-9c8938a8eea1', 'name': 'ctest-vn-96153413', 'tenant_id': '3c6521fcd9e34a9b87503d2e2be83400', 'project_id': '3c6521fcd9e34a9b87503d2e2be83400', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-83173788', 'ctest-vn-96153413'], 'port_security_enabled': True, 'description': ''}} 2025-07-08 16:23:37,168 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd23f84b2-0570-491d-975d-308d443ff8d7', 'name': '', 'tenant_id': '3c6521fcd9e34a9b87503d2e2be83400', 'network_id': 'dfc4c9d9-89b3-4159-ac89-9c8938a8eea1', 'ip_version': 4, 'cidr': '91.144.122.0/26', 'allocation_pools': [{'start': '91.144.122.2', 'end': '91.144.122.62'}], 'gateway_ip': '91.144.122.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '91.144.122.2', 'tags': [], 'project_id': '3c6521fcd9e34a9b87503d2e2be83400'}} 2025-07-08 16:23:37,188 - INFO - Created VN ctest-vn-96153413 2025-07-08 16:23:37,240 - DEBUG - VN ctest-vn-96153413 UUID is dfc4c9d9-89b3-4159-ac89-9c8938a8eea1 2025-07-08 16:23:37,536 - DEBUG - Response for create_network : {'network': {'id': 'b1d37360-0e70-4452-9b0d-886dd52317b7', 'name': 'ctest-vn-79525005', 'tenant_id': '3c6521fcd9e34a9b87503d2e2be83400', 'project_id': '3c6521fcd9e34a9b87503d2e2be83400', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-83173788', 'ctest-vn-79525005'], 'port_security_enabled': True, 'description': ''}} 2025-07-08 16:23:37,735 - DEBUG - Response for create_subnet : {'subnet': {'id': '20e4396f-beb3-410e-8782-182f68442b5f', 'name': '', 'tenant_id': '3c6521fcd9e34a9b87503d2e2be83400', 'network_id': 'b1d37360-0e70-4452-9b0d-886dd52317b7', 'ip_version': 4, 'cidr': '123.22.189.0/26', 'allocation_pools': [{'start': '123.22.189.2', 'end': '123.22.189.62'}], 'gateway_ip': '123.22.189.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '123.22.189.2', 'tags': [], 'project_id': '3c6521fcd9e34a9b87503d2e2be83400'}} 2025-07-08 16:23:37,753 - INFO - Created VN ctest-vn-79525005 2025-07-08 16:23:37,808 - DEBUG - VN ctest-vn-79525005 UUID is b1d37360-0e70-4452-9b0d-886dd52317b7 2025-07-08 16:23:37,925 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-83173788:ctest-vn-96153413, 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-83173788:ctest-vn-79525005, 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-07-08 16:23:38,277 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'dfc4c9d9-89b3-4159-ac89-9c8938a8eea1', 'name': 'ctest-vn-96153413', 'tenant_id': '3c6521fcd9e34a9b87503d2e2be83400', 'project_id': '3c6521fcd9e34a9b87503d2e2be83400', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d23f84b2-0570-491d-975d-308d443ff8d7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-83173788', 'ctest-vn-96153413'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-83173788', 'ctest-policy-allow-all-53611630']], 'subnet_ipam': [{'subnet_cidr': '91.144.122.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-08 16:23:38,568 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b1d37360-0e70-4452-9b0d-886dd52317b7', 'name': 'ctest-vn-79525005', 'tenant_id': '3c6521fcd9e34a9b87503d2e2be83400', 'project_id': '3c6521fcd9e34a9b87503d2e2be83400', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['20e4396f-beb3-410e-8782-182f68442b5f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-83173788', 'ctest-vn-79525005'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-83173788', 'ctest-policy-allow-all-53611630']], 'subnet_ipam': [{'subnet_cidr': '123.22.189.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-08 16:23:38,720 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-07-08 16:23:39,022 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-07-08 16:23:39,050 - DEBUG - Requesting: http://10.0.0.19:8082/domain/06e5ca76-e81f-476c-9a90-322556e3d637 2025-07-08 16:23:39,064 - DEBUG - Requesting: http://10.0.0.19:8082/project/3c6521fc-d9e3-4a9b-8750-3d2e2be83400 2025-07-08 16:23:39,140 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/dfc4c9d9-89b3-4159-ac89-9c8938a8eea1 2025-07-08 16:23:39,153 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/dfc4c9d9-89b3-4159-ac89-9c8938a8eea1 2025-07-08 16:23:39,164 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/8438d9ca-ce11-461d-af3d-199405c3dc77 2025-07-08 16:23:39,174 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/8438d9ca-ce11-461d-af3d-199405c3dc77 2025-07-08 16:23:39,183 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/6294452a-af93-4d5a-b133-918a9b1df8a5 2025-07-08 16:23:39,191 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-08 16:23:39,191 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/dfc4c9d9-89b3-4159-ac89-9c8938a8eea1 2025-07-08 16:23:39,202 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/8438d9ca-ce11-461d-af3d-199405c3dc77 2025-07-08 16:23:39,219 - INFO - Verified VN network id 8 for VN dfc4c9d9-89b3-4159-ac89-9c8938a8eea1 2025-07-08 16:23:39,219 - INFO - Verifications in API Server for VN ctest-vn-96153413 passed 2025-07-08 16:23:39,219 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/dfc4c9d9-89b3-4159-ac89-9c8938a8eea1 2025-07-08 16:23:39,231 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/8438d9ca-ce11-461d-af3d-199405c3dc77 2025-07-08 16:23:39,239 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/8438d9ca-ce11-461d-af3d-199405c3dc77 2025-07-08 16:23:39,247 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/6294452a-af93-4d5a-b133-918a9b1df8a5 2025-07-08 16:23:39,260 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-83173788:ctest-vn-96153413', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-83173788', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16124234502048530777', 'uuid-lslong': '12432640359508012705'}, 'enable': 'true', 'created': '2025-07-08T16:23:36', 'last-modified': '2025-07-08T16:23:38', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.039279'} 2025-07-08 16:23:39,266 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-08 16:23:39,267 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-96153413 passed 2025-07-08 16:23:39,267 - DEBUG - ====Verifying policy data for ctest-vn-96153413 in API_Server ====== 2025-07-08 16:23:39,267 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-07-08 16:23:39,273 - DEBUG - Requesting: http://10.0.0.19:8082/domain/06e5ca76-e81f-476c-9a90-322556e3d637 2025-07-08 16:23:39,285 - DEBUG - Requesting: http://10.0.0.19:8082/project/3c6521fc-d9e3-4a9b-8750-3d2e2be83400 2025-07-08 16:23:39,368 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/dfc4c9d9-89b3-4159-ac89-9c8938a8eea1 2025-07-08 16:23:39,380 - DEBUG - ==>Verifying data for policy with id: 7d2b0f96-fe03-44b9-a6af-92f47e7890c7, fqn: ['default-domain', 'ctest-TestBasicPolicy-83173788', 'ctest-policy-allow-all-53611630'] 2025-07-08 16:23:39,380 - INFO - VN ctest-vn-96153413 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-08 16:23:39,380 - DEBUG - Verifying the vn in opserver 2025-07-08 16:23:39,380 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-83173788:ctest-vn-96153413 virtual network link through opserver 10.0.0.19 2025-07-08 16:23:39,381 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2025-07-08 16:23:39,671 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2025-07-08 16:23:39,728 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-83173788:ctest-vn-96153413', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-83173788:ctest-vn-96153413?flat'} 2025-07-08 16:23:39,728 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-83173788:ctest-vn-96153413 is found in opserver 2025-07-08 16:23:39,739 - DEBUG - Do not have enough data to verify VN in agent 2025-07-08 16:23:39,744 - DEBUG - VRF ids for VN ctest-vn-96153413: {} 2025-07-08 16:23:39,744 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-07-08 16:23:39,750 - DEBUG - Requesting: http://10.0.0.19:8082/domain/06e5ca76-e81f-476c-9a90-322556e3d637 2025-07-08 16:23:39,762 - DEBUG - Requesting: http://10.0.0.19:8082/project/3c6521fc-d9e3-4a9b-8750-3d2e2be83400 2025-07-08 16:23:39,838 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/b1d37360-0e70-4452-9b0d-886dd52317b7 2025-07-08 16:23:39,852 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/b1d37360-0e70-4452-9b0d-886dd52317b7 2025-07-08 16:23:39,862 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/da225e92-d566-4fa4-af34-38c19ad3cd8b 2025-07-08 16:23:39,871 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/da225e92-d566-4fa4-af34-38c19ad3cd8b 2025-07-08 16:23:39,880 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/f26765d5-e3c1-47e4-9903-fd4266efedae 2025-07-08 16:23:39,888 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-08 16:23:39,888 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/b1d37360-0e70-4452-9b0d-886dd52317b7 2025-07-08 16:23:39,900 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/da225e92-d566-4fa4-af34-38c19ad3cd8b 2025-07-08 16:23:39,917 - INFO - Verified VN network id 9 for VN b1d37360-0e70-4452-9b0d-886dd52317b7 2025-07-08 16:23:39,918 - INFO - Verifications in API Server for VN ctest-vn-79525005 passed 2025-07-08 16:23:39,918 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/b1d37360-0e70-4452-9b0d-886dd52317b7 2025-07-08 16:23:39,928 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/da225e92-d566-4fa4-af34-38c19ad3cd8b 2025-07-08 16:23:39,936 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/da225e92-d566-4fa4-af34-38c19ad3cd8b 2025-07-08 16:23:39,943 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/f26765d5-e3c1-47e4-9903-fd4266efedae 2025-07-08 16:23:39,957 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-83173788:ctest-vn-79525005', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-83173788', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12813712221195486290', 'uuid-lslong': '11172736255884728247'}, 'enable': 'true', 'created': '2025-07-08T16:23:37', 'last-modified': '2025-07-08T16:23:38', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.460004'} 2025-07-08 16:23:39,964 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-08 16:23:39,964 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-79525005 passed 2025-07-08 16:23:39,964 - DEBUG - ====Verifying policy data for ctest-vn-79525005 in API_Server ====== 2025-07-08 16:23:39,964 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-07-08 16:23:39,970 - DEBUG - Requesting: http://10.0.0.19:8082/domain/06e5ca76-e81f-476c-9a90-322556e3d637 2025-07-08 16:23:39,988 - DEBUG - Requesting: http://10.0.0.19:8082/project/3c6521fc-d9e3-4a9b-8750-3d2e2be83400 2025-07-08 16:23:40,066 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/b1d37360-0e70-4452-9b0d-886dd52317b7 2025-07-08 16:23:40,079 - DEBUG - ==>Verifying data for policy with id: 7d2b0f96-fe03-44b9-a6af-92f47e7890c7, fqn: ['default-domain', 'ctest-TestBasicPolicy-83173788', 'ctest-policy-allow-all-53611630'] 2025-07-08 16:23:40,079 - INFO - VN ctest-vn-79525005 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-08 16:23:40,079 - DEBUG - Verifying the vn in opserver 2025-07-08 16:23:40,080 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-83173788:ctest-vn-79525005 virtual network link through opserver 10.0.0.19 2025-07-08 16:23:40,080 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2025-07-08 16:23:40,094 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-83173788:ctest-vn-79525005', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-83173788:ctest-vn-79525005?flat'} 2025-07-08 16:23:40,094 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-83173788:ctest-vn-79525005 is found in opserver 2025-07-08 16:23:40,107 - DEBUG - Do not have enough data to verify VN in agent 2025-07-08 16:23:40,112 - DEBUG - VRF ids for VN ctest-vn-79525005: {} 2025-07-08 16:23:40,170 - DEBUG - Services list from nova: [, , ] 2025-07-08 16:23:41,181 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3614-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3614-1) 2025-07-08 16:23:42,453 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3614-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3614-1) 2025-07-08 16:23:42,454 - INFO - Waiting for VM ctest-TestBasicPolicy-83173788-71788147 to be up.. 2025-07-08 16:23:42,534 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-08 16:23:47,617 - DEBUG - VM is in ACTIVE state now 2025-07-08 16:23:47,617 - INFO - VM name : ctest-TestBasicPolicy-83173788-71788147 2025-07-08 16:23:47,697 - DEBUG - VM ctest-TestBasicPolicy-83173788-71788147 ID is e8a29156-9533-4786-b2f3-3f566da0a9ef 2025-07-08 16:23:47,715 - DEBUG - VM ctest-TestBasicPolicy-83173788-71788147 launched on Node cn-jenkins-deploy-platform-ansible-os-3614-1 2025-07-08 16:23:47,794 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/e8a29156-9533-4786-b2f3-3f566da0a9ef 2025-07-08 16:23:47,802 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/b919ffe3-ec6a-47d3-ad56-d3359d7024de 2025-07-08 16:23:51,066 - 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 1023ms') 2025-07-08 16:23:51,067 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-83173788-71788147 failed! 2025-07-08 16:23:51,120 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-83173788:ctest-vn-96153413 is 91.144.122.1 and allocation pool is NOT set 2025-07-08 16:23:53,185 - 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.85 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.540 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.540/2.193/3.846/1.653 ms') 2025-07-08 16:23:53,185 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-83173788-71788147 passed 2025-07-08 16:23:53,340 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-08 16:23:53,341 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-83173788-71788147, IP 91.144.122.3, Port 22 2025-07-08 16:23:53,496 - DEBUG - VM ctest-TestBasicPolicy-83173788-71788147 is ready for SSH connections 2025-07-08 16:23:53,496 - INFO - Waiting for VM ctest-TestBasicPolicy-83173788-26029500 to be up.. 2025-07-08 16:23:53,571 - DEBUG - VM is in ACTIVE state now 2025-07-08 16:23:53,571 - INFO - VM name : ctest-TestBasicPolicy-83173788-26029500 2025-07-08 16:23:53,643 - DEBUG - VM ctest-TestBasicPolicy-83173788-26029500 ID is 14ab51e1-136e-46eb-b90a-63292dbec3f6 2025-07-08 16:23:53,643 - DEBUG - VM ctest-TestBasicPolicy-83173788-26029500 launched on Node cn-jenkins-deploy-platform-ansible-os-3614-1 2025-07-08 16:23:53,713 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/14ab51e1-136e-46eb-b90a-63292dbec3f6 2025-07-08 16:23:53,722 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/3201bb65-03ea-4c58-a316-4021b0baea97 2025-07-08 16:23:54,959 - 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.76 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.566 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.566/1.663/2.760/1.097 ms') 2025-07-08 16:23:54,959 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-83173788-26029500 passed 2025-07-08 16:23:55,112 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-08 16:23:55,113 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-83173788-26029500, IP 123.22.189.3, Port 22 2025-07-08 16:23:55,267 - DEBUG - VM ctest-TestBasicPolicy-83173788-26029500 is ready for SSH connections 2025-07-08 16:23:55,268 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-08 16:23:55,268 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 123.22.189.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-07-08 16:23:55,268 - DEBUG - ping -s 56 -c 3 -W 1 123.22.189.3 2025-07-08 16:23:58,956 - DEBUG - PING 123.22.189.3 (123.22.189.3): 56 data bytes 64 bytes from 123.22.189.3: seq=0 ttl=63 time=3.333 ms 64 bytes from 123.22.189.3: seq=1 ttl=63 time=0.867 ms 64 bytes from 123.22.189.3: seq=2 ttl=63 time=0.777 ms --- 123.22.189.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.777/1.659/3.333 ms 2025-07-08 16:23:58,956 - INFO - Ping to IP 123.22.189.3 from VM ctest-TestBasicPolicy-83173788-71788147 passed 2025-07-08 16:23:59,144 - DEBUG - Policy Update Response {"network-policy": {"uuid": "7d2b0f96-fe03-44b9-a6af-92f47e7890c7", "href": "http://10.0.0.19:8082/network-policy/7d2b0f96-fe03-44b9-a6af-92f47e7890c7"}} 2025-07-08 16:23:59,145 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-08 16:23:59,145 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 123.22.189.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-07-08 16:23:59,145 - DEBUG - ping -s 56 -c 3 -W 1 123.22.189.3 2025-07-08 16:24:02,372 - DEBUG - PING 123.22.189.3 (123.22.189.3): 56 data bytes --- 123.22.189.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-07-08 16:24:02,372 - WARNING - Ping to IP 123.22.189.3 from VM ctest-TestBasicPolicy-83173788-71788147 failed 2025-07-08 16:24:02,372 - INFO - Deleting VM ctest-TestBasicPolicy-83173788-26029500 2025-07-08 16:24:02,438 - INFO - Deleting VM ctest-TestBasicPolicy-83173788-71788147 2025-07-08 16:24:02,886 - INFO - Deleted policy ctest-policy-allow-all-53611630 2025-07-08 16:24:02,886 - INFO - Deleting VN ctest-vn-79525005 2025-07-08 16:24:02,925 - DEBUG - VN b1d37360-0e70-4452-9b0d-886dd52317b7 still in use: Unable to complete operation on network b1d37360-0e70-4452-9b0d-886dd52317b7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6875168b-9e69-475f-b4fd-d869f6e3e68e'] 2025-07-08 16:24:02,925 - WARNING - Deleting VN ctest-vn-79525005 failed..Will retry 2025-07-08 16:24:05,037 - DEBUG - Response for deleting network () 2025-07-08 16:24:05,037 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/da225e92-d566-4fa4-af34-38c19ad3cd8b 2025-07-08 16:24:05,046 - DEBUG - Response Code: 404 2025-07-08 16:24:05,046 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-07-08 16:24:05,053 - DEBUG - Requesting: http://10.0.0.19:8082/domain/06e5ca76-e81f-476c-9a90-322556e3d637 2025-07-08 16:24:05,111 - DEBUG - Requesting: http://10.0.0.19:8082/project/3c6521fc-d9e3-4a9b-8750-3d2e2be83400 2025-07-08 16:24:05,182 - INFO - Validated that VN ctest-vn-79525005 is not found in API Server 2025-07-08 16:24:05,193 - DEBUG - VN ctest-vn-79525005 is not present in Agent 10.0.0.19 2025-07-08 16:24:05,193 - INFO - Validated that VN ctest-vn-79525005 is not in any agent 2025-07-08 16:24:05,209 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-79525005 info 2025-07-08 16:24:05,209 - INFO - Deleting VN ctest-vn-96153413 2025-07-08 16:24:05,323 - DEBUG - Response for deleting network () 2025-07-08 16:24:05,323 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/8438d9ca-ce11-461d-af3d-199405c3dc77 2025-07-08 16:24:05,337 - DEBUG - Response Code: 404 2025-07-08 16:24:05,337 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-07-08 16:24:05,345 - DEBUG - Requesting: http://10.0.0.19:8082/domain/06e5ca76-e81f-476c-9a90-322556e3d637 2025-07-08 16:24:05,403 - DEBUG - Requesting: http://10.0.0.19:8082/project/3c6521fc-d9e3-4a9b-8750-3d2e2be83400 2025-07-08 16:24:05,478 - INFO - Validated that VN ctest-vn-96153413 is not found in API Server 2025-07-08 16:24:05,491 - DEBUG - VN ctest-vn-96153413 is not present in Agent 10.0.0.19 2025-07-08 16:24:05,491 - INFO - Validated that VN ctest-vn-96153413 is not in any agent 2025-07-08 16:24:05,510 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-96153413 info 2025-07-08 16:24:05,763 - DEBUG - No XMPP flaps were noticed during the test
2025-07-08 16:24:05,763 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-07-08 16:24:05,763 - INFO - -------------------------------------------------------------------------------- 2025-07-08 16:24:06,436 - INFO - Deleted project: ctest-TestBasicPolicy-83173788, ID : 3c6521fc-d9e3-4a9b-8750-3d2e2be83400