2026-07-30 11:47:53,742 - INFO - Domain Default found not creating
2026-07-30 11:47:53,915 - INFO - Project ctest-TestBasicPolicy-14634674 not found, creating it
2026-07-30 11:47:54,423 - INFO - Created Project:ctest-TestBasicPolicy-14634674, ID : 971219e7-210a-4aca-a1af-965f66e1607d
2026-07-30 11:47:56,056 - INFO - ================================================================================
2026-07-30 11:47:56,057 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-07-30 11:47:56,057 - 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-07-30 11:47:56,327 - DEBUG - Nothing to compare xmpp stats {'10.0.0.177': {'10.20.0.17': '0'}} with
2026-07-30 11:47:56,327 - INFO - Initial checks done. Running the testcase now
2026-07-30 11:47:56,327 - INFO -
2026-07-30 11:47:56,905 - DEBUG - Response for create_network : {'network': {'id': 'c5295a1e-3cda-44f7-afb5-0cff00fb0fdb', 'name': 'ctest-vn-39695949', 'tenant_id': '971219e7210a4acaa1af965f66e1607d', 'project_id': '971219e7210a4acaa1af965f66e1607d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-14634674', 'ctest-vn-39695949'], 'port_security_enabled': True, 'description': ''}}
2026-07-30 11:47:57,093 - DEBUG - Response for create_subnet : {'subnet': {'id': '376b51a6-a8d8-4f28-9ff9-36f25ba39b72', 'name': '', 'tenant_id': '971219e7210a4acaa1af965f66e1607d', 'network_id': 'c5295a1e-3cda-44f7-afb5-0cff00fb0fdb', 'ip_version': 4, 'cidr': '31.139.198.128/26', 'allocation_pools': [{'start': '31.139.198.130', 'end': '31.139.198.190'}], 'gateway_ip': '31.139.198.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '31.139.198.130', 'tags': [], 'project_id': '971219e7210a4acaa1af965f66e1607d'}}
2026-07-30 11:47:57,113 - INFO - Created VN ctest-vn-39695949
2026-07-30 11:47:57,166 - DEBUG - VN ctest-vn-39695949 UUID is c5295a1e-3cda-44f7-afb5-0cff00fb0fdb
2026-07-30 11:47:57,471 - DEBUG - Response for create_network : {'network': {'id': '9ab5dc84-68fa-4046-a057-0acf5c8148db', 'name': 'ctest-vn-38581155', 'tenant_id': '971219e7210a4acaa1af965f66e1607d', 'project_id': '971219e7210a4acaa1af965f66e1607d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-14634674', 'ctest-vn-38581155'], 'port_security_enabled': True, 'description': ''}}
2026-07-30 11:47:57,686 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ca6eb7bd-be20-4a18-9a6c-af154d7bdd0d', 'name': '', 'tenant_id': '971219e7210a4acaa1af965f66e1607d', 'network_id': '9ab5dc84-68fa-4046-a057-0acf5c8148db', 'ip_version': 4, 'cidr': '68.198.188.0/26', 'allocation_pools': [{'start': '68.198.188.2', 'end': '68.198.188.62'}], 'gateway_ip': '68.198.188.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '68.198.188.2', 'tags': [], 'project_id': '971219e7210a4acaa1af965f66e1607d'}}
2026-07-30 11:47:57,706 - INFO - Created VN ctest-vn-38581155
2026-07-30 11:47:57,758 - DEBUG - VN ctest-vn-38581155 UUID is 9ab5dc84-68fa-4046-a057-0acf5c8148db
2026-07-30 11:47:57,914 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-14634674:ctest-vn-39695949, 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-14634674:ctest-vn-38581155, 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-07-30 11:47:58,252 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c5295a1e-3cda-44f7-afb5-0cff00fb0fdb', 'name': 'ctest-vn-39695949', 'tenant_id': '971219e7210a4acaa1af965f66e1607d', 'project_id': '971219e7210a4acaa1af965f66e1607d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['376b51a6-a8d8-4f28-9ff9-36f25ba39b72'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-14634674', 'ctest-vn-39695949'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-14634674', 'ctest-policy-allow-all-74077657']], 'subnet_ipam': [{'subnet_cidr': '31.139.198.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-07-30 11:47:58,499 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9ab5dc84-68fa-4046-a057-0acf5c8148db', 'name': 'ctest-vn-38581155', 'tenant_id': '971219e7210a4acaa1af965f66e1607d', 'project_id': '971219e7210a4acaa1af965f66e1607d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ca6eb7bd-be20-4a18-9a6c-af154d7bdd0d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-14634674', 'ctest-vn-38581155'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-14634674', 'ctest-policy-allow-all-74077657']], 'subnet_ipam': [{'subnet_cidr': '68.198.188.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-07-30 11:47:58,637 - DEBUG - Requesting: http://10.0.0.177:8082/domains
2026-07-30 11:47:58,992 - DEBUG - Requesting: http://10.0.0.177:8082/domains
2026-07-30 11:47:59,022 - DEBUG - Requesting: http://10.0.0.177:8082/domain/65285694-cfd7-4d2e-b025-d0a97f937084
2026-07-30 11:47:59,038 - DEBUG - Requesting: http://10.0.0.177:8082/project/971219e7-210a-4aca-a1af-965f66e1607d
2026-07-30 11:47:59,119 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/c5295a1e-3cda-44f7-afb5-0cff00fb0fdb
2026-07-30 11:47:59,134 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/c5295a1e-3cda-44f7-afb5-0cff00fb0fdb
2026-07-30 11:47:59,145 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/72866d37-bd4f-43ab-bf95-5d3851868475
2026-07-30 11:47:59,154 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/72866d37-bd4f-43ab-bf95-5d3851868475
2026-07-30 11:47:59,162 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/f809326c-395f-4fe3-b75c-2b7dc1180bbf
2026-07-30 11:47:59,171 - DEBUG - Route Targets: ['target:64512:8000004']
2026-07-30 11:47:59,171 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/c5295a1e-3cda-44f7-afb5-0cff00fb0fdb
2026-07-30 11:47:59,183 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/72866d37-bd4f-43ab-bf95-5d3851868475
2026-07-30 11:47:59,199 - INFO - Verified VN network id 11 for VN c5295a1e-3cda-44f7-afb5-0cff00fb0fdb
2026-07-30 11:47:59,199 - INFO - Verifications in API Server for VN ctest-vn-39695949 passed
2026-07-30 11:47:59,199 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/c5295a1e-3cda-44f7-afb5-0cff00fb0fdb
2026-07-30 11:47:59,210 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/72866d37-bd4f-43ab-bf95-5d3851868475
2026-07-30 11:47:59,218 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/72866d37-bd4f-43ab-bf95-5d3851868475
2026-07-30 11:47:59,226 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/f809326c-395f-4fe3-b75c-2b7dc1180bbf
2026-07-30 11:47:59,240 - DEBUG - Control-node 10.0.0.177 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-14634674:ctest-vn-39695949', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-14634674', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14206985585433396471', 'uuid-lslong': '12661040216794664923'}, 'enable': 'true', 'created': '2026-07-30T11:47:56', 'last-modified': '2026-07-30T11:47:58', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.017714'}
2026-07-30 11:47:59,247 - DEBUG - Route Targets: ['target:64512:8000004']
2026-07-30 11:47:59,247 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-39695949 passed
2026-07-30 11:47:59,247 - DEBUG - ====Verifying policy data for ctest-vn-39695949 in API_Server ======
2026-07-30 11:47:59,247 - DEBUG - Requesting: http://10.0.0.177:8082/domains
2026-07-30 11:47:59,253 - DEBUG - Requesting: http://10.0.0.177:8082/domain/65285694-cfd7-4d2e-b025-d0a97f937084
2026-07-30 11:47:59,264 - DEBUG - Requesting: http://10.0.0.177:8082/project/971219e7-210a-4aca-a1af-965f66e1607d
2026-07-30 11:47:59,342 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/c5295a1e-3cda-44f7-afb5-0cff00fb0fdb
2026-07-30 11:47:59,351 - DEBUG - ==>Verifying data for policy with id: cd871d61-15fe-4792-b051-dcaf1eaafb7b, fqn: ['default-domain', 'ctest-TestBasicPolicy-14634674', 'ctest-policy-allow-all-74077657']
2026-07-30 11:47:59,351 - INFO - VN ctest-vn-39695949 Policy verification: verify_vn_policy_in_api_server, status: True
2026-07-30 11:47:59,351 - DEBUG - Verifying the vn in opserver
2026-07-30 11:47:59,351 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-14634674:ctest-vn-39695949 virtual network link through opserver 10.0.0.177
2026-07-30 11:47:59,352 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks
2026-07-30 11:47:59,676 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks
2026-07-30 11:47:59,733 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-14634674:ctest-vn-39695949', 'href': 'http://10.0.0.177:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-14634674:ctest-vn-39695949?flat'}
2026-07-30 11:47:59,733 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-14634674:ctest-vn-39695949 is found in opserver
2026-07-30 11:47:59,746 - DEBUG - Do not have enough data to verify VN in agent
2026-07-30 11:47:59,751 - DEBUG - VRF ids for VN ctest-vn-39695949: {}
2026-07-30 11:47:59,751 - DEBUG - Requesting: http://10.0.0.177:8082/domains
2026-07-30 11:47:59,758 - DEBUG - Requesting: http://10.0.0.177:8082/domain/65285694-cfd7-4d2e-b025-d0a97f937084
2026-07-30 11:47:59,769 - DEBUG - Requesting: http://10.0.0.177:8082/project/971219e7-210a-4aca-a1af-965f66e1607d
2026-07-30 11:47:59,845 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/9ab5dc84-68fa-4046-a057-0acf5c8148db
2026-07-30 11:47:59,857 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/9ab5dc84-68fa-4046-a057-0acf5c8148db
2026-07-30 11:47:59,867 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/f87c5f95-8dd8-4f15-a069-1429a67d5b0f
2026-07-30 11:47:59,875 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/f87c5f95-8dd8-4f15-a069-1429a67d5b0f
2026-07-30 11:47:59,882 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/febed15e-4549-454f-b44d-44a12f39bd8c
2026-07-30 11:47:59,890 - DEBUG - Route Targets: ['target:64512:8000005']
2026-07-30 11:47:59,890 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/9ab5dc84-68fa-4046-a057-0acf5c8148db
2026-07-30 11:47:59,902 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/f87c5f95-8dd8-4f15-a069-1429a67d5b0f
2026-07-30 11:47:59,919 - INFO - Verified VN network id 12 for VN 9ab5dc84-68fa-4046-a057-0acf5c8148db
2026-07-30 11:47:59,919 - INFO - Verifications in API Server for VN ctest-vn-38581155 passed
2026-07-30 11:47:59,919 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/9ab5dc84-68fa-4046-a057-0acf5c8148db
2026-07-30 11:47:59,931 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/f87c5f95-8dd8-4f15-a069-1429a67d5b0f
2026-07-30 11:47:59,939 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/f87c5f95-8dd8-4f15-a069-1429a67d5b0f
2026-07-30 11:47:59,947 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/febed15e-4549-454f-b44d-44a12f39bd8c
2026-07-30 11:47:59,962 - DEBUG - Control-node 10.0.0.177 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-14634674:ctest-vn-38581155', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-14634674', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11148058913880555590', 'uuid-lslong': '11553715254768781531'}, 'enable': 'true', 'created': '2026-07-30T11:47:57', 'last-modified': '2026-07-30T11:47:58', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.491465'}
2026-07-30 11:47:59,970 - DEBUG - Route Targets: ['target:64512:8000005']
2026-07-30 11:47:59,970 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-38581155 passed
2026-07-30 11:47:59,970 - DEBUG - ====Verifying policy data for ctest-vn-38581155 in API_Server ======
2026-07-30 11:47:59,970 - DEBUG - Requesting: http://10.0.0.177:8082/domains
2026-07-30 11:47:59,978 - DEBUG - Requesting: http://10.0.0.177:8082/domain/65285694-cfd7-4d2e-b025-d0a97f937084
2026-07-30 11:47:59,992 - DEBUG - Requesting: http://10.0.0.177:8082/project/971219e7-210a-4aca-a1af-965f66e1607d
2026-07-30 11:48:00,084 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/9ab5dc84-68fa-4046-a057-0acf5c8148db
2026-07-30 11:48:00,097 - DEBUG - ==>Verifying data for policy with id: cd871d61-15fe-4792-b051-dcaf1eaafb7b, fqn: ['default-domain', 'ctest-TestBasicPolicy-14634674', 'ctest-policy-allow-all-74077657']
2026-07-30 11:48:00,097 - INFO - VN ctest-vn-38581155 Policy verification: verify_vn_policy_in_api_server, status: True
2026-07-30 11:48:00,097 - DEBUG - Verifying the vn in opserver
2026-07-30 11:48:00,097 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-14634674:ctest-vn-38581155 virtual network link through opserver 10.0.0.177
2026-07-30 11:48:00,097 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks
2026-07-30 11:48:00,111 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-14634674:ctest-vn-38581155', 'href': 'http://10.0.0.177:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-14634674:ctest-vn-38581155?flat'}
2026-07-30 11:48:00,111 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-14634674:ctest-vn-38581155 is found in opserver
2026-07-30 11:48:00,123 - DEBUG - Do not have enough data to verify VN in agent
2026-07-30 11:48:00,129 - DEBUG - VRF ids for VN ctest-vn-38581155: {}
2026-07-30 11:48:00,199 - DEBUG - Services list from nova: [