2025-10-29 17:36:38,694 - INFO - Domain Default found not creating
2025-10-29 17:36:38,857 - INFO - Project ctest-TestBasicPolicy-51528239 not found, creating it
2025-10-29 17:36:39,310 - INFO - Created Project:ctest-TestBasicPolicy-51528239, ID : aee687f4-c7e2-4f5d-b3dc-57e30a1fa3db 
2025-10-29 17:36:40,750 - INFO - ================================================================================
2025-10-29 17:36:40,750 - INFO - STARTING TEST    : test_basic_policy_allow_deny
2025-10-29 17:36:40,750 - 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 17:36:41,004 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.18': '0'}} with
2025-10-29 17:36:41,004 - INFO - Initial checks done. Running the testcase now
2025-10-29 17:36:41,004 - INFO - 
2025-10-29 17:36:41,575 - DEBUG - Response for create_network : {'network': {'id': 'dae4e2ad-0ab3-4705-8f46-505f0095d0bb', 'name': 'ctest-vn-82547607', 'tenant_id': 'aee687f4c7e24f5db3dc57e30a1fa3db', 'project_id': 'aee687f4c7e24f5db3dc57e30a1fa3db', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-51528239', 'ctest-vn-82547607'], 'port_security_enabled': True, 'description': ''}}
2025-10-29 17:36:41,757 - DEBUG - Response for create_subnet : {'subnet': {'id': '897da663-013c-4b28-af0e-8198e0ad3948', 'name': '', 'tenant_id': 'aee687f4c7e24f5db3dc57e30a1fa3db', 'network_id': 'dae4e2ad-0ab3-4705-8f46-505f0095d0bb', 'ip_version': 4, 'cidr': '111.165.178.128/26', 'allocation_pools': [{'start': '111.165.178.130', 'end': '111.165.178.190'}], 'gateway_ip': '111.165.178.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '111.165.178.130', 'tags': [], 'project_id': 'aee687f4c7e24f5db3dc57e30a1fa3db'}}
2025-10-29 17:36:41,776 - INFO - Created VN ctest-vn-82547607
2025-10-29 17:36:41,826 - DEBUG - VN ctest-vn-82547607 UUID is dae4e2ad-0ab3-4705-8f46-505f0095d0bb
2025-10-29 17:36:42,109 - DEBUG - Response for create_network : {'network': {'id': '6aa27f13-fc3d-49c6-9643-8eaaf49e2d48', 'name': 'ctest-vn-21355214', 'tenant_id': 'aee687f4c7e24f5db3dc57e30a1fa3db', 'project_id': 'aee687f4c7e24f5db3dc57e30a1fa3db', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-51528239', 'ctest-vn-21355214'], 'port_security_enabled': True, 'description': ''}}
2025-10-29 17:36:42,327 - DEBUG - Response for create_subnet : {'subnet': {'id': '1745690a-a9e4-4efd-9e70-a8aa952348b7', 'name': '', 'tenant_id': 'aee687f4c7e24f5db3dc57e30a1fa3db', 'network_id': '6aa27f13-fc3d-49c6-9643-8eaaf49e2d48', 'ip_version': 4, 'cidr': '26.214.225.192/26', 'allocation_pools': [{'start': '26.214.225.194', 'end': '26.214.225.254'}], 'gateway_ip': '26.214.225.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '26.214.225.194', 'tags': [], 'project_id': 'aee687f4c7e24f5db3dc57e30a1fa3db'}}
2025-10-29 17:36:42,346 - INFO - Created VN ctest-vn-21355214
2025-10-29 17:36:42,398 - DEBUG - VN ctest-vn-21355214 UUID is 6aa27f13-fc3d-49c6-9643-8eaaf49e2d48
2025-10-29 17:36:42,516 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-51528239:ctest-vn-82547607, 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-51528239:ctest-vn-21355214, 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 17:36:42,822 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'dae4e2ad-0ab3-4705-8f46-505f0095d0bb', 'name': 'ctest-vn-82547607', 'tenant_id': 'aee687f4c7e24f5db3dc57e30a1fa3db', 'project_id': 'aee687f4c7e24f5db3dc57e30a1fa3db', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['897da663-013c-4b28-af0e-8198e0ad3948'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-51528239', 'ctest-vn-82547607'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-51528239', 'ctest-policy-allow-all-06760648']], 'subnet_ipam': [{'subnet_cidr': '111.165.178.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-10-29 17:36:43,105 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6aa27f13-fc3d-49c6-9643-8eaaf49e2d48', 'name': 'ctest-vn-21355214', 'tenant_id': 'aee687f4c7e24f5db3dc57e30a1fa3db', 'project_id': 'aee687f4c7e24f5db3dc57e30a1fa3db', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1745690a-a9e4-4efd-9e70-a8aa952348b7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-51528239', 'ctest-vn-21355214'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-51528239', 'ctest-policy-allow-all-06760648']], 'subnet_ipam': [{'subnet_cidr': '26.214.225.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-10-29 17:36:43,250 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2025-10-29 17:36:43,553 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2025-10-29 17:36:43,586 - DEBUG - Requesting: http://10.0.0.242:8082/domain/2fa9b7e6-e606-4f3d-b674-0ade35196e22
2025-10-29 17:36:43,600 - DEBUG - Requesting: http://10.0.0.242:8082/project/aee687f4-c7e2-4f5d-b3dc-57e30a1fa3db
2025-10-29 17:36:43,680 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/dae4e2ad-0ab3-4705-8f46-505f0095d0bb
2025-10-29 17:36:43,691 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/dae4e2ad-0ab3-4705-8f46-505f0095d0bb
2025-10-29 17:36:43,701 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/56f6ed80-fdaa-441f-8caa-31e0f0afcecb
2025-10-29 17:36:43,709 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/56f6ed80-fdaa-441f-8caa-31e0f0afcecb
2025-10-29 17:36:43,717 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/1ce48734-5772-464e-99a4-70af68476b03
2025-10-29 17:36:43,724 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-29 17:36:43,724 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/dae4e2ad-0ab3-4705-8f46-505f0095d0bb
2025-10-29 17:36:43,734 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/56f6ed80-fdaa-441f-8caa-31e0f0afcecb
2025-10-29 17:36:43,750 - INFO - Verified VN network id 11 for VN dae4e2ad-0ab3-4705-8f46-505f0095d0bb
2025-10-29 17:36:43,750 - INFO - Verifications in API Server for VN ctest-vn-82547607 passed
2025-10-29 17:36:43,750 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/dae4e2ad-0ab3-4705-8f46-505f0095d0bb
2025-10-29 17:36:43,760 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/56f6ed80-fdaa-441f-8caa-31e0f0afcecb
2025-10-29 17:36:43,768 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/56f6ed80-fdaa-441f-8caa-31e0f0afcecb
2025-10-29 17:36:43,775 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/1ce48734-5772-464e-99a4-70af68476b03
2025-10-29 17:36:43,787 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-51528239:ctest-vn-82547607', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-51528239', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15772981027795060485', 'uuid-lslong': '10324027564755374267'}, 'enable': 'true', 'created': '2025-10-29T17:36:41', 'last-modified': '2025-10-29T17:36:42', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.991847'}
2025-10-29 17:36:43,793 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-29 17:36:43,793 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-82547607 passed
2025-10-29 17:36:43,793 - DEBUG - ====Verifying policy data for ctest-vn-82547607 in API_Server ======
2025-10-29 17:36:43,793 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2025-10-29 17:36:43,799 - DEBUG - Requesting: http://10.0.0.242:8082/domain/2fa9b7e6-e606-4f3d-b674-0ade35196e22
2025-10-29 17:36:43,810 - DEBUG - Requesting: http://10.0.0.242:8082/project/aee687f4-c7e2-4f5d-b3dc-57e30a1fa3db
2025-10-29 17:36:43,885 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/dae4e2ad-0ab3-4705-8f46-505f0095d0bb
2025-10-29 17:36:43,896 - DEBUG - ==>Verifying data for policy with id: 727a2d7a-2acb-4c72-b098-c07251028cbf, fqn: ['default-domain', 'ctest-TestBasicPolicy-51528239', 'ctest-policy-allow-all-06760648']
2025-10-29 17:36:43,896 - INFO - VN ctest-vn-82547607 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-29 17:36:43,896 - DEBUG - Verifying the vn in opserver
2025-10-29 17:36:43,896 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-51528239:ctest-vn-82547607 virtual network link  through opserver 10.0.0.242
2025-10-29 17:36:43,896 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks
2025-10-29 17:36:44,203 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks
2025-10-29 17:36:44,263 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-51528239:ctest-vn-82547607', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-51528239:ctest-vn-82547607?flat'}
2025-10-29 17:36:44,263 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-51528239:ctest-vn-82547607 is found in opserver
2025-10-29 17:36:44,273 - DEBUG - Do not have enough data to verify VN in agent
2025-10-29 17:36:44,278 - DEBUG - VRF ids for VN ctest-vn-82547607: {}
2025-10-29 17:36:44,278 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2025-10-29 17:36:44,284 - DEBUG - Requesting: http://10.0.0.242:8082/domain/2fa9b7e6-e606-4f3d-b674-0ade35196e22
2025-10-29 17:36:44,296 - DEBUG - Requesting: http://10.0.0.242:8082/project/aee687f4-c7e2-4f5d-b3dc-57e30a1fa3db
2025-10-29 17:36:44,375 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/6aa27f13-fc3d-49c6-9643-8eaaf49e2d48
2025-10-29 17:36:44,388 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/6aa27f13-fc3d-49c6-9643-8eaaf49e2d48
2025-10-29 17:36:44,397 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/43c699a5-fe89-4ef3-b59d-40cefc268376
2025-10-29 17:36:44,405 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/43c699a5-fe89-4ef3-b59d-40cefc268376
2025-10-29 17:36:44,413 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/70c273b2-302f-45c7-8afe-ec25f5e5c172
2025-10-29 17:36:44,419 - DEBUG - Route Targets: ['target:64512:8000005']
2025-10-29 17:36:44,419 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/6aa27f13-fc3d-49c6-9643-8eaaf49e2d48
2025-10-29 17:36:44,428 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/43c699a5-fe89-4ef3-b59d-40cefc268376
2025-10-29 17:36:44,442 - INFO - Verified VN network id 12 for VN 6aa27f13-fc3d-49c6-9643-8eaaf49e2d48
2025-10-29 17:36:44,442 - INFO - Verifications in API Server for VN ctest-vn-21355214 passed
2025-10-29 17:36:44,443 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/6aa27f13-fc3d-49c6-9643-8eaaf49e2d48
2025-10-29 17:36:44,454 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/43c699a5-fe89-4ef3-b59d-40cefc268376
2025-10-29 17:36:44,462 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/43c699a5-fe89-4ef3-b59d-40cefc268376
2025-10-29 17:36:44,469 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/70c273b2-302f-45c7-8afe-ec25f5e5c172
2025-10-29 17:36:44,491 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-51528239:ctest-vn-21355214', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-51528239', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7683843638060468678', 'uuid-lslong': '10827654794028395848'}, 'enable': 'true', 'created': '2025-10-29T17:36:42', 'last-modified': '2025-10-29T17:36:43', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.447911'}
2025-10-29 17:36:44,497 - DEBUG - Route Targets: ['target:64512:8000005']
2025-10-29 17:36:44,497 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-21355214 passed
2025-10-29 17:36:44,498 - DEBUG - ====Verifying policy data for ctest-vn-21355214 in API_Server ======
2025-10-29 17:36:44,498 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2025-10-29 17:36:44,504 - DEBUG - Requesting: http://10.0.0.242:8082/domain/2fa9b7e6-e606-4f3d-b674-0ade35196e22
2025-10-29 17:36:44,517 - DEBUG - Requesting: http://10.0.0.242:8082/project/aee687f4-c7e2-4f5d-b3dc-57e30a1fa3db
2025-10-29 17:36:44,595 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/6aa27f13-fc3d-49c6-9643-8eaaf49e2d48
2025-10-29 17:36:44,604 - DEBUG - ==>Verifying data for policy with id: 727a2d7a-2acb-4c72-b098-c07251028cbf, fqn: ['default-domain', 'ctest-TestBasicPolicy-51528239', 'ctest-policy-allow-all-06760648']
2025-10-29 17:36:44,604 - INFO - VN ctest-vn-21355214 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-29 17:36:44,604 - DEBUG - Verifying the vn in opserver
2025-10-29 17:36:44,604 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-51528239:ctest-vn-21355214 virtual network link  through opserver 10.0.0.242
2025-10-29 17:36:44,604 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks
2025-10-29 17:36:44,614 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-51528239:ctest-vn-21355214', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-51528239:ctest-vn-21355214?flat'}
2025-10-29 17:36:44,614 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-51528239:ctest-vn-21355214 is found in opserver
2025-10-29 17:36:44,624 - DEBUG - Do not have enough data to verify VN in agent
2025-10-29 17:36:44,629 - DEBUG - VRF ids for VN ctest-vn-21355214: {}
2025-10-29 17:36:44,687 - DEBUG - Services list from nova: [