2026-04-29 16:56:29,227 - INFO - Domain Default found not creating
2026-04-29 16:56:29,424 - INFO - Project ctest-TestBasicPolicy-20443018 not found, creating it
2026-04-29 16:56:29,878 - INFO - Created Project:ctest-TestBasicPolicy-20443018, ID : 4d3e5c83-901b-41d1-a2a5-1004761a18bf
2026-04-29 16:56:31,408 - INFO - ================================================================================
2026-04-29 16:56:31,408 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-04-29 16:56:31,408 - 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-04-29 16:56:31,668 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.17': '0'}} with
2026-04-29 16:56:31,668 - INFO - Initial checks done. Running the testcase now
2026-04-29 16:56:31,668 - INFO -
2026-04-29 16:56:32,191 - DEBUG - Response for create_network : {'network': {'id': '16f9b0f6-8dce-478f-a169-e859f7bb08f2', 'name': 'ctest-vn-79743851', 'tenant_id': '4d3e5c83901b41d1a2a51004761a18bf', 'project_id': '4d3e5c83901b41d1a2a51004761a18bf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20443018', 'ctest-vn-79743851'], 'port_security_enabled': True, 'description': ''}}
2026-04-29 16:56:32,387 - DEBUG - Response for create_subnet : {'subnet': {'id': '38e35d6b-0ef9-48ff-a64e-92b89716c51d', 'name': '', 'tenant_id': '4d3e5c83901b41d1a2a51004761a18bf', 'network_id': '16f9b0f6-8dce-478f-a169-e859f7bb08f2', 'ip_version': 4, 'cidr': '135.92.238.192/26', 'allocation_pools': [{'start': '135.92.238.194', 'end': '135.92.238.254'}], 'gateway_ip': '135.92.238.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '135.92.238.194', 'tags': [], 'project_id': '4d3e5c83901b41d1a2a51004761a18bf'}}
2026-04-29 16:56:32,403 - INFO - Created VN ctest-vn-79743851
2026-04-29 16:56:32,458 - DEBUG - VN ctest-vn-79743851 UUID is 16f9b0f6-8dce-478f-a169-e859f7bb08f2
2026-04-29 16:56:32,773 - DEBUG - Response for create_network : {'network': {'id': 'e66202d2-b331-4708-89b8-b43c33f03788', 'name': 'ctest-vn-24322957', 'tenant_id': '4d3e5c83901b41d1a2a51004761a18bf', 'project_id': '4d3e5c83901b41d1a2a51004761a18bf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20443018', 'ctest-vn-24322957'], 'port_security_enabled': True, 'description': ''}}
2026-04-29 16:56:32,989 - DEBUG - Response for create_subnet : {'subnet': {'id': '96bacb32-6cab-4338-b4a3-9f4f93ddf3e3', 'name': '', 'tenant_id': '4d3e5c83901b41d1a2a51004761a18bf', 'network_id': 'e66202d2-b331-4708-89b8-b43c33f03788', 'ip_version': 4, 'cidr': '14.173.184.0/26', 'allocation_pools': [{'start': '14.173.184.2', 'end': '14.173.184.62'}], 'gateway_ip': '14.173.184.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '14.173.184.2', 'tags': [], 'project_id': '4d3e5c83901b41d1a2a51004761a18bf'}}
2026-04-29 16:56:33,007 - INFO - Created VN ctest-vn-24322957
2026-04-29 16:56:33,062 - DEBUG - VN ctest-vn-24322957 UUID is e66202d2-b331-4708-89b8-b43c33f03788
2026-04-29 16:56:33,214 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-20443018:ctest-vn-79743851, 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-20443018:ctest-vn-24322957, 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-04-29 16:56:33,493 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '16f9b0f6-8dce-478f-a169-e859f7bb08f2', 'name': 'ctest-vn-79743851', 'tenant_id': '4d3e5c83901b41d1a2a51004761a18bf', 'project_id': '4d3e5c83901b41d1a2a51004761a18bf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['38e35d6b-0ef9-48ff-a64e-92b89716c51d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20443018', 'ctest-vn-79743851'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-20443018', 'ctest-policy-allow-all-45190608']], 'subnet_ipam': [{'subnet_cidr': '135.92.238.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-04-29 16:56:33,709 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e66202d2-b331-4708-89b8-b43c33f03788', 'name': 'ctest-vn-24322957', 'tenant_id': '4d3e5c83901b41d1a2a51004761a18bf', 'project_id': '4d3e5c83901b41d1a2a51004761a18bf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['96bacb32-6cab-4338-b4a3-9f4f93ddf3e3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20443018', 'ctest-vn-24322957'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-20443018', 'ctest-policy-allow-all-45190608']], 'subnet_ipam': [{'subnet_cidr': '14.173.184.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-04-29 16:56:33,870 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-04-29 16:56:34,161 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-04-29 16:56:34,191 - DEBUG - Requesting: http://10.0.0.249:8082/domain/5bdd3b40-301b-4528-af32-0158024f366c
2026-04-29 16:56:34,202 - DEBUG - Requesting: http://10.0.0.249:8082/project/4d3e5c83-901b-41d1-a2a5-1004761a18bf
2026-04-29 16:56:34,276 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/16f9b0f6-8dce-478f-a169-e859f7bb08f2
2026-04-29 16:56:34,286 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/16f9b0f6-8dce-478f-a169-e859f7bb08f2
2026-04-29 16:56:34,294 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/079ad954-6d58-463d-86c7-c2094e95744a
2026-04-29 16:56:34,299 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/079ad954-6d58-463d-86c7-c2094e95744a
2026-04-29 16:56:34,305 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/854fc81c-9a2f-4d54-ad7e-1ff7c38df9d1
2026-04-29 16:56:34,310 - DEBUG - Route Targets: ['target:64512:8000004']
2026-04-29 16:56:34,310 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/16f9b0f6-8dce-478f-a169-e859f7bb08f2
2026-04-29 16:56:34,317 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/079ad954-6d58-463d-86c7-c2094e95744a
2026-04-29 16:56:34,327 - INFO - Verified VN network id 9 for VN 16f9b0f6-8dce-478f-a169-e859f7bb08f2
2026-04-29 16:56:34,327 - INFO - Verifications in API Server for VN ctest-vn-79743851 passed
2026-04-29 16:56:34,327 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/16f9b0f6-8dce-478f-a169-e859f7bb08f2
2026-04-29 16:56:34,335 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/079ad954-6d58-463d-86c7-c2094e95744a
2026-04-29 16:56:34,340 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/079ad954-6d58-463d-86c7-c2094e95744a
2026-04-29 16:56:34,345 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/854fc81c-9a2f-4d54-ad7e-1ff7c38df9d1
2026-04-29 16:56:34,355 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-20443018:ctest-vn-79743851', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-20443018', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1655548911022917519', 'uuid-lslong': '11631082985766979826'}, 'enable': 'true', 'created': '2026-04-29T16:56:32', 'last-modified': '2026-04-29T16:56:33', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.882770'}
2026-04-29 16:56:34,360 - DEBUG - Route Targets: ['target:64512:8000004']
2026-04-29 16:56:34,360 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-79743851 passed
2026-04-29 16:56:34,360 - DEBUG - ====Verifying policy data for ctest-vn-79743851 in API_Server ======
2026-04-29 16:56:34,360 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-04-29 16:56:34,365 - DEBUG - Requesting: http://10.0.0.249:8082/domain/5bdd3b40-301b-4528-af32-0158024f366c
2026-04-29 16:56:34,374 - DEBUG - Requesting: http://10.0.0.249:8082/project/4d3e5c83-901b-41d1-a2a5-1004761a18bf
2026-04-29 16:56:34,444 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/16f9b0f6-8dce-478f-a169-e859f7bb08f2
2026-04-29 16:56:34,452 - DEBUG - ==>Verifying data for policy with id: 81844c32-8478-4251-a7dc-01dd7d5ed9c2, fqn: ['default-domain', 'ctest-TestBasicPolicy-20443018', 'ctest-policy-allow-all-45190608']
2026-04-29 16:56:34,452 - INFO - VN ctest-vn-79743851 Policy verification: verify_vn_policy_in_api_server, status: True
2026-04-29 16:56:34,452 - DEBUG - Verifying the vn in opserver
2026-04-29 16:56:34,452 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-20443018:ctest-vn-79743851 virtual network link through opserver 10.0.0.249
2026-04-29 16:56:34,452 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks
2026-04-29 16:56:34,743 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks
2026-04-29 16:56:34,811 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-20443018:ctest-vn-79743851', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-20443018:ctest-vn-79743851?flat'}
2026-04-29 16:56:34,811 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-20443018:ctest-vn-79743851 is found in opserver
2026-04-29 16:56:34,819 - DEBUG - Do not have enough data to verify VN in agent
2026-04-29 16:56:34,823 - DEBUG - VRF ids for VN ctest-vn-79743851: {}
2026-04-29 16:56:34,823 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-04-29 16:56:34,829 - DEBUG - Requesting: http://10.0.0.249:8082/domain/5bdd3b40-301b-4528-af32-0158024f366c
2026-04-29 16:56:34,838 - DEBUG - Requesting: http://10.0.0.249:8082/project/4d3e5c83-901b-41d1-a2a5-1004761a18bf
2026-04-29 16:56:34,904 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/e66202d2-b331-4708-89b8-b43c33f03788
2026-04-29 16:56:34,914 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/e66202d2-b331-4708-89b8-b43c33f03788
2026-04-29 16:56:34,923 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/1262391e-8064-4376-9b04-b346963965fb
2026-04-29 16:56:34,931 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/1262391e-8064-4376-9b04-b346963965fb
2026-04-29 16:56:34,938 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/ece848da-d173-4f24-a939-680283e405ba
2026-04-29 16:56:34,944 - DEBUG - Route Targets: ['target:64512:8000005']
2026-04-29 16:56:34,944 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/e66202d2-b331-4708-89b8-b43c33f03788
2026-04-29 16:56:34,955 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/1262391e-8064-4376-9b04-b346963965fb
2026-04-29 16:56:34,976 - INFO - Verified VN network id 10 for VN e66202d2-b331-4708-89b8-b43c33f03788
2026-04-29 16:56:34,976 - INFO - Verifications in API Server for VN ctest-vn-24322957 passed
2026-04-29 16:56:34,976 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/e66202d2-b331-4708-89b8-b43c33f03788
2026-04-29 16:56:34,985 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/1262391e-8064-4376-9b04-b346963965fb
2026-04-29 16:56:34,992 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/1262391e-8064-4376-9b04-b346963965fb
2026-04-29 16:56:34,997 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/ece848da-d173-4f24-a939-680283e405ba
2026-04-29 16:56:35,007 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-20443018:ctest-vn-24322957', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-20443018', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16600834280413808392', 'uuid-lslong': '9923879949573306248'}, 'enable': 'true', 'created': '2026-04-29T16:56:32', 'last-modified': '2026-04-29T16:56:33', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.317541'}
2026-04-29 16:56:35,011 - DEBUG - Route Targets: ['target:64512:8000005']
2026-04-29 16:56:35,012 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-24322957 passed
2026-04-29 16:56:35,012 - DEBUG - ====Verifying policy data for ctest-vn-24322957 in API_Server ======
2026-04-29 16:56:35,012 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-04-29 16:56:35,017 - DEBUG - Requesting: http://10.0.0.249:8082/domain/5bdd3b40-301b-4528-af32-0158024f366c
2026-04-29 16:56:35,029 - DEBUG - Requesting: http://10.0.0.249:8082/project/4d3e5c83-901b-41d1-a2a5-1004761a18bf
2026-04-29 16:56:35,097 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/e66202d2-b331-4708-89b8-b43c33f03788
2026-04-29 16:56:35,105 - DEBUG - ==>Verifying data for policy with id: 81844c32-8478-4251-a7dc-01dd7d5ed9c2, fqn: ['default-domain', 'ctest-TestBasicPolicy-20443018', 'ctest-policy-allow-all-45190608']
2026-04-29 16:56:35,105 - INFO - VN ctest-vn-24322957 Policy verification: verify_vn_policy_in_api_server, status: True
2026-04-29 16:56:35,105 - DEBUG - Verifying the vn in opserver
2026-04-29 16:56:35,105 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-20443018:ctest-vn-24322957 virtual network link through opserver 10.0.0.249
2026-04-29 16:56:35,105 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks
2026-04-29 16:56:35,117 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-20443018:ctest-vn-24322957', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-20443018:ctest-vn-24322957?flat'}
2026-04-29 16:56:35,117 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-20443018:ctest-vn-24322957 is found in opserver
2026-04-29 16:56:35,127 - DEBUG - Do not have enough data to verify VN in agent
2026-04-29 16:56:35,131 - DEBUG - VRF ids for VN ctest-vn-24322957: {}
2026-04-29 16:56:35,188 - DEBUG - Services list from nova: [