2025-09-19 06:29:48,054 - INFO - Domain Default found not creating 2025-09-19 06:29:48,207 - INFO - Project ctest-TestBasicPolicy-84043543 not found, creating it 2025-09-19 06:29:48,660 - INFO - Created Project:ctest-TestBasicPolicy-84043543, ID : 06c9974b-f691-4c3f-ab3c-2ed7e6b3d643 2025-09-19 06:29:50,058 - INFO - ================================================================================ 2025-09-19 06:29:50,058 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-09-19 06:29:50,058 - 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-09-19 06:29:50,317 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.17': '0'}} with 2025-09-19 06:29:50,317 - INFO - Initial checks done. Running the testcase now 2025-09-19 06:29:50,318 - INFO - 2025-09-19 06:29:50,839 - DEBUG - Response for create_network : {'network': {'id': '8967a2fa-8d8c-4178-b171-582ceb04ef5d', 'name': 'ctest-vn-63231581', 'tenant_id': '06c9974bf6914c3fab3c2ed7e6b3d643', 'project_id': '06c9974bf6914c3fab3c2ed7e6b3d643', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-84043543', 'ctest-vn-63231581'], 'port_security_enabled': True, 'description': ''}} 2025-09-19 06:29:50,990 - DEBUG - Response for create_subnet : {'subnet': {'id': '5f9a69b2-e0df-4560-b22d-0d43f807c4c7', 'name': '', 'tenant_id': '06c9974bf6914c3fab3c2ed7e6b3d643', 'network_id': '8967a2fa-8d8c-4178-b171-582ceb04ef5d', 'ip_version': 4, 'cidr': '115.125.104.0/26', 'allocation_pools': [{'start': '115.125.104.2', 'end': '115.125.104.62'}], 'gateway_ip': '115.125.104.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '115.125.104.2', 'tags': [], 'project_id': '06c9974bf6914c3fab3c2ed7e6b3d643'}} 2025-09-19 06:29:51,006 - INFO - Created VN ctest-vn-63231581 2025-09-19 06:29:51,057 - DEBUG - VN ctest-vn-63231581 UUID is 8967a2fa-8d8c-4178-b171-582ceb04ef5d 2025-09-19 06:29:51,373 - DEBUG - Response for create_network : {'network': {'id': '510291e6-e207-4fc6-96d2-0b4e089cb853', 'name': 'ctest-vn-50096393', 'tenant_id': '06c9974bf6914c3fab3c2ed7e6b3d643', 'project_id': '06c9974bf6914c3fab3c2ed7e6b3d643', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-84043543', 'ctest-vn-50096393'], 'port_security_enabled': True, 'description': ''}} 2025-09-19 06:29:51,576 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b62820b2-9361-4bab-8f6f-7c924529a6f2', 'name': '', 'tenant_id': '06c9974bf6914c3fab3c2ed7e6b3d643', 'network_id': '510291e6-e207-4fc6-96d2-0b4e089cb853', 'ip_version': 4, 'cidr': '49.171.31.0/26', 'allocation_pools': [{'start': '49.171.31.2', 'end': '49.171.31.62'}], 'gateway_ip': '49.171.31.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '49.171.31.2', 'tags': [], 'project_id': '06c9974bf6914c3fab3c2ed7e6b3d643'}} 2025-09-19 06:29:51,595 - INFO - Created VN ctest-vn-50096393 2025-09-19 06:29:51,645 - DEBUG - VN ctest-vn-50096393 UUID is 510291e6-e207-4fc6-96d2-0b4e089cb853 2025-09-19 06:29:51,797 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-84043543:ctest-vn-63231581, 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-84043543:ctest-vn-50096393, 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-09-19 06:29:52,085 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8967a2fa-8d8c-4178-b171-582ceb04ef5d', 'name': 'ctest-vn-63231581', 'tenant_id': '06c9974bf6914c3fab3c2ed7e6b3d643', 'project_id': '06c9974bf6914c3fab3c2ed7e6b3d643', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5f9a69b2-e0df-4560-b22d-0d43f807c4c7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-84043543', 'ctest-vn-63231581'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-84043543', 'ctest-policy-allow-all-95843353']], 'subnet_ipam': [{'subnet_cidr': '115.125.104.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-19 06:29:52,300 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '510291e6-e207-4fc6-96d2-0b4e089cb853', 'name': 'ctest-vn-50096393', 'tenant_id': '06c9974bf6914c3fab3c2ed7e6b3d643', 'project_id': '06c9974bf6914c3fab3c2ed7e6b3d643', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b62820b2-9361-4bab-8f6f-7c924529a6f2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-84043543', 'ctest-vn-50096393'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-84043543', 'ctest-policy-allow-all-95843353']], 'subnet_ipam': [{'subnet_cidr': '49.171.31.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-19 06:29:52,461 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-09-19 06:29:52,750 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-09-19 06:29:52,779 - DEBUG - Requesting: http://10.0.0.65:8082/domain/cda59307-4118-49db-9871-4f16b76cf17c 2025-09-19 06:29:52,791 - DEBUG - Requesting: http://10.0.0.65:8082/project/06c9974b-f691-4c3f-ab3c-2ed7e6b3d643 2025-09-19 06:29:52,865 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/8967a2fa-8d8c-4178-b171-582ceb04ef5d 2025-09-19 06:29:52,876 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/8967a2fa-8d8c-4178-b171-582ceb04ef5d 2025-09-19 06:29:52,884 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/f576343d-f1da-434e-8aa7-37f7b073553c 2025-09-19 06:29:52,891 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/f576343d-f1da-434e-8aa7-37f7b073553c 2025-09-19 06:29:52,899 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/1fedcb7a-a498-444c-980c-895ed3ebc875 2025-09-19 06:29:52,905 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-19 06:29:52,905 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/8967a2fa-8d8c-4178-b171-582ceb04ef5d 2025-09-19 06:29:52,914 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/f576343d-f1da-434e-8aa7-37f7b073553c 2025-09-19 06:29:52,926 - INFO - Verified VN network id 12 for VN 8967a2fa-8d8c-4178-b171-582ceb04ef5d 2025-09-19 06:29:52,926 - INFO - Verifications in API Server for VN ctest-vn-63231581 passed 2025-09-19 06:29:52,926 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/8967a2fa-8d8c-4178-b171-582ceb04ef5d 2025-09-19 06:29:52,934 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/f576343d-f1da-434e-8aa7-37f7b073553c 2025-09-19 06:29:52,940 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/f576343d-f1da-434e-8aa7-37f7b073553c 2025-09-19 06:29:52,947 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/1fedcb7a-a498-444c-980c-895ed3ebc875 2025-09-19 06:29:52,958 - DEBUG - Control-node 10.0.0.65 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-84043543:ctest-vn-63231581', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-84043543', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9901061502797627768', 'uuid-lslong': '12786097767026323293'}, 'enable': 'true', 'created': '2025-09-19T06:29:50', 'last-modified': '2025-09-19T06:29:52', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.897039'} 2025-09-19 06:29:52,963 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-19 06:29:52,963 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-63231581 passed 2025-09-19 06:29:52,964 - DEBUG - ====Verifying policy data for ctest-vn-63231581 in API_Server ====== 2025-09-19 06:29:52,964 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-09-19 06:29:52,968 - DEBUG - Requesting: http://10.0.0.65:8082/domain/cda59307-4118-49db-9871-4f16b76cf17c 2025-09-19 06:29:52,979 - DEBUG - Requesting: http://10.0.0.65:8082/project/06c9974b-f691-4c3f-ab3c-2ed7e6b3d643 2025-09-19 06:29:53,044 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/8967a2fa-8d8c-4178-b171-582ceb04ef5d 2025-09-19 06:29:53,052 - DEBUG - ==>Verifying data for policy with id: b8835bfe-bdc8-4e57-bad6-17a74a5a90c9, fqn: ['default-domain', 'ctest-TestBasicPolicy-84043543', 'ctest-policy-allow-all-95843353'] 2025-09-19 06:29:53,053 - INFO - VN ctest-vn-63231581 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-19 06:29:53,053 - DEBUG - Verifying the vn in opserver 2025-09-19 06:29:53,053 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-84043543:ctest-vn-63231581 virtual network link through opserver 10.0.0.65 2025-09-19 06:29:53,053 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2025-09-19 06:29:53,341 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2025-09-19 06:29:53,388 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-84043543:ctest-vn-63231581', 'href': 'http://10.0.0.65:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-84043543:ctest-vn-63231581?flat'} 2025-09-19 06:29:53,388 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-84043543:ctest-vn-63231581 is found in opserver 2025-09-19 06:29:53,397 - DEBUG - Do not have enough data to verify VN in agent 2025-09-19 06:29:53,401 - DEBUG - VRF ids for VN ctest-vn-63231581: {} 2025-09-19 06:29:53,401 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-09-19 06:29:53,405 - DEBUG - Requesting: http://10.0.0.65:8082/domain/cda59307-4118-49db-9871-4f16b76cf17c 2025-09-19 06:29:53,416 - DEBUG - Requesting: http://10.0.0.65:8082/project/06c9974b-f691-4c3f-ab3c-2ed7e6b3d643 2025-09-19 06:29:53,480 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/510291e6-e207-4fc6-96d2-0b4e089cb853 2025-09-19 06:29:53,490 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/510291e6-e207-4fc6-96d2-0b4e089cb853 2025-09-19 06:29:53,498 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/09439825-0a35-409b-b547-deafc54d7da7 2025-09-19 06:29:53,504 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/09439825-0a35-409b-b547-deafc54d7da7 2025-09-19 06:29:53,509 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/6dfe641b-1b97-4e2e-a729-8019c54820a3 2025-09-19 06:29:53,515 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-19 06:29:53,515 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/510291e6-e207-4fc6-96d2-0b4e089cb853 2025-09-19 06:29:53,522 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/09439825-0a35-409b-b547-deafc54d7da7 2025-09-19 06:29:53,534 - INFO - Verified VN network id 13 for VN 510291e6-e207-4fc6-96d2-0b4e089cb853 2025-09-19 06:29:53,535 - INFO - Verifications in API Server for VN ctest-vn-50096393 passed 2025-09-19 06:29:53,535 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/510291e6-e207-4fc6-96d2-0b4e089cb853 2025-09-19 06:29:53,542 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/09439825-0a35-409b-b547-deafc54d7da7 2025-09-19 06:29:53,548 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/09439825-0a35-409b-b547-deafc54d7da7 2025-09-19 06:29:53,553 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/6dfe641b-1b97-4e2e-a729-8019c54820a3 2025-09-19 06:29:53,562 - DEBUG - Control-node 10.0.0.65 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-84043543:ctest-vn-50096393', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-84043543', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5837388487846219718', 'uuid-lslong': '10867761280578271315'}, 'enable': 'true', 'created': '2025-09-19T06:29:51', 'last-modified': '2025-09-19T06:29:52', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.280434'} 2025-09-19 06:29:53,567 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-19 06:29:53,567 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-50096393 passed 2025-09-19 06:29:53,568 - DEBUG - ====Verifying policy data for ctest-vn-50096393 in API_Server ====== 2025-09-19 06:29:53,568 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-09-19 06:29:53,573 - DEBUG - Requesting: http://10.0.0.65:8082/domain/cda59307-4118-49db-9871-4f16b76cf17c 2025-09-19 06:29:53,582 - DEBUG - Requesting: http://10.0.0.65:8082/project/06c9974b-f691-4c3f-ab3c-2ed7e6b3d643 2025-09-19 06:29:53,652 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/510291e6-e207-4fc6-96d2-0b4e089cb853 2025-09-19 06:29:53,671 - DEBUG - ==>Verifying data for policy with id: b8835bfe-bdc8-4e57-bad6-17a74a5a90c9, fqn: ['default-domain', 'ctest-TestBasicPolicy-84043543', 'ctest-policy-allow-all-95843353'] 2025-09-19 06:29:53,671 - INFO - VN ctest-vn-50096393 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-19 06:29:53,671 - DEBUG - Verifying the vn in opserver 2025-09-19 06:29:53,671 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-84043543:ctest-vn-50096393 virtual network link through opserver 10.0.0.65 2025-09-19 06:29:53,671 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2025-09-19 06:29:53,680 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-84043543:ctest-vn-50096393', 'href': 'http://10.0.0.65:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-84043543:ctest-vn-50096393?flat'} 2025-09-19 06:29:53,680 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-84043543:ctest-vn-50096393 is found in opserver 2025-09-19 06:29:53,689 - DEBUG - Do not have enough data to verify VN in agent 2025-09-19 06:29:53,693 - DEBUG - VRF ids for VN ctest-vn-50096393: {} 2025-09-19 06:29:53,744 - DEBUG - Services list from nova: [, , ] 2025-09-19 06:29:54,710 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4146-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4146-1) 2025-09-19 06:29:55,789 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4146-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4146-1) 2025-09-19 06:29:55,790 - INFO - Waiting for VM ctest-TestBasicPolicy-84043543-49856919 to be up.. 2025-09-19 06:29:55,862 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-19 06:30:00,942 - DEBUG - VM is in ACTIVE state now 2025-09-19 06:30:00,943 - INFO - VM name : ctest-TestBasicPolicy-84043543-49856919 2025-09-19 06:30:01,021 - DEBUG - VM ctest-TestBasicPolicy-84043543-49856919 ID is a7f91da5-ec88-454c-9db6-adf3db37de92 2025-09-19 06:30:01,039 - DEBUG - VM ctest-TestBasicPolicy-84043543-49856919 launched on Node cn-jenkins-deploy-platform-ansible-os-4146-1 2025-09-19 06:30:01,113 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/a7f91da5-ec88-454c-9db6-adf3db37de92 2025-09-19 06:30:01,120 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/35a60889-12a3-4ca8-9560-232a2b12b2f0 2025-09-19 06:30:04,359 - 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 1011ms') 2025-09-19 06:30:04,359 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-84043543-49856919 failed! 2025-09-19 06:30:04,413 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-84043543:ctest-vn-63231581 is 115.125.104.1 and allocation pool is NOT set 2025-09-19 06:30:06,472 - 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=4.83 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.434 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.434/2.630/4.826/2.196 ms') 2025-09-19 06:30:06,472 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-84043543-49856919 passed 2025-09-19 06:30:06,625 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-19 06:30:06,625 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-84043543-49856919, IP 115.125.104.3, Port 22 2025-09-19 06:30:06,784 - DEBUG - VM ctest-TestBasicPolicy-84043543-49856919 is ready for SSH connections 2025-09-19 06:30:06,784 - INFO - Waiting for VM ctest-TestBasicPolicy-84043543-44995128 to be up.. 2025-09-19 06:30:06,863 - DEBUG - VM is in ACTIVE state now 2025-09-19 06:30:06,863 - INFO - VM name : ctest-TestBasicPolicy-84043543-44995128 2025-09-19 06:30:06,933 - DEBUG - VM ctest-TestBasicPolicy-84043543-44995128 ID is af82ee28-7fc1-4c79-9ad5-023572443bd1 2025-09-19 06:30:06,934 - DEBUG - VM ctest-TestBasicPolicy-84043543-44995128 launched on Node cn-jenkins-deploy-platform-ansible-os-4146-1 2025-09-19 06:30:07,004 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/af82ee28-7fc1-4c79-9ad5-023572443bd1 2025-09-19 06:30:07,012 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/0addb806-4720-4247-9c20-b1a48257d5de 2025-09-19 06:30:08,245 - 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.82 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.410 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.410/1.614/2.818/1.204 ms') 2025-09-19 06:30:08,246 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-84043543-44995128 passed 2025-09-19 06:30:08,393 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-19 06:30:08,393 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-84043543-44995128, IP 49.171.31.3, Port 22 2025-09-19 06:30:08,553 - DEBUG - VM ctest-TestBasicPolicy-84043543-44995128 is ready for SSH connections 2025-09-19 06:30:08,553 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-19 06:30:08,553 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 49.171.31.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-09-19 06:30:08,553 - DEBUG - ping -s 56 -c 3 -W 1 49.171.31.3 2025-09-19 06:30:12,298 - DEBUG - PING 49.171.31.3 (49.171.31.3): 56 data bytes 64 bytes from 49.171.31.3: seq=0 ttl=63 time=4.927 ms 64 bytes from 49.171.31.3: seq=1 ttl=63 time=0.958 ms 64 bytes from 49.171.31.3: seq=2 ttl=63 time=0.878 ms --- 49.171.31.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.878/2.254/4.927 ms 2025-09-19 06:30:12,298 - INFO - Ping to IP 49.171.31.3 from VM ctest-TestBasicPolicy-84043543-49856919 passed 2025-09-19 06:30:12,480 - DEBUG - Policy Update Response {"network-policy": {"uuid": "b8835bfe-bdc8-4e57-bad6-17a74a5a90c9", "href": "http://10.0.0.65:8082/network-policy/b8835bfe-bdc8-4e57-bad6-17a74a5a90c9"}} 2025-09-19 06:30:12,481 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-19 06:30:12,481 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 49.171.31.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-09-19 06:30:12,481 - DEBUG - ping -s 56 -c 3 -W 1 49.171.31.3 2025-09-19 06:30:15,690 - DEBUG - PING 49.171.31.3 (49.171.31.3): 56 data bytes --- 49.171.31.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-19 06:30:15,690 - WARNING - Ping to IP 49.171.31.3 from VM ctest-TestBasicPolicy-84043543-49856919 failed 2025-09-19 06:30:15,690 - INFO - Deleting VM ctest-TestBasicPolicy-84043543-44995128 2025-09-19 06:30:15,751 - INFO - Deleting VM ctest-TestBasicPolicy-84043543-49856919 2025-09-19 06:30:16,113 - INFO - Deleted policy ctest-policy-allow-all-95843353 2025-09-19 06:30:16,114 - INFO - Deleting VN ctest-vn-50096393 2025-09-19 06:30:16,147 - DEBUG - VN 510291e6-e207-4fc6-96d2-0b4e089cb853 still in use: Unable to complete operation on network 510291e6-e207-4fc6-96d2-0b4e089cb853. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-28fb25e7-fe71-445f-bd5e-28d6440ed8a8'] 2025-09-19 06:30:16,148 - WARNING - Deleting VN ctest-vn-50096393 failed..Will retry 2025-09-19 06:30:18,244 - DEBUG - Response for deleting network () 2025-09-19 06:30:18,244 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/09439825-0a35-409b-b547-deafc54d7da7 2025-09-19 06:30:18,251 - DEBUG - Response Code: 404 2025-09-19 06:30:18,251 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-09-19 06:30:18,256 - DEBUG - Requesting: http://10.0.0.65:8082/domain/cda59307-4118-49db-9871-4f16b76cf17c 2025-09-19 06:30:18,311 - DEBUG - Requesting: http://10.0.0.65:8082/project/06c9974b-f691-4c3f-ab3c-2ed7e6b3d643 2025-09-19 06:30:18,381 - INFO - Validated that VN ctest-vn-50096393 is not found in API Server 2025-09-19 06:30:18,390 - DEBUG - VN ctest-vn-50096393 is not present in Agent 10.0.0.65 2025-09-19 06:30:18,390 - INFO - Validated that VN ctest-vn-50096393 is not in any agent 2025-09-19 06:30:18,403 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-50096393 info 2025-09-19 06:30:18,403 - INFO - Deleting VN ctest-vn-63231581 2025-09-19 06:30:18,494 - DEBUG - Response for deleting network () 2025-09-19 06:30:18,494 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/f576343d-f1da-434e-8aa7-37f7b073553c 2025-09-19 06:30:18,500 - DEBUG - Response Code: 404 2025-09-19 06:30:18,500 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-09-19 06:30:18,505 - DEBUG - Requesting: http://10.0.0.65:8082/domain/cda59307-4118-49db-9871-4f16b76cf17c 2025-09-19 06:30:18,558 - DEBUG - Requesting: http://10.0.0.65:8082/project/06c9974b-f691-4c3f-ab3c-2ed7e6b3d643 2025-09-19 06:30:18,622 - INFO - Validated that VN ctest-vn-63231581 is not found in API Server 2025-09-19 06:30:18,631 - DEBUG - VN ctest-vn-63231581 is not present in Agent 10.0.0.65 2025-09-19 06:30:18,631 - INFO - Validated that VN ctest-vn-63231581 is not in any agent 2025-09-19 06:30:18,645 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-63231581 info 2025-09-19 06:30:18,902 - DEBUG - No XMPP flaps were noticed during the test
2025-09-19 06:30:18,902 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:28]
2025-09-19 06:30:18,902 - INFO - -------------------------------------------------------------------------------- 2025-09-19 06:30:19,560 - INFO - Deleted project: ctest-TestBasicPolicy-84043543, ID : 06c9974b-f691-4c3f-ab3c-2ed7e6b3d643