2025-10-27 13:57:18,454 - INFO - Domain Default found not creating 2025-10-27 13:57:18,636 - INFO - Project ctest-TestBasicPolicy-13873929 not found, creating it 2025-10-27 13:57:19,119 - INFO - Created Project:ctest-TestBasicPolicy-13873929, ID : 3963724d-4c5c-4543-ad30-b2c6a80f6e0f 2025-10-27 13:57:20,585 - INFO - ================================================================================ 2025-10-27 13:57:20,586 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-27 13:57:20,586 - 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-27 13:57:20,839 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.17': '0'}} with 2025-10-27 13:57:20,839 - INFO - Initial checks done. Running the testcase now 2025-10-27 13:57:20,839 - INFO - 2025-10-27 13:57:21,409 - DEBUG - Response for create_network : {'network': {'id': '4dfbb3f7-67a5-4855-bb3b-c6fd0ec126ee', 'name': 'ctest-vn-28091416', 'tenant_id': '3963724d4c5c4543ad30b2c6a80f6e0f', 'project_id': '3963724d4c5c4543ad30b2c6a80f6e0f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-13873929', 'ctest-vn-28091416'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 13:57:21,577 - DEBUG - Response for create_subnet : {'subnet': {'id': '9c8b649d-a53c-4b8e-8014-a9b50d02c201', 'name': '', 'tenant_id': '3963724d4c5c4543ad30b2c6a80f6e0f', 'network_id': '4dfbb3f7-67a5-4855-bb3b-c6fd0ec126ee', 'ip_version': 4, 'cidr': '70.68.222.192/26', 'allocation_pools': [{'start': '70.68.222.194', 'end': '70.68.222.254'}], 'gateway_ip': '70.68.222.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '70.68.222.194', 'tags': [], 'project_id': '3963724d4c5c4543ad30b2c6a80f6e0f'}} 2025-10-27 13:57:21,603 - INFO - Created VN ctest-vn-28091416 2025-10-27 13:57:21,661 - DEBUG - VN ctest-vn-28091416 UUID is 4dfbb3f7-67a5-4855-bb3b-c6fd0ec126ee 2025-10-27 13:57:21,971 - DEBUG - Response for create_network : {'network': {'id': '6a31c791-04a3-44f0-b210-00f50a03935b', 'name': 'ctest-vn-52364558', 'tenant_id': '3963724d4c5c4543ad30b2c6a80f6e0f', 'project_id': '3963724d4c5c4543ad30b2c6a80f6e0f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-13873929', 'ctest-vn-52364558'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 13:57:22,140 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e73854e6-b7f1-4372-92a9-a35be50f0fd4', 'name': '', 'tenant_id': '3963724d4c5c4543ad30b2c6a80f6e0f', 'network_id': '6a31c791-04a3-44f0-b210-00f50a03935b', 'ip_version': 4, 'cidr': '167.175.22.0/26', 'allocation_pools': [{'start': '167.175.22.2', 'end': '167.175.22.62'}], 'gateway_ip': '167.175.22.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '167.175.22.2', 'tags': [], 'project_id': '3963724d4c5c4543ad30b2c6a80f6e0f'}} 2025-10-27 13:57:22,159 - INFO - Created VN ctest-vn-52364558 2025-10-27 13:57:22,213 - DEBUG - VN ctest-vn-52364558 UUID is 6a31c791-04a3-44f0-b210-00f50a03935b 2025-10-27 13:57:22,330 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-13873929:ctest-vn-28091416, 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-13873929:ctest-vn-52364558, 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-27 13:57:22,629 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4dfbb3f7-67a5-4855-bb3b-c6fd0ec126ee', 'name': 'ctest-vn-28091416', 'tenant_id': '3963724d4c5c4543ad30b2c6a80f6e0f', 'project_id': '3963724d4c5c4543ad30b2c6a80f6e0f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9c8b649d-a53c-4b8e-8014-a9b50d02c201'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-13873929', 'ctest-vn-28091416'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-13873929', 'ctest-policy-allow-all-45123353']], 'subnet_ipam': [{'subnet_cidr': '70.68.222.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-27 13:57:22,906 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6a31c791-04a3-44f0-b210-00f50a03935b', 'name': 'ctest-vn-52364558', 'tenant_id': '3963724d4c5c4543ad30b2c6a80f6e0f', 'project_id': '3963724d4c5c4543ad30b2c6a80f6e0f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e73854e6-b7f1-4372-92a9-a35be50f0fd4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-13873929', 'ctest-vn-52364558'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-13873929', 'ctest-policy-allow-all-45123353']], 'subnet_ipam': [{'subnet_cidr': '167.175.22.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-27 13:57:23,069 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-27 13:57:23,408 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-27 13:57:23,443 - DEBUG - Requesting: http://10.0.0.242:8082/domain/c8788a6e-59cc-401c-9c15-61ceece4ce05 2025-10-27 13:57:23,455 - DEBUG - Requesting: http://10.0.0.242:8082/project/3963724d-4c5c-4543-ad30-b2c6a80f6e0f 2025-10-27 13:57:23,532 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/4dfbb3f7-67a5-4855-bb3b-c6fd0ec126ee 2025-10-27 13:57:23,543 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/4dfbb3f7-67a5-4855-bb3b-c6fd0ec126ee 2025-10-27 13:57:23,553 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/fb3992b1-3c95-4142-a8a9-484c05d5573c 2025-10-27 13:57:23,562 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/fb3992b1-3c95-4142-a8a9-484c05d5573c 2025-10-27 13:57:23,569 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/2242284d-1fbb-4d93-98cc-3d1d46a188b4 2025-10-27 13:57:23,577 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-27 13:57:23,577 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/4dfbb3f7-67a5-4855-bb3b-c6fd0ec126ee 2025-10-27 13:57:23,586 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/fb3992b1-3c95-4142-a8a9-484c05d5573c 2025-10-27 13:57:23,601 - INFO - Verified VN network id 12 for VN 4dfbb3f7-67a5-4855-bb3b-c6fd0ec126ee 2025-10-27 13:57:23,601 - INFO - Verifications in API Server for VN ctest-vn-28091416 passed 2025-10-27 13:57:23,601 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/4dfbb3f7-67a5-4855-bb3b-c6fd0ec126ee 2025-10-27 13:57:23,611 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/fb3992b1-3c95-4142-a8a9-484c05d5573c 2025-10-27 13:57:23,619 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/fb3992b1-3c95-4142-a8a9-484c05d5573c 2025-10-27 13:57:23,629 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/2242284d-1fbb-4d93-98cc-3d1d46a188b4 2025-10-27 13:57:23,641 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-13873929:ctest-vn-28091416', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-13873929', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5619282835252004949', 'uuid-lslong': '13491595898895017710'}, 'enable': 'true', 'created': '2025-10-27T13:57:21', 'last-modified': '2025-10-27T13:57:22', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.035547'} 2025-10-27 13:57:23,647 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-27 13:57:23,647 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-28091416 passed 2025-10-27 13:57:23,648 - DEBUG - ====Verifying policy data for ctest-vn-28091416 in API_Server ====== 2025-10-27 13:57:23,648 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-27 13:57:23,654 - DEBUG - Requesting: http://10.0.0.242:8082/domain/c8788a6e-59cc-401c-9c15-61ceece4ce05 2025-10-27 13:57:23,667 - DEBUG - Requesting: http://10.0.0.242:8082/project/3963724d-4c5c-4543-ad30-b2c6a80f6e0f 2025-10-27 13:57:23,740 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/4dfbb3f7-67a5-4855-bb3b-c6fd0ec126ee 2025-10-27 13:57:23,750 - DEBUG - ==>Verifying data for policy with id: ec79bda6-6291-4013-b7b2-cd0f2d8cb1a9, fqn: ['default-domain', 'ctest-TestBasicPolicy-13873929', 'ctest-policy-allow-all-45123353'] 2025-10-27 13:57:23,750 - INFO - VN ctest-vn-28091416 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-27 13:57:23,750 - DEBUG - Verifying the vn in opserver 2025-10-27 13:57:23,750 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-13873929:ctest-vn-28091416 virtual network link through opserver 10.0.0.242 2025-10-27 13:57:23,750 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-10-27 13:57:24,046 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-10-27 13:57:24,112 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-13873929:ctest-vn-28091416', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-13873929:ctest-vn-28091416?flat'} 2025-10-27 13:57:24,112 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-13873929:ctest-vn-28091416 is found in opserver 2025-10-27 13:57:24,122 - DEBUG - Do not have enough data to verify VN in agent 2025-10-27 13:57:24,127 - DEBUG - VRF ids for VN ctest-vn-28091416: {} 2025-10-27 13:57:24,127 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-27 13:57:24,133 - DEBUG - Requesting: http://10.0.0.242:8082/domain/c8788a6e-59cc-401c-9c15-61ceece4ce05 2025-10-27 13:57:24,143 - DEBUG - Requesting: http://10.0.0.242:8082/project/3963724d-4c5c-4543-ad30-b2c6a80f6e0f 2025-10-27 13:57:24,215 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/6a31c791-04a3-44f0-b210-00f50a03935b 2025-10-27 13:57:24,228 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/6a31c791-04a3-44f0-b210-00f50a03935b 2025-10-27 13:57:24,239 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/229ddc9a-4c7a-4872-bf0c-8b5f0c2ccf00 2025-10-27 13:57:24,247 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/229ddc9a-4c7a-4872-bf0c-8b5f0c2ccf00 2025-10-27 13:57:24,256 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/e111be3e-048e-4b94-87c1-df551d662351 2025-10-27 13:57:24,264 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-27 13:57:24,264 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/6a31c791-04a3-44f0-b210-00f50a03935b 2025-10-27 13:57:24,274 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/229ddc9a-4c7a-4872-bf0c-8b5f0c2ccf00 2025-10-27 13:57:24,291 - INFO - Verified VN network id 13 for VN 6a31c791-04a3-44f0-b210-00f50a03935b 2025-10-27 13:57:24,291 - INFO - Verifications in API Server for VN ctest-vn-52364558 passed 2025-10-27 13:57:24,291 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/6a31c791-04a3-44f0-b210-00f50a03935b 2025-10-27 13:57:24,302 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/229ddc9a-4c7a-4872-bf0c-8b5f0c2ccf00 2025-10-27 13:57:24,311 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/229ddc9a-4c7a-4872-bf0c-8b5f0c2ccf00 2025-10-27 13:57:24,319 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/e111be3e-048e-4b94-87c1-df551d662351 2025-10-27 13:57:24,332 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-13873929:ctest-vn-52364558', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-13873929', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7652116667541177584', 'uuid-lslong': '12830756390813537115'}, 'enable': 'true', 'created': '2025-10-27T13:57:21', 'last-modified': '2025-10-27T13:57:22', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.490458'} 2025-10-27 13:57:24,339 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-27 13:57:24,339 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-52364558 passed 2025-10-27 13:57:24,340 - DEBUG - ====Verifying policy data for ctest-vn-52364558 in API_Server ====== 2025-10-27 13:57:24,340 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-27 13:57:24,346 - DEBUG - Requesting: http://10.0.0.242:8082/domain/c8788a6e-59cc-401c-9c15-61ceece4ce05 2025-10-27 13:57:24,360 - DEBUG - Requesting: http://10.0.0.242:8082/project/3963724d-4c5c-4543-ad30-b2c6a80f6e0f 2025-10-27 13:57:24,433 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/6a31c791-04a3-44f0-b210-00f50a03935b 2025-10-27 13:57:24,444 - DEBUG - ==>Verifying data for policy with id: ec79bda6-6291-4013-b7b2-cd0f2d8cb1a9, fqn: ['default-domain', 'ctest-TestBasicPolicy-13873929', 'ctest-policy-allow-all-45123353'] 2025-10-27 13:57:24,444 - INFO - VN ctest-vn-52364558 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-27 13:57:24,444 - DEBUG - Verifying the vn in opserver 2025-10-27 13:57:24,445 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-13873929:ctest-vn-52364558 virtual network link through opserver 10.0.0.242 2025-10-27 13:57:24,445 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-10-27 13:57:24,456 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-13873929:ctest-vn-52364558', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-13873929:ctest-vn-52364558?flat'} 2025-10-27 13:57:24,456 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-13873929:ctest-vn-52364558 is found in opserver 2025-10-27 13:57:24,468 - DEBUG - Do not have enough data to verify VN in agent 2025-10-27 13:57:24,472 - DEBUG - VRF ids for VN ctest-vn-52364558: {} 2025-10-27 13:57:24,540 - DEBUG - Services list from nova: [, , ] 2025-10-27 13:57:25,794 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4503-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4503-1) 2025-10-27 13:57:27,021 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4503-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4503-1) 2025-10-27 13:57:27,021 - INFO - Waiting for VM ctest-TestBasicPolicy-13873929-95555838 to be up.. 2025-10-27 13:57:27,122 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-27 13:57:32,204 - DEBUG - VM is in ACTIVE state now 2025-10-27 13:57:32,204 - INFO - VM name : ctest-TestBasicPolicy-13873929-95555838 2025-10-27 13:57:32,280 - DEBUG - VM ctest-TestBasicPolicy-13873929-95555838 ID is b83f3f16-d267-4f03-b3d2-1112672b62fc 2025-10-27 13:57:32,301 - DEBUG - VM ctest-TestBasicPolicy-13873929-95555838 launched on Node cn-jenkins-deploy-platform-ansible-os-4503-1 2025-10-27 13:57:32,376 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/b83f3f16-d267-4f03-b3d2-1112672b62fc 2025-10-27 13:57:32,386 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/24a62402-0eff-488a-8979-ab89e8ebbf85 2025-10-27 13:57:35,631 - 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 1013ms') 2025-10-27 13:57:35,631 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-13873929-95555838 failed! 2025-10-27 13:57:35,689 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-13873929:ctest-vn-28091416 is 70.68.222.193 and allocation pool is NOT set 2025-10-27 13:57:37,751 - 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.23 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.905 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.905/4.566/8.228/3.661 ms') 2025-10-27 13:57:37,751 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-13873929-95555838 passed 2025-10-27 13:57:37,901 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 13:57:37,901 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-13873929-95555838, IP 70.68.222.195, Port 22 2025-10-27 13:57:38,056 - DEBUG - VM ctest-TestBasicPolicy-13873929-95555838 is ready for SSH connections 2025-10-27 13:57:38,057 - INFO - Waiting for VM ctest-TestBasicPolicy-13873929-96281343 to be up.. 2025-10-27 13:57:38,162 - DEBUG - VM is in ACTIVE state now 2025-10-27 13:57:38,162 - INFO - VM name : ctest-TestBasicPolicy-13873929-96281343 2025-10-27 13:57:38,424 - DEBUG - VM ctest-TestBasicPolicy-13873929-96281343 ID is 0f2174e8-0b0b-48fc-b5c9-7642aca19824 2025-10-27 13:57:38,424 - DEBUG - VM ctest-TestBasicPolicy-13873929-96281343 launched on Node cn-jenkins-deploy-platform-ansible-os-4503-1 2025-10-27 13:57:38,524 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/0f2174e8-0b0b-48fc-b5c9-7642aca19824 2025-10-27 13:57:38,534 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/a38c7708-02a8-4c10-9b2d-d9a64eadc0e4 2025-10-27 13:57:39,775 - 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.20 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.04 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 1.044/2.122/3.201/1.078 ms') 2025-10-27 13:57:39,775 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-13873929-96281343 passed 2025-10-27 13:57:39,929 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 13:57:39,929 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-13873929-96281343, IP 167.175.22.3, Port 22 2025-10-27 13:57:40,089 - DEBUG - VM ctest-TestBasicPolicy-13873929-96281343 is ready for SSH connections 2025-10-27 13:57:40,089 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 13:57:40,089 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 167.175.22.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-27 13:57:40,089 - DEBUG - ping -s 56 -c 3 -W 1 167.175.22.3 2025-10-27 13:57:43,794 - DEBUG - PING 167.175.22.3 (167.175.22.3): 56 data bytes 64 bytes from 167.175.22.3: seq=0 ttl=63 time=5.053 ms 64 bytes from 167.175.22.3: seq=1 ttl=63 time=0.886 ms 64 bytes from 167.175.22.3: seq=2 ttl=63 time=0.848 ms --- 167.175.22.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.848/2.262/5.053 ms 2025-10-27 13:57:43,794 - INFO - Ping to IP 167.175.22.3 from VM ctest-TestBasicPolicy-13873929-95555838 passed 2025-10-27 13:57:44,005 - DEBUG - Policy Update Response {"network-policy": {"uuid": "ec79bda6-6291-4013-b7b2-cd0f2d8cb1a9", "href": "http://10.0.0.242:8082/network-policy/ec79bda6-6291-4013-b7b2-cd0f2d8cb1a9"}} 2025-10-27 13:57:44,005 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 13:57:44,005 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 167.175.22.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-27 13:57:44,005 - DEBUG - ping -s 56 -c 3 -W 1 167.175.22.3 2025-10-27 13:57:47,238 - DEBUG - PING 167.175.22.3 (167.175.22.3): 56 data bytes --- 167.175.22.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-27 13:57:47,239 - WARNING - Ping to IP 167.175.22.3 from VM ctest-TestBasicPolicy-13873929-95555838 failed 2025-10-27 13:57:47,239 - INFO - Deleting VM ctest-TestBasicPolicy-13873929-96281343 2025-10-27 13:57:47,307 - INFO - Deleting VM ctest-TestBasicPolicy-13873929-95555838 2025-10-27 13:57:47,705 - INFO - Deleted policy ctest-policy-allow-all-45123353 2025-10-27 13:57:47,706 - INFO - Deleting VN ctest-vn-52364558 2025-10-27 13:57:47,743 - DEBUG - VN 6a31c791-04a3-44f0-b210-00f50a03935b still in use: Unable to complete operation on network 6a31c791-04a3-44f0-b210-00f50a03935b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-72f77e1d-a5a8-446e-be2d-147f5a0b672d'] 2025-10-27 13:57:47,743 - WARNING - Deleting VN ctest-vn-52364558 failed..Will retry 2025-10-27 13:57:49,845 - DEBUG - Response for deleting network () 2025-10-27 13:57:49,845 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/229ddc9a-4c7a-4872-bf0c-8b5f0c2ccf00 2025-10-27 13:57:49,851 - DEBUG - Response Code: 404 2025-10-27 13:57:49,851 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-27 13:57:49,857 - DEBUG - Requesting: http://10.0.0.242:8082/domain/c8788a6e-59cc-401c-9c15-61ceece4ce05 2025-10-27 13:57:49,913 - DEBUG - Requesting: http://10.0.0.242:8082/project/3963724d-4c5c-4543-ad30-b2c6a80f6e0f 2025-10-27 13:57:49,984 - INFO - Validated that VN ctest-vn-52364558 is not found in API Server 2025-10-27 13:57:49,993 - DEBUG - VN ctest-vn-52364558 is not present in Agent 10.0.0.242 2025-10-27 13:57:49,993 - INFO - Validated that VN ctest-vn-52364558 is not in any agent 2025-10-27 13:57:50,008 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-52364558 info 2025-10-27 13:57:50,008 - INFO - Deleting VN ctest-vn-28091416 2025-10-27 13:57:50,109 - DEBUG - Response for deleting network () 2025-10-27 13:57:50,109 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/fb3992b1-3c95-4142-a8a9-484c05d5573c 2025-10-27 13:57:50,116 - DEBUG - Response Code: 404 2025-10-27 13:57:50,117 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-27 13:57:50,123 - DEBUG - Requesting: http://10.0.0.242:8082/domain/c8788a6e-59cc-401c-9c15-61ceece4ce05 2025-10-27 13:57:50,179 - DEBUG - Requesting: http://10.0.0.242:8082/project/3963724d-4c5c-4543-ad30-b2c6a80f6e0f 2025-10-27 13:57:50,254 - INFO - Validated that VN ctest-vn-28091416 is not found in API Server 2025-10-27 13:57:50,264 - DEBUG - VN ctest-vn-28091416 is not present in Agent 10.0.0.242 2025-10-27 13:57:50,264 - INFO - Validated that VN ctest-vn-28091416 is not in any agent 2025-10-27 13:57:50,279 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-28091416 info 2025-10-27 13:57:50,538 - DEBUG - No XMPP flaps were noticed during the test
2025-10-27 13:57:50,538 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-10-27 13:57:50,538 - INFO - -------------------------------------------------------------------------------- 2025-10-27 13:57:51,234 - INFO - Deleted project: ctest-TestBasicPolicy-13873929, ID : 3963724d-4c5c-4543-ad30-b2c6a80f6e0f