2025-08-26 11:26:54,467 - INFO - Domain Default found not creating 2025-08-26 11:26:54,612 - INFO - Project ctest-TestBasicPolicy-81578934 not found, creating it 2025-08-26 11:26:55,107 - INFO - Created Project:ctest-TestBasicPolicy-81578934, ID : ebde0344-c1dd-4cd5-af8b-29ce02b839ee 2025-08-26 11:26:56,619 - INFO - ================================================================================ 2025-08-26 11:26:56,619 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-26 11:26:56,620 - 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-26 11:26:56,885 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-08-26 11:26:56,885 - INFO - Initial checks done. Running the testcase now 2025-08-26 11:26:56,885 - INFO - 2025-08-26 11:26:57,431 - DEBUG - Response for create_network : {'network': {'id': '6a740565-4981-4b82-8570-ffe3332c14c7', 'name': 'ctest-vn-90745894', 'tenant_id': 'ebde0344c1dd4cd5af8b29ce02b839ee', 'project_id': 'ebde0344c1dd4cd5af8b29ce02b839ee', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-81578934', 'ctest-vn-90745894'], 'port_security_enabled': True, 'description': ''}} 2025-08-26 11:26:57,610 - DEBUG - Response for create_subnet : {'subnet': {'id': '4b73d118-1507-4049-8269-5f949ee089af', 'name': '', 'tenant_id': 'ebde0344c1dd4cd5af8b29ce02b839ee', 'network_id': '6a740565-4981-4b82-8570-ffe3332c14c7', 'ip_version': 4, 'cidr': '170.90.13.64/26', 'allocation_pools': [{'start': '170.90.13.66', 'end': '170.90.13.126'}], 'gateway_ip': '170.90.13.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '170.90.13.66', 'tags': [], 'project_id': 'ebde0344c1dd4cd5af8b29ce02b839ee'}} 2025-08-26 11:26:57,627 - INFO - Created VN ctest-vn-90745894 2025-08-26 11:26:57,678 - DEBUG - VN ctest-vn-90745894 UUID is 6a740565-4981-4b82-8570-ffe3332c14c7 2025-08-26 11:26:58,010 - DEBUG - Response for create_network : {'network': {'id': '074340c4-86d8-4af1-8329-820d25daa631', 'name': 'ctest-vn-80427384', 'tenant_id': 'ebde0344c1dd4cd5af8b29ce02b839ee', 'project_id': 'ebde0344c1dd4cd5af8b29ce02b839ee', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-81578934', 'ctest-vn-80427384'], 'port_security_enabled': True, 'description': ''}} 2025-08-26 11:26:58,189 - DEBUG - Response for create_subnet : {'subnet': {'id': '7f7d1fe7-54a6-4623-bdec-85168f2c96d0', 'name': '', 'tenant_id': 'ebde0344c1dd4cd5af8b29ce02b839ee', 'network_id': '074340c4-86d8-4af1-8329-820d25daa631', 'ip_version': 4, 'cidr': '129.210.208.0/26', 'allocation_pools': [{'start': '129.210.208.2', 'end': '129.210.208.62'}], 'gateway_ip': '129.210.208.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '129.210.208.2', 'tags': [], 'project_id': 'ebde0344c1dd4cd5af8b29ce02b839ee'}} 2025-08-26 11:26:58,206 - INFO - Created VN ctest-vn-80427384 2025-08-26 11:26:58,258 - DEBUG - VN ctest-vn-80427384 UUID is 074340c4-86d8-4af1-8329-820d25daa631 2025-08-26 11:26:58,374 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-81578934:ctest-vn-90745894, 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-81578934:ctest-vn-80427384, 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-26 11:26:58,689 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6a740565-4981-4b82-8570-ffe3332c14c7', 'name': 'ctest-vn-90745894', 'tenant_id': 'ebde0344c1dd4cd5af8b29ce02b839ee', 'project_id': 'ebde0344c1dd4cd5af8b29ce02b839ee', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4b73d118-1507-4049-8269-5f949ee089af'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-81578934', 'ctest-vn-90745894'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-81578934', 'ctest-policy-allow-all-95865788']], 'subnet_ipam': [{'subnet_cidr': '170.90.13.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-26 11:26:58,968 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '074340c4-86d8-4af1-8329-820d25daa631', 'name': 'ctest-vn-80427384', 'tenant_id': 'ebde0344c1dd4cd5af8b29ce02b839ee', 'project_id': 'ebde0344c1dd4cd5af8b29ce02b839ee', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7f7d1fe7-54a6-4623-bdec-85168f2c96d0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-81578934', 'ctest-vn-80427384'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-81578934', 'ctest-policy-allow-all-95865788']], 'subnet_ipam': [{'subnet_cidr': '129.210.208.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-26 11:26:59,114 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-26 11:26:59,414 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-26 11:26:59,444 - DEBUG - Requesting: http://10.0.0.254:8082/domain/f3a67ef8-eb83-4780-952f-1f211a645aa1 2025-08-26 11:26:59,459 - DEBUG - Requesting: http://10.0.0.254:8082/project/ebde0344-c1dd-4cd5-af8b-29ce02b839ee 2025-08-26 11:26:59,535 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/6a740565-4981-4b82-8570-ffe3332c14c7 2025-08-26 11:26:59,546 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/6a740565-4981-4b82-8570-ffe3332c14c7 2025-08-26 11:26:59,555 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/52b6ddc9-92ef-421c-99ab-e7f4cae2ce86 2025-08-26 11:26:59,562 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/52b6ddc9-92ef-421c-99ab-e7f4cae2ce86 2025-08-26 11:26:59,568 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/580f5850-629c-4d88-ba98-b46bcf2cc91a 2025-08-26 11:26:59,575 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-26 11:26:59,575 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/6a740565-4981-4b82-8570-ffe3332c14c7 2025-08-26 11:26:59,584 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/52b6ddc9-92ef-421c-99ab-e7f4cae2ce86 2025-08-26 11:26:59,598 - INFO - Verified VN network id 12 for VN 6a740565-4981-4b82-8570-ffe3332c14c7 2025-08-26 11:26:59,598 - INFO - Verifications in API Server for VN ctest-vn-90745894 passed 2025-08-26 11:26:59,598 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/6a740565-4981-4b82-8570-ffe3332c14c7 2025-08-26 11:26:59,608 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/52b6ddc9-92ef-421c-99ab-e7f4cae2ce86 2025-08-26 11:26:59,615 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/52b6ddc9-92ef-421c-99ab-e7f4cae2ce86 2025-08-26 11:26:59,622 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/580f5850-629c-4d88-ba98-b46bcf2cc91a 2025-08-26 11:26:59,635 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-81578934:ctest-vn-90745894', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-81578934', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7670761997901843330', 'uuid-lslong': '9615466555717194951'}, 'enable': 'true', 'created': '2025-08-26T11:26:57', 'last-modified': '2025-08-26T11:26:58', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.977274'} 2025-08-26 11:26:59,641 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-26 11:26:59,641 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-90745894 passed 2025-08-26 11:26:59,642 - DEBUG - ====Verifying policy data for ctest-vn-90745894 in API_Server ====== 2025-08-26 11:26:59,642 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-26 11:26:59,647 - DEBUG - Requesting: http://10.0.0.254:8082/domain/f3a67ef8-eb83-4780-952f-1f211a645aa1 2025-08-26 11:26:59,659 - DEBUG - Requesting: http://10.0.0.254:8082/project/ebde0344-c1dd-4cd5-af8b-29ce02b839ee 2025-08-26 11:26:59,739 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/6a740565-4981-4b82-8570-ffe3332c14c7 2025-08-26 11:26:59,749 - DEBUG - ==>Verifying data for policy with id: 846a9cd1-53e5-4761-b25a-2a5fc499107f, fqn: ['default-domain', 'ctest-TestBasicPolicy-81578934', 'ctest-policy-allow-all-95865788'] 2025-08-26 11:26:59,749 - INFO - VN ctest-vn-90745894 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-26 11:26:59,749 - DEBUG - Verifying the vn in opserver 2025-08-26 11:26:59,749 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-81578934:ctest-vn-90745894 virtual network link through opserver 10.0.0.254 2025-08-26 11:26:59,749 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-08-26 11:27:00,045 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-08-26 11:27:00,103 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-81578934:ctest-vn-90745894', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-81578934:ctest-vn-90745894?flat'} 2025-08-26 11:27:00,103 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-81578934:ctest-vn-90745894 is found in opserver 2025-08-26 11:27:00,118 - DEBUG - Do not have enough data to verify VN in agent 2025-08-26 11:27:00,125 - DEBUG - VRF ids for VN ctest-vn-90745894: {} 2025-08-26 11:27:00,125 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-26 11:27:00,131 - DEBUG - Requesting: http://10.0.0.254:8082/domain/f3a67ef8-eb83-4780-952f-1f211a645aa1 2025-08-26 11:27:00,144 - DEBUG - Requesting: http://10.0.0.254:8082/project/ebde0344-c1dd-4cd5-af8b-29ce02b839ee 2025-08-26 11:27:00,234 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/074340c4-86d8-4af1-8329-820d25daa631 2025-08-26 11:27:00,251 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/074340c4-86d8-4af1-8329-820d25daa631 2025-08-26 11:27:00,263 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/26c303b5-44ef-4af1-a4dc-46c00e34535b 2025-08-26 11:27:00,271 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/26c303b5-44ef-4af1-a4dc-46c00e34535b 2025-08-26 11:27:00,279 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/ea18be01-1a0f-4e91-8d7b-1125221ed548 2025-08-26 11:27:00,286 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-26 11:27:00,286 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/074340c4-86d8-4af1-8329-820d25daa631 2025-08-26 11:27:00,295 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/26c303b5-44ef-4af1-a4dc-46c00e34535b 2025-08-26 11:27:00,310 - INFO - Verified VN network id 13 for VN 074340c4-86d8-4af1-8329-820d25daa631 2025-08-26 11:27:00,310 - INFO - Verifications in API Server for VN ctest-vn-80427384 passed 2025-08-26 11:27:00,311 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/074340c4-86d8-4af1-8329-820d25daa631 2025-08-26 11:27:00,321 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/26c303b5-44ef-4af1-a4dc-46c00e34535b 2025-08-26 11:27:00,328 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/26c303b5-44ef-4af1-a4dc-46c00e34535b 2025-08-26 11:27:00,335 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/ea18be01-1a0f-4e91-8d7b-1125221ed548 2025-08-26 11:27:00,349 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-81578934:ctest-vn-80427384', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-81578934', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '523333194525199089', 'uuid-lslong': '9451228285994968625'}, 'enable': 'true', 'created': '2025-08-26T11:26:57', 'last-modified': '2025-08-26T11:26:58', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.456286'} 2025-08-26 11:27:00,355 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-26 11:27:00,356 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-80427384 passed 2025-08-26 11:27:00,356 - DEBUG - ====Verifying policy data for ctest-vn-80427384 in API_Server ====== 2025-08-26 11:27:00,356 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-26 11:27:00,362 - DEBUG - Requesting: http://10.0.0.254:8082/domain/f3a67ef8-eb83-4780-952f-1f211a645aa1 2025-08-26 11:27:00,375 - DEBUG - Requesting: http://10.0.0.254:8082/project/ebde0344-c1dd-4cd5-af8b-29ce02b839ee 2025-08-26 11:27:00,449 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/074340c4-86d8-4af1-8329-820d25daa631 2025-08-26 11:27:00,462 - DEBUG - ==>Verifying data for policy with id: 846a9cd1-53e5-4761-b25a-2a5fc499107f, fqn: ['default-domain', 'ctest-TestBasicPolicy-81578934', 'ctest-policy-allow-all-95865788'] 2025-08-26 11:27:00,462 - INFO - VN ctest-vn-80427384 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-26 11:27:00,462 - DEBUG - Verifying the vn in opserver 2025-08-26 11:27:00,462 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-81578934:ctest-vn-80427384 virtual network link through opserver 10.0.0.254 2025-08-26 11:27:00,462 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-08-26 11:27:00,474 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-81578934:ctest-vn-80427384', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-81578934:ctest-vn-80427384?flat'} 2025-08-26 11:27:00,474 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-81578934:ctest-vn-80427384 is found in opserver 2025-08-26 11:27:00,487 - DEBUG - Do not have enough data to verify VN in agent 2025-08-26 11:27:00,494 - DEBUG - VRF ids for VN ctest-vn-80427384: {} 2025-08-26 11:27:00,551 - DEBUG - Services list from nova: [, , ] 2025-08-26 11:27:01,681 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3939-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3939-1) 2025-08-26 11:27:03,038 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3939-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3939-1) 2025-08-26 11:27:03,038 - INFO - Waiting for VM ctest-TestBasicPolicy-81578934-74928187 to be up.. 2025-08-26 11:27:03,149 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-26 11:27:08,282 - DEBUG - VM is in ACTIVE state now 2025-08-26 11:27:08,282 - INFO - VM name : ctest-TestBasicPolicy-81578934-74928187 2025-08-26 11:27:08,415 - DEBUG - VM ctest-TestBasicPolicy-81578934-74928187 ID is 6d1e1c79-bfc5-435e-9a1a-bd7045456650 2025-08-26 11:27:08,463 - DEBUG - VM ctest-TestBasicPolicy-81578934-74928187 launched on Node cn-jenkins-deploy-platform-ansible-os-3939-1 2025-08-26 11:27:08,570 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/6d1e1c79-bfc5-435e-9a1a-bd7045456650 2025-08-26 11:27:08,583 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/2aa0ed3a-7c77-47dd-aa48-4d52812745dc 2025-08-26 11:27:11,828 - 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-08-26 11:27:11,828 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-81578934-74928187 failed! 2025-08-26 11:27:11,887 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-81578934:ctest-vn-90745894 is 170.90.13.65 and allocation pool is NOT set 2025-08-26 11:27:13,951 - 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=8.04 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.97 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 = 1.973/5.004/8.035/3.031 ms') 2025-08-26 11:27:13,951 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-81578934-74928187 passed 2025-08-26 11:27:14,106 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-26 11:27:14,107 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-81578934-74928187, IP 170.90.13.67, Port 22 2025-08-26 11:27:14,275 - DEBUG - VM ctest-TestBasicPolicy-81578934-74928187 is ready for SSH connections 2025-08-26 11:27:14,275 - INFO - Waiting for VM ctest-TestBasicPolicy-81578934-04969425 to be up.. 2025-08-26 11:27:14,356 - DEBUG - VM is in ACTIVE state now 2025-08-26 11:27:14,356 - INFO - VM name : ctest-TestBasicPolicy-81578934-04969425 2025-08-26 11:27:14,434 - DEBUG - VM ctest-TestBasicPolicy-81578934-04969425 ID is 93ec33bc-5a4b-4be3-8d4e-971991d4a45d 2025-08-26 11:27:14,434 - DEBUG - VM ctest-TestBasicPolicy-81578934-04969425 launched on Node cn-jenkins-deploy-platform-ansible-os-3939-1 2025-08-26 11:27:14,505 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/93ec33bc-5a4b-4be3-8d4e-971991d4a45d 2025-08-26 11:27:14,514 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/7fc661e0-63fb-4b02-8ca9-b917ef987792 2025-08-26 11:27:15,768 - 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.73 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.400 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.400/1.563/2.727/1.163 ms') 2025-08-26 11:27:15,768 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-81578934-04969425 passed 2025-08-26 11:27:15,926 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-26 11:27:15,927 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-81578934-04969425, IP 129.210.208.3, Port 22 2025-08-26 11:27:16,101 - DEBUG - VM ctest-TestBasicPolicy-81578934-04969425 is ready for SSH connections 2025-08-26 11:27:16,101 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-26 11:27:16,101 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 129.210.208.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-26 11:27:16,101 - DEBUG - ping -s 56 -c 3 -W 1 129.210.208.3 2025-08-26 11:27:19,776 - DEBUG - PING 129.210.208.3 (129.210.208.3): 56 data bytes 64 bytes from 129.210.208.3: seq=0 ttl=63 time=3.349 ms 64 bytes from 129.210.208.3: seq=1 ttl=63 time=0.861 ms 64 bytes from 129.210.208.3: seq=2 ttl=63 time=0.762 ms --- 129.210.208.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.762/1.657/3.349 ms 2025-08-26 11:27:19,776 - INFO - Ping to IP 129.210.208.3 from VM ctest-TestBasicPolicy-81578934-74928187 passed 2025-08-26 11:27:19,962 - DEBUG - Policy Update Response {"network-policy": {"uuid": "846a9cd1-53e5-4761-b25a-2a5fc499107f", "href": "http://10.0.0.254:8082/network-policy/846a9cd1-53e5-4761-b25a-2a5fc499107f"}} 2025-08-26 11:27:19,962 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-26 11:27:19,962 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 129.210.208.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-26 11:27:19,963 - DEBUG - ping -s 56 -c 3 -W 1 129.210.208.3 2025-08-26 11:27:23,160 - DEBUG - PING 129.210.208.3 (129.210.208.3): 56 data bytes --- 129.210.208.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-26 11:27:23,160 - WARNING - Ping to IP 129.210.208.3 from VM ctest-TestBasicPolicy-81578934-74928187 failed 2025-08-26 11:27:23,160 - INFO - Deleting VM ctest-TestBasicPolicy-81578934-04969425 2025-08-26 11:27:23,223 - INFO - Deleting VM ctest-TestBasicPolicy-81578934-74928187 2025-08-26 11:27:23,709 - INFO - Deleted policy ctest-policy-allow-all-95865788 2025-08-26 11:27:23,710 - INFO - Deleting VN ctest-vn-80427384 2025-08-26 11:27:23,762 - DEBUG - VN 074340c4-86d8-4af1-8329-820d25daa631 still in use: Unable to complete operation on network 074340c4-86d8-4af1-8329-820d25daa631. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-619501e6-6d2d-4c04-b7cc-5a4d72554de5'] 2025-08-26 11:27:23,762 - WARNING - Deleting VN ctest-vn-80427384 failed..Will retry 2025-08-26 11:27:25,865 - DEBUG - Response for deleting network () 2025-08-26 11:27:25,865 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/26c303b5-44ef-4af1-a4dc-46c00e34535b 2025-08-26 11:27:25,872 - DEBUG - Response Code: 404 2025-08-26 11:27:25,872 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-26 11:27:25,877 - DEBUG - Requesting: http://10.0.0.254:8082/domain/f3a67ef8-eb83-4780-952f-1f211a645aa1 2025-08-26 11:27:25,933 - DEBUG - Requesting: http://10.0.0.254:8082/project/ebde0344-c1dd-4cd5-af8b-29ce02b839ee 2025-08-26 11:27:26,004 - INFO - Validated that VN ctest-vn-80427384 is not found in API Server 2025-08-26 11:27:26,016 - DEBUG - VN ctest-vn-80427384 is not present in Agent 10.0.0.254 2025-08-26 11:27:26,016 - INFO - Validated that VN ctest-vn-80427384 is not in any agent 2025-08-26 11:27:26,032 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-80427384 info 2025-08-26 11:27:26,032 - INFO - Deleting VN ctest-vn-90745894 2025-08-26 11:27:26,144 - DEBUG - Response for deleting network () 2025-08-26 11:27:26,144 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/52b6ddc9-92ef-421c-99ab-e7f4cae2ce86 2025-08-26 11:27:26,151 - DEBUG - Response Code: 404 2025-08-26 11:27:26,151 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-26 11:27:26,157 - DEBUG - Requesting: http://10.0.0.254:8082/domain/f3a67ef8-eb83-4780-952f-1f211a645aa1 2025-08-26 11:27:26,212 - DEBUG - Requesting: http://10.0.0.254:8082/project/ebde0344-c1dd-4cd5-af8b-29ce02b839ee 2025-08-26 11:27:26,286 - INFO - Validated that VN ctest-vn-90745894 is not found in API Server 2025-08-26 11:27:26,297 - DEBUG - VN ctest-vn-90745894 is not present in Agent 10.0.0.254 2025-08-26 11:27:26,297 - INFO - Validated that VN ctest-vn-90745894 is not in any agent 2025-08-26 11:27:26,312 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-90745894 info 2025-08-26 11:27:26,573 - DEBUG - No XMPP flaps were noticed during the test
2025-08-26 11:27:26,573 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-08-26 11:27:26,573 - INFO - -------------------------------------------------------------------------------- 2025-08-26 11:27:27,312 - INFO - Deleted project: ctest-TestBasicPolicy-81578934, ID : ebde0344-c1dd-4cd5-af8b-29ce02b839ee