2026-11-02 02:22:38,636 - INFO - Domain Default found not creating
2026-11-02 02:22:38,811 - INFO - Project ctest-TestBasicPolicy-91420020 not found, creating it
2026-11-02 02:22:39,276 - INFO - Created Project:ctest-TestBasicPolicy-91420020, ID : 538b723b-5081-49f2-a050-06bd6d44ebb4
2026-11-02 02:22:40,936 - INFO - ================================================================================
2026-11-02 02:22:40,937 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-11-02 02:22:40,937 - 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-11-02 02:22:41,196 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.25': '0'}} with
2026-11-02 02:22:41,196 - INFO - Initial checks done. Running the testcase now
2026-11-02 02:22:41,196 - INFO -
2026-11-02 02:22:41,789 - DEBUG - Response for create_network : {'network': {'id': 'a416c840-66e8-4c0a-bf72-5235819dfd5b', 'name': 'ctest-vn-50085850', 'tenant_id': '538b723b508149f2a05006bd6d44ebb4', 'project_id': '538b723b508149f2a05006bd6d44ebb4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-91420020', 'ctest-vn-50085850'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}}
2026-11-02 02:22:41,951 - DEBUG - Response for create_subnet : {'subnet': {'id': '478853f1-8cbb-4e90-8227-2004dd9309f7', 'name': '', 'tenant_id': '538b723b508149f2a05006bd6d44ebb4', 'network_id': 'a416c840-66e8-4c0a-bf72-5235819dfd5b', 'ip_version': 4, 'cidr': '114.132.252.192/26', 'allocation_pools': [{'start': '114.132.252.194', 'end': '114.132.252.254'}], 'gateway_ip': '114.132.252.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-11-02T02:22:41.907324', 'updated_at': '2026-11-02T02:22:41.907324', 'dns_server_address': '114.132.252.194', 'tags': [], 'project_id': '538b723b508149f2a05006bd6d44ebb4'}}
2026-11-02 02:22:41,965 - INFO - Created VN ctest-vn-50085850
2026-11-02 02:22:42,014 - DEBUG - VN ctest-vn-50085850 UUID is a416c840-66e8-4c0a-bf72-5235819dfd5b
2026-11-02 02:22:42,330 - DEBUG - Response for create_network : {'network': {'id': 'd0e3cce2-9ec1-4534-bedd-3ddbcf75275b', 'name': 'ctest-vn-41750427', 'tenant_id': '538b723b508149f2a05006bd6d44ebb4', 'project_id': '538b723b508149f2a05006bd6d44ebb4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-91420020', 'ctest-vn-41750427'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}}
2026-11-02 02:22:42,513 - DEBUG - Response for create_subnet : {'subnet': {'id': '560b5f03-0b37-499a-9f9e-4292c21a8521', 'name': '', 'tenant_id': '538b723b508149f2a05006bd6d44ebb4', 'network_id': 'd0e3cce2-9ec1-4534-bedd-3ddbcf75275b', 'ip_version': 4, 'cidr': '207.122.216.128/26', 'allocation_pools': [{'start': '207.122.216.130', 'end': '207.122.216.190'}], 'gateway_ip': '207.122.216.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-11-02T02:22:42.459610', 'updated_at': '2026-11-02T02:22:42.459610', 'dns_server_address': '207.122.216.130', 'tags': [], 'project_id': '538b723b508149f2a05006bd6d44ebb4'}}
2026-11-02 02:22:42,531 - INFO - Created VN ctest-vn-41750427
2026-11-02 02:22:42,582 - DEBUG - VN ctest-vn-41750427 UUID is d0e3cce2-9ec1-4534-bedd-3ddbcf75275b
2026-11-02 02:22:42,726 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-91420020:ctest-vn-50085850, 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-91420020:ctest-vn-41750427, 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-11-02 02:22:43,014 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a416c840-66e8-4c0a-bf72-5235819dfd5b', 'name': 'ctest-vn-50085850', 'tenant_id': '538b723b508149f2a05006bd6d44ebb4', 'project_id': '538b723b508149f2a05006bd6d44ebb4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['478853f1-8cbb-4e90-8227-2004dd9309f7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-91420020', 'ctest-vn-50085850'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-91420020', 'ctest-policy-allow-all-78820309']], 'subnet_ipam': [{'subnet_cidr': '114.132.252.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2026-11-02T02:22:41.761788', 'updated_at': '2026-11-02T02:22:41.919136'}}
2026-11-02 02:22:43,226 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd0e3cce2-9ec1-4534-bedd-3ddbcf75275b', 'name': 'ctest-vn-41750427', 'tenant_id': '538b723b508149f2a05006bd6d44ebb4', 'project_id': '538b723b508149f2a05006bd6d44ebb4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['560b5f03-0b37-499a-9f9e-4292c21a8521'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-91420020', 'ctest-vn-41750427'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-91420020', 'ctest-policy-allow-all-78820309']], 'subnet_ipam': [{'subnet_cidr': '207.122.216.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2026-11-02T02:22:42.292894', 'updated_at': '2026-11-02T02:22:42.472098'}}
2026-11-02 02:22:43,398 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-11-02 02:22:43,761 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-11-02 02:22:43,788 - DEBUG - Requesting: http://10.0.0.38:8082/domain/c01ed095-7ad8-46a9-91c3-c9c005d4f498
2026-11-02 02:22:43,800 - DEBUG - Requesting: http://10.0.0.38:8082/project/538b723b-5081-49f2-a050-06bd6d44ebb4
2026-11-02 02:22:43,868 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a416c840-66e8-4c0a-bf72-5235819dfd5b
2026-11-02 02:22:43,878 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a416c840-66e8-4c0a-bf72-5235819dfd5b
2026-11-02 02:22:43,886 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/58e3e552-3eb2-4054-8cb8-e7aeff39807c
2026-11-02 02:22:43,892 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/58e3e552-3eb2-4054-8cb8-e7aeff39807c
2026-11-02 02:22:43,897 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/ec8ea71e-8dc3-4c96-9954-5ef576daf81c
2026-11-02 02:22:43,902 - DEBUG - Route Targets: ['target:64512:8000005']
2026-11-02 02:22:43,902 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a416c840-66e8-4c0a-bf72-5235819dfd5b
2026-11-02 02:22:43,909 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/58e3e552-3eb2-4054-8cb8-e7aeff39807c
2026-11-02 02:22:43,921 - INFO - Verified VN network id 11 for VN a416c840-66e8-4c0a-bf72-5235819dfd5b
2026-11-02 02:22:43,921 - INFO - Verifications in API Server for VN ctest-vn-50085850 passed
2026-11-02 02:22:43,921 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a416c840-66e8-4c0a-bf72-5235819dfd5b
2026-11-02 02:22:43,929 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/58e3e552-3eb2-4054-8cb8-e7aeff39807c
2026-11-02 02:22:43,935 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/58e3e552-3eb2-4054-8cb8-e7aeff39807c
2026-11-02 02:22:43,940 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/ec8ea71e-8dc3-4c96-9954-5ef576daf81c
2026-11-02 02:22:43,951 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-91420020:ctest-vn-50085850', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-91420020', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11823858050637777930', 'uuid-lslong': '13795178998350609755'}, 'enable': 'true', 'created': '2026-11-02T02:22:41', 'last-modified': '2026-11-02T02:22:42', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.954443'}
2026-11-02 02:22:43,958 - DEBUG - Route Targets: ['target:64512:8000005']
2026-11-02 02:22:43,958 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-50085850 passed
2026-11-02 02:22:43,958 - DEBUG - ====Verifying policy data for ctest-vn-50085850 in API_Server ======
2026-11-02 02:22:43,958 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-11-02 02:22:43,962 - DEBUG - Requesting: http://10.0.0.38:8082/domain/c01ed095-7ad8-46a9-91c3-c9c005d4f498
2026-11-02 02:22:43,971 - DEBUG - Requesting: http://10.0.0.38:8082/project/538b723b-5081-49f2-a050-06bd6d44ebb4
2026-11-02 02:22:44,039 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a416c840-66e8-4c0a-bf72-5235819dfd5b
2026-11-02 02:22:44,049 - DEBUG - ==>Verifying data for policy with id: aa16111d-2242-4b27-a778-dc2fc382602e, fqn: ['default-domain', 'ctest-TestBasicPolicy-91420020', 'ctest-policy-allow-all-78820309']
2026-11-02 02:22:44,049 - INFO - VN ctest-vn-50085850 Policy verification: verify_vn_policy_in_api_server, status: True
2026-11-02 02:22:44,049 - DEBUG - Verifying the vn in opserver
2026-11-02 02:22:44,049 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-91420020:ctest-vn-50085850 virtual network link through opserver 10.0.0.38
2026-11-02 02:22:44,049 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-11-02 02:22:44,412 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-11-02 02:22:44,466 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-91420020:ctest-vn-50085850', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-91420020:ctest-vn-50085850?flat'}
2026-11-02 02:22:44,466 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-91420020:ctest-vn-50085850 is found in opserver
2026-11-02 02:22:44,477 - DEBUG - Do not have enough data to verify VN in agent
2026-11-02 02:22:44,481 - DEBUG - VRF ids for VN ctest-vn-50085850: {}
2026-11-02 02:22:44,481 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-11-02 02:22:44,488 - DEBUG - Requesting: http://10.0.0.38:8082/domain/c01ed095-7ad8-46a9-91c3-c9c005d4f498
2026-11-02 02:22:44,498 - DEBUG - Requesting: http://10.0.0.38:8082/project/538b723b-5081-49f2-a050-06bd6d44ebb4
2026-11-02 02:22:44,567 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d0e3cce2-9ec1-4534-bedd-3ddbcf75275b
2026-11-02 02:22:44,578 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d0e3cce2-9ec1-4534-bedd-3ddbcf75275b
2026-11-02 02:22:44,586 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3ef5dbd3-c3ea-4087-bfb1-6ea77afb4e61
2026-11-02 02:22:44,591 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3ef5dbd3-c3ea-4087-bfb1-6ea77afb4e61
2026-11-02 02:22:44,598 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/9f301689-3cc8-4a8a-bf29-2475aa52327d
2026-11-02 02:22:44,603 - DEBUG - Route Targets: ['target:64512:8000006']
2026-11-02 02:22:44,603 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d0e3cce2-9ec1-4534-bedd-3ddbcf75275b
2026-11-02 02:22:44,610 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3ef5dbd3-c3ea-4087-bfb1-6ea77afb4e61
2026-11-02 02:22:44,622 - INFO - Verified VN network id 12 for VN d0e3cce2-9ec1-4534-bedd-3ddbcf75275b
2026-11-02 02:22:44,622 - INFO - Verifications in API Server for VN ctest-vn-41750427 passed
2026-11-02 02:22:44,622 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d0e3cce2-9ec1-4534-bedd-3ddbcf75275b
2026-11-02 02:22:44,630 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3ef5dbd3-c3ea-4087-bfb1-6ea77afb4e61
2026-11-02 02:22:44,635 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3ef5dbd3-c3ea-4087-bfb1-6ea77afb4e61
2026-11-02 02:22:44,641 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/9f301689-3cc8-4a8a-bf29-2475aa52327d
2026-11-02 02:22:44,651 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-91420020:ctest-vn-41750427', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-91420020', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15052099653300471092', 'uuid-lslong': '13753216851347056475'}, 'enable': 'true', 'created': '2026-11-02T02:22:42', 'last-modified': '2026-11-02T02:22:43', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.439645'}
2026-11-02 02:22:44,657 - DEBUG - Route Targets: ['target:64512:8000006']
2026-11-02 02:22:44,657 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-41750427 passed
2026-11-02 02:22:44,658 - DEBUG - ====Verifying policy data for ctest-vn-41750427 in API_Server ======
2026-11-02 02:22:44,658 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-11-02 02:22:44,662 - DEBUG - Requesting: http://10.0.0.38:8082/domain/c01ed095-7ad8-46a9-91c3-c9c005d4f498
2026-11-02 02:22:44,672 - DEBUG - Requesting: http://10.0.0.38:8082/project/538b723b-5081-49f2-a050-06bd6d44ebb4
2026-11-02 02:22:44,737 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d0e3cce2-9ec1-4534-bedd-3ddbcf75275b
2026-11-02 02:22:44,746 - DEBUG - ==>Verifying data for policy with id: aa16111d-2242-4b27-a778-dc2fc382602e, fqn: ['default-domain', 'ctest-TestBasicPolicy-91420020', 'ctest-policy-allow-all-78820309']
2026-11-02 02:22:44,746 - INFO - VN ctest-vn-41750427 Policy verification: verify_vn_policy_in_api_server, status: True
2026-11-02 02:22:44,746 - DEBUG - Verifying the vn in opserver
2026-11-02 02:22:44,746 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-91420020:ctest-vn-41750427 virtual network link through opserver 10.0.0.38
2026-11-02 02:22:44,746 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-11-02 02:22:44,755 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-91420020:ctest-vn-41750427', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-91420020:ctest-vn-41750427?flat'}
2026-11-02 02:22:44,755 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-91420020:ctest-vn-41750427 is found in opserver
2026-11-02 02:22:44,766 - DEBUG - Do not have enough data to verify VN in agent
2026-11-02 02:22:44,770 - DEBUG - VRF ids for VN ctest-vn-41750427: {}
2026-11-02 02:22:44,823 - DEBUG - Services list from nova: [