2025-10-14 18:15:42,458 - INFO - Domain Default found not creating 2025-10-14 18:15:42,656 - INFO - Project ctest-TestBasicPolicy-20729150 not found, creating it 2025-10-14 18:15:43,107 - INFO - Created Project:ctest-TestBasicPolicy-20729150, ID : ab9fc745-a282-494d-8a5e-067554314a66 2025-10-14 18:15:44,550 - INFO - ================================================================================ 2025-10-14 18:15:44,551 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-14 18:15:44,551 - 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-14 18:15:44,806 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.14': '0'}} with 2025-10-14 18:15:44,806 - INFO - Initial checks done. Running the testcase now 2025-10-14 18:15:44,806 - INFO - 2025-10-14 18:15:45,365 - DEBUG - Response for create_network : {'network': {'id': 'd0702138-36ea-484c-bfa4-442e2cc97851', 'name': 'ctest-vn-48553963', 'tenant_id': 'ab9fc745a282494d8a5e067554314a66', 'project_id': 'ab9fc745a282494d8a5e067554314a66', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20729150', 'ctest-vn-48553963'], 'port_security_enabled': True, 'description': ''}} 2025-10-14 18:15:45,585 - DEBUG - Response for create_subnet : {'subnet': {'id': '9bf26c33-8ea5-444a-a051-0ab4006e8c53', 'name': '', 'tenant_id': 'ab9fc745a282494d8a5e067554314a66', 'network_id': 'd0702138-36ea-484c-bfa4-442e2cc97851', 'ip_version': 4, 'cidr': '117.73.253.64/26', 'allocation_pools': [{'start': '117.73.253.66', 'end': '117.73.253.126'}], 'gateway_ip': '117.73.253.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '117.73.253.66', 'tags': [], 'project_id': 'ab9fc745a282494d8a5e067554314a66'}} 2025-10-14 18:15:45,600 - INFO - Created VN ctest-vn-48553963 2025-10-14 18:15:45,652 - DEBUG - VN ctest-vn-48553963 UUID is d0702138-36ea-484c-bfa4-442e2cc97851 2025-10-14 18:15:45,967 - DEBUG - Response for create_network : {'network': {'id': '83f542a2-c8a8-4905-aa4e-adec4927005f', 'name': 'ctest-vn-42178553', 'tenant_id': 'ab9fc745a282494d8a5e067554314a66', 'project_id': 'ab9fc745a282494d8a5e067554314a66', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20729150', 'ctest-vn-42178553'], 'port_security_enabled': True, 'description': ''}} 2025-10-14 18:15:46,151 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bce70cc0-1fcd-4f0e-bc55-5dfc7ba20ebf', 'name': '', 'tenant_id': 'ab9fc745a282494d8a5e067554314a66', 'network_id': '83f542a2-c8a8-4905-aa4e-adec4927005f', 'ip_version': 4, 'cidr': '70.126.25.64/26', 'allocation_pools': [{'start': '70.126.25.66', 'end': '70.126.25.126'}], 'gateway_ip': '70.126.25.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '70.126.25.66', 'tags': [], 'project_id': 'ab9fc745a282494d8a5e067554314a66'}} 2025-10-14 18:15:46,168 - INFO - Created VN ctest-vn-42178553 2025-10-14 18:15:46,220 - DEBUG - VN ctest-vn-42178553 UUID is 83f542a2-c8a8-4905-aa4e-adec4927005f 2025-10-14 18:15:46,368 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-20729150:ctest-vn-48553963, 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-20729150:ctest-vn-42178553, 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-14 18:15:46,657 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd0702138-36ea-484c-bfa4-442e2cc97851', 'name': 'ctest-vn-48553963', 'tenant_id': 'ab9fc745a282494d8a5e067554314a66', 'project_id': 'ab9fc745a282494d8a5e067554314a66', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9bf26c33-8ea5-444a-a051-0ab4006e8c53'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20729150', 'ctest-vn-48553963'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-20729150', 'ctest-policy-allow-all-48441960']], 'subnet_ipam': [{'subnet_cidr': '117.73.253.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-14 18:15:46,893 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '83f542a2-c8a8-4905-aa4e-adec4927005f', 'name': 'ctest-vn-42178553', 'tenant_id': 'ab9fc745a282494d8a5e067554314a66', 'project_id': 'ab9fc745a282494d8a5e067554314a66', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['bce70cc0-1fcd-4f0e-bc55-5dfc7ba20ebf'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20729150', 'ctest-vn-42178553'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-20729150', 'ctest-policy-allow-all-48441960']], 'subnet_ipam': [{'subnet_cidr': '70.126.25.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-14 18:15:47,048 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-10-14 18:15:47,358 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-10-14 18:15:47,665 - DEBUG - Requesting: http://10.0.0.50:8082/domain/6ca03870-1883-4af4-a992-1e6a9d75f549 2025-10-14 18:15:47,677 - DEBUG - Requesting: http://10.0.0.50:8082/project/ab9fc745-a282-494d-8a5e-067554314a66 2025-10-14 18:15:47,745 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d0702138-36ea-484c-bfa4-442e2cc97851 2025-10-14 18:15:47,755 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d0702138-36ea-484c-bfa4-442e2cc97851 2025-10-14 18:15:47,763 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/290419b5-177e-400e-844f-9873d37de8fb 2025-10-14 18:15:47,769 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/290419b5-177e-400e-844f-9873d37de8fb 2025-10-14 18:15:47,775 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/99c0eec8-6b45-48b2-9190-61d8ada8f35a 2025-10-14 18:15:47,781 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-14 18:15:47,781 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d0702138-36ea-484c-bfa4-442e2cc97851 2025-10-14 18:15:47,788 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/290419b5-177e-400e-844f-9873d37de8fb 2025-10-14 18:15:47,802 - INFO - Verified VN network id 11 for VN d0702138-36ea-484c-bfa4-442e2cc97851 2025-10-14 18:15:47,802 - INFO - Verifications in API Server for VN ctest-vn-48553963 passed 2025-10-14 18:15:47,802 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d0702138-36ea-484c-bfa4-442e2cc97851 2025-10-14 18:15:47,811 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/290419b5-177e-400e-844f-9873d37de8fb 2025-10-14 18:15:47,818 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/290419b5-177e-400e-844f-9873d37de8fb 2025-10-14 18:15:47,825 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/99c0eec8-6b45-48b2-9190-61d8ada8f35a 2025-10-14 18:15:47,837 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-20729150:ctest-vn-48553963', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-20729150', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15019541282603812940', 'uuid-lslong': '13809237322535368785'}, 'enable': 'true', 'created': '2025-10-14T18:15:45', 'last-modified': '2025-10-14T18:15:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.200401'} 2025-10-14 18:15:47,844 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-14 18:15:47,845 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-48553963 passed 2025-10-14 18:15:47,845 - DEBUG - ====Verifying policy data for ctest-vn-48553963 in API_Server ====== 2025-10-14 18:15:47,846 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-10-14 18:15:47,851 - DEBUG - Requesting: http://10.0.0.50:8082/domain/6ca03870-1883-4af4-a992-1e6a9d75f549 2025-10-14 18:15:47,861 - DEBUG - Requesting: http://10.0.0.50:8082/project/ab9fc745-a282-494d-8a5e-067554314a66 2025-10-14 18:15:47,934 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d0702138-36ea-484c-bfa4-442e2cc97851 2025-10-14 18:15:47,951 - DEBUG - ==>Verifying data for policy with id: e4709ad1-4895-4d43-8c69-58752fbbcf7b, fqn: ['default-domain', 'ctest-TestBasicPolicy-20729150', 'ctest-policy-allow-all-48441960'] 2025-10-14 18:15:47,951 - INFO - VN ctest-vn-48553963 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-14 18:15:47,951 - DEBUG - Verifying the vn in opserver 2025-10-14 18:15:47,951 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-20729150:ctest-vn-48553963 virtual network link through opserver 10.0.0.50 2025-10-14 18:15:47,951 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-10-14 18:15:48,276 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-10-14 18:15:48,347 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-20729150:ctest-vn-48553963', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-20729150:ctest-vn-48553963?flat'} 2025-10-14 18:15:48,347 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-20729150:ctest-vn-48553963 is found in opserver 2025-10-14 18:15:48,357 - DEBUG - Do not have enough data to verify VN in agent 2025-10-14 18:15:48,360 - DEBUG - VRF ids for VN ctest-vn-48553963: {} 2025-10-14 18:15:48,361 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-10-14 18:15:48,366 - DEBUG - Requesting: http://10.0.0.50:8082/domain/6ca03870-1883-4af4-a992-1e6a9d75f549 2025-10-14 18:15:48,376 - DEBUG - Requesting: http://10.0.0.50:8082/project/ab9fc745-a282-494d-8a5e-067554314a66 2025-10-14 18:15:48,446 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/83f542a2-c8a8-4905-aa4e-adec4927005f 2025-10-14 18:15:48,457 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/83f542a2-c8a8-4905-aa4e-adec4927005f 2025-10-14 18:15:48,466 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/75044e9b-0452-4609-b055-778f482c7fa7 2025-10-14 18:15:48,473 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/75044e9b-0452-4609-b055-778f482c7fa7 2025-10-14 18:15:48,480 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/e37fb862-bdb9-4bf7-a3dd-28ed14435bd7 2025-10-14 18:15:48,487 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-14 18:15:48,487 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/83f542a2-c8a8-4905-aa4e-adec4927005f 2025-10-14 18:15:48,495 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/75044e9b-0452-4609-b055-778f482c7fa7 2025-10-14 18:15:48,508 - INFO - Verified VN network id 12 for VN 83f542a2-c8a8-4905-aa4e-adec4927005f 2025-10-14 18:15:48,508 - INFO - Verifications in API Server for VN ctest-vn-42178553 passed 2025-10-14 18:15:48,508 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/83f542a2-c8a8-4905-aa4e-adec4927005f 2025-10-14 18:15:48,519 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/75044e9b-0452-4609-b055-778f482c7fa7 2025-10-14 18:15:48,527 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/75044e9b-0452-4609-b055-778f482c7fa7 2025-10-14 18:15:48,534 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/e37fb862-bdb9-4bf7-a3dd-28ed14435bd7 2025-10-14 18:15:48,545 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-20729150:ctest-vn-42178553', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-20729150', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9508579455181277445', 'uuid-lslong': '12271937264982360159'}, 'enable': 'true', 'created': '2025-10-14T18:15:45', 'last-modified': '2025-10-14T18:15:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.682883'} 2025-10-14 18:15:48,551 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-14 18:15:48,551 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-42178553 passed 2025-10-14 18:15:48,551 - DEBUG - ====Verifying policy data for ctest-vn-42178553 in API_Server ====== 2025-10-14 18:15:48,551 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-10-14 18:15:48,556 - DEBUG - Requesting: http://10.0.0.50:8082/domain/6ca03870-1883-4af4-a992-1e6a9d75f549 2025-10-14 18:15:48,567 - DEBUG - Requesting: http://10.0.0.50:8082/project/ab9fc745-a282-494d-8a5e-067554314a66 2025-10-14 18:15:48,638 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/83f542a2-c8a8-4905-aa4e-adec4927005f 2025-10-14 18:15:48,646 - DEBUG - ==>Verifying data for policy with id: e4709ad1-4895-4d43-8c69-58752fbbcf7b, fqn: ['default-domain', 'ctest-TestBasicPolicy-20729150', 'ctest-policy-allow-all-48441960'] 2025-10-14 18:15:48,646 - INFO - VN ctest-vn-42178553 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-14 18:15:48,646 - DEBUG - Verifying the vn in opserver 2025-10-14 18:15:48,646 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-20729150:ctest-vn-42178553 virtual network link through opserver 10.0.0.50 2025-10-14 18:15:48,646 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-10-14 18:15:48,654 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-20729150:ctest-vn-42178553', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-20729150:ctest-vn-42178553?flat'} 2025-10-14 18:15:48,654 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-20729150:ctest-vn-42178553 is found in opserver 2025-10-14 18:15:48,665 - DEBUG - Do not have enough data to verify VN in agent 2025-10-14 18:15:48,671 - DEBUG - VRF ids for VN ctest-vn-42178553: {} 2025-10-14 18:15:48,723 - DEBUG - Services list from nova: [, , ] 2025-10-14 18:15:49,740 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4317-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4317-1) 2025-10-14 18:15:50,883 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4317-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4317-1) 2025-10-14 18:15:50,883 - INFO - Waiting for VM ctest-TestBasicPolicy-20729150-06942380 to be up.. 2025-10-14 18:15:50,966 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-14 18:15:56,048 - DEBUG - VM is in ACTIVE state now 2025-10-14 18:15:56,048 - INFO - VM name : ctest-TestBasicPolicy-20729150-06942380 2025-10-14 18:15:56,130 - DEBUG - VM ctest-TestBasicPolicy-20729150-06942380 ID is ca20b6de-797a-4ccb-ad42-3d79c6176076 2025-10-14 18:15:56,152 - DEBUG - VM ctest-TestBasicPolicy-20729150-06942380 launched on Node cn-jenkins-deploy-platform-ansible-os-4317-1 2025-10-14 18:15:56,227 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/ca20b6de-797a-4ccb-ad42-3d79c6176076 2025-10-14 18:15:56,235 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/f1b42d92-6626-405f-b581-9ef2e34a87e1 2025-10-14 18:15:59,466 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1007ms') 2025-10-14 18:15:59,466 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-20729150-06942380 failed! 2025-10-14 18:15:59,520 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-20729150:ctest-vn-48553963 is 117.73.253.65 and allocation pool is NOT set 2025-10-14 18:16:01,583 - 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=10.8 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.816 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.816/5.801/10.786/4.985 ms') 2025-10-14 18:16:01,583 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-20729150-06942380 passed 2025-10-14 18:16:01,744 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-14 18:16:01,744 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-20729150-06942380, IP 117.73.253.67, Port 22 2025-10-14 18:16:01,903 - DEBUG - VM ctest-TestBasicPolicy-20729150-06942380 is ready for SSH connections 2025-10-14 18:16:01,903 - INFO - Waiting for VM ctest-TestBasicPolicy-20729150-08909754 to be up.. 2025-10-14 18:16:01,973 - DEBUG - VM is in ACTIVE state now 2025-10-14 18:16:01,974 - INFO - VM name : ctest-TestBasicPolicy-20729150-08909754 2025-10-14 18:16:02,043 - DEBUG - VM ctest-TestBasicPolicy-20729150-08909754 ID is 29ede3d3-2e46-4382-8c09-1e092b3aaa2c 2025-10-14 18:16:02,043 - DEBUG - VM ctest-TestBasicPolicy-20729150-08909754 launched on Node cn-jenkins-deploy-platform-ansible-os-4317-1 2025-10-14 18:16:02,117 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/29ede3d3-2e46-4382-8c09-1e092b3aaa2c 2025-10-14 18:16:02,124 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/cec4f36c-475c-4b65-9662-094b14bb66bd 2025-10-14 18:16:03,354 - 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.56 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.434 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.434/1.999/3.564/1.565 ms') 2025-10-14 18:16:03,354 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-20729150-08909754 passed 2025-10-14 18:16:03,504 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-14 18:16:03,505 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-20729150-08909754, IP 70.126.25.67, Port 22 2025-10-14 18:16:03,660 - DEBUG - VM ctest-TestBasicPolicy-20729150-08909754 is ready for SSH connections 2025-10-14 18:16:03,660 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-14 18:16:03,660 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 70.126.25.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-10-14 18:16:03,660 - DEBUG - ping -s 56 -c 3 -W 1 70.126.25.67 2025-10-14 18:16:07,674 - DEBUG - PING 70.126.25.67 (70.126.25.67): 56 data bytes 64 bytes from 70.126.25.67: seq=0 ttl=63 time=3.698 ms 64 bytes from 70.126.25.67: seq=1 ttl=63 time=0.988 ms 64 bytes from 70.126.25.67: seq=2 ttl=63 time=0.880 ms --- 70.126.25.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.880/1.855/3.698 ms 2025-10-14 18:16:07,674 - INFO - Ping to IP 70.126.25.67 from VM ctest-TestBasicPolicy-20729150-06942380 passed 2025-10-14 18:16:07,860 - DEBUG - Policy Update Response {"network-policy": {"uuid": "e4709ad1-4895-4d43-8c69-58752fbbcf7b", "href": "http://10.0.0.50:8082/network-policy/e4709ad1-4895-4d43-8c69-58752fbbcf7b"}} 2025-10-14 18:16:07,860 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-14 18:16:07,860 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 70.126.25.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-10-14 18:16:07,861 - DEBUG - ping -s 56 -c 3 -W 1 70.126.25.67 2025-10-14 18:16:11,065 - DEBUG - PING 70.126.25.67 (70.126.25.67): 56 data bytes --- 70.126.25.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-14 18:16:11,065 - WARNING - Ping to IP 70.126.25.67 from VM ctest-TestBasicPolicy-20729150-06942380 failed 2025-10-14 18:16:11,065 - INFO - Deleting VM ctest-TestBasicPolicy-20729150-08909754 2025-10-14 18:16:11,240 - INFO - Deleting VM ctest-TestBasicPolicy-20729150-06942380 2025-10-14 18:16:11,660 - INFO - Deleted policy ctest-policy-allow-all-48441960 2025-10-14 18:16:11,660 - INFO - Deleting VN ctest-vn-42178553 2025-10-14 18:16:11,699 - DEBUG - VN 83f542a2-c8a8-4905-aa4e-adec4927005f still in use: Unable to complete operation on network 83f542a2-c8a8-4905-aa4e-adec4927005f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-261d9880-d37f-4e36-9e07-57cfcfc1d0b3'] 2025-10-14 18:16:11,699 - WARNING - Deleting VN ctest-vn-42178553 failed..Will retry 2025-10-14 18:16:13,793 - DEBUG - Response for deleting network () 2025-10-14 18:16:13,794 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/75044e9b-0452-4609-b055-778f482c7fa7 2025-10-14 18:16:13,800 - DEBUG - Response Code: 404 2025-10-14 18:16:13,800 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-10-14 18:16:13,805 - DEBUG - Requesting: http://10.0.0.50:8082/domain/6ca03870-1883-4af4-a992-1e6a9d75f549 2025-10-14 18:16:13,857 - DEBUG - Requesting: http://10.0.0.50:8082/project/ab9fc745-a282-494d-8a5e-067554314a66 2025-10-14 18:16:13,925 - INFO - Validated that VN ctest-vn-42178553 is not found in API Server 2025-10-14 18:16:13,934 - DEBUG - VN ctest-vn-42178553 is not present in Agent 10.0.0.50 2025-10-14 18:16:13,934 - INFO - Validated that VN ctest-vn-42178553 is not in any agent 2025-10-14 18:16:13,949 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-42178553 info 2025-10-14 18:16:13,949 - INFO - Deleting VN ctest-vn-48553963 2025-10-14 18:16:14,039 - DEBUG - Response for deleting network () 2025-10-14 18:16:14,039 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/290419b5-177e-400e-844f-9873d37de8fb 2025-10-14 18:16:14,046 - DEBUG - Response Code: 404 2025-10-14 18:16:14,046 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-10-14 18:16:14,051 - DEBUG - Requesting: http://10.0.0.50:8082/domain/6ca03870-1883-4af4-a992-1e6a9d75f549 2025-10-14 18:16:14,105 - DEBUG - Requesting: http://10.0.0.50:8082/project/ab9fc745-a282-494d-8a5e-067554314a66 2025-10-14 18:16:14,174 - INFO - Validated that VN ctest-vn-48553963 is not found in API Server 2025-10-14 18:16:14,183 - DEBUG - VN ctest-vn-48553963 is not present in Agent 10.0.0.50 2025-10-14 18:16:14,183 - INFO - Validated that VN ctest-vn-48553963 is not in any agent 2025-10-14 18:16:14,198 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-48553963 info 2025-10-14 18:16:14,453 - DEBUG - No XMPP flaps were noticed during the test 2025-10-14 18:16:14,453 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-10-14 18:16:14,453 - INFO - -------------------------------------------------------------------------------- 2025-10-14 18:16:15,108 - INFO - Deleted project: ctest-TestBasicPolicy-20729150, ID : ab9fc745-a282-494d-8a5e-067554314a66