2026-06-22 03:06:23,337 - INFO - Domain Default found not creating 2026-06-22 03:06:23,491 - INFO - Project ctest-TestBasicPolicy-46506271 not found, creating it 2026-06-22 03:06:24,068 - INFO - Created Project:ctest-TestBasicPolicy-46506271, ID : f89b2b4a-3665-4344-8799-89d2eca62105 2026-06-22 03:06:25,558 - INFO - ================================================================================ 2026-06-22 03:06:25,558 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-06-22 03:06:25,558 - 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 2026-06-22 03:06:26,843 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.18': '0', '10.20.0.129': '0'}, '10.0.0.22': {'10.20.0.193': '0', '10.20.0.129': '0'}} with 2026-06-22 03:06:26,843 - INFO - Initial checks done. Running the testcase now 2026-06-22 03:06:26,843 - INFO - 2026-06-22 03:06:27,533 - DEBUG - Response for create_network : {'network': {'id': 'a25b3201-513d-4593-b205-4670c487735a', 'name': 'ctest-vn-12070690', 'tenant_id': 'f89b2b4a36654344879989d2eca62105', 'project_id': 'f89b2b4a36654344879989d2eca62105', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-46506271', 'ctest-vn-12070690'], 'port_security_enabled': True, 'description': ''}} 2026-06-22 03:06:27,885 - DEBUG - Response for create_subnet : {'subnet': {'id': '0d575476-463c-4368-9584-d158fd22e2e0', 'name': '', 'tenant_id': 'f89b2b4a36654344879989d2eca62105', 'network_id': 'a25b3201-513d-4593-b205-4670c487735a', 'ip_version': 4, 'cidr': '132.123.210.64/26', 'allocation_pools': [{'start': '132.123.210.66', 'end': '132.123.210.126'}], 'gateway_ip': '132.123.210.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '132.123.210.66', 'tags': [], 'project_id': 'f89b2b4a36654344879989d2eca62105'}} 2026-06-22 03:06:27,912 - INFO - Created VN ctest-vn-12070690 2026-06-22 03:06:27,929 - DEBUG - VN ctest-vn-12070690 UUID is a25b3201-513d-4593-b205-4670c487735a 2026-06-22 03:06:28,276 - DEBUG - Response for create_network : {'network': {'id': '9b3b63d1-ad06-4452-817a-1f70a6a91083', 'name': 'ctest-vn-43936756', 'tenant_id': 'f89b2b4a36654344879989d2eca62105', 'project_id': 'f89b2b4a36654344879989d2eca62105', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-46506271', 'ctest-vn-43936756'], 'port_security_enabled': True, 'description': ''}} 2026-06-22 03:06:28,520 - DEBUG - Response for create_subnet : {'subnet': {'id': '845243b8-a707-4031-86de-e6c4d7923a5c', 'name': '', 'tenant_id': 'f89b2b4a36654344879989d2eca62105', 'network_id': '9b3b63d1-ad06-4452-817a-1f70a6a91083', 'ip_version': 4, 'cidr': '101.242.93.0/26', 'allocation_pools': [{'start': '101.242.93.2', 'end': '101.242.93.62'}], 'gateway_ip': '101.242.93.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '101.242.93.2', 'tags': [], 'project_id': 'f89b2b4a36654344879989d2eca62105'}} 2026-06-22 03:06:28,540 - INFO - Created VN ctest-vn-43936756 2026-06-22 03:06:28,553 - DEBUG - VN ctest-vn-43936756 UUID is 9b3b63d1-ad06-4452-817a-1f70a6a91083 2026-06-22 03:06:28,634 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-46506271:ctest-vn-12070690, 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-46506271:ctest-vn-43936756, 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] 2026-06-22 03:06:28,954 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a25b3201-513d-4593-b205-4670c487735a', 'name': 'ctest-vn-12070690', 'tenant_id': 'f89b2b4a36654344879989d2eca62105', 'project_id': 'f89b2b4a36654344879989d2eca62105', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0d575476-463c-4368-9584-d158fd22e2e0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-46506271', 'ctest-vn-12070690'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-46506271', 'ctest-policy-allow-all-75775611']], 'subnet_ipam': [{'subnet_cidr': '132.123.210.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-22 03:06:29,170 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9b3b63d1-ad06-4452-817a-1f70a6a91083', 'name': 'ctest-vn-43936756', 'tenant_id': 'f89b2b4a36654344879989d2eca62105', 'project_id': 'f89b2b4a36654344879989d2eca62105', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['845243b8-a707-4031-86de-e6c4d7923a5c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-46506271', 'ctest-vn-43936756'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-46506271', 'ctest-policy-allow-all-75775611']], 'subnet_ipam': [{'subnet_cidr': '101.242.93.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-22 03:06:29,281 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-06-22 03:06:29,611 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-06-22 03:06:29,635 - DEBUG - Requesting: http://10.0.0.19:8082/domain/9d11d15d-7b70-42f4-9c2c-0dcfdbec4a75 2026-06-22 03:06:29,648 - DEBUG - Requesting: http://10.0.0.19:8082/project/f89b2b4a-3665-4344-8799-89d2eca62105 2026-06-22 03:06:29,743 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/a25b3201-513d-4593-b205-4670c487735a 2026-06-22 03:06:29,761 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/a25b3201-513d-4593-b205-4670c487735a 2026-06-22 03:06:29,773 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/cc9772bd-c03a-481c-bacf-b22369be4213 2026-06-22 03:06:29,783 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/cc9772bd-c03a-481c-bacf-b22369be4213 2026-06-22 03:06:29,791 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/b6472a64-473e-4e64-8de4-e883eb6caca4 2026-06-22 03:06:29,798 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-22 03:06:29,798 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/a25b3201-513d-4593-b205-4670c487735a 2026-06-22 03:06:29,808 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/cc9772bd-c03a-481c-bacf-b22369be4213 2026-06-22 03:06:29,823 - INFO - Verified VN network id 12 for VN a25b3201-513d-4593-b205-4670c487735a 2026-06-22 03:06:29,824 - INFO - Verifications in API Server for VN ctest-vn-12070690 passed 2026-06-22 03:06:29,824 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/a25b3201-513d-4593-b205-4670c487735a 2026-06-22 03:06:29,834 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/cc9772bd-c03a-481c-bacf-b22369be4213 2026-06-22 03:06:29,841 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/cc9772bd-c03a-481c-bacf-b22369be4213 2026-06-22 03:06:29,848 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/b6472a64-473e-4e64-8de4-e883eb6caca4 2026-06-22 03:06:29,858 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-46506271:ctest-vn-12070690', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-46506271', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11698999438264321427', 'uuid-lslong': '12827736563782218586'}, 'enable': 'true', 'created': '2026-06-22T03:06:27', 'last-modified': '2026-06-22T03:06:28', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.948492'} 2026-06-22 03:06:29,863 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-22 03:06:29,868 - DEBUG - Control-node 10.0.0.129 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-46506271:ctest-vn-12070690', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-46506271', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11698999438264321427', 'uuid-lslong': '12827736563782218586'}, 'enable': 'true', 'created': '2026-06-22T03:06:27', 'last-modified': '2026-06-22T03:06:28', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.952564'} 2026-06-22 03:06:29,875 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-22 03:06:29,880 - DEBUG - Control-node 10.0.0.241 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-46506271:ctest-vn-12070690', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-46506271', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11698999438264321427', 'uuid-lslong': '12827736563782218586'}, 'enable': 'true', 'created': '2026-06-22T03:06:27', 'last-modified': '2026-06-22T03:06:28', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.970151'} 2026-06-22 03:06:29,885 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-22 03:06:29,885 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-12070690 passed 2026-06-22 03:06:29,885 - DEBUG - ====Verifying policy data for ctest-vn-12070690 in API_Server ====== 2026-06-22 03:06:29,886 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-06-22 03:06:29,892 - DEBUG - Requesting: http://10.0.0.19:8082/domain/9d11d15d-7b70-42f4-9c2c-0dcfdbec4a75 2026-06-22 03:06:29,902 - DEBUG - Requesting: http://10.0.0.19:8082/project/f89b2b4a-3665-4344-8799-89d2eca62105 2026-06-22 03:06:29,995 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/a25b3201-513d-4593-b205-4670c487735a 2026-06-22 03:06:30,005 - DEBUG - ==>Verifying data for policy with id: 3c11fcee-42e3-46ed-b33d-ef9209ae1973, fqn: ['default-domain', 'ctest-TestBasicPolicy-46506271', 'ctest-policy-allow-all-75775611'] 2026-06-22 03:06:30,005 - INFO - VN ctest-vn-12070690 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-22 03:06:30,005 - DEBUG - Verifying the vn in opserver 2026-06-22 03:06:30,005 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-46506271:ctest-vn-12070690 virtual network link through opserver 10.0.0.19 2026-06-22 03:06:30,006 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2026-06-22 03:06:30,327 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2026-06-22 03:06:30,394 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-46506271:ctest-vn-12070690', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-46506271:ctest-vn-12070690?flat'} 2026-06-22 03:06:30,394 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-46506271:ctest-vn-12070690 virtual network link through opserver 10.0.0.129 2026-06-22 03:06:30,394 - DEBUG - Requesting: http://10.0.0.129:8081/analytics/uves/virtual-networks 2026-06-22 03:06:30,726 - DEBUG - Requesting: http://10.0.0.129:8081/analytics/uves/virtual-networks 2026-06-22 03:06:30,791 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-46506271:ctest-vn-12070690', 'href': 'http://10.0.0.129:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-46506271:ctest-vn-12070690?flat'} 2026-06-22 03:06:30,791 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-46506271:ctest-vn-12070690 virtual network link through opserver 10.0.0.241 2026-06-22 03:06:30,791 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks 2026-06-22 03:06:31,118 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks 2026-06-22 03:06:31,166 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-46506271:ctest-vn-12070690', 'href': 'http://10.0.0.241:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-46506271:ctest-vn-12070690?flat'} 2026-06-22 03:06:31,166 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-46506271:ctest-vn-12070690 is found in opserver 2026-06-22 03:06:31,186 - DEBUG - Do not have enough data to verify VN in agent 2026-06-22 03:06:31,195 - DEBUG - VRF ids for VN ctest-vn-12070690: {} 2026-06-22 03:06:31,195 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-06-22 03:06:31,202 - DEBUG - Requesting: http://10.0.0.19:8082/domain/9d11d15d-7b70-42f4-9c2c-0dcfdbec4a75 2026-06-22 03:06:31,212 - DEBUG - Requesting: http://10.0.0.19:8082/project/f89b2b4a-3665-4344-8799-89d2eca62105 2026-06-22 03:06:31,295 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/9b3b63d1-ad06-4452-817a-1f70a6a91083 2026-06-22 03:06:31,316 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/9b3b63d1-ad06-4452-817a-1f70a6a91083 2026-06-22 03:06:31,327 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/2bda66bf-7310-48d2-9011-f68d9d2bbcf0 2026-06-22 03:06:31,338 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/2bda66bf-7310-48d2-9011-f68d9d2bbcf0 2026-06-22 03:06:31,346 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/36517a6c-f778-48aa-ab1c-36447a94d82b 2026-06-22 03:06:31,357 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-06-22 03:06:31,357 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/9b3b63d1-ad06-4452-817a-1f70a6a91083 2026-06-22 03:06:31,368 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/2bda66bf-7310-48d2-9011-f68d9d2bbcf0 2026-06-22 03:06:31,386 - INFO - Verified VN network id 13 for VN 9b3b63d1-ad06-4452-817a-1f70a6a91083 2026-06-22 03:06:31,386 - INFO - Verifications in API Server for VN ctest-vn-43936756 passed 2026-06-22 03:06:31,386 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/9b3b63d1-ad06-4452-817a-1f70a6a91083 2026-06-22 03:06:31,397 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/2bda66bf-7310-48d2-9011-f68d9d2bbcf0 2026-06-22 03:06:31,405 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/2bda66bf-7310-48d2-9011-f68d9d2bbcf0 2026-06-22 03:06:31,415 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/36517a6c-f778-48aa-ab1c-36447a94d82b 2026-06-22 03:06:31,430 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-46506271:ctest-vn-43936756', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-46506271', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11185643851706942546', 'uuid-lslong': '9329804146744299651'}, 'enable': 'true', 'created': '2026-06-22T03:06:28', 'last-modified': '2026-06-22T03:06:29', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.296656'} 2026-06-22 03:06:31,437 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-06-22 03:06:31,443 - DEBUG - Control-node 10.0.0.129 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-46506271:ctest-vn-43936756', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-46506271', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11185643851706942546', 'uuid-lslong': '9329804146744299651'}, 'enable': 'true', 'created': '2026-06-22T03:06:28', 'last-modified': '2026-06-22T03:06:29', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.302777'} 2026-06-22 03:06:31,448 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-06-22 03:06:31,454 - DEBUG - Control-node 10.0.0.241 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-46506271:ctest-vn-43936756', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-46506271', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11185643851706942546', 'uuid-lslong': '9329804146744299651'}, 'enable': 'true', 'created': '2026-06-22T03:06:28', 'last-modified': '2026-06-22T03:06:29', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.319600'} 2026-06-22 03:06:31,461 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-06-22 03:06:31,461 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-43936756 passed 2026-06-22 03:06:31,462 - DEBUG - ====Verifying policy data for ctest-vn-43936756 in API_Server ====== 2026-06-22 03:06:31,462 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-06-22 03:06:31,468 - DEBUG - Requesting: http://10.0.0.19:8082/domain/9d11d15d-7b70-42f4-9c2c-0dcfdbec4a75 2026-06-22 03:06:31,479 - DEBUG - Requesting: http://10.0.0.19:8082/project/f89b2b4a-3665-4344-8799-89d2eca62105 2026-06-22 03:06:31,581 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/9b3b63d1-ad06-4452-817a-1f70a6a91083 2026-06-22 03:06:31,594 - DEBUG - ==>Verifying data for policy with id: 3c11fcee-42e3-46ed-b33d-ef9209ae1973, fqn: ['default-domain', 'ctest-TestBasicPolicy-46506271', 'ctest-policy-allow-all-75775611'] 2026-06-22 03:06:31,594 - INFO - VN ctest-vn-43936756 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-22 03:06:31,594 - DEBUG - Verifying the vn in opserver 2026-06-22 03:06:31,594 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-46506271:ctest-vn-43936756 virtual network link through opserver 10.0.0.19 2026-06-22 03:06:31,594 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2026-06-22 03:06:31,639 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-46506271:ctest-vn-43936756', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-46506271:ctest-vn-43936756?flat'} 2026-06-22 03:06:31,639 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-46506271:ctest-vn-43936756 virtual network link through opserver 10.0.0.129 2026-06-22 03:06:31,639 - DEBUG - Requesting: http://10.0.0.129:8081/analytics/uves/virtual-networks 2026-06-22 03:06:31,702 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-46506271:ctest-vn-43936756', 'href': 'http://10.0.0.129:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-46506271:ctest-vn-43936756?flat'} 2026-06-22 03:06:31,702 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-46506271:ctest-vn-43936756 virtual network link through opserver 10.0.0.241 2026-06-22 03:06:31,702 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks 2026-06-22 03:06:31,749 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-46506271:ctest-vn-43936756', 'href': 'http://10.0.0.241:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-46506271:ctest-vn-43936756?flat'} 2026-06-22 03:06:31,749 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-46506271:ctest-vn-43936756 is found in opserver 2026-06-22 03:06:31,768 - DEBUG - Do not have enough data to verify VN in agent 2026-06-22 03:06:31,779 - DEBUG - VRF ids for VN ctest-vn-43936756: {} 2026-06-22 03:06:31,833 - DEBUG - Services list from nova: [, , , ] 2026-06-22 03:06:33,006 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-6014-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-6014-1) 2026-06-22 03:06:34,160 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-6014-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-6014-2) 2026-06-22 03:06:34,161 - INFO - Waiting for VM ctest-TestBasicPolicy-46506271-51522636 to be up.. 2026-06-22 03:06:34,209 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-22 03:06:39,292 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-22 03:06:44,387 - DEBUG - VM is in ACTIVE state now 2026-06-22 03:06:44,387 - INFO - VM name : ctest-TestBasicPolicy-46506271-51522636 2026-06-22 03:06:44,495 - DEBUG - VM ctest-TestBasicPolicy-46506271-51522636 ID is c7596eb3-9c42-40f5-a318-38c287453cb0 2026-06-22 03:06:44,538 - DEBUG - VM ctest-TestBasicPolicy-46506271-51522636 launched on Node an-jenkins-deploy-platform-ansible-os-6014-1 2026-06-22 03:06:44,644 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/c7596eb3-9c42-40f5-a318-38c287453cb0 2026-06-22 03:06:44,985 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/c7596eb3-9c42-40f5-a318-38c287453cb0 2026-06-22 03:06:45,022 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/fd87b2f3-3d29-4d67-9c82-bfcf0c9d3fb7 2026-06-22 03:06:48,196 - 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 1014ms') 2026-06-22 03:06:48,196 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-46506271-51522636 failed! 2026-06-22 03:06:48,210 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-46506271:ctest-vn-12070690 is 132.123.210.65 and allocation pool is NOT set 2026-06-22 03:06:52,294 - 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 1021ms') 2026-06-22 03:06:52,294 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-46506271-51522636 failed! 2026-06-22 03:06:52,309 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-46506271:ctest-vn-12070690 is 132.123.210.65 and allocation pool is NOT set 2026-06-22 03:06:56,391 - 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 1015ms') 2026-06-22 03:06:56,392 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-46506271-51522636 failed! 2026-06-22 03:06:56,410 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-46506271:ctest-vn-12070690 is 132.123.210.65 and allocation pool is NOT set 2026-06-22 03:07:00,484 - 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 1014ms') 2026-06-22 03:07:00,484 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-46506271-51522636 failed! 2026-06-22 03:07:00,499 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-46506271:ctest-vn-12070690 is 132.123.210.65 and allocation pool is NOT set 2026-06-22 03:07:04,585 - 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 1017ms') 2026-06-22 03:07:04,585 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-46506271-51522636 failed! 2026-06-22 03:07:04,598 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-46506271:ctest-vn-12070690 is 132.123.210.65 and allocation pool is NOT set 2026-06-22 03:07:08,680 - 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 1019ms') 2026-06-22 03:07:08,680 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-46506271-51522636 failed! 2026-06-22 03:07:08,696 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-46506271:ctest-vn-12070690 is 132.123.210.65 and allocation pool is NOT set 2026-06-22 03:07:10,772 - 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=7.27 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.65 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 = 1.648/4.457/7.267/2.809 ms') 2026-06-22 03:07:10,772 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-46506271-51522636 passed 2026-06-22 03:07:10,848 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-22 03:07:10,848 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-46506271-51522636, IP 132.123.210.67, Port 22 2026-06-22 03:07:10,916 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-06-22 03:07:11,014 - DEBUG - VM ctest-TestBasicPolicy-46506271-51522636 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-22 03:07:16,015 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-22 03:07:16,015 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-46506271-51522636, IP 132.123.210.67, Port 22 2026-06-22 03:07:16,080 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-06-22 03:07:16,156 - DEBUG - VM ctest-TestBasicPolicy-46506271-51522636 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-22 03:07:21,157 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-22 03:07:21,158 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-46506271-51522636, IP 132.123.210.67, Port 22 2026-06-22 03:07:21,325 - DEBUG - VM ctest-TestBasicPolicy-46506271-51522636 is ready for SSH connections 2026-06-22 03:07:21,325 - INFO - Waiting for VM ctest-TestBasicPolicy-46506271-23170192 to be up.. 2026-06-22 03:07:21,420 - DEBUG - VM is in ACTIVE state now 2026-06-22 03:07:21,420 - INFO - VM name : ctest-TestBasicPolicy-46506271-23170192 2026-06-22 03:07:21,510 - DEBUG - VM ctest-TestBasicPolicy-46506271-23170192 ID is acb53012-e320-4457-8fc4-39e038b25099 2026-06-22 03:07:21,510 - DEBUG - VM ctest-TestBasicPolicy-46506271-23170192 launched on Node an-jenkins-deploy-platform-ansible-os-6014-2 2026-06-22 03:07:21,611 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/acb53012-e320-4457-8fc4-39e038b25099 2026-06-22 03:07:21,623 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/cd075112-57fc-49d3-8e82-35cc9b2d61bf 2026-06-22 03:07:22,796 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=3.48 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.330 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.330/1.902/3.475/1.572 ms') 2026-06-22 03:07:22,796 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-46506271-23170192 passed 2026-06-22 03:07:22,869 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-22 03:07:22,869 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-46506271-23170192, IP 101.242.93.3, Port 22 2026-06-22 03:07:23,039 - DEBUG - VM ctest-TestBasicPolicy-46506271-23170192 is ready for SSH connections 2026-06-22 03:07:23,039 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-22 03:07:23,040 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 101.242.93.3, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2026-06-22 03:07:23,040 - DEBUG - ping -s 56 -c 3 -W 1 101.242.93.3 2026-06-22 03:07:31,242 - DEBUG - PING 101.242.93.3 (101.242.93.3) 56(84) bytes of data. 64 bytes from 101.242.93.3: icmp_req=1 ttl=63 time=3.99 ms 64 bytes from 101.242.93.3: icmp_req=2 ttl=63 time=2.85 ms 64 bytes from 101.242.93.3: icmp_req=3 ttl=63 time=1.25 ms --- 101.242.93.3 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2003ms rtt min/avg/max/mdev = 1.252/2.700/3.998/1.126 ms 2026-06-22 03:07:31,242 - INFO - Ping to IP 101.242.93.3 from VM ctest-TestBasicPolicy-46506271-51522636 passed 2026-06-22 03:07:31,451 - DEBUG - Policy Update Response {"network-policy": {"uuid": "3c11fcee-42e3-46ed-b33d-ef9209ae1973", "href": "http://10.0.0.241:8082/network-policy/3c11fcee-42e3-46ed-b33d-ef9209ae1973"}} 2026-06-22 03:07:31,451 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-22 03:07:31,451 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 101.242.93.3, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2026-06-22 03:07:31,452 - DEBUG - ping -s 56 -c 3 -W 1 101.242.93.3 2026-06-22 03:07:34,803 - DEBUG - PING 101.242.93.3 (101.242.93.3) 56(84) bytes of data. 64 bytes from 101.242.93.3: icmp_req=1 ttl=63 time=4.18 ms --- 101.242.93.3 ping statistics --- 3 packets transmitted, 1 received, 66% packet loss, time 2010ms rtt min/avg/max/mdev = 4.181/4.181/4.181/0.000 ms 2026-06-22 03:07:34,803 - WARNING - Ping to IP 101.242.93.3 from VM ctest-TestBasicPolicy-46506271-51522636 failed 2026-06-22 03:07:34,803 - INFO - Deleting VM ctest-TestBasicPolicy-46506271-23170192 2026-06-22 03:07:34,874 - INFO - Deleting VM ctest-TestBasicPolicy-46506271-51522636 2026-06-22 03:07:35,284 - INFO - Deleted policy ctest-policy-allow-all-75775611 2026-06-22 03:07:35,284 - INFO - Deleting VN ctest-vn-43936756 2026-06-22 03:07:35,323 - DEBUG - VN 9b3b63d1-ad06-4452-817a-1f70a6a91083 still in use: Unable to complete operation on network 9b3b63d1-ad06-4452-817a-1f70a6a91083. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-053c8071-9e43-49ae-ba07-eb52d231884c'] 2026-06-22 03:07:35,323 - WARNING - Deleting VN ctest-vn-43936756 failed..Will retry 2026-06-22 03:07:37,478 - DEBUG - Response for deleting network () 2026-06-22 03:07:37,478 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/2bda66bf-7310-48d2-9011-f68d9d2bbcf0 2026-06-22 03:07:37,483 - DEBUG - Response Code: 404 2026-06-22 03:07:37,483 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-06-22 03:07:37,497 - DEBUG - Requesting: http://10.0.0.19:8082/domain/9d11d15d-7b70-42f4-9c2c-0dcfdbec4a75 2026-06-22 03:07:37,517 - DEBUG - Requesting: http://10.0.0.19:8082/project/f89b2b4a-3665-4344-8799-89d2eca62105 2026-06-22 03:07:37,618 - INFO - Validated that VN ctest-vn-43936756 is not found in API Server 2026-06-22 03:07:37,630 - DEBUG - VN ctest-vn-43936756 is not present in Agent 10.0.0.242 2026-06-22 03:07:37,643 - DEBUG - VN ctest-vn-43936756 is not present in Agent 10.0.0.22 2026-06-22 03:07:37,643 - INFO - Validated that VN ctest-vn-43936756 is not in any agent 2026-06-22 03:07:37,676 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-43936756 info 2026-06-22 03:07:37,676 - INFO - Deleting VN ctest-vn-12070690 2026-06-22 03:07:37,839 - DEBUG - Response for deleting network () 2026-06-22 03:07:37,839 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/cc9772bd-c03a-481c-bacf-b22369be4213 2026-06-22 03:07:37,845 - DEBUG - Response Code: 404 2026-06-22 03:07:37,847 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-06-22 03:07:37,857 - DEBUG - Requesting: http://10.0.0.19:8082/domain/9d11d15d-7b70-42f4-9c2c-0dcfdbec4a75 2026-06-22 03:07:37,874 - DEBUG - Requesting: http://10.0.0.19:8082/project/f89b2b4a-3665-4344-8799-89d2eca62105 2026-06-22 03:07:37,970 - INFO - Validated that VN ctest-vn-12070690 is not found in API Server 2026-06-22 03:07:37,982 - DEBUG - VN ctest-vn-12070690 is not present in Agent 10.0.0.242 2026-06-22 03:07:37,993 - DEBUG - VN ctest-vn-12070690 is not present in Agent 10.0.0.22 2026-06-22 03:07:37,993 - INFO - Validated that VN ctest-vn-12070690 is not in any agent 2026-06-22 03:07:38,031 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-12070690 info 2026-06-22 03:07:39,313 - DEBUG - No XMPP flaps were noticed during the test 2026-06-22 03:07:39,313 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:14] 2026-06-22 03:07:39,313 - INFO - -------------------------------------------------------------------------------- 2026-06-22 03:07:40,065 - INFO - Deleted project: ctest-TestBasicPolicy-46506271, ID : f89b2b4a-3665-4344-8799-89d2eca62105