2026-10-02 10:09:45,764 - INFO - Domain Default found not creating
2026-10-02 10:09:45,936 - INFO - Project ctest-TestBasicPolicy-00722485 not found, creating it
2026-10-02 10:09:46,421 - INFO - Created Project:ctest-TestBasicPolicy-00722485, ID : 6e6e7ea4-f09f-4804-8920-264682d0f068
2026-10-02 10:09:48,150 - INFO - ================================================================================
2026-10-02 10:09:48,150 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-10-02 10:09:48,150 - 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-10-02 10:09:48,405 - DEBUG - Nothing to compare xmpp stats {'10.0.0.185': {'10.20.0.17': '0'}} with
2026-10-02 10:09:48,405 - INFO - Initial checks done. Running the testcase now
2026-10-02 10:09:48,405 - INFO -
2026-10-02 10:09:49,070 - DEBUG - Response for create_network : {'network': {'id': '3ead39d9-ee84-4f4d-8fee-f3687952d76c', 'name': 'ctest-vn-89983305', 'tenant_id': '6e6e7ea4f09f48048920264682d0f068', 'project_id': '6e6e7ea4f09f48048920264682d0f068', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00722485', 'ctest-vn-89983305'], 'port_security_enabled': True, 'description': ''}}
2026-10-02 10:09:49,271 - DEBUG - Response for create_subnet : {'subnet': {'id': '63b4603c-65f0-476f-ba8a-956c0279ff2d', 'name': '', 'tenant_id': '6e6e7ea4f09f48048920264682d0f068', 'network_id': '3ead39d9-ee84-4f4d-8fee-f3687952d76c', 'ip_version': 4, 'cidr': '100.154.161.192/26', 'allocation_pools': [{'start': '100.154.161.194', 'end': '100.154.161.254'}], 'gateway_ip': '100.154.161.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '100.154.161.194', 'tags': [], 'project_id': '6e6e7ea4f09f48048920264682d0f068'}}
2026-10-02 10:09:49,288 - INFO - Created VN ctest-vn-89983305
2026-10-02 10:09:49,342 - DEBUG - VN ctest-vn-89983305 UUID is 3ead39d9-ee84-4f4d-8fee-f3687952d76c
2026-10-02 10:09:49,652 - DEBUG - Response for create_network : {'network': {'id': '17958f25-6b0c-4dd5-88d4-d40dc5c7c268', 'name': 'ctest-vn-10550139', 'tenant_id': '6e6e7ea4f09f48048920264682d0f068', 'project_id': '6e6e7ea4f09f48048920264682d0f068', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00722485', 'ctest-vn-10550139'], 'port_security_enabled': True, 'description': ''}}
2026-10-02 10:09:49,882 - DEBUG - Response for create_subnet : {'subnet': {'id': '78c93753-3728-4cc8-bdee-3080ef7a5c8f', 'name': '', 'tenant_id': '6e6e7ea4f09f48048920264682d0f068', 'network_id': '17958f25-6b0c-4dd5-88d4-d40dc5c7c268', 'ip_version': 4, 'cidr': '51.190.6.0/26', 'allocation_pools': [{'start': '51.190.6.2', 'end': '51.190.6.62'}], 'gateway_ip': '51.190.6.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '51.190.6.2', 'tags': [], 'project_id': '6e6e7ea4f09f48048920264682d0f068'}}
2026-10-02 10:09:49,898 - INFO - Created VN ctest-vn-10550139
2026-10-02 10:09:49,950 - DEBUG - VN ctest-vn-10550139 UUID is 17958f25-6b0c-4dd5-88d4-d40dc5c7c268
2026-10-02 10:09:50,062 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-00722485:ctest-vn-89983305, 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-00722485:ctest-vn-10550139, 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-10-02 10:09:50,367 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3ead39d9-ee84-4f4d-8fee-f3687952d76c', 'name': 'ctest-vn-89983305', 'tenant_id': '6e6e7ea4f09f48048920264682d0f068', 'project_id': '6e6e7ea4f09f48048920264682d0f068', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['63b4603c-65f0-476f-ba8a-956c0279ff2d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00722485', 'ctest-vn-89983305'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-00722485', 'ctest-policy-allow-all-75778041']], 'subnet_ipam': [{'subnet_cidr': '100.154.161.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-10-02 10:09:50,603 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '17958f25-6b0c-4dd5-88d4-d40dc5c7c268', 'name': 'ctest-vn-10550139', 'tenant_id': '6e6e7ea4f09f48048920264682d0f068', 'project_id': '6e6e7ea4f09f48048920264682d0f068', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['78c93753-3728-4cc8-bdee-3080ef7a5c8f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00722485', 'ctest-vn-10550139'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-00722485', 'ctest-policy-allow-all-75778041']], 'subnet_ipam': [{'subnet_cidr': '51.190.6.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-10-02 10:09:50,766 - DEBUG - Requesting: http://10.0.0.185:8082/domains
2026-10-02 10:09:51,143 - DEBUG - Requesting: http://10.0.0.185:8082/domains
2026-10-02 10:09:51,175 - DEBUG - Requesting: http://10.0.0.185:8082/domain/a1eea219-e16e-42d7-9caa-677776319523
2026-10-02 10:09:51,187 - DEBUG - Requesting: http://10.0.0.185:8082/project/6e6e7ea4-f09f-4804-8920-264682d0f068
2026-10-02 10:09:51,268 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/3ead39d9-ee84-4f4d-8fee-f3687952d76c
2026-10-02 10:09:51,281 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/3ead39d9-ee84-4f4d-8fee-f3687952d76c
2026-10-02 10:09:51,291 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/21d2cd41-a150-473c-83ff-b64accfd6844
2026-10-02 10:09:51,300 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/21d2cd41-a150-473c-83ff-b64accfd6844
2026-10-02 10:09:51,308 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/0df72b4e-1156-45c2-8548-8af4667b8d35
2026-10-02 10:09:51,315 - DEBUG - Route Targets: ['target:64512:8000005']
2026-10-02 10:09:51,315 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/3ead39d9-ee84-4f4d-8fee-f3687952d76c
2026-10-02 10:09:51,324 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/21d2cd41-a150-473c-83ff-b64accfd6844
2026-10-02 10:09:51,339 - INFO - Verified VN network id 12 for VN 3ead39d9-ee84-4f4d-8fee-f3687952d76c
2026-10-02 10:09:51,339 - INFO - Verifications in API Server for VN ctest-vn-89983305 passed
2026-10-02 10:09:51,339 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/3ead39d9-ee84-4f4d-8fee-f3687952d76c
2026-10-02 10:09:51,349 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/21d2cd41-a150-473c-83ff-b64accfd6844
2026-10-02 10:09:51,357 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/21d2cd41-a150-473c-83ff-b64accfd6844
2026-10-02 10:09:51,367 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/0df72b4e-1156-45c2-8548-8af4667b8d35
2026-10-02 10:09:51,379 - DEBUG - Control-node 10.0.0.185 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-00722485:ctest-vn-89983305', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-00722485', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4516329609494810445', 'uuid-lslong': '10371494621918451564'}, 'enable': 'true', 'created': '2026-10-02T10:09:49', 'last-modified': '2026-10-02T10:09:50', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.037022'}
2026-10-02 10:09:51,386 - DEBUG - Route Targets: ['target:64512:8000005']
2026-10-02 10:09:51,386 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-89983305 passed
2026-10-02 10:09:51,386 - DEBUG - ====Verifying policy data for ctest-vn-89983305 in API_Server ======
2026-10-02 10:09:51,386 - DEBUG - Requesting: http://10.0.0.185:8082/domains
2026-10-02 10:09:51,393 - DEBUG - Requesting: http://10.0.0.185:8082/domain/a1eea219-e16e-42d7-9caa-677776319523
2026-10-02 10:09:51,406 - DEBUG - Requesting: http://10.0.0.185:8082/project/6e6e7ea4-f09f-4804-8920-264682d0f068
2026-10-02 10:09:51,480 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/3ead39d9-ee84-4f4d-8fee-f3687952d76c
2026-10-02 10:09:51,491 - DEBUG - ==>Verifying data for policy with id: 33f5afac-d648-4cec-a37c-bcd8f6f79524, fqn: ['default-domain', 'ctest-TestBasicPolicy-00722485', 'ctest-policy-allow-all-75778041']
2026-10-02 10:09:51,491 - INFO - VN ctest-vn-89983305 Policy verification: verify_vn_policy_in_api_server, status: True
2026-10-02 10:09:51,491 - DEBUG - Verifying the vn in opserver
2026-10-02 10:09:51,491 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-00722485:ctest-vn-89983305 virtual network link through opserver 10.0.0.185
2026-10-02 10:09:51,491 - DEBUG - Requesting: http://10.0.0.185:8081/analytics/uves/virtual-networks
2026-10-02 10:09:51,902 - DEBUG - Requesting: http://10.0.0.185:8081/analytics/uves/virtual-networks
2026-10-02 10:09:51,960 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-00722485:ctest-vn-89983305', 'href': 'http://10.0.0.185:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-00722485:ctest-vn-89983305?flat'}
2026-10-02 10:09:51,960 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-00722485:ctest-vn-89983305 is found in opserver
2026-10-02 10:09:51,971 - DEBUG - Do not have enough data to verify VN in agent
2026-10-02 10:09:51,977 - DEBUG - VRF ids for VN ctest-vn-89983305: {}
2026-10-02 10:09:51,977 - DEBUG - Requesting: http://10.0.0.185:8082/domains
2026-10-02 10:09:51,983 - DEBUG - Requesting: http://10.0.0.185:8082/domain/a1eea219-e16e-42d7-9caa-677776319523
2026-10-02 10:09:51,997 - DEBUG - Requesting: http://10.0.0.185:8082/project/6e6e7ea4-f09f-4804-8920-264682d0f068
2026-10-02 10:09:52,073 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/17958f25-6b0c-4dd5-88d4-d40dc5c7c268
2026-10-02 10:09:52,086 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/17958f25-6b0c-4dd5-88d4-d40dc5c7c268
2026-10-02 10:09:52,096 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/8558bd32-1446-47e4-a3bc-a3b12cf86ea9
2026-10-02 10:09:52,104 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/8558bd32-1446-47e4-a3bc-a3b12cf86ea9
2026-10-02 10:09:52,112 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/3dade36f-91bf-48e3-b377-1a648fd21e60
2026-10-02 10:09:52,120 - DEBUG - Route Targets: ['target:64512:8000006']
2026-10-02 10:09:52,120 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/17958f25-6b0c-4dd5-88d4-d40dc5c7c268
2026-10-02 10:09:52,130 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/8558bd32-1446-47e4-a3bc-a3b12cf86ea9
2026-10-02 10:09:52,145 - INFO - Verified VN network id 13 for VN 17958f25-6b0c-4dd5-88d4-d40dc5c7c268
2026-10-02 10:09:52,145 - INFO - Verifications in API Server for VN ctest-vn-10550139 passed
2026-10-02 10:09:52,145 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/17958f25-6b0c-4dd5-88d4-d40dc5c7c268
2026-10-02 10:09:52,157 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/8558bd32-1446-47e4-a3bc-a3b12cf86ea9
2026-10-02 10:09:52,165 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/8558bd32-1446-47e4-a3bc-a3b12cf86ea9
2026-10-02 10:09:52,173 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/3dade36f-91bf-48e3-b377-1a648fd21e60
2026-10-02 10:09:52,188 - DEBUG - Control-node 10.0.0.185 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-00722485:ctest-vn-10550139', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-00722485', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1699421825274760661', 'uuid-lslong': '9859738639838724712'}, 'enable': 'true', 'created': '2026-10-02T10:09:49', 'last-modified': '2026-10-02T10:09:50', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.610500'}
2026-10-02 10:09:52,197 - DEBUG - Route Targets: ['target:64512:8000006']
2026-10-02 10:09:52,197 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-10550139 passed
2026-10-02 10:09:52,197 - DEBUG - ====Verifying policy data for ctest-vn-10550139 in API_Server ======
2026-10-02 10:09:52,197 - DEBUG - Requesting: http://10.0.0.185:8082/domains
2026-10-02 10:09:52,204 - DEBUG - Requesting: http://10.0.0.185:8082/domain/a1eea219-e16e-42d7-9caa-677776319523
2026-10-02 10:09:52,217 - DEBUG - Requesting: http://10.0.0.185:8082/project/6e6e7ea4-f09f-4804-8920-264682d0f068
2026-10-02 10:09:52,300 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/17958f25-6b0c-4dd5-88d4-d40dc5c7c268
2026-10-02 10:09:52,311 - DEBUG - ==>Verifying data for policy with id: 33f5afac-d648-4cec-a37c-bcd8f6f79524, fqn: ['default-domain', 'ctest-TestBasicPolicy-00722485', 'ctest-policy-allow-all-75778041']
2026-10-02 10:09:52,311 - INFO - VN ctest-vn-10550139 Policy verification: verify_vn_policy_in_api_server, status: True
2026-10-02 10:09:52,311 - DEBUG - Verifying the vn in opserver
2026-10-02 10:09:52,311 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-00722485:ctest-vn-10550139 virtual network link through opserver 10.0.0.185
2026-10-02 10:09:52,311 - DEBUG - Requesting: http://10.0.0.185:8081/analytics/uves/virtual-networks
2026-10-02 10:09:52,321 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-00722485:ctest-vn-10550139', 'href': 'http://10.0.0.185:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-00722485:ctest-vn-10550139?flat'}
2026-10-02 10:09:52,321 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-00722485:ctest-vn-10550139 is found in opserver
2026-10-02 10:09:52,334 - DEBUG - Do not have enough data to verify VN in agent
2026-10-02 10:09:52,339 - DEBUG - VRF ids for VN ctest-vn-10550139: {}
2026-10-02 10:09:52,402 - DEBUG - Services list from nova: [