2025-10-22 21:18:10,337 - INFO - Domain Default found not creating 2025-10-22 21:18:10,480 - INFO - Project ctest-TestBasicPolicy-54411425 not found, creating it 2025-10-22 21:18:10,968 - INFO - Created Project:ctest-TestBasicPolicy-54411425, ID : 6cf40f9a-1ed0-40bb-b2a9-57f1ae6c5435 2025-10-22 21:18:12,456 - INFO - ================================================================================ 2025-10-22 21:18:12,456 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-22 21:18:12,456 - 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-22 21:18:12,714 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-10-22 21:18:12,714 - INFO - Initial checks done. Running the testcase now 2025-10-22 21:18:12,714 - INFO - 2025-10-22 21:18:13,261 - DEBUG - Response for create_network : {'network': {'id': 'd3087375-7d1b-4486-8277-2167932a3d87', 'name': 'ctest-vn-90727163', 'tenant_id': '6cf40f9a1ed040bbb2a957f1ae6c5435', 'project_id': '6cf40f9a1ed040bbb2a957f1ae6c5435', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54411425', 'ctest-vn-90727163'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 21:18:13,449 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e0fb1754-3623-476a-ad4a-b0618e6b11e0', 'name': '', 'tenant_id': '6cf40f9a1ed040bbb2a957f1ae6c5435', 'network_id': 'd3087375-7d1b-4486-8277-2167932a3d87', 'ip_version': 4, 'cidr': '152.79.122.128/26', 'allocation_pools': [{'start': '152.79.122.130', 'end': '152.79.122.190'}], 'gateway_ip': '152.79.122.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '152.79.122.130', 'tags': [], 'project_id': '6cf40f9a1ed040bbb2a957f1ae6c5435'}} 2025-10-22 21:18:13,470 - INFO - Created VN ctest-vn-90727163 2025-10-22 21:18:13,522 - DEBUG - VN ctest-vn-90727163 UUID is d3087375-7d1b-4486-8277-2167932a3d87 2025-10-22 21:18:13,828 - DEBUG - Response for create_network : {'network': {'id': '6a5fdf3f-1a5c-49f4-8a02-d596247f0826', 'name': 'ctest-vn-66122209', 'tenant_id': '6cf40f9a1ed040bbb2a957f1ae6c5435', 'project_id': '6cf40f9a1ed040bbb2a957f1ae6c5435', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54411425', 'ctest-vn-66122209'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 21:18:13,991 - DEBUG - Response for create_subnet : {'subnet': {'id': '88e64754-3406-4918-a5b0-84a60147933c', 'name': '', 'tenant_id': '6cf40f9a1ed040bbb2a957f1ae6c5435', 'network_id': '6a5fdf3f-1a5c-49f4-8a02-d596247f0826', 'ip_version': 4, 'cidr': '106.143.8.128/26', 'allocation_pools': [{'start': '106.143.8.130', 'end': '106.143.8.190'}], 'gateway_ip': '106.143.8.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '106.143.8.130', 'tags': [], 'project_id': '6cf40f9a1ed040bbb2a957f1ae6c5435'}} 2025-10-22 21:18:14,012 - INFO - Created VN ctest-vn-66122209 2025-10-22 21:18:14,065 - DEBUG - VN ctest-vn-66122209 UUID is 6a5fdf3f-1a5c-49f4-8a02-d596247f0826 2025-10-22 21:18:14,191 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-54411425:ctest-vn-90727163, 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-54411425:ctest-vn-66122209, 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-22 21:18:14,511 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd3087375-7d1b-4486-8277-2167932a3d87', 'name': 'ctest-vn-90727163', 'tenant_id': '6cf40f9a1ed040bbb2a957f1ae6c5435', 'project_id': '6cf40f9a1ed040bbb2a957f1ae6c5435', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e0fb1754-3623-476a-ad4a-b0618e6b11e0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54411425', 'ctest-vn-90727163'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-54411425', 'ctest-policy-allow-all-41163198']], 'subnet_ipam': [{'subnet_cidr': '152.79.122.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-22 21:18:14,728 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6a5fdf3f-1a5c-49f4-8a02-d596247f0826', 'name': 'ctest-vn-66122209', 'tenant_id': '6cf40f9a1ed040bbb2a957f1ae6c5435', 'project_id': '6cf40f9a1ed040bbb2a957f1ae6c5435', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['88e64754-3406-4918-a5b0-84a60147933c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54411425', 'ctest-vn-66122209'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-54411425', 'ctest-policy-allow-all-41163198']], 'subnet_ipam': [{'subnet_cidr': '106.143.8.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-22 21:18:14,881 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-22 21:18:15,182 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-22 21:18:15,215 - DEBUG - Requesting: http://10.0.0.254:8082/domain/d7513584-b509-4864-bf70-fcc357d5381a 2025-10-22 21:18:15,227 - DEBUG - Requesting: http://10.0.0.254:8082/project/6cf40f9a-1ed0-40bb-b2a9-57f1ae6c5435 2025-10-22 21:18:15,304 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/d3087375-7d1b-4486-8277-2167932a3d87 2025-10-22 21:18:15,316 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/d3087375-7d1b-4486-8277-2167932a3d87 2025-10-22 21:18:15,328 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/26d138ac-56f4-469c-ad3a-319f41f2146a 2025-10-22 21:18:15,336 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/26d138ac-56f4-469c-ad3a-319f41f2146a 2025-10-22 21:18:15,344 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/4ac26278-72b7-40ef-9ca2-d6fb975dd0c5 2025-10-22 21:18:15,352 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-22 21:18:15,352 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/d3087375-7d1b-4486-8277-2167932a3d87 2025-10-22 21:18:15,364 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/26d138ac-56f4-469c-ad3a-319f41f2146a 2025-10-22 21:18:15,380 - INFO - Verified VN network id 10 for VN d3087375-7d1b-4486-8277-2167932a3d87 2025-10-22 21:18:15,380 - INFO - Verifications in API Server for VN ctest-vn-90727163 passed 2025-10-22 21:18:15,381 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/d3087375-7d1b-4486-8277-2167932a3d87 2025-10-22 21:18:15,392 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/26d138ac-56f4-469c-ad3a-319f41f2146a 2025-10-22 21:18:15,400 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/26d138ac-56f4-469c-ad3a-319f41f2146a 2025-10-22 21:18:15,409 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/4ac26278-72b7-40ef-9ca2-d6fb975dd0c5 2025-10-22 21:18:15,423 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-54411425:ctest-vn-90727163', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-54411425', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15206531090263786630', 'uuid-lslong': '9401019475893566855'}, 'enable': 'true', 'created': '2025-10-22T21:18:13', 'last-modified': '2025-10-22T21:18:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.938224'} 2025-10-22 21:18:15,431 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-22 21:18:15,431 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-90727163 passed 2025-10-22 21:18:15,431 - DEBUG - ====Verifying policy data for ctest-vn-90727163 in API_Server ====== 2025-10-22 21:18:15,431 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-22 21:18:15,438 - DEBUG - Requesting: http://10.0.0.254:8082/domain/d7513584-b509-4864-bf70-fcc357d5381a 2025-10-22 21:18:15,453 - DEBUG - Requesting: http://10.0.0.254:8082/project/6cf40f9a-1ed0-40bb-b2a9-57f1ae6c5435 2025-10-22 21:18:15,522 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/d3087375-7d1b-4486-8277-2167932a3d87 2025-10-22 21:18:15,531 - DEBUG - ==>Verifying data for policy with id: b2cdadec-6159-4c24-8976-03c543cde05f, fqn: ['default-domain', 'ctest-TestBasicPolicy-54411425', 'ctest-policy-allow-all-41163198'] 2025-10-22 21:18:15,531 - INFO - VN ctest-vn-90727163 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-22 21:18:15,531 - DEBUG - Verifying the vn in opserver 2025-10-22 21:18:15,531 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-54411425:ctest-vn-90727163 virtual network link through opserver 10.0.0.254 2025-10-22 21:18:15,531 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-22 21:18:15,830 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-22 21:18:15,891 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-54411425:ctest-vn-90727163', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-54411425:ctest-vn-90727163?flat'} 2025-10-22 21:18:15,891 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-54411425:ctest-vn-90727163 is found in opserver 2025-10-22 21:18:15,902 - DEBUG - Do not have enough data to verify VN in agent 2025-10-22 21:18:15,907 - DEBUG - VRF ids for VN ctest-vn-90727163: {} 2025-10-22 21:18:15,907 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-22 21:18:15,913 - DEBUG - Requesting: http://10.0.0.254:8082/domain/d7513584-b509-4864-bf70-fcc357d5381a 2025-10-22 21:18:15,924 - DEBUG - Requesting: http://10.0.0.254:8082/project/6cf40f9a-1ed0-40bb-b2a9-57f1ae6c5435 2025-10-22 21:18:15,992 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/6a5fdf3f-1a5c-49f4-8a02-d596247f0826 2025-10-22 21:18:16,006 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/6a5fdf3f-1a5c-49f4-8a02-d596247f0826 2025-10-22 21:18:16,015 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/66a2b710-fa71-45fe-a8ac-a24a29dc23a7 2025-10-22 21:18:16,022 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/66a2b710-fa71-45fe-a8ac-a24a29dc23a7 2025-10-22 21:18:16,029 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/4300881d-ba7f-44ea-86e7-6d3a422e3e36 2025-10-22 21:18:16,035 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-22 21:18:16,035 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/6a5fdf3f-1a5c-49f4-8a02-d596247f0826 2025-10-22 21:18:16,045 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/66a2b710-fa71-45fe-a8ac-a24a29dc23a7 2025-10-22 21:18:16,059 - INFO - Verified VN network id 11 for VN 6a5fdf3f-1a5c-49f4-8a02-d596247f0826 2025-10-22 21:18:16,059 - INFO - Verifications in API Server for VN ctest-vn-66122209 passed 2025-10-22 21:18:16,059 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/6a5fdf3f-1a5c-49f4-8a02-d596247f0826 2025-10-22 21:18:16,069 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/66a2b710-fa71-45fe-a8ac-a24a29dc23a7 2025-10-22 21:18:16,075 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/66a2b710-fa71-45fe-a8ac-a24a29dc23a7 2025-10-22 21:18:16,082 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/4300881d-ba7f-44ea-86e7-6d3a422e3e36 2025-10-22 21:18:16,094 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-54411425:ctest-vn-66122209', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-54411425', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7665090552926063092', 'uuid-lslong': '9944745768021592102'}, 'enable': 'true', 'created': '2025-10-22T21:18:13', 'last-modified': '2025-10-22T21:18:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.388412'} 2025-10-22 21:18:16,099 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-22 21:18:16,100 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-66122209 passed 2025-10-22 21:18:16,100 - DEBUG - ====Verifying policy data for ctest-vn-66122209 in API_Server ====== 2025-10-22 21:18:16,100 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-22 21:18:16,106 - DEBUG - Requesting: http://10.0.0.254:8082/domain/d7513584-b509-4864-bf70-fcc357d5381a 2025-10-22 21:18:16,117 - DEBUG - Requesting: http://10.0.0.254:8082/project/6cf40f9a-1ed0-40bb-b2a9-57f1ae6c5435 2025-10-22 21:18:16,194 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/6a5fdf3f-1a5c-49f4-8a02-d596247f0826 2025-10-22 21:18:16,205 - DEBUG - ==>Verifying data for policy with id: b2cdadec-6159-4c24-8976-03c543cde05f, fqn: ['default-domain', 'ctest-TestBasicPolicy-54411425', 'ctest-policy-allow-all-41163198'] 2025-10-22 21:18:16,205 - INFO - VN ctest-vn-66122209 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-22 21:18:16,205 - DEBUG - Verifying the vn in opserver 2025-10-22 21:18:16,205 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-54411425:ctest-vn-66122209 virtual network link through opserver 10.0.0.254 2025-10-22 21:18:16,205 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-22 21:18:16,215 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-54411425:ctest-vn-66122209', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-54411425:ctest-vn-66122209?flat'} 2025-10-22 21:18:16,215 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-54411425:ctest-vn-66122209 is found in opserver 2025-10-22 21:18:16,226 - DEBUG - Do not have enough data to verify VN in agent 2025-10-22 21:18:16,230 - DEBUG - VRF ids for VN ctest-vn-66122209: {} 2025-10-22 21:18:16,292 - DEBUG - Services list from nova: [, , ] 2025-10-22 21:18:17,507 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4442-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4442-1) 2025-10-22 21:18:18,715 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4442-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4442-1) 2025-10-22 21:18:18,716 - INFO - Waiting for VM ctest-TestBasicPolicy-54411425-59931688 to be up.. 2025-10-22 21:18:18,823 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-22 21:18:23,889 - DEBUG - VM is in ACTIVE state now 2025-10-22 21:18:23,889 - INFO - VM name : ctest-TestBasicPolicy-54411425-59931688 2025-10-22 21:18:23,956 - DEBUG - VM ctest-TestBasicPolicy-54411425-59931688 ID is e9fa41e0-e782-4bc2-800d-a27236d6340d 2025-10-22 21:18:23,975 - DEBUG - VM ctest-TestBasicPolicy-54411425-59931688 launched on Node cn-jenkins-deploy-platform-ansible-os-4442-1 2025-10-22 21:18:24,045 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/e9fa41e0-e782-4bc2-800d-a27236d6340d 2025-10-22 21:18:24,053 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/dfbb718b-5102-4998-a366-b679725f8078 2025-10-22 21:18:27,308 - 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 1022ms') 2025-10-22 21:18:27,308 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-54411425-59931688 failed! 2025-10-22 21:18:27,365 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-54411425:ctest-vn-90727163 is 152.79.122.129 and allocation pool is NOT set 2025-10-22 21:18:29,436 - 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=9.45 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.881 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.881/5.166/9.452/4.285 ms') 2025-10-22 21:18:29,437 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-54411425-59931688 passed 2025-10-22 21:18:29,585 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 21:18:29,585 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-54411425-59931688, IP 152.79.122.131, Port 22 2025-10-22 21:18:29,759 - DEBUG - VM ctest-TestBasicPolicy-54411425-59931688 is ready for SSH connections 2025-10-22 21:18:29,759 - INFO - Waiting for VM ctest-TestBasicPolicy-54411425-60592646 to be up.. 2025-10-22 21:18:29,833 - DEBUG - VM is in ACTIVE state now 2025-10-22 21:18:29,833 - INFO - VM name : ctest-TestBasicPolicy-54411425-60592646 2025-10-22 21:18:30,051 - DEBUG - VM ctest-TestBasicPolicy-54411425-60592646 ID is 1dc1a690-b0c8-47c6-8de9-4faeeb315e04 2025-10-22 21:18:30,051 - DEBUG - VM ctest-TestBasicPolicy-54411425-60592646 launched on Node cn-jenkins-deploy-platform-ansible-os-4442-1 2025-10-22 21:18:30,130 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/1dc1a690-b0c8-47c6-8de9-4faeeb315e04 2025-10-22 21:18:30,138 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/b2ddedba-26c9-49fb-b50f-ebd7a5a52951 2025-10-22 21:18:31,389 - 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=5.45 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.36 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 = 1.357/3.403/5.450/2.046 ms') 2025-10-22 21:18:31,390 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-54411425-60592646 passed 2025-10-22 21:18:31,541 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 21:18:31,541 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-54411425-60592646, IP 106.143.8.131, Port 22 2025-10-22 21:18:31,712 - DEBUG - VM ctest-TestBasicPolicy-54411425-60592646 is ready for SSH connections 2025-10-22 21:18:31,712 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 21:18:31,712 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 106.143.8.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-22 21:18:31,712 - DEBUG - ping -s 56 -c 3 -W 1 106.143.8.131 2025-10-22 21:18:35,401 - DEBUG - PING 106.143.8.131 (106.143.8.131): 56 data bytes 64 bytes from 106.143.8.131: seq=0 ttl=63 time=3.154 ms 64 bytes from 106.143.8.131: seq=1 ttl=63 time=0.757 ms 64 bytes from 106.143.8.131: seq=2 ttl=63 time=0.986 ms --- 106.143.8.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.757/1.632/3.154 ms 2025-10-22 21:18:35,401 - INFO - Ping to IP 106.143.8.131 from VM ctest-TestBasicPolicy-54411425-59931688 passed 2025-10-22 21:18:35,577 - DEBUG - Policy Update Response {"network-policy": {"uuid": "b2cdadec-6159-4c24-8976-03c543cde05f", "href": "http://10.0.0.254:8082/network-policy/b2cdadec-6159-4c24-8976-03c543cde05f"}} 2025-10-22 21:18:35,577 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 21:18:35,577 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 106.143.8.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-22 21:18:35,577 - DEBUG - ping -s 56 -c 3 -W 1 106.143.8.131 2025-10-22 21:18:38,800 - DEBUG - PING 106.143.8.131 (106.143.8.131): 56 data bytes --- 106.143.8.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-22 21:18:38,800 - WARNING - Ping to IP 106.143.8.131 from VM ctest-TestBasicPolicy-54411425-59931688 failed 2025-10-22 21:18:38,801 - INFO - Deleting VM ctest-TestBasicPolicy-54411425-60592646 2025-10-22 21:18:38,860 - INFO - Deleting VM ctest-TestBasicPolicy-54411425-59931688 2025-10-22 21:18:39,208 - INFO - Deleted policy ctest-policy-allow-all-41163198 2025-10-22 21:18:39,208 - INFO - Deleting VN ctest-vn-66122209 2025-10-22 21:18:39,242 - DEBUG - VN 6a5fdf3f-1a5c-49f4-8a02-d596247f0826 still in use: Unable to complete operation on network 6a5fdf3f-1a5c-49f4-8a02-d596247f0826. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c3421040-b385-499e-8938-a8279e35d9d5'] 2025-10-22 21:18:39,242 - WARNING - Deleting VN ctest-vn-66122209 failed..Will retry 2025-10-22 21:18:41,355 - DEBUG - Response for deleting network () 2025-10-22 21:18:41,356 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/66a2b710-fa71-45fe-a8ac-a24a29dc23a7 2025-10-22 21:18:41,360 - DEBUG - Response Code: 404 2025-10-22 21:18:41,360 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-22 21:18:41,369 - DEBUG - Requesting: http://10.0.0.254:8082/domain/d7513584-b509-4864-bf70-fcc357d5381a 2025-10-22 21:18:41,423 - DEBUG - Requesting: http://10.0.0.254:8082/project/6cf40f9a-1ed0-40bb-b2a9-57f1ae6c5435 2025-10-22 21:18:41,498 - INFO - Validated that VN ctest-vn-66122209 is not found in API Server 2025-10-22 21:18:41,508 - DEBUG - VN ctest-vn-66122209 is not present in Agent 10.0.0.254 2025-10-22 21:18:41,509 - INFO - Validated that VN ctest-vn-66122209 is not in any agent 2025-10-22 21:18:41,524 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-66122209 info 2025-10-22 21:18:41,524 - INFO - Deleting VN ctest-vn-90727163 2025-10-22 21:18:41,643 - DEBUG - Response for deleting network () 2025-10-22 21:18:41,643 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/26d138ac-56f4-469c-ad3a-319f41f2146a 2025-10-22 21:18:41,651 - DEBUG - Response Code: 404 2025-10-22 21:18:41,651 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-22 21:18:41,656 - DEBUG - Requesting: http://10.0.0.254:8082/domain/d7513584-b509-4864-bf70-fcc357d5381a 2025-10-22 21:18:41,710 - DEBUG - Requesting: http://10.0.0.254:8082/project/6cf40f9a-1ed0-40bb-b2a9-57f1ae6c5435 2025-10-22 21:18:41,780 - INFO - Validated that VN ctest-vn-90727163 is not found in API Server 2025-10-22 21:18:41,790 - DEBUG - VN ctest-vn-90727163 is not present in Agent 10.0.0.254 2025-10-22 21:18:41,790 - INFO - Validated that VN ctest-vn-90727163 is not in any agent 2025-10-22 21:18:41,807 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-90727163 info 2025-10-22 21:18:42,066 - DEBUG - No XMPP flaps were noticed during the test
2025-10-22 21:18:42,066 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-10-22 21:18:42,066 - INFO - -------------------------------------------------------------------------------- 2025-10-22 21:18:42,737 - INFO - Deleted project: ctest-TestBasicPolicy-54411425, ID : 6cf40f9a-1ed0-40bb-b2a9-57f1ae6c5435