2026-01-29 16:55:40,516 - INFO - Domain Default found not creating
2026-01-29 16:55:40,685 - INFO - Project ctest-TestBasicPolicy-57987444 not found, creating it
2026-01-29 16:55:41,144 - INFO - Created Project:ctest-TestBasicPolicy-57987444, ID : cacafade-b6dc-4f3f-948d-6c5f141d9bd8
2026-01-29 16:55:42,586 - INFO - ================================================================================
2026-01-29 16:55:42,586 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-01-29 16:55:42,586 - 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-01-29 16:55:42,840 - DEBUG - Nothing to compare xmpp stats {'10.0.0.133': {'10.20.0.254': '0'}} with
2026-01-29 16:55:42,840 - INFO - Initial checks done. Running the testcase now
2026-01-29 16:55:42,840 - INFO -
2026-01-29 16:55:43,653 - DEBUG - Response for create_network : {'network': {'id': 'f55869b6-2163-4b35-abae-2c2ce5da1cff', 'name': 'ctest-vn-04991620', 'tenant_id': 'cacafadeb6dc4f3f948d6c5f141d9bd8', 'project_id': 'cacafadeb6dc4f3f948d6c5f141d9bd8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-57987444', 'ctest-vn-04991620'], 'port_security_enabled': True, 'description': ''}}
2026-01-29 16:55:43,822 - DEBUG - Response for create_subnet : {'subnet': {'id': '9040aecd-0609-46c6-899f-75f0af755953', 'name': '', 'tenant_id': 'cacafadeb6dc4f3f948d6c5f141d9bd8', 'network_id': 'f55869b6-2163-4b35-abae-2c2ce5da1cff', 'ip_version': 4, 'cidr': '25.1.11.128/26', 'allocation_pools': [{'start': '25.1.11.130', 'end': '25.1.11.190'}], 'gateway_ip': '25.1.11.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '25.1.11.130', 'tags': [], 'project_id': 'cacafadeb6dc4f3f948d6c5f141d9bd8'}}
2026-01-29 16:55:43,838 - INFO - Created VN ctest-vn-04991620
2026-01-29 16:55:43,887 - DEBUG - VN ctest-vn-04991620 UUID is f55869b6-2163-4b35-abae-2c2ce5da1cff
2026-01-29 16:55:44,159 - DEBUG - Response for create_network : {'network': {'id': '9a34634a-baf5-497e-b291-51d7cf22d572', 'name': 'ctest-vn-03140314', 'tenant_id': 'cacafadeb6dc4f3f948d6c5f141d9bd8', 'project_id': 'cacafadeb6dc4f3f948d6c5f141d9bd8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-57987444', 'ctest-vn-03140314'], 'port_security_enabled': True, 'description': ''}}
2026-01-29 16:55:44,383 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bbf53975-3813-4576-8533-ced7c7346a6d', 'name': '', 'tenant_id': 'cacafadeb6dc4f3f948d6c5f141d9bd8', 'network_id': '9a34634a-baf5-497e-b291-51d7cf22d572', 'ip_version': 4, 'cidr': '80.154.129.64/26', 'allocation_pools': [{'start': '80.154.129.66', 'end': '80.154.129.126'}], 'gateway_ip': '80.154.129.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '80.154.129.66', 'tags': [], 'project_id': 'cacafadeb6dc4f3f948d6c5f141d9bd8'}}
2026-01-29 16:55:44,398 - INFO - Created VN ctest-vn-03140314
2026-01-29 16:55:44,447 - DEBUG - VN ctest-vn-03140314 UUID is 9a34634a-baf5-497e-b291-51d7cf22d572
2026-01-29 16:55:44,594 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-57987444:ctest-vn-04991620, 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-57987444:ctest-vn-03140314, 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-01-29 16:55:44,891 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f55869b6-2163-4b35-abae-2c2ce5da1cff', 'name': 'ctest-vn-04991620', 'tenant_id': 'cacafadeb6dc4f3f948d6c5f141d9bd8', 'project_id': 'cacafadeb6dc4f3f948d6c5f141d9bd8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9040aecd-0609-46c6-899f-75f0af755953'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-57987444', 'ctest-vn-04991620'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-57987444', 'ctest-policy-allow-all-82159653']], 'subnet_ipam': [{'subnet_cidr': '25.1.11.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-29 16:55:45,125 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9a34634a-baf5-497e-b291-51d7cf22d572', 'name': 'ctest-vn-03140314', 'tenant_id': 'cacafadeb6dc4f3f948d6c5f141d9bd8', 'project_id': 'cacafadeb6dc4f3f948d6c5f141d9bd8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['bbf53975-3813-4576-8533-ced7c7346a6d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-57987444', 'ctest-vn-03140314'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-57987444', 'ctest-policy-allow-all-82159653']], 'subnet_ipam': [{'subnet_cidr': '80.154.129.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-29 16:55:45,283 - DEBUG - Requesting: http://10.0.0.133:8082/domains
2026-01-29 16:55:45,573 - DEBUG - Requesting: http://10.0.0.133:8082/domains
2026-01-29 16:55:45,608 - DEBUG - Requesting: http://10.0.0.133:8082/domain/66d34dca-63af-445e-aecf-244a1d5946ef
2026-01-29 16:55:45,620 - DEBUG - Requesting: http://10.0.0.133:8082/project/cacafade-b6dc-4f3f-948d-6c5f141d9bd8
2026-01-29 16:55:45,689 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-network/f55869b6-2163-4b35-abae-2c2ce5da1cff
2026-01-29 16:55:45,699 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-network/f55869b6-2163-4b35-abae-2c2ce5da1cff
2026-01-29 16:55:45,708 - DEBUG - Requesting: http://10.0.0.133:8082/routing-instance/8f8c0f7f-4961-4a2a-9e7c-596c441567e1
2026-01-29 16:55:45,715 - DEBUG - Requesting: http://10.0.0.133:8082/routing-instance/8f8c0f7f-4961-4a2a-9e7c-596c441567e1
2026-01-29 16:55:45,721 - DEBUG - Requesting: http://10.0.0.133:8082/route-target/eb62c2f7-8ba4-4b5f-b6e2-0d5a67558915
2026-01-29 16:55:45,726 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-29 16:55:45,726 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-network/f55869b6-2163-4b35-abae-2c2ce5da1cff
2026-01-29 16:55:45,734 - DEBUG - Requesting: http://10.0.0.133:8082/routing-instance/8f8c0f7f-4961-4a2a-9e7c-596c441567e1
2026-01-29 16:55:45,746 - INFO - Verified VN network id 11 for VN f55869b6-2163-4b35-abae-2c2ce5da1cff
2026-01-29 16:55:45,746 - INFO - Verifications in API Server for VN ctest-vn-04991620 passed
2026-01-29 16:55:45,746 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-network/f55869b6-2163-4b35-abae-2c2ce5da1cff
2026-01-29 16:55:45,755 - DEBUG - Requesting: http://10.0.0.133:8082/routing-instance/8f8c0f7f-4961-4a2a-9e7c-596c441567e1
2026-01-29 16:55:45,761 - DEBUG - Requesting: http://10.0.0.133:8082/routing-instance/8f8c0f7f-4961-4a2a-9e7c-596c441567e1
2026-01-29 16:55:45,767 - DEBUG - Requesting: http://10.0.0.133:8082/route-target/eb62c2f7-8ba4-4b5f-b6e2-0d5a67558915
2026-01-29 16:55:45,777 - DEBUG - Control-node 10.0.0.133 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-57987444:ctest-vn-04991620', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-57987444', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17678996568208001845', 'uuid-lslong': '12370873797779791103'}, 'enable': 'true', 'created': '2026-01-29T16:55:43', 'last-modified': '2026-01-29T16:55:44', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.911555'}
2026-01-29 16:55:45,783 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-29 16:55:45,783 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-04991620 passed
2026-01-29 16:55:45,784 - DEBUG - ====Verifying policy data for ctest-vn-04991620 in API_Server ======
2026-01-29 16:55:45,784 - DEBUG - Requesting: http://10.0.0.133:8082/domains
2026-01-29 16:55:45,789 - DEBUG - Requesting: http://10.0.0.133:8082/domain/66d34dca-63af-445e-aecf-244a1d5946ef
2026-01-29 16:55:45,800 - DEBUG - Requesting: http://10.0.0.133:8082/project/cacafade-b6dc-4f3f-948d-6c5f141d9bd8
2026-01-29 16:55:45,871 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-network/f55869b6-2163-4b35-abae-2c2ce5da1cff
2026-01-29 16:55:45,881 - DEBUG - ==>Verifying data for policy with id: 161ac9cf-5a6c-45ff-b6e6-efe1d2158d8b, fqn: ['default-domain', 'ctest-TestBasicPolicy-57987444', 'ctest-policy-allow-all-82159653']
2026-01-29 16:55:45,881 - INFO - VN ctest-vn-04991620 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-29 16:55:45,881 - DEBUG - Verifying the vn in opserver
2026-01-29 16:55:45,881 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-57987444:ctest-vn-04991620 virtual network link through opserver 10.0.0.133
2026-01-29 16:55:45,882 - DEBUG - Requesting: http://10.0.0.133:8081/analytics/uves/virtual-networks
2026-01-29 16:55:46,175 - DEBUG - Requesting: http://10.0.0.133:8081/analytics/uves/virtual-networks
2026-01-29 16:55:46,234 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-57987444:ctest-vn-04991620', 'href': 'http://10.0.0.133:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-57987444:ctest-vn-04991620?flat'}
2026-01-29 16:55:46,234 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-57987444:ctest-vn-04991620 is found in opserver
2026-01-29 16:55:46,244 - DEBUG - Do not have enough data to verify VN in agent
2026-01-29 16:55:46,250 - DEBUG - VRF ids for VN ctest-vn-04991620: {}
2026-01-29 16:55:46,250 - DEBUG - Requesting: http://10.0.0.133:8082/domains
2026-01-29 16:55:46,255 - DEBUG - Requesting: http://10.0.0.133:8082/domain/66d34dca-63af-445e-aecf-244a1d5946ef
2026-01-29 16:55:46,266 - DEBUG - Requesting: http://10.0.0.133:8082/project/cacafade-b6dc-4f3f-948d-6c5f141d9bd8
2026-01-29 16:55:46,332 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-network/9a34634a-baf5-497e-b291-51d7cf22d572
2026-01-29 16:55:46,342 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-network/9a34634a-baf5-497e-b291-51d7cf22d572
2026-01-29 16:55:46,350 - DEBUG - Requesting: http://10.0.0.133:8082/routing-instance/6ca985a8-3d83-4763-9f1d-4e96f162a39a
2026-01-29 16:55:46,357 - DEBUG - Requesting: http://10.0.0.133:8082/routing-instance/6ca985a8-3d83-4763-9f1d-4e96f162a39a
2026-01-29 16:55:46,363 - DEBUG - Requesting: http://10.0.0.133:8082/route-target/ddfb2406-367f-4284-aa26-b64b8317106a
2026-01-29 16:55:46,369 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-29 16:55:46,369 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-network/9a34634a-baf5-497e-b291-51d7cf22d572
2026-01-29 16:55:46,377 - DEBUG - Requesting: http://10.0.0.133:8082/routing-instance/6ca985a8-3d83-4763-9f1d-4e96f162a39a
2026-01-29 16:55:46,390 - INFO - Verified VN network id 12 for VN 9a34634a-baf5-497e-b291-51d7cf22d572
2026-01-29 16:55:46,390 - INFO - Verifications in API Server for VN ctest-vn-03140314 passed
2026-01-29 16:55:46,390 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-network/9a34634a-baf5-497e-b291-51d7cf22d572
2026-01-29 16:55:46,398 - DEBUG - Requesting: http://10.0.0.133:8082/routing-instance/6ca985a8-3d83-4763-9f1d-4e96f162a39a
2026-01-29 16:55:46,404 - DEBUG - Requesting: http://10.0.0.133:8082/routing-instance/6ca985a8-3d83-4763-9f1d-4e96f162a39a
2026-01-29 16:55:46,409 - DEBUG - Requesting: http://10.0.0.133:8082/route-target/ddfb2406-367f-4284-aa26-b64b8317106a
2026-01-29 16:55:46,419 - DEBUG - Control-node 10.0.0.133 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-57987444:ctest-vn-03140314', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-57987444', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11111615353245223294', 'uuid-lslong': '12867155597709202802'}, 'enable': 'true', 'created': '2026-01-29T16:55:44', 'last-modified': '2026-01-29T16:55:45', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.313969'}
2026-01-29 16:55:46,423 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-29 16:55:46,423 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-03140314 passed
2026-01-29 16:55:46,424 - DEBUG - ====Verifying policy data for ctest-vn-03140314 in API_Server ======
2026-01-29 16:55:46,424 - DEBUG - Requesting: http://10.0.0.133:8082/domains
2026-01-29 16:55:46,431 - DEBUG - Requesting: http://10.0.0.133:8082/domain/66d34dca-63af-445e-aecf-244a1d5946ef
2026-01-29 16:55:46,441 - DEBUG - Requesting: http://10.0.0.133:8082/project/cacafade-b6dc-4f3f-948d-6c5f141d9bd8
2026-01-29 16:55:46,509 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-network/9a34634a-baf5-497e-b291-51d7cf22d572
2026-01-29 16:55:46,518 - DEBUG - ==>Verifying data for policy with id: 161ac9cf-5a6c-45ff-b6e6-efe1d2158d8b, fqn: ['default-domain', 'ctest-TestBasicPolicy-57987444', 'ctest-policy-allow-all-82159653']
2026-01-29 16:55:46,518 - INFO - VN ctest-vn-03140314 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-29 16:55:46,518 - DEBUG - Verifying the vn in opserver
2026-01-29 16:55:46,518 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-57987444:ctest-vn-03140314 virtual network link through opserver 10.0.0.133
2026-01-29 16:55:46,518 - DEBUG - Requesting: http://10.0.0.133:8081/analytics/uves/virtual-networks
2026-01-29 16:55:46,526 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-57987444:ctest-vn-03140314', 'href': 'http://10.0.0.133:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-57987444:ctest-vn-03140314?flat'}
2026-01-29 16:55:46,526 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-57987444:ctest-vn-03140314 is found in opserver
2026-01-29 16:55:46,535 - DEBUG - Do not have enough data to verify VN in agent
2026-01-29 16:55:46,540 - DEBUG - VRF ids for VN ctest-vn-03140314: {}
2026-01-29 16:55:46,595 - DEBUG - Services list from nova: [