2026-03-16 01:58:59,528 - INFO - Domain Default found not creating
2026-03-16 01:58:59,687 - INFO - Project ctest-TestBasicPolicy-95717979 not found, creating it
2026-03-16 01:59:00,127 - INFO - Created Project:ctest-TestBasicPolicy-95717979, ID : c09ba8de-ee78-41bc-a744-a031bf29ae15
2026-03-16 01:59:01,602 - INFO - ================================================================================
2026-03-16 01:59:01,602 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-03-16 01:59:01,603 - 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-03-16 01:59:01,871 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.254': '0'}} with
2026-03-16 01:59:01,871 - INFO - Initial checks done. Running the testcase now
2026-03-16 01:59:01,871 - INFO -
2026-03-16 01:59:03,011 - DEBUG - Response for create_network : {'network': {'id': 'ea8e632f-43e5-4f43-a0cc-14303ca45a81', 'name': 'ctest-vn-28163193', 'tenant_id': 'c09ba8deee7841bca744a031bf29ae15', 'project_id': 'c09ba8deee7841bca744a031bf29ae15', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-95717979', 'ctest-vn-28163193'], 'port_security_enabled': True, 'description': ''}}
2026-03-16 01:59:03,179 - DEBUG - Response for create_subnet : {'subnet': {'id': '36522974-bcbe-4ce7-8c8f-bdec35ca0bd3', 'name': '', 'tenant_id': 'c09ba8deee7841bca744a031bf29ae15', 'network_id': 'ea8e632f-43e5-4f43-a0cc-14303ca45a81', 'ip_version': 4, 'cidr': '97.176.6.128/26', 'allocation_pools': [{'start': '97.176.6.130', 'end': '97.176.6.190'}], 'gateway_ip': '97.176.6.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '97.176.6.130', 'tags': [], 'project_id': 'c09ba8deee7841bca744a031bf29ae15'}}
2026-03-16 01:59:03,198 - INFO - Created VN ctest-vn-28163193
2026-03-16 01:59:03,250 - DEBUG - VN ctest-vn-28163193 UUID is ea8e632f-43e5-4f43-a0cc-14303ca45a81
2026-03-16 01:59:03,554 - DEBUG - Response for create_network : {'network': {'id': 'd6ed4268-21cc-48a7-8c65-c55a6f0437ab', 'name': 'ctest-vn-40314136', 'tenant_id': 'c09ba8deee7841bca744a031bf29ae15', 'project_id': 'c09ba8deee7841bca744a031bf29ae15', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-95717979', 'ctest-vn-40314136'], 'port_security_enabled': True, 'description': ''}}
2026-03-16 01:59:03,717 - DEBUG - Response for create_subnet : {'subnet': {'id': 'edf55d79-6ce4-4c21-bd04-88323c4e7c98', 'name': '', 'tenant_id': 'c09ba8deee7841bca744a031bf29ae15', 'network_id': 'd6ed4268-21cc-48a7-8c65-c55a6f0437ab', 'ip_version': 4, 'cidr': '207.148.229.128/26', 'allocation_pools': [{'start': '207.148.229.130', 'end': '207.148.229.190'}], 'gateway_ip': '207.148.229.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '207.148.229.130', 'tags': [], 'project_id': 'c09ba8deee7841bca744a031bf29ae15'}}
2026-03-16 01:59:03,735 - INFO - Created VN ctest-vn-40314136
2026-03-16 01:59:03,790 - DEBUG - VN ctest-vn-40314136 UUID is d6ed4268-21cc-48a7-8c65-c55a6f0437ab
2026-03-16 01:59:03,942 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-95717979:ctest-vn-28163193, 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-95717979:ctest-vn-40314136, 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-03-16 01:59:04,261 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ea8e632f-43e5-4f43-a0cc-14303ca45a81', 'name': 'ctest-vn-28163193', 'tenant_id': 'c09ba8deee7841bca744a031bf29ae15', 'project_id': 'c09ba8deee7841bca744a031bf29ae15', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['36522974-bcbe-4ce7-8c8f-bdec35ca0bd3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-95717979', 'ctest-vn-28163193'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-95717979', 'ctest-policy-allow-all-43167458']], 'subnet_ipam': [{'subnet_cidr': '97.176.6.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-03-16 01:59:04,503 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd6ed4268-21cc-48a7-8c65-c55a6f0437ab', 'name': 'ctest-vn-40314136', 'tenant_id': 'c09ba8deee7841bca744a031bf29ae15', 'project_id': 'c09ba8deee7841bca744a031bf29ae15', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['edf55d79-6ce4-4c21-bd04-88323c4e7c98'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-95717979', 'ctest-vn-40314136'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-95717979', 'ctest-policy-allow-all-43167458']], 'subnet_ipam': [{'subnet_cidr': '207.148.229.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-03-16 01:59:04,646 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2026-03-16 01:59:04,949 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2026-03-16 01:59:04,980 - DEBUG - Requesting: http://10.0.0.242:8082/domain/366c747b-7590-41e4-98f2-be52755fe3d3
2026-03-16 01:59:04,991 - DEBUG - Requesting: http://10.0.0.242:8082/project/c09ba8de-ee78-41bc-a744-a031bf29ae15
2026-03-16 01:59:05,061 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/ea8e632f-43e5-4f43-a0cc-14303ca45a81
2026-03-16 01:59:05,071 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/ea8e632f-43e5-4f43-a0cc-14303ca45a81
2026-03-16 01:59:05,080 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/e3642847-21a1-44c0-8922-c06c5340230f
2026-03-16 01:59:05,086 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/e3642847-21a1-44c0-8922-c06c5340230f
2026-03-16 01:59:05,092 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/426c1f9f-7805-4e9f-9b2a-d611719caced
2026-03-16 01:59:05,097 - DEBUG - Route Targets: ['target:64512:8000004']
2026-03-16 01:59:05,097 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/ea8e632f-43e5-4f43-a0cc-14303ca45a81
2026-03-16 01:59:05,105 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/e3642847-21a1-44c0-8922-c06c5340230f
2026-03-16 01:59:05,117 - INFO - Verified VN network id 11 for VN ea8e632f-43e5-4f43-a0cc-14303ca45a81
2026-03-16 01:59:05,117 - INFO - Verifications in API Server for VN ctest-vn-28163193 passed
2026-03-16 01:59:05,118 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/ea8e632f-43e5-4f43-a0cc-14303ca45a81
2026-03-16 01:59:05,126 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/e3642847-21a1-44c0-8922-c06c5340230f
2026-03-16 01:59:05,132 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/e3642847-21a1-44c0-8922-c06c5340230f
2026-03-16 01:59:05,138 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/426c1f9f-7805-4e9f-9b2a-d611719caced
2026-03-16 01:59:05,148 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-95717979:ctest-vn-28163193', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-95717979', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16901555506221764419', 'uuid-lslong': '11586658138725833345'}, 'enable': 'true', 'created': '2026-03-16T01:59:02', 'last-modified': '2026-03-16T01:59:04', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.924276'}
2026-03-16 01:59:05,154 - DEBUG - Route Targets: ['target:64512:8000004']
2026-03-16 01:59:05,154 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-28163193 passed
2026-03-16 01:59:05,154 - DEBUG - ====Verifying policy data for ctest-vn-28163193 in API_Server ======
2026-03-16 01:59:05,154 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2026-03-16 01:59:05,159 - DEBUG - Requesting: http://10.0.0.242:8082/domain/366c747b-7590-41e4-98f2-be52755fe3d3
2026-03-16 01:59:05,171 - DEBUG - Requesting: http://10.0.0.242:8082/project/c09ba8de-ee78-41bc-a744-a031bf29ae15
2026-03-16 01:59:05,238 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/ea8e632f-43e5-4f43-a0cc-14303ca45a81
2026-03-16 01:59:05,246 - DEBUG - ==>Verifying data for policy with id: cb6ea34e-486f-47d5-9770-8ca24363feac, fqn: ['default-domain', 'ctest-TestBasicPolicy-95717979', 'ctest-policy-allow-all-43167458']
2026-03-16 01:59:05,246 - INFO - VN ctest-vn-28163193 Policy verification: verify_vn_policy_in_api_server, status: True
2026-03-16 01:59:05,246 - DEBUG - Verifying the vn in opserver
2026-03-16 01:59:05,246 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-95717979:ctest-vn-28163193 virtual network link through opserver 10.0.0.242
2026-03-16 01:59:05,246 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks
2026-03-16 01:59:05,567 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks
2026-03-16 01:59:05,627 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-95717979:ctest-vn-28163193', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-95717979:ctest-vn-28163193?flat'}
2026-03-16 01:59:05,627 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-95717979:ctest-vn-28163193 is found in opserver
2026-03-16 01:59:05,637 - DEBUG - Do not have enough data to verify VN in agent
2026-03-16 01:59:05,642 - DEBUG - VRF ids for VN ctest-vn-28163193: {}
2026-03-16 01:59:05,642 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2026-03-16 01:59:05,648 - DEBUG - Requesting: http://10.0.0.242:8082/domain/366c747b-7590-41e4-98f2-be52755fe3d3
2026-03-16 01:59:05,658 - DEBUG - Requesting: http://10.0.0.242:8082/project/c09ba8de-ee78-41bc-a744-a031bf29ae15
2026-03-16 01:59:05,730 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/d6ed4268-21cc-48a7-8c65-c55a6f0437ab
2026-03-16 01:59:05,742 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/d6ed4268-21cc-48a7-8c65-c55a6f0437ab
2026-03-16 01:59:05,752 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/4dd63418-44f0-4126-97a9-86cd8b685b46
2026-03-16 01:59:05,760 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/4dd63418-44f0-4126-97a9-86cd8b685b46
2026-03-16 01:59:05,769 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/89c130fc-8d1c-40c5-b3e3-a1d51acfd678
2026-03-16 01:59:05,776 - DEBUG - Route Targets: ['target:64512:8000005']
2026-03-16 01:59:05,776 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/d6ed4268-21cc-48a7-8c65-c55a6f0437ab
2026-03-16 01:59:05,785 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/4dd63418-44f0-4126-97a9-86cd8b685b46
2026-03-16 01:59:05,799 - INFO - Verified VN network id 12 for VN d6ed4268-21cc-48a7-8c65-c55a6f0437ab
2026-03-16 01:59:05,799 - INFO - Verifications in API Server for VN ctest-vn-40314136 passed
2026-03-16 01:59:05,799 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/d6ed4268-21cc-48a7-8c65-c55a6f0437ab
2026-03-16 01:59:05,808 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/4dd63418-44f0-4126-97a9-86cd8b685b46
2026-03-16 01:59:05,813 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/4dd63418-44f0-4126-97a9-86cd8b685b46
2026-03-16 01:59:05,819 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/89c130fc-8d1c-40c5-b3e3-a1d51acfd678
2026-03-16 01:59:05,832 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-95717979:ctest-vn-40314136', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-95717979', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15487107708608071847', 'uuid-lslong': '10116709130157963179'}, 'enable': 'true', 'created': '2026-03-16T01:59:03', 'last-modified': '2026-03-16T01:59:04', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.354083'}
2026-03-16 01:59:05,837 - DEBUG - Route Targets: ['target:64512:8000005']
2026-03-16 01:59:05,837 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-40314136 passed
2026-03-16 01:59:05,837 - DEBUG - ====Verifying policy data for ctest-vn-40314136 in API_Server ======
2026-03-16 01:59:05,837 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2026-03-16 01:59:05,843 - DEBUG - Requesting: http://10.0.0.242:8082/domain/366c747b-7590-41e4-98f2-be52755fe3d3
2026-03-16 01:59:05,852 - DEBUG - Requesting: http://10.0.0.242:8082/project/c09ba8de-ee78-41bc-a744-a031bf29ae15
2026-03-16 01:59:05,918 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/d6ed4268-21cc-48a7-8c65-c55a6f0437ab
2026-03-16 01:59:05,927 - DEBUG - ==>Verifying data for policy with id: cb6ea34e-486f-47d5-9770-8ca24363feac, fqn: ['default-domain', 'ctest-TestBasicPolicy-95717979', 'ctest-policy-allow-all-43167458']
2026-03-16 01:59:05,927 - INFO - VN ctest-vn-40314136 Policy verification: verify_vn_policy_in_api_server, status: True
2026-03-16 01:59:05,927 - DEBUG - Verifying the vn in opserver
2026-03-16 01:59:05,927 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-95717979:ctest-vn-40314136 virtual network link through opserver 10.0.0.242
2026-03-16 01:59:05,927 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks
2026-03-16 01:59:05,935 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-95717979:ctest-vn-40314136', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-95717979:ctest-vn-40314136?flat'}
2026-03-16 01:59:05,935 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-95717979:ctest-vn-40314136 is found in opserver
2026-03-16 01:59:05,943 - DEBUG - Do not have enough data to verify VN in agent
2026-03-16 01:59:05,948 - DEBUG - VRF ids for VN ctest-vn-40314136: {}
2026-03-16 01:59:06,000 - DEBUG - Services list from nova: [