2026-02-25 14:10:22,179 - INFO - Domain Default found not creating
2026-02-25 14:10:22,340 - INFO - Project ctest-TestBasicPolicy-07373058 not found, creating it
2026-02-25 14:10:22,801 - INFO - Created Project:ctest-TestBasicPolicy-07373058, ID : ed49fc7e-d203-45a1-bb56-85f04d1328a1
2026-02-25 14:10:24,233 - INFO - ================================================================================
2026-02-25 14:10:24,233 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-25 14:10:24,233 - 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-25 14:10:24,488 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.20.0.17': '0'}} with
2026-02-25 14:10:24,488 - INFO - Initial checks done. Running the testcase now
2026-02-25 14:10:24,488 - INFO -
2026-02-25 14:10:25,010 - DEBUG - Response for create_network : {'network': {'id': '35bd4051-b872-4a46-bbe9-b386f9341a97', 'name': 'ctest-vn-56367629', 'tenant_id': 'ed49fc7ed20345a1bb5685f04d1328a1', 'project_id': 'ed49fc7ed20345a1bb5685f04d1328a1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07373058', 'ctest-vn-56367629'], 'port_security_enabled': True, 'description': ''}}
2026-02-25 14:10:25,162 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bdbed6bd-01a4-405c-95be-54299e762032', 'name': '', 'tenant_id': 'ed49fc7ed20345a1bb5685f04d1328a1', 'network_id': '35bd4051-b872-4a46-bbe9-b386f9341a97', 'ip_version': 4, 'cidr': '138.59.208.0/26', 'allocation_pools': [{'start': '138.59.208.2', 'end': '138.59.208.62'}], 'gateway_ip': '138.59.208.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '138.59.208.2', 'tags': [], 'project_id': 'ed49fc7ed20345a1bb5685f04d1328a1'}}
2026-02-25 14:10:25,178 - INFO - Created VN ctest-vn-56367629
2026-02-25 14:10:25,230 - DEBUG - VN ctest-vn-56367629 UUID is 35bd4051-b872-4a46-bbe9-b386f9341a97
2026-02-25 14:10:25,525 - DEBUG - Response for create_network : {'network': {'id': '25d3485a-79ea-4101-b357-392e26716aa0', 'name': 'ctest-vn-00572337', 'tenant_id': 'ed49fc7ed20345a1bb5685f04d1328a1', 'project_id': 'ed49fc7ed20345a1bb5685f04d1328a1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07373058', 'ctest-vn-00572337'], 'port_security_enabled': True, 'description': ''}}
2026-02-25 14:10:25,725 - DEBUG - Response for create_subnet : {'subnet': {'id': '497e08cd-3b68-4c1e-8738-cbc362fea0a5', 'name': '', 'tenant_id': 'ed49fc7ed20345a1bb5685f04d1328a1', 'network_id': '25d3485a-79ea-4101-b357-392e26716aa0', 'ip_version': 4, 'cidr': '158.243.237.128/26', 'allocation_pools': [{'start': '158.243.237.130', 'end': '158.243.237.190'}], 'gateway_ip': '158.243.237.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '158.243.237.130', 'tags': [], 'project_id': 'ed49fc7ed20345a1bb5685f04d1328a1'}}
2026-02-25 14:10:25,741 - INFO - Created VN ctest-vn-00572337
2026-02-25 14:10:25,790 - DEBUG - VN ctest-vn-00572337 UUID is 25d3485a-79ea-4101-b357-392e26716aa0
2026-02-25 14:10:25,930 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-07373058:ctest-vn-56367629, 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-07373058:ctest-vn-00572337, 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-25 14:10:26,202 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '35bd4051-b872-4a46-bbe9-b386f9341a97', 'name': 'ctest-vn-56367629', 'tenant_id': 'ed49fc7ed20345a1bb5685f04d1328a1', 'project_id': 'ed49fc7ed20345a1bb5685f04d1328a1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['bdbed6bd-01a4-405c-95be-54299e762032'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07373058', 'ctest-vn-56367629'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-07373058', 'ctest-policy-allow-all-98768735']], 'subnet_ipam': [{'subnet_cidr': '138.59.208.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-25 14:10:26,475 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '25d3485a-79ea-4101-b357-392e26716aa0', 'name': 'ctest-vn-00572337', 'tenant_id': 'ed49fc7ed20345a1bb5685f04d1328a1', 'project_id': 'ed49fc7ed20345a1bb5685f04d1328a1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['497e08cd-3b68-4c1e-8738-cbc362fea0a5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07373058', 'ctest-vn-00572337'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-07373058', 'ctest-policy-allow-all-98768735']], 'subnet_ipam': [{'subnet_cidr': '158.243.237.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-25 14:10:26,623 - DEBUG - Requesting: http://10.0.0.129:8082/domains
2026-02-25 14:10:26,920 - DEBUG - Requesting: http://10.0.0.129:8082/domains
2026-02-25 14:10:26,949 - DEBUG - Requesting: http://10.0.0.129:8082/domain/a870835a-deb6-4d41-be5e-3c5a2efc8cc4
2026-02-25 14:10:26,959 - DEBUG - Requesting: http://10.0.0.129:8082/project/ed49fc7e-d203-45a1-bb56-85f04d1328a1
2026-02-25 14:10:27,028 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/35bd4051-b872-4a46-bbe9-b386f9341a97
2026-02-25 14:10:27,037 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/35bd4051-b872-4a46-bbe9-b386f9341a97
2026-02-25 14:10:27,046 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/24b84f19-ecde-4525-a73b-93bcda643a85
2026-02-25 14:10:27,053 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/24b84f19-ecde-4525-a73b-93bcda643a85
2026-02-25 14:10:27,058 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/3143bffb-c1d1-4f38-b093-a8dc2d864597
2026-02-25 14:10:27,063 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-25 14:10:27,063 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/35bd4051-b872-4a46-bbe9-b386f9341a97
2026-02-25 14:10:27,070 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/24b84f19-ecde-4525-a73b-93bcda643a85
2026-02-25 14:10:27,084 - INFO - Verified VN network id 11 for VN 35bd4051-b872-4a46-bbe9-b386f9341a97
2026-02-25 14:10:27,084 - INFO - Verifications in API Server for VN ctest-vn-56367629 passed
2026-02-25 14:10:27,084 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/35bd4051-b872-4a46-bbe9-b386f9341a97
2026-02-25 14:10:27,092 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/24b84f19-ecde-4525-a73b-93bcda643a85
2026-02-25 14:10:27,097 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/24b84f19-ecde-4525-a73b-93bcda643a85
2026-02-25 14:10:27,103 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/3143bffb-c1d1-4f38-b093-a8dc2d864597
2026-02-25 14:10:27,114 - DEBUG - Control-node 10.0.0.129 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-07373058:ctest-vn-56367629', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-07373058', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3872321974339521094', 'uuid-lslong': '13540551146954037911'}, 'enable': 'true', 'created': '2026-02-25T14:10:24', 'last-modified': '2026-02-25T14:10:26', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.929029'}
2026-02-25 14:10:27,120 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-25 14:10:27,121 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-56367629 passed
2026-02-25 14:10:27,121 - DEBUG - ====Verifying policy data for ctest-vn-56367629 in API_Server ======
2026-02-25 14:10:27,121 - DEBUG - Requesting: http://10.0.0.129:8082/domains
2026-02-25 14:10:27,126 - DEBUG - Requesting: http://10.0.0.129:8082/domain/a870835a-deb6-4d41-be5e-3c5a2efc8cc4
2026-02-25 14:10:27,137 - DEBUG - Requesting: http://10.0.0.129:8082/project/ed49fc7e-d203-45a1-bb56-85f04d1328a1
2026-02-25 14:10:27,202 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/35bd4051-b872-4a46-bbe9-b386f9341a97
2026-02-25 14:10:27,210 - DEBUG - ==>Verifying data for policy with id: 150750b8-65c7-41d3-bbb9-546bf3c60ac0, fqn: ['default-domain', 'ctest-TestBasicPolicy-07373058', 'ctest-policy-allow-all-98768735']
2026-02-25 14:10:27,211 - INFO - VN ctest-vn-56367629 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-25 14:10:27,211 - DEBUG - Verifying the vn in opserver
2026-02-25 14:10:27,211 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-07373058:ctest-vn-56367629 virtual network link through opserver 10.0.0.129
2026-02-25 14:10:27,211 - DEBUG - Requesting: http://10.0.0.129:8081/analytics/uves/virtual-networks
2026-02-25 14:10:27,498 - DEBUG - Requesting: http://10.0.0.129:8081/analytics/uves/virtual-networks
2026-02-25 14:10:27,554 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-07373058:ctest-vn-56367629', 'href': 'http://10.0.0.129:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-07373058:ctest-vn-56367629?flat'}
2026-02-25 14:10:27,554 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-07373058:ctest-vn-56367629 is found in opserver
2026-02-25 14:10:27,564 - DEBUG - Do not have enough data to verify VN in agent
2026-02-25 14:10:27,570 - DEBUG - VRF ids for VN ctest-vn-56367629: {}
2026-02-25 14:10:27,570 - DEBUG - Requesting: http://10.0.0.129:8082/domains
2026-02-25 14:10:27,575 - DEBUG - Requesting: http://10.0.0.129:8082/domain/a870835a-deb6-4d41-be5e-3c5a2efc8cc4
2026-02-25 14:10:27,586 - DEBUG - Requesting: http://10.0.0.129:8082/project/ed49fc7e-d203-45a1-bb56-85f04d1328a1
2026-02-25 14:10:27,656 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/25d3485a-79ea-4101-b357-392e26716aa0
2026-02-25 14:10:27,666 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/25d3485a-79ea-4101-b357-392e26716aa0
2026-02-25 14:10:27,673 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/1414217d-b038-4ae1-a06c-f444eeb95c03
2026-02-25 14:10:27,679 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/1414217d-b038-4ae1-a06c-f444eeb95c03
2026-02-25 14:10:27,685 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/54793bd4-c55c-4d47-aafd-68ad5b8970fa
2026-02-25 14:10:27,690 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-25 14:10:27,690 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/25d3485a-79ea-4101-b357-392e26716aa0
2026-02-25 14:10:27,697 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/1414217d-b038-4ae1-a06c-f444eeb95c03
2026-02-25 14:10:27,707 - INFO - Verified VN network id 12 for VN 25d3485a-79ea-4101-b357-392e26716aa0
2026-02-25 14:10:27,707 - INFO - Verifications in API Server for VN ctest-vn-00572337 passed
2026-02-25 14:10:27,707 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/25d3485a-79ea-4101-b357-392e26716aa0
2026-02-25 14:10:27,714 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/1414217d-b038-4ae1-a06c-f444eeb95c03
2026-02-25 14:10:27,720 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/1414217d-b038-4ae1-a06c-f444eeb95c03
2026-02-25 14:10:27,725 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/54793bd4-c55c-4d47-aafd-68ad5b8970fa
2026-02-25 14:10:27,734 - DEBUG - Control-node 10.0.0.129 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-07373058:ctest-vn-00572337', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-07373058', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2725601752918933761', 'uuid-lslong': '12922860526139173536'}, 'enable': 'true', 'created': '2026-02-25T14:10:25', 'last-modified': '2026-02-25T14:10:26', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.322231'}
2026-02-25 14:10:27,739 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-25 14:10:27,739 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-00572337 passed
2026-02-25 14:10:27,739 - DEBUG - ====Verifying policy data for ctest-vn-00572337 in API_Server ======
2026-02-25 14:10:27,739 - DEBUG - Requesting: http://10.0.0.129:8082/domains
2026-02-25 14:10:27,744 - DEBUG - Requesting: http://10.0.0.129:8082/domain/a870835a-deb6-4d41-be5e-3c5a2efc8cc4
2026-02-25 14:10:27,755 - DEBUG - Requesting: http://10.0.0.129:8082/project/ed49fc7e-d203-45a1-bb56-85f04d1328a1
2026-02-25 14:10:27,824 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/25d3485a-79ea-4101-b357-392e26716aa0
2026-02-25 14:10:27,833 - DEBUG - ==>Verifying data for policy with id: 150750b8-65c7-41d3-bbb9-546bf3c60ac0, fqn: ['default-domain', 'ctest-TestBasicPolicy-07373058', 'ctest-policy-allow-all-98768735']
2026-02-25 14:10:27,833 - INFO - VN ctest-vn-00572337 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-25 14:10:27,833 - DEBUG - Verifying the vn in opserver
2026-02-25 14:10:27,833 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-07373058:ctest-vn-00572337 virtual network link through opserver 10.0.0.129
2026-02-25 14:10:27,833 - DEBUG - Requesting: http://10.0.0.129:8081/analytics/uves/virtual-networks
2026-02-25 14:10:27,842 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-07373058:ctest-vn-00572337', 'href': 'http://10.0.0.129:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-07373058:ctest-vn-00572337?flat'}
2026-02-25 14:10:27,842 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-07373058:ctest-vn-00572337 is found in opserver
2026-02-25 14:10:27,850 - DEBUG - Do not have enough data to verify VN in agent
2026-02-25 14:10:27,854 - DEBUG - VRF ids for VN ctest-vn-00572337: {}
2026-02-25 14:10:27,909 - DEBUG - Services list from nova: [