2025-10-26 22:38:41,409 - INFO - Domain Default found not creating
2025-10-26 22:38:41,564 - INFO - Project ctest-TestBasicPolicy-21444954 not found, creating it
2025-10-26 22:38:42,007 - INFO - Created Project:ctest-TestBasicPolicy-21444954, ID : 776e3cff-535a-4e0a-99e3-5cf72113e85e 
2025-10-26 22:38:43,407 - INFO - ================================================================================
2025-10-26 22:38:43,407 - INFO - STARTING TEST    : test_basic_policy_allow_deny
2025-10-26 22:38:43,407 - 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-26 22:38:43,662 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.17': '0'}} with
2025-10-26 22:38:43,662 - INFO - Initial checks done. Running the testcase now
2025-10-26 22:38:43,662 - INFO - 
2025-10-26 22:38:44,232 - DEBUG - Response for create_network : {'network': {'id': '746e004e-a91f-4fed-8733-33a228c3c60f', 'name': 'ctest-vn-89122204', 'tenant_id': '776e3cff535a4e0a99e35cf72113e85e', 'project_id': '776e3cff535a4e0a99e35cf72113e85e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21444954', 'ctest-vn-89122204'], 'port_security_enabled': True, 'description': ''}}
2025-10-26 22:38:44,449 - DEBUG - Response for create_subnet : {'subnet': {'id': '57789c1e-5385-4aea-868e-667d4437ef38', 'name': '', 'tenant_id': '776e3cff535a4e0a99e35cf72113e85e', 'network_id': '746e004e-a91f-4fed-8733-33a228c3c60f', 'ip_version': 4, 'cidr': '92.97.241.128/26', 'allocation_pools': [{'start': '92.97.241.130', 'end': '92.97.241.190'}], 'gateway_ip': '92.97.241.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '92.97.241.130', 'tags': [], 'project_id': '776e3cff535a4e0a99e35cf72113e85e'}}
2025-10-26 22:38:44,465 - INFO - Created VN ctest-vn-89122204
2025-10-26 22:38:44,516 - DEBUG - VN ctest-vn-89122204 UUID is 746e004e-a91f-4fed-8733-33a228c3c60f
2025-10-26 22:38:44,815 - DEBUG - Response for create_network : {'network': {'id': '6f5ee44d-4c73-4350-affa-3a58d6c5664b', 'name': 'ctest-vn-32682137', 'tenant_id': '776e3cff535a4e0a99e35cf72113e85e', 'project_id': '776e3cff535a4e0a99e35cf72113e85e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21444954', 'ctest-vn-32682137'], 'port_security_enabled': True, 'description': ''}}
2025-10-26 22:38:44,972 - DEBUG - Response for create_subnet : {'subnet': {'id': '93cf006b-c766-4cf4-80f6-09f1e4ee7b8e', 'name': '', 'tenant_id': '776e3cff535a4e0a99e35cf72113e85e', 'network_id': '6f5ee44d-4c73-4350-affa-3a58d6c5664b', 'ip_version': 4, 'cidr': '183.214.108.128/26', 'allocation_pools': [{'start': '183.214.108.130', 'end': '183.214.108.190'}], 'gateway_ip': '183.214.108.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '183.214.108.130', 'tags': [], 'project_id': '776e3cff535a4e0a99e35cf72113e85e'}}
2025-10-26 22:38:44,989 - INFO - Created VN ctest-vn-32682137
2025-10-26 22:38:45,044 - DEBUG - VN ctest-vn-32682137 UUID is 6f5ee44d-4c73-4350-affa-3a58d6c5664b
2025-10-26 22:38:45,156 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-21444954:ctest-vn-89122204, 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-21444954:ctest-vn-32682137, 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-26 22:38:45,437 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '746e004e-a91f-4fed-8733-33a228c3c60f', 'name': 'ctest-vn-89122204', 'tenant_id': '776e3cff535a4e0a99e35cf72113e85e', 'project_id': '776e3cff535a4e0a99e35cf72113e85e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['57789c1e-5385-4aea-868e-667d4437ef38'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21444954', 'ctest-vn-89122204'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-21444954', 'ctest-policy-allow-all-10389328']], 'subnet_ipam': [{'subnet_cidr': '92.97.241.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-10-26 22:38:45,661 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6f5ee44d-4c73-4350-affa-3a58d6c5664b', 'name': 'ctest-vn-32682137', 'tenant_id': '776e3cff535a4e0a99e35cf72113e85e', 'project_id': '776e3cff535a4e0a99e35cf72113e85e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['93cf006b-c766-4cf4-80f6-09f1e4ee7b8e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21444954', 'ctest-vn-32682137'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-21444954', 'ctest-policy-allow-all-10389328']], 'subnet_ipam': [{'subnet_cidr': '183.214.108.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-10-26 22:38:45,824 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2025-10-26 22:38:46,117 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2025-10-26 22:38:46,144 - DEBUG - Requesting: http://10.0.0.249:8082/domain/2d2bfb5d-c5e2-4403-93cc-972873279e5f
2025-10-26 22:38:46,156 - DEBUG - Requesting: http://10.0.0.249:8082/project/776e3cff-535a-4e0a-99e3-5cf72113e85e
2025-10-26 22:38:46,234 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/746e004e-a91f-4fed-8733-33a228c3c60f
2025-10-26 22:38:46,245 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/746e004e-a91f-4fed-8733-33a228c3c60f
2025-10-26 22:38:46,253 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/ebcc0b43-ae06-4682-9a8a-ceb49eddd12c
2025-10-26 22:38:46,259 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/ebcc0b43-ae06-4682-9a8a-ceb49eddd12c
2025-10-26 22:38:46,265 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/1fa2cf46-e633-4355-a1df-32ab06d30733
2025-10-26 22:38:46,271 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-26 22:38:46,271 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/746e004e-a91f-4fed-8733-33a228c3c60f
2025-10-26 22:38:46,279 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/ebcc0b43-ae06-4682-9a8a-ceb49eddd12c
2025-10-26 22:38:46,292 - INFO - Verified VN network id 11 for VN 746e004e-a91f-4fed-8733-33a228c3c60f
2025-10-26 22:38:46,292 - INFO - Verifications in API Server for VN ctest-vn-89122204 passed
2025-10-26 22:38:46,292 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/746e004e-a91f-4fed-8733-33a228c3c60f
2025-10-26 22:38:46,302 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/ebcc0b43-ae06-4682-9a8a-ceb49eddd12c
2025-10-26 22:38:46,308 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/ebcc0b43-ae06-4682-9a8a-ceb49eddd12c
2025-10-26 22:38:46,315 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/1fa2cf46-e633-4355-a1df-32ab06d30733
2025-10-26 22:38:46,326 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-21444954:ctest-vn-89122204', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-21444954', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8389643493682663405', 'uuid-lslong': '9742187190494152207'}, 'enable': 'true', 'created': '2025-10-26T22:38:44', 'last-modified': '2025-10-26T22:38:45', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.908176'}
2025-10-26 22:38:46,332 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-26 22:38:46,332 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-89122204 passed
2025-10-26 22:38:46,333 - DEBUG - ====Verifying policy data for ctest-vn-89122204 in API_Server ======
2025-10-26 22:38:46,333 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2025-10-26 22:38:46,338 - DEBUG - Requesting: http://10.0.0.249:8082/domain/2d2bfb5d-c5e2-4403-93cc-972873279e5f
2025-10-26 22:38:46,349 - DEBUG - Requesting: http://10.0.0.249:8082/project/776e3cff-535a-4e0a-99e3-5cf72113e85e
2025-10-26 22:38:46,418 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/746e004e-a91f-4fed-8733-33a228c3c60f
2025-10-26 22:38:46,426 - DEBUG - ==>Verifying data for policy with id: 1274b080-f1fe-4b9b-b07a-bf344428dd52, fqn: ['default-domain', 'ctest-TestBasicPolicy-21444954', 'ctest-policy-allow-all-10389328']
2025-10-26 22:38:46,426 - INFO - VN ctest-vn-89122204 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-26 22:38:46,426 - DEBUG - Verifying the vn in opserver
2025-10-26 22:38:46,426 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-21444954:ctest-vn-89122204 virtual network link  through opserver 10.0.0.249
2025-10-26 22:38:46,426 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks
2025-10-26 22:38:46,719 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks
2025-10-26 22:38:46,774 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-21444954:ctest-vn-89122204', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-21444954:ctest-vn-89122204?flat'}
2025-10-26 22:38:46,774 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-21444954:ctest-vn-89122204 is found in opserver
2025-10-26 22:38:46,784 - DEBUG - Do not have enough data to verify VN in agent
2025-10-26 22:38:46,790 - DEBUG - VRF ids for VN ctest-vn-89122204: {}
2025-10-26 22:38:46,790 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2025-10-26 22:38:46,796 - DEBUG - Requesting: http://10.0.0.249:8082/domain/2d2bfb5d-c5e2-4403-93cc-972873279e5f
2025-10-26 22:38:46,809 - DEBUG - Requesting: http://10.0.0.249:8082/project/776e3cff-535a-4e0a-99e3-5cf72113e85e
2025-10-26 22:38:46,879 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/6f5ee44d-4c73-4350-affa-3a58d6c5664b
2025-10-26 22:38:46,890 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/6f5ee44d-4c73-4350-affa-3a58d6c5664b
2025-10-26 22:38:46,898 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/8b54de77-810b-42c1-91c9-9f29e9583fba
2025-10-26 22:38:46,905 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/8b54de77-810b-42c1-91c9-9f29e9583fba
2025-10-26 22:38:46,911 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/05d70a5b-c98b-447d-8c62-532c5f74269f
2025-10-26 22:38:46,916 - DEBUG - Route Targets: ['target:64512:8000005']
2025-10-26 22:38:46,916 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/6f5ee44d-4c73-4350-affa-3a58d6c5664b
2025-10-26 22:38:46,924 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/8b54de77-810b-42c1-91c9-9f29e9583fba
2025-10-26 22:38:46,936 - INFO - Verified VN network id 12 for VN 6f5ee44d-4c73-4350-affa-3a58d6c5664b
2025-10-26 22:38:46,936 - INFO - Verifications in API Server for VN ctest-vn-32682137 passed
2025-10-26 22:38:46,936 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/6f5ee44d-4c73-4350-affa-3a58d6c5664b
2025-10-26 22:38:46,945 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/8b54de77-810b-42c1-91c9-9f29e9583fba
2025-10-26 22:38:46,950 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/8b54de77-810b-42c1-91c9-9f29e9583fba
2025-10-26 22:38:46,956 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/05d70a5b-c98b-447d-8c62-532c5f74269f
2025-10-26 22:38:46,968 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-21444954:ctest-vn-32682137', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-21444954', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8025102606667039568', 'uuid-lslong': '12680511854049846859'}, 'enable': 'true', 'created': '2025-10-26T22:38:44', 'last-modified': '2025-10-26T22:38:45', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.326929'}
2025-10-26 22:38:46,973 - DEBUG - Route Targets: ['target:64512:8000005']
2025-10-26 22:38:46,973 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-32682137 passed
2025-10-26 22:38:46,973 - DEBUG - ====Verifying policy data for ctest-vn-32682137 in API_Server ======
2025-10-26 22:38:46,973 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2025-10-26 22:38:46,980 - DEBUG - Requesting: http://10.0.0.249:8082/domain/2d2bfb5d-c5e2-4403-93cc-972873279e5f
2025-10-26 22:38:46,991 - DEBUG - Requesting: http://10.0.0.249:8082/project/776e3cff-535a-4e0a-99e3-5cf72113e85e
2025-10-26 22:38:47,063 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/6f5ee44d-4c73-4350-affa-3a58d6c5664b
2025-10-26 22:38:47,072 - DEBUG - ==>Verifying data for policy with id: 1274b080-f1fe-4b9b-b07a-bf344428dd52, fqn: ['default-domain', 'ctest-TestBasicPolicy-21444954', 'ctest-policy-allow-all-10389328']
2025-10-26 22:38:47,073 - INFO - VN ctest-vn-32682137 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-26 22:38:47,073 - DEBUG - Verifying the vn in opserver
2025-10-26 22:38:47,073 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-21444954:ctest-vn-32682137 virtual network link  through opserver 10.0.0.249
2025-10-26 22:38:47,073 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks
2025-10-26 22:38:47,082 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-21444954:ctest-vn-32682137', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-21444954:ctest-vn-32682137?flat'}
2025-10-26 22:38:47,082 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-21444954:ctest-vn-32682137 is found in opserver
2025-10-26 22:38:47,091 - DEBUG - Do not have enough data to verify VN in agent
2025-10-26 22:38:47,095 - DEBUG - VRF ids for VN ctest-vn-32682137: {}
2025-10-26 22:38:47,152 - DEBUG - Services list from nova: [