2026-11-06 18:29:20,242 - INFO - Domain Default found not creating
2026-11-06 18:29:20,451 - INFO - Project ctest-TestBasicPolicy-29625997 not found, creating it
2026-11-06 18:29:20,933 - INFO - Created Project:ctest-TestBasicPolicy-29625997, ID : 00ea3821-bf67-41f9-b359-a86e079239ac
2026-11-06 18:29:23,090 - INFO - ================================================================================
2026-11-06 18:29:23,091 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-11-06 18:29:23,091 - 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-11-06 18:29:23,362 - DEBUG - Nothing to compare xmpp stats {'10.0.0.185': {'10.20.0.17': '0'}} with
2026-11-06 18:29:23,362 - INFO - Initial checks done. Running the testcase now
2026-11-06 18:29:23,362 - INFO -
2026-11-06 18:29:24,013 - DEBUG - Response for create_network : {'network': {'id': 'f8a83749-9272-4f11-9e1d-20b9a8d064d5', 'name': 'ctest-vn-07387766', 'tenant_id': '00ea3821bf6741f9b359a86e079239ac', 'project_id': '00ea3821bf6741f9b359a86e079239ac', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29625997', 'ctest-vn-07387766'], 'port_security_enabled': True, 'description': ''}}
2026-11-06 18:29:24,246 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f94fb708-1d43-4441-829b-d0114d523c38', 'name': '', 'tenant_id': '00ea3821bf6741f9b359a86e079239ac', 'network_id': 'f8a83749-9272-4f11-9e1d-20b9a8d064d5', 'ip_version': 4, 'cidr': '26.250.185.192/26', 'allocation_pools': [{'start': '26.250.185.194', 'end': '26.250.185.254'}], 'gateway_ip': '26.250.185.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '26.250.185.194', 'tags': [], 'project_id': '00ea3821bf6741f9b359a86e079239ac'}}
2026-11-06 18:29:24,267 - INFO - Created VN ctest-vn-07387766
2026-11-06 18:29:24,322 - DEBUG - VN ctest-vn-07387766 UUID is f8a83749-9272-4f11-9e1d-20b9a8d064d5
2026-11-06 18:29:24,650 - DEBUG - Response for create_network : {'network': {'id': '59540f34-03a3-4bbc-adae-ad85917135d4', 'name': 'ctest-vn-02306632', 'tenant_id': '00ea3821bf6741f9b359a86e079239ac', 'project_id': '00ea3821bf6741f9b359a86e079239ac', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29625997', 'ctest-vn-02306632'], 'port_security_enabled': True, 'description': ''}}
2026-11-06 18:29:24,841 - DEBUG - Response for create_subnet : {'subnet': {'id': '0dd3949d-f94a-48e0-9cc3-80e53ae82132', 'name': '', 'tenant_id': '00ea3821bf6741f9b359a86e079239ac', 'network_id': '59540f34-03a3-4bbc-adae-ad85917135d4', 'ip_version': 4, 'cidr': '45.194.52.192/26', 'allocation_pools': [{'start': '45.194.52.194', 'end': '45.194.52.254'}], 'gateway_ip': '45.194.52.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '45.194.52.194', 'tags': [], 'project_id': '00ea3821bf6741f9b359a86e079239ac'}}
2026-11-06 18:29:24,860 - INFO - Created VN ctest-vn-02306632
2026-11-06 18:29:24,910 - DEBUG - VN ctest-vn-02306632 UUID is 59540f34-03a3-4bbc-adae-ad85917135d4
2026-11-06 18:29:25,062 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-29625997:ctest-vn-07387766, 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-29625997:ctest-vn-02306632, 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-11-06 18:29:25,358 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f8a83749-9272-4f11-9e1d-20b9a8d064d5', 'name': 'ctest-vn-07387766', 'tenant_id': '00ea3821bf6741f9b359a86e079239ac', 'project_id': '00ea3821bf6741f9b359a86e079239ac', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['f94fb708-1d43-4441-829b-d0114d523c38'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29625997', 'ctest-vn-07387766'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-29625997', 'ctest-policy-allow-all-52298622']], 'subnet_ipam': [{'subnet_cidr': '26.250.185.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-11-06 18:29:25,587 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '59540f34-03a3-4bbc-adae-ad85917135d4', 'name': 'ctest-vn-02306632', 'tenant_id': '00ea3821bf6741f9b359a86e079239ac', 'project_id': '00ea3821bf6741f9b359a86e079239ac', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['0dd3949d-f94a-48e0-9cc3-80e53ae82132'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29625997', 'ctest-vn-02306632'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-29625997', 'ctest-policy-allow-all-52298622']], 'subnet_ipam': [{'subnet_cidr': '45.194.52.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-11-06 18:29:25,746 - DEBUG - Requesting: http://10.0.0.185:8082/domains
2026-11-06 18:29:26,108 - DEBUG - Requesting: http://10.0.0.185:8082/domains
2026-11-06 18:29:26,134 - DEBUG - Requesting: http://10.0.0.185:8082/domain/cace9788-3e3c-415b-bec0-b3a500d11668
2026-11-06 18:29:26,146 - DEBUG - Requesting: http://10.0.0.185:8082/project/00ea3821-bf67-41f9-b359-a86e079239ac
2026-11-06 18:29:26,220 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/f8a83749-9272-4f11-9e1d-20b9a8d064d5
2026-11-06 18:29:26,231 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/f8a83749-9272-4f11-9e1d-20b9a8d064d5
2026-11-06 18:29:26,240 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/3e69b803-9bd9-4d0d-ab6b-618d7a2e60a9
2026-11-06 18:29:26,247 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/3e69b803-9bd9-4d0d-ab6b-618d7a2e60a9
2026-11-06 18:29:26,254 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/1b455482-a980-4f12-9446-4ef006c54e2b
2026-11-06 18:29:26,259 - DEBUG - Route Targets: ['target:64512:8000005']
2026-11-06 18:29:26,259 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/f8a83749-9272-4f11-9e1d-20b9a8d064d5
2026-11-06 18:29:26,268 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/3e69b803-9bd9-4d0d-ab6b-618d7a2e60a9
2026-11-06 18:29:26,281 - INFO - Verified VN network id 12 for VN f8a83749-9272-4f11-9e1d-20b9a8d064d5
2026-11-06 18:29:26,281 - INFO - Verifications in API Server for VN ctest-vn-07387766 passed
2026-11-06 18:29:26,281 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/f8a83749-9272-4f11-9e1d-20b9a8d064d5
2026-11-06 18:29:26,290 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/3e69b803-9bd9-4d0d-ab6b-618d7a2e60a9
2026-11-06 18:29:26,297 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/3e69b803-9bd9-4d0d-ab6b-618d7a2e60a9
2026-11-06 18:29:26,304 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/1b455482-a980-4f12-9446-4ef006c54e2b
2026-11-06 18:29:26,315 - DEBUG - Control-node 10.0.0.185 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-29625997:ctest-vn-07387766', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-29625997', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17917631906622623505', 'uuid-lslong': '11393298614090491093'}, 'enable': 'true', 'created': '2026-11-06T18:29:23', 'last-modified': '2026-11-06T18:29:25', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.981280'}
2026-11-06 18:29:26,322 - DEBUG - Route Targets: ['target:64512:8000005']
2026-11-06 18:29:26,323 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-07387766 passed
2026-11-06 18:29:26,323 - DEBUG - ====Verifying policy data for ctest-vn-07387766 in API_Server ======
2026-11-06 18:29:26,323 - DEBUG - Requesting: http://10.0.0.185:8082/domains
2026-11-06 18:29:26,329 - DEBUG - Requesting: http://10.0.0.185:8082/domain/cace9788-3e3c-415b-bec0-b3a500d11668
2026-11-06 18:29:26,340 - DEBUG - Requesting: http://10.0.0.185:8082/project/00ea3821-bf67-41f9-b359-a86e079239ac
2026-11-06 18:29:26,415 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/f8a83749-9272-4f11-9e1d-20b9a8d064d5
2026-11-06 18:29:26,425 - DEBUG - ==>Verifying data for policy with id: e4150cb0-34bc-4cbe-8b7e-b3422374bfe4, fqn: ['default-domain', 'ctest-TestBasicPolicy-29625997', 'ctest-policy-allow-all-52298622']
2026-11-06 18:29:26,425 - INFO - VN ctest-vn-07387766 Policy verification: verify_vn_policy_in_api_server, status: True
2026-11-06 18:29:26,425 - DEBUG - Verifying the vn in opserver
2026-11-06 18:29:26,425 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-29625997:ctest-vn-07387766 virtual network link through opserver 10.0.0.185
2026-11-06 18:29:26,425 - DEBUG - Requesting: http://10.0.0.185:8081/analytics/uves/virtual-networks
2026-11-06 18:29:26,788 - DEBUG - Requesting: http://10.0.0.185:8081/analytics/uves/virtual-networks
2026-11-06 18:29:26,841 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-29625997:ctest-vn-07387766', 'href': 'http://10.0.0.185:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-29625997:ctest-vn-07387766?flat'}
2026-11-06 18:29:26,841 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-29625997:ctest-vn-07387766 is found in opserver
2026-11-06 18:29:26,854 - DEBUG - Do not have enough data to verify VN in agent
2026-11-06 18:29:26,859 - DEBUG - VRF ids for VN ctest-vn-07387766: {}
2026-11-06 18:29:26,859 - DEBUG - Requesting: http://10.0.0.185:8082/domains
2026-11-06 18:29:26,865 - DEBUG - Requesting: http://10.0.0.185:8082/domain/cace9788-3e3c-415b-bec0-b3a500d11668
2026-11-06 18:29:26,874 - DEBUG - Requesting: http://10.0.0.185:8082/project/00ea3821-bf67-41f9-b359-a86e079239ac
2026-11-06 18:29:26,947 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/59540f34-03a3-4bbc-adae-ad85917135d4
2026-11-06 18:29:26,959 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/59540f34-03a3-4bbc-adae-ad85917135d4
2026-11-06 18:29:26,967 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/3282ff16-ab4b-4e8b-abb1-66dd8222f5a0
2026-11-06 18:29:26,974 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/3282ff16-ab4b-4e8b-abb1-66dd8222f5a0
2026-11-06 18:29:26,980 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/3d92fff7-2a1d-445e-9745-4634a7836ccc
2026-11-06 18:29:26,986 - DEBUG - Route Targets: ['target:64512:8000006']
2026-11-06 18:29:26,987 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/59540f34-03a3-4bbc-adae-ad85917135d4
2026-11-06 18:29:26,995 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/3282ff16-ab4b-4e8b-abb1-66dd8222f5a0
2026-11-06 18:29:27,009 - INFO - Verified VN network id 13 for VN 59540f34-03a3-4bbc-adae-ad85917135d4
2026-11-06 18:29:27,009 - INFO - Verifications in API Server for VN ctest-vn-02306632 passed
2026-11-06 18:29:27,009 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/59540f34-03a3-4bbc-adae-ad85917135d4
2026-11-06 18:29:27,019 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/3282ff16-ab4b-4e8b-abb1-66dd8222f5a0
2026-11-06 18:29:27,025 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/3282ff16-ab4b-4e8b-abb1-66dd8222f5a0
2026-11-06 18:29:27,031 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/3d92fff7-2a1d-445e-9745-4634a7836ccc
2026-11-06 18:29:27,045 - DEBUG - Control-node 10.0.0.185 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-29625997:ctest-vn-02306632', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-29625997', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6436786483493030844', 'uuid-lslong': '12515131203691558356'}, 'enable': 'true', 'created': '2026-11-06T18:29:24', 'last-modified': '2026-11-06T18:29:25', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.482384'}
2026-11-06 18:29:27,051 - DEBUG - Route Targets: ['target:64512:8000006']
2026-11-06 18:29:27,051 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-02306632 passed
2026-11-06 18:29:27,051 - DEBUG - ====Verifying policy data for ctest-vn-02306632 in API_Server ======
2026-11-06 18:29:27,051 - DEBUG - Requesting: http://10.0.0.185:8082/domains
2026-11-06 18:29:27,058 - DEBUG - Requesting: http://10.0.0.185:8082/domain/cace9788-3e3c-415b-bec0-b3a500d11668
2026-11-06 18:29:27,070 - DEBUG - Requesting: http://10.0.0.185:8082/project/00ea3821-bf67-41f9-b359-a86e079239ac
2026-11-06 18:29:27,138 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/59540f34-03a3-4bbc-adae-ad85917135d4
2026-11-06 18:29:27,149 - DEBUG - ==>Verifying data for policy with id: e4150cb0-34bc-4cbe-8b7e-b3422374bfe4, fqn: ['default-domain', 'ctest-TestBasicPolicy-29625997', 'ctest-policy-allow-all-52298622']
2026-11-06 18:29:27,149 - INFO - VN ctest-vn-02306632 Policy verification: verify_vn_policy_in_api_server, status: True
2026-11-06 18:29:27,149 - DEBUG - Verifying the vn in opserver
2026-11-06 18:29:27,149 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-29625997:ctest-vn-02306632 virtual network link through opserver 10.0.0.185
2026-11-06 18:29:27,149 - DEBUG - Requesting: http://10.0.0.185:8081/analytics/uves/virtual-networks
2026-11-06 18:29:27,159 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-29625997:ctest-vn-02306632', 'href': 'http://10.0.0.185:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-29625997:ctest-vn-02306632?flat'}
2026-11-06 18:29:27,159 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-29625997:ctest-vn-02306632 is found in opserver
2026-11-06 18:29:27,170 - DEBUG - Do not have enough data to verify VN in agent
2026-11-06 18:29:27,174 - DEBUG - VRF ids for VN ctest-vn-02306632: {}
2026-11-06 18:29:27,235 - DEBUG - Services list from nova: [