2026-09-30 07:29:40,911 - INFO - Domain Default found not creating
2026-09-30 07:29:41,114 - INFO - Project ctest-TestBasicPolicy-74942667 not found, creating it
2026-09-30 07:29:41,644 - INFO - Created Project:ctest-TestBasicPolicy-74942667, ID : 20b0b39b-1ca5-49a0-a2ea-bec4788a4c44
2026-09-30 07:29:43,515 - INFO - ================================================================================
2026-09-30 07:29:43,515 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-09-30 07:29:43,516 - 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-09-30 07:29:43,786 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.25': '0'}} with
2026-09-30 07:29:43,787 - INFO - Initial checks done. Running the testcase now
2026-09-30 07:29:43,787 - INFO -
2026-09-30 07:29:44,487 - DEBUG - Response for create_network : {'network': {'id': 'c9af2443-8b56-45f7-b280-87989ceb897e', 'name': 'ctest-vn-49368245', 'tenant_id': '20b0b39b1ca549a0a2eabec4788a4c44', 'project_id': '20b0b39b1ca549a0a2eabec4788a4c44', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74942667', 'ctest-vn-49368245'], 'port_security_enabled': True, 'description': ''}}
2026-09-30 07:29:44,729 - DEBUG - Response for create_subnet : {'subnet': {'id': '47dd7956-acc7-42c2-990f-596286ec9168', 'name': '', 'tenant_id': '20b0b39b1ca549a0a2eabec4788a4c44', 'network_id': 'c9af2443-8b56-45f7-b280-87989ceb897e', 'ip_version': 4, 'cidr': '180.185.139.64/26', 'allocation_pools': [{'start': '180.185.139.66', 'end': '180.185.139.126'}], 'gateway_ip': '180.185.139.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '180.185.139.66', 'tags': [], 'project_id': '20b0b39b1ca549a0a2eabec4788a4c44'}}
2026-09-30 07:29:44,752 - INFO - Created VN ctest-vn-49368245
2026-09-30 07:29:44,808 - DEBUG - VN ctest-vn-49368245 UUID is c9af2443-8b56-45f7-b280-87989ceb897e
2026-09-30 07:29:45,157 - DEBUG - Response for create_network : {'network': {'id': 'c3a83bdd-b04a-452e-99ae-5c505ff530dc', 'name': 'ctest-vn-69474274', 'tenant_id': '20b0b39b1ca549a0a2eabec4788a4c44', 'project_id': '20b0b39b1ca549a0a2eabec4788a4c44', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74942667', 'ctest-vn-69474274'], 'port_security_enabled': True, 'description': ''}}
2026-09-30 07:29:45,410 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e27d1d35-6f40-4e96-9a00-7d963c7ed7fd', 'name': '', 'tenant_id': '20b0b39b1ca549a0a2eabec4788a4c44', 'network_id': 'c3a83bdd-b04a-452e-99ae-5c505ff530dc', 'ip_version': 4, 'cidr': '142.219.104.64/26', 'allocation_pools': [{'start': '142.219.104.66', 'end': '142.219.104.126'}], 'gateway_ip': '142.219.104.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '142.219.104.66', 'tags': [], 'project_id': '20b0b39b1ca549a0a2eabec4788a4c44'}}
2026-09-30 07:29:45,428 - INFO - Created VN ctest-vn-69474274
2026-09-30 07:29:45,484 - DEBUG - VN ctest-vn-69474274 UUID is c3a83bdd-b04a-452e-99ae-5c505ff530dc
2026-09-30 07:29:45,601 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-74942667:ctest-vn-49368245, 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-74942667:ctest-vn-69474274, 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-09-30 07:29:45,940 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c9af2443-8b56-45f7-b280-87989ceb897e', 'name': 'ctest-vn-49368245', 'tenant_id': '20b0b39b1ca549a0a2eabec4788a4c44', 'project_id': '20b0b39b1ca549a0a2eabec4788a4c44', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['47dd7956-acc7-42c2-990f-596286ec9168'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74942667', 'ctest-vn-49368245'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-74942667', 'ctest-policy-allow-all-72471624']], 'subnet_ipam': [{'subnet_cidr': '180.185.139.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-09-30 07:29:46,193 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c3a83bdd-b04a-452e-99ae-5c505ff530dc', 'name': 'ctest-vn-69474274', 'tenant_id': '20b0b39b1ca549a0a2eabec4788a4c44', 'project_id': '20b0b39b1ca549a0a2eabec4788a4c44', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['e27d1d35-6f40-4e96-9a00-7d963c7ed7fd'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74942667', 'ctest-vn-69474274'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-74942667', 'ctest-policy-allow-all-72471624']], 'subnet_ipam': [{'subnet_cidr': '142.219.104.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-09-30 07:29:46,364 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-09-30 07:29:46,737 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-09-30 07:29:46,769 - DEBUG - Requesting: http://10.0.0.38:8082/domain/bc41fe51-6fd7-4bd5-9b10-b81ab74ee310
2026-09-30 07:29:46,786 - DEBUG - Requesting: http://10.0.0.38:8082/project/20b0b39b-1ca5-49a0-a2ea-bec4788a4c44
2026-09-30 07:29:46,866 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c9af2443-8b56-45f7-b280-87989ceb897e
2026-09-30 07:29:46,881 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c9af2443-8b56-45f7-b280-87989ceb897e
2026-09-30 07:29:46,894 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/df55edfe-8fb0-4128-99c7-042782ed01cb
2026-09-30 07:29:46,904 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/df55edfe-8fb0-4128-99c7-042782ed01cb
2026-09-30 07:29:46,913 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/e46eff6a-ee47-4e27-810a-3c36f02a3aed
2026-09-30 07:29:46,923 - DEBUG - Route Targets: ['target:64512:8000005']
2026-09-30 07:29:46,923 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c9af2443-8b56-45f7-b280-87989ceb897e
2026-09-30 07:29:46,935 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/df55edfe-8fb0-4128-99c7-042782ed01cb
2026-09-30 07:29:46,954 - INFO - Verified VN network id 10 for VN c9af2443-8b56-45f7-b280-87989ceb897e
2026-09-30 07:29:46,954 - INFO - Verifications in API Server for VN ctest-vn-49368245 passed
2026-09-30 07:29:46,954 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c9af2443-8b56-45f7-b280-87989ceb897e
2026-09-30 07:29:46,967 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/df55edfe-8fb0-4128-99c7-042782ed01cb
2026-09-30 07:29:46,976 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/df55edfe-8fb0-4128-99c7-042782ed01cb
2026-09-30 07:29:46,987 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/e46eff6a-ee47-4e27-810a-3c36f02a3aed
2026-09-30 07:29:47,004 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-74942667:ctest-vn-49368245', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-74942667', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14532874395066975735', 'uuid-lslong': '12862429625307597182'}, 'enable': 'true', 'created': '2026-09-30T07:29:44', 'last-modified': '2026-09-30T07:29:45', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.102302'}
2026-09-30 07:29:47,015 - DEBUG - Route Targets: ['target:64512:8000005']
2026-09-30 07:29:47,015 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-49368245 passed
2026-09-30 07:29:47,015 - DEBUG - ====Verifying policy data for ctest-vn-49368245 in API_Server ======
2026-09-30 07:29:47,015 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-09-30 07:29:47,024 - DEBUG - Requesting: http://10.0.0.38:8082/domain/bc41fe51-6fd7-4bd5-9b10-b81ab74ee310
2026-09-30 07:29:47,039 - DEBUG - Requesting: http://10.0.0.38:8082/project/20b0b39b-1ca5-49a0-a2ea-bec4788a4c44
2026-09-30 07:29:47,122 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c9af2443-8b56-45f7-b280-87989ceb897e
2026-09-30 07:29:47,135 - DEBUG - ==>Verifying data for policy with id: 10091f6f-8faf-49c7-abb0-1eb265c76b1f, fqn: ['default-domain', 'ctest-TestBasicPolicy-74942667', 'ctest-policy-allow-all-72471624']
2026-09-30 07:29:47,135 - INFO - VN ctest-vn-49368245 Policy verification: verify_vn_policy_in_api_server, status: True
2026-09-30 07:29:47,135 - DEBUG - Verifying the vn in opserver
2026-09-30 07:29:47,135 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-74942667:ctest-vn-49368245 virtual network link through opserver 10.0.0.38
2026-09-30 07:29:47,136 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-09-30 07:29:47,520 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-09-30 07:29:47,591 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-74942667:ctest-vn-49368245', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-74942667:ctest-vn-49368245?flat'}
2026-09-30 07:29:47,591 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-74942667:ctest-vn-49368245 is found in opserver
2026-09-30 07:29:47,604 - DEBUG - Do not have enough data to verify VN in agent
2026-09-30 07:29:47,611 - DEBUG - VRF ids for VN ctest-vn-49368245: {}
2026-09-30 07:29:47,611 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-09-30 07:29:47,620 - DEBUG - Requesting: http://10.0.0.38:8082/domain/bc41fe51-6fd7-4bd5-9b10-b81ab74ee310
2026-09-30 07:29:47,635 - DEBUG - Requesting: http://10.0.0.38:8082/project/20b0b39b-1ca5-49a0-a2ea-bec4788a4c44
2026-09-30 07:29:47,713 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c3a83bdd-b04a-452e-99ae-5c505ff530dc
2026-09-30 07:29:47,728 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c3a83bdd-b04a-452e-99ae-5c505ff530dc
2026-09-30 07:29:47,741 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2cca351f-fe31-4c77-8aa6-7dff50224843
2026-09-30 07:29:47,750 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2cca351f-fe31-4c77-8aa6-7dff50224843
2026-09-30 07:29:47,760 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/6024ea96-53e3-43f6-b0bd-53cdc532e776
2026-09-30 07:29:47,769 - DEBUG - Route Targets: ['target:64512:8000006']
2026-09-30 07:29:47,769 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c3a83bdd-b04a-452e-99ae-5c505ff530dc
2026-09-30 07:29:47,783 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2cca351f-fe31-4c77-8aa6-7dff50224843
2026-09-30 07:29:47,801 - INFO - Verified VN network id 11 for VN c3a83bdd-b04a-452e-99ae-5c505ff530dc
2026-09-30 07:29:47,801 - INFO - Verifications in API Server for VN ctest-vn-69474274 passed
2026-09-30 07:29:47,801 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c3a83bdd-b04a-452e-99ae-5c505ff530dc
2026-09-30 07:29:47,814 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2cca351f-fe31-4c77-8aa6-7dff50224843
2026-09-30 07:29:47,823 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2cca351f-fe31-4c77-8aa6-7dff50224843
2026-09-30 07:29:47,832 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/6024ea96-53e3-43f6-b0bd-53cdc532e776
2026-09-30 07:29:47,847 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-74942667:ctest-vn-69474274', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-74942667', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14098584456814806318', 'uuid-lslong': '11073890034027671772'}, 'enable': 'true', 'created': '2026-09-30T07:29:45', 'last-modified': '2026-09-30T07:29:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.688414'}
2026-09-30 07:29:47,856 - DEBUG - Route Targets: ['target:64512:8000006']
2026-09-30 07:29:47,856 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-69474274 passed
2026-09-30 07:29:47,856 - DEBUG - ====Verifying policy data for ctest-vn-69474274 in API_Server ======
2026-09-30 07:29:47,856 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-09-30 07:29:47,864 - DEBUG - Requesting: http://10.0.0.38:8082/domain/bc41fe51-6fd7-4bd5-9b10-b81ab74ee310
2026-09-30 07:29:47,878 - DEBUG - Requesting: http://10.0.0.38:8082/project/20b0b39b-1ca5-49a0-a2ea-bec4788a4c44
2026-09-30 07:29:47,959 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c3a83bdd-b04a-452e-99ae-5c505ff530dc
2026-09-30 07:29:47,972 - DEBUG - ==>Verifying data for policy with id: 10091f6f-8faf-49c7-abb0-1eb265c76b1f, fqn: ['default-domain', 'ctest-TestBasicPolicy-74942667', 'ctest-policy-allow-all-72471624']
2026-09-30 07:29:47,972 - INFO - VN ctest-vn-69474274 Policy verification: verify_vn_policy_in_api_server, status: True
2026-09-30 07:29:47,972 - DEBUG - Verifying the vn in opserver
2026-09-30 07:29:47,972 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-74942667:ctest-vn-69474274 virtual network link through opserver 10.0.0.38
2026-09-30 07:29:47,972 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-09-30 07:29:47,986 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-74942667:ctest-vn-69474274', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-74942667:ctest-vn-69474274?flat'}
2026-09-30 07:29:47,986 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-74942667:ctest-vn-69474274 is found in opserver
2026-09-30 07:29:48,029 - DEBUG - Do not have enough data to verify VN in agent
2026-09-30 07:29:48,041 - DEBUG - VRF ids for VN ctest-vn-69474274: {}
2026-09-30 07:29:48,140 - DEBUG - Services list from nova: [