2026-10-05 02:35:00,489 - INFO - Domain Default found not creating
2026-10-05 02:35:00,675 - INFO - Project ctest-TestBasicPolicy-39306738 not found, creating it
2026-10-05 02:35:01,181 - INFO - Created Project:ctest-TestBasicPolicy-39306738, ID : ac3ac63a-5827-4205-b68c-90b4007d8f9d
2026-10-05 02:35:02,946 - INFO - ================================================================================
2026-10-05 02:35:02,946 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-10-05 02:35:02,946 - 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-10-05 02:35:03,224 - DEBUG - Nothing to compare xmpp stats {'10.0.0.189': {'10.20.0.17': '0'}} with
2026-10-05 02:35:03,224 - INFO - Initial checks done. Running the testcase now
2026-10-05 02:35:03,224 - INFO -
2026-10-05 02:35:03,912 - DEBUG - Response for create_network : {'network': {'id': '97ea23bd-dfcc-4b2b-9fd1-fe5bee179dc1', 'name': 'ctest-vn-32448022', 'tenant_id': 'ac3ac63a58274205b68c90b4007d8f9d', 'project_id': 'ac3ac63a58274205b68c90b4007d8f9d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-39306738', 'ctest-vn-32448022'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}}
2026-10-05 02:35:04,163 - DEBUG - Response for create_subnet : {'subnet': {'id': '9eab83ce-31cb-4a14-9eba-2e080f53eca2', 'name': '', 'tenant_id': 'ac3ac63a58274205b68c90b4007d8f9d', 'network_id': '97ea23bd-dfcc-4b2b-9fd1-fe5bee179dc1', 'ip_version': 4, 'cidr': '140.174.162.64/26', 'allocation_pools': [{'start': '140.174.162.66', 'end': '140.174.162.126'}], 'gateway_ip': '140.174.162.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-10-05T02:35:04.083549', 'updated_at': '2026-10-05T02:35:04.083549', 'dns_server_address': '140.174.162.66', 'tags': [], 'project_id': 'ac3ac63a58274205b68c90b4007d8f9d'}}
2026-10-05 02:35:04,182 - INFO - Created VN ctest-vn-32448022
2026-10-05 02:35:04,237 - DEBUG - VN ctest-vn-32448022 UUID is 97ea23bd-dfcc-4b2b-9fd1-fe5bee179dc1
2026-10-05 02:35:04,565 - DEBUG - Response for create_network : {'network': {'id': 'feaec81c-f2f3-4a02-9f6a-240332b859c1', 'name': 'ctest-vn-89571208', 'tenant_id': 'ac3ac63a58274205b68c90b4007d8f9d', 'project_id': 'ac3ac63a58274205b68c90b4007d8f9d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-39306738', 'ctest-vn-89571208'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}}
2026-10-05 02:35:04,759 - DEBUG - Response for create_subnet : {'subnet': {'id': '8bcb21f1-76df-4f42-9528-173422083ed2', 'name': '', 'tenant_id': 'ac3ac63a58274205b68c90b4007d8f9d', 'network_id': 'feaec81c-f2f3-4a02-9f6a-240332b859c1', 'ip_version': 4, 'cidr': '222.0.69.64/26', 'allocation_pools': [{'start': '222.0.69.66', 'end': '222.0.69.126'}], 'gateway_ip': '222.0.69.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-10-05T02:35:04.669014', 'updated_at': '2026-10-05T02:35:04.669014', 'dns_server_address': '222.0.69.66', 'tags': [], 'project_id': 'ac3ac63a58274205b68c90b4007d8f9d'}}
2026-10-05 02:35:04,779 - INFO - Created VN ctest-vn-89571208
2026-10-05 02:35:04,837 - DEBUG - VN ctest-vn-89571208 UUID is feaec81c-f2f3-4a02-9f6a-240332b859c1
2026-10-05 02:35:04,954 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-39306738:ctest-vn-32448022, 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-39306738:ctest-vn-89571208, 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-10-05 02:35:05,285 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '97ea23bd-dfcc-4b2b-9fd1-fe5bee179dc1', 'name': 'ctest-vn-32448022', 'tenant_id': 'ac3ac63a58274205b68c90b4007d8f9d', 'project_id': 'ac3ac63a58274205b68c90b4007d8f9d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['9eab83ce-31cb-4a14-9eba-2e080f53eca2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-39306738', 'ctest-vn-32448022'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-39306738', 'ctest-policy-allow-all-47892652']], 'subnet_ipam': [{'subnet_cidr': '140.174.162.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2026-10-05T02:35:03.860658', 'updated_at': '2026-10-05T02:35:04.103723'}}
2026-10-05 02:35:05,532 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'feaec81c-f2f3-4a02-9f6a-240332b859c1', 'name': 'ctest-vn-89571208', 'tenant_id': 'ac3ac63a58274205b68c90b4007d8f9d', 'project_id': 'ac3ac63a58274205b68c90b4007d8f9d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['8bcb21f1-76df-4f42-9528-173422083ed2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-39306738', 'ctest-vn-89571208'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-39306738', 'ctest-policy-allow-all-47892652']], 'subnet_ipam': [{'subnet_cidr': '222.0.69.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2026-10-05T02:35:04.529577', 'updated_at': '2026-10-05T02:35:04.686063'}}
2026-10-05 02:35:05,713 - DEBUG - Requesting: http://10.0.0.189:8082/domains
2026-10-05 02:35:06,083 - DEBUG - Requesting: http://10.0.0.189:8082/domains
2026-10-05 02:35:06,113 - DEBUG - Requesting: http://10.0.0.189:8082/domain/0b8ee711-f80c-4e12-9708-e42c50e3f596
2026-10-05 02:35:06,129 - DEBUG - Requesting: http://10.0.0.189:8082/project/ac3ac63a-5827-4205-b68c-90b4007d8f9d
2026-10-05 02:35:06,214 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/97ea23bd-dfcc-4b2b-9fd1-fe5bee179dc1
2026-10-05 02:35:06,230 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/97ea23bd-dfcc-4b2b-9fd1-fe5bee179dc1
2026-10-05 02:35:06,242 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/d8916212-ed03-4b37-a31f-060328cef57b
2026-10-05 02:35:06,252 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/d8916212-ed03-4b37-a31f-060328cef57b
2026-10-05 02:35:06,260 - DEBUG - Requesting: http://10.0.0.189:8082/route-target/ce8ae5db-9e45-4e93-b8b1-2e8aee1ac1db
2026-10-05 02:35:06,268 - DEBUG - Route Targets: ['target:64512:8000005']
2026-10-05 02:35:06,268 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/97ea23bd-dfcc-4b2b-9fd1-fe5bee179dc1
2026-10-05 02:35:06,279 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/d8916212-ed03-4b37-a31f-060328cef57b
2026-10-05 02:35:06,298 - INFO - Verified VN network id 12 for VN 97ea23bd-dfcc-4b2b-9fd1-fe5bee179dc1
2026-10-05 02:35:06,298 - INFO - Verifications in API Server for VN ctest-vn-32448022 passed
2026-10-05 02:35:06,298 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/97ea23bd-dfcc-4b2b-9fd1-fe5bee179dc1
2026-10-05 02:35:06,311 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/d8916212-ed03-4b37-a31f-060328cef57b
2026-10-05 02:35:06,320 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/d8916212-ed03-4b37-a31f-060328cef57b
2026-10-05 02:35:06,329 - DEBUG - Requesting: http://10.0.0.189:8082/route-target/ce8ae5db-9e45-4e93-b8b1-2e8aee1ac1db
2026-10-05 02:35:06,343 - DEBUG - Control-node 10.0.0.189 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-39306738:ctest-vn-32448022', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-39306738', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10946601142687910699', 'uuid-lslong': '11516265392953073089'}, 'enable': 'true', 'created': '2026-10-05T02:35:03', 'last-modified': '2026-10-05T02:35:05', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.090817'}
2026-10-05 02:35:06,351 - DEBUG - Route Targets: ['target:64512:8000005']
2026-10-05 02:35:06,351 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-32448022 passed
2026-10-05 02:35:06,351 - DEBUG - ====Verifying policy data for ctest-vn-32448022 in API_Server ======
2026-10-05 02:35:06,351 - DEBUG - Requesting: http://10.0.0.189:8082/domains
2026-10-05 02:35:06,358 - DEBUG - Requesting: http://10.0.0.189:8082/domain/0b8ee711-f80c-4e12-9708-e42c50e3f596
2026-10-05 02:35:06,371 - DEBUG - Requesting: http://10.0.0.189:8082/project/ac3ac63a-5827-4205-b68c-90b4007d8f9d
2026-10-05 02:35:06,448 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/97ea23bd-dfcc-4b2b-9fd1-fe5bee179dc1
2026-10-05 02:35:06,460 - DEBUG - ==>Verifying data for policy with id: a84c4520-e6ed-4dea-b1db-28a91ff65f97, fqn: ['default-domain', 'ctest-TestBasicPolicy-39306738', 'ctest-policy-allow-all-47892652']
2026-10-05 02:35:06,460 - INFO - VN ctest-vn-32448022 Policy verification: verify_vn_policy_in_api_server, status: True
2026-10-05 02:35:06,460 - DEBUG - Verifying the vn in opserver
2026-10-05 02:35:06,460 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-39306738:ctest-vn-32448022 virtual network link through opserver 10.0.0.189
2026-10-05 02:35:06,461 - DEBUG - Requesting: http://10.0.0.189:8081/analytics/uves/virtual-networks
2026-10-05 02:35:06,835 - DEBUG - Requesting: http://10.0.0.189:8081/analytics/uves/virtual-networks
2026-10-05 02:35:06,895 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-39306738:ctest-vn-32448022', 'href': 'http://10.0.0.189:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-39306738:ctest-vn-32448022?flat'}
2026-10-05 02:35:06,895 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-39306738:ctest-vn-32448022 is found in opserver
2026-10-05 02:35:06,908 - DEBUG - Do not have enough data to verify VN in agent
2026-10-05 02:35:06,913 - DEBUG - VRF ids for VN ctest-vn-32448022: {}
2026-10-05 02:35:06,913 - DEBUG - Requesting: http://10.0.0.189:8082/domains
2026-10-05 02:35:06,920 - DEBUG - Requesting: http://10.0.0.189:8082/domain/0b8ee711-f80c-4e12-9708-e42c50e3f596
2026-10-05 02:35:06,939 - DEBUG - Requesting: http://10.0.0.189:8082/project/ac3ac63a-5827-4205-b68c-90b4007d8f9d
2026-10-05 02:35:07,031 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/feaec81c-f2f3-4a02-9f6a-240332b859c1
2026-10-05 02:35:07,045 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/feaec81c-f2f3-4a02-9f6a-240332b859c1
2026-10-05 02:35:07,057 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/0216687e-d261-435e-9717-d1e6cb3dc9a5
2026-10-05 02:35:07,066 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/0216687e-d261-435e-9717-d1e6cb3dc9a5
2026-10-05 02:35:07,075 - DEBUG - Requesting: http://10.0.0.189:8082/route-target/0a1c0bec-75e4-4ce9-8b38-7c23130b4232
2026-10-05 02:35:07,084 - DEBUG - Route Targets: ['target:64512:8000006']
2026-10-05 02:35:07,084 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/feaec81c-f2f3-4a02-9f6a-240332b859c1
2026-10-05 02:35:07,095 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/0216687e-d261-435e-9717-d1e6cb3dc9a5
2026-10-05 02:35:07,114 - INFO - Verified VN network id 13 for VN feaec81c-f2f3-4a02-9f6a-240332b859c1
2026-10-05 02:35:07,114 - INFO - Verifications in API Server for VN ctest-vn-89571208 passed
2026-10-05 02:35:07,114 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/feaec81c-f2f3-4a02-9f6a-240332b859c1
2026-10-05 02:35:07,126 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/0216687e-d261-435e-9717-d1e6cb3dc9a5
2026-10-05 02:35:07,134 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/0216687e-d261-435e-9717-d1e6cb3dc9a5
2026-10-05 02:35:07,143 - DEBUG - Requesting: http://10.0.0.189:8082/route-target/0a1c0bec-75e4-4ce9-8b38-7c23130b4232
2026-10-05 02:35:07,159 - DEBUG - Control-node 10.0.0.189 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-39306738:ctest-vn-89571208', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-39306738', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18351825558242019842', 'uuid-lslong': '11487033395716315585'}, 'enable': 'true', 'created': '2026-10-05T02:35:04', 'last-modified': '2026-10-05T02:35:05', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.647392'}
2026-10-05 02:35:07,166 - DEBUG - Route Targets: ['target:64512:8000006']
2026-10-05 02:35:07,166 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-89571208 passed
2026-10-05 02:35:07,166 - DEBUG - ====Verifying policy data for ctest-vn-89571208 in API_Server ======
2026-10-05 02:35:07,166 - DEBUG - Requesting: http://10.0.0.189:8082/domains
2026-10-05 02:35:07,173 - DEBUG - Requesting: http://10.0.0.189:8082/domain/0b8ee711-f80c-4e12-9708-e42c50e3f596
2026-10-05 02:35:07,187 - DEBUG - Requesting: http://10.0.0.189:8082/project/ac3ac63a-5827-4205-b68c-90b4007d8f9d
2026-10-05 02:35:07,276 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/feaec81c-f2f3-4a02-9f6a-240332b859c1
2026-10-05 02:35:07,287 - DEBUG - ==>Verifying data for policy with id: a84c4520-e6ed-4dea-b1db-28a91ff65f97, fqn: ['default-domain', 'ctest-TestBasicPolicy-39306738', 'ctest-policy-allow-all-47892652']
2026-10-05 02:35:07,287 - INFO - VN ctest-vn-89571208 Policy verification: verify_vn_policy_in_api_server, status: True
2026-10-05 02:35:07,287 - DEBUG - Verifying the vn in opserver
2026-10-05 02:35:07,287 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-39306738:ctest-vn-89571208 virtual network link through opserver 10.0.0.189
2026-10-05 02:35:07,287 - DEBUG - Requesting: http://10.0.0.189:8081/analytics/uves/virtual-networks
2026-10-05 02:35:07,300 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-39306738:ctest-vn-89571208', 'href': 'http://10.0.0.189:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-39306738:ctest-vn-89571208?flat'}
2026-10-05 02:35:07,300 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-39306738:ctest-vn-89571208 is found in opserver
2026-10-05 02:35:07,312 - DEBUG - Do not have enough data to verify VN in agent
2026-10-05 02:35:07,317 - DEBUG - VRF ids for VN ctest-vn-89571208: {}
2026-10-05 02:35:07,384 - DEBUG - Services list from nova: [