2025-12-05 08:24:57,853 - INFO - Domain Default found not creating
2025-12-05 08:24:58,029 - INFO - Project ctest-TestBasicPolicy-67774718 not found, creating it
2025-12-05 08:24:58,486 - INFO - Created Project:ctest-TestBasicPolicy-67774718, ID : 543735f6-1f33-4aeb-9e18-45a1625d48cd
2025-12-05 08:24:59,983 - INFO - ================================================================================
2025-12-05 08:24:59,983 - INFO - STARTING TEST : test_basic_policy_allow_deny
2025-12-05 08:24:59,983 - 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-12-05 08:25:00,237 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.254': '0'}} with
2025-12-05 08:25:00,237 - INFO - Initial checks done. Running the testcase now
2025-12-05 08:25:00,237 - INFO -
2025-12-05 08:25:00,777 - DEBUG - Response for create_network : {'network': {'id': '741f3bb7-552f-49df-8b97-17e50d03d6e3', 'name': 'ctest-vn-09687525', 'tenant_id': '543735f61f334aeb9e1845a1625d48cd', 'project_id': '543735f61f334aeb9e1845a1625d48cd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67774718', 'ctest-vn-09687525'], 'port_security_enabled': True, 'description': ''}}
2025-12-05 08:25:00,971 - DEBUG - Response for create_subnet : {'subnet': {'id': '11552773-7b4b-404f-bf45-debeb62f5f86', 'name': '', 'tenant_id': '543735f61f334aeb9e1845a1625d48cd', 'network_id': '741f3bb7-552f-49df-8b97-17e50d03d6e3', 'ip_version': 4, 'cidr': '131.249.249.64/26', 'allocation_pools': [{'start': '131.249.249.66', 'end': '131.249.249.126'}], 'gateway_ip': '131.249.249.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '131.249.249.66', 'tags': [], 'project_id': '543735f61f334aeb9e1845a1625d48cd'}}
2025-12-05 08:25:00,991 - INFO - Created VN ctest-vn-09687525
2025-12-05 08:25:01,042 - DEBUG - VN ctest-vn-09687525 UUID is 741f3bb7-552f-49df-8b97-17e50d03d6e3
2025-12-05 08:25:01,373 - DEBUG - Response for create_network : {'network': {'id': 'b612820a-2262-4b88-ac57-0ee6b84f96cd', 'name': 'ctest-vn-68204547', 'tenant_id': '543735f61f334aeb9e1845a1625d48cd', 'project_id': '543735f61f334aeb9e1845a1625d48cd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67774718', 'ctest-vn-68204547'], 'port_security_enabled': True, 'description': ''}}
2025-12-05 08:25:01,597 - DEBUG - Response for create_subnet : {'subnet': {'id': '1dfe2c22-4a6c-41e6-9d23-59d0eeaee350', 'name': '', 'tenant_id': '543735f61f334aeb9e1845a1625d48cd', 'network_id': 'b612820a-2262-4b88-ac57-0ee6b84f96cd', 'ip_version': 4, 'cidr': '92.200.28.64/26', 'allocation_pools': [{'start': '92.200.28.66', 'end': '92.200.28.126'}], 'gateway_ip': '92.200.28.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '92.200.28.66', 'tags': [], 'project_id': '543735f61f334aeb9e1845a1625d48cd'}}
2025-12-05 08:25:01,614 - INFO - Created VN ctest-vn-68204547
2025-12-05 08:25:01,666 - DEBUG - VN ctest-vn-68204547 UUID is b612820a-2262-4b88-ac57-0ee6b84f96cd
2025-12-05 08:25:01,785 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-67774718:ctest-vn-09687525, 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-67774718:ctest-vn-68204547, 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-12-05 08:25:02,087 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '741f3bb7-552f-49df-8b97-17e50d03d6e3', 'name': 'ctest-vn-09687525', 'tenant_id': '543735f61f334aeb9e1845a1625d48cd', 'project_id': '543735f61f334aeb9e1845a1625d48cd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['11552773-7b4b-404f-bf45-debeb62f5f86'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67774718', 'ctest-vn-09687525'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-67774718', 'ctest-policy-allow-all-27608870']], 'subnet_ipam': [{'subnet_cidr': '131.249.249.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-12-05 08:25:02,371 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b612820a-2262-4b88-ac57-0ee6b84f96cd', 'name': 'ctest-vn-68204547', 'tenant_id': '543735f61f334aeb9e1845a1625d48cd', 'project_id': '543735f61f334aeb9e1845a1625d48cd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1dfe2c22-4a6c-41e6-9d23-59d0eeaee350'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67774718', 'ctest-vn-68204547'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-67774718', 'ctest-policy-allow-all-27608870']], 'subnet_ipam': [{'subnet_cidr': '92.200.28.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-12-05 08:25:02,518 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2025-12-05 08:25:02,818 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2025-12-05 08:25:02,850 - DEBUG - Requesting: http://10.0.0.249:8082/domain/b642a707-c47c-480e-9045-aa3b0427c9f3
2025-12-05 08:25:02,861 - DEBUG - Requesting: http://10.0.0.249:8082/project/543735f6-1f33-4aeb-9e18-45a1625d48cd
2025-12-05 08:25:02,931 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/741f3bb7-552f-49df-8b97-17e50d03d6e3
2025-12-05 08:25:02,941 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/741f3bb7-552f-49df-8b97-17e50d03d6e3
2025-12-05 08:25:02,950 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/30774c7a-b019-4227-b204-a869c866b920
2025-12-05 08:25:02,958 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/30774c7a-b019-4227-b204-a869c866b920
2025-12-05 08:25:02,965 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/70055a97-ce68-4347-b5ea-8afa9e5c66b7
2025-12-05 08:25:02,971 - DEBUG - Route Targets: ['target:64512:8000004']
2025-12-05 08:25:02,971 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/741f3bb7-552f-49df-8b97-17e50d03d6e3
2025-12-05 08:25:02,980 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/30774c7a-b019-4227-b204-a869c866b920
2025-12-05 08:25:02,993 - INFO - Verified VN network id 11 for VN 741f3bb7-552f-49df-8b97-17e50d03d6e3
2025-12-05 08:25:02,993 - INFO - Verifications in API Server for VN ctest-vn-09687525 passed
2025-12-05 08:25:02,993 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/741f3bb7-552f-49df-8b97-17e50d03d6e3
2025-12-05 08:25:03,002 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/30774c7a-b019-4227-b204-a869c866b920
2025-12-05 08:25:03,009 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/30774c7a-b019-4227-b204-a869c866b920
2025-12-05 08:25:03,017 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/70055a97-ce68-4347-b5ea-8afa9e5c66b7
2025-12-05 08:25:03,032 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-67774718:ctest-vn-09687525', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-67774718', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8367472291271887327', 'uuid-lslong': '10058534565288597219'}, 'enable': 'true', 'created': '2025-12-05T08:25:00', 'last-modified': '2025-12-05T08:25:02', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.960614'}
2025-12-05 08:25:03,038 - DEBUG - Route Targets: ['target:64512:8000004']
2025-12-05 08:25:03,039 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-09687525 passed
2025-12-05 08:25:03,039 - DEBUG - ====Verifying policy data for ctest-vn-09687525 in API_Server ======
2025-12-05 08:25:03,039 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2025-12-05 08:25:03,044 - DEBUG - Requesting: http://10.0.0.249:8082/domain/b642a707-c47c-480e-9045-aa3b0427c9f3
2025-12-05 08:25:03,055 - DEBUG - Requesting: http://10.0.0.249:8082/project/543735f6-1f33-4aeb-9e18-45a1625d48cd
2025-12-05 08:25:03,129 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/741f3bb7-552f-49df-8b97-17e50d03d6e3
2025-12-05 08:25:03,139 - DEBUG - ==>Verifying data for policy with id: e079aea9-13b9-44d3-94c7-3416d0a9b5ad, fqn: ['default-domain', 'ctest-TestBasicPolicy-67774718', 'ctest-policy-allow-all-27608870']
2025-12-05 08:25:03,139 - INFO - VN ctest-vn-09687525 Policy verification: verify_vn_policy_in_api_server, status: True
2025-12-05 08:25:03,139 - DEBUG - Verifying the vn in opserver
2025-12-05 08:25:03,139 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-67774718:ctest-vn-09687525 virtual network link through opserver 10.0.0.249
2025-12-05 08:25:03,139 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks
2025-12-05 08:25:03,445 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks
2025-12-05 08:25:03,515 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-67774718:ctest-vn-09687525', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-67774718:ctest-vn-09687525?flat'}
2025-12-05 08:25:03,515 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-67774718:ctest-vn-09687525 is found in opserver
2025-12-05 08:25:03,526 - DEBUG - Do not have enough data to verify VN in agent
2025-12-05 08:25:03,530 - DEBUG - VRF ids for VN ctest-vn-09687525: {}
2025-12-05 08:25:03,530 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2025-12-05 08:25:03,536 - DEBUG - Requesting: http://10.0.0.249:8082/domain/b642a707-c47c-480e-9045-aa3b0427c9f3
2025-12-05 08:25:03,546 - DEBUG - Requesting: http://10.0.0.249:8082/project/543735f6-1f33-4aeb-9e18-45a1625d48cd
2025-12-05 08:25:03,619 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/b612820a-2262-4b88-ac57-0ee6b84f96cd
2025-12-05 08:25:03,633 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/b612820a-2262-4b88-ac57-0ee6b84f96cd
2025-12-05 08:25:03,641 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/2f2aa681-7b08-41bc-a10b-f91e8bbcb2bf
2025-12-05 08:25:03,649 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/2f2aa681-7b08-41bc-a10b-f91e8bbcb2bf
2025-12-05 08:25:03,657 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/a051edba-5c43-45d1-a7b9-568cd153f149
2025-12-05 08:25:03,663 - DEBUG - Route Targets: ['target:64512:8000005']
2025-12-05 08:25:03,664 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/b612820a-2262-4b88-ac57-0ee6b84f96cd
2025-12-05 08:25:03,675 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/2f2aa681-7b08-41bc-a10b-f91e8bbcb2bf
2025-12-05 08:25:03,690 - INFO - Verified VN network id 12 for VN b612820a-2262-4b88-ac57-0ee6b84f96cd
2025-12-05 08:25:03,690 - INFO - Verifications in API Server for VN ctest-vn-68204547 passed
2025-12-05 08:25:03,690 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/b612820a-2262-4b88-ac57-0ee6b84f96cd
2025-12-05 08:25:03,699 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/2f2aa681-7b08-41bc-a10b-f91e8bbcb2bf
2025-12-05 08:25:03,707 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/2f2aa681-7b08-41bc-a10b-f91e8bbcb2bf
2025-12-05 08:25:03,714 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/a051edba-5c43-45d1-a7b9-568cd153f149
2025-12-05 08:25:03,727 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-67774718:ctest-vn-68204547', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-67774718', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13119691644521827208', 'uuid-lslong': '12418410881594922701'}, 'enable': 'true', 'created': '2025-12-05T08:25:01', 'last-modified': '2025-12-05T08:25:02', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.421891'}
2025-12-05 08:25:03,734 - DEBUG - Route Targets: ['target:64512:8000005']
2025-12-05 08:25:03,734 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-68204547 passed
2025-12-05 08:25:03,734 - DEBUG - ====Verifying policy data for ctest-vn-68204547 in API_Server ======
2025-12-05 08:25:03,734 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2025-12-05 08:25:03,741 - DEBUG - Requesting: http://10.0.0.249:8082/domain/b642a707-c47c-480e-9045-aa3b0427c9f3
2025-12-05 08:25:03,753 - DEBUG - Requesting: http://10.0.0.249:8082/project/543735f6-1f33-4aeb-9e18-45a1625d48cd
2025-12-05 08:25:03,824 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/b612820a-2262-4b88-ac57-0ee6b84f96cd
2025-12-05 08:25:03,833 - DEBUG - ==>Verifying data for policy with id: e079aea9-13b9-44d3-94c7-3416d0a9b5ad, fqn: ['default-domain', 'ctest-TestBasicPolicy-67774718', 'ctest-policy-allow-all-27608870']
2025-12-05 08:25:03,833 - INFO - VN ctest-vn-68204547 Policy verification: verify_vn_policy_in_api_server, status: True
2025-12-05 08:25:03,833 - DEBUG - Verifying the vn in opserver
2025-12-05 08:25:03,834 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-67774718:ctest-vn-68204547 virtual network link through opserver 10.0.0.249
2025-12-05 08:25:03,834 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks
2025-12-05 08:25:03,844 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-67774718:ctest-vn-68204547', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-67774718:ctest-vn-68204547?flat'}
2025-12-05 08:25:03,844 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-67774718:ctest-vn-68204547 is found in opserver
2025-12-05 08:25:03,857 - DEBUG - Do not have enough data to verify VN in agent
2025-12-05 08:25:03,862 - DEBUG - VRF ids for VN ctest-vn-68204547: {}
2025-12-05 08:25:03,926 - DEBUG - Services list from nova: [