2025-10-20 11:45:44,709 - INFO - Domain Default found not creating 2025-10-20 11:45:44,865 - INFO - Project ctest-TestBasicPolicy-22395956 not found, creating it 2025-10-20 11:45:45,320 - INFO - Created Project:ctest-TestBasicPolicy-22395956, ID : 36f5a310-5521-44d9-8592-9e858a4ad9e3 2025-10-20 11:45:46,688 - INFO - ================================================================================ 2025-10-20 11:45:46,688 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-20 11:45:46,688 - 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-20 11:45:46,946 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.129': '0'}} with 2025-10-20 11:45:46,946 - INFO - Initial checks done. Running the testcase now 2025-10-20 11:45:46,946 - INFO - 2025-10-20 11:45:47,468 - DEBUG - Response for create_network : {'network': {'id': '66db574d-d448-47ba-a5c0-537ed80b7c8b', 'name': 'ctest-vn-45148699', 'tenant_id': '36f5a310552144d985929e858a4ad9e3', 'project_id': '36f5a310552144d985929e858a4ad9e3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-22395956', 'ctest-vn-45148699'], 'port_security_enabled': True, 'description': ''}} 2025-10-20 11:45:47,636 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b3e5e9e2-1395-4cdf-88e3-df45157922e9', 'name': '', 'tenant_id': '36f5a310552144d985929e858a4ad9e3', 'network_id': '66db574d-d448-47ba-a5c0-537ed80b7c8b', 'ip_version': 4, 'cidr': '119.126.182.64/26', 'allocation_pools': [{'start': '119.126.182.66', 'end': '119.126.182.126'}], 'gateway_ip': '119.126.182.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '119.126.182.66', 'tags': [], 'project_id': '36f5a310552144d985929e858a4ad9e3'}} 2025-10-20 11:45:47,653 - INFO - Created VN ctest-vn-45148699 2025-10-20 11:45:47,703 - DEBUG - VN ctest-vn-45148699 UUID is 66db574d-d448-47ba-a5c0-537ed80b7c8b 2025-10-20 11:45:48,009 - DEBUG - Response for create_network : {'network': {'id': '6d22b31a-c11a-4fe6-8964-8d4bd0e3eb42', 'name': 'ctest-vn-32217860', 'tenant_id': '36f5a310552144d985929e858a4ad9e3', 'project_id': '36f5a310552144d985929e858a4ad9e3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-22395956', 'ctest-vn-32217860'], 'port_security_enabled': True, 'description': ''}} 2025-10-20 11:45:48,167 - DEBUG - Response for create_subnet : {'subnet': {'id': '1fe750ea-7042-485e-b284-4e8e998bb7b8', 'name': '', 'tenant_id': '36f5a310552144d985929e858a4ad9e3', 'network_id': '6d22b31a-c11a-4fe6-8964-8d4bd0e3eb42', 'ip_version': 4, 'cidr': '8.15.135.192/26', 'allocation_pools': [{'start': '8.15.135.194', 'end': '8.15.135.254'}], 'gateway_ip': '8.15.135.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '8.15.135.194', 'tags': [], 'project_id': '36f5a310552144d985929e858a4ad9e3'}} 2025-10-20 11:45:48,186 - INFO - Created VN ctest-vn-32217860 2025-10-20 11:45:48,239 - DEBUG - VN ctest-vn-32217860 UUID is 6d22b31a-c11a-4fe6-8964-8d4bd0e3eb42 2025-10-20 11:45:48,395 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-22395956:ctest-vn-45148699, 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-22395956:ctest-vn-32217860, 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-20 11:45:48,679 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '66db574d-d448-47ba-a5c0-537ed80b7c8b', 'name': 'ctest-vn-45148699', 'tenant_id': '36f5a310552144d985929e858a4ad9e3', 'project_id': '36f5a310552144d985929e858a4ad9e3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b3e5e9e2-1395-4cdf-88e3-df45157922e9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-22395956', 'ctest-vn-45148699'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-22395956', 'ctest-policy-allow-all-31157899']], 'subnet_ipam': [{'subnet_cidr': '119.126.182.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-20 11:45:48,900 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6d22b31a-c11a-4fe6-8964-8d4bd0e3eb42', 'name': 'ctest-vn-32217860', 'tenant_id': '36f5a310552144d985929e858a4ad9e3', 'project_id': '36f5a310552144d985929e858a4ad9e3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1fe750ea-7042-485e-b284-4e8e998bb7b8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-22395956', 'ctest-vn-32217860'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-22395956', 'ctest-policy-allow-all-31157899']], 'subnet_ipam': [{'subnet_cidr': '8.15.135.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-20 11:45:49,051 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-10-20 11:45:49,343 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-10-20 11:45:49,375 - DEBUG - Requesting: http://10.0.0.130:8082/domain/7313a29c-ac52-4f2a-9f14-07d35c9860f1 2025-10-20 11:45:49,387 - DEBUG - Requesting: http://10.0.0.130:8082/project/36f5a310-5521-44d9-8592-9e858a4ad9e3 2025-10-20 11:45:49,459 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/66db574d-d448-47ba-a5c0-537ed80b7c8b 2025-10-20 11:45:49,469 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/66db574d-d448-47ba-a5c0-537ed80b7c8b 2025-10-20 11:45:49,478 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/a4f9ebe5-0d07-4403-9293-ed11be3a817f 2025-10-20 11:45:49,484 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/a4f9ebe5-0d07-4403-9293-ed11be3a817f 2025-10-20 11:45:49,491 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/52135681-9fc1-40cb-923c-15dcb61621ae 2025-10-20 11:45:49,497 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-20 11:45:49,497 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/66db574d-d448-47ba-a5c0-537ed80b7c8b 2025-10-20 11:45:49,506 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/a4f9ebe5-0d07-4403-9293-ed11be3a817f 2025-10-20 11:45:49,520 - INFO - Verified VN network id 11 for VN 66db574d-d448-47ba-a5c0-537ed80b7c8b 2025-10-20 11:45:49,520 - INFO - Verifications in API Server for VN ctest-vn-45148699 passed 2025-10-20 11:45:49,520 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/66db574d-d448-47ba-a5c0-537ed80b7c8b 2025-10-20 11:45:49,528 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/a4f9ebe5-0d07-4403-9293-ed11be3a817f 2025-10-20 11:45:49,534 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/a4f9ebe5-0d07-4403-9293-ed11be3a817f 2025-10-20 11:45:49,540 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/52135681-9fc1-40cb-923c-15dcb61621ae 2025-10-20 11:45:49,550 - DEBUG - Control-node 10.0.0.130 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-22395956:ctest-vn-45148699', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-22395956', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7411613603553888186', 'uuid-lslong': '11943638016042171531'}, 'enable': 'true', 'created': '2025-10-20T11:45:47', 'last-modified': '2025-10-20T11:45:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.889560'} 2025-10-20 11:45:49,557 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-20 11:45:49,557 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-45148699 passed 2025-10-20 11:45:49,557 - DEBUG - ====Verifying policy data for ctest-vn-45148699 in API_Server ====== 2025-10-20 11:45:49,557 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-10-20 11:45:49,563 - DEBUG - Requesting: http://10.0.0.130:8082/domain/7313a29c-ac52-4f2a-9f14-07d35c9860f1 2025-10-20 11:45:49,575 - DEBUG - Requesting: http://10.0.0.130:8082/project/36f5a310-5521-44d9-8592-9e858a4ad9e3 2025-10-20 11:45:49,644 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/66db574d-d448-47ba-a5c0-537ed80b7c8b 2025-10-20 11:45:49,652 - DEBUG - ==>Verifying data for policy with id: 572a56a0-c7e7-436d-81c4-39eac8be6ad9, fqn: ['default-domain', 'ctest-TestBasicPolicy-22395956', 'ctest-policy-allow-all-31157899'] 2025-10-20 11:45:49,652 - INFO - VN ctest-vn-45148699 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-20 11:45:49,652 - DEBUG - Verifying the vn in opserver 2025-10-20 11:45:49,652 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-22395956:ctest-vn-45148699 virtual network link through opserver 10.0.0.130 2025-10-20 11:45:49,652 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2025-10-20 11:45:49,959 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2025-10-20 11:45:50,014 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-22395956:ctest-vn-45148699', 'href': 'http://10.0.0.130:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-22395956:ctest-vn-45148699?flat'} 2025-10-20 11:45:50,014 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-22395956:ctest-vn-45148699 is found in opserver 2025-10-20 11:45:50,023 - DEBUG - Do not have enough data to verify VN in agent 2025-10-20 11:45:50,027 - DEBUG - VRF ids for VN ctest-vn-45148699: {} 2025-10-20 11:45:50,027 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-10-20 11:45:50,032 - DEBUG - Requesting: http://10.0.0.130:8082/domain/7313a29c-ac52-4f2a-9f14-07d35c9860f1 2025-10-20 11:45:50,042 - DEBUG - Requesting: http://10.0.0.130:8082/project/36f5a310-5521-44d9-8592-9e858a4ad9e3 2025-10-20 11:45:50,109 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/6d22b31a-c11a-4fe6-8964-8d4bd0e3eb42 2025-10-20 11:45:50,121 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/6d22b31a-c11a-4fe6-8964-8d4bd0e3eb42 2025-10-20 11:45:50,131 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/8019a737-4c95-4ed3-a417-50fb03282807 2025-10-20 11:45:50,139 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/8019a737-4c95-4ed3-a417-50fb03282807 2025-10-20 11:45:50,147 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/30d19222-026c-450f-a6bf-4055569ef12c 2025-10-20 11:45:50,155 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-20 11:45:50,155 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/6d22b31a-c11a-4fe6-8964-8d4bd0e3eb42 2025-10-20 11:45:50,164 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/8019a737-4c95-4ed3-a417-50fb03282807 2025-10-20 11:45:50,179 - INFO - Verified VN network id 12 for VN 6d22b31a-c11a-4fe6-8964-8d4bd0e3eb42 2025-10-20 11:45:50,179 - INFO - Verifications in API Server for VN ctest-vn-32217860 passed 2025-10-20 11:45:50,179 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/6d22b31a-c11a-4fe6-8964-8d4bd0e3eb42 2025-10-20 11:45:50,189 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/8019a737-4c95-4ed3-a417-50fb03282807 2025-10-20 11:45:50,197 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/8019a737-4c95-4ed3-a417-50fb03282807 2025-10-20 11:45:50,204 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/30d19222-026c-450f-a6bf-4055569ef12c 2025-10-20 11:45:50,216 - DEBUG - Control-node 10.0.0.130 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-22395956:ctest-vn-32217860', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-22395956', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7864044826832556006', 'uuid-lslong': '9900193237633854274'}, 'enable': 'true', 'created': '2025-10-20T11:45:47', 'last-modified': '2025-10-20T11:45:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.345582'} 2025-10-20 11:45:50,223 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-20 11:45:50,223 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-32217860 passed 2025-10-20 11:45:50,223 - DEBUG - ====Verifying policy data for ctest-vn-32217860 in API_Server ====== 2025-10-20 11:45:50,223 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-10-20 11:45:50,229 - DEBUG - Requesting: http://10.0.0.130:8082/domain/7313a29c-ac52-4f2a-9f14-07d35c9860f1 2025-10-20 11:45:50,240 - DEBUG - Requesting: http://10.0.0.130:8082/project/36f5a310-5521-44d9-8592-9e858a4ad9e3 2025-10-20 11:45:50,311 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/6d22b31a-c11a-4fe6-8964-8d4bd0e3eb42 2025-10-20 11:45:50,321 - DEBUG - ==>Verifying data for policy with id: 572a56a0-c7e7-436d-81c4-39eac8be6ad9, fqn: ['default-domain', 'ctest-TestBasicPolicy-22395956', 'ctest-policy-allow-all-31157899'] 2025-10-20 11:45:50,321 - INFO - VN ctest-vn-32217860 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-20 11:45:50,322 - DEBUG - Verifying the vn in opserver 2025-10-20 11:45:50,322 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-22395956:ctest-vn-32217860 virtual network link through opserver 10.0.0.130 2025-10-20 11:45:50,322 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2025-10-20 11:45:50,332 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-22395956:ctest-vn-32217860', 'href': 'http://10.0.0.130:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-22395956:ctest-vn-32217860?flat'} 2025-10-20 11:45:50,332 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-22395956:ctest-vn-32217860 is found in opserver 2025-10-20 11:45:50,342 - DEBUG - Do not have enough data to verify VN in agent 2025-10-20 11:45:50,347 - DEBUG - VRF ids for VN ctest-vn-32217860: {} 2025-10-20 11:45:50,409 - DEBUG - Services list from nova: [, , ] 2025-10-20 11:45:51,419 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4374-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4374-1) 2025-10-20 11:45:52,705 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4374-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4374-1) 2025-10-20 11:45:52,705 - INFO - Waiting for VM ctest-TestBasicPolicy-22395956-95469667 to be up.. 2025-10-20 11:45:52,790 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-20 11:45:57,866 - DEBUG - VM is in ACTIVE state now 2025-10-20 11:45:57,866 - INFO - VM name : ctest-TestBasicPolicy-22395956-95469667 2025-10-20 11:45:57,933 - DEBUG - VM ctest-TestBasicPolicy-22395956-95469667 ID is 9f25d539-2139-456e-b03b-801377ef7ff0 2025-10-20 11:45:57,951 - DEBUG - VM ctest-TestBasicPolicy-22395956-95469667 launched on Node cn-jenkins-deploy-platform-ansible-os-4374-1 2025-10-20 11:45:58,020 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/9f25d539-2139-456e-b03b-801377ef7ff0 2025-10-20 11:45:58,028 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/7e60543f-9b4e-4599-b06a-99820a43699a 2025-10-20 11:46:01,257 - 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 1007ms') 2025-10-20 11:46:01,257 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-22395956-95469667 failed! 2025-10-20 11:46:01,311 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-22395956:ctest-vn-45148699 is 119.126.182.65 and allocation pool is NOT set 2025-10-20 11:46:03,372 - 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=7.34 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.396 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.396/3.865/7.335/3.469 ms') 2025-10-20 11:46:03,372 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-22395956-95469667 passed 2025-10-20 11:46:03,527 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 11:46:03,527 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-22395956-95469667, IP 119.126.182.67, Port 22 2025-10-20 11:46:03,693 - DEBUG - VM ctest-TestBasicPolicy-22395956-95469667 is ready for SSH connections 2025-10-20 11:46:03,694 - INFO - Waiting for VM ctest-TestBasicPolicy-22395956-42791516 to be up.. 2025-10-20 11:46:03,766 - DEBUG - VM is in ACTIVE state now 2025-10-20 11:46:03,766 - INFO - VM name : ctest-TestBasicPolicy-22395956-42791516 2025-10-20 11:46:03,831 - DEBUG - VM ctest-TestBasicPolicy-22395956-42791516 ID is 2b1076a2-e6fe-4a71-b5de-319016acd9b5 2025-10-20 11:46:03,831 - DEBUG - VM ctest-TestBasicPolicy-22395956-42791516 launched on Node cn-jenkins-deploy-platform-ansible-os-4374-1 2025-10-20 11:46:03,896 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/2b1076a2-e6fe-4a71-b5de-319016acd9b5 2025-10-20 11:46:03,903 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/268adf9e-3e8b-4547-a5b8-d2185139687e 2025-10-20 11:46:05,134 - 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.83 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.586 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.586/1.705/2.825/1.119 ms') 2025-10-20 11:46:05,134 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-22395956-42791516 passed 2025-10-20 11:46:05,283 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 11:46:05,284 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-22395956-42791516, IP 8.15.135.195, Port 22 2025-10-20 11:46:05,446 - DEBUG - VM ctest-TestBasicPolicy-22395956-42791516 is ready for SSH connections 2025-10-20 11:46:05,447 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 11:46:05,447 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 8.15.135.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-10-20 11:46:05,447 - DEBUG - ping -s 56 -c 3 -W 1 8.15.135.195 2025-10-20 11:46:09,477 - DEBUG - PING 8.15.135.195 (8.15.135.195): 56 data bytes 64 bytes from 8.15.135.195: seq=0 ttl=63 time=3.557 ms 64 bytes from 8.15.135.195: seq=1 ttl=63 time=0.915 ms 64 bytes from 8.15.135.195: seq=2 ttl=63 time=0.861 ms --- 8.15.135.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.861/1.777/3.557 ms 2025-10-20 11:46:09,477 - INFO - Ping to IP 8.15.135.195 from VM ctest-TestBasicPolicy-22395956-95469667 passed 2025-10-20 11:46:09,659 - DEBUG - Policy Update Response {"network-policy": {"uuid": "572a56a0-c7e7-436d-81c4-39eac8be6ad9", "href": "http://10.0.0.130:8082/network-policy/572a56a0-c7e7-436d-81c4-39eac8be6ad9"}} 2025-10-20 11:46:09,659 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 11:46:09,659 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 8.15.135.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-10-20 11:46:09,659 - DEBUG - ping -s 56 -c 3 -W 1 8.15.135.195 2025-10-20 11:46:12,893 - DEBUG - PING 8.15.135.195 (8.15.135.195): 56 data bytes --- 8.15.135.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-20 11:46:12,894 - WARNING - Ping to IP 8.15.135.195 from VM ctest-TestBasicPolicy-22395956-95469667 failed 2025-10-20 11:46:12,894 - INFO - Deleting VM ctest-TestBasicPolicy-22395956-42791516 2025-10-20 11:46:12,965 - INFO - Deleting VM ctest-TestBasicPolicy-22395956-95469667 2025-10-20 11:46:13,313 - INFO - Deleted policy ctest-policy-allow-all-31157899 2025-10-20 11:46:13,313 - INFO - Deleting VN ctest-vn-32217860 2025-10-20 11:46:13,354 - DEBUG - VN 6d22b31a-c11a-4fe6-8964-8d4bd0e3eb42 still in use: Unable to complete operation on network 6d22b31a-c11a-4fe6-8964-8d4bd0e3eb42. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0418fb55-bffa-4e46-b1aa-b10a1ac48943'] 2025-10-20 11:46:13,354 - WARNING - Deleting VN ctest-vn-32217860 failed..Will retry 2025-10-20 11:46:15,461 - DEBUG - Response for deleting network () 2025-10-20 11:46:15,462 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/8019a737-4c95-4ed3-a417-50fb03282807 2025-10-20 11:46:15,468 - DEBUG - Response Code: 404 2025-10-20 11:46:15,468 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-10-20 11:46:15,472 - DEBUG - Requesting: http://10.0.0.130:8082/domain/7313a29c-ac52-4f2a-9f14-07d35c9860f1 2025-10-20 11:46:15,526 - DEBUG - Requesting: http://10.0.0.130:8082/project/36f5a310-5521-44d9-8592-9e858a4ad9e3 2025-10-20 11:46:15,595 - INFO - Validated that VN ctest-vn-32217860 is not found in API Server 2025-10-20 11:46:15,604 - DEBUG - VN ctest-vn-32217860 is not present in Agent 10.0.0.130 2025-10-20 11:46:15,604 - INFO - Validated that VN ctest-vn-32217860 is not in any agent 2025-10-20 11:46:15,616 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-32217860 info 2025-10-20 11:46:15,616 - INFO - Deleting VN ctest-vn-45148699 2025-10-20 11:46:15,712 - DEBUG - Response for deleting network () 2025-10-20 11:46:15,712 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/a4f9ebe5-0d07-4403-9293-ed11be3a817f 2025-10-20 11:46:15,716 - DEBUG - Response Code: 404 2025-10-20 11:46:15,717 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-10-20 11:46:15,721 - DEBUG - Requesting: http://10.0.0.130:8082/domain/7313a29c-ac52-4f2a-9f14-07d35c9860f1 2025-10-20 11:46:15,772 - DEBUG - Requesting: http://10.0.0.130:8082/project/36f5a310-5521-44d9-8592-9e858a4ad9e3 2025-10-20 11:46:15,842 - INFO - Validated that VN ctest-vn-45148699 is not found in API Server 2025-10-20 11:46:15,852 - DEBUG - VN ctest-vn-45148699 is not present in Agent 10.0.0.130 2025-10-20 11:46:15,852 - INFO - Validated that VN ctest-vn-45148699 is not in any agent 2025-10-20 11:46:15,865 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-45148699 info 2025-10-20 11:46:16,128 - DEBUG - No XMPP flaps were noticed during the test
2025-10-20 11:46:16,128 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-10-20 11:46:16,128 - INFO - -------------------------------------------------------------------------------- 2025-10-20 11:46:16,786 - INFO - Deleted project: ctest-TestBasicPolicy-22395956, ID : 36f5a310-5521-44d9-8592-9e858a4ad9e3