2026-05-11 02:20:35,776 - INFO - Domain Default found not creating
2026-05-11 02:20:35,967 - INFO - Project ctest-TestBasicPolicy-69072279 not found, creating it
2026-05-11 02:20:36,457 - INFO - Created Project:ctest-TestBasicPolicy-69072279, ID : 9ce9cbb2-ad3e-4ea9-9571-17a0770d9bd7
2026-05-11 02:20:38,032 - INFO - ================================================================================
2026-05-11 02:20:38,032 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-05-11 02:20:38,032 - 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-05-11 02:20:38,287 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2026-05-11 02:20:38,287 - INFO - Initial checks done. Running the testcase now
2026-05-11 02:20:38,287 - INFO -
2026-05-11 02:20:38,842 - DEBUG - Response for create_network : {'network': {'id': 'a32bdd29-5634-4e14-9b63-6b8cd2e0d2ef', 'name': 'ctest-vn-77708952', 'tenant_id': '9ce9cbb2ad3e4ea9957117a0770d9bd7', 'project_id': '9ce9cbb2ad3e4ea9957117a0770d9bd7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-69072279', 'ctest-vn-77708952'], 'port_security_enabled': True, 'description': ''}}
2026-05-11 02:20:39,005 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ba4cff0f-be13-4ba0-9140-f9896c6ce364', 'name': '', 'tenant_id': '9ce9cbb2ad3e4ea9957117a0770d9bd7', 'network_id': 'a32bdd29-5634-4e14-9b63-6b8cd2e0d2ef', 'ip_version': 4, 'cidr': '76.169.7.128/26', 'allocation_pools': [{'start': '76.169.7.130', 'end': '76.169.7.190'}], 'gateway_ip': '76.169.7.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '76.169.7.130', 'tags': [], 'project_id': '9ce9cbb2ad3e4ea9957117a0770d9bd7'}}
2026-05-11 02:20:39,027 - INFO - Created VN ctest-vn-77708952
2026-05-11 02:20:39,084 - DEBUG - VN ctest-vn-77708952 UUID is a32bdd29-5634-4e14-9b63-6b8cd2e0d2ef
2026-05-11 02:20:39,394 - DEBUG - Response for create_network : {'network': {'id': 'ef414b95-cff3-46f4-bef4-9fb521afde75', 'name': 'ctest-vn-85666644', 'tenant_id': '9ce9cbb2ad3e4ea9957117a0770d9bd7', 'project_id': '9ce9cbb2ad3e4ea9957117a0770d9bd7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-69072279', 'ctest-vn-85666644'], 'port_security_enabled': True, 'description': ''}}
2026-05-11 02:20:39,610 - DEBUG - Response for create_subnet : {'subnet': {'id': '34aa4c2e-a7a3-40a3-80d8-e5aac54e8f61', 'name': '', 'tenant_id': '9ce9cbb2ad3e4ea9957117a0770d9bd7', 'network_id': 'ef414b95-cff3-46f4-bef4-9fb521afde75', 'ip_version': 4, 'cidr': '157.226.29.128/26', 'allocation_pools': [{'start': '157.226.29.130', 'end': '157.226.29.190'}], 'gateway_ip': '157.226.29.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '157.226.29.130', 'tags': [], 'project_id': '9ce9cbb2ad3e4ea9957117a0770d9bd7'}}
2026-05-11 02:20:39,631 - INFO - Created VN ctest-vn-85666644
2026-05-11 02:20:39,684 - DEBUG - VN ctest-vn-85666644 UUID is ef414b95-cff3-46f4-bef4-9fb521afde75
2026-05-11 02:20:39,805 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-69072279:ctest-vn-77708952, 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-69072279:ctest-vn-85666644, 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-05-11 02:20:40,116 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a32bdd29-5634-4e14-9b63-6b8cd2e0d2ef', 'name': 'ctest-vn-77708952', 'tenant_id': '9ce9cbb2ad3e4ea9957117a0770d9bd7', 'project_id': '9ce9cbb2ad3e4ea9957117a0770d9bd7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ba4cff0f-be13-4ba0-9140-f9896c6ce364'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-69072279', 'ctest-vn-77708952'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-69072279', 'ctest-policy-allow-all-74752525']], 'subnet_ipam': [{'subnet_cidr': '76.169.7.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-05-11 02:20:40,346 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ef414b95-cff3-46f4-bef4-9fb521afde75', 'name': 'ctest-vn-85666644', 'tenant_id': '9ce9cbb2ad3e4ea9957117a0770d9bd7', 'project_id': '9ce9cbb2ad3e4ea9957117a0770d9bd7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['34aa4c2e-a7a3-40a3-80d8-e5aac54e8f61'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-69072279', 'ctest-vn-85666644'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-69072279', 'ctest-policy-allow-all-74752525']], 'subnet_ipam': [{'subnet_cidr': '157.226.29.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-05-11 02:20:40,516 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-05-11 02:20:40,809 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-05-11 02:20:40,841 - DEBUG - Requesting: http://10.0.0.38:8082/domain/706a2b3d-625b-48a5-b777-7c642f6bb4c1
2026-05-11 02:20:40,853 - DEBUG - Requesting: http://10.0.0.38:8082/project/9ce9cbb2-ad3e-4ea9-9571-17a0770d9bd7
2026-05-11 02:20:40,928 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a32bdd29-5634-4e14-9b63-6b8cd2e0d2ef
2026-05-11 02:20:40,939 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a32bdd29-5634-4e14-9b63-6b8cd2e0d2ef
2026-05-11 02:20:40,948 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/51256b52-775e-4da6-821e-eebf8c2e2d0e
2026-05-11 02:20:40,956 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/51256b52-775e-4da6-821e-eebf8c2e2d0e
2026-05-11 02:20:40,964 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/71ab6461-7f76-47c4-ab74-7eddec033cef
2026-05-11 02:20:40,971 - DEBUG - Route Targets: ['target:64512:8000004']
2026-05-11 02:20:40,971 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a32bdd29-5634-4e14-9b63-6b8cd2e0d2ef
2026-05-11 02:20:40,982 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/51256b52-775e-4da6-821e-eebf8c2e2d0e
2026-05-11 02:20:40,997 - INFO - Verified VN network id 11 for VN a32bdd29-5634-4e14-9b63-6b8cd2e0d2ef
2026-05-11 02:20:40,997 - INFO - Verifications in API Server for VN ctest-vn-77708952 passed
2026-05-11 02:20:40,997 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a32bdd29-5634-4e14-9b63-6b8cd2e0d2ef
2026-05-11 02:20:41,008 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/51256b52-775e-4da6-821e-eebf8c2e2d0e
2026-05-11 02:20:41,015 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/51256b52-775e-4da6-821e-eebf8c2e2d0e
2026-05-11 02:20:41,023 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/71ab6461-7f76-47c4-ab74-7eddec033cef
2026-05-11 02:20:41,033 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-69072279:ctest-vn-77708952', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-69072279', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11757734421790477844', 'uuid-lslong': '11196911351150727919'}, 'enable': 'true', 'created': '2026-05-11T02:20:38', 'last-modified': '2026-05-11T02:20:40', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.945334'}
2026-05-11 02:20:41,039 - DEBUG - Route Targets: ['target:64512:8000004']
2026-05-11 02:20:41,039 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-77708952 passed
2026-05-11 02:20:41,039 - DEBUG - ====Verifying policy data for ctest-vn-77708952 in API_Server ======
2026-05-11 02:20:41,039 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-05-11 02:20:41,054 - DEBUG - Requesting: http://10.0.0.38:8082/domain/706a2b3d-625b-48a5-b777-7c642f6bb4c1
2026-05-11 02:20:41,065 - DEBUG - Requesting: http://10.0.0.38:8082/project/9ce9cbb2-ad3e-4ea9-9571-17a0770d9bd7
2026-05-11 02:20:41,138 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a32bdd29-5634-4e14-9b63-6b8cd2e0d2ef
2026-05-11 02:20:41,146 - DEBUG - ==>Verifying data for policy with id: 5f4dfdf3-5d91-4be7-be8f-7538e2a9f005, fqn: ['default-domain', 'ctest-TestBasicPolicy-69072279', 'ctest-policy-allow-all-74752525']
2026-05-11 02:20:41,146 - INFO - VN ctest-vn-77708952 Policy verification: verify_vn_policy_in_api_server, status: True
2026-05-11 02:20:41,146 - DEBUG - Verifying the vn in opserver
2026-05-11 02:20:41,147 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-69072279:ctest-vn-77708952 virtual network link through opserver 10.0.0.38
2026-05-11 02:20:41,147 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-05-11 02:20:41,439 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-05-11 02:20:41,507 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-69072279:ctest-vn-77708952', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-69072279:ctest-vn-77708952?flat'}
2026-05-11 02:20:41,507 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-69072279:ctest-vn-77708952 is found in opserver
2026-05-11 02:20:41,518 - DEBUG - Do not have enough data to verify VN in agent
2026-05-11 02:20:41,522 - DEBUG - VRF ids for VN ctest-vn-77708952: {}
2026-05-11 02:20:41,522 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-05-11 02:20:41,528 - DEBUG - Requesting: http://10.0.0.38:8082/domain/706a2b3d-625b-48a5-b777-7c642f6bb4c1
2026-05-11 02:20:41,538 - DEBUG - Requesting: http://10.0.0.38:8082/project/9ce9cbb2-ad3e-4ea9-9571-17a0770d9bd7
2026-05-11 02:20:41,608 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ef414b95-cff3-46f4-bef4-9fb521afde75
2026-05-11 02:20:41,620 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ef414b95-cff3-46f4-bef4-9fb521afde75
2026-05-11 02:20:41,631 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3b30c8cd-166a-48be-8559-b5cd9998e01b
2026-05-11 02:20:41,638 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3b30c8cd-166a-48be-8559-b5cd9998e01b
2026-05-11 02:20:41,645 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/3cae27f7-1c02-4f4b-b962-6b3771d4242b
2026-05-11 02:20:41,651 - DEBUG - Route Targets: ['target:64512:8000005']
2026-05-11 02:20:41,651 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ef414b95-cff3-46f4-bef4-9fb521afde75
2026-05-11 02:20:41,659 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3b30c8cd-166a-48be-8559-b5cd9998e01b
2026-05-11 02:20:41,674 - INFO - Verified VN network id 12 for VN ef414b95-cff3-46f4-bef4-9fb521afde75
2026-05-11 02:20:41,674 - INFO - Verifications in API Server for VN ctest-vn-85666644 passed
2026-05-11 02:20:41,674 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ef414b95-cff3-46f4-bef4-9fb521afde75
2026-05-11 02:20:41,682 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3b30c8cd-166a-48be-8559-b5cd9998e01b
2026-05-11 02:20:41,690 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3b30c8cd-166a-48be-8559-b5cd9998e01b
2026-05-11 02:20:41,698 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/3cae27f7-1c02-4f4b-b962-6b3771d4242b
2026-05-11 02:20:41,711 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-69072279:ctest-vn-85666644', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-69072279', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17240143955362006772', 'uuid-lslong': '13759798361826778741'}, 'enable': 'true', 'created': '2026-05-11T02:20:39', 'last-modified': '2026-05-11T02:20:40', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.396913'}
2026-05-11 02:20:41,716 - DEBUG - Route Targets: ['target:64512:8000005']
2026-05-11 02:20:41,716 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-85666644 passed
2026-05-11 02:20:41,716 - DEBUG - ====Verifying policy data for ctest-vn-85666644 in API_Server ======
2026-05-11 02:20:41,717 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-05-11 02:20:41,722 - DEBUG - Requesting: http://10.0.0.38:8082/domain/706a2b3d-625b-48a5-b777-7c642f6bb4c1
2026-05-11 02:20:41,735 - DEBUG - Requesting: http://10.0.0.38:8082/project/9ce9cbb2-ad3e-4ea9-9571-17a0770d9bd7
2026-05-11 02:20:41,808 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ef414b95-cff3-46f4-bef4-9fb521afde75
2026-05-11 02:20:41,819 - DEBUG - ==>Verifying data for policy with id: 5f4dfdf3-5d91-4be7-be8f-7538e2a9f005, fqn: ['default-domain', 'ctest-TestBasicPolicy-69072279', 'ctest-policy-allow-all-74752525']
2026-05-11 02:20:41,819 - INFO - VN ctest-vn-85666644 Policy verification: verify_vn_policy_in_api_server, status: True
2026-05-11 02:20:41,819 - DEBUG - Verifying the vn in opserver
2026-05-11 02:20:41,819 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-69072279:ctest-vn-85666644 virtual network link through opserver 10.0.0.38
2026-05-11 02:20:41,819 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-05-11 02:20:41,830 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-69072279:ctest-vn-85666644', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-69072279:ctest-vn-85666644?flat'}
2026-05-11 02:20:41,830 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-69072279:ctest-vn-85666644 is found in opserver
2026-05-11 02:20:41,841 - DEBUG - Do not have enough data to verify VN in agent
2026-05-11 02:20:41,845 - DEBUG - VRF ids for VN ctest-vn-85666644: {}
2026-05-11 02:20:41,902 - DEBUG - Services list from nova: [