2025-09-04 17:15:39,765 - INFO - Domain Default found not creating 2025-09-04 17:15:39,912 - INFO - Project ctest-TestBasicPolicy-55030584 not found, creating it 2025-09-04 17:15:40,342 - INFO - Created Project:ctest-TestBasicPolicy-55030584, ID : 83332cae-7c48-4948-950a-f7c0c3df4c76 2025-09-04 17:15:41,731 - INFO - ================================================================================ 2025-09-04 17:15:41,731 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-09-04 17:15:41,731 - 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-09-04 17:15:41,983 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-09-04 17:15:41,983 - INFO - Initial checks done. Running the testcase now 2025-09-04 17:15:41,983 - INFO - 2025-09-04 17:15:42,534 - DEBUG - Response for create_network : {'network': {'id': '9bc17ded-2c5b-4f29-8997-0e2b70d70528', 'name': 'ctest-vn-84854028', 'tenant_id': '83332cae7c484948950af7c0c3df4c76', 'project_id': '83332cae7c484948950af7c0c3df4c76', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-55030584', 'ctest-vn-84854028'], 'port_security_enabled': True, 'description': ''}} 2025-09-04 17:15:42,734 - DEBUG - Response for create_subnet : {'subnet': {'id': '35e51b4a-9757-4627-a041-33cbf7abddfe', 'name': '', 'tenant_id': '83332cae7c484948950af7c0c3df4c76', 'network_id': '9bc17ded-2c5b-4f29-8997-0e2b70d70528', 'ip_version': 4, 'cidr': '214.232.80.0/26', 'allocation_pools': [{'start': '214.232.80.2', 'end': '214.232.80.62'}], 'gateway_ip': '214.232.80.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '214.232.80.2', 'tags': [], 'project_id': '83332cae7c484948950af7c0c3df4c76'}} 2025-09-04 17:15:42,751 - INFO - Created VN ctest-vn-84854028 2025-09-04 17:15:42,806 - DEBUG - VN ctest-vn-84854028 UUID is 9bc17ded-2c5b-4f29-8997-0e2b70d70528 2025-09-04 17:15:43,124 - DEBUG - Response for create_network : {'network': {'id': '32c208eb-2f6e-4eba-8c01-0d1e5a2f60f2', 'name': 'ctest-vn-66144365', 'tenant_id': '83332cae7c484948950af7c0c3df4c76', 'project_id': '83332cae7c484948950af7c0c3df4c76', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-55030584', 'ctest-vn-66144365'], 'port_security_enabled': True, 'description': ''}} 2025-09-04 17:15:43,315 - DEBUG - Response for create_subnet : {'subnet': {'id': '9bed721c-1bde-4ddd-a8f2-347f035049c6', 'name': '', 'tenant_id': '83332cae7c484948950af7c0c3df4c76', 'network_id': '32c208eb-2f6e-4eba-8c01-0d1e5a2f60f2', 'ip_version': 4, 'cidr': '167.60.243.64/26', 'allocation_pools': [{'start': '167.60.243.66', 'end': '167.60.243.126'}], 'gateway_ip': '167.60.243.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '167.60.243.66', 'tags': [], 'project_id': '83332cae7c484948950af7c0c3df4c76'}} 2025-09-04 17:15:43,333 - INFO - Created VN ctest-vn-66144365 2025-09-04 17:15:43,385 - DEBUG - VN ctest-vn-66144365 UUID is 32c208eb-2f6e-4eba-8c01-0d1e5a2f60f2 2025-09-04 17:15:43,534 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-55030584:ctest-vn-84854028, 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-55030584:ctest-vn-66144365, 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-09-04 17:15:43,813 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9bc17ded-2c5b-4f29-8997-0e2b70d70528', 'name': 'ctest-vn-84854028', 'tenant_id': '83332cae7c484948950af7c0c3df4c76', 'project_id': '83332cae7c484948950af7c0c3df4c76', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['35e51b4a-9757-4627-a041-33cbf7abddfe'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-55030584', 'ctest-vn-84854028'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-55030584', 'ctest-policy-allow-all-76516562']], 'subnet_ipam': [{'subnet_cidr': '214.232.80.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-04 17:15:44,040 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '32c208eb-2f6e-4eba-8c01-0d1e5a2f60f2', 'name': 'ctest-vn-66144365', 'tenant_id': '83332cae7c484948950af7c0c3df4c76', 'project_id': '83332cae7c484948950af7c0c3df4c76', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9bed721c-1bde-4ddd-a8f2-347f035049c6'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-55030584', 'ctest-vn-66144365'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-55030584', 'ctest-policy-allow-all-76516562']], 'subnet_ipam': [{'subnet_cidr': '167.60.243.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-04 17:15:44,202 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-09-04 17:15:44,491 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-09-04 17:15:44,519 - DEBUG - Requesting: http://10.0.0.50:8082/domain/66e2182a-a588-4e48-a025-e2b3f2a69d82 2025-09-04 17:15:44,530 - DEBUG - Requesting: http://10.0.0.50:8082/project/83332cae-7c48-4948-950a-f7c0c3df4c76 2025-09-04 17:15:44,602 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/9bc17ded-2c5b-4f29-8997-0e2b70d70528 2025-09-04 17:15:44,611 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/9bc17ded-2c5b-4f29-8997-0e2b70d70528 2025-09-04 17:15:44,619 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3c4e11bc-4986-4a77-842e-c4465cf88a33 2025-09-04 17:15:44,626 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3c4e11bc-4986-4a77-842e-c4465cf88a33 2025-09-04 17:15:44,633 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/423c3c18-9f7f-4ba5-8c37-8050c96c4769 2025-09-04 17:15:44,639 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-04 17:15:44,639 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/9bc17ded-2c5b-4f29-8997-0e2b70d70528 2025-09-04 17:15:44,648 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3c4e11bc-4986-4a77-842e-c4465cf88a33 2025-09-04 17:15:44,660 - INFO - Verified VN network id 11 for VN 9bc17ded-2c5b-4f29-8997-0e2b70d70528 2025-09-04 17:15:44,660 - INFO - Verifications in API Server for VN ctest-vn-84854028 passed 2025-09-04 17:15:44,660 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/9bc17ded-2c5b-4f29-8997-0e2b70d70528 2025-09-04 17:15:44,667 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3c4e11bc-4986-4a77-842e-c4465cf88a33 2025-09-04 17:15:44,672 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3c4e11bc-4986-4a77-842e-c4465cf88a33 2025-09-04 17:15:44,677 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/423c3c18-9f7f-4ba5-8c37-8050c96c4769 2025-09-04 17:15:44,686 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-55030584:ctest-vn-84854028', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-55030584', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11223390203988889385', 'uuid-lslong': '9914408684418958632'}, 'enable': 'true', 'created': '2025-09-04T17:15:42', 'last-modified': '2025-09-04T17:15:43', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.888779'} 2025-09-04 17:15:44,691 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-04 17:15:44,691 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-84854028 passed 2025-09-04 17:15:44,691 - DEBUG - ====Verifying policy data for ctest-vn-84854028 in API_Server ====== 2025-09-04 17:15:44,691 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-09-04 17:15:44,696 - DEBUG - Requesting: http://10.0.0.50:8082/domain/66e2182a-a588-4e48-a025-e2b3f2a69d82 2025-09-04 17:15:44,706 - DEBUG - Requesting: http://10.0.0.50:8082/project/83332cae-7c48-4948-950a-f7c0c3df4c76 2025-09-04 17:15:44,778 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/9bc17ded-2c5b-4f29-8997-0e2b70d70528 2025-09-04 17:15:44,787 - DEBUG - ==>Verifying data for policy with id: e0df6c1a-43be-45e4-b1e2-b329fc832f04, fqn: ['default-domain', 'ctest-TestBasicPolicy-55030584', 'ctest-policy-allow-all-76516562'] 2025-09-04 17:15:44,787 - INFO - VN ctest-vn-84854028 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-04 17:15:44,787 - DEBUG - Verifying the vn in opserver 2025-09-04 17:15:44,787 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-55030584:ctest-vn-84854028 virtual network link through opserver 10.0.0.50 2025-09-04 17:15:44,788 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-09-04 17:15:45,093 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-09-04 17:15:45,148 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-55030584:ctest-vn-84854028', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-55030584:ctest-vn-84854028?flat'} 2025-09-04 17:15:45,148 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-55030584:ctest-vn-84854028 is found in opserver 2025-09-04 17:15:45,157 - DEBUG - Do not have enough data to verify VN in agent 2025-09-04 17:15:45,162 - DEBUG - VRF ids for VN ctest-vn-84854028: {} 2025-09-04 17:15:45,162 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-09-04 17:15:45,167 - DEBUG - Requesting: http://10.0.0.50:8082/domain/66e2182a-a588-4e48-a025-e2b3f2a69d82 2025-09-04 17:15:45,177 - DEBUG - Requesting: http://10.0.0.50:8082/project/83332cae-7c48-4948-950a-f7c0c3df4c76 2025-09-04 17:15:45,243 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/32c208eb-2f6e-4eba-8c01-0d1e5a2f60f2 2025-09-04 17:15:45,253 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/32c208eb-2f6e-4eba-8c01-0d1e5a2f60f2 2025-09-04 17:15:45,261 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8fe2347b-4db0-4490-b3e5-85919e238b57 2025-09-04 17:15:45,268 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8fe2347b-4db0-4490-b3e5-85919e238b57 2025-09-04 17:15:45,274 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/35c9452f-5575-4c3f-8da2-8bfb9dc3f647 2025-09-04 17:15:45,280 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-04 17:15:45,280 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/32c208eb-2f6e-4eba-8c01-0d1e5a2f60f2 2025-09-04 17:15:45,288 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8fe2347b-4db0-4490-b3e5-85919e238b57 2025-09-04 17:15:45,300 - INFO - Verified VN network id 12 for VN 32c208eb-2f6e-4eba-8c01-0d1e5a2f60f2 2025-09-04 17:15:45,300 - INFO - Verifications in API Server for VN ctest-vn-66144365 passed 2025-09-04 17:15:45,300 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/32c208eb-2f6e-4eba-8c01-0d1e5a2f60f2 2025-09-04 17:15:45,309 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8fe2347b-4db0-4490-b3e5-85919e238b57 2025-09-04 17:15:45,315 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8fe2347b-4db0-4490-b3e5-85919e238b57 2025-09-04 17:15:45,321 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/35c9452f-5575-4c3f-8da2-8bfb9dc3f647 2025-09-04 17:15:45,332 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-55030584:ctest-vn-66144365', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-55030584', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3657495653584359098', 'uuid-lslong': '10088359064299856114'}, 'enable': 'true', 'created': '2025-09-04T17:15:43', 'last-modified': '2025-09-04T17:15:44', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.318315'} 2025-09-04 17:15:45,337 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-04 17:15:45,338 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-66144365 passed 2025-09-04 17:15:45,338 - DEBUG - ====Verifying policy data for ctest-vn-66144365 in API_Server ====== 2025-09-04 17:15:45,338 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-09-04 17:15:45,343 - DEBUG - Requesting: http://10.0.0.50:8082/domain/66e2182a-a588-4e48-a025-e2b3f2a69d82 2025-09-04 17:15:45,353 - DEBUG - Requesting: http://10.0.0.50:8082/project/83332cae-7c48-4948-950a-f7c0c3df4c76 2025-09-04 17:15:45,426 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/32c208eb-2f6e-4eba-8c01-0d1e5a2f60f2 2025-09-04 17:15:45,433 - DEBUG - ==>Verifying data for policy with id: e0df6c1a-43be-45e4-b1e2-b329fc832f04, fqn: ['default-domain', 'ctest-TestBasicPolicy-55030584', 'ctest-policy-allow-all-76516562'] 2025-09-04 17:15:45,434 - INFO - VN ctest-vn-66144365 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-04 17:15:45,434 - DEBUG - Verifying the vn in opserver 2025-09-04 17:15:45,434 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-55030584:ctest-vn-66144365 virtual network link through opserver 10.0.0.50 2025-09-04 17:15:45,434 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-09-04 17:15:45,443 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-55030584:ctest-vn-66144365', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-55030584:ctest-vn-66144365?flat'} 2025-09-04 17:15:45,443 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-55030584:ctest-vn-66144365 is found in opserver 2025-09-04 17:15:45,454 - DEBUG - Do not have enough data to verify VN in agent 2025-09-04 17:15:45,459 - DEBUG - VRF ids for VN ctest-vn-66144365: {} 2025-09-04 17:15:45,510 - DEBUG - Services list from nova: [, , ] 2025-09-04 17:15:46,520 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4018-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4018-1) 2025-09-04 17:15:47,660 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4018-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4018-1) 2025-09-04 17:15:47,660 - INFO - Waiting for VM ctest-TestBasicPolicy-55030584-14980725 to be up.. 2025-09-04 17:15:47,735 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-04 17:15:52,805 - DEBUG - VM is in ACTIVE state now 2025-09-04 17:15:52,805 - INFO - VM name : ctest-TestBasicPolicy-55030584-14980725 2025-09-04 17:15:52,875 - DEBUG - VM ctest-TestBasicPolicy-55030584-14980725 ID is f6cb7f34-c56e-4fea-8efc-a0961ebb710d 2025-09-04 17:15:52,893 - DEBUG - VM ctest-TestBasicPolicy-55030584-14980725 launched on Node cn-jenkins-deploy-platform-ansible-os-4018-1 2025-09-04 17:15:52,967 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/f6cb7f34-c56e-4fea-8efc-a0961ebb710d 2025-09-04 17:15:52,977 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/c3b873c2-111b-4ac2-b36f-14bf30de0194 2025-09-04 17:15:56,220 - 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 1003ms') 2025-09-04 17:15:56,220 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-55030584-14980725 failed! 2025-09-04 17:15:56,274 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-55030584:ctest-vn-84854028 is 214.232.80.1 and allocation pool is NOT set 2025-09-04 17:15:58,331 - 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=10.0 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.438 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.438/5.243/10.048/4.805 ms') 2025-09-04 17:15:58,331 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-55030584-14980725 passed 2025-09-04 17:15:58,478 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 17:15:58,478 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-55030584-14980725, IP 214.232.80.3, Port 22 2025-09-04 17:15:58,629 - DEBUG - VM ctest-TestBasicPolicy-55030584-14980725 is ready for SSH connections 2025-09-04 17:15:58,629 - INFO - Waiting for VM ctest-TestBasicPolicy-55030584-03700473 to be up.. 2025-09-04 17:15:58,696 - DEBUG - VM is in ACTIVE state now 2025-09-04 17:15:58,696 - INFO - VM name : ctest-TestBasicPolicy-55030584-03700473 2025-09-04 17:15:58,761 - DEBUG - VM ctest-TestBasicPolicy-55030584-03700473 ID is e3c5e4a6-d6fe-47f3-9b7e-47770519c466 2025-09-04 17:15:58,761 - DEBUG - VM ctest-TestBasicPolicy-55030584-03700473 launched on Node cn-jenkins-deploy-platform-ansible-os-4018-1 2025-09-04 17:15:58,827 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/e3c5e4a6-d6fe-47f3-9b7e-47770519c466 2025-09-04 17:15:58,835 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/ff7d131b-367d-4e09-bab4-270e0d9ef102 2025-09-04 17:16:00,063 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=3.13 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.644 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.644/1.886/3.129/1.242 ms') 2025-09-04 17:16:00,063 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-55030584-03700473 passed 2025-09-04 17:16:00,222 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 17:16:00,222 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-55030584-03700473, IP 167.60.243.67, Port 22 2025-09-04 17:16:00,377 - DEBUG - VM ctest-TestBasicPolicy-55030584-03700473 is ready for SSH connections 2025-09-04 17:16:00,377 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 17:16:00,377 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 167.60.243.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-09-04 17:16:00,378 - DEBUG - ping -s 56 -c 3 -W 1 167.60.243.67 2025-09-04 17:16:04,416 - DEBUG - PING 167.60.243.67 (167.60.243.67): 56 data bytes 64 bytes from 167.60.243.67: seq=0 ttl=63 time=3.341 ms 64 bytes from 167.60.243.67: seq=1 ttl=63 time=0.878 ms 64 bytes from 167.60.243.67: seq=2 ttl=63 time=0.999 ms --- 167.60.243.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.878/1.739/3.341 ms 2025-09-04 17:16:04,416 - INFO - Ping to IP 167.60.243.67 from VM ctest-TestBasicPolicy-55030584-14980725 passed 2025-09-04 17:16:04,593 - DEBUG - Policy Update Response {"network-policy": {"uuid": "e0df6c1a-43be-45e4-b1e2-b329fc832f04", "href": "http://10.0.0.50:8082/network-policy/e0df6c1a-43be-45e4-b1e2-b329fc832f04"}} 2025-09-04 17:16:04,593 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 17:16:04,594 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 167.60.243.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-09-04 17:16:04,594 - DEBUG - ping -s 56 -c 3 -W 1 167.60.243.67 2025-09-04 17:16:07,806 - DEBUG - PING 167.60.243.67 (167.60.243.67): 56 data bytes --- 167.60.243.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-04 17:16:07,806 - WARNING - Ping to IP 167.60.243.67 from VM ctest-TestBasicPolicy-55030584-14980725 failed 2025-09-04 17:16:07,806 - INFO - Deleting VM ctest-TestBasicPolicy-55030584-03700473 2025-09-04 17:16:07,869 - INFO - Deleting VM ctest-TestBasicPolicy-55030584-14980725 2025-09-04 17:16:08,246 - INFO - Deleted policy ctest-policy-allow-all-76516562 2025-09-04 17:16:08,246 - INFO - Deleting VN ctest-vn-66144365 2025-09-04 17:16:08,284 - DEBUG - VN 32c208eb-2f6e-4eba-8c01-0d1e5a2f60f2 still in use: Unable to complete operation on network 32c208eb-2f6e-4eba-8c01-0d1e5a2f60f2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e529cd1f-06be-4723-9697-dd9bbf22b738'] 2025-09-04 17:16:08,284 - WARNING - Deleting VN ctest-vn-66144365 failed..Will retry 2025-09-04 17:16:10,383 - DEBUG - Response for deleting network () 2025-09-04 17:16:10,383 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8fe2347b-4db0-4490-b3e5-85919e238b57 2025-09-04 17:16:10,387 - DEBUG - Response Code: 404 2025-09-04 17:16:10,388 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-09-04 17:16:10,392 - DEBUG - Requesting: http://10.0.0.50:8082/domain/66e2182a-a588-4e48-a025-e2b3f2a69d82 2025-09-04 17:16:10,447 - DEBUG - Requesting: http://10.0.0.50:8082/project/83332cae-7c48-4948-950a-f7c0c3df4c76 2025-09-04 17:16:10,515 - INFO - Validated that VN ctest-vn-66144365 is not found in API Server 2025-09-04 17:16:10,525 - DEBUG - VN ctest-vn-66144365 is not present in Agent 10.0.0.50 2025-09-04 17:16:10,525 - INFO - Validated that VN ctest-vn-66144365 is not in any agent 2025-09-04 17:16:10,537 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-66144365 info 2025-09-04 17:16:10,538 - INFO - Deleting VN ctest-vn-84854028 2025-09-04 17:16:10,627 - DEBUG - Response for deleting network () 2025-09-04 17:16:10,627 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3c4e11bc-4986-4a77-842e-c4465cf88a33 2025-09-04 17:16:10,634 - DEBUG - Response Code: 404 2025-09-04 17:16:10,635 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-09-04 17:16:10,639 - DEBUG - Requesting: http://10.0.0.50:8082/domain/66e2182a-a588-4e48-a025-e2b3f2a69d82 2025-09-04 17:16:10,690 - DEBUG - Requesting: http://10.0.0.50:8082/project/83332cae-7c48-4948-950a-f7c0c3df4c76 2025-09-04 17:16:10,760 - INFO - Validated that VN ctest-vn-84854028 is not found in API Server 2025-09-04 17:16:10,769 - DEBUG - VN ctest-vn-84854028 is not present in Agent 10.0.0.50 2025-09-04 17:16:10,769 - INFO - Validated that VN ctest-vn-84854028 is not in any agent 2025-09-04 17:16:10,782 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-84854028 info 2025-09-04 17:16:11,038 - DEBUG - No XMPP flaps were noticed during the test
2025-09-04 17:16:11,038 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-09-04 17:16:11,038 - INFO - -------------------------------------------------------------------------------- 2025-09-04 17:16:11,717 - INFO - Deleted project: ctest-TestBasicPolicy-55030584, ID : 83332cae-7c48-4948-950a-f7c0c3df4c76