2025-08-15 09:30:48,043 - INFO - Domain Default found not creating 2025-08-15 09:30:48,189 - INFO - Project ctest-TestBasicPolicy-61908816 not found, creating it 2025-08-15 09:30:48,652 - INFO - Created Project:ctest-TestBasicPolicy-61908816, ID : 02b534b5-24b6-4312-abfa-bfcb415919aa 2025-08-15 09:30:49,966 - INFO - ================================================================================ 2025-08-15 09:30:49,966 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-15 09:30:49,967 - 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-15 09:30:50,222 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.0.0.254': '0'}} with 2025-08-15 09:30:50,222 - INFO - Initial checks done. Running the testcase now 2025-08-15 09:30:50,222 - INFO - 2025-08-15 09:30:50,745 - DEBUG - Response for create_network : {'network': {'id': 'bdb948b2-36a5-4f5f-8985-6c792aa1be29', 'name': 'ctest-vn-26482135', 'tenant_id': '02b534b524b64312abfabfcb415919aa', 'project_id': '02b534b524b64312abfabfcb415919aa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61908816', 'ctest-vn-26482135'], 'port_security_enabled': True, 'description': ''}} 2025-08-15 09:30:50,891 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e0d56546-4498-4801-be05-67634d2c5482', 'name': '', 'tenant_id': '02b534b524b64312abfabfcb415919aa', 'network_id': 'bdb948b2-36a5-4f5f-8985-6c792aa1be29', 'ip_version': 4, 'cidr': '219.56.235.192/26', 'allocation_pools': [{'start': '219.56.235.194', 'end': '219.56.235.254'}], 'gateway_ip': '219.56.235.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '219.56.235.194', 'tags': [], 'project_id': '02b534b524b64312abfabfcb415919aa'}} 2025-08-15 09:30:50,908 - INFO - Created VN ctest-vn-26482135 2025-08-15 09:30:50,960 - DEBUG - VN ctest-vn-26482135 UUID is bdb948b2-36a5-4f5f-8985-6c792aa1be29 2025-08-15 09:30:51,260 - DEBUG - Response for create_network : {'network': {'id': '42266109-8773-4aaa-8b3b-124054c14af3', 'name': 'ctest-vn-73476606', 'tenant_id': '02b534b524b64312abfabfcb415919aa', 'project_id': '02b534b524b64312abfabfcb415919aa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61908816', 'ctest-vn-73476606'], 'port_security_enabled': True, 'description': ''}} 2025-08-15 09:30:51,405 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b3397e86-ab93-4432-80e2-88734dd82a3d', 'name': '', 'tenant_id': '02b534b524b64312abfabfcb415919aa', 'network_id': '42266109-8773-4aaa-8b3b-124054c14af3', 'ip_version': 4, 'cidr': '151.219.161.64/26', 'allocation_pools': [{'start': '151.219.161.66', 'end': '151.219.161.126'}], 'gateway_ip': '151.219.161.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '151.219.161.66', 'tags': [], 'project_id': '02b534b524b64312abfabfcb415919aa'}} 2025-08-15 09:30:51,419 - INFO - Created VN ctest-vn-73476606 2025-08-15 09:30:51,472 - DEBUG - VN ctest-vn-73476606 UUID is 42266109-8773-4aaa-8b3b-124054c14af3 2025-08-15 09:30:51,612 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-61908816:ctest-vn-26482135, 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-61908816:ctest-vn-73476606, 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-15 09:30:51,898 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'bdb948b2-36a5-4f5f-8985-6c792aa1be29', 'name': 'ctest-vn-26482135', 'tenant_id': '02b534b524b64312abfabfcb415919aa', 'project_id': '02b534b524b64312abfabfcb415919aa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e0d56546-4498-4801-be05-67634d2c5482'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61908816', 'ctest-vn-26482135'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-61908816', 'ctest-policy-allow-all-75276664']], 'subnet_ipam': [{'subnet_cidr': '219.56.235.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-15 09:30:52,121 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '42266109-8773-4aaa-8b3b-124054c14af3', 'name': 'ctest-vn-73476606', 'tenant_id': '02b534b524b64312abfabfcb415919aa', 'project_id': '02b534b524b64312abfabfcb415919aa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b3397e86-ab93-4432-80e2-88734dd82a3d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61908816', 'ctest-vn-73476606'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-61908816', 'ctest-policy-allow-all-75276664']], 'subnet_ipam': [{'subnet_cidr': '151.219.161.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-15 09:30:52,268 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-15 09:30:52,557 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-15 09:30:52,582 - DEBUG - Requesting: http://10.0.0.254:8082/domain/424ce239-1777-469b-aa9a-ed16dbfc5d9f 2025-08-15 09:30:52,593 - DEBUG - Requesting: http://10.0.0.254:8082/project/02b534b5-24b6-4312-abfa-bfcb415919aa 2025-08-15 09:30:52,663 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/bdb948b2-36a5-4f5f-8985-6c792aa1be29 2025-08-15 09:30:52,672 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/bdb948b2-36a5-4f5f-8985-6c792aa1be29 2025-08-15 09:30:52,680 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/3e2d325d-77d4-4e9d-bc7b-1dc52c0d3704 2025-08-15 09:30:52,685 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/3e2d325d-77d4-4e9d-bc7b-1dc52c0d3704 2025-08-15 09:30:52,690 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/8a15c139-030e-43a8-b32b-09d92e790514 2025-08-15 09:30:52,695 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-15 09:30:52,696 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/bdb948b2-36a5-4f5f-8985-6c792aa1be29 2025-08-15 09:30:52,703 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/3e2d325d-77d4-4e9d-bc7b-1dc52c0d3704 2025-08-15 09:30:52,714 - INFO - Verified VN network id 12 for VN bdb948b2-36a5-4f5f-8985-6c792aa1be29 2025-08-15 09:30:52,714 - INFO - Verifications in API Server for VN ctest-vn-26482135 passed 2025-08-15 09:30:52,714 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/bdb948b2-36a5-4f5f-8985-6c792aa1be29 2025-08-15 09:30:52,722 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/3e2d325d-77d4-4e9d-bc7b-1dc52c0d3704 2025-08-15 09:30:52,727 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/3e2d325d-77d4-4e9d-bc7b-1dc52c0d3704 2025-08-15 09:30:52,733 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/8a15c139-030e-43a8-b32b-09d92e790514 2025-08-15 09:30:52,742 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-61908816:ctest-vn-26482135', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-61908816', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13671038074118033247', 'uuid-lslong': '9909445822760730153'}, 'enable': 'true', 'created': '2025-08-15T09:30:50', 'last-modified': '2025-08-15T09:30:51', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.868254'} 2025-08-15 09:30:52,748 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-15 09:30:52,748 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-26482135 passed 2025-08-15 09:30:52,748 - DEBUG - ====Verifying policy data for ctest-vn-26482135 in API_Server ====== 2025-08-15 09:30:52,748 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-15 09:30:52,752 - DEBUG - Requesting: http://10.0.0.254:8082/domain/424ce239-1777-469b-aa9a-ed16dbfc5d9f 2025-08-15 09:30:52,763 - DEBUG - Requesting: http://10.0.0.254:8082/project/02b534b5-24b6-4312-abfa-bfcb415919aa 2025-08-15 09:30:52,834 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/bdb948b2-36a5-4f5f-8985-6c792aa1be29 2025-08-15 09:30:52,842 - DEBUG - ==>Verifying data for policy with id: 4f6fae8e-40fb-4dd5-849c-908d1320f6a5, fqn: ['default-domain', 'ctest-TestBasicPolicy-61908816', 'ctest-policy-allow-all-75276664'] 2025-08-15 09:30:52,842 - INFO - VN ctest-vn-26482135 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-15 09:30:52,842 - DEBUG - Verifying the vn in opserver 2025-08-15 09:30:52,842 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-61908816:ctest-vn-26482135 virtual network link through opserver 10.0.0.254 2025-08-15 09:30:52,842 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-08-15 09:30:53,128 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-08-15 09:30:53,175 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-61908816:ctest-vn-26482135', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-61908816:ctest-vn-26482135?flat'} 2025-08-15 09:30:53,175 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-61908816:ctest-vn-26482135 is found in opserver 2025-08-15 09:30:53,184 - DEBUG - Do not have enough data to verify VN in agent 2025-08-15 09:30:53,188 - DEBUG - VRF ids for VN ctest-vn-26482135: {} 2025-08-15 09:30:53,188 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-15 09:30:53,192 - DEBUG - Requesting: http://10.0.0.254:8082/domain/424ce239-1777-469b-aa9a-ed16dbfc5d9f 2025-08-15 09:30:53,201 - DEBUG - Requesting: http://10.0.0.254:8082/project/02b534b5-24b6-4312-abfa-bfcb415919aa 2025-08-15 09:30:53,267 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/42266109-8773-4aaa-8b3b-124054c14af3 2025-08-15 09:30:53,277 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/42266109-8773-4aaa-8b3b-124054c14af3 2025-08-15 09:30:53,284 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/8b302873-db16-4346-8cdd-a354f7dbf3ae 2025-08-15 09:30:53,289 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/8b302873-db16-4346-8cdd-a354f7dbf3ae 2025-08-15 09:30:53,294 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/f461bce6-e805-40d3-bd2e-13f6050db3db 2025-08-15 09:30:53,299 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-15 09:30:53,299 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/42266109-8773-4aaa-8b3b-124054c14af3 2025-08-15 09:30:53,306 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/8b302873-db16-4346-8cdd-a354f7dbf3ae 2025-08-15 09:30:53,316 - INFO - Verified VN network id 13 for VN 42266109-8773-4aaa-8b3b-124054c14af3 2025-08-15 09:30:53,316 - INFO - Verifications in API Server for VN ctest-vn-73476606 passed 2025-08-15 09:30:53,316 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/42266109-8773-4aaa-8b3b-124054c14af3 2025-08-15 09:30:53,324 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/8b302873-db16-4346-8cdd-a354f7dbf3ae 2025-08-15 09:30:53,329 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/8b302873-db16-4346-8cdd-a354f7dbf3ae 2025-08-15 09:30:53,334 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/f461bce6-e805-40d3-bd2e-13f6050db3db 2025-08-15 09:30:53,343 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-61908816:ctest-vn-73476606', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-61908816', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4766603949173328554', 'uuid-lslong': '10032632662407072499'}, 'enable': 'true', 'created': '2025-08-15T09:30:51', 'last-modified': '2025-08-15T09:30:52', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.243991'} 2025-08-15 09:30:53,348 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-15 09:30:53,348 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-73476606 passed 2025-08-15 09:30:53,348 - DEBUG - ====Verifying policy data for ctest-vn-73476606 in API_Server ====== 2025-08-15 09:30:53,348 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-15 09:30:53,352 - DEBUG - Requesting: http://10.0.0.254:8082/domain/424ce239-1777-469b-aa9a-ed16dbfc5d9f 2025-08-15 09:30:53,361 - DEBUG - Requesting: http://10.0.0.254:8082/project/02b534b5-24b6-4312-abfa-bfcb415919aa 2025-08-15 09:30:53,429 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/42266109-8773-4aaa-8b3b-124054c14af3 2025-08-15 09:30:53,437 - DEBUG - ==>Verifying data for policy with id: 4f6fae8e-40fb-4dd5-849c-908d1320f6a5, fqn: ['default-domain', 'ctest-TestBasicPolicy-61908816', 'ctest-policy-allow-all-75276664'] 2025-08-15 09:30:53,437 - INFO - VN ctest-vn-73476606 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-15 09:30:53,437 - DEBUG - Verifying the vn in opserver 2025-08-15 09:30:53,437 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-61908816:ctest-vn-73476606 virtual network link through opserver 10.0.0.254 2025-08-15 09:30:53,438 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-08-15 09:30:53,446 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-61908816:ctest-vn-73476606', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-61908816:ctest-vn-73476606?flat'} 2025-08-15 09:30:53,446 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-61908816:ctest-vn-73476606 is found in opserver 2025-08-15 09:30:53,455 - DEBUG - Do not have enough data to verify VN in agent 2025-08-15 09:30:53,460 - DEBUG - VRF ids for VN ctest-vn-73476606: {} 2025-08-15 09:30:53,505 - DEBUG - Services list from nova: [, , ] 2025-08-15 09:30:54,462 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3862-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3862-1) 2025-08-15 09:30:55,496 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3862-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3862-1) 2025-08-15 09:30:55,497 - INFO - Waiting for VM ctest-TestBasicPolicy-61908816-21798823 to be up.. 2025-08-15 09:30:55,562 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-15 09:31:00,627 - DEBUG - VM is in ACTIVE state now 2025-08-15 09:31:00,628 - INFO - VM name : ctest-TestBasicPolicy-61908816-21798823 2025-08-15 09:31:00,686 - DEBUG - VM ctest-TestBasicPolicy-61908816-21798823 ID is 2d882bf8-9985-407b-b295-9302fe26b280 2025-08-15 09:31:00,703 - DEBUG - VM ctest-TestBasicPolicy-61908816-21798823 launched on Node cn-jenkins-deploy-platform-ansible-os-3862-1. 2025-08-15 09:31:00,763 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/2d882bf8-9985-407b-b295-9302fe26b280 2025-08-15 09:31:00,770 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/2b4dc8bb-6f30-4c47-82f2-bd654343c747 2025-08-15 09:31:04,011 - 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 1012ms') 2025-08-15 09:31:04,011 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-61908816-21798823 failed! 2025-08-15 09:31:04,072 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-61908816:ctest-vn-26482135 is 219.56.235.193 and allocation pool is NOT set 2025-08-15 09:31:06,130 - 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=3.00 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.348 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.348/1.676/3.004/1.328 ms') 2025-08-15 09:31:06,131 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-61908816-21798823 passed 2025-08-15 09:31:06,280 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 09:31:06,280 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-61908816-21798823, IP 219.56.235.195, Port 22 2025-08-15 09:31:06,436 - DEBUG - VM ctest-TestBasicPolicy-61908816-21798823 is ready for SSH connections 2025-08-15 09:31:06,436 - INFO - Waiting for VM ctest-TestBasicPolicy-61908816-05121531 to be up.. 2025-08-15 09:31:06,502 - DEBUG - VM is in ACTIVE state now 2025-08-15 09:31:06,502 - INFO - VM name : ctest-TestBasicPolicy-61908816-05121531 2025-08-15 09:31:06,563 - DEBUG - VM ctest-TestBasicPolicy-61908816-05121531 ID is 97a39a14-ff5d-4a5d-b91b-7e8414acb494 2025-08-15 09:31:06,563 - DEBUG - VM ctest-TestBasicPolicy-61908816-05121531 launched on Node cn-jenkins-deploy-platform-ansible-os-3862-1. 2025-08-15 09:31:06,622 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/97a39a14-ff5d-4a5d-b91b-7e8414acb494 2025-08-15 09:31:06,629 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/7b555e13-c2ae-470c-8b50-383b82cc7b37 2025-08-15 09:31:07,853 - 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.62 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.302 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.302/1.459/2.616/1.157 ms') 2025-08-15 09:31:07,853 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-61908816-05121531 passed 2025-08-15 09:31:08,004 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 09:31:08,004 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-61908816-05121531, IP 151.219.161.67, Port 22 2025-08-15 09:31:08,156 - DEBUG - VM ctest-TestBasicPolicy-61908816-05121531 is ready for SSH connections 2025-08-15 09:31:08,156 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 09:31:08,156 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 151.219.161.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-15 09:31:08,156 - DEBUG - ping -s 56 -c 3 -W 1 151.219.161.67 2025-08-15 09:31:11,919 - DEBUG - PING 151.219.161.67 (151.219.161.67): 56 data bytes 64 bytes from 151.219.161.67: seq=0 ttl=63 time=3.232 ms 64 bytes from 151.219.161.67: seq=1 ttl=63 time=0.815 ms 64 bytes from 151.219.161.67: seq=2 ttl=63 time=0.692 ms --- 151.219.161.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.692/1.579/3.232 ms 2025-08-15 09:31:11,919 - INFO - Ping to IP 151.219.161.67 from VM ctest-TestBasicPolicy-61908816-21798823 passed 2025-08-15 09:31:12,088 - DEBUG - Policy Update Response {"network-policy": {"uuid": "4f6fae8e-40fb-4dd5-849c-908d1320f6a5", "href": "http://10.0.0.254:8082/network-policy/4f6fae8e-40fb-4dd5-849c-908d1320f6a5"}} 2025-08-15 09:31:12,088 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 09:31:12,089 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 151.219.161.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-15 09:31:12,089 - DEBUG - ping -s 56 -c 3 -W 1 151.219.161.67 2025-08-15 09:31:15,285 - DEBUG - PING 151.219.161.67 (151.219.161.67): 56 data bytes 64 bytes from 151.219.161.67: seq=0 ttl=63 time=1.243 ms --- 151.219.161.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.243/1.243/1.243 ms 2025-08-15 09:31:15,285 - WARNING - Ping to IP 151.219.161.67 from VM ctest-TestBasicPolicy-61908816-21798823 failed 2025-08-15 09:31:15,285 - INFO - Deleting VM ctest-TestBasicPolicy-61908816-05121531 2025-08-15 09:31:15,344 - INFO - Deleting VM ctest-TestBasicPolicy-61908816-21798823 2025-08-15 09:31:15,689 - INFO - Deleted policy ctest-policy-allow-all-75276664 2025-08-15 09:31:15,690 - INFO - Deleting VN ctest-vn-73476606 2025-08-15 09:31:15,726 - DEBUG - VN 42266109-8773-4aaa-8b3b-124054c14af3 still in use: Unable to complete operation on network 42266109-8773-4aaa-8b3b-124054c14af3. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-778e7bd1-6955-4508-9c00-5fff391ee598'] 2025-08-15 09:31:15,726 - WARNING - Deleting VN ctest-vn-73476606 failed..Will retry 2025-08-15 09:31:17,824 - DEBUG - Response for deleting network () 2025-08-15 09:31:17,825 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/8b302873-db16-4346-8cdd-a354f7dbf3ae 2025-08-15 09:31:17,829 - DEBUG - Response Code: 404 2025-08-15 09:31:17,829 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-15 09:31:17,833 - DEBUG - Requesting: http://10.0.0.254:8082/domain/424ce239-1777-469b-aa9a-ed16dbfc5d9f 2025-08-15 09:31:17,885 - DEBUG - Requesting: http://10.0.0.254:8082/project/02b534b5-24b6-4312-abfa-bfcb415919aa 2025-08-15 09:31:17,950 - INFO - Validated that VN ctest-vn-73476606 is not found in API Server 2025-08-15 09:31:17,959 - DEBUG - VN ctest-vn-73476606 is not present in Agent 10.0.0.254 2025-08-15 09:31:17,959 - INFO - Validated that VN ctest-vn-73476606 is not in any agent 2025-08-15 09:31:17,972 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-73476606 info 2025-08-15 09:31:17,972 - INFO - Deleting VN ctest-vn-26482135 2025-08-15 09:31:18,064 - DEBUG - Response for deleting network () 2025-08-15 09:31:18,065 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/3e2d325d-77d4-4e9d-bc7b-1dc52c0d3704 2025-08-15 09:31:18,076 - DEBUG - Response Code: 404 2025-08-15 09:31:18,076 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-15 09:31:18,080 - DEBUG - Requesting: http://10.0.0.254:8082/domain/424ce239-1777-469b-aa9a-ed16dbfc5d9f 2025-08-15 09:31:18,134 - DEBUG - Requesting: http://10.0.0.254:8082/project/02b534b5-24b6-4312-abfa-bfcb415919aa 2025-08-15 09:31:18,206 - INFO - Validated that VN ctest-vn-26482135 is not found in API Server 2025-08-15 09:31:18,215 - DEBUG - VN ctest-vn-26482135 is not present in Agent 10.0.0.254 2025-08-15 09:31:18,215 - INFO - Validated that VN ctest-vn-26482135 is not in any agent 2025-08-15 09:31:18,228 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-26482135 info 2025-08-15 09:31:18,486 - DEBUG - No XMPP flaps were noticed during the test
2025-08-15 09:31:18,486 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-08-15 09:31:18,486 - INFO - -------------------------------------------------------------------------------- 2025-08-15 09:31:19,122 - INFO - Deleted project: ctest-TestBasicPolicy-61908816, ID : 02b534b5-24b6-4312-abfa-bfcb415919aa