2026-02-16 02:15:15,769 - INFO - Domain Default found not creating
2026-02-16 02:15:15,953 - INFO - Project ctest-TestBasicPolicy-48459352 not found, creating it
2026-02-16 02:15:16,451 - INFO - Created Project:ctest-TestBasicPolicy-48459352, ID : b619a012-64cd-453d-8c86-c6c3e42ee0e1
2026-02-16 02:15:18,182 - INFO - ================================================================================
2026-02-16 02:15:18,183 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-16 02:15:18,183 - 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
2026-02-16 02:15:18,452 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.14': '0'}} with
2026-02-16 02:15:18,452 - INFO - Initial checks done. Running the testcase now
2026-02-16 02:15:18,452 - INFO -
2026-02-16 02:15:19,064 - DEBUG - Response for create_network : {'network': {'id': 'ba5d64fa-45f2-4eb8-974f-4328ff84832f', 'name': 'ctest-vn-53934012', 'tenant_id': 'b619a01264cd453d8c86c6c3e42ee0e1', 'project_id': 'b619a01264cd453d8c86c6c3e42ee0e1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48459352', 'ctest-vn-53934012'], 'port_security_enabled': True, 'description': ''}}
2026-02-16 02:15:19,302 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fa6696aa-84b0-4b50-a6df-f906e99595e6', 'name': '', 'tenant_id': 'b619a01264cd453d8c86c6c3e42ee0e1', 'network_id': 'ba5d64fa-45f2-4eb8-974f-4328ff84832f', 'ip_version': 4, 'cidr': '160.237.109.64/26', 'allocation_pools': [{'start': '160.237.109.66', 'end': '160.237.109.126'}], 'gateway_ip': '160.237.109.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '160.237.109.66', 'tags': [], 'project_id': 'b619a01264cd453d8c86c6c3e42ee0e1'}}
2026-02-16 02:15:19,324 - INFO - Created VN ctest-vn-53934012
2026-02-16 02:15:19,375 - DEBUG - VN ctest-vn-53934012 UUID is ba5d64fa-45f2-4eb8-974f-4328ff84832f
2026-02-16 02:15:19,703 - DEBUG - Response for create_network : {'network': {'id': '58f40a4d-f53c-4564-9d25-3df6cd8a5d84', 'name': 'ctest-vn-78923323', 'tenant_id': 'b619a01264cd453d8c86c6c3e42ee0e1', 'project_id': 'b619a01264cd453d8c86c6c3e42ee0e1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48459352', 'ctest-vn-78923323'], 'port_security_enabled': True, 'description': ''}}
2026-02-16 02:15:19,900 - DEBUG - Response for create_subnet : {'subnet': {'id': '2854c48a-fe7a-4f4e-9814-28248f9d80b5', 'name': '', 'tenant_id': 'b619a01264cd453d8c86c6c3e42ee0e1', 'network_id': '58f40a4d-f53c-4564-9d25-3df6cd8a5d84', 'ip_version': 4, 'cidr': '98.151.175.192/26', 'allocation_pools': [{'start': '98.151.175.194', 'end': '98.151.175.254'}], 'gateway_ip': '98.151.175.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '98.151.175.194', 'tags': [], 'project_id': 'b619a01264cd453d8c86c6c3e42ee0e1'}}
2026-02-16 02:15:19,920 - INFO - Created VN ctest-vn-78923323
2026-02-16 02:15:19,975 - DEBUG - VN ctest-vn-78923323 UUID is 58f40a4d-f53c-4564-9d25-3df6cd8a5d84
2026-02-16 02:15:20,131 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-48459352:ctest-vn-53934012, 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-48459352:ctest-vn-78923323, 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]
2026-02-16 02:15:20,434 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ba5d64fa-45f2-4eb8-974f-4328ff84832f', 'name': 'ctest-vn-53934012', 'tenant_id': 'b619a01264cd453d8c86c6c3e42ee0e1', 'project_id': 'b619a01264cd453d8c86c6c3e42ee0e1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['fa6696aa-84b0-4b50-a6df-f906e99595e6'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48459352', 'ctest-vn-53934012'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-48459352', 'ctest-policy-allow-all-09367587']], 'subnet_ipam': [{'subnet_cidr': '160.237.109.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-16 02:15:20,717 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '58f40a4d-f53c-4564-9d25-3df6cd8a5d84', 'name': 'ctest-vn-78923323', 'tenant_id': 'b619a01264cd453d8c86c6c3e42ee0e1', 'project_id': 'b619a01264cd453d8c86c6c3e42ee0e1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2854c48a-fe7a-4f4e-9814-28248f9d80b5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48459352', 'ctest-vn-78923323'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-48459352', 'ctest-policy-allow-all-09367587']], 'subnet_ipam': [{'subnet_cidr': '98.151.175.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-16 02:15:20,867 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-02-16 02:15:21,210 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-02-16 02:15:21,270 - DEBUG - Requesting: http://10.0.0.249:8082/domain/f42e0b8c-ee7f-4f6c-9dc0-739303a96cda
2026-02-16 02:15:21,285 - DEBUG - Requesting: http://10.0.0.249:8082/project/b619a012-64cd-453d-8c86-c6c3e42ee0e1
2026-02-16 02:15:21,362 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/ba5d64fa-45f2-4eb8-974f-4328ff84832f
2026-02-16 02:15:21,376 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/ba5d64fa-45f2-4eb8-974f-4328ff84832f
2026-02-16 02:15:21,384 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/0f325f3e-83ba-450f-a326-e5f2db8cdfcf
2026-02-16 02:15:21,392 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/0f325f3e-83ba-450f-a326-e5f2db8cdfcf
2026-02-16 02:15:21,400 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/c7ef0c42-3c91-40c5-85aa-30eff356ca40
2026-02-16 02:15:21,407 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-16 02:15:21,408 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/ba5d64fa-45f2-4eb8-974f-4328ff84832f
2026-02-16 02:15:21,417 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/0f325f3e-83ba-450f-a326-e5f2db8cdfcf
2026-02-16 02:15:21,433 - INFO - Verified VN network id 11 for VN ba5d64fa-45f2-4eb8-974f-4328ff84832f
2026-02-16 02:15:21,433 - INFO - Verifications in API Server for VN ctest-vn-53934012 passed
2026-02-16 02:15:21,433 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/ba5d64fa-45f2-4eb8-974f-4328ff84832f
2026-02-16 02:15:21,443 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/0f325f3e-83ba-450f-a326-e5f2db8cdfcf
2026-02-16 02:15:21,451 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/0f325f3e-83ba-450f-a326-e5f2db8cdfcf
2026-02-16 02:15:21,460 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/c7ef0c42-3c91-40c5-85aa-30eff356ca40
2026-02-16 02:15:21,473 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-48459352:ctest-vn-53934012', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-48459352', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13429000689966796472', 'uuid-lslong': '10903007066251887407'}, 'enable': 'true', 'created': '2026-02-16T02:15:19', 'last-modified': '2026-02-16T02:15:20', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.062776'}
2026-02-16 02:15:21,479 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-16 02:15:21,480 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-53934012 passed
2026-02-16 02:15:21,480 - DEBUG - ====Verifying policy data for ctest-vn-53934012 in API_Server ======
2026-02-16 02:15:21,480 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-02-16 02:15:21,487 - DEBUG - Requesting: http://10.0.0.249:8082/domain/f42e0b8c-ee7f-4f6c-9dc0-739303a96cda
2026-02-16 02:15:21,500 - DEBUG - Requesting: http://10.0.0.249:8082/project/b619a012-64cd-453d-8c86-c6c3e42ee0e1
2026-02-16 02:15:21,574 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/ba5d64fa-45f2-4eb8-974f-4328ff84832f
2026-02-16 02:15:21,584 - DEBUG - ==>Verifying data for policy with id: e189c478-b550-44ed-8eca-ab5d89bc6c61, fqn: ['default-domain', 'ctest-TestBasicPolicy-48459352', 'ctest-policy-allow-all-09367587']
2026-02-16 02:15:21,584 - INFO - VN ctest-vn-53934012 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-16 02:15:21,585 - DEBUG - Verifying the vn in opserver
2026-02-16 02:15:21,585 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-48459352:ctest-vn-53934012 virtual network link through opserver 10.0.0.249
2026-02-16 02:15:21,585 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks
2026-02-16 02:15:21,931 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks
2026-02-16 02:15:22,002 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-48459352:ctest-vn-53934012', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-48459352:ctest-vn-53934012?flat'}
2026-02-16 02:15:22,003 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-48459352:ctest-vn-53934012 is found in opserver
2026-02-16 02:15:22,013 - DEBUG - Do not have enough data to verify VN in agent
2026-02-16 02:15:22,017 - DEBUG - VRF ids for VN ctest-vn-53934012: {}
2026-02-16 02:15:22,017 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-02-16 02:15:22,022 - DEBUG - Requesting: http://10.0.0.249:8082/domain/f42e0b8c-ee7f-4f6c-9dc0-739303a96cda
2026-02-16 02:15:22,033 - DEBUG - Requesting: http://10.0.0.249:8082/project/b619a012-64cd-453d-8c86-c6c3e42ee0e1
2026-02-16 02:15:22,103 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/58f40a4d-f53c-4564-9d25-3df6cd8a5d84
2026-02-16 02:15:22,115 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/58f40a4d-f53c-4564-9d25-3df6cd8a5d84
2026-02-16 02:15:22,124 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/8094c399-392c-41fe-ac37-6b3bffed8c51
2026-02-16 02:15:22,131 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/8094c399-392c-41fe-ac37-6b3bffed8c51
2026-02-16 02:15:22,138 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/9f021476-c66c-4939-99c7-f204eaf9eb12
2026-02-16 02:15:22,144 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-16 02:15:22,144 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/58f40a4d-f53c-4564-9d25-3df6cd8a5d84
2026-02-16 02:15:22,153 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/8094c399-392c-41fe-ac37-6b3bffed8c51
2026-02-16 02:15:22,166 - INFO - Verified VN network id 12 for VN 58f40a4d-f53c-4564-9d25-3df6cd8a5d84
2026-02-16 02:15:22,166 - INFO - Verifications in API Server for VN ctest-vn-78923323 passed
2026-02-16 02:15:22,166 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/58f40a4d-f53c-4564-9d25-3df6cd8a5d84
2026-02-16 02:15:22,175 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/8094c399-392c-41fe-ac37-6b3bffed8c51
2026-02-16 02:15:22,181 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/8094c399-392c-41fe-ac37-6b3bffed8c51
2026-02-16 02:15:22,187 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/9f021476-c66c-4939-99c7-f204eaf9eb12
2026-02-16 02:15:22,198 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-48459352:ctest-vn-78923323', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-48459352', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6409759499598185828', 'uuid-lslong': '11323524968312626564'}, 'enable': 'true', 'created': '2026-02-16T02:15:19', 'last-modified': '2026-02-16T02:15:20', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.548178'}
2026-02-16 02:15:22,205 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-16 02:15:22,205 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-78923323 passed
2026-02-16 02:15:22,205 - DEBUG - ====Verifying policy data for ctest-vn-78923323 in API_Server ======
2026-02-16 02:15:22,205 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-02-16 02:15:22,210 - DEBUG - Requesting: http://10.0.0.249:8082/domain/f42e0b8c-ee7f-4f6c-9dc0-739303a96cda
2026-02-16 02:15:22,220 - DEBUG - Requesting: http://10.0.0.249:8082/project/b619a012-64cd-453d-8c86-c6c3e42ee0e1
2026-02-16 02:15:22,298 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/58f40a4d-f53c-4564-9d25-3df6cd8a5d84
2026-02-16 02:15:22,310 - DEBUG - ==>Verifying data for policy with id: e189c478-b550-44ed-8eca-ab5d89bc6c61, fqn: ['default-domain', 'ctest-TestBasicPolicy-48459352', 'ctest-policy-allow-all-09367587']
2026-02-16 02:15:22,310 - INFO - VN ctest-vn-78923323 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-16 02:15:22,310 - DEBUG - Verifying the vn in opserver
2026-02-16 02:15:22,310 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-48459352:ctest-vn-78923323 virtual network link through opserver 10.0.0.249
2026-02-16 02:15:22,311 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks
2026-02-16 02:15:22,323 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-48459352:ctest-vn-78923323', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-48459352:ctest-vn-78923323?flat'}
2026-02-16 02:15:22,323 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-48459352:ctest-vn-78923323 is found in opserver
2026-02-16 02:15:22,338 - DEBUG - Do not have enough data to verify VN in agent
2026-02-16 02:15:22,345 - DEBUG - VRF ids for VN ctest-vn-78923323: {}
2026-02-16 02:15:22,413 - DEBUG - Services list from nova: [