2025-12-29 18:00:02,828 - INFO - Domain Default found not creating
2025-12-29 18:00:03,064 - INFO - Project ctest-TestBasicPolicy-44131828 not found, creating it
2025-12-29 18:00:03,571 - INFO - Created Project:ctest-TestBasicPolicy-44131828, ID : aadd13a6-e4b6-4a1a-b07e-1d46d2622833
2025-12-29 18:00:05,817 - INFO - ================================================================================
2025-12-29 18:00:05,817 - INFO - STARTING TEST : test_basic_policy_allow_deny
2025-12-29 18:00:05,817 - 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-29 18:00:06,121 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.14': '0'}} with
2025-12-29 18:00:06,121 - INFO - Initial checks done. Running the testcase now
2025-12-29 18:00:06,121 - INFO -
2025-12-29 18:00:06,812 - DEBUG - Response for create_network : {'network': {'id': '67456e5d-fad1-4632-bdb1-998047199594', 'name': 'ctest-vn-91088181', 'tenant_id': 'aadd13a6e4b64a1ab07e1d46d2622833', 'project_id': 'aadd13a6e4b64a1ab07e1d46d2622833', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-44131828', 'ctest-vn-91088181'], 'port_security_enabled': True, 'description': ''}}
2025-12-29 18:00:07,030 - DEBUG - Response for create_subnet : {'subnet': {'id': '9cb37f77-6222-40ed-bb64-c78d95522dc4', 'name': '', 'tenant_id': 'aadd13a6e4b64a1ab07e1d46d2622833', 'network_id': '67456e5d-fad1-4632-bdb1-998047199594', 'ip_version': 4, 'cidr': '44.91.191.64/26', 'allocation_pools': [{'start': '44.91.191.66', 'end': '44.91.191.126'}], 'gateway_ip': '44.91.191.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '44.91.191.66', 'tags': [], 'project_id': 'aadd13a6e4b64a1ab07e1d46d2622833'}}
2025-12-29 18:00:07,059 - INFO - Created VN ctest-vn-91088181
2025-12-29 18:00:07,122 - DEBUG - VN ctest-vn-91088181 UUID is 67456e5d-fad1-4632-bdb1-998047199594
2025-12-29 18:00:07,524 - DEBUG - Response for create_network : {'network': {'id': '65b873bc-91d9-4e9b-8576-e6e672f65b9e', 'name': 'ctest-vn-57620132', 'tenant_id': 'aadd13a6e4b64a1ab07e1d46d2622833', 'project_id': 'aadd13a6e4b64a1ab07e1d46d2622833', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-44131828', 'ctest-vn-57620132'], 'port_security_enabled': True, 'description': ''}}
2025-12-29 18:00:07,702 - DEBUG - Response for create_subnet : {'subnet': {'id': '97f407d7-881d-4b84-b346-65d68a7f6300', 'name': '', 'tenant_id': 'aadd13a6e4b64a1ab07e1d46d2622833', 'network_id': '65b873bc-91d9-4e9b-8576-e6e672f65b9e', 'ip_version': 4, 'cidr': '115.245.144.128/26', 'allocation_pools': [{'start': '115.245.144.130', 'end': '115.245.144.190'}], 'gateway_ip': '115.245.144.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '115.245.144.130', 'tags': [], 'project_id': 'aadd13a6e4b64a1ab07e1d46d2622833'}}
2025-12-29 18:00:07,724 - INFO - Created VN ctest-vn-57620132
2025-12-29 18:00:07,778 - DEBUG - VN ctest-vn-57620132 UUID is 65b873bc-91d9-4e9b-8576-e6e672f65b9e
2025-12-29 18:00:07,932 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-44131828:ctest-vn-91088181, 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-44131828:ctest-vn-57620132, 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-29 18:00:08,306 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '67456e5d-fad1-4632-bdb1-998047199594', 'name': 'ctest-vn-91088181', 'tenant_id': 'aadd13a6e4b64a1ab07e1d46d2622833', 'project_id': 'aadd13a6e4b64a1ab07e1d46d2622833', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9cb37f77-6222-40ed-bb64-c78d95522dc4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-44131828', 'ctest-vn-91088181'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-44131828', 'ctest-policy-allow-all-98634529']], 'subnet_ipam': [{'subnet_cidr': '44.91.191.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-12-29 18:00:08,640 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '65b873bc-91d9-4e9b-8576-e6e672f65b9e', 'name': 'ctest-vn-57620132', 'tenant_id': 'aadd13a6e4b64a1ab07e1d46d2622833', 'project_id': 'aadd13a6e4b64a1ab07e1d46d2622833', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['97f407d7-881d-4b84-b346-65d68a7f6300'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-44131828', 'ctest-vn-57620132'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-44131828', 'ctest-policy-allow-all-98634529']], 'subnet_ipam': [{'subnet_cidr': '115.245.144.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-12-29 18:00:08,835 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2025-12-29 18:00:09,146 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2025-12-29 18:00:09,187 - DEBUG - Requesting: http://10.0.0.249:8082/domain/5fc4913f-adee-47da-8761-b87344d72d1f
2025-12-29 18:00:09,222 - DEBUG - Requesting: http://10.0.0.249:8082/project/aadd13a6-e4b6-4a1a-b07e-1d46d2622833
2025-12-29 18:00:09,323 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/67456e5d-fad1-4632-bdb1-998047199594
2025-12-29 18:00:09,347 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/67456e5d-fad1-4632-bdb1-998047199594
2025-12-29 18:00:09,364 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/ce7c9746-aff0-4af5-abc8-56661966c3c9
2025-12-29 18:00:09,375 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/ce7c9746-aff0-4af5-abc8-56661966c3c9
2025-12-29 18:00:09,385 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/963c3baf-8a59-4f35-a0da-028d8e51a21e
2025-12-29 18:00:09,393 - DEBUG - Route Targets: ['target:64512:8000004']
2025-12-29 18:00:09,393 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/67456e5d-fad1-4632-bdb1-998047199594
2025-12-29 18:00:09,403 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/ce7c9746-aff0-4af5-abc8-56661966c3c9
2025-12-29 18:00:09,422 - INFO - Verified VN network id 12 for VN 67456e5d-fad1-4632-bdb1-998047199594
2025-12-29 18:00:09,423 - INFO - Verifications in API Server for VN ctest-vn-91088181 passed
2025-12-29 18:00:09,423 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/67456e5d-fad1-4632-bdb1-998047199594
2025-12-29 18:00:09,437 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/ce7c9746-aff0-4af5-abc8-56661966c3c9
2025-12-29 18:00:09,446 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/ce7c9746-aff0-4af5-abc8-56661966c3c9
2025-12-29 18:00:09,455 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/963c3baf-8a59-4f35-a0da-028d8e51a21e
2025-12-29 18:00:09,472 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-44131828:ctest-vn-91088181', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-44131828', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7441475309218645554', 'uuid-lslong': '13668875120273888660'}, 'enable': 'true', 'created': '2025-12-29T18:00:06', 'last-modified': '2025-12-29T18:00:08', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.192468'}
2025-12-29 18:00:09,485 - DEBUG - Route Targets: ['target:64512:8000004']
2025-12-29 18:00:09,485 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-91088181 passed
2025-12-29 18:00:09,485 - DEBUG - ====Verifying policy data for ctest-vn-91088181 in API_Server ======
2025-12-29 18:00:09,485 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2025-12-29 18:00:09,493 - DEBUG - Requesting: http://10.0.0.249:8082/domain/5fc4913f-adee-47da-8761-b87344d72d1f
2025-12-29 18:00:09,509 - DEBUG - Requesting: http://10.0.0.249:8082/project/aadd13a6-e4b6-4a1a-b07e-1d46d2622833
2025-12-29 18:00:09,599 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/67456e5d-fad1-4632-bdb1-998047199594
2025-12-29 18:00:09,616 - DEBUG - ==>Verifying data for policy with id: d7c0ec35-17d2-40ea-9509-09907cc2e0d4, fqn: ['default-domain', 'ctest-TestBasicPolicy-44131828', 'ctest-policy-allow-all-98634529']
2025-12-29 18:00:09,616 - INFO - VN ctest-vn-91088181 Policy verification: verify_vn_policy_in_api_server, status: True
2025-12-29 18:00:09,616 - DEBUG - Verifying the vn in opserver
2025-12-29 18:00:09,617 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-44131828:ctest-vn-91088181 virtual network link through opserver 10.0.0.249
2025-12-29 18:00:09,617 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks
2025-12-29 18:00:09,933 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks
2025-12-29 18:00:10,024 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-44131828:ctest-vn-91088181', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-44131828:ctest-vn-91088181?flat'}
2025-12-29 18:00:10,025 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-44131828:ctest-vn-91088181 is found in opserver
2025-12-29 18:00:10,053 - DEBUG - Do not have enough data to verify VN in agent
2025-12-29 18:00:10,060 - DEBUG - VRF ids for VN ctest-vn-91088181: {}
2025-12-29 18:00:10,060 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2025-12-29 18:00:10,070 - DEBUG - Requesting: http://10.0.0.249:8082/domain/5fc4913f-adee-47da-8761-b87344d72d1f
2025-12-29 18:00:10,091 - DEBUG - Requesting: http://10.0.0.249:8082/project/aadd13a6-e4b6-4a1a-b07e-1d46d2622833
2025-12-29 18:00:10,169 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/65b873bc-91d9-4e9b-8576-e6e672f65b9e
2025-12-29 18:00:10,183 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/65b873bc-91d9-4e9b-8576-e6e672f65b9e
2025-12-29 18:00:10,197 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/dae9c3b5-9434-4688-8745-9126555b927e
2025-12-29 18:00:10,205 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/dae9c3b5-9434-4688-8745-9126555b927e
2025-12-29 18:00:10,215 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/5fe96755-7be5-4018-8b21-4ea635709610
2025-12-29 18:00:10,224 - DEBUG - Route Targets: ['target:64512:8000005']
2025-12-29 18:00:10,224 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/65b873bc-91d9-4e9b-8576-e6e672f65b9e
2025-12-29 18:00:10,239 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/dae9c3b5-9434-4688-8745-9126555b927e
2025-12-29 18:00:10,259 - INFO - Verified VN network id 13 for VN 65b873bc-91d9-4e9b-8576-e6e672f65b9e
2025-12-29 18:00:10,259 - INFO - Verifications in API Server for VN ctest-vn-57620132 passed
2025-12-29 18:00:10,259 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/65b873bc-91d9-4e9b-8576-e6e672f65b9e
2025-12-29 18:00:10,277 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/dae9c3b5-9434-4688-8745-9126555b927e
2025-12-29 18:00:10,287 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/dae9c3b5-9434-4688-8745-9126555b927e
2025-12-29 18:00:10,299 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/5fe96755-7be5-4018-8b21-4ea635709610
2025-12-29 18:00:10,316 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-44131828:ctest-vn-57620132', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-44131828', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7329735647283465883', 'uuid-lslong': '9617127931741887390'}, 'enable': 'true', 'created': '2025-12-29T18:00:07', 'last-modified': '2025-12-29T18:00:08', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.749198'}
2025-12-29 18:00:10,333 - DEBUG - Route Targets: ['target:64512:8000005']
2025-12-29 18:00:10,333 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-57620132 passed
2025-12-29 18:00:10,333 - DEBUG - ====Verifying policy data for ctest-vn-57620132 in API_Server ======
2025-12-29 18:00:10,333 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2025-12-29 18:00:10,341 - DEBUG - Requesting: http://10.0.0.249:8082/domain/5fc4913f-adee-47da-8761-b87344d72d1f
2025-12-29 18:00:10,358 - DEBUG - Requesting: http://10.0.0.249:8082/project/aadd13a6-e4b6-4a1a-b07e-1d46d2622833
2025-12-29 18:00:10,445 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/65b873bc-91d9-4e9b-8576-e6e672f65b9e
2025-12-29 18:00:10,458 - DEBUG - ==>Verifying data for policy with id: d7c0ec35-17d2-40ea-9509-09907cc2e0d4, fqn: ['default-domain', 'ctest-TestBasicPolicy-44131828', 'ctest-policy-allow-all-98634529']
2025-12-29 18:00:10,458 - INFO - VN ctest-vn-57620132 Policy verification: verify_vn_policy_in_api_server, status: True
2025-12-29 18:00:10,458 - DEBUG - Verifying the vn in opserver
2025-12-29 18:00:10,458 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-44131828:ctest-vn-57620132 virtual network link through opserver 10.0.0.249
2025-12-29 18:00:10,458 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks
2025-12-29 18:00:10,471 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-44131828:ctest-vn-57620132', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-44131828:ctest-vn-57620132?flat'}
2025-12-29 18:00:10,471 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-44131828:ctest-vn-57620132 is found in opserver
2025-12-29 18:00:10,485 - DEBUG - Do not have enough data to verify VN in agent
2025-12-29 18:00:10,491 - DEBUG - VRF ids for VN ctest-vn-57620132: {}
2025-12-29 18:00:10,561 - DEBUG - Services list from nova: [