2026-02-10 00:12:25,120 - INFO - Domain Default found not creating
2026-02-10 00:12:25,284 - INFO - Project ctest-TestBasicPolicy-81317901 not found, creating it
2026-02-10 00:12:25,745 - INFO - Created Project:ctest-TestBasicPolicy-81317901, ID : 37011318-bc2e-40c9-b5c5-9812ec689f81
2026-02-10 00:12:27,308 - INFO - ================================================================================
2026-02-10 00:12:27,308 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-10 00:12:27,308 - 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-02-10 00:12:27,569 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.17': '0'}} with
2026-02-10 00:12:27,569 - INFO - Initial checks done. Running the testcase now
2026-02-10 00:12:27,569 - INFO -
2026-02-10 00:12:28,102 - DEBUG - Response for create_network : {'network': {'id': '10483dbf-f969-48cc-a70f-0f57935f2859', 'name': 'ctest-vn-76531556', 'tenant_id': '37011318bc2e40c9b5c59812ec689f81', 'project_id': '37011318bc2e40c9b5c59812ec689f81', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-81317901', 'ctest-vn-76531556'], 'port_security_enabled': True, 'description': ''}}
2026-02-10 00:12:28,290 - DEBUG - Response for create_subnet : {'subnet': {'id': 'acaf45ad-b065-43ff-a0e5-7fbb2132f5c1', 'name': '', 'tenant_id': '37011318bc2e40c9b5c59812ec689f81', 'network_id': '10483dbf-f969-48cc-a70f-0f57935f2859', 'ip_version': 4, 'cidr': '2.140.39.0/26', 'allocation_pools': [{'start': '2.140.39.2', 'end': '2.140.39.62'}], 'gateway_ip': '2.140.39.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '2.140.39.2', 'tags': [], 'project_id': '37011318bc2e40c9b5c59812ec689f81'}}
2026-02-10 00:12:28,307 - INFO - Created VN ctest-vn-76531556
2026-02-10 00:12:28,359 - DEBUG - VN ctest-vn-76531556 UUID is 10483dbf-f969-48cc-a70f-0f57935f2859
2026-02-10 00:12:28,671 - DEBUG - Response for create_network : {'network': {'id': '5b5bc5a2-f401-4861-964c-63da71d788d5', 'name': 'ctest-vn-77234873', 'tenant_id': '37011318bc2e40c9b5c59812ec689f81', 'project_id': '37011318bc2e40c9b5c59812ec689f81', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-81317901', 'ctest-vn-77234873'], 'port_security_enabled': True, 'description': ''}}
2026-02-10 00:12:28,820 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ad3cf3c3-88f1-4570-9e4a-f7a24f86978c', 'name': '', 'tenant_id': '37011318bc2e40c9b5c59812ec689f81', 'network_id': '5b5bc5a2-f401-4861-964c-63da71d788d5', 'ip_version': 4, 'cidr': '208.193.205.64/26', 'allocation_pools': [{'start': '208.193.205.66', 'end': '208.193.205.126'}], 'gateway_ip': '208.193.205.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '208.193.205.66', 'tags': [], 'project_id': '37011318bc2e40c9b5c59812ec689f81'}}
2026-02-10 00:12:28,836 - INFO - Created VN ctest-vn-77234873
2026-02-10 00:12:28,887 - DEBUG - VN ctest-vn-77234873 UUID is 5b5bc5a2-f401-4861-964c-63da71d788d5
2026-02-10 00:12:29,035 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-81317901:ctest-vn-76531556, 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-81317901:ctest-vn-77234873, 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-02-10 00:12:29,315 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '10483dbf-f969-48cc-a70f-0f57935f2859', 'name': 'ctest-vn-76531556', 'tenant_id': '37011318bc2e40c9b5c59812ec689f81', 'project_id': '37011318bc2e40c9b5c59812ec689f81', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['acaf45ad-b065-43ff-a0e5-7fbb2132f5c1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-81317901', 'ctest-vn-76531556'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-81317901', 'ctest-policy-allow-all-65105122']], 'subnet_ipam': [{'subnet_cidr': '2.140.39.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-10 00:12:29,530 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5b5bc5a2-f401-4861-964c-63da71d788d5', 'name': 'ctest-vn-77234873', 'tenant_id': '37011318bc2e40c9b5c59812ec689f81', 'project_id': '37011318bc2e40c9b5c59812ec689f81', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ad3cf3c3-88f1-4570-9e4a-f7a24f86978c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-81317901', 'ctest-vn-77234873'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-81317901', 'ctest-policy-allow-all-65105122']], 'subnet_ipam': [{'subnet_cidr': '208.193.205.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-10 00:12:29,675 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2026-02-10 00:12:29,964 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2026-02-10 00:12:29,996 - DEBUG - Requesting: http://10.0.0.141:8082/domain/8ad6dd58-8726-41d8-8fcb-6bc9fab34483
2026-02-10 00:12:30,008 - DEBUG - Requesting: http://10.0.0.141:8082/project/37011318-bc2e-40c9-b5c5-9812ec689f81
2026-02-10 00:12:30,079 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/10483dbf-f969-48cc-a70f-0f57935f2859
2026-02-10 00:12:30,088 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/10483dbf-f969-48cc-a70f-0f57935f2859
2026-02-10 00:12:30,096 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/c8975030-fcd1-425b-b95d-8dd88fcb2b86
2026-02-10 00:12:30,102 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/c8975030-fcd1-425b-b95d-8dd88fcb2b86
2026-02-10 00:12:30,108 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/81f53fb7-869b-4aeb-bea3-894efac9b228
2026-02-10 00:12:30,113 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-10 00:12:30,113 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/10483dbf-f969-48cc-a70f-0f57935f2859
2026-02-10 00:12:30,121 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/c8975030-fcd1-425b-b95d-8dd88fcb2b86
2026-02-10 00:12:30,138 - INFO - Verified VN network id 11 for VN 10483dbf-f969-48cc-a70f-0f57935f2859
2026-02-10 00:12:30,138 - INFO - Verifications in API Server for VN ctest-vn-76531556 passed
2026-02-10 00:12:30,138 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/10483dbf-f969-48cc-a70f-0f57935f2859
2026-02-10 00:12:30,146 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/c8975030-fcd1-425b-b95d-8dd88fcb2b86
2026-02-10 00:12:30,153 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/c8975030-fcd1-425b-b95d-8dd88fcb2b86
2026-02-10 00:12:30,159 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/81f53fb7-869b-4aeb-bea3-894efac9b228
2026-02-10 00:12:30,169 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-81317901:ctest-vn-76531556', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-81317901', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1173255597662488780', 'uuid-lslong': '12037857197793683545'}, 'enable': 'true', 'created': '2026-02-10T00:12:28', 'last-modified': '2026-02-10T00:12:29', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.874246'}
2026-02-10 00:12:30,175 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-10 00:12:30,175 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-76531556 passed
2026-02-10 00:12:30,175 - DEBUG - ====Verifying policy data for ctest-vn-76531556 in API_Server ======
2026-02-10 00:12:30,175 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2026-02-10 00:12:30,180 - DEBUG - Requesting: http://10.0.0.141:8082/domain/8ad6dd58-8726-41d8-8fcb-6bc9fab34483
2026-02-10 00:12:30,190 - DEBUG - Requesting: http://10.0.0.141:8082/project/37011318-bc2e-40c9-b5c5-9812ec689f81
2026-02-10 00:12:30,259 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/10483dbf-f969-48cc-a70f-0f57935f2859
2026-02-10 00:12:30,267 - DEBUG - ==>Verifying data for policy with id: 3a65a4e4-878c-469c-8e15-f29c2c68d81b, fqn: ['default-domain', 'ctest-TestBasicPolicy-81317901', 'ctest-policy-allow-all-65105122']
2026-02-10 00:12:30,267 - INFO - VN ctest-vn-76531556 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-10 00:12:30,267 - DEBUG - Verifying the vn in opserver
2026-02-10 00:12:30,267 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-81317901:ctest-vn-76531556 virtual network link through opserver 10.0.0.141
2026-02-10 00:12:30,267 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks
2026-02-10 00:12:30,560 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks
2026-02-10 00:12:30,619 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-81317901:ctest-vn-76531556', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-81317901:ctest-vn-76531556?flat'}
2026-02-10 00:12:30,619 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-81317901:ctest-vn-76531556 is found in opserver
2026-02-10 00:12:30,627 - DEBUG - Do not have enough data to verify VN in agent
2026-02-10 00:12:30,631 - DEBUG - VRF ids for VN ctest-vn-76531556: {}
2026-02-10 00:12:30,631 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2026-02-10 00:12:30,635 - DEBUG - Requesting: http://10.0.0.141:8082/domain/8ad6dd58-8726-41d8-8fcb-6bc9fab34483
2026-02-10 00:12:30,644 - DEBUG - Requesting: http://10.0.0.141:8082/project/37011318-bc2e-40c9-b5c5-9812ec689f81
2026-02-10 00:12:30,714 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/5b5bc5a2-f401-4861-964c-63da71d788d5
2026-02-10 00:12:30,723 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/5b5bc5a2-f401-4861-964c-63da71d788d5
2026-02-10 00:12:30,730 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/48ee45fb-d7e3-4621-96c9-09e9d6951c90
2026-02-10 00:12:30,736 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/48ee45fb-d7e3-4621-96c9-09e9d6951c90
2026-02-10 00:12:30,741 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/bc43ba3f-a1e8-48ad-b6b8-e6b5c15ce5fa
2026-02-10 00:12:30,747 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-10 00:12:30,747 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/5b5bc5a2-f401-4861-964c-63da71d788d5
2026-02-10 00:12:30,755 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/48ee45fb-d7e3-4621-96c9-09e9d6951c90
2026-02-10 00:12:30,765 - INFO - Verified VN network id 12 for VN 5b5bc5a2-f401-4861-964c-63da71d788d5
2026-02-10 00:12:30,765 - INFO - Verifications in API Server for VN ctest-vn-77234873 passed
2026-02-10 00:12:30,765 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/5b5bc5a2-f401-4861-964c-63da71d788d5
2026-02-10 00:12:30,772 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/48ee45fb-d7e3-4621-96c9-09e9d6951c90
2026-02-10 00:12:30,778 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/48ee45fb-d7e3-4621-96c9-09e9d6951c90
2026-02-10 00:12:30,783 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/bc43ba3f-a1e8-48ad-b6b8-e6b5c15ce5fa
2026-02-10 00:12:30,793 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-81317901:ctest-vn-77234873', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-81317901', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6583072584001210465', 'uuid-lslong': '10830140993783171285'}, 'enable': 'true', 'created': '2026-02-10T00:12:28', 'last-modified': '2026-02-10T00:12:29', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.277677'}
2026-02-10 00:12:30,799 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-10 00:12:30,799 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-77234873 passed
2026-02-10 00:12:30,799 - DEBUG - ====Verifying policy data for ctest-vn-77234873 in API_Server ======
2026-02-10 00:12:30,799 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2026-02-10 00:12:30,804 - DEBUG - Requesting: http://10.0.0.141:8082/domain/8ad6dd58-8726-41d8-8fcb-6bc9fab34483
2026-02-10 00:12:30,814 - DEBUG - Requesting: http://10.0.0.141:8082/project/37011318-bc2e-40c9-b5c5-9812ec689f81
2026-02-10 00:12:30,877 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/5b5bc5a2-f401-4861-964c-63da71d788d5
2026-02-10 00:12:30,884 - DEBUG - ==>Verifying data for policy with id: 3a65a4e4-878c-469c-8e15-f29c2c68d81b, fqn: ['default-domain', 'ctest-TestBasicPolicy-81317901', 'ctest-policy-allow-all-65105122']
2026-02-10 00:12:30,885 - INFO - VN ctest-vn-77234873 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-10 00:12:30,885 - DEBUG - Verifying the vn in opserver
2026-02-10 00:12:30,885 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-81317901:ctest-vn-77234873 virtual network link through opserver 10.0.0.141
2026-02-10 00:12:30,885 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks
2026-02-10 00:12:30,893 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-81317901:ctest-vn-77234873', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-81317901:ctest-vn-77234873?flat'}
2026-02-10 00:12:30,893 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-81317901:ctest-vn-77234873 is found in opserver
2026-02-10 00:12:30,902 - DEBUG - Do not have enough data to verify VN in agent
2026-02-10 00:12:30,906 - DEBUG - VRF ids for VN ctest-vn-77234873: {}
2026-02-10 00:12:30,957 - DEBUG - Services list from nova: [