2025-10-02 01:51:06,213 - INFO - Domain Default found not creating 2025-10-02 01:51:06,333 - INFO - Project ctest-TestBasicPolicy-83157466 not found, creating it 2025-10-02 01:51:06,746 - INFO - Created Project:ctest-TestBasicPolicy-83157466, ID : d80151a5-af92-46b8-89d4-960688f99e16 2025-10-02 01:51:08,073 - INFO - ================================================================================ 2025-10-02 01:51:08,074 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-02 01:51:08,074 - 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-10-02 01:51:08,332 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-10-02 01:51:08,332 - INFO - Initial checks done. Running the testcase now 2025-10-02 01:51:08,332 - INFO - 2025-10-02 01:51:08,826 - DEBUG - Response for create_network : {'network': {'id': 'f5951365-196a-4ec1-8a44-8f37e0a5f337', 'name': 'ctest-vn-76406479', 'tenant_id': 'd80151a5af9246b889d4960688f99e16', 'project_id': 'd80151a5af9246b889d4960688f99e16', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-83157466', 'ctest-vn-76406479'], 'port_security_enabled': True, 'description': ''}} 2025-10-02 01:51:08,996 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f238da9d-9c23-4053-98bb-aa35fbf51df4', 'name': '', 'tenant_id': 'd80151a5af9246b889d4960688f99e16', 'network_id': 'f5951365-196a-4ec1-8a44-8f37e0a5f337', 'ip_version': 4, 'cidr': '163.57.187.0/26', 'allocation_pools': [{'start': '163.57.187.2', 'end': '163.57.187.62'}], 'gateway_ip': '163.57.187.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '163.57.187.2', 'tags': [], 'project_id': 'd80151a5af9246b889d4960688f99e16'}} 2025-10-02 01:51:09,011 - INFO - Created VN ctest-vn-76406479 2025-10-02 01:51:09,060 - DEBUG - VN ctest-vn-76406479 UUID is f5951365-196a-4ec1-8a44-8f37e0a5f337 2025-10-02 01:51:09,353 - DEBUG - Response for create_network : {'network': {'id': '3fc5a7ca-662e-48a7-8ab1-8f0801c4a6c4', 'name': 'ctest-vn-21707076', 'tenant_id': 'd80151a5af9246b889d4960688f99e16', 'project_id': 'd80151a5af9246b889d4960688f99e16', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-83157466', 'ctest-vn-21707076'], 'port_security_enabled': True, 'description': ''}} 2025-10-02 01:51:09,509 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b2cf7947-cb41-4b63-96d2-43b30aea0ce0', 'name': '', 'tenant_id': 'd80151a5af9246b889d4960688f99e16', 'network_id': '3fc5a7ca-662e-48a7-8ab1-8f0801c4a6c4', 'ip_version': 4, 'cidr': '178.96.105.128/26', 'allocation_pools': [{'start': '178.96.105.130', 'end': '178.96.105.190'}], 'gateway_ip': '178.96.105.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '178.96.105.130', 'tags': [], 'project_id': 'd80151a5af9246b889d4960688f99e16'}} 2025-10-02 01:51:09,523 - INFO - Created VN ctest-vn-21707076 2025-10-02 01:51:09,572 - DEBUG - VN ctest-vn-21707076 UUID is 3fc5a7ca-662e-48a7-8ab1-8f0801c4a6c4 2025-10-02 01:51:09,712 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-83157466:ctest-vn-76406479, 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-83157466:ctest-vn-21707076, 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-10-02 01:51:09,980 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f5951365-196a-4ec1-8a44-8f37e0a5f337', 'name': 'ctest-vn-76406479', 'tenant_id': 'd80151a5af9246b889d4960688f99e16', 'project_id': 'd80151a5af9246b889d4960688f99e16', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f238da9d-9c23-4053-98bb-aa35fbf51df4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-83157466', 'ctest-vn-76406479'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-83157466', 'ctest-policy-allow-all-14529063']], 'subnet_ipam': [{'subnet_cidr': '163.57.187.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-02 01:51:10,193 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3fc5a7ca-662e-48a7-8ab1-8f0801c4a6c4', 'name': 'ctest-vn-21707076', 'tenant_id': 'd80151a5af9246b889d4960688f99e16', 'project_id': 'd80151a5af9246b889d4960688f99e16', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b2cf7947-cb41-4b63-96d2-43b30aea0ce0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-83157466', 'ctest-vn-21707076'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-83157466', 'ctest-policy-allow-all-14529063']], 'subnet_ipam': [{'subnet_cidr': '178.96.105.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-02 01:51:10,340 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-02 01:51:10,632 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-02 01:51:10,659 - DEBUG - Requesting: http://10.0.0.254:8082/domain/07d0a88b-1789-43b3-bb15-a61de59474e7 2025-10-02 01:51:10,668 - DEBUG - Requesting: http://10.0.0.254:8082/project/d80151a5-af92-46b8-89d4-960688f99e16 2025-10-02 01:51:10,741 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/f5951365-196a-4ec1-8a44-8f37e0a5f337 2025-10-02 01:51:10,749 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/f5951365-196a-4ec1-8a44-8f37e0a5f337 2025-10-02 01:51:10,756 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/234ec987-aa5d-454f-9041-c8c9cfb58faf 2025-10-02 01:51:10,764 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/234ec987-aa5d-454f-9041-c8c9cfb58faf 2025-10-02 01:51:10,769 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/33fb5481-8e40-44c4-8a47-a08a714ae868 2025-10-02 01:51:10,773 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-02 01:51:10,773 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/f5951365-196a-4ec1-8a44-8f37e0a5f337 2025-10-02 01:51:10,780 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/234ec987-aa5d-454f-9041-c8c9cfb58faf 2025-10-02 01:51:10,791 - INFO - Verified VN network id 12 for VN f5951365-196a-4ec1-8a44-8f37e0a5f337 2025-10-02 01:51:10,791 - INFO - Verifications in API Server for VN ctest-vn-76406479 passed 2025-10-02 01:51:10,792 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/f5951365-196a-4ec1-8a44-8f37e0a5f337 2025-10-02 01:51:10,799 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/234ec987-aa5d-454f-9041-c8c9cfb58faf 2025-10-02 01:51:10,804 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/234ec987-aa5d-454f-9041-c8c9cfb58faf 2025-10-02 01:51:10,808 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/33fb5481-8e40-44c4-8a47-a08a714ae868 2025-10-02 01:51:10,817 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-83157466:ctest-vn-76406479', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-83157466', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17696071635761254081', 'uuid-lslong': '9963245745805325111'}, 'enable': 'true', 'created': '2025-10-02T01:51:08', 'last-modified': '2025-10-02T01:51:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.853443'} 2025-10-02 01:51:10,822 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-02 01:51:10,822 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-76406479 passed 2025-10-02 01:51:10,822 - DEBUG - ====Verifying policy data for ctest-vn-76406479 in API_Server ====== 2025-10-02 01:51:10,822 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-02 01:51:10,826 - DEBUG - Requesting: http://10.0.0.254:8082/domain/07d0a88b-1789-43b3-bb15-a61de59474e7 2025-10-02 01:51:10,835 - DEBUG - Requesting: http://10.0.0.254:8082/project/d80151a5-af92-46b8-89d4-960688f99e16 2025-10-02 01:51:10,898 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/f5951365-196a-4ec1-8a44-8f37e0a5f337 2025-10-02 01:51:10,906 - DEBUG - ==>Verifying data for policy with id: 2a8d7a29-04d5-4373-bc29-3d40466de639, fqn: ['default-domain', 'ctest-TestBasicPolicy-83157466', 'ctest-policy-allow-all-14529063'] 2025-10-02 01:51:10,906 - INFO - VN ctest-vn-76406479 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-02 01:51:10,906 - DEBUG - Verifying the vn in opserver 2025-10-02 01:51:10,906 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-83157466:ctest-vn-76406479 virtual network link through opserver 10.0.0.254 2025-10-02 01:51:10,906 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-02 01:51:11,193 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-02 01:51:11,240 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-83157466:ctest-vn-76406479', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-83157466:ctest-vn-76406479?flat'} 2025-10-02 01:51:11,240 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-83157466:ctest-vn-76406479 is found in opserver 2025-10-02 01:51:11,248 - DEBUG - Do not have enough data to verify VN in agent 2025-10-02 01:51:11,251 - DEBUG - VRF ids for VN ctest-vn-76406479: {} 2025-10-02 01:51:11,251 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-02 01:51:11,255 - DEBUG - Requesting: http://10.0.0.254:8082/domain/07d0a88b-1789-43b3-bb15-a61de59474e7 2025-10-02 01:51:11,263 - DEBUG - Requesting: http://10.0.0.254:8082/project/d80151a5-af92-46b8-89d4-960688f99e16 2025-10-02 01:51:11,329 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/3fc5a7ca-662e-48a7-8ab1-8f0801c4a6c4 2025-10-02 01:51:11,338 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/3fc5a7ca-662e-48a7-8ab1-8f0801c4a6c4 2025-10-02 01:51:11,345 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/6e5432ee-1ff5-49cd-a9b2-a0c5bf3f6dcc 2025-10-02 01:51:11,350 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/6e5432ee-1ff5-49cd-a9b2-a0c5bf3f6dcc 2025-10-02 01:51:11,355 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/7472a551-06c2-47b7-ade9-12e1a1cf26fb 2025-10-02 01:51:11,360 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-02 01:51:11,360 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/3fc5a7ca-662e-48a7-8ab1-8f0801c4a6c4 2025-10-02 01:51:11,367 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/6e5432ee-1ff5-49cd-a9b2-a0c5bf3f6dcc 2025-10-02 01:51:11,379 - INFO - Verified VN network id 13 for VN 3fc5a7ca-662e-48a7-8ab1-8f0801c4a6c4 2025-10-02 01:51:11,379 - INFO - Verifications in API Server for VN ctest-vn-21707076 passed 2025-10-02 01:51:11,379 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/3fc5a7ca-662e-48a7-8ab1-8f0801c4a6c4 2025-10-02 01:51:11,387 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/6e5432ee-1ff5-49cd-a9b2-a0c5bf3f6dcc 2025-10-02 01:51:11,393 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/6e5432ee-1ff5-49cd-a9b2-a0c5bf3f6dcc 2025-10-02 01:51:11,397 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/7472a551-06c2-47b7-ade9-12e1a1cf26fb 2025-10-02 01:51:11,406 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-83157466:ctest-vn-21707076', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-83157466', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4595263482541000871', 'uuid-lslong': '9993926312664016580'}, 'enable': 'true', 'created': '2025-10-02T01:51:09', 'last-modified': '2025-10-02T01:51:10', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.226566'} 2025-10-02 01:51:11,411 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-02 01:51:11,411 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-21707076 passed 2025-10-02 01:51:11,411 - DEBUG - ====Verifying policy data for ctest-vn-21707076 in API_Server ====== 2025-10-02 01:51:11,411 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-02 01:51:11,415 - DEBUG - Requesting: http://10.0.0.254:8082/domain/07d0a88b-1789-43b3-bb15-a61de59474e7 2025-10-02 01:51:11,423 - DEBUG - Requesting: http://10.0.0.254:8082/project/d80151a5-af92-46b8-89d4-960688f99e16 2025-10-02 01:51:11,487 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/3fc5a7ca-662e-48a7-8ab1-8f0801c4a6c4 2025-10-02 01:51:11,496 - DEBUG - ==>Verifying data for policy with id: 2a8d7a29-04d5-4373-bc29-3d40466de639, fqn: ['default-domain', 'ctest-TestBasicPolicy-83157466', 'ctest-policy-allow-all-14529063'] 2025-10-02 01:51:11,496 - INFO - VN ctest-vn-21707076 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-02 01:51:11,496 - DEBUG - Verifying the vn in opserver 2025-10-02 01:51:11,496 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-83157466:ctest-vn-21707076 virtual network link through opserver 10.0.0.254 2025-10-02 01:51:11,496 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-02 01:51:11,505 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-83157466:ctest-vn-21707076', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-83157466:ctest-vn-21707076?flat'} 2025-10-02 01:51:11,505 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-83157466:ctest-vn-21707076 is found in opserver 2025-10-02 01:51:11,514 - DEBUG - Do not have enough data to verify VN in agent 2025-10-02 01:51:11,518 - DEBUG - VRF ids for VN ctest-vn-21707076: {} 2025-10-02 01:51:11,565 - DEBUG - Services list from nova: [, , ] 2025-10-02 01:51:12,520 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4207-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4207-1) 2025-10-02 01:51:13,535 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4207-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4207-1) 2025-10-02 01:51:13,535 - INFO - Waiting for VM ctest-TestBasicPolicy-83157466-93232004 to be up.. 2025-10-02 01:51:13,597 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-02 01:51:18,659 - DEBUG - VM is in ACTIVE state now 2025-10-02 01:51:18,659 - INFO - VM name : ctest-TestBasicPolicy-83157466-93232004 2025-10-02 01:51:18,719 - DEBUG - VM ctest-TestBasicPolicy-83157466-93232004 ID is bbd81686-58e6-472e-bf5d-998f9d1c57ed 2025-10-02 01:51:18,735 - DEBUG - VM ctest-TestBasicPolicy-83157466-93232004 launched on Node cn-jenkins-deploy-platform-ansible-os-4207-1 2025-10-02 01:51:18,794 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/bbd81686-58e6-472e-bf5d-998f9d1c57ed 2025-10-02 01:51:18,800 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/99ca1adf-fc06-4c9b-8cc9-1109d34c63a7 2025-10-02 01:51:22,082 - 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 1019ms') 2025-10-02 01:51:22,083 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-83157466-93232004 failed! 2025-10-02 01:51:22,136 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-83157466:ctest-vn-76406479 is 163.57.187.1 and allocation pool is NOT set 2025-10-02 01:51:24,193 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=2.84 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.376 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.376/1.605/2.835/1.229 ms') 2025-10-02 01:51:24,193 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-83157466-93232004 passed 2025-10-02 01:51:24,340 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-02 01:51:24,340 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-83157466-93232004, IP 163.57.187.3, Port 22 2025-10-02 01:51:24,491 - DEBUG - VM ctest-TestBasicPolicy-83157466-93232004 is ready for SSH connections 2025-10-02 01:51:24,492 - INFO - Waiting for VM ctest-TestBasicPolicy-83157466-74453101 to be up.. 2025-10-02 01:51:24,553 - DEBUG - VM is in ACTIVE state now 2025-10-02 01:51:24,553 - INFO - VM name : ctest-TestBasicPolicy-83157466-74453101 2025-10-02 01:51:24,613 - DEBUG - VM ctest-TestBasicPolicy-83157466-74453101 ID is adcf158a-dfe6-46ad-afbb-b5d8f357fa36 2025-10-02 01:51:24,613 - DEBUG - VM ctest-TestBasicPolicy-83157466-74453101 launched on Node cn-jenkins-deploy-platform-ansible-os-4207-1 2025-10-02 01:51:24,670 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/adcf158a-dfe6-46ad-afbb-b5d8f357fa36 2025-10-02 01:51:24,677 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/ebc1d072-67c9-4f6f-892e-7e824cba5b3d 2025-10-02 01:51:25,905 - 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.43 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.396 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.396/1.414/2.432/1.018 ms') 2025-10-02 01:51:25,905 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-83157466-74453101 passed 2025-10-02 01:51:26,056 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-02 01:51:26,056 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-83157466-74453101, IP 178.96.105.131, Port 22 2025-10-02 01:51:26,208 - DEBUG - VM ctest-TestBasicPolicy-83157466-74453101 is ready for SSH connections 2025-10-02 01:51:26,208 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-02 01:51:26,208 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 178.96.105.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-02 01:51:26,208 - DEBUG - ping -s 56 -c 3 -W 1 178.96.105.131 2025-10-02 01:51:29,875 - DEBUG - PING 178.96.105.131 (178.96.105.131): 56 data bytes 64 bytes from 178.96.105.131: seq=0 ttl=63 time=2.997 ms 64 bytes from 178.96.105.131: seq=1 ttl=63 time=0.786 ms 64 bytes from 178.96.105.131: seq=2 ttl=63 time=0.610 ms --- 178.96.105.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.610/1.464/2.997 ms 2025-10-02 01:51:29,875 - INFO - Ping to IP 178.96.105.131 from VM ctest-TestBasicPolicy-83157466-93232004 passed 2025-10-02 01:51:30,048 - DEBUG - Policy Update Response {"network-policy": {"uuid": "2a8d7a29-04d5-4373-bc29-3d40466de639", "href": "http://10.0.0.254:8082/network-policy/2a8d7a29-04d5-4373-bc29-3d40466de639"}} 2025-10-02 01:51:30,048 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-02 01:51:30,048 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 178.96.105.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-02 01:51:30,049 - DEBUG - ping -s 56 -c 3 -W 1 178.96.105.131 2025-10-02 01:51:33,241 - DEBUG - PING 178.96.105.131 (178.96.105.131): 56 data bytes 64 bytes from 178.96.105.131: seq=0 ttl=63 time=1.322 ms --- 178.96.105.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.322/1.322/1.322 ms 2025-10-02 01:51:33,241 - WARNING - Ping to IP 178.96.105.131 from VM ctest-TestBasicPolicy-83157466-93232004 failed 2025-10-02 01:51:33,241 - INFO - Deleting VM ctest-TestBasicPolicy-83157466-74453101 2025-10-02 01:51:33,299 - INFO - Deleting VM ctest-TestBasicPolicy-83157466-93232004 2025-10-02 01:51:33,633 - INFO - Deleted policy ctest-policy-allow-all-14529063 2025-10-02 01:51:33,633 - INFO - Deleting VN ctest-vn-21707076 2025-10-02 01:51:33,662 - DEBUG - VN 3fc5a7ca-662e-48a7-8ab1-8f0801c4a6c4 still in use: Unable to complete operation on network 3fc5a7ca-662e-48a7-8ab1-8f0801c4a6c4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-57c67b26-02bf-4336-9fa6-0d071a95721e'] 2025-10-02 01:51:33,662 - WARNING - Deleting VN ctest-vn-21707076 failed..Will retry 2025-10-02 01:51:35,745 - DEBUG - Response for deleting network () 2025-10-02 01:51:35,746 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/6e5432ee-1ff5-49cd-a9b2-a0c5bf3f6dcc 2025-10-02 01:51:35,750 - DEBUG - Response Code: 404 2025-10-02 01:51:35,751 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-02 01:51:35,754 - DEBUG - Requesting: http://10.0.0.254:8082/domain/07d0a88b-1789-43b3-bb15-a61de59474e7 2025-10-02 01:51:35,804 - DEBUG - Requesting: http://10.0.0.254:8082/project/d80151a5-af92-46b8-89d4-960688f99e16 2025-10-02 01:51:35,870 - INFO - Validated that VN ctest-vn-21707076 is not found in API Server 2025-10-02 01:51:35,878 - DEBUG - VN ctest-vn-21707076 is not present in Agent 10.0.0.254 2025-10-02 01:51:35,878 - INFO - Validated that VN ctest-vn-21707076 is not in any agent 2025-10-02 01:51:35,889 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-21707076 info 2025-10-02 01:51:35,889 - INFO - Deleting VN ctest-vn-76406479 2025-10-02 01:51:35,973 - DEBUG - Response for deleting network () 2025-10-02 01:51:35,973 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/234ec987-aa5d-454f-9041-c8c9cfb58faf 2025-10-02 01:51:35,978 - DEBUG - Response Code: 404 2025-10-02 01:51:35,978 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-02 01:51:35,983 - DEBUG - Requesting: http://10.0.0.254:8082/domain/07d0a88b-1789-43b3-bb15-a61de59474e7 2025-10-02 01:51:36,032 - DEBUG - Requesting: http://10.0.0.254:8082/project/d80151a5-af92-46b8-89d4-960688f99e16 2025-10-02 01:51:36,101 - INFO - Validated that VN ctest-vn-76406479 is not found in API Server 2025-10-02 01:51:36,109 - DEBUG - VN ctest-vn-76406479 is not present in Agent 10.0.0.254 2025-10-02 01:51:36,109 - INFO - Validated that VN ctest-vn-76406479 is not in any agent 2025-10-02 01:51:36,120 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-76406479 info 2025-10-02 01:51:36,374 - DEBUG - No XMPP flaps were noticed during the test
2025-10-02 01:51:36,374 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:28]
2025-10-02 01:51:36,374 - INFO - -------------------------------------------------------------------------------- 2025-10-02 01:51:37,031 - INFO - Deleted project: ctest-TestBasicPolicy-83157466, ID : d80151a5-af92-46b8-89d4-960688f99e16