2026-02-26 10:41:30,327 - INFO - Domain Default found not creating
2026-02-26 10:41:30,537 - INFO - Project ctest-TestBasicPolicy-41446436 not found, creating it
2026-02-26 10:41:31,033 - INFO - Created Project:ctest-TestBasicPolicy-41446436, ID : 16da68a1-1891-4cea-9503-262e8f657333
2026-02-26 10:41:32,734 - INFO - ================================================================================
2026-02-26 10:41:32,735 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-26 10:41:32,735 - 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-26 10:41:33,008 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.17': '0'}} with
2026-02-26 10:41:33,008 - INFO - Initial checks done. Running the testcase now
2026-02-26 10:41:33,008 - INFO -
2026-02-26 10:41:33,660 - DEBUG - Response for create_network : {'network': {'id': '103e4356-b966-4f8d-8475-17c3f499ddee', 'name': 'ctest-vn-86579911', 'tenant_id': '16da68a118914cea9503262e8f657333', 'project_id': '16da68a118914cea9503262e8f657333', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41446436', 'ctest-vn-86579911'], 'port_security_enabled': True, 'description': ''}}
2026-02-26 10:41:33,858 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a9a59db8-5198-402e-b153-c5d2f2875b32', 'name': '', 'tenant_id': '16da68a118914cea9503262e8f657333', 'network_id': '103e4356-b966-4f8d-8475-17c3f499ddee', 'ip_version': 4, 'cidr': '103.32.7.0/26', 'allocation_pools': [{'start': '103.32.7.2', 'end': '103.32.7.62'}], 'gateway_ip': '103.32.7.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '103.32.7.2', 'tags': [], 'project_id': '16da68a118914cea9503262e8f657333'}}
2026-02-26 10:41:33,882 - INFO - Created VN ctest-vn-86579911
2026-02-26 10:41:33,935 - DEBUG - VN ctest-vn-86579911 UUID is 103e4356-b966-4f8d-8475-17c3f499ddee
2026-02-26 10:41:34,304 - DEBUG - Response for create_network : {'network': {'id': '8f82ea0b-38a2-44f7-a109-232dc4a67127', 'name': 'ctest-vn-07444310', 'tenant_id': '16da68a118914cea9503262e8f657333', 'project_id': '16da68a118914cea9503262e8f657333', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41446436', 'ctest-vn-07444310'], 'port_security_enabled': True, 'description': ''}}
2026-02-26 10:41:34,477 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ab69711c-dcc7-4940-9660-6664cafc7b14', 'name': '', 'tenant_id': '16da68a118914cea9503262e8f657333', 'network_id': '8f82ea0b-38a2-44f7-a109-232dc4a67127', 'ip_version': 4, 'cidr': '115.151.77.0/26', 'allocation_pools': [{'start': '115.151.77.2', 'end': '115.151.77.62'}], 'gateway_ip': '115.151.77.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '115.151.77.2', 'tags': [], 'project_id': '16da68a118914cea9503262e8f657333'}}
2026-02-26 10:41:34,504 - INFO - Created VN ctest-vn-07444310
2026-02-26 10:41:34,559 - DEBUG - VN ctest-vn-07444310 UUID is 8f82ea0b-38a2-44f7-a109-232dc4a67127
2026-02-26 10:41:34,692 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-41446436:ctest-vn-86579911, 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-41446436:ctest-vn-07444310, 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-26 10:41:34,998 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '103e4356-b966-4f8d-8475-17c3f499ddee', 'name': 'ctest-vn-86579911', 'tenant_id': '16da68a118914cea9503262e8f657333', 'project_id': '16da68a118914cea9503262e8f657333', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a9a59db8-5198-402e-b153-c5d2f2875b32'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41446436', 'ctest-vn-86579911'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-41446436', 'ctest-policy-allow-all-95272813']], 'subnet_ipam': [{'subnet_cidr': '103.32.7.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-26 10:41:35,257 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8f82ea0b-38a2-44f7-a109-232dc4a67127', 'name': 'ctest-vn-07444310', 'tenant_id': '16da68a118914cea9503262e8f657333', 'project_id': '16da68a118914cea9503262e8f657333', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ab69711c-dcc7-4940-9660-6664cafc7b14'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41446436', 'ctest-vn-07444310'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-41446436', 'ctest-policy-allow-all-95272813']], 'subnet_ipam': [{'subnet_cidr': '115.151.77.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-26 10:41:35,424 - DEBUG - Requesting: http://10.0.0.41:8082/domains
2026-02-26 10:41:35,731 - DEBUG - Requesting: http://10.0.0.41:8082/domains
2026-02-26 10:41:35,775 - DEBUG - Requesting: http://10.0.0.41:8082/domain/62a469fc-84b7-41c3-90b5-0670d8c8be9a
2026-02-26 10:41:35,790 - DEBUG - Requesting: http://10.0.0.41:8082/project/16da68a1-1891-4cea-9503-262e8f657333
2026-02-26 10:41:35,869 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/103e4356-b966-4f8d-8475-17c3f499ddee
2026-02-26 10:41:35,881 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/103e4356-b966-4f8d-8475-17c3f499ddee
2026-02-26 10:41:35,894 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/a09d02b0-9669-4152-86bb-4431f6e4178a
2026-02-26 10:41:35,902 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/a09d02b0-9669-4152-86bb-4431f6e4178a
2026-02-26 10:41:35,911 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/dc15af76-b0d9-4219-86ab-f8b62a744c0e
2026-02-26 10:41:35,919 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-26 10:41:35,919 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/103e4356-b966-4f8d-8475-17c3f499ddee
2026-02-26 10:41:35,930 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/a09d02b0-9669-4152-86bb-4431f6e4178a
2026-02-26 10:41:35,952 - INFO - Verified VN network id 11 for VN 103e4356-b966-4f8d-8475-17c3f499ddee
2026-02-26 10:41:35,952 - INFO - Verifications in API Server for VN ctest-vn-86579911 passed
2026-02-26 10:41:35,952 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/103e4356-b966-4f8d-8475-17c3f499ddee
2026-02-26 10:41:35,963 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/a09d02b0-9669-4152-86bb-4431f6e4178a
2026-02-26 10:41:35,971 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/a09d02b0-9669-4152-86bb-4431f6e4178a
2026-02-26 10:41:35,979 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/dc15af76-b0d9-4219-86ab-f8b62a744c0e
2026-02-26 10:41:35,992 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-41446436:ctest-vn-86579911', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-41446436', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1170446992919646093', 'uuid-lslong': '9544561115671420398'}, 'enable': 'true', 'created': '2026-02-26T10:41:33', 'last-modified': '2026-02-26T10:41:34', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.016286'}
2026-02-26 10:41:35,999 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-26 10:41:35,999 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-86579911 passed
2026-02-26 10:41:36,000 - DEBUG - ====Verifying policy data for ctest-vn-86579911 in API_Server ======
2026-02-26 10:41:36,000 - DEBUG - Requesting: http://10.0.0.41:8082/domains
2026-02-26 10:41:36,008 - DEBUG - Requesting: http://10.0.0.41:8082/domain/62a469fc-84b7-41c3-90b5-0670d8c8be9a
2026-02-26 10:41:36,021 - DEBUG - Requesting: http://10.0.0.41:8082/project/16da68a1-1891-4cea-9503-262e8f657333
2026-02-26 10:41:36,094 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/103e4356-b966-4f8d-8475-17c3f499ddee
2026-02-26 10:41:36,105 - DEBUG - ==>Verifying data for policy with id: 3d838aab-f4bb-4a34-b26b-6fc39f6c8ad3, fqn: ['default-domain', 'ctest-TestBasicPolicy-41446436', 'ctest-policy-allow-all-95272813']
2026-02-26 10:41:36,105 - INFO - VN ctest-vn-86579911 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-26 10:41:36,105 - DEBUG - Verifying the vn in opserver
2026-02-26 10:41:36,105 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-41446436:ctest-vn-86579911 virtual network link through opserver 10.0.0.41
2026-02-26 10:41:36,106 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks
2026-02-26 10:41:36,428 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks
2026-02-26 10:41:36,511 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-41446436:ctest-vn-86579911', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-41446436:ctest-vn-86579911?flat'}
2026-02-26 10:41:36,511 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-41446436:ctest-vn-86579911 is found in opserver
2026-02-26 10:41:36,524 - DEBUG - Do not have enough data to verify VN in agent
2026-02-26 10:41:36,532 - DEBUG - VRF ids for VN ctest-vn-86579911: {}
2026-02-26 10:41:36,532 - DEBUG - Requesting: http://10.0.0.41:8082/domains
2026-02-26 10:41:36,540 - DEBUG - Requesting: http://10.0.0.41:8082/domain/62a469fc-84b7-41c3-90b5-0670d8c8be9a
2026-02-26 10:41:36,554 - DEBUG - Requesting: http://10.0.0.41:8082/project/16da68a1-1891-4cea-9503-262e8f657333
2026-02-26 10:41:36,629 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/8f82ea0b-38a2-44f7-a109-232dc4a67127
2026-02-26 10:41:36,643 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/8f82ea0b-38a2-44f7-a109-232dc4a67127
2026-02-26 10:41:36,653 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/5539eb72-6987-4156-9378-0817f5f0d43b
2026-02-26 10:41:36,661 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/5539eb72-6987-4156-9378-0817f5f0d43b
2026-02-26 10:41:36,670 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/a20c3526-8235-488b-a5f2-8dbe3f724d00
2026-02-26 10:41:36,679 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-26 10:41:36,679 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/8f82ea0b-38a2-44f7-a109-232dc4a67127
2026-02-26 10:41:36,689 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/5539eb72-6987-4156-9378-0817f5f0d43b
2026-02-26 10:41:36,706 - INFO - Verified VN network id 12 for VN 8f82ea0b-38a2-44f7-a109-232dc4a67127
2026-02-26 10:41:36,706 - INFO - Verifications in API Server for VN ctest-vn-07444310 passed
2026-02-26 10:41:36,706 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/8f82ea0b-38a2-44f7-a109-232dc4a67127
2026-02-26 10:41:36,716 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/5539eb72-6987-4156-9378-0817f5f0d43b
2026-02-26 10:41:36,724 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/5539eb72-6987-4156-9378-0817f5f0d43b
2026-02-26 10:41:36,732 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/a20c3526-8235-488b-a5f2-8dbe3f724d00
2026-02-26 10:41:36,745 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-41446436:ctest-vn-07444310', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-41446436', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10341085028311778551', 'uuid-lslong': '11603844594376536359'}, 'enable': 'true', 'created': '2026-02-26T10:41:34', 'last-modified': '2026-02-26T10:41:35', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.520839'}
2026-02-26 10:41:36,751 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-26 10:41:36,752 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-07444310 passed
2026-02-26 10:41:36,752 - DEBUG - ====Verifying policy data for ctest-vn-07444310 in API_Server ======
2026-02-26 10:41:36,752 - DEBUG - Requesting: http://10.0.0.41:8082/domains
2026-02-26 10:41:36,760 - DEBUG - Requesting: http://10.0.0.41:8082/domain/62a469fc-84b7-41c3-90b5-0670d8c8be9a
2026-02-26 10:41:36,775 - DEBUG - Requesting: http://10.0.0.41:8082/project/16da68a1-1891-4cea-9503-262e8f657333
2026-02-26 10:41:36,848 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/8f82ea0b-38a2-44f7-a109-232dc4a67127
2026-02-26 10:41:36,858 - DEBUG - ==>Verifying data for policy with id: 3d838aab-f4bb-4a34-b26b-6fc39f6c8ad3, fqn: ['default-domain', 'ctest-TestBasicPolicy-41446436', 'ctest-policy-allow-all-95272813']
2026-02-26 10:41:36,858 - INFO - VN ctest-vn-07444310 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-26 10:41:36,858 - DEBUG - Verifying the vn in opserver
2026-02-26 10:41:36,858 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-41446436:ctest-vn-07444310 virtual network link through opserver 10.0.0.41
2026-02-26 10:41:36,858 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks
2026-02-26 10:41:36,870 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-41446436:ctest-vn-07444310', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-41446436:ctest-vn-07444310?flat'}
2026-02-26 10:41:36,870 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-41446436:ctest-vn-07444310 is found in opserver
2026-02-26 10:41:36,880 - DEBUG - Do not have enough data to verify VN in agent
2026-02-26 10:41:36,885 - DEBUG - VRF ids for VN ctest-vn-07444310: {}
2026-02-26 10:41:36,958 - DEBUG - Services list from nova: [