2025-10-21 14:22:02,116 - INFO - Domain Default found not creating 2025-10-21 14:22:02,253 - INFO - Project ctest-TestBasicPolicy-21075680 not found, creating it 2025-10-21 14:22:02,694 - INFO - Created Project:ctest-TestBasicPolicy-21075680, ID : ac995194-deae-4a92-9379-eec02dfe9d21 2025-10-21 14:22:04,061 - INFO - ================================================================================ 2025-10-21 14:22:04,061 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-21 14:22:04,061 - 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-21 14:22:04,315 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-10-21 14:22:04,315 - INFO - Initial checks done. Running the testcase now 2025-10-21 14:22:04,315 - INFO - 2025-10-21 14:22:05,059 - DEBUG - Response for create_network : {'network': {'id': '316e622e-240a-41ec-ad06-eb714db107dc', 'name': 'ctest-vn-15912856', 'tenant_id': 'ac995194deae4a929379eec02dfe9d21', 'project_id': 'ac995194deae4a929379eec02dfe9d21', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21075680', 'ctest-vn-15912856'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 14:22:05,406 - DEBUG - Response for create_subnet : {'subnet': {'id': '5b237906-1e43-4a8f-b2a6-02f98787f586', 'name': '', 'tenant_id': 'ac995194deae4a929379eec02dfe9d21', 'network_id': '316e622e-240a-41ec-ad06-eb714db107dc', 'ip_version': 4, 'cidr': '57.189.141.0/26', 'allocation_pools': [{'start': '57.189.141.2', 'end': '57.189.141.62'}], 'gateway_ip': '57.189.141.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '57.189.141.2', 'tags': [], 'project_id': 'ac995194deae4a929379eec02dfe9d21'}} 2025-10-21 14:22:05,423 - INFO - Created VN ctest-vn-15912856 2025-10-21 14:22:05,474 - DEBUG - VN ctest-vn-15912856 UUID is 316e622e-240a-41ec-ad06-eb714db107dc 2025-10-21 14:22:05,774 - DEBUG - Response for create_network : {'network': {'id': '45bb7d58-5697-4669-8f52-f18317144594', 'name': 'ctest-vn-30998677', 'tenant_id': 'ac995194deae4a929379eec02dfe9d21', 'project_id': 'ac995194deae4a929379eec02dfe9d21', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21075680', 'ctest-vn-30998677'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 14:22:05,942 - DEBUG - Response for create_subnet : {'subnet': {'id': '805ec8cf-3722-41bf-9268-65bce7c96a45', 'name': '', 'tenant_id': 'ac995194deae4a929379eec02dfe9d21', 'network_id': '45bb7d58-5697-4669-8f52-f18317144594', 'ip_version': 4, 'cidr': '102.250.46.64/26', 'allocation_pools': [{'start': '102.250.46.66', 'end': '102.250.46.126'}], 'gateway_ip': '102.250.46.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '102.250.46.66', 'tags': [], 'project_id': 'ac995194deae4a929379eec02dfe9d21'}} 2025-10-21 14:22:05,959 - INFO - Created VN ctest-vn-30998677 2025-10-21 14:22:06,010 - DEBUG - VN ctest-vn-30998677 UUID is 45bb7d58-5697-4669-8f52-f18317144594 2025-10-21 14:22:06,154 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-21075680:ctest-vn-15912856, 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-21075680:ctest-vn-30998677, 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-21 14:22:06,436 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '316e622e-240a-41ec-ad06-eb714db107dc', 'name': 'ctest-vn-15912856', 'tenant_id': 'ac995194deae4a929379eec02dfe9d21', 'project_id': 'ac995194deae4a929379eec02dfe9d21', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5b237906-1e43-4a8f-b2a6-02f98787f586'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21075680', 'ctest-vn-15912856'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-21075680', 'ctest-policy-allow-all-24097568']], 'subnet_ipam': [{'subnet_cidr': '57.189.141.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-21 14:22:06,663 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '45bb7d58-5697-4669-8f52-f18317144594', 'name': 'ctest-vn-30998677', 'tenant_id': 'ac995194deae4a929379eec02dfe9d21', 'project_id': 'ac995194deae4a929379eec02dfe9d21', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['805ec8cf-3722-41bf-9268-65bce7c96a45'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21075680', 'ctest-vn-30998677'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-21075680', 'ctest-policy-allow-all-24097568']], 'subnet_ipam': [{'subnet_cidr': '102.250.46.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-21 14:22:06,826 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-21 14:22:07,123 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-21 14:22:07,154 - DEBUG - Requesting: http://10.0.0.38:8082/domain/e65a2689-200b-4ab1-9484-7bbaef4275de 2025-10-21 14:22:07,164 - DEBUG - Requesting: http://10.0.0.38:8082/project/ac995194-deae-4a92-9379-eec02dfe9d21 2025-10-21 14:22:07,233 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/316e622e-240a-41ec-ad06-eb714db107dc 2025-10-21 14:22:07,243 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/316e622e-240a-41ec-ad06-eb714db107dc 2025-10-21 14:22:07,251 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/05af7f9f-6326-4e3d-a415-3d825231bc5c 2025-10-21 14:22:07,256 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/05af7f9f-6326-4e3d-a415-3d825231bc5c 2025-10-21 14:22:07,262 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/5319575b-7c85-4527-b68a-7c77030d1166 2025-10-21 14:22:07,266 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-21 14:22:07,266 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/316e622e-240a-41ec-ad06-eb714db107dc 2025-10-21 14:22:07,273 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/05af7f9f-6326-4e3d-a415-3d825231bc5c 2025-10-21 14:22:07,284 - INFO - Verified VN network id 11 for VN 316e622e-240a-41ec-ad06-eb714db107dc 2025-10-21 14:22:07,284 - INFO - Verifications in API Server for VN ctest-vn-15912856 passed 2025-10-21 14:22:07,284 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/316e622e-240a-41ec-ad06-eb714db107dc 2025-10-21 14:22:07,291 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/05af7f9f-6326-4e3d-a415-3d825231bc5c 2025-10-21 14:22:07,296 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/05af7f9f-6326-4e3d-a415-3d825231bc5c 2025-10-21 14:22:07,301 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/5319575b-7c85-4527-b68a-7c77030d1166 2025-10-21 14:22:07,310 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-21075680:ctest-vn-15912856', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-21075680', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3561892305609310700', 'uuid-lslong': '12467911490289076188'}, 'enable': 'true', 'created': '2025-10-21T14:22:04', 'last-modified': '2025-10-21T14:22:06', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.895162'} 2025-10-21 14:22:07,315 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-21 14:22:07,315 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-15912856 passed 2025-10-21 14:22:07,316 - DEBUG - ====Verifying policy data for ctest-vn-15912856 in API_Server ====== 2025-10-21 14:22:07,316 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-21 14:22:07,320 - DEBUG - Requesting: http://10.0.0.38:8082/domain/e65a2689-200b-4ab1-9484-7bbaef4275de 2025-10-21 14:22:07,332 - DEBUG - Requesting: http://10.0.0.38:8082/project/ac995194-deae-4a92-9379-eec02dfe9d21 2025-10-21 14:22:07,403 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/316e622e-240a-41ec-ad06-eb714db107dc 2025-10-21 14:22:07,411 - DEBUG - ==>Verifying data for policy with id: 8972b99c-a3e3-42df-ad7b-0ac3e9007c81, fqn: ['default-domain', 'ctest-TestBasicPolicy-21075680', 'ctest-policy-allow-all-24097568'] 2025-10-21 14:22:07,411 - INFO - VN ctest-vn-15912856 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-21 14:22:07,412 - DEBUG - Verifying the vn in opserver 2025-10-21 14:22:07,412 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-21075680:ctest-vn-15912856 virtual network link through opserver 10.0.0.38 2025-10-21 14:22:07,412 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-10-21 14:22:07,702 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-10-21 14:22:07,753 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-21075680:ctest-vn-15912856', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-21075680:ctest-vn-15912856?flat'} 2025-10-21 14:22:07,753 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-21075680:ctest-vn-15912856 is found in opserver 2025-10-21 14:22:07,763 - DEBUG - Do not have enough data to verify VN in agent 2025-10-21 14:22:07,768 - DEBUG - VRF ids for VN ctest-vn-15912856: {} 2025-10-21 14:22:07,768 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-21 14:22:07,772 - DEBUG - Requesting: http://10.0.0.38:8082/domain/e65a2689-200b-4ab1-9484-7bbaef4275de 2025-10-21 14:22:07,782 - DEBUG - Requesting: http://10.0.0.38:8082/project/ac995194-deae-4a92-9379-eec02dfe9d21 2025-10-21 14:22:07,850 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/45bb7d58-5697-4669-8f52-f18317144594 2025-10-21 14:22:07,860 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/45bb7d58-5697-4669-8f52-f18317144594 2025-10-21 14:22:07,868 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9689f872-6845-4005-93d7-5f23ffd58e7e 2025-10-21 14:22:07,874 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9689f872-6845-4005-93d7-5f23ffd58e7e 2025-10-21 14:22:07,880 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/37d597f2-05b4-46a8-8b18-cb305ee948d0 2025-10-21 14:22:07,885 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-21 14:22:07,885 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/45bb7d58-5697-4669-8f52-f18317144594 2025-10-21 14:22:07,893 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9689f872-6845-4005-93d7-5f23ffd58e7e 2025-10-21 14:22:07,904 - INFO - Verified VN network id 12 for VN 45bb7d58-5697-4669-8f52-f18317144594 2025-10-21 14:22:07,904 - INFO - Verifications in API Server for VN ctest-vn-30998677 passed 2025-10-21 14:22:07,904 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/45bb7d58-5697-4669-8f52-f18317144594 2025-10-21 14:22:07,912 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9689f872-6845-4005-93d7-5f23ffd58e7e 2025-10-21 14:22:07,918 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9689f872-6845-4005-93d7-5f23ffd58e7e 2025-10-21 14:22:07,925 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/37d597f2-05b4-46a8-8b18-cb305ee948d0 2025-10-21 14:22:07,935 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-21075680:ctest-vn-30998677', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-21075680', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5024747627625268841', 'uuid-lslong': '10327582440844182932'}, 'enable': 'true', 'created': '2025-10-21T14:22:05', 'last-modified': '2025-10-21T14:22:06', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.293576'} 2025-10-21 14:22:07,940 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-21 14:22:07,940 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-30998677 passed 2025-10-21 14:22:07,941 - DEBUG - ====Verifying policy data for ctest-vn-30998677 in API_Server ====== 2025-10-21 14:22:07,941 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-21 14:22:07,947 - DEBUG - Requesting: http://10.0.0.38:8082/domain/e65a2689-200b-4ab1-9484-7bbaef4275de 2025-10-21 14:22:07,957 - DEBUG - Requesting: http://10.0.0.38:8082/project/ac995194-deae-4a92-9379-eec02dfe9d21 2025-10-21 14:22:08,022 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/45bb7d58-5697-4669-8f52-f18317144594 2025-10-21 14:22:08,029 - DEBUG - ==>Verifying data for policy with id: 8972b99c-a3e3-42df-ad7b-0ac3e9007c81, fqn: ['default-domain', 'ctest-TestBasicPolicy-21075680', 'ctest-policy-allow-all-24097568'] 2025-10-21 14:22:08,030 - INFO - VN ctest-vn-30998677 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-21 14:22:08,030 - DEBUG - Verifying the vn in opserver 2025-10-21 14:22:08,030 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-21075680:ctest-vn-30998677 virtual network link through opserver 10.0.0.38 2025-10-21 14:22:08,030 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-10-21 14:22:08,038 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-21075680:ctest-vn-30998677', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-21075680:ctest-vn-30998677?flat'} 2025-10-21 14:22:08,038 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-21075680:ctest-vn-30998677 is found in opserver 2025-10-21 14:22:08,046 - DEBUG - Do not have enough data to verify VN in agent 2025-10-21 14:22:08,050 - DEBUG - VRF ids for VN ctest-vn-30998677: {} 2025-10-21 14:22:08,100 - DEBUG - Services list from nova: [, , ] 2025-10-21 14:22:09,073 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4394-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4394-1) 2025-10-21 14:22:10,170 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4394-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4394-1) 2025-10-21 14:22:10,171 - INFO - Waiting for VM ctest-TestBasicPolicy-21075680-97891822 to be up.. 2025-10-21 14:22:10,248 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-21 14:22:15,317 - DEBUG - VM is in ACTIVE state now 2025-10-21 14:22:15,317 - INFO - VM name : ctest-TestBasicPolicy-21075680-97891822 2025-10-21 14:22:15,388 - DEBUG - VM ctest-TestBasicPolicy-21075680-97891822 ID is 90ed5c6b-e709-4040-a3a4-91d67bc9e2a1 2025-10-21 14:22:15,405 - DEBUG - VM ctest-TestBasicPolicy-21075680-97891822 launched on Node cn-jenkins-deploy-platform-ansible-os-4394-1 2025-10-21 14:22:15,478 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/90ed5c6b-e709-4040-a3a4-91d67bc9e2a1 2025-10-21 14:22:15,485 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/0c2d9e2b-d64f-47a7-a880-0454de6ada75 2025-10-21 14:22:18,740 - 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 1031ms') 2025-10-21 14:22:18,740 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-21075680-97891822 failed! 2025-10-21 14:22:18,794 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-21075680:ctest-vn-15912856 is 57.189.141.1 and allocation pool is NOT set 2025-10-21 14:22:20,859 - 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.67 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.410 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.410/1.542/2.674/1.132 ms') 2025-10-21 14:22:20,859 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-21075680-97891822 passed 2025-10-21 14:22:21,014 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 14:22:21,014 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-21075680-97891822, IP 57.189.141.3, Port 22 2025-10-21 14:22:21,166 - DEBUG - VM ctest-TestBasicPolicy-21075680-97891822 is ready for SSH connections 2025-10-21 14:22:21,166 - INFO - Waiting for VM ctest-TestBasicPolicy-21075680-79151695 to be up.. 2025-10-21 14:22:21,231 - DEBUG - VM is in ACTIVE state now 2025-10-21 14:22:21,231 - INFO - VM name : ctest-TestBasicPolicy-21075680-79151695 2025-10-21 14:22:21,294 - DEBUG - VM ctest-TestBasicPolicy-21075680-79151695 ID is 441f94b0-6708-4842-b043-b8b2c9e1872d 2025-10-21 14:22:21,294 - DEBUG - VM ctest-TestBasicPolicy-21075680-79151695 launched on Node cn-jenkins-deploy-platform-ansible-os-4394-1 2025-10-21 14:22:21,357 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/441f94b0-6708-4842-b043-b8b2c9e1872d 2025-10-21 14:22:21,365 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/12d5b4b6-5527-40cc-be2b-8442f412be20 2025-10-21 14:22:22,597 - 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.64 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.363 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.363/1.502/2.642/1.139 ms') 2025-10-21 14:22:22,597 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-21075680-79151695 passed 2025-10-21 14:22:22,746 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 14:22:22,746 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-21075680-79151695, IP 102.250.46.67, Port 22 2025-10-21 14:22:22,898 - DEBUG - VM ctest-TestBasicPolicy-21075680-79151695 is ready for SSH connections 2025-10-21 14:22:22,898 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 14:22:22,898 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 102.250.46.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-21 14:22:22,898 - DEBUG - ping -s 56 -c 3 -W 1 102.250.46.67 2025-10-21 14:22:26,575 - DEBUG - PING 102.250.46.67 (102.250.46.67): 56 data bytes 64 bytes from 102.250.46.67: seq=0 ttl=63 time=3.192 ms 64 bytes from 102.250.46.67: seq=1 ttl=63 time=0.856 ms 64 bytes from 102.250.46.67: seq=2 ttl=63 time=0.812 ms --- 102.250.46.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.812/1.620/3.192 ms 2025-10-21 14:22:26,575 - INFO - Ping to IP 102.250.46.67 from VM ctest-TestBasicPolicy-21075680-97891822 passed 2025-10-21 14:22:26,754 - DEBUG - Policy Update Response {"network-policy": {"uuid": "8972b99c-a3e3-42df-ad7b-0ac3e9007c81", "href": "http://10.0.0.38:8082/network-policy/8972b99c-a3e3-42df-ad7b-0ac3e9007c81"}} 2025-10-21 14:22:26,754 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 14:22:26,754 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 102.250.46.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-21 14:22:26,754 - DEBUG - ping -s 56 -c 3 -W 1 102.250.46.67 2025-10-21 14:22:29,959 - DEBUG - PING 102.250.46.67 (102.250.46.67): 56 data bytes --- 102.250.46.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-21 14:22:29,959 - WARNING - Ping to IP 102.250.46.67 from VM ctest-TestBasicPolicy-21075680-97891822 failed 2025-10-21 14:22:29,960 - INFO - Deleting VM ctest-TestBasicPolicy-21075680-79151695 2025-10-21 14:22:30,027 - INFO - Deleting VM ctest-TestBasicPolicy-21075680-97891822 2025-10-21 14:22:30,365 - INFO - Deleted policy ctest-policy-allow-all-24097568 2025-10-21 14:22:30,365 - INFO - Deleting VN ctest-vn-30998677 2025-10-21 14:22:30,394 - DEBUG - VN 45bb7d58-5697-4669-8f52-f18317144594 still in use: Unable to complete operation on network 45bb7d58-5697-4669-8f52-f18317144594. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-49a57cec-83ef-4848-aed5-e8d5c868035e'] 2025-10-21 14:22:30,394 - WARNING - Deleting VN ctest-vn-30998677 failed..Will retry 2025-10-21 14:22:32,481 - DEBUG - Response for deleting network () 2025-10-21 14:22:32,481 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9689f872-6845-4005-93d7-5f23ffd58e7e 2025-10-21 14:22:32,485 - DEBUG - Response Code: 404 2025-10-21 14:22:32,485 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-21 14:22:32,491 - DEBUG - Requesting: http://10.0.0.38:8082/domain/e65a2689-200b-4ab1-9484-7bbaef4275de 2025-10-21 14:22:32,547 - DEBUG - Requesting: http://10.0.0.38:8082/project/ac995194-deae-4a92-9379-eec02dfe9d21 2025-10-21 14:22:32,615 - INFO - Validated that VN ctest-vn-30998677 is not found in API Server 2025-10-21 14:22:32,624 - DEBUG - VN ctest-vn-30998677 is not present in Agent 10.0.0.38 2025-10-21 14:22:32,624 - INFO - Validated that VN ctest-vn-30998677 is not in any agent 2025-10-21 14:22:32,636 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-30998677 info 2025-10-21 14:22:32,637 - INFO - Deleting VN ctest-vn-15912856 2025-10-21 14:22:32,723 - DEBUG - Response for deleting network () 2025-10-21 14:22:32,723 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/05af7f9f-6326-4e3d-a415-3d825231bc5c 2025-10-21 14:22:32,730 - DEBUG - Response Code: 404 2025-10-21 14:22:32,730 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-21 14:22:32,734 - DEBUG - Requesting: http://10.0.0.38:8082/domain/e65a2689-200b-4ab1-9484-7bbaef4275de 2025-10-21 14:22:32,787 - DEBUG - Requesting: http://10.0.0.38:8082/project/ac995194-deae-4a92-9379-eec02dfe9d21 2025-10-21 14:22:32,856 - INFO - Validated that VN ctest-vn-15912856 is not found in API Server 2025-10-21 14:22:32,864 - DEBUG - VN ctest-vn-15912856 is not present in Agent 10.0.0.38 2025-10-21 14:22:32,864 - INFO - Validated that VN ctest-vn-15912856 is not in any agent 2025-10-21 14:22:32,876 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-15912856 info 2025-10-21 14:22:33,135 - DEBUG - No XMPP flaps were noticed during the test
2025-10-21 14:22:33,135 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-10-21 14:22:33,135 - INFO - -------------------------------------------------------------------------------- 2025-10-21 14:22:33,804 - INFO - Deleted project: ctest-TestBasicPolicy-21075680, ID : ac995194-deae-4a92-9379-eec02dfe9d21