2025-12-22 14:01:27,298 - INFO - Domain Default found not creating 2025-12-22 14:01:27,516 - INFO - Project ctest-TestBasicPolicy-82088475 not found, creating it 2025-12-22 14:01:27,999 - INFO - Created Project:ctest-TestBasicPolicy-82088475, ID : 461e95db-553e-4801-9fb2-f1044eb62720 2025-12-22 14:01:29,616 - INFO - ================================================================================ 2025-12-22 14:01:29,616 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-12-22 14:01:29,616 - 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-12-22 14:01:29,887 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.14': '0'}} with 2025-12-22 14:01:29,887 - INFO - Initial checks done. Running the testcase now 2025-12-22 14:01:29,887 - INFO - 2025-12-22 14:01:30,497 - DEBUG - Response for create_network : {'network': {'id': 'b21da9d7-da26-4b30-b777-cf0b55b832bb', 'name': 'ctest-vn-51580936', 'tenant_id': '461e95db553e48019fb2f1044eb62720', 'project_id': '461e95db553e48019fb2f1044eb62720', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-82088475', 'ctest-vn-51580936'], 'port_security_enabled': True, 'description': ''}} 2025-12-22 14:01:30,731 - DEBUG - Response for create_subnet : {'subnet': {'id': '3eb2b321-d9e1-4a96-a69b-77aa99f8bdad', 'name': '', 'tenant_id': '461e95db553e48019fb2f1044eb62720', 'network_id': 'b21da9d7-da26-4b30-b777-cf0b55b832bb', 'ip_version': 4, 'cidr': '101.175.201.192/26', 'allocation_pools': [{'start': '101.175.201.194', 'end': '101.175.201.254'}], 'gateway_ip': '101.175.201.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '101.175.201.194', 'tags': [], 'project_id': '461e95db553e48019fb2f1044eb62720'}} 2025-12-22 14:01:30,751 - INFO - Created VN ctest-vn-51580936 2025-12-22 14:01:30,805 - DEBUG - VN ctest-vn-51580936 UUID is b21da9d7-da26-4b30-b777-cf0b55b832bb 2025-12-22 14:01:31,136 - DEBUG - Response for create_network : {'network': {'id': '0dc2eb36-daba-4146-baec-d2f9c2261703', 'name': 'ctest-vn-26845704', 'tenant_id': '461e95db553e48019fb2f1044eb62720', 'project_id': '461e95db553e48019fb2f1044eb62720', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-82088475', 'ctest-vn-26845704'], 'port_security_enabled': True, 'description': ''}} 2025-12-22 14:01:31,329 - DEBUG - Response for create_subnet : {'subnet': {'id': '07369c52-382f-4562-9ac1-cd5f39c06986', 'name': '', 'tenant_id': '461e95db553e48019fb2f1044eb62720', 'network_id': '0dc2eb36-daba-4146-baec-d2f9c2261703', 'ip_version': 4, 'cidr': '148.121.255.192/26', 'allocation_pools': [{'start': '148.121.255.194', 'end': '148.121.255.254'}], 'gateway_ip': '148.121.255.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '148.121.255.194', 'tags': [], 'project_id': '461e95db553e48019fb2f1044eb62720'}} 2025-12-22 14:01:31,349 - INFO - Created VN ctest-vn-26845704 2025-12-22 14:01:31,405 - DEBUG - VN ctest-vn-26845704 UUID is 0dc2eb36-daba-4146-baec-d2f9c2261703 2025-12-22 14:01:31,523 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-82088475:ctest-vn-51580936, 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-82088475:ctest-vn-26845704, 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-12-22 14:01:31,842 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b21da9d7-da26-4b30-b777-cf0b55b832bb', 'name': 'ctest-vn-51580936', 'tenant_id': '461e95db553e48019fb2f1044eb62720', 'project_id': '461e95db553e48019fb2f1044eb62720', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3eb2b321-d9e1-4a96-a69b-77aa99f8bdad'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-82088475', 'ctest-vn-51580936'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-82088475', 'ctest-policy-allow-all-32718600']], 'subnet_ipam': [{'subnet_cidr': '101.175.201.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-22 14:01:32,083 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0dc2eb36-daba-4146-baec-d2f9c2261703', 'name': 'ctest-vn-26845704', 'tenant_id': '461e95db553e48019fb2f1044eb62720', 'project_id': '461e95db553e48019fb2f1044eb62720', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['07369c52-382f-4562-9ac1-cd5f39c06986'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-82088475', 'ctest-vn-26845704'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-82088475', 'ctest-policy-allow-all-32718600']], 'subnet_ipam': [{'subnet_cidr': '148.121.255.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-22 14:01:32,229 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-12-22 14:01:32,545 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-12-22 14:01:32,587 - DEBUG - Requesting: http://10.0.0.22:8082/domain/3336feff-2252-4c25-a4cc-d58e76609b01 2025-12-22 14:01:32,601 - DEBUG - Requesting: http://10.0.0.22:8082/project/461e95db-553e-4801-9fb2-f1044eb62720 2025-12-22 14:01:32,677 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/b21da9d7-da26-4b30-b777-cf0b55b832bb 2025-12-22 14:01:32,688 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/b21da9d7-da26-4b30-b777-cf0b55b832bb 2025-12-22 14:01:32,700 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/5c44de67-a274-4800-9ba9-82a0e4aa2b10 2025-12-22 14:01:32,708 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/5c44de67-a274-4800-9ba9-82a0e4aa2b10 2025-12-22 14:01:32,715 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/a3aea7f2-55b2-46db-841f-0de6aeb21faf 2025-12-22 14:01:32,723 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-22 14:01:32,723 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/b21da9d7-da26-4b30-b777-cf0b55b832bb 2025-12-22 14:01:32,734 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/5c44de67-a274-4800-9ba9-82a0e4aa2b10 2025-12-22 14:01:32,749 - INFO - Verified VN network id 11 for VN b21da9d7-da26-4b30-b777-cf0b55b832bb 2025-12-22 14:01:32,749 - INFO - Verifications in API Server for VN ctest-vn-51580936 passed 2025-12-22 14:01:32,749 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/b21da9d7-da26-4b30-b777-cf0b55b832bb 2025-12-22 14:01:32,759 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/5c44de67-a274-4800-9ba9-82a0e4aa2b10 2025-12-22 14:01:32,767 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/5c44de67-a274-4800-9ba9-82a0e4aa2b10 2025-12-22 14:01:32,777 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/a3aea7f2-55b2-46db-841f-0de6aeb21faf 2025-12-22 14:01:32,790 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-82088475:ctest-vn-51580936', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-82088475', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12834601257618787120', 'uuid-lslong': '13220262878759105211'}, 'enable': 'true', 'created': '2025-12-22T14:01:30', 'last-modified': '2025-12-22T14:01:31', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.975620'} 2025-12-22 14:01:32,796 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-22 14:01:32,797 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-51580936 passed 2025-12-22 14:01:32,797 - DEBUG - ====Verifying policy data for ctest-vn-51580936 in API_Server ====== 2025-12-22 14:01:32,797 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-12-22 14:01:32,803 - DEBUG - Requesting: http://10.0.0.22:8082/domain/3336feff-2252-4c25-a4cc-d58e76609b01 2025-12-22 14:01:32,816 - DEBUG - Requesting: http://10.0.0.22:8082/project/461e95db-553e-4801-9fb2-f1044eb62720 2025-12-22 14:01:32,895 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/b21da9d7-da26-4b30-b777-cf0b55b832bb 2025-12-22 14:01:32,905 - DEBUG - ==>Verifying data for policy with id: a546b679-109b-4094-b9d4-be0d624c76e7, fqn: ['default-domain', 'ctest-TestBasicPolicy-82088475', 'ctest-policy-allow-all-32718600'] 2025-12-22 14:01:32,905 - INFO - VN ctest-vn-51580936 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-22 14:01:32,905 - DEBUG - Verifying the vn in opserver 2025-12-22 14:01:32,905 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-82088475:ctest-vn-51580936 virtual network link through opserver 10.0.0.22 2025-12-22 14:01:32,906 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-12-22 14:01:33,204 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-12-22 14:01:33,280 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-82088475:ctest-vn-51580936', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-82088475:ctest-vn-51580936?flat'} 2025-12-22 14:01:33,280 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-82088475:ctest-vn-51580936 is found in opserver 2025-12-22 14:01:33,290 - DEBUG - Do not have enough data to verify VN in agent 2025-12-22 14:01:33,295 - DEBUG - VRF ids for VN ctest-vn-51580936: {} 2025-12-22 14:01:33,295 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-12-22 14:01:33,300 - DEBUG - Requesting: http://10.0.0.22:8082/domain/3336feff-2252-4c25-a4cc-d58e76609b01 2025-12-22 14:01:33,312 - DEBUG - Requesting: http://10.0.0.22:8082/project/461e95db-553e-4801-9fb2-f1044eb62720 2025-12-22 14:01:33,385 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/0dc2eb36-daba-4146-baec-d2f9c2261703 2025-12-22 14:01:33,397 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/0dc2eb36-daba-4146-baec-d2f9c2261703 2025-12-22 14:01:33,407 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/183be29f-05ba-45c6-95ab-8b22796e52bd 2025-12-22 14:01:33,415 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/183be29f-05ba-45c6-95ab-8b22796e52bd 2025-12-22 14:01:33,423 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/225cb16c-4e72-49a1-96a8-9eab9e2d84d8 2025-12-22 14:01:33,431 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-22 14:01:33,431 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/0dc2eb36-daba-4146-baec-d2f9c2261703 2025-12-22 14:01:33,439 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/183be29f-05ba-45c6-95ab-8b22796e52bd 2025-12-22 14:01:33,454 - INFO - Verified VN network id 12 for VN 0dc2eb36-daba-4146-baec-d2f9c2261703 2025-12-22 14:01:33,454 - INFO - Verifications in API Server for VN ctest-vn-26845704 passed 2025-12-22 14:01:33,454 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/0dc2eb36-daba-4146-baec-d2f9c2261703 2025-12-22 14:01:33,464 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/183be29f-05ba-45c6-95ab-8b22796e52bd 2025-12-22 14:01:33,473 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/183be29f-05ba-45c6-95ab-8b22796e52bd 2025-12-22 14:01:33,485 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/225cb16c-4e72-49a1-96a8-9eab9e2d84d8 2025-12-22 14:01:33,502 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-82088475:ctest-vn-26845704', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-82088475', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '991613488805331270', 'uuid-lslong': '13469372555704276739'}, 'enable': 'true', 'created': '2025-12-22T14:01:31', 'last-modified': '2025-12-22T14:01:32', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.444669'} 2025-12-22 14:01:33,508 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-22 14:01:33,508 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-26845704 passed 2025-12-22 14:01:33,508 - DEBUG - ====Verifying policy data for ctest-vn-26845704 in API_Server ====== 2025-12-22 14:01:33,509 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-12-22 14:01:33,515 - DEBUG - Requesting: http://10.0.0.22:8082/domain/3336feff-2252-4c25-a4cc-d58e76609b01 2025-12-22 14:01:33,528 - DEBUG - Requesting: http://10.0.0.22:8082/project/461e95db-553e-4801-9fb2-f1044eb62720 2025-12-22 14:01:33,606 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/0dc2eb36-daba-4146-baec-d2f9c2261703 2025-12-22 14:01:33,615 - DEBUG - ==>Verifying data for policy with id: a546b679-109b-4094-b9d4-be0d624c76e7, fqn: ['default-domain', 'ctest-TestBasicPolicy-82088475', 'ctest-policy-allow-all-32718600'] 2025-12-22 14:01:33,615 - INFO - VN ctest-vn-26845704 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-22 14:01:33,615 - DEBUG - Verifying the vn in opserver 2025-12-22 14:01:33,615 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-82088475:ctest-vn-26845704 virtual network link through opserver 10.0.0.22 2025-12-22 14:01:33,615 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-12-22 14:01:33,626 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-82088475:ctest-vn-26845704', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-82088475:ctest-vn-26845704?flat'} 2025-12-22 14:01:33,626 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-82088475:ctest-vn-26845704 is found in opserver 2025-12-22 14:01:33,637 - DEBUG - Do not have enough data to verify VN in agent 2025-12-22 14:01:33,642 - DEBUG - VRF ids for VN ctest-vn-26845704: {} 2025-12-22 14:01:33,706 - DEBUG - Services list from nova: [, , ] 2025-12-22 14:01:34,788 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4920-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4920-1) 2025-12-22 14:01:36,088 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4920-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4920-1) 2025-12-22 14:01:36,088 - INFO - Waiting for VM ctest-TestBasicPolicy-82088475-74542755 to be up.. 2025-12-22 14:01:36,180 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-22 14:01:41,336 - DEBUG - VM is in ACTIVE state now 2025-12-22 14:01:41,336 - INFO - VM name : ctest-TestBasicPolicy-82088475-74542755 2025-12-22 14:01:41,532 - DEBUG - VM ctest-TestBasicPolicy-82088475-74542755 ID is 002e7ac3-c28d-48ae-9986-2457361e855d 2025-12-22 14:01:41,592 - DEBUG - VM ctest-TestBasicPolicy-82088475-74542755 launched on Node cn-jenkins-deploy-platform-ansible-os-4920-1 2025-12-22 14:01:41,770 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/002e7ac3-c28d-48ae-9986-2457361e855d 2025-12-22 14:01:41,800 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/55ef2808-b503-4c25-b583-08cc26f58797 2025-12-22 14:01:45,095 - 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 1004ms') 2025-12-22 14:01:45,095 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-82088475-74542755 failed! 2025-12-22 14:01:45,149 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-82088475:ctest-vn-51580936 is 101.175.201.193 and allocation pool is NOT set 2025-12-22 14:01:47,221 - 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=12.6 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.413 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.413/6.519/12.626/6.106 ms') 2025-12-22 14:01:47,221 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-82088475-74542755 passed 2025-12-22 14:01:47,377 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-22 14:01:47,377 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-82088475-74542755, IP 101.175.201.195, Port 22 2025-12-22 14:01:47,552 - DEBUG - VM ctest-TestBasicPolicy-82088475-74542755 is ready for SSH connections 2025-12-22 14:01:47,552 - INFO - Waiting for VM ctest-TestBasicPolicy-82088475-64396934 to be up.. 2025-12-22 14:01:47,658 - DEBUG - VM is in ACTIVE state now 2025-12-22 14:01:47,658 - INFO - VM name : ctest-TestBasicPolicy-82088475-64396934 2025-12-22 14:01:47,775 - DEBUG - VM ctest-TestBasicPolicy-82088475-64396934 ID is 1ae74e8f-f9e1-4241-b265-7122a8d61fae 2025-12-22 14:01:47,775 - DEBUG - VM ctest-TestBasicPolicy-82088475-64396934 launched on Node cn-jenkins-deploy-platform-ansible-os-4920-1 2025-12-22 14:01:47,870 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/1ae74e8f-f9e1-4241-b265-7122a8d61fae 2025-12-22 14:01:47,880 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/f46b2166-9cc5-41cc-afaf-83273e94bad8 2025-12-22 14:01:49,138 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=3.36 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=3.29 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 = 3.292/3.326/3.360/0.034 ms') 2025-12-22 14:01:49,138 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-82088475-64396934 passed 2025-12-22 14:01:49,293 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-22 14:01:49,294 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-82088475-64396934, IP 148.121.255.195, Port 22 2025-12-22 14:01:49,449 - DEBUG - VM ctest-TestBasicPolicy-82088475-64396934 is ready for SSH connections 2025-12-22 14:01:49,449 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-22 14:01:49,449 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 148.121.255.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-12-22 14:01:49,449 - DEBUG - ping -s 56 -c 3 -W 1 148.121.255.195 2025-12-22 14:01:53,554 - DEBUG - PING 148.121.255.195 (148.121.255.195): 56 data bytes 64 bytes from 148.121.255.195: seq=0 ttl=63 time=3.858 ms 64 bytes from 148.121.255.195: seq=1 ttl=63 time=1.419 ms 64 bytes from 148.121.255.195: seq=2 ttl=63 time=0.976 ms --- 148.121.255.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.976/2.084/3.858 ms 2025-12-22 14:01:53,554 - INFO - Ping to IP 148.121.255.195 from VM ctest-TestBasicPolicy-82088475-74542755 passed 2025-12-22 14:01:53,733 - DEBUG - Policy Update Response {"network-policy": {"uuid": "a546b679-109b-4094-b9d4-be0d624c76e7", "href": "http://10.0.0.22:8082/network-policy/a546b679-109b-4094-b9d4-be0d624c76e7"}} 2025-12-22 14:01:53,733 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-22 14:01:53,733 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 148.121.255.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-12-22 14:01:53,734 - DEBUG - ping -s 56 -c 3 -W 1 148.121.255.195 2025-12-22 14:01:56,953 - DEBUG - PING 148.121.255.195 (148.121.255.195): 56 data bytes --- 148.121.255.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-22 14:01:56,953 - WARNING - Ping to IP 148.121.255.195 from VM ctest-TestBasicPolicy-82088475-74542755 failed 2025-12-22 14:01:56,953 - INFO - Deleting VM ctest-TestBasicPolicy-82088475-64396934 2025-12-22 14:01:57,048 - INFO - Deleting VM ctest-TestBasicPolicy-82088475-74542755 2025-12-22 14:01:57,498 - INFO - Deleted policy ctest-policy-allow-all-32718600 2025-12-22 14:01:57,498 - INFO - Deleting VN ctest-vn-26845704 2025-12-22 14:01:57,543 - DEBUG - VN 0dc2eb36-daba-4146-baec-d2f9c2261703 still in use: Unable to complete operation on network 0dc2eb36-daba-4146-baec-d2f9c2261703. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-119d70a1-2cb1-45dc-a0df-ba14f9fb8e2a'] 2025-12-22 14:01:57,543 - WARNING - Deleting VN ctest-vn-26845704 failed..Will retry 2025-12-22 14:01:59,660 - DEBUG - Response for deleting network () 2025-12-22 14:01:59,660 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/183be29f-05ba-45c6-95ab-8b22796e52bd 2025-12-22 14:01:59,667 - DEBUG - Response Code: 404 2025-12-22 14:01:59,668 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-12-22 14:01:59,674 - DEBUG - Requesting: http://10.0.0.22:8082/domain/3336feff-2252-4c25-a4cc-d58e76609b01 2025-12-22 14:01:59,727 - DEBUG - Requesting: http://10.0.0.22:8082/project/461e95db-553e-4801-9fb2-f1044eb62720 2025-12-22 14:01:59,798 - INFO - Validated that VN ctest-vn-26845704 is not found in API Server 2025-12-22 14:01:59,807 - DEBUG - VN ctest-vn-26845704 is not present in Agent 10.0.0.22 2025-12-22 14:01:59,807 - INFO - Validated that VN ctest-vn-26845704 is not in any agent 2025-12-22 14:01:59,822 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-26845704 info 2025-12-22 14:01:59,822 - INFO - Deleting VN ctest-vn-51580936 2025-12-22 14:01:59,928 - DEBUG - Response for deleting network () 2025-12-22 14:01:59,928 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/5c44de67-a274-4800-9ba9-82a0e4aa2b10 2025-12-22 14:01:59,935 - DEBUG - Response Code: 404 2025-12-22 14:01:59,935 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-12-22 14:01:59,941 - DEBUG - Requesting: http://10.0.0.22:8082/domain/3336feff-2252-4c25-a4cc-d58e76609b01 2025-12-22 14:01:59,994 - DEBUG - Requesting: http://10.0.0.22:8082/project/461e95db-553e-4801-9fb2-f1044eb62720 2025-12-22 14:02:00,067 - INFO - Validated that VN ctest-vn-51580936 is not found in API Server 2025-12-22 14:02:00,077 - DEBUG - VN ctest-vn-51580936 is not present in Agent 10.0.0.22 2025-12-22 14:02:00,077 - INFO - Validated that VN ctest-vn-51580936 is not in any agent 2025-12-22 14:02:00,092 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-51580936 info 2025-12-22 14:02:00,361 - DEBUG - No XMPP flaps were noticed during the test 2025-12-22 14:02:00,361 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31] 2025-12-22 14:02:00,361 - INFO - -------------------------------------------------------------------------------- 2025-12-22 14:02:01,103 - INFO - Deleted project: ctest-TestBasicPolicy-82088475, ID : 461e95db-553e-4801-9fb2-f1044eb62720