2025-10-30 21:29:11,664 - INFO - Domain Default found not creating
2025-10-30 21:29:11,961 - INFO - Project ctest-TestBasicPolicy-29810524 not found, creating it
2025-10-30 21:29:12,488 - INFO - Created Project:ctest-TestBasicPolicy-29810524, ID : 50309072-8865-4e4a-bb40-f7d543074cbc
2025-10-30 21:29:14,317 - INFO - ================================================================================
2025-10-30 21:29:14,317 - INFO - STARTING TEST : test_basic_policy_allow_deny
2025-10-30 21:29:14,318 - 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-30 21:29:14,639 - DEBUG - Nothing to compare xmpp stats {'10.0.0.153': {'10.20.0.254': '0'}} with
2025-10-30 21:29:14,640 - INFO - Initial checks done. Running the testcase now
2025-10-30 21:29:14,640 - INFO -
2025-10-30 21:29:15,385 - DEBUG - Response for create_network : {'network': {'id': '628b09c7-0cc2-4763-a831-72d5bfe9bf97', 'name': 'ctest-vn-62544587', 'tenant_id': '5030907288654e4abb40f7d543074cbc', 'project_id': '5030907288654e4abb40f7d543074cbc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29810524', 'ctest-vn-62544587'], 'port_security_enabled': True, 'description': ''}}
2025-10-30 21:29:15,661 - DEBUG - Response for create_subnet : {'subnet': {'id': '77083be4-1827-4124-86c3-60cbc67285ea', 'name': '', 'tenant_id': '5030907288654e4abb40f7d543074cbc', 'network_id': '628b09c7-0cc2-4763-a831-72d5bfe9bf97', 'ip_version': 4, 'cidr': '179.80.229.128/26', 'allocation_pools': [{'start': '179.80.229.130', 'end': '179.80.229.190'}], 'gateway_ip': '179.80.229.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '179.80.229.130', 'tags': [], 'project_id': '5030907288654e4abb40f7d543074cbc'}}
2025-10-30 21:29:15,690 - INFO - Created VN ctest-vn-62544587
2025-10-30 21:29:15,753 - DEBUG - VN ctest-vn-62544587 UUID is 628b09c7-0cc2-4763-a831-72d5bfe9bf97
2025-10-30 21:29:16,192 - DEBUG - Response for create_network : {'network': {'id': 'f1f0eec2-56ca-4625-aa29-3aa25596698d', 'name': 'ctest-vn-21235419', 'tenant_id': '5030907288654e4abb40f7d543074cbc', 'project_id': '5030907288654e4abb40f7d543074cbc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29810524', 'ctest-vn-21235419'], 'port_security_enabled': True, 'description': ''}}
2025-10-30 21:29:16,420 - DEBUG - Response for create_subnet : {'subnet': {'id': '4e926a08-d085-438c-89f9-cbb0264b5661', 'name': '', 'tenant_id': '5030907288654e4abb40f7d543074cbc', 'network_id': 'f1f0eec2-56ca-4625-aa29-3aa25596698d', 'ip_version': 4, 'cidr': '99.52.220.128/26', 'allocation_pools': [{'start': '99.52.220.130', 'end': '99.52.220.190'}], 'gateway_ip': '99.52.220.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '99.52.220.130', 'tags': [], 'project_id': '5030907288654e4abb40f7d543074cbc'}}
2025-10-30 21:29:16,454 - INFO - Created VN ctest-vn-21235419
2025-10-30 21:29:16,521 - DEBUG - VN ctest-vn-21235419 UUID is f1f0eec2-56ca-4625-aa29-3aa25596698d
2025-10-30 21:29:16,668 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-29810524:ctest-vn-62544587, 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-29810524:ctest-vn-21235419, 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-30 21:29:17,107 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '628b09c7-0cc2-4763-a831-72d5bfe9bf97', 'name': 'ctest-vn-62544587', 'tenant_id': '5030907288654e4abb40f7d543074cbc', 'project_id': '5030907288654e4abb40f7d543074cbc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['77083be4-1827-4124-86c3-60cbc67285ea'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29810524', 'ctest-vn-62544587'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-29810524', 'ctest-policy-allow-all-51494453']], 'subnet_ipam': [{'subnet_cidr': '179.80.229.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-10-30 21:29:17,512 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f1f0eec2-56ca-4625-aa29-3aa25596698d', 'name': 'ctest-vn-21235419', 'tenant_id': '5030907288654e4abb40f7d543074cbc', 'project_id': '5030907288654e4abb40f7d543074cbc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4e926a08-d085-438c-89f9-cbb0264b5661'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29810524', 'ctest-vn-21235419'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-29810524', 'ctest-policy-allow-all-51494453']], 'subnet_ipam': [{'subnet_cidr': '99.52.220.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-10-30 21:29:17,689 - DEBUG - Requesting: http://10.0.0.153:8082/domains
2025-10-30 21:29:18,030 - DEBUG - Requesting: http://10.0.0.153:8082/domains
2025-10-30 21:29:18,067 - DEBUG - Requesting: http://10.0.0.153:8082/domain/7901a282-115b-4b15-b4a2-dddcde975aa9
2025-10-30 21:29:18,081 - DEBUG - Requesting: http://10.0.0.153:8082/project/50309072-8865-4e4a-bb40-f7d543074cbc
2025-10-30 21:29:18,188 - DEBUG - Requesting: http://10.0.0.153:8082/virtual-network/628b09c7-0cc2-4763-a831-72d5bfe9bf97
2025-10-30 21:29:18,200 - DEBUG - Requesting: http://10.0.0.153:8082/virtual-network/628b09c7-0cc2-4763-a831-72d5bfe9bf97
2025-10-30 21:29:18,214 - DEBUG - Requesting: http://10.0.0.153:8082/routing-instance/4b5d027c-7ff3-48b1-971c-cdba59bc2b41
2025-10-30 21:29:18,226 - DEBUG - Requesting: http://10.0.0.153:8082/routing-instance/4b5d027c-7ff3-48b1-971c-cdba59bc2b41
2025-10-30 21:29:18,233 - DEBUG - Requesting: http://10.0.0.153:8082/route-target/884afb21-cbc0-4cfc-afd7-b1e5649bba47
2025-10-30 21:29:18,241 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-30 21:29:18,241 - DEBUG - Requesting: http://10.0.0.153:8082/virtual-network/628b09c7-0cc2-4763-a831-72d5bfe9bf97
2025-10-30 21:29:18,252 - DEBUG - Requesting: http://10.0.0.153:8082/routing-instance/4b5d027c-7ff3-48b1-971c-cdba59bc2b41
2025-10-30 21:29:18,266 - INFO - Verified VN network id 11 for VN 628b09c7-0cc2-4763-a831-72d5bfe9bf97
2025-10-30 21:29:18,266 - INFO - Verifications in API Server for VN ctest-vn-62544587 passed
2025-10-30 21:29:18,266 - DEBUG - Requesting: http://10.0.0.153:8082/virtual-network/628b09c7-0cc2-4763-a831-72d5bfe9bf97
2025-10-30 21:29:18,276 - DEBUG - Requesting: http://10.0.0.153:8082/routing-instance/4b5d027c-7ff3-48b1-971c-cdba59bc2b41
2025-10-30 21:29:18,285 - DEBUG - Requesting: http://10.0.0.153:8082/routing-instance/4b5d027c-7ff3-48b1-971c-cdba59bc2b41
2025-10-30 21:29:18,292 - DEBUG - Requesting: http://10.0.0.153:8082/route-target/884afb21-cbc0-4cfc-afd7-b1e5649bba47
2025-10-30 21:29:18,305 - DEBUG - Control-node 10.0.0.153 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-29810524:ctest-vn-62544587', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-29810524', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7100779987996919651', 'uuid-lslong': '12119594334604083095'}, 'enable': 'true', 'created': '2025-10-30T21:29:15', 'last-modified': '2025-10-30T21:29:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.242602'}
2025-10-30 21:29:18,313 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-30 21:29:18,313 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-62544587 passed
2025-10-30 21:29:18,313 - DEBUG - ====Verifying policy data for ctest-vn-62544587 in API_Server ======
2025-10-30 21:29:18,313 - DEBUG - Requesting: http://10.0.0.153:8082/domains
2025-10-30 21:29:18,322 - DEBUG - Requesting: http://10.0.0.153:8082/domain/7901a282-115b-4b15-b4a2-dddcde975aa9
2025-10-30 21:29:18,340 - DEBUG - Requesting: http://10.0.0.153:8082/project/50309072-8865-4e4a-bb40-f7d543074cbc
2025-10-30 21:29:18,453 - DEBUG - Requesting: http://10.0.0.153:8082/virtual-network/628b09c7-0cc2-4763-a831-72d5bfe9bf97
2025-10-30 21:29:18,475 - DEBUG - ==>Verifying data for policy with id: bd76d527-62d1-4558-bb5b-8cd14cbc4516, fqn: ['default-domain', 'ctest-TestBasicPolicy-29810524', 'ctest-policy-allow-all-51494453']
2025-10-30 21:29:18,475 - INFO - VN ctest-vn-62544587 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-30 21:29:18,475 - DEBUG - Verifying the vn in opserver
2025-10-30 21:29:18,475 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-29810524:ctest-vn-62544587 virtual network link through opserver 10.0.0.153
2025-10-30 21:29:18,476 - DEBUG - Requesting: http://10.0.0.153:8081/analytics/uves/virtual-networks
2025-10-30 21:29:18,832 - DEBUG - Requesting: http://10.0.0.153:8081/analytics/uves/virtual-networks
2025-10-30 21:29:18,922 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-29810524:ctest-vn-62544587', 'href': 'http://10.0.0.153:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-29810524:ctest-vn-62544587?flat'}
2025-10-30 21:29:18,922 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-29810524:ctest-vn-62544587 is found in opserver
2025-10-30 21:29:18,951 - DEBUG - Do not have enough data to verify VN in agent
2025-10-30 21:29:18,964 - DEBUG - VRF ids for VN ctest-vn-62544587: {}
2025-10-30 21:29:18,964 - DEBUG - Requesting: http://10.0.0.153:8082/domains
2025-10-30 21:29:18,977 - DEBUG - Requesting: http://10.0.0.153:8082/domain/7901a282-115b-4b15-b4a2-dddcde975aa9
2025-10-30 21:29:19,007 - DEBUG - Requesting: http://10.0.0.153:8082/project/50309072-8865-4e4a-bb40-f7d543074cbc
2025-10-30 21:29:19,129 - DEBUG - Requesting: http://10.0.0.153:8082/virtual-network/f1f0eec2-56ca-4625-aa29-3aa25596698d
2025-10-30 21:29:19,157 - DEBUG - Requesting: http://10.0.0.153:8082/virtual-network/f1f0eec2-56ca-4625-aa29-3aa25596698d
2025-10-30 21:29:19,177 - DEBUG - Requesting: http://10.0.0.153:8082/routing-instance/b8589d2a-db23-464a-b9a5-eab574d688f2
2025-10-30 21:29:19,191 - DEBUG - Requesting: http://10.0.0.153:8082/routing-instance/b8589d2a-db23-464a-b9a5-eab574d688f2
2025-10-30 21:29:19,204 - DEBUG - Requesting: http://10.0.0.153:8082/route-target/b48ed6d4-eefa-4d9d-8441-9df960f1dbe8
2025-10-30 21:29:19,217 - DEBUG - Route Targets: ['target:64512:8000005']
2025-10-30 21:29:19,217 - DEBUG - Requesting: http://10.0.0.153:8082/virtual-network/f1f0eec2-56ca-4625-aa29-3aa25596698d
2025-10-30 21:29:19,234 - DEBUG - Requesting: http://10.0.0.153:8082/routing-instance/b8589d2a-db23-464a-b9a5-eab574d688f2
2025-10-30 21:29:19,259 - INFO - Verified VN network id 12 for VN f1f0eec2-56ca-4625-aa29-3aa25596698d
2025-10-30 21:29:19,260 - INFO - Verifications in API Server for VN ctest-vn-21235419 passed
2025-10-30 21:29:19,260 - DEBUG - Requesting: http://10.0.0.153:8082/virtual-network/f1f0eec2-56ca-4625-aa29-3aa25596698d
2025-10-30 21:29:19,278 - DEBUG - Requesting: http://10.0.0.153:8082/routing-instance/b8589d2a-db23-464a-b9a5-eab574d688f2
2025-10-30 21:29:19,291 - DEBUG - Requesting: http://10.0.0.153:8082/routing-instance/b8589d2a-db23-464a-b9a5-eab574d688f2
2025-10-30 21:29:19,306 - DEBUG - Requesting: http://10.0.0.153:8082/route-target/b48ed6d4-eefa-4d9d-8441-9df960f1dbe8
2025-10-30 21:29:19,334 - DEBUG - Control-node 10.0.0.153 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-29810524:ctest-vn-21235419', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-29810524', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17433696675998352933', 'uuid-lslong': '12261395929387919757'}, 'enable': 'true', 'created': '2025-10-30T21:29:16', 'last-modified': '2025-10-30T21:29:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.926876'}
2025-10-30 21:29:19,350 - DEBUG - Route Targets: ['target:64512:8000005']
2025-10-30 21:29:19,351 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-21235419 passed
2025-10-30 21:29:19,351 - DEBUG - ====Verifying policy data for ctest-vn-21235419 in API_Server ======
2025-10-30 21:29:19,351 - DEBUG - Requesting: http://10.0.0.153:8082/domains
2025-10-30 21:29:19,365 - DEBUG - Requesting: http://10.0.0.153:8082/domain/7901a282-115b-4b15-b4a2-dddcde975aa9
2025-10-30 21:29:19,394 - DEBUG - Requesting: http://10.0.0.153:8082/project/50309072-8865-4e4a-bb40-f7d543074cbc
2025-10-30 21:29:19,517 - DEBUG - Requesting: http://10.0.0.153:8082/virtual-network/f1f0eec2-56ca-4625-aa29-3aa25596698d
2025-10-30 21:29:19,546 - DEBUG - ==>Verifying data for policy with id: bd76d527-62d1-4558-bb5b-8cd14cbc4516, fqn: ['default-domain', 'ctest-TestBasicPolicy-29810524', 'ctest-policy-allow-all-51494453']
2025-10-30 21:29:19,546 - INFO - VN ctest-vn-21235419 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-30 21:29:19,546 - DEBUG - Verifying the vn in opserver
2025-10-30 21:29:19,546 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-29810524:ctest-vn-21235419 virtual network link through opserver 10.0.0.153
2025-10-30 21:29:19,546 - DEBUG - Requesting: http://10.0.0.153:8081/analytics/uves/virtual-networks
2025-10-30 21:29:19,573 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-29810524:ctest-vn-21235419', 'href': 'http://10.0.0.153:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-29810524:ctest-vn-21235419?flat'}
2025-10-30 21:29:19,573 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-29810524:ctest-vn-21235419 is found in opserver
2025-10-30 21:29:19,600 - DEBUG - Do not have enough data to verify VN in agent
2025-10-30 21:29:19,612 - DEBUG - VRF ids for VN ctest-vn-21235419: {}
2025-10-30 21:29:19,725 - DEBUG - Services list from nova: [