2026-09-30 13:32:33,253 - INFO - Domain Default found not creating
2026-09-30 13:32:33,462 - INFO - Project ctest-TestBasicPolicy-83339733 not found, creating it
2026-09-30 13:32:34,077 - INFO - Created Project:ctest-TestBasicPolicy-83339733, ID : 1701f1f9-f4bd-42aa-b3c5-5b5cf4f46ac9
2026-09-30 13:32:35,538 - INFO - ================================================================================
2026-09-30 13:32:35,539 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-09-30 13:32:35,539 - 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-09-30 13:32:35,794 - DEBUG - Nothing to compare xmpp stats {'10.0.0.161': {'10.20.0.29': '0'}} with
2026-09-30 13:32:35,794 - INFO - Initial checks done. Running the testcase now
2026-09-30 13:32:35,794 - INFO -
2026-09-30 13:32:36,362 - DEBUG - Response for create_network : {'network': {'id': 'ba54d41f-1104-4f21-b2ee-0a582f7fa513', 'name': 'ctest-vn-72643162', 'tenant_id': '1701f1f9f4bd42aab3c55b5cf4f46ac9', 'project_id': '1701f1f9f4bd42aab3c55b5cf4f46ac9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-83339733', 'ctest-vn-72643162'], 'port_security_enabled': True, 'description': ''}}
2026-09-30 13:32:36,563 - DEBUG - Response for create_subnet : {'subnet': {'id': '1106cd29-8d3d-4580-b15e-73e69fa9ffe9', 'name': '', 'tenant_id': '1701f1f9f4bd42aab3c55b5cf4f46ac9', 'network_id': 'ba54d41f-1104-4f21-b2ee-0a582f7fa513', 'ip_version': 4, 'cidr': '24.18.250.192/26', 'allocation_pools': [{'start': '24.18.250.194', 'end': '24.18.250.254'}], 'gateway_ip': '24.18.250.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '24.18.250.194', 'tags': [], 'project_id': '1701f1f9f4bd42aab3c55b5cf4f46ac9'}}
2026-09-30 13:32:36,577 - INFO - Created VN ctest-vn-72643162
2026-09-30 13:32:36,628 - DEBUG - VN ctest-vn-72643162 UUID is ba54d41f-1104-4f21-b2ee-0a582f7fa513
2026-09-30 13:32:36,930 - DEBUG - Response for create_network : {'network': {'id': 'b4595813-3d22-4d46-a2d2-1cbdc0c8a78d', 'name': 'ctest-vn-50615662', 'tenant_id': '1701f1f9f4bd42aab3c55b5cf4f46ac9', 'project_id': '1701f1f9f4bd42aab3c55b5cf4f46ac9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-83339733', 'ctest-vn-50615662'], 'port_security_enabled': True, 'description': ''}}
2026-09-30 13:32:37,145 - DEBUG - Response for create_subnet : {'subnet': {'id': '4d64f4b8-ff5f-4621-9a7c-c7bd5b0a4f46', 'name': '', 'tenant_id': '1701f1f9f4bd42aab3c55b5cf4f46ac9', 'network_id': 'b4595813-3d22-4d46-a2d2-1cbdc0c8a78d', 'ip_version': 4, 'cidr': '137.215.164.0/26', 'allocation_pools': [{'start': '137.215.164.2', 'end': '137.215.164.62'}], 'gateway_ip': '137.215.164.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '137.215.164.2', 'tags': [], 'project_id': '1701f1f9f4bd42aab3c55b5cf4f46ac9'}}
2026-09-30 13:32:37,160 - INFO - Created VN ctest-vn-50615662
2026-09-30 13:32:37,212 - DEBUG - VN ctest-vn-50615662 UUID is b4595813-3d22-4d46-a2d2-1cbdc0c8a78d
2026-09-30 13:32:37,352 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-83339733:ctest-vn-72643162, 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-83339733:ctest-vn-50615662, 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-09-30 13:32:37,655 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ba54d41f-1104-4f21-b2ee-0a582f7fa513', 'name': 'ctest-vn-72643162', 'tenant_id': '1701f1f9f4bd42aab3c55b5cf4f46ac9', 'project_id': '1701f1f9f4bd42aab3c55b5cf4f46ac9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['1106cd29-8d3d-4580-b15e-73e69fa9ffe9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-83339733', 'ctest-vn-72643162'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-83339733', 'ctest-policy-allow-all-02233774']], 'subnet_ipam': [{'subnet_cidr': '24.18.250.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-09-30 13:32:37,887 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b4595813-3d22-4d46-a2d2-1cbdc0c8a78d', 'name': 'ctest-vn-50615662', 'tenant_id': '1701f1f9f4bd42aab3c55b5cf4f46ac9', 'project_id': '1701f1f9f4bd42aab3c55b5cf4f46ac9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['4d64f4b8-ff5f-4621-9a7c-c7bd5b0a4f46'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-83339733', 'ctest-vn-50615662'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-83339733', 'ctest-policy-allow-all-02233774']], 'subnet_ipam': [{'subnet_cidr': '137.215.164.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-09-30 13:32:38,048 - DEBUG - Requesting: http://10.0.0.161:8082/domains
2026-09-30 13:32:38,365 - DEBUG - Requesting: http://10.0.0.161:8082/domains
2026-09-30 13:32:38,393 - DEBUG - Requesting: http://10.0.0.161:8082/domain/47341e43-0511-4f76-9ecd-df372f557a9b
2026-09-30 13:32:38,405 - DEBUG - Requesting: http://10.0.0.161:8082/project/1701f1f9-f4bd-42aa-b3c5-5b5cf4f46ac9
2026-09-30 13:32:38,479 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/ba54d41f-1104-4f21-b2ee-0a582f7fa513
2026-09-30 13:32:38,490 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/ba54d41f-1104-4f21-b2ee-0a582f7fa513
2026-09-30 13:32:38,498 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/716f08c3-25fe-44fa-8dd5-8780a100956b
2026-09-30 13:32:38,506 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/716f08c3-25fe-44fa-8dd5-8780a100956b
2026-09-30 13:32:38,513 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/2cb29bc7-5dfa-4584-86e9-af49b40d2302
2026-09-30 13:32:38,519 - DEBUG - Route Targets: ['target:64512:8000005']
2026-09-30 13:32:38,519 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/ba54d41f-1104-4f21-b2ee-0a582f7fa513
2026-09-30 13:32:38,527 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/716f08c3-25fe-44fa-8dd5-8780a100956b
2026-09-30 13:32:38,539 - INFO - Verified VN network id 12 for VN ba54d41f-1104-4f21-b2ee-0a582f7fa513
2026-09-30 13:32:38,539 - INFO - Verifications in API Server for VN ctest-vn-72643162 passed
2026-09-30 13:32:38,539 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/ba54d41f-1104-4f21-b2ee-0a582f7fa513
2026-09-30 13:32:38,547 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/716f08c3-25fe-44fa-8dd5-8780a100956b
2026-09-30 13:32:38,552 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/716f08c3-25fe-44fa-8dd5-8780a100956b
2026-09-30 13:32:38,559 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/2cb29bc7-5dfa-4584-86e9-af49b40d2302
2026-09-30 13:32:38,569 - DEBUG - Control-node 10.0.0.161 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-83339733:ctest-vn-72643162', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-83339733', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13426589618992860961', 'uuid-lslong': '12893254157078603027'}, 'enable': 'true', 'created': '2026-09-30T13:32:36', 'last-modified': '2026-09-30T13:32:37', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.939141'}
2026-09-30 13:32:38,575 - DEBUG - Route Targets: ['target:64512:8000005']
2026-09-30 13:32:38,575 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-72643162 passed
2026-09-30 13:32:38,575 - DEBUG - ====Verifying policy data for ctest-vn-72643162 in API_Server ======
2026-09-30 13:32:38,575 - DEBUG - Requesting: http://10.0.0.161:8082/domains
2026-09-30 13:32:38,580 - DEBUG - Requesting: http://10.0.0.161:8082/domain/47341e43-0511-4f76-9ecd-df372f557a9b
2026-09-30 13:32:38,591 - DEBUG - Requesting: http://10.0.0.161:8082/project/1701f1f9-f4bd-42aa-b3c5-5b5cf4f46ac9
2026-09-30 13:32:38,663 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/ba54d41f-1104-4f21-b2ee-0a582f7fa513
2026-09-30 13:32:38,673 - DEBUG - ==>Verifying data for policy with id: 2a896978-82eb-4448-99d9-5e6afcba3635, fqn: ['default-domain', 'ctest-TestBasicPolicy-83339733', 'ctest-policy-allow-all-02233774']
2026-09-30 13:32:38,673 - INFO - VN ctest-vn-72643162 Policy verification: verify_vn_policy_in_api_server, status: True
2026-09-30 13:32:38,673 - DEBUG - Verifying the vn in opserver
2026-09-30 13:32:38,673 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-83339733:ctest-vn-72643162 virtual network link through opserver 10.0.0.161
2026-09-30 13:32:38,673 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks
2026-09-30 13:32:38,995 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks
2026-09-30 13:32:39,349 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-83339733:ctest-vn-72643162', 'href': 'http://10.0.0.161:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-83339733:ctest-vn-72643162?flat'}
2026-09-30 13:32:39,350 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-83339733:ctest-vn-72643162 is found in opserver
2026-09-30 13:32:39,360 - DEBUG - Do not have enough data to verify VN in agent
2026-09-30 13:32:39,365 - DEBUG - VRF ids for VN ctest-vn-72643162: {}
2026-09-30 13:32:39,365 - DEBUG - Requesting: http://10.0.0.161:8082/domains
2026-09-30 13:32:39,369 - DEBUG - Requesting: http://10.0.0.161:8082/domain/47341e43-0511-4f76-9ecd-df372f557a9b
2026-09-30 13:32:39,379 - DEBUG - Requesting: http://10.0.0.161:8082/project/1701f1f9-f4bd-42aa-b3c5-5b5cf4f46ac9
2026-09-30 13:32:39,452 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/b4595813-3d22-4d46-a2d2-1cbdc0c8a78d
2026-09-30 13:32:39,462 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/b4595813-3d22-4d46-a2d2-1cbdc0c8a78d
2026-09-30 13:32:39,471 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/85b3ba48-656f-44b9-944e-5c2f161c2df0
2026-09-30 13:32:39,478 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/85b3ba48-656f-44b9-944e-5c2f161c2df0
2026-09-30 13:32:39,485 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/4d4d961a-68bb-4d75-a4d9-85db7e69b370
2026-09-30 13:32:39,493 - DEBUG - Route Targets: ['target:64512:8000006']
2026-09-30 13:32:39,494 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/b4595813-3d22-4d46-a2d2-1cbdc0c8a78d
2026-09-30 13:32:39,502 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/85b3ba48-656f-44b9-944e-5c2f161c2df0
2026-09-30 13:32:39,514 - INFO - Verified VN network id 13 for VN b4595813-3d22-4d46-a2d2-1cbdc0c8a78d
2026-09-30 13:32:39,514 - INFO - Verifications in API Server for VN ctest-vn-50615662 passed
2026-09-30 13:32:39,515 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/b4595813-3d22-4d46-a2d2-1cbdc0c8a78d
2026-09-30 13:32:39,523 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/85b3ba48-656f-44b9-944e-5c2f161c2df0
2026-09-30 13:32:39,530 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/85b3ba48-656f-44b9-944e-5c2f161c2df0
2026-09-30 13:32:39,536 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/4d4d961a-68bb-4d75-a4d9-85db7e69b370
2026-09-30 13:32:39,547 - DEBUG - Control-node 10.0.0.161 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-83339733:ctest-vn-50615662', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-83339733', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12995515039407557958', 'uuid-lslong': '11732471580562335629'}, 'enable': 'true', 'created': '2026-09-30T13:32:36', 'last-modified': '2026-09-30T13:32:37', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.686106'}
2026-09-30 13:32:39,556 - DEBUG - Route Targets: ['target:64512:8000006']
2026-09-30 13:32:39,556 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-50615662 passed
2026-09-30 13:32:39,556 - DEBUG - ====Verifying policy data for ctest-vn-50615662 in API_Server ======
2026-09-30 13:32:39,557 - DEBUG - Requesting: http://10.0.0.161:8082/domains
2026-09-30 13:32:39,562 - DEBUG - Requesting: http://10.0.0.161:8082/domain/47341e43-0511-4f76-9ecd-df372f557a9b
2026-09-30 13:32:39,572 - DEBUG - Requesting: http://10.0.0.161:8082/project/1701f1f9-f4bd-42aa-b3c5-5b5cf4f46ac9
2026-09-30 13:32:39,646 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/b4595813-3d22-4d46-a2d2-1cbdc0c8a78d
2026-09-30 13:32:39,655 - DEBUG - ==>Verifying data for policy with id: 2a896978-82eb-4448-99d9-5e6afcba3635, fqn: ['default-domain', 'ctest-TestBasicPolicy-83339733', 'ctest-policy-allow-all-02233774']
2026-09-30 13:32:39,655 - INFO - VN ctest-vn-50615662 Policy verification: verify_vn_policy_in_api_server, status: True
2026-09-30 13:32:39,655 - DEBUG - Verifying the vn in opserver
2026-09-30 13:32:39,656 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-83339733:ctest-vn-50615662 virtual network link through opserver 10.0.0.161
2026-09-30 13:32:39,656 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks
2026-09-30 13:32:39,665 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-83339733:ctest-vn-50615662', 'href': 'http://10.0.0.161:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-83339733:ctest-vn-50615662?flat'}
2026-09-30 13:32:39,665 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-83339733:ctest-vn-50615662 is found in opserver
2026-09-30 13:32:39,675 - DEBUG - Do not have enough data to verify VN in agent
2026-09-30 13:32:39,682 - DEBUG - VRF ids for VN ctest-vn-50615662: {}
2026-09-30 13:32:39,740 - DEBUG - Services list from nova: [