2025-08-25 15:28:25,384 - INFO - Domain Default found not creating 2025-08-25 15:28:25,517 - INFO - Project ctest-TestBasicPolicy-10921131 not found, creating it 2025-08-25 15:28:25,994 - INFO - Created Project:ctest-TestBasicPolicy-10921131, ID : 2da3841d-d834-4eb6-9b9f-fd5afbe7d687 2025-08-25 15:28:27,955 - INFO - ================================================================================ 2025-08-25 15:28:27,955 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-25 15:28:27,955 - 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 15:28:28,215 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-08-25 15:28:28,215 - INFO - Initial checks done. Running the testcase now 2025-08-25 15:28:28,215 - INFO - 2025-08-25 15:28:28,753 - DEBUG - Response for create_network : {'network': {'id': '483f58f4-ed46-4dc9-9eb5-b062adbbde9e', 'name': 'ctest-vn-54299250', 'tenant_id': '2da3841dd8344eb69b9ffd5afbe7d687', 'project_id': '2da3841dd8344eb69b9ffd5afbe7d687', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-10921131', 'ctest-vn-54299250'], 'port_security_enabled': True, 'description': ''}} 2025-08-25 15:28:28,888 - DEBUG - Response for create_subnet : {'subnet': {'id': '012c9b76-63d3-4f9d-bcf7-5e69df4b205b', 'name': '', 'tenant_id': '2da3841dd8344eb69b9ffd5afbe7d687', 'network_id': '483f58f4-ed46-4dc9-9eb5-b062adbbde9e', 'ip_version': 4, 'cidr': '17.171.40.192/26', 'allocation_pools': [{'start': '17.171.40.194', 'end': '17.171.40.254'}], 'gateway_ip': '17.171.40.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '17.171.40.194', 'tags': [], 'project_id': '2da3841dd8344eb69b9ffd5afbe7d687'}} 2025-08-25 15:28:28,905 - INFO - Created VN ctest-vn-54299250 2025-08-25 15:28:28,958 - DEBUG - VN ctest-vn-54299250 UUID is 483f58f4-ed46-4dc9-9eb5-b062adbbde9e 2025-08-25 15:28:29,307 - DEBUG - Response for create_network : {'network': {'id': '98015412-2abd-4a39-a080-760a7822c750', 'name': 'ctest-vn-33562712', 'tenant_id': '2da3841dd8344eb69b9ffd5afbe7d687', 'project_id': '2da3841dd8344eb69b9ffd5afbe7d687', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-10921131', 'ctest-vn-33562712'], 'port_security_enabled': True, 'description': ''}} 2025-08-25 15:28:29,538 - DEBUG - Response for create_subnet : {'subnet': {'id': '82936dfc-334e-4db1-aa67-cb549942a0e3', 'name': '', 'tenant_id': '2da3841dd8344eb69b9ffd5afbe7d687', 'network_id': '98015412-2abd-4a39-a080-760a7822c750', 'ip_version': 4, 'cidr': '20.0.81.128/26', 'allocation_pools': [{'start': '20.0.81.130', 'end': '20.0.81.190'}], 'gateway_ip': '20.0.81.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '20.0.81.130', 'tags': [], 'project_id': '2da3841dd8344eb69b9ffd5afbe7d687'}} 2025-08-25 15:28:29,555 - INFO - Created VN ctest-vn-33562712 2025-08-25 15:28:29,606 - DEBUG - VN ctest-vn-33562712 UUID is 98015412-2abd-4a39-a080-760a7822c750 2025-08-25 15:28:29,754 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-10921131:ctest-vn-54299250, 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-10921131:ctest-vn-33562712, 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 15:28:30,061 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '483f58f4-ed46-4dc9-9eb5-b062adbbde9e', 'name': 'ctest-vn-54299250', 'tenant_id': '2da3841dd8344eb69b9ffd5afbe7d687', 'project_id': '2da3841dd8344eb69b9ffd5afbe7d687', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['012c9b76-63d3-4f9d-bcf7-5e69df4b205b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-10921131', 'ctest-vn-54299250'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-10921131', 'ctest-policy-allow-all-88054081']], 'subnet_ipam': [{'subnet_cidr': '17.171.40.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-25 15:28:30,331 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '98015412-2abd-4a39-a080-760a7822c750', 'name': 'ctest-vn-33562712', 'tenant_id': '2da3841dd8344eb69b9ffd5afbe7d687', 'project_id': '2da3841dd8344eb69b9ffd5afbe7d687', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['82936dfc-334e-4db1-aa67-cb549942a0e3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-10921131', 'ctest-vn-33562712'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-10921131', 'ctest-policy-allow-all-88054081']], 'subnet_ipam': [{'subnet_cidr': '20.0.81.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-25 15:28:30,482 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-25 15:28:30,777 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-25 15:28:30,802 - DEBUG - Requesting: http://10.0.0.254:8082/domain/dce98733-cf31-450d-9078-7137e59fd3f3 2025-08-25 15:28:30,815 - DEBUG - Requesting: http://10.0.0.254:8082/project/2da3841d-d834-4eb6-9b9f-fd5afbe7d687 2025-08-25 15:28:30,888 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/483f58f4-ed46-4dc9-9eb5-b062adbbde9e 2025-08-25 15:28:30,899 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/483f58f4-ed46-4dc9-9eb5-b062adbbde9e 2025-08-25 15:28:30,908 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/f5d767bc-e471-4ad8-ae8c-56d69d80d1fb 2025-08-25 15:28:30,914 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/f5d767bc-e471-4ad8-ae8c-56d69d80d1fb 2025-08-25 15:28:30,920 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/c56a2609-3f8e-4633-bc33-799f88bc3fa0 2025-08-25 15:28:30,926 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-25 15:28:30,927 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/483f58f4-ed46-4dc9-9eb5-b062adbbde9e 2025-08-25 15:28:30,936 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/f5d767bc-e471-4ad8-ae8c-56d69d80d1fb 2025-08-25 15:28:30,951 - INFO - Verified VN network id 11 for VN 483f58f4-ed46-4dc9-9eb5-b062adbbde9e 2025-08-25 15:28:30,951 - INFO - Verifications in API Server for VN ctest-vn-54299250 passed 2025-08-25 15:28:30,951 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/483f58f4-ed46-4dc9-9eb5-b062adbbde9e 2025-08-25 15:28:30,961 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/f5d767bc-e471-4ad8-ae8c-56d69d80d1fb 2025-08-25 15:28:30,967 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/f5d767bc-e471-4ad8-ae8c-56d69d80d1fb 2025-08-25 15:28:30,974 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/c56a2609-3f8e-4633-bc33-799f88bc3fa0 2025-08-25 15:28:30,987 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-10921131:ctest-vn-54299250', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-10921131', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5205977503239654857', 'uuid-lslong': '11436240766645296798'}, 'enable': 'true', 'created': '2025-08-25T15:28:28', 'last-modified': '2025-08-25T15:28:30', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.962068'} 2025-08-25 15:28:30,993 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-25 15:28:30,993 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-54299250 passed 2025-08-25 15:28:30,993 - DEBUG - ====Verifying policy data for ctest-vn-54299250 in API_Server ====== 2025-08-25 15:28:30,993 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-25 15:28:30,998 - DEBUG - Requesting: http://10.0.0.254:8082/domain/dce98733-cf31-450d-9078-7137e59fd3f3 2025-08-25 15:28:31,009 - DEBUG - Requesting: http://10.0.0.254:8082/project/2da3841d-d834-4eb6-9b9f-fd5afbe7d687 2025-08-25 15:28:31,089 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/483f58f4-ed46-4dc9-9eb5-b062adbbde9e 2025-08-25 15:28:31,098 - DEBUG - ==>Verifying data for policy with id: 904d66b0-0e23-4527-bcb9-f0f0fd66db5b, fqn: ['default-domain', 'ctest-TestBasicPolicy-10921131', 'ctest-policy-allow-all-88054081'] 2025-08-25 15:28:31,098 - INFO - VN ctest-vn-54299250 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-25 15:28:31,098 - DEBUG - Verifying the vn in opserver 2025-08-25 15:28:31,098 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-10921131:ctest-vn-54299250 virtual network link through opserver 10.0.0.254 2025-08-25 15:28:31,098 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-08-25 15:28:31,386 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-08-25 15:28:31,435 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-10921131:ctest-vn-54299250', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-10921131:ctest-vn-54299250?flat'} 2025-08-25 15:28:31,435 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-10921131:ctest-vn-54299250 is found in opserver 2025-08-25 15:28:31,446 - DEBUG - Do not have enough data to verify VN in agent 2025-08-25 15:28:31,451 - DEBUG - VRF ids for VN ctest-vn-54299250: {} 2025-08-25 15:28:31,451 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-25 15:28:31,456 - DEBUG - Requesting: http://10.0.0.254:8082/domain/dce98733-cf31-450d-9078-7137e59fd3f3 2025-08-25 15:28:31,467 - DEBUG - Requesting: http://10.0.0.254:8082/project/2da3841d-d834-4eb6-9b9f-fd5afbe7d687 2025-08-25 15:28:31,535 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/98015412-2abd-4a39-a080-760a7822c750 2025-08-25 15:28:31,551 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/98015412-2abd-4a39-a080-760a7822c750 2025-08-25 15:28:31,564 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/b63278db-2514-45a4-937c-518b5a637191 2025-08-25 15:28:31,572 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/b63278db-2514-45a4-937c-518b5a637191 2025-08-25 15:28:31,578 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/8242a3fe-1451-4467-8284-5b0e1a56e257 2025-08-25 15:28:31,585 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-25 15:28:31,585 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/98015412-2abd-4a39-a080-760a7822c750 2025-08-25 15:28:31,594 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/b63278db-2514-45a4-937c-518b5a637191 2025-08-25 15:28:31,606 - INFO - Verified VN network id 12 for VN 98015412-2abd-4a39-a080-760a7822c750 2025-08-25 15:28:31,607 - INFO - Verifications in API Server for VN ctest-vn-33562712 passed 2025-08-25 15:28:31,607 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/98015412-2abd-4a39-a080-760a7822c750 2025-08-25 15:28:31,616 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/b63278db-2514-45a4-937c-518b5a637191 2025-08-25 15:28:31,622 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/b63278db-2514-45a4-937c-518b5a637191 2025-08-25 15:28:31,628 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/8242a3fe-1451-4467-8284-5b0e1a56e257 2025-08-25 15:28:31,652 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-10921131:ctest-vn-33562712', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-10921131', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10953128205744949817', 'uuid-lslong': '11565373630424729424'}, 'enable': 'true', 'created': '2025-08-25T15:28:29', 'last-modified': '2025-08-25T15:28:30', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.384330'} 2025-08-25 15:28:31,658 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-25 15:28:31,658 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-33562712 passed 2025-08-25 15:28:31,659 - DEBUG - ====Verifying policy data for ctest-vn-33562712 in API_Server ====== 2025-08-25 15:28:31,659 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-25 15:28:31,664 - DEBUG - Requesting: http://10.0.0.254:8082/domain/dce98733-cf31-450d-9078-7137e59fd3f3 2025-08-25 15:28:31,675 - DEBUG - Requesting: http://10.0.0.254:8082/project/2da3841d-d834-4eb6-9b9f-fd5afbe7d687 2025-08-25 15:28:31,755 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/98015412-2abd-4a39-a080-760a7822c750 2025-08-25 15:28:31,765 - DEBUG - ==>Verifying data for policy with id: 904d66b0-0e23-4527-bcb9-f0f0fd66db5b, fqn: ['default-domain', 'ctest-TestBasicPolicy-10921131', 'ctest-policy-allow-all-88054081'] 2025-08-25 15:28:31,765 - INFO - VN ctest-vn-33562712 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-25 15:28:31,766 - DEBUG - Verifying the vn in opserver 2025-08-25 15:28:31,766 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-10921131:ctest-vn-33562712 virtual network link through opserver 10.0.0.254 2025-08-25 15:28:31,766 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-08-25 15:28:31,775 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-10921131:ctest-vn-33562712', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-10921131:ctest-vn-33562712?flat'} 2025-08-25 15:28:31,775 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-10921131:ctest-vn-33562712 is found in opserver 2025-08-25 15:28:31,786 - DEBUG - Do not have enough data to verify VN in agent 2025-08-25 15:28:31,791 - DEBUG - VRF ids for VN ctest-vn-33562712: {} 2025-08-25 15:28:31,842 - DEBUG - Services list from nova: [, , ] 2025-08-25 15:28:32,796 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3924-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3924-1) 2025-08-25 15:28:33,938 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3924-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3924-1) 2025-08-25 15:28:33,938 - INFO - Waiting for VM ctest-TestBasicPolicy-10921131-70932864 to be up.. 2025-08-25 15:28:34,018 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-25 15:28:39,091 - DEBUG - VM is in ACTIVE state now 2025-08-25 15:28:39,091 - INFO - VM name : ctest-TestBasicPolicy-10921131-70932864 2025-08-25 15:28:39,162 - DEBUG - VM ctest-TestBasicPolicy-10921131-70932864 ID is 1e1b8a16-f688-4739-9102-c188c01978d0 2025-08-25 15:28:39,181 - DEBUG - VM ctest-TestBasicPolicy-10921131-70932864 launched on Node cn-jenkins-deploy-platform-ansible-os-3924-1 2025-08-25 15:28:39,253 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/1e1b8a16-f688-4739-9102-c188c01978d0 2025-08-25 15:28:39,262 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/0a93c02d-cb8a-4fe1-80f5-6faab42d63e3 2025-08-25 15:28:42,539 - 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 1032ms') 2025-08-25 15:28:42,539 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-10921131-70932864 failed! 2025-08-25 15:28:42,595 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-10921131:ctest-vn-54299250 is 17.171.40.193 and allocation pool is NOT set 2025-08-25 15:28:44,657 - 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.15 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.408 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.408/1.776/3.145/1.368 ms') 2025-08-25 15:28:44,657 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-10921131-70932864 passed 2025-08-25 15:28:44,806 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 15:28:44,807 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-10921131-70932864, IP 17.171.40.195, Port 22 2025-08-25 15:28:44,963 - DEBUG - VM ctest-TestBasicPolicy-10921131-70932864 is ready for SSH connections 2025-08-25 15:28:44,963 - INFO - Waiting for VM ctest-TestBasicPolicy-10921131-64663499 to be up.. 2025-08-25 15:28:45,033 - DEBUG - VM is in ACTIVE state now 2025-08-25 15:28:45,034 - INFO - VM name : ctest-TestBasicPolicy-10921131-64663499 2025-08-25 15:28:45,107 - DEBUG - VM ctest-TestBasicPolicy-10921131-64663499 ID is ef27d162-2bb0-4046-9f3d-a3679b1e9736 2025-08-25 15:28:45,107 - DEBUG - VM ctest-TestBasicPolicy-10921131-64663499 launched on Node cn-jenkins-deploy-platform-ansible-os-3924-1 2025-08-25 15:28:45,178 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/ef27d162-2bb0-4046-9f3d-a3679b1e9736 2025-08-25 15:28:45,187 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/ef9831c5-73fa-46bc-8126-3acfe4eec2d5 2025-08-25 15:28:46,431 - 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.40 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.377 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.377/1.386/2.396/1.009 ms') 2025-08-25 15:28:46,431 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-10921131-64663499 passed 2025-08-25 15:28:46,582 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 15:28:46,583 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-10921131-64663499, IP 20.0.81.131, Port 22 2025-08-25 15:28:46,748 - DEBUG - VM ctest-TestBasicPolicy-10921131-64663499 is ready for SSH connections 2025-08-25 15:28:46,748 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 15:28:46,748 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 20.0.81.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-25 15:28:46,749 - DEBUG - ping -s 56 -c 3 -W 1 20.0.81.131 2025-08-25 15:28:50,679 - DEBUG - PING 20.0.81.131 (20.0.81.131): 56 data bytes 64 bytes from 20.0.81.131: seq=0 ttl=63 time=3.197 ms 64 bytes from 20.0.81.131: seq=1 ttl=63 time=0.711 ms 64 bytes from 20.0.81.131: seq=2 ttl=63 time=0.697 ms --- 20.0.81.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.697/1.535/3.197 ms 2025-08-25 15:28:50,679 - INFO - Ping to IP 20.0.81.131 from VM ctest-TestBasicPolicy-10921131-70932864 passed 2025-08-25 15:28:50,854 - DEBUG - Policy Update Response {"network-policy": {"uuid": "904d66b0-0e23-4527-bcb9-f0f0fd66db5b", "href": "http://10.0.0.254:8082/network-policy/904d66b0-0e23-4527-bcb9-f0f0fd66db5b"}} 2025-08-25 15:28:50,854 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 15:28:50,855 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 20.0.81.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-25 15:28:50,855 - DEBUG - ping -s 56 -c 3 -W 1 20.0.81.131 2025-08-25 15:28:54,056 - DEBUG - PING 20.0.81.131 (20.0.81.131): 56 data bytes --- 20.0.81.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-25 15:28:54,056 - WARNING - Ping to IP 20.0.81.131 from VM ctest-TestBasicPolicy-10921131-70932864 failed 2025-08-25 15:28:54,056 - INFO - Deleting VM ctest-TestBasicPolicy-10921131-64663499 2025-08-25 15:28:54,132 - INFO - Deleting VM ctest-TestBasicPolicy-10921131-70932864 2025-08-25 15:28:54,520 - INFO - Deleted policy ctest-policy-allow-all-88054081 2025-08-25 15:28:54,520 - INFO - Deleting VN ctest-vn-33562712 2025-08-25 15:28:54,563 - DEBUG - VN 98015412-2abd-4a39-a080-760a7822c750 still in use: Unable to complete operation on network 98015412-2abd-4a39-a080-760a7822c750. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a1420b59-a283-4ee2-880a-2470fe66f88b'] 2025-08-25 15:28:54,564 - WARNING - Deleting VN ctest-vn-33562712 failed..Will retry 2025-08-25 15:28:56,681 - DEBUG - Response for deleting network () 2025-08-25 15:28:56,681 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/b63278db-2514-45a4-937c-518b5a637191 2025-08-25 15:28:56,689 - DEBUG - Response Code: 404 2025-08-25 15:28:56,689 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-25 15:28:56,695 - DEBUG - Requesting: http://10.0.0.254:8082/domain/dce98733-cf31-450d-9078-7137e59fd3f3 2025-08-25 15:28:56,751 - DEBUG - Requesting: http://10.0.0.254:8082/project/2da3841d-d834-4eb6-9b9f-fd5afbe7d687 2025-08-25 15:28:56,822 - INFO - Validated that VN ctest-vn-33562712 is not found in API Server 2025-08-25 15:28:56,832 - DEBUG - VN ctest-vn-33562712 is not present in Agent 10.0.0.254 2025-08-25 15:28:56,832 - INFO - Validated that VN ctest-vn-33562712 is not in any agent 2025-08-25 15:28:56,848 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-33562712 info 2025-08-25 15:28:56,848 - INFO - Deleting VN ctest-vn-54299250 2025-08-25 15:28:56,956 - DEBUG - Response for deleting network () 2025-08-25 15:28:56,956 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/f5d767bc-e471-4ad8-ae8c-56d69d80d1fb 2025-08-25 15:28:56,965 - DEBUG - Response Code: 404 2025-08-25 15:28:56,965 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-25 15:28:56,973 - DEBUG - Requesting: http://10.0.0.254:8082/domain/dce98733-cf31-450d-9078-7137e59fd3f3 2025-08-25 15:28:57,032 - DEBUG - Requesting: http://10.0.0.254:8082/project/2da3841d-d834-4eb6-9b9f-fd5afbe7d687 2025-08-25 15:28:57,106 - INFO - Validated that VN ctest-vn-54299250 is not found in API Server 2025-08-25 15:28:57,117 - DEBUG - VN ctest-vn-54299250 is not present in Agent 10.0.0.254 2025-08-25 15:28:57,117 - INFO - Validated that VN ctest-vn-54299250 is not in any agent 2025-08-25 15:28:57,133 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-54299250 info 2025-08-25 15:28:57,396 - DEBUG - No XMPP flaps were noticed during the test
2025-08-25 15:28:57,396 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-08-25 15:28:57,397 - INFO - -------------------------------------------------------------------------------- 2025-08-25 15:28:58,056 - INFO - Deleted project: ctest-TestBasicPolicy-10921131, ID : 2da3841d-d834-4eb6-9b9f-fd5afbe7d687