2025-12-03 12:41:00,447 - INFO - Domain Default found not creating
2025-12-03 12:41:00,634 - INFO - Project ctest-TestBasicPolicy-56855379 not found, creating it
2025-12-03 12:41:01,103 - INFO - Created Project:ctest-TestBasicPolicy-56855379, ID : 241ca436-5b2c-4d62-90cd-abddc8776c37
2025-12-03 12:41:02,750 - INFO - ================================================================================
2025-12-03 12:41:02,750 - INFO - STARTING TEST : test_basic_policy_allow_deny
2025-12-03 12:41:02,750 - 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
2025-12-03 12:41:03,020 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with
2025-12-03 12:41:03,020 - INFO - Initial checks done. Running the testcase now
2025-12-03 12:41:03,020 - INFO -
2025-12-03 12:41:03,641 - DEBUG - Response for create_network : {'network': {'id': 'e2e83779-cb05-4222-ada7-7219cc044770', 'name': 'ctest-vn-60102214', 'tenant_id': '241ca4365b2c4d6290cdabddc8776c37', 'project_id': '241ca4365b2c4d6290cdabddc8776c37', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-56855379', 'ctest-vn-60102214'], 'port_security_enabled': True, 'description': ''}}
2025-12-03 12:41:03,871 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f8045eae-c234-45c0-8696-9512f999a56a', 'name': '', 'tenant_id': '241ca4365b2c4d6290cdabddc8776c37', 'network_id': 'e2e83779-cb05-4222-ada7-7219cc044770', 'ip_version': 4, 'cidr': '179.59.248.192/26', 'allocation_pools': [{'start': '179.59.248.194', 'end': '179.59.248.254'}], 'gateway_ip': '179.59.248.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '179.59.248.194', 'tags': [], 'project_id': '241ca4365b2c4d6290cdabddc8776c37'}}
2025-12-03 12:41:03,891 - INFO - Created VN ctest-vn-60102214
2025-12-03 12:41:03,943 - DEBUG - VN ctest-vn-60102214 UUID is e2e83779-cb05-4222-ada7-7219cc044770
2025-12-03 12:41:04,243 - DEBUG - Response for create_network : {'network': {'id': '599c5270-7d6c-4651-b704-2e2e82f48df7', 'name': 'ctest-vn-89540973', 'tenant_id': '241ca4365b2c4d6290cdabddc8776c37', 'project_id': '241ca4365b2c4d6290cdabddc8776c37', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-56855379', 'ctest-vn-89540973'], 'port_security_enabled': True, 'description': ''}}
2025-12-03 12:41:04,405 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dd4fff07-f996-4bbf-a203-9b0e255e9c1b', 'name': '', 'tenant_id': '241ca4365b2c4d6290cdabddc8776c37', 'network_id': '599c5270-7d6c-4651-b704-2e2e82f48df7', 'ip_version': 4, 'cidr': '146.34.88.64/26', 'allocation_pools': [{'start': '146.34.88.66', 'end': '146.34.88.126'}], 'gateway_ip': '146.34.88.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '146.34.88.66', 'tags': [], 'project_id': '241ca4365b2c4d6290cdabddc8776c37'}}
2025-12-03 12:41:04,424 - INFO - Created VN ctest-vn-89540973
2025-12-03 12:41:04,479 - DEBUG - VN ctest-vn-89540973 UUID is 599c5270-7d6c-4651-b704-2e2e82f48df7
2025-12-03 12:41:04,596 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-56855379:ctest-vn-60102214, 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-56855379:ctest-vn-89540973, 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]
2025-12-03 12:41:04,906 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e2e83779-cb05-4222-ada7-7219cc044770', 'name': 'ctest-vn-60102214', 'tenant_id': '241ca4365b2c4d6290cdabddc8776c37', 'project_id': '241ca4365b2c4d6290cdabddc8776c37', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f8045eae-c234-45c0-8696-9512f999a56a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-56855379', 'ctest-vn-60102214'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-56855379', 'ctest-policy-allow-all-46958740']], 'subnet_ipam': [{'subnet_cidr': '179.59.248.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-12-03 12:41:05,152 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '599c5270-7d6c-4651-b704-2e2e82f48df7', 'name': 'ctest-vn-89540973', 'tenant_id': '241ca4365b2c4d6290cdabddc8776c37', 'project_id': '241ca4365b2c4d6290cdabddc8776c37', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['dd4fff07-f996-4bbf-a203-9b0e255e9c1b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-56855379', 'ctest-vn-89540973'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-56855379', 'ctest-policy-allow-all-46958740']], 'subnet_ipam': [{'subnet_cidr': '146.34.88.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-12-03 12:41:05,299 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-12-03 12:41:05,645 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-12-03 12:41:05,680 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ac9ca0e9-2752-4f16-999b-5edc2fdb9916
2025-12-03 12:41:05,694 - DEBUG - Requesting: http://10.0.0.38:8082/project/241ca436-5b2c-4d62-90cd-abddc8776c37
2025-12-03 12:41:05,770 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e2e83779-cb05-4222-ada7-7219cc044770
2025-12-03 12:41:05,783 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e2e83779-cb05-4222-ada7-7219cc044770
2025-12-03 12:41:05,795 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0aea7c2e-7345-4c89-ab5c-69f4c9e807e6
2025-12-03 12:41:05,803 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0aea7c2e-7345-4c89-ab5c-69f4c9e807e6
2025-12-03 12:41:05,811 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/c67a5ad2-ba86-45c1-b389-0df126c3018c
2025-12-03 12:41:05,817 - DEBUG - Route Targets: ['target:64512:8000004']
2025-12-03 12:41:05,817 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e2e83779-cb05-4222-ada7-7219cc044770
2025-12-03 12:41:05,826 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0aea7c2e-7345-4c89-ab5c-69f4c9e807e6
2025-12-03 12:41:05,840 - INFO - Verified VN network id 11 for VN e2e83779-cb05-4222-ada7-7219cc044770
2025-12-03 12:41:05,840 - INFO - Verifications in API Server for VN ctest-vn-60102214 passed
2025-12-03 12:41:05,840 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e2e83779-cb05-4222-ada7-7219cc044770
2025-12-03 12:41:05,849 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0aea7c2e-7345-4c89-ab5c-69f4c9e807e6
2025-12-03 12:41:05,857 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0aea7c2e-7345-4c89-ab5c-69f4c9e807e6
2025-12-03 12:41:05,865 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/c67a5ad2-ba86-45c1-b389-0df126c3018c
2025-12-03 12:41:05,877 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-56855379:ctest-vn-60102214', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-56855379', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16350379443405275682', 'uuid-lslong': '12513095544794793840'}, 'enable': 'true', 'created': '2025-12-03T12:41:03', 'last-modified': '2025-12-03T12:41:04', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.996253'}
2025-12-03 12:41:05,883 - DEBUG - Route Targets: ['target:64512:8000004']
2025-12-03 12:41:05,883 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-60102214 passed
2025-12-03 12:41:05,883 - DEBUG - ====Verifying policy data for ctest-vn-60102214 in API_Server ======
2025-12-03 12:41:05,883 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-12-03 12:41:05,889 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ac9ca0e9-2752-4f16-999b-5edc2fdb9916
2025-12-03 12:41:05,900 - DEBUG - Requesting: http://10.0.0.38:8082/project/241ca436-5b2c-4d62-90cd-abddc8776c37
2025-12-03 12:41:05,974 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e2e83779-cb05-4222-ada7-7219cc044770
2025-12-03 12:41:05,985 - DEBUG - ==>Verifying data for policy with id: c9f286eb-3617-4f15-8015-a2121cd4f846, fqn: ['default-domain', 'ctest-TestBasicPolicy-56855379', 'ctest-policy-allow-all-46958740']
2025-12-03 12:41:05,985 - INFO - VN ctest-vn-60102214 Policy verification: verify_vn_policy_in_api_server, status: True
2025-12-03 12:41:05,985 - DEBUG - Verifying the vn in opserver
2025-12-03 12:41:05,985 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-56855379:ctest-vn-60102214 virtual network link through opserver 10.0.0.38
2025-12-03 12:41:05,986 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2025-12-03 12:41:06,321 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2025-12-03 12:41:06,389 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-56855379:ctest-vn-60102214', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-56855379:ctest-vn-60102214?flat'}
2025-12-03 12:41:06,389 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-56855379:ctest-vn-60102214 is found in opserver
2025-12-03 12:41:06,399 - DEBUG - Do not have enough data to verify VN in agent
2025-12-03 12:41:06,403 - DEBUG - VRF ids for VN ctest-vn-60102214: {}
2025-12-03 12:41:06,404 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-12-03 12:41:06,409 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ac9ca0e9-2752-4f16-999b-5edc2fdb9916
2025-12-03 12:41:06,420 - DEBUG - Requesting: http://10.0.0.38:8082/project/241ca436-5b2c-4d62-90cd-abddc8776c37
2025-12-03 12:41:06,493 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/599c5270-7d6c-4651-b704-2e2e82f48df7
2025-12-03 12:41:06,506 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/599c5270-7d6c-4651-b704-2e2e82f48df7
2025-12-03 12:41:06,516 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/23801b50-edf9-4203-9fa3-fdef4b7835c2
2025-12-03 12:41:06,523 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/23801b50-edf9-4203-9fa3-fdef4b7835c2
2025-12-03 12:41:06,531 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/755bbe30-d29c-4186-944d-b259b4383462
2025-12-03 12:41:06,537 - DEBUG - Route Targets: ['target:64512:8000005']
2025-12-03 12:41:06,537 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/599c5270-7d6c-4651-b704-2e2e82f48df7
2025-12-03 12:41:06,546 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/23801b50-edf9-4203-9fa3-fdef4b7835c2
2025-12-03 12:41:06,559 - INFO - Verified VN network id 12 for VN 599c5270-7d6c-4651-b704-2e2e82f48df7
2025-12-03 12:41:06,560 - INFO - Verifications in API Server for VN ctest-vn-89540973 passed
2025-12-03 12:41:06,560 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/599c5270-7d6c-4651-b704-2e2e82f48df7
2025-12-03 12:41:06,568 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/23801b50-edf9-4203-9fa3-fdef4b7835c2
2025-12-03 12:41:06,575 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/23801b50-edf9-4203-9fa3-fdef4b7835c2
2025-12-03 12:41:06,583 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/755bbe30-d29c-4186-944d-b259b4383462
2025-12-03 12:41:06,596 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-56855379:ctest-vn-89540973', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-56855379', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6457126608836511313', 'uuid-lslong': '13187716386148093431'}, 'enable': 'true', 'created': '2025-12-03T12:41:04', 'last-modified': '2025-12-03T12:41:05', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.474720'}
2025-12-03 12:41:06,602 - DEBUG - Route Targets: ['target:64512:8000005']
2025-12-03 12:41:06,602 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-89540973 passed
2025-12-03 12:41:06,602 - DEBUG - ====Verifying policy data for ctest-vn-89540973 in API_Server ======
2025-12-03 12:41:06,602 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-12-03 12:41:06,608 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ac9ca0e9-2752-4f16-999b-5edc2fdb9916
2025-12-03 12:41:06,621 - DEBUG - Requesting: http://10.0.0.38:8082/project/241ca436-5b2c-4d62-90cd-abddc8776c37
2025-12-03 12:41:06,689 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/599c5270-7d6c-4651-b704-2e2e82f48df7
2025-12-03 12:41:06,698 - DEBUG - ==>Verifying data for policy with id: c9f286eb-3617-4f15-8015-a2121cd4f846, fqn: ['default-domain', 'ctest-TestBasicPolicy-56855379', 'ctest-policy-allow-all-46958740']
2025-12-03 12:41:06,698 - INFO - VN ctest-vn-89540973 Policy verification: verify_vn_policy_in_api_server, status: True
2025-12-03 12:41:06,698 - DEBUG - Verifying the vn in opserver
2025-12-03 12:41:06,699 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-56855379:ctest-vn-89540973 virtual network link through opserver 10.0.0.38
2025-12-03 12:41:06,699 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2025-12-03 12:41:06,708 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-56855379:ctest-vn-89540973', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-56855379:ctest-vn-89540973?flat'}
2025-12-03 12:41:06,708 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-56855379:ctest-vn-89540973 is found in opserver
2025-12-03 12:41:06,718 - DEBUG - Do not have enough data to verify VN in agent
2025-12-03 12:41:06,723 - DEBUG - VRF ids for VN ctest-vn-89540973: {}
2025-12-03 12:41:06,788 - DEBUG - Services list from nova: [