2025-10-29 23:08:04,373 - INFO - Domain Default found not creating
2025-10-29 23:08:04,515 - INFO - Project ctest-TestBasicPolicy-09596749 not found, creating it
2025-10-29 23:08:04,934 - INFO - Created Project:ctest-TestBasicPolicy-09596749, ID : f0dc8f40-fe2d-4bd9-b1d5-c43de21df6a6 
2025-10-29 23:08:06,306 - INFO - ================================================================================
2025-10-29 23:08:06,307 - INFO - STARTING TEST    : test_basic_policy_allow_deny
2025-10-29 23:08:06,307 - 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-29 23:08:06,560 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.252': '0'}} with
2025-10-29 23:08:06,561 - INFO - Initial checks done. Running the testcase now
2025-10-29 23:08:06,561 - INFO - 
2025-10-29 23:08:07,088 - DEBUG - Response for create_network : {'network': {'id': '29dd725a-237c-4573-a0cf-a1655d36bee9', 'name': 'ctest-vn-65980167', 'tenant_id': 'f0dc8f40fe2d4bd9b1d5c43de21df6a6', 'project_id': 'f0dc8f40fe2d4bd9b1d5c43de21df6a6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09596749', 'ctest-vn-65980167'], 'port_security_enabled': True, 'description': ''}}
2025-10-29 23:08:07,315 - DEBUG - Response for create_subnet : {'subnet': {'id': '2cf928f0-2b04-42a5-a492-15f1ee6d7ccd', 'name': '', 'tenant_id': 'f0dc8f40fe2d4bd9b1d5c43de21df6a6', 'network_id': '29dd725a-237c-4573-a0cf-a1655d36bee9', 'ip_version': 4, 'cidr': '95.182.112.192/26', 'allocation_pools': [{'start': '95.182.112.194', 'end': '95.182.112.254'}], 'gateway_ip': '95.182.112.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '95.182.112.194', 'tags': [], 'project_id': 'f0dc8f40fe2d4bd9b1d5c43de21df6a6'}}
2025-10-29 23:08:07,331 - INFO - Created VN ctest-vn-65980167
2025-10-29 23:08:07,383 - DEBUG - VN ctest-vn-65980167 UUID is 29dd725a-237c-4573-a0cf-a1655d36bee9
2025-10-29 23:08:07,718 - DEBUG - Response for create_network : {'network': {'id': '311329a3-f2cc-422c-a23d-c79f18b85ddc', 'name': 'ctest-vn-42602327', 'tenant_id': 'f0dc8f40fe2d4bd9b1d5c43de21df6a6', 'project_id': 'f0dc8f40fe2d4bd9b1d5c43de21df6a6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09596749', 'ctest-vn-42602327'], 'port_security_enabled': True, 'description': ''}}
2025-10-29 23:08:07,893 - DEBUG - Response for create_subnet : {'subnet': {'id': '73d93959-72f9-45d9-b5fb-76f1dda3a299', 'name': '', 'tenant_id': 'f0dc8f40fe2d4bd9b1d5c43de21df6a6', 'network_id': '311329a3-f2cc-422c-a23d-c79f18b85ddc', 'ip_version': 4, 'cidr': '189.244.67.0/26', 'allocation_pools': [{'start': '189.244.67.2', 'end': '189.244.67.62'}], 'gateway_ip': '189.244.67.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '189.244.67.2', 'tags': [], 'project_id': 'f0dc8f40fe2d4bd9b1d5c43de21df6a6'}}
2025-10-29 23:08:07,909 - INFO - Created VN ctest-vn-42602327
2025-10-29 23:08:07,959 - DEBUG - VN ctest-vn-42602327 UUID is 311329a3-f2cc-422c-a23d-c79f18b85ddc
2025-10-29 23:08:08,107 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-09596749:ctest-vn-65980167, 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-09596749:ctest-vn-42602327, 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-29 23:08:08,393 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '29dd725a-237c-4573-a0cf-a1655d36bee9', 'name': 'ctest-vn-65980167', 'tenant_id': 'f0dc8f40fe2d4bd9b1d5c43de21df6a6', 'project_id': 'f0dc8f40fe2d4bd9b1d5c43de21df6a6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2cf928f0-2b04-42a5-a492-15f1ee6d7ccd'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09596749', 'ctest-vn-65980167'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-09596749', 'ctest-policy-allow-all-64533252']], 'subnet_ipam': [{'subnet_cidr': '95.182.112.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-10-29 23:08:08,615 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '311329a3-f2cc-422c-a23d-c79f18b85ddc', 'name': 'ctest-vn-42602327', 'tenant_id': 'f0dc8f40fe2d4bd9b1d5c43de21df6a6', 'project_id': 'f0dc8f40fe2d4bd9b1d5c43de21df6a6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['73d93959-72f9-45d9-b5fb-76f1dda3a299'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09596749', 'ctest-vn-42602327'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-09596749', 'ctest-policy-allow-all-64533252']], 'subnet_ipam': [{'subnet_cidr': '189.244.67.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-10-29 23:08:08,775 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2025-10-29 23:08:09,064 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2025-10-29 23:08:09,089 - DEBUG - Requesting: http://10.0.0.249:8082/domain/ca69f330-13b5-464a-a35b-53285fffc4a3
2025-10-29 23:08:09,099 - DEBUG - Requesting: http://10.0.0.249:8082/project/f0dc8f40-fe2d-4bd9-b1d5-c43de21df6a6
2025-10-29 23:08:09,173 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/29dd725a-237c-4573-a0cf-a1655d36bee9
2025-10-29 23:08:09,182 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/29dd725a-237c-4573-a0cf-a1655d36bee9
2025-10-29 23:08:09,189 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/b0a4fa12-a7e3-4177-8f91-aafbd8edc204
2025-10-29 23:08:09,194 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/b0a4fa12-a7e3-4177-8f91-aafbd8edc204
2025-10-29 23:08:09,200 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/25c4daa5-34ab-43b0-842e-305545195543
2025-10-29 23:08:09,205 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-29 23:08:09,205 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/29dd725a-237c-4573-a0cf-a1655d36bee9
2025-10-29 23:08:09,214 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/b0a4fa12-a7e3-4177-8f91-aafbd8edc204
2025-10-29 23:08:09,226 - INFO - Verified VN network id 12 for VN 29dd725a-237c-4573-a0cf-a1655d36bee9
2025-10-29 23:08:09,226 - INFO - Verifications in API Server for VN ctest-vn-65980167 passed
2025-10-29 23:08:09,226 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/29dd725a-237c-4573-a0cf-a1655d36bee9
2025-10-29 23:08:09,232 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/b0a4fa12-a7e3-4177-8f91-aafbd8edc204
2025-10-29 23:08:09,239 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/b0a4fa12-a7e3-4177-8f91-aafbd8edc204
2025-10-29 23:08:09,244 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/25c4daa5-34ab-43b0-842e-305545195543
2025-10-29 23:08:09,254 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-09596749:ctest-vn-65980167', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-09596749', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3016693056876070259', 'uuid-lslong': '11587657822975213289'}, 'enable': 'true', 'created': '2025-10-29T23:08:07', 'last-modified': '2025-10-29T23:08:08', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.881501'}
2025-10-29 23:08:09,260 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-29 23:08:09,260 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-65980167 passed
2025-10-29 23:08:09,260 - DEBUG - ====Verifying policy data for ctest-vn-65980167 in API_Server ======
2025-10-29 23:08:09,260 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2025-10-29 23:08:09,263 - DEBUG - Requesting: http://10.0.0.249:8082/domain/ca69f330-13b5-464a-a35b-53285fffc4a3
2025-10-29 23:08:09,272 - DEBUG - Requesting: http://10.0.0.249:8082/project/f0dc8f40-fe2d-4bd9-b1d5-c43de21df6a6
2025-10-29 23:08:09,343 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/29dd725a-237c-4573-a0cf-a1655d36bee9
2025-10-29 23:08:09,353 - DEBUG - ==>Verifying data for policy with id: 80558f53-86c0-46dc-8e44-78bbb33e018c, fqn: ['default-domain', 'ctest-TestBasicPolicy-09596749', 'ctest-policy-allow-all-64533252']
2025-10-29 23:08:09,353 - INFO - VN ctest-vn-65980167 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-29 23:08:09,354 - DEBUG - Verifying the vn in opserver
2025-10-29 23:08:09,354 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-09596749:ctest-vn-65980167 virtual network link  through opserver 10.0.0.249
2025-10-29 23:08:09,354 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks
2025-10-29 23:08:09,649 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks
2025-10-29 23:08:09,710 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-09596749:ctest-vn-65980167', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-09596749:ctest-vn-65980167?flat'}
2025-10-29 23:08:09,710 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-09596749:ctest-vn-65980167 is found in opserver
2025-10-29 23:08:09,719 - DEBUG - Do not have enough data to verify VN in agent
2025-10-29 23:08:09,723 - DEBUG - VRF ids for VN ctest-vn-65980167: {}
2025-10-29 23:08:09,723 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2025-10-29 23:08:09,729 - DEBUG - Requesting: http://10.0.0.249:8082/domain/ca69f330-13b5-464a-a35b-53285fffc4a3
2025-10-29 23:08:09,739 - DEBUG - Requesting: http://10.0.0.249:8082/project/f0dc8f40-fe2d-4bd9-b1d5-c43de21df6a6
2025-10-29 23:08:09,814 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/311329a3-f2cc-422c-a23d-c79f18b85ddc
2025-10-29 23:08:09,825 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/311329a3-f2cc-422c-a23d-c79f18b85ddc
2025-10-29 23:08:09,834 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/ab302db3-4300-4613-9343-27c8f67a1fc8
2025-10-29 23:08:09,840 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/ab302db3-4300-4613-9343-27c8f67a1fc8
2025-10-29 23:08:09,846 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/c0b83578-8a2a-4ff6-b2dd-5f3fd25c2d82
2025-10-29 23:08:09,850 - DEBUG - Route Targets: ['target:64512:8000005']
2025-10-29 23:08:09,850 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/311329a3-f2cc-422c-a23d-c79f18b85ddc
2025-10-29 23:08:09,857 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/ab302db3-4300-4613-9343-27c8f67a1fc8
2025-10-29 23:08:09,871 - INFO - Verified VN network id 13 for VN 311329a3-f2cc-422c-a23d-c79f18b85ddc
2025-10-29 23:08:09,871 - INFO - Verifications in API Server for VN ctest-vn-42602327 passed
2025-10-29 23:08:09,871 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/311329a3-f2cc-422c-a23d-c79f18b85ddc
2025-10-29 23:08:09,880 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/ab302db3-4300-4613-9343-27c8f67a1fc8
2025-10-29 23:08:09,886 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/ab302db3-4300-4613-9343-27c8f67a1fc8
2025-10-29 23:08:09,893 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/c0b83578-8a2a-4ff6-b2dd-5f3fd25c2d82
2025-10-29 23:08:09,904 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-09596749:ctest-vn-42602327', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-09596749', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3536215916545851948', 'uuid-lslong': '11690719693852138972'}, 'enable': 'true', 'created': '2025-10-29T23:08:07', 'last-modified': '2025-10-29T23:08:08', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.309805'}
2025-10-29 23:08:09,910 - DEBUG - Route Targets: ['target:64512:8000005']
2025-10-29 23:08:09,911 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-42602327 passed
2025-10-29 23:08:09,912 - DEBUG - ====Verifying policy data for ctest-vn-42602327 in API_Server ======
2025-10-29 23:08:09,912 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2025-10-29 23:08:09,918 - DEBUG - Requesting: http://10.0.0.249:8082/domain/ca69f330-13b5-464a-a35b-53285fffc4a3
2025-10-29 23:08:09,928 - DEBUG - Requesting: http://10.0.0.249:8082/project/f0dc8f40-fe2d-4bd9-b1d5-c43de21df6a6
2025-10-29 23:08:09,997 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/311329a3-f2cc-422c-a23d-c79f18b85ddc
2025-10-29 23:08:10,006 - DEBUG - ==>Verifying data for policy with id: 80558f53-86c0-46dc-8e44-78bbb33e018c, fqn: ['default-domain', 'ctest-TestBasicPolicy-09596749', 'ctest-policy-allow-all-64533252']
2025-10-29 23:08:10,007 - INFO - VN ctest-vn-42602327 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-29 23:08:10,007 - DEBUG - Verifying the vn in opserver
2025-10-29 23:08:10,007 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-09596749:ctest-vn-42602327 virtual network link  through opserver 10.0.0.249
2025-10-29 23:08:10,007 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks
2025-10-29 23:08:10,016 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-09596749:ctest-vn-42602327', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-09596749:ctest-vn-42602327?flat'}
2025-10-29 23:08:10,016 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-09596749:ctest-vn-42602327 is found in opserver
2025-10-29 23:08:10,025 - DEBUG - Do not have enough data to verify VN in agent
2025-10-29 23:08:10,029 - DEBUG - VRF ids for VN ctest-vn-42602327: {}
2025-10-29 23:08:10,081 - DEBUG - Services list from nova: [