2025-12-21 15:04:42,334 - INFO - Domain Default found not creating
2025-12-21 15:04:42,503 - INFO - Project ctest-TestBasicPolicy-96455572 not found, creating it
2025-12-21 15:04:42,953 - INFO - Created Project:ctest-TestBasicPolicy-96455572, ID : 01a248d0-4949-4ffe-9b71-c141ed14dd1e
2025-12-21 15:04:44,427 - INFO - ================================================================================
2025-12-21 15:04:44,427 - INFO - STARTING TEST : test_basic_policy_allow_deny
2025-12-21 15:04:44,427 - 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-21 15:04:44,682 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with
2025-12-21 15:04:44,682 - INFO - Initial checks done. Running the testcase now
2025-12-21 15:04:44,682 - INFO -
2025-12-21 15:04:45,249 - DEBUG - Response for create_network : {'network': {'id': '2836327b-4a6a-4c00-926e-39974236152a', 'name': 'ctest-vn-72716787', 'tenant_id': '01a248d049494ffe9b71c141ed14dd1e', 'project_id': '01a248d049494ffe9b71c141ed14dd1e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96455572', 'ctest-vn-72716787'], 'port_security_enabled': True, 'description': ''}}
2025-12-21 15:04:45,429 - DEBUG - Response for create_subnet : {'subnet': {'id': '16004c1f-c657-4319-ab5f-1970b3abdad7', 'name': '', 'tenant_id': '01a248d049494ffe9b71c141ed14dd1e', 'network_id': '2836327b-4a6a-4c00-926e-39974236152a', 'ip_version': 4, 'cidr': '140.43.247.192/26', 'allocation_pools': [{'start': '140.43.247.194', 'end': '140.43.247.254'}], 'gateway_ip': '140.43.247.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '140.43.247.194', 'tags': [], 'project_id': '01a248d049494ffe9b71c141ed14dd1e'}}
2025-12-21 15:04:45,447 - INFO - Created VN ctest-vn-72716787
2025-12-21 15:04:45,499 - DEBUG - VN ctest-vn-72716787 UUID is 2836327b-4a6a-4c00-926e-39974236152a
2025-12-21 15:04:45,775 - DEBUG - Response for create_network : {'network': {'id': 'b8cb5784-2a96-4cc7-96a6-3e4b2cf01a57', 'name': 'ctest-vn-11558531', 'tenant_id': '01a248d049494ffe9b71c141ed14dd1e', 'project_id': '01a248d049494ffe9b71c141ed14dd1e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96455572', 'ctest-vn-11558531'], 'port_security_enabled': True, 'description': ''}}
2025-12-21 15:04:45,965 - DEBUG - Response for create_subnet : {'subnet': {'id': '9282a26a-b75b-46e1-bce7-b341c31e5fbc', 'name': '', 'tenant_id': '01a248d049494ffe9b71c141ed14dd1e', 'network_id': 'b8cb5784-2a96-4cc7-96a6-3e4b2cf01a57', 'ip_version': 4, 'cidr': '141.226.203.0/26', 'allocation_pools': [{'start': '141.226.203.2', 'end': '141.226.203.62'}], 'gateway_ip': '141.226.203.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '141.226.203.2', 'tags': [], 'project_id': '01a248d049494ffe9b71c141ed14dd1e'}}
2025-12-21 15:04:45,983 - INFO - Created VN ctest-vn-11558531
2025-12-21 15:04:46,035 - DEBUG - VN ctest-vn-11558531 UUID is b8cb5784-2a96-4cc7-96a6-3e4b2cf01a57
2025-12-21 15:04:46,187 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-96455572:ctest-vn-72716787, 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-96455572:ctest-vn-11558531, 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-21 15:04:46,483 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2836327b-4a6a-4c00-926e-39974236152a', 'name': 'ctest-vn-72716787', 'tenant_id': '01a248d049494ffe9b71c141ed14dd1e', 'project_id': '01a248d049494ffe9b71c141ed14dd1e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['16004c1f-c657-4319-ab5f-1970b3abdad7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96455572', 'ctest-vn-72716787'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-96455572', 'ctest-policy-allow-all-47711095']], 'subnet_ipam': [{'subnet_cidr': '140.43.247.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-12-21 15:04:46,707 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b8cb5784-2a96-4cc7-96a6-3e4b2cf01a57', 'name': 'ctest-vn-11558531', 'tenant_id': '01a248d049494ffe9b71c141ed14dd1e', 'project_id': '01a248d049494ffe9b71c141ed14dd1e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9282a26a-b75b-46e1-bce7-b341c31e5fbc'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96455572', 'ctest-vn-11558531'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-96455572', 'ctest-policy-allow-all-47711095']], 'subnet_ipam': [{'subnet_cidr': '141.226.203.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-12-21 15:04:46,871 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-12-21 15:04:47,167 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-12-21 15:04:47,202 - DEBUG - Requesting: http://10.0.0.38:8082/domain/6e4feb2f-8f57-49e9-b996-9fb4b7761d1d
2025-12-21 15:04:47,213 - DEBUG - Requesting: http://10.0.0.38:8082/project/01a248d0-4949-4ffe-9b71-c141ed14dd1e
2025-12-21 15:04:47,283 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2836327b-4a6a-4c00-926e-39974236152a
2025-12-21 15:04:47,294 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2836327b-4a6a-4c00-926e-39974236152a
2025-12-21 15:04:47,303 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7c248e3f-5e6b-4e5a-b814-a669cf9524bf
2025-12-21 15:04:47,310 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7c248e3f-5e6b-4e5a-b814-a669cf9524bf
2025-12-21 15:04:47,318 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/3494a769-c7c3-4663-8ccc-610f6fa8d082
2025-12-21 15:04:47,324 - DEBUG - Route Targets: ['target:64512:8000004']
2025-12-21 15:04:47,325 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2836327b-4a6a-4c00-926e-39974236152a
2025-12-21 15:04:47,333 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7c248e3f-5e6b-4e5a-b814-a669cf9524bf
2025-12-21 15:04:47,349 - INFO - Verified VN network id 11 for VN 2836327b-4a6a-4c00-926e-39974236152a
2025-12-21 15:04:47,350 - INFO - Verifications in API Server for VN ctest-vn-72716787 passed
2025-12-21 15:04:47,350 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2836327b-4a6a-4c00-926e-39974236152a
2025-12-21 15:04:47,359 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7c248e3f-5e6b-4e5a-b814-a669cf9524bf
2025-12-21 15:04:47,367 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7c248e3f-5e6b-4e5a-b814-a669cf9524bf
2025-12-21 15:04:47,374 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/3494a769-c7c3-4663-8ccc-610f6fa8d082
2025-12-21 15:04:47,387 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-96455572:ctest-vn-72716787', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-96455572', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2897558915370339328', 'uuid-lslong': '10551434298789336362'}, 'enable': 'true', 'created': '2025-12-21T15:04:45', 'last-modified': '2025-12-21T15:04:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.925940'}
2025-12-21 15:04:47,393 - DEBUG - Route Targets: ['target:64512:8000004']
2025-12-21 15:04:47,393 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-72716787 passed
2025-12-21 15:04:47,393 - DEBUG - ====Verifying policy data for ctest-vn-72716787 in API_Server ======
2025-12-21 15:04:47,393 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-12-21 15:04:47,399 - DEBUG - Requesting: http://10.0.0.38:8082/domain/6e4feb2f-8f57-49e9-b996-9fb4b7761d1d
2025-12-21 15:04:47,409 - DEBUG - Requesting: http://10.0.0.38:8082/project/01a248d0-4949-4ffe-9b71-c141ed14dd1e
2025-12-21 15:04:47,479 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2836327b-4a6a-4c00-926e-39974236152a
2025-12-21 15:04:47,490 - DEBUG - ==>Verifying data for policy with id: bd80856e-5c0b-43f3-b377-b85c990295c8, fqn: ['default-domain', 'ctest-TestBasicPolicy-96455572', 'ctest-policy-allow-all-47711095']
2025-12-21 15:04:47,490 - INFO - VN ctest-vn-72716787 Policy verification: verify_vn_policy_in_api_server, status: True
2025-12-21 15:04:47,490 - DEBUG - Verifying the vn in opserver
2025-12-21 15:04:47,490 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-96455572:ctest-vn-72716787 virtual network link through opserver 10.0.0.38
2025-12-21 15:04:47,490 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2025-12-21 15:04:47,797 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2025-12-21 15:04:47,867 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-96455572:ctest-vn-72716787', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-96455572:ctest-vn-72716787?flat'}
2025-12-21 15:04:47,867 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-96455572:ctest-vn-72716787 is found in opserver
2025-12-21 15:04:47,876 - DEBUG - Do not have enough data to verify VN in agent
2025-12-21 15:04:47,880 - DEBUG - VRF ids for VN ctest-vn-72716787: {}
2025-12-21 15:04:47,880 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-12-21 15:04:47,886 - DEBUG - Requesting: http://10.0.0.38:8082/domain/6e4feb2f-8f57-49e9-b996-9fb4b7761d1d
2025-12-21 15:04:47,897 - DEBUG - Requesting: http://10.0.0.38:8082/project/01a248d0-4949-4ffe-9b71-c141ed14dd1e
2025-12-21 15:04:47,967 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b8cb5784-2a96-4cc7-96a6-3e4b2cf01a57
2025-12-21 15:04:47,978 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b8cb5784-2a96-4cc7-96a6-3e4b2cf01a57
2025-12-21 15:04:47,987 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/75850bcc-df08-462c-87f1-b62f039813c4
2025-12-21 15:04:47,994 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/75850bcc-df08-462c-87f1-b62f039813c4
2025-12-21 15:04:48,001 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/b73d16a8-e295-45d9-b7e7-16a5459255a4
2025-12-21 15:04:48,008 - DEBUG - Route Targets: ['target:64512:8000005']
2025-12-21 15:04:48,008 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b8cb5784-2a96-4cc7-96a6-3e4b2cf01a57
2025-12-21 15:04:48,017 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/75850bcc-df08-462c-87f1-b62f039813c4
2025-12-21 15:04:48,032 - INFO - Verified VN network id 12 for VN b8cb5784-2a96-4cc7-96a6-3e4b2cf01a57
2025-12-21 15:04:48,032 - INFO - Verifications in API Server for VN ctest-vn-11558531 passed
2025-12-21 15:04:48,032 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b8cb5784-2a96-4cc7-96a6-3e4b2cf01a57
2025-12-21 15:04:48,042 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/75850bcc-df08-462c-87f1-b62f039813c4
2025-12-21 15:04:48,049 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/75850bcc-df08-462c-87f1-b62f039813c4
2025-12-21 15:04:48,055 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/b73d16a8-e295-45d9-b7e7-16a5459255a4
2025-12-21 15:04:48,067 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-96455572:ctest-vn-11558531', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-96455572', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13315832948412796103', 'uuid-lslong': '10855432444420561495'}, 'enable': 'true', 'created': '2025-12-21T15:04:45', 'last-modified': '2025-12-21T15:04:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.379831'}
2025-12-21 15:04:48,073 - DEBUG - Route Targets: ['target:64512:8000005']
2025-12-21 15:04:48,073 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-11558531 passed
2025-12-21 15:04:48,073 - DEBUG - ====Verifying policy data for ctest-vn-11558531 in API_Server ======
2025-12-21 15:04:48,073 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-12-21 15:04:48,079 - DEBUG - Requesting: http://10.0.0.38:8082/domain/6e4feb2f-8f57-49e9-b996-9fb4b7761d1d
2025-12-21 15:04:48,091 - DEBUG - Requesting: http://10.0.0.38:8082/project/01a248d0-4949-4ffe-9b71-c141ed14dd1e
2025-12-21 15:04:48,161 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b8cb5784-2a96-4cc7-96a6-3e4b2cf01a57
2025-12-21 15:04:48,170 - DEBUG - ==>Verifying data for policy with id: bd80856e-5c0b-43f3-b377-b85c990295c8, fqn: ['default-domain', 'ctest-TestBasicPolicy-96455572', 'ctest-policy-allow-all-47711095']
2025-12-21 15:04:48,170 - INFO - VN ctest-vn-11558531 Policy verification: verify_vn_policy_in_api_server, status: True
2025-12-21 15:04:48,170 - DEBUG - Verifying the vn in opserver
2025-12-21 15:04:48,170 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-96455572:ctest-vn-11558531 virtual network link through opserver 10.0.0.38
2025-12-21 15:04:48,170 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2025-12-21 15:04:48,180 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-96455572:ctest-vn-11558531', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-96455572:ctest-vn-11558531?flat'}
2025-12-21 15:04:48,180 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-96455572:ctest-vn-11558531 is found in opserver
2025-12-21 15:04:48,190 - DEBUG - Do not have enough data to verify VN in agent
2025-12-21 15:04:48,194 - DEBUG - VRF ids for VN ctest-vn-11558531: {}
2025-12-21 15:04:48,252 - DEBUG - Services list from nova: [