2026-10-05 03:20:49,597 - INFO - Domain Default found not creating 2026-10-05 03:20:49,809 - INFO - Project ctest-TestBasicPolicy-80506519 not found, creating it 2026-10-05 03:20:50,608 - INFO - Created Project:ctest-TestBasicPolicy-80506519, ID : 32b52d3f-9b6f-40ab-8aae-e17e5600df98 2026-10-05 03:20:52,490 - INFO - ================================================================================ 2026-10-05 03:20:52,490 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-10-05 03:20:52,491 - 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-10-05 03:20:53,795 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.14': '0', '10.20.0.25': '0'}, '10.0.0.191': {'10.20.0.254': '0', '10.20.0.25': '0'}} with 2026-10-05 03:20:53,795 - INFO - Initial checks done. Running the testcase now 2026-10-05 03:20:53,795 - INFO - 2026-10-05 03:20:54,676 - DEBUG - Response for create_network : {'network': {'id': '7cd064de-1a3f-456d-93a1-4bd01415fa93', 'name': 'ctest-vn-85329951', 'tenant_id': '32b52d3f9b6f40ab8aaee17e5600df98', 'project_id': '32b52d3f9b6f40ab8aaee17e5600df98', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-80506519', 'ctest-vn-85329951'], 'port_security_enabled': True, 'description': ''}} 2026-10-05 03:20:55,034 - DEBUG - Response for create_subnet : {'subnet': {'id': '64392897-defc-49f2-9253-3345a519b9c3', 'name': '', 'tenant_id': '32b52d3f9b6f40ab8aaee17e5600df98', 'network_id': '7cd064de-1a3f-456d-93a1-4bd01415fa93', 'ip_version': 4, 'cidr': '213.71.200.0/26', 'allocation_pools': [{'start': '213.71.200.2', 'end': '213.71.200.62'}], 'gateway_ip': '213.71.200.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '213.71.200.2', 'tags': [], 'project_id': '32b52d3f9b6f40ab8aaee17e5600df98'}} 2026-10-05 03:20:55,066 - INFO - Created VN ctest-vn-85329951 2026-10-05 03:20:55,088 - DEBUG - VN ctest-vn-85329951 UUID is 7cd064de-1a3f-456d-93a1-4bd01415fa93 2026-10-05 03:20:55,500 - DEBUG - Response for create_network : {'network': {'id': 'b6e990ac-f4d0-4643-bde6-a63a332f0610', 'name': 'ctest-vn-87179321', 'tenant_id': '32b52d3f9b6f40ab8aaee17e5600df98', 'project_id': '32b52d3f9b6f40ab8aaee17e5600df98', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-80506519', 'ctest-vn-87179321'], 'port_security_enabled': True, 'description': ''}} 2026-10-05 03:20:55,771 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e7e2559a-6819-41ee-b0dc-47da5036e72d', 'name': '', 'tenant_id': '32b52d3f9b6f40ab8aaee17e5600df98', 'network_id': 'b6e990ac-f4d0-4643-bde6-a63a332f0610', 'ip_version': 4, 'cidr': '174.193.144.0/26', 'allocation_pools': [{'start': '174.193.144.2', 'end': '174.193.144.62'}], 'gateway_ip': '174.193.144.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '174.193.144.2', 'tags': [], 'project_id': '32b52d3f9b6f40ab8aaee17e5600df98'}} 2026-10-05 03:20:55,802 - INFO - Created VN ctest-vn-87179321 2026-10-05 03:20:55,816 - DEBUG - VN ctest-vn-87179321 UUID is b6e990ac-f4d0-4643-bde6-a63a332f0610 2026-10-05 03:20:55,904 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-80506519:ctest-vn-85329951, 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-80506519:ctest-vn-87179321, 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-10-05 03:20:56,287 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7cd064de-1a3f-456d-93a1-4bd01415fa93', 'name': 'ctest-vn-85329951', 'tenant_id': '32b52d3f9b6f40ab8aaee17e5600df98', 'project_id': '32b52d3f9b6f40ab8aaee17e5600df98', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['64392897-defc-49f2-9253-3345a519b9c3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-80506519', 'ctest-vn-85329951'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-80506519', 'ctest-policy-allow-all-76301415']], 'subnet_ipam': [{'subnet_cidr': '213.71.200.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-10-05 03:20:56,542 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b6e990ac-f4d0-4643-bde6-a63a332f0610', 'name': 'ctest-vn-87179321', 'tenant_id': '32b52d3f9b6f40ab8aaee17e5600df98', 'project_id': '32b52d3f9b6f40ab8aaee17e5600df98', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['e7e2559a-6819-41ee-b0dc-47da5036e72d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-80506519', 'ctest-vn-87179321'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-80506519', 'ctest-policy-allow-all-76301415']], 'subnet_ipam': [{'subnet_cidr': '174.193.144.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-10-05 03:20:56,658 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-10-05 03:20:57,061 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-10-05 03:20:57,104 - DEBUG - Requesting: http://10.0.0.177:8082/domain/6850e378-7089-4036-8f54-55c0ed1b9054 2026-10-05 03:20:57,133 - DEBUG - Requesting: http://10.0.0.177:8082/project/32b52d3f-9b6f-40ab-8aae-e17e5600df98 2026-10-05 03:20:57,264 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/7cd064de-1a3f-456d-93a1-4bd01415fa93 2026-10-05 03:20:57,295 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/7cd064de-1a3f-456d-93a1-4bd01415fa93 2026-10-05 03:20:57,314 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/145d2d87-9515-4044-b572-994e13049320 2026-10-05 03:20:57,330 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/145d2d87-9515-4044-b572-994e13049320 2026-10-05 03:20:57,346 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/c89dae87-cf8c-47f8-9f19-dffb5db0d5fa 2026-10-05 03:20:57,358 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-10-05 03:20:57,358 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/7cd064de-1a3f-456d-93a1-4bd01415fa93 2026-10-05 03:20:57,376 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/145d2d87-9515-4044-b572-994e13049320 2026-10-05 03:20:57,395 - INFO - Verified VN network id 15 for VN 7cd064de-1a3f-456d-93a1-4bd01415fa93 2026-10-05 03:20:57,395 - INFO - Verifications in API Server for VN ctest-vn-85329951 passed 2026-10-05 03:20:57,395 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/7cd064de-1a3f-456d-93a1-4bd01415fa93 2026-10-05 03:20:57,408 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/145d2d87-9515-4044-b572-994e13049320 2026-10-05 03:20:57,419 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/145d2d87-9515-4044-b572-994e13049320 2026-10-05 03:20:57,427 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/c89dae87-cf8c-47f8-9f19-dffb5db0d5fa 2026-10-05 03:20:57,443 - DEBUG - Control-node 10.0.0.177 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-80506519:ctest-vn-85329951', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-80506519', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8993799360944751981', 'uuid-lslong': '10637867151888087699'}, 'enable': 'true', 'created': '2026-10-05T03:20:54', 'last-modified': '2026-10-05T03:20:56', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.199266'} 2026-10-05 03:20:57,453 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-10-05 03:20:57,460 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-80506519:ctest-vn-85329951', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-80506519', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8993799360944751981', 'uuid-lslong': '10637867151888087699'}, 'enable': 'true', 'created': '2026-10-05T03:20:54', 'last-modified': '2026-10-05T03:20:56', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.217802'} 2026-10-05 03:20:57,467 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-10-05 03:20:57,475 - DEBUG - Control-node 10.0.0.190 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-80506519:ctest-vn-85329951', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-80506519', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8993799360944751981', 'uuid-lslong': '10637867151888087699'}, 'enable': 'true', 'created': '2026-10-05T03:20:54', 'last-modified': '2026-10-05T03:20:56', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.229692'} 2026-10-05 03:20:57,483 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-10-05 03:20:57,484 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-85329951 passed 2026-10-05 03:20:57,484 - DEBUG - ====Verifying policy data for ctest-vn-85329951 in API_Server ====== 2026-10-05 03:20:57,484 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-10-05 03:20:57,492 - DEBUG - Requesting: http://10.0.0.177:8082/domain/6850e378-7089-4036-8f54-55c0ed1b9054 2026-10-05 03:20:57,506 - DEBUG - Requesting: http://10.0.0.177:8082/project/32b52d3f-9b6f-40ab-8aae-e17e5600df98 2026-10-05 03:20:57,623 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/7cd064de-1a3f-456d-93a1-4bd01415fa93 2026-10-05 03:20:57,634 - DEBUG - ==>Verifying data for policy with id: e3040e0b-b875-4be1-a7d7-b40b1f4d6752, fqn: ['default-domain', 'ctest-TestBasicPolicy-80506519', 'ctest-policy-allow-all-76301415'] 2026-10-05 03:20:57,634 - INFO - VN ctest-vn-85329951 Policy verification: verify_vn_policy_in_api_server, status: True 2026-10-05 03:20:57,634 - DEBUG - Verifying the vn in opserver 2026-10-05 03:20:57,634 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-80506519:ctest-vn-85329951 virtual network link through opserver 10.0.0.177 2026-10-05 03:20:57,635 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks 2026-10-05 03:20:58,015 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks 2026-10-05 03:20:58,084 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-80506519:ctest-vn-85329951', 'href': 'http://10.0.0.177:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-80506519:ctest-vn-85329951?flat'} 2026-10-05 03:20:58,084 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-80506519:ctest-vn-85329951 virtual network link through opserver 10.0.0.38 2026-10-05 03:20:58,084 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-10-05 03:20:58,464 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-10-05 03:20:58,543 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-80506519:ctest-vn-85329951', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-80506519:ctest-vn-85329951?flat'} 2026-10-05 03:20:58,543 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-80506519:ctest-vn-85329951 virtual network link through opserver 10.0.0.190 2026-10-05 03:20:58,543 - DEBUG - Requesting: http://10.0.0.190:8081/analytics/uves/virtual-networks 2026-10-05 03:20:58,936 - DEBUG - Requesting: http://10.0.0.190:8081/analytics/uves/virtual-networks 2026-10-05 03:20:59,000 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-80506519:ctest-vn-85329951', 'href': 'http://10.0.0.190:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-80506519:ctest-vn-85329951?flat'} 2026-10-05 03:20:59,000 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-80506519:ctest-vn-85329951 is found in opserver 2026-10-05 03:20:59,027 - DEBUG - Do not have enough data to verify VN in agent 2026-10-05 03:20:59,041 - DEBUG - VRF ids for VN ctest-vn-85329951: {} 2026-10-05 03:20:59,041 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-10-05 03:20:59,048 - DEBUG - Requesting: http://10.0.0.177:8082/domain/6850e378-7089-4036-8f54-55c0ed1b9054 2026-10-05 03:20:59,062 - DEBUG - Requesting: http://10.0.0.177:8082/project/32b52d3f-9b6f-40ab-8aae-e17e5600df98 2026-10-05 03:20:59,168 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/b6e990ac-f4d0-4643-bde6-a63a332f0610 2026-10-05 03:20:59,189 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/b6e990ac-f4d0-4643-bde6-a63a332f0610 2026-10-05 03:20:59,204 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/71471079-d718-4d90-ac16-2b328cf30946 2026-10-05 03:20:59,218 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/71471079-d718-4d90-ac16-2b328cf30946 2026-10-05 03:20:59,234 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/2e8b6998-3502-49d8-9c53-ca5aaf0acd8e 2026-10-05 03:20:59,244 - DEBUG - Route Targets: ['target:64512:8000007'] 2026-10-05 03:20:59,244 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/b6e990ac-f4d0-4643-bde6-a63a332f0610 2026-10-05 03:20:59,261 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/71471079-d718-4d90-ac16-2b328cf30946 2026-10-05 03:20:59,291 - INFO - Verified VN network id 16 for VN b6e990ac-f4d0-4643-bde6-a63a332f0610 2026-10-05 03:20:59,292 - INFO - Verifications in API Server for VN ctest-vn-87179321 passed 2026-10-05 03:20:59,293 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/b6e990ac-f4d0-4643-bde6-a63a332f0610 2026-10-05 03:20:59,314 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/71471079-d718-4d90-ac16-2b328cf30946 2026-10-05 03:20:59,327 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/71471079-d718-4d90-ac16-2b328cf30946 2026-10-05 03:20:59,338 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/2e8b6998-3502-49d8-9c53-ca5aaf0acd8e 2026-10-05 03:20:59,358 - DEBUG - Control-node 10.0.0.177 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-80506519:ctest-vn-87179321', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-80506519', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13180224856992532035', 'uuid-lslong': '13683807286708864528'}, 'enable': 'true', 'created': '2026-10-05T03:20:55', 'last-modified': '2026-10-05T03:20:56', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.856501'} 2026-10-05 03:20:59,368 - DEBUG - Route Targets: ['target:64512:8000007'] 2026-10-05 03:20:59,375 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-80506519:ctest-vn-87179321', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-80506519', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13180224856992532035', 'uuid-lslong': '13683807286708864528'}, 'enable': 'true', 'created': '2026-10-05T03:20:55', 'last-modified': '2026-10-05T03:20:56', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.875869'} 2026-10-05 03:20:59,385 - DEBUG - Route Targets: ['target:64512:8000007'] 2026-10-05 03:20:59,394 - DEBUG - Control-node 10.0.0.190 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-80506519:ctest-vn-87179321', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-80506519', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13180224856992532035', 'uuid-lslong': '13683807286708864528'}, 'enable': 'true', 'created': '2026-10-05T03:20:55', 'last-modified': '2026-10-05T03:20:56', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.891389'} 2026-10-05 03:20:59,402 - DEBUG - Route Targets: ['target:64512:8000007'] 2026-10-05 03:20:59,403 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-87179321 passed 2026-10-05 03:20:59,403 - DEBUG - ====Verifying policy data for ctest-vn-87179321 in API_Server ====== 2026-10-05 03:20:59,403 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-10-05 03:20:59,412 - DEBUG - Requesting: http://10.0.0.177:8082/domain/6850e378-7089-4036-8f54-55c0ed1b9054 2026-10-05 03:20:59,429 - DEBUG - Requesting: http://10.0.0.177:8082/project/32b52d3f-9b6f-40ab-8aae-e17e5600df98 2026-10-05 03:20:59,528 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/b6e990ac-f4d0-4643-bde6-a63a332f0610 2026-10-05 03:20:59,543 - DEBUG - ==>Verifying data for policy with id: e3040e0b-b875-4be1-a7d7-b40b1f4d6752, fqn: ['default-domain', 'ctest-TestBasicPolicy-80506519', 'ctest-policy-allow-all-76301415'] 2026-10-05 03:20:59,543 - INFO - VN ctest-vn-87179321 Policy verification: verify_vn_policy_in_api_server, status: True 2026-10-05 03:20:59,543 - DEBUG - Verifying the vn in opserver 2026-10-05 03:20:59,543 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-80506519:ctest-vn-87179321 virtual network link through opserver 10.0.0.177 2026-10-05 03:20:59,543 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks 2026-10-05 03:20:59,594 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-80506519:ctest-vn-87179321', 'href': 'http://10.0.0.177:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-80506519:ctest-vn-87179321?flat'} 2026-10-05 03:20:59,594 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-80506519:ctest-vn-87179321 virtual network link through opserver 10.0.0.38 2026-10-05 03:20:59,594 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-10-05 03:20:59,655 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-80506519:ctest-vn-87179321', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-80506519:ctest-vn-87179321?flat'} 2026-10-05 03:20:59,655 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-80506519:ctest-vn-87179321 virtual network link through opserver 10.0.0.190 2026-10-05 03:20:59,655 - DEBUG - Requesting: http://10.0.0.190:8081/analytics/uves/virtual-networks 2026-10-05 03:20:59,731 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-80506519:ctest-vn-87179321', 'href': 'http://10.0.0.190:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-80506519:ctest-vn-87179321?flat'} 2026-10-05 03:20:59,731 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-80506519:ctest-vn-87179321 is found in opserver 2026-10-05 03:20:59,765 - DEBUG - Do not have enough data to verify VN in agent 2026-10-05 03:20:59,778 - DEBUG - VRF ids for VN ctest-vn-87179321: {} 2026-10-05 03:20:59,849 - DEBUG - Services list from nova: [, , , ] 2026-10-05 03:21:00,414 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-6343-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-6343-1) 2026-10-05 03:21:00,969 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-6343-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-6343-2) 2026-10-05 03:21:00,969 - INFO - Waiting for VM ctest-TestBasicPolicy-80506519-70521265 to be up.. 2026-10-05 03:21:01,052 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-05 03:21:06,163 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-05 03:21:11,298 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-05 03:21:16,390 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-05 03:21:21,484 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-05 03:21:26,590 - DEBUG - VM is in ACTIVE state now 2026-10-05 03:21:26,590 - INFO - VM name : ctest-TestBasicPolicy-80506519-70521265 2026-10-05 03:21:26,704 - DEBUG - VM ctest-TestBasicPolicy-80506519-70521265 ID is 4bef1c03-2c49-4542-ab01-37306f02b0c6 2026-10-05 03:21:26,746 - DEBUG - VM ctest-TestBasicPolicy-80506519-70521265 launched on Node an-jenkins-deploy-platform-ansible-os-6343-1 2026-10-05 03:21:26,839 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-machine/4bef1c03-2c49-4542-ab01-37306f02b0c6 2026-10-05 03:21:27,253 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-machine/4bef1c03-2c49-4542-ab01-37306f02b0c6 2026-10-05 03:21:27,295 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-machine-interface/3dcc41db-809f-464f-a4f2-ab1b3eca4259 2026-10-05 03:21:30,497 - 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 1033ms') 2026-10-05 03:21:30,497 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-80506519-70521265 failed! 2026-10-05 03:21:30,516 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-80506519:ctest-vn-85329951 is 213.71.200.1 and allocation pool is NOT set 2026-10-05 03:21:34,592 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1011ms') 2026-10-05 03:21:34,592 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-80506519-70521265 failed! 2026-10-05 03:21:34,609 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-80506519:ctest-vn-85329951 is 213.71.200.1 and allocation pool is NOT set 2026-10-05 03:21:38,684 - 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-10-05 03:21:38,684 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-80506519-70521265 failed! 2026-10-05 03:21:38,701 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-80506519:ctest-vn-85329951 is 213.71.200.1 and allocation pool is NOT set 2026-10-05 03:21:42,788 - 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-10-05 03:21:42,788 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-80506519-70521265 failed! 2026-10-05 03:21:42,805 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-80506519:ctest-vn-85329951 is 213.71.200.1 and allocation pool is NOT set 2026-10-05 03:21:46,881 - 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 1008ms') 2026-10-05 03:21:46,881 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-80506519-70521265 failed! 2026-10-05 03:21:46,898 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-80506519:ctest-vn-85329951 is 213.71.200.1 and allocation pool is NOT set 2026-10-05 03:21:50,980 - 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') 2026-10-05 03:21:50,980 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-80506519-70521265 failed! 2026-10-05 03:21:50,999 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-80506519:ctest-vn-85329951 is 213.71.200.1 and allocation pool is NOT set 2026-10-05 03:21:55,074 - 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 1009ms') 2026-10-05 03:21:55,074 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-80506519-70521265 failed! 2026-10-05 03:21:55,090 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-80506519:ctest-vn-85329951 is 213.71.200.1 and allocation pool is NOT set 2026-10-05 03:21:59,167 - 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=2 ttl=63 time=8.39 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1012ms\r\nrtt min/avg/max/mdev = 8.388/8.388/8.388/0.000 ms') 2026-10-05 03:21:59,167 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-80506519-70521265 passed 2026-10-05 03:21:59,241 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-05 03:21:59,241 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-80506519-70521265, IP 213.71.200.3, Port 22 2026-10-05 03:21:59,308 - 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-10-05 03:21:59,407 - DEBUG - VM ctest-TestBasicPolicy-80506519-70521265 is NOT ready for SSH connections, VM status: ACTIVE 2026-10-05 03:22:04,407 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-05 03:22:04,408 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-80506519-70521265, IP 213.71.200.3, Port 22 2026-10-05 03:22:04,477 - 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-10-05 03:22:04,569 - DEBUG - VM ctest-TestBasicPolicy-80506519-70521265 is NOT ready for SSH connections, VM status: ACTIVE 2026-10-05 03:22:09,569 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-05 03:22:09,569 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-80506519-70521265, IP 213.71.200.3, Port 22 2026-10-05 03:22:09,740 - DEBUG - VM ctest-TestBasicPolicy-80506519-70521265 is ready for SSH connections 2026-10-05 03:22:09,740 - INFO - Waiting for VM ctest-TestBasicPolicy-80506519-07662700 to be up.. 2026-10-05 03:22:09,855 - DEBUG - VM is in ACTIVE state now 2026-10-05 03:22:09,856 - INFO - VM name : ctest-TestBasicPolicy-80506519-07662700 2026-10-05 03:22:09,978 - DEBUG - VM ctest-TestBasicPolicy-80506519-07662700 ID is 2c25c021-1b8f-406b-a4ac-4736b5af29ca 2026-10-05 03:22:09,978 - DEBUG - VM ctest-TestBasicPolicy-80506519-07662700 launched on Node an-jenkins-deploy-platform-ansible-os-6343-2 2026-10-05 03:22:10,089 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-machine/2c25c021-1b8f-406b-a4ac-4736b5af29ca 2026-10-05 03:22:10,102 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-machine-interface/2724423d-cf12-478c-b499-1d424069dca7 2026-10-05 03:22:11,309 - 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=5.43 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.77 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 = 1.770/3.599/5.428/1.829 ms') 2026-10-05 03:22:11,309 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-80506519-07662700 passed 2026-10-05 03:22:11,392 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-05 03:22:11,392 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-80506519-07662700, IP 174.193.144.3, Port 22 2026-10-05 03:22:11,459 - 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-10-05 03:22:11,580 - DEBUG - VM ctest-TestBasicPolicy-80506519-07662700 is NOT ready for SSH connections, VM status: ACTIVE 2026-10-05 03:22:16,580 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-05 03:22:16,581 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-80506519-07662700, IP 174.193.144.3, Port 22 2026-10-05 03:22:16,755 - DEBUG - VM ctest-TestBasicPolicy-80506519-07662700 is ready for SSH connections 2026-10-05 03:22:16,755 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-05 03:22:16,755 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 174.193.144.3, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-10-05 03:22:16,756 - DEBUG - ping -s 56 -c 3 -W 1 174.193.144.3 2026-10-05 03:22:25,394 - DEBUG - PING 174.193.144.3 (174.193.144.3) 56(84) bytes of data. 64 bytes from 174.193.144.3: icmp_req=1 ttl=63 time=11.1 ms 64 bytes from 174.193.144.3: icmp_req=2 ttl=63 time=2.01 ms 64 bytes from 174.193.144.3: icmp_req=3 ttl=63 time=4.13 ms --- 174.193.144.3 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 2.015/5.761/11.134/3.897 ms 2026-10-05 03:22:25,394 - INFO - Ping to IP 174.193.144.3 from VM ctest-TestBasicPolicy-80506519-70521265 passed 2026-10-05 03:22:25,674 - DEBUG - Policy Update Response {"network-policy": {"uuid": "e3040e0b-b875-4be1-a7d7-b40b1f4d6752", "href": "http://10.0.0.190:8082/network-policy/e3040e0b-b875-4be1-a7d7-b40b1f4d6752"}} 2026-10-05 03:22:25,674 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-05 03:22:25,674 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 174.193.144.3, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-10-05 03:22:25,674 - DEBUG - ping -s 56 -c 3 -W 1 174.193.144.3 2026-10-05 03:22:29,137 - DEBUG - PING 174.193.144.3 (174.193.144.3) 56(84) bytes of data. 64 bytes from 174.193.144.3: icmp_req=1 ttl=63 time=5.23 ms --- 174.193.144.3 ping statistics --- 3 packets transmitted, 1 received, 66% packet loss, time 2010ms rtt min/avg/max/mdev = 5.232/5.232/5.232/0.000 ms 2026-10-05 03:22:29,137 - WARNING - Ping to IP 174.193.144.3 from VM ctest-TestBasicPolicy-80506519-70521265 failed 2026-10-05 03:22:29,137 - INFO - Deleting VM ctest-TestBasicPolicy-80506519-07662700 2026-10-05 03:22:29,242 - INFO - Deleting VM ctest-TestBasicPolicy-80506519-70521265 2026-10-05 03:22:29,741 - INFO - Deleted policy ctest-policy-allow-all-76301415 2026-10-05 03:22:29,741 - INFO - Deleting VN ctest-vn-87179321 2026-10-05 03:22:29,792 - DEBUG - VN b6e990ac-f4d0-4643-bde6-a63a332f0610 still in use: Unable to complete operation on network b6e990ac-f4d0-4643-bde6-a63a332f0610. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-19ad028a-96a2-48da-aa0d-28095875961b'] 2026-10-05 03:22:29,792 - WARNING - Deleting VN ctest-vn-87179321 failed..Will retry 2026-10-05 03:22:31,991 - DEBUG - Response for deleting network () 2026-10-05 03:22:31,991 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/71471079-d718-4d90-ac16-2b328cf30946 2026-10-05 03:22:31,999 - DEBUG - Response Code: 404 2026-10-05 03:22:31,999 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-10-05 03:22:32,032 - DEBUG - Requesting: http://10.0.0.177:8082/domain/6850e378-7089-4036-8f54-55c0ed1b9054 2026-10-05 03:22:32,075 - DEBUG - Requesting: http://10.0.0.177:8082/project/32b52d3f-9b6f-40ab-8aae-e17e5600df98 2026-10-05 03:22:32,185 - INFO - Validated that VN ctest-vn-87179321 is not found in API Server 2026-10-05 03:22:32,199 - DEBUG - VN ctest-vn-87179321 is not present in Agent 10.0.0.50 2026-10-05 03:22:32,215 - DEBUG - VN ctest-vn-87179321 is not present in Agent 10.0.0.191 2026-10-05 03:22:32,215 - INFO - Validated that VN ctest-vn-87179321 is not in any agent 2026-10-05 03:22:32,251 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-87179321 info 2026-10-05 03:22:32,252 - INFO - Deleting VN ctest-vn-85329951 2026-10-05 03:22:32,455 - DEBUG - Response for deleting network () 2026-10-05 03:22:32,455 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/145d2d87-9515-4044-b572-994e13049320 2026-10-05 03:22:32,463 - DEBUG - Response Code: 404 2026-10-05 03:22:32,463 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-10-05 03:22:32,470 - DEBUG - Requesting: http://10.0.0.177:8082/domain/6850e378-7089-4036-8f54-55c0ed1b9054 2026-10-05 03:22:32,486 - DEBUG - Requesting: http://10.0.0.177:8082/project/32b52d3f-9b6f-40ab-8aae-e17e5600df98 2026-10-05 03:22:32,600 - INFO - Validated that VN ctest-vn-85329951 is not found in API Server 2026-10-05 03:22:32,611 - DEBUG - VN ctest-vn-85329951 is not present in Agent 10.0.0.50 2026-10-05 03:22:32,623 - DEBUG - VN ctest-vn-85329951 is not present in Agent 10.0.0.191 2026-10-05 03:22:32,623 - INFO - Validated that VN ctest-vn-85329951 is not in any agent 2026-10-05 03:22:32,675 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-85329951 info 2026-10-05 03:22:33,986 - DEBUG - No XMPP flaps were noticed during the test 2026-10-05 03:22:33,986 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:41] 2026-10-05 03:22:33,986 - INFO - -------------------------------------------------------------------------------- 2026-10-05 03:22:34,887 - INFO - Deleted project: ctest-TestBasicPolicy-80506519, ID : 32b52d3f-9b6f-40ab-8aae-e17e5600df98