2026-02-11 13:11:29,906 - INFO - Domain Default found not creating
2026-02-11 13:11:30,069 - INFO - Project ctest-TestBasicPolicy-83674270 not found, creating it
2026-02-11 13:11:30,523 - INFO - Created Project:ctest-TestBasicPolicy-83674270, ID : add7a0cd-8dab-4d4f-8e36-379d515178b8
2026-02-11 13:11:31,982 - INFO - ================================================================================
2026-02-11 13:11:31,982 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-11 13:11:31,982 - 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-11 13:11:32,249 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.14': '0'}} with
2026-02-11 13:11:32,249 - INFO - Initial checks done. Running the testcase now
2026-02-11 13:11:32,249 - INFO -
2026-02-11 13:11:32,797 - DEBUG - Response for create_network : {'network': {'id': '70b772cf-4c14-45ae-9f6c-42ce5d0a16bd', 'name': 'ctest-vn-85019240', 'tenant_id': 'add7a0cd8dab4d4f8e36379d515178b8', 'project_id': 'add7a0cd8dab4d4f8e36379d515178b8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-83674270', 'ctest-vn-85019240'], 'port_security_enabled': True, 'description': ''}}
2026-02-11 13:11:33,001 - DEBUG - Response for create_subnet : {'subnet': {'id': '027e43d4-23aa-4888-8a1a-db30b59104a2', 'name': '', 'tenant_id': 'add7a0cd8dab4d4f8e36379d515178b8', 'network_id': '70b772cf-4c14-45ae-9f6c-42ce5d0a16bd', 'ip_version': 4, 'cidr': '201.193.177.192/26', 'allocation_pools': [{'start': '201.193.177.194', 'end': '201.193.177.254'}], 'gateway_ip': '201.193.177.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '201.193.177.194', 'tags': [], 'project_id': 'add7a0cd8dab4d4f8e36379d515178b8'}}
2026-02-11 13:11:33,019 - INFO - Created VN ctest-vn-85019240
2026-02-11 13:11:33,075 - DEBUG - VN ctest-vn-85019240 UUID is 70b772cf-4c14-45ae-9f6c-42ce5d0a16bd
2026-02-11 13:11:33,374 - DEBUG - Response for create_network : {'network': {'id': 'f44b9d8d-1563-49aa-bf9f-f11f6444425f', 'name': 'ctest-vn-29749224', 'tenant_id': 'add7a0cd8dab4d4f8e36379d515178b8', 'project_id': 'add7a0cd8dab4d4f8e36379d515178b8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-83674270', 'ctest-vn-29749224'], 'port_security_enabled': True, 'description': ''}}
2026-02-11 13:11:33,592 - DEBUG - Response for create_subnet : {'subnet': {'id': '5efe2088-0e29-4357-8cc3-3c699734c9fc', 'name': '', 'tenant_id': 'add7a0cd8dab4d4f8e36379d515178b8', 'network_id': 'f44b9d8d-1563-49aa-bf9f-f11f6444425f', 'ip_version': 4, 'cidr': '64.50.50.128/26', 'allocation_pools': [{'start': '64.50.50.130', 'end': '64.50.50.190'}], 'gateway_ip': '64.50.50.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '64.50.50.130', 'tags': [], 'project_id': 'add7a0cd8dab4d4f8e36379d515178b8'}}
2026-02-11 13:11:33,614 - INFO - Created VN ctest-vn-29749224
2026-02-11 13:11:33,667 - DEBUG - VN ctest-vn-29749224 UUID is f44b9d8d-1563-49aa-bf9f-f11f6444425f
2026-02-11 13:11:33,783 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-83674270:ctest-vn-85019240, 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-83674270:ctest-vn-29749224, 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-11 13:11:34,071 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '70b772cf-4c14-45ae-9f6c-42ce5d0a16bd', 'name': 'ctest-vn-85019240', 'tenant_id': 'add7a0cd8dab4d4f8e36379d515178b8', 'project_id': 'add7a0cd8dab4d4f8e36379d515178b8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['027e43d4-23aa-4888-8a1a-db30b59104a2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-83674270', 'ctest-vn-85019240'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-83674270', 'ctest-policy-allow-all-34344318']], 'subnet_ipam': [{'subnet_cidr': '201.193.177.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-11 13:11:34,339 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f44b9d8d-1563-49aa-bf9f-f11f6444425f', 'name': 'ctest-vn-29749224', 'tenant_id': 'add7a0cd8dab4d4f8e36379d515178b8', 'project_id': 'add7a0cd8dab4d4f8e36379d515178b8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5efe2088-0e29-4357-8cc3-3c699734c9fc'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-83674270', 'ctest-vn-29749224'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-83674270', 'ctest-policy-allow-all-34344318']], 'subnet_ipam': [{'subnet_cidr': '64.50.50.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-11 13:11:34,499 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-02-11 13:11:34,799 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-02-11 13:11:34,827 - DEBUG - Requesting: http://10.0.0.249:8082/domain/3f35fa34-8928-44db-8bf6-346c4525ac92
2026-02-11 13:11:34,839 - DEBUG - Requesting: http://10.0.0.249:8082/project/add7a0cd-8dab-4d4f-8e36-379d515178b8
2026-02-11 13:11:34,910 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/70b772cf-4c14-45ae-9f6c-42ce5d0a16bd
2026-02-11 13:11:34,919 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/70b772cf-4c14-45ae-9f6c-42ce5d0a16bd
2026-02-11 13:11:34,926 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/0f6e550a-5b94-4281-b412-c29aee3fba9d
2026-02-11 13:11:34,932 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/0f6e550a-5b94-4281-b412-c29aee3fba9d
2026-02-11 13:11:34,939 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/791a760b-34b5-4614-b452-b4071f7dfa2e
2026-02-11 13:11:34,945 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-11 13:11:34,945 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/70b772cf-4c14-45ae-9f6c-42ce5d0a16bd
2026-02-11 13:11:34,954 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/0f6e550a-5b94-4281-b412-c29aee3fba9d
2026-02-11 13:11:34,967 - INFO - Verified VN network id 11 for VN 70b772cf-4c14-45ae-9f6c-42ce5d0a16bd
2026-02-11 13:11:34,967 - INFO - Verifications in API Server for VN ctest-vn-85019240 passed
2026-02-11 13:11:34,967 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/70b772cf-4c14-45ae-9f6c-42ce5d0a16bd
2026-02-11 13:11:34,975 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/0f6e550a-5b94-4281-b412-c29aee3fba9d
2026-02-11 13:11:34,980 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/0f6e550a-5b94-4281-b412-c29aee3fba9d
2026-02-11 13:11:34,986 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/791a760b-34b5-4614-b452-b4071f7dfa2e
2026-02-11 13:11:34,996 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-83674270:ctest-vn-85019240', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-83674270', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8122086687646172590', 'uuid-lslong': '11487630203606931133'}, 'enable': 'true', 'created': '2026-02-11T13:11:32', 'last-modified': '2026-02-11T13:11:34', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.947496'}
2026-02-11 13:11:35,002 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-11 13:11:35,002 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-85019240 passed
2026-02-11 13:11:35,003 - DEBUG - ====Verifying policy data for ctest-vn-85019240 in API_Server ======
2026-02-11 13:11:35,003 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-02-11 13:11:35,008 - DEBUG - Requesting: http://10.0.0.249:8082/domain/3f35fa34-8928-44db-8bf6-346c4525ac92
2026-02-11 13:11:35,018 - DEBUG - Requesting: http://10.0.0.249:8082/project/add7a0cd-8dab-4d4f-8e36-379d515178b8
2026-02-11 13:11:35,094 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/70b772cf-4c14-45ae-9f6c-42ce5d0a16bd
2026-02-11 13:11:35,103 - DEBUG - ==>Verifying data for policy with id: 6e0e0c33-54ae-4feb-98ec-588f3e3375e1, fqn: ['default-domain', 'ctest-TestBasicPolicy-83674270', 'ctest-policy-allow-all-34344318']
2026-02-11 13:11:35,103 - INFO - VN ctest-vn-85019240 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-11 13:11:35,103 - DEBUG - Verifying the vn in opserver
2026-02-11 13:11:35,103 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-83674270:ctest-vn-85019240 virtual network link through opserver 10.0.0.249
2026-02-11 13:11:35,103 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks
2026-02-11 13:11:35,398 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks
2026-02-11 13:11:35,456 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-83674270:ctest-vn-85019240', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-83674270:ctest-vn-85019240?flat'}
2026-02-11 13:11:35,456 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-83674270:ctest-vn-85019240 is found in opserver
2026-02-11 13:11:35,463 - DEBUG - Do not have enough data to verify VN in agent
2026-02-11 13:11:35,467 - DEBUG - VRF ids for VN ctest-vn-85019240: {}
2026-02-11 13:11:35,467 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-02-11 13:11:35,472 - DEBUG - Requesting: http://10.0.0.249:8082/domain/3f35fa34-8928-44db-8bf6-346c4525ac92
2026-02-11 13:11:35,482 - DEBUG - Requesting: http://10.0.0.249:8082/project/add7a0cd-8dab-4d4f-8e36-379d515178b8
2026-02-11 13:11:35,555 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/f44b9d8d-1563-49aa-bf9f-f11f6444425f
2026-02-11 13:11:35,567 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/f44b9d8d-1563-49aa-bf9f-f11f6444425f
2026-02-11 13:11:35,576 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/9974304e-4b89-4d30-aa42-b04f9eed3396
2026-02-11 13:11:35,583 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/9974304e-4b89-4d30-aa42-b04f9eed3396
2026-02-11 13:11:35,589 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/12603e0d-9950-4671-b5c7-144b9c5b6362
2026-02-11 13:11:35,594 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-11 13:11:35,594 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/f44b9d8d-1563-49aa-bf9f-f11f6444425f
2026-02-11 13:11:35,602 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/9974304e-4b89-4d30-aa42-b04f9eed3396
2026-02-11 13:11:35,613 - INFO - Verified VN network id 12 for VN f44b9d8d-1563-49aa-bf9f-f11f6444425f
2026-02-11 13:11:35,614 - INFO - Verifications in API Server for VN ctest-vn-29749224 passed
2026-02-11 13:11:35,614 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/f44b9d8d-1563-49aa-bf9f-f11f6444425f
2026-02-11 13:11:35,623 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/9974304e-4b89-4d30-aa42-b04f9eed3396
2026-02-11 13:11:35,630 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/9974304e-4b89-4d30-aa42-b04f9eed3396
2026-02-11 13:11:35,637 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/12603e0d-9950-4671-b5c7-144b9c5b6362
2026-02-11 13:11:35,650 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-83674270:ctest-vn-29749224', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-83674270', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17603336797782493610', 'uuid-lslong': '13808020099669705311'}, 'enable': 'true', 'created': '2026-02-11T13:11:33', 'last-modified': '2026-02-11T13:11:34', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.373239'}
2026-02-11 13:11:35,656 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-11 13:11:35,657 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-29749224 passed
2026-02-11 13:11:35,657 - DEBUG - ====Verifying policy data for ctest-vn-29749224 in API_Server ======
2026-02-11 13:11:35,657 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-02-11 13:11:35,662 - DEBUG - Requesting: http://10.0.0.249:8082/domain/3f35fa34-8928-44db-8bf6-346c4525ac92
2026-02-11 13:11:35,674 - DEBUG - Requesting: http://10.0.0.249:8082/project/add7a0cd-8dab-4d4f-8e36-379d515178b8
2026-02-11 13:11:35,743 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/f44b9d8d-1563-49aa-bf9f-f11f6444425f
2026-02-11 13:11:35,753 - DEBUG - ==>Verifying data for policy with id: 6e0e0c33-54ae-4feb-98ec-588f3e3375e1, fqn: ['default-domain', 'ctest-TestBasicPolicy-83674270', 'ctest-policy-allow-all-34344318']
2026-02-11 13:11:35,753 - INFO - VN ctest-vn-29749224 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-11 13:11:35,753 - DEBUG - Verifying the vn in opserver
2026-02-11 13:11:35,753 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-83674270:ctest-vn-29749224 virtual network link through opserver 10.0.0.249
2026-02-11 13:11:35,753 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks
2026-02-11 13:11:35,762 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-83674270:ctest-vn-29749224', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-83674270:ctest-vn-29749224?flat'}
2026-02-11 13:11:35,762 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-83674270:ctest-vn-29749224 is found in opserver
2026-02-11 13:11:35,771 - DEBUG - Do not have enough data to verify VN in agent
2026-02-11 13:11:35,775 - DEBUG - VRF ids for VN ctest-vn-29749224: {}
2026-02-11 13:11:35,830 - DEBUG - Services list from nova: [