2025-12-23 03:32:44,065 - INFO - Domain Default found not creating
2025-12-23 03:32:44,235 - INFO - Project ctest-TestBasicPolicy-90880478 not found, creating it
2025-12-23 03:32:44,687 - INFO - Created Project:ctest-TestBasicPolicy-90880478, ID : 6e96f491-4068-4586-8721-0df5ddffbc42
2025-12-23 03:32:46,261 - INFO - ================================================================================
2025-12-23 03:32:46,261 - INFO - STARTING TEST : test_basic_policy_allow_deny
2025-12-23 03:32:46,261 - 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-23 03:32:46,521 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with
2025-12-23 03:32:46,521 - INFO - Initial checks done. Running the testcase now
2025-12-23 03:32:46,521 - INFO -
2025-12-23 03:32:47,128 - DEBUG - Response for create_network : {'network': {'id': '71bc3e20-7429-41c9-b2a6-bebda09fafe2', 'name': 'ctest-vn-09403229', 'tenant_id': '6e96f4914068458687210df5ddffbc42', 'project_id': '6e96f4914068458687210df5ddffbc42', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90880478', 'ctest-vn-09403229'], 'port_security_enabled': True, 'description': ''}}
2025-12-23 03:32:47,339 - DEBUG - Response for create_subnet : {'subnet': {'id': '17016a01-c0a5-4b05-9798-69133edef383', 'name': '', 'tenant_id': '6e96f4914068458687210df5ddffbc42', 'network_id': '71bc3e20-7429-41c9-b2a6-bebda09fafe2', 'ip_version': 4, 'cidr': '98.24.247.128/26', 'allocation_pools': [{'start': '98.24.247.130', 'end': '98.24.247.190'}], 'gateway_ip': '98.24.247.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '98.24.247.130', 'tags': [], 'project_id': '6e96f4914068458687210df5ddffbc42'}}
2025-12-23 03:32:47,356 - INFO - Created VN ctest-vn-09403229
2025-12-23 03:32:47,410 - DEBUG - VN ctest-vn-09403229 UUID is 71bc3e20-7429-41c9-b2a6-bebda09fafe2
2025-12-23 03:32:47,729 - DEBUG - Response for create_network : {'network': {'id': '359d7423-de49-4323-902e-e7c5a537288d', 'name': 'ctest-vn-99139813', 'tenant_id': '6e96f4914068458687210df5ddffbc42', 'project_id': '6e96f4914068458687210df5ddffbc42', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90880478', 'ctest-vn-99139813'], 'port_security_enabled': True, 'description': ''}}
2025-12-23 03:32:47,913 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ff2b6917-e6a4-42b5-afb0-c321dcc1ca24', 'name': '', 'tenant_id': '6e96f4914068458687210df5ddffbc42', 'network_id': '359d7423-de49-4323-902e-e7c5a537288d', 'ip_version': 4, 'cidr': '148.174.152.192/26', 'allocation_pools': [{'start': '148.174.152.194', 'end': '148.174.152.254'}], 'gateway_ip': '148.174.152.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '148.174.152.194', 'tags': [], 'project_id': '6e96f4914068458687210df5ddffbc42'}}
2025-12-23 03:32:47,929 - INFO - Created VN ctest-vn-99139813
2025-12-23 03:32:47,982 - DEBUG - VN ctest-vn-99139813 UUID is 359d7423-de49-4323-902e-e7c5a537288d
2025-12-23 03:32:48,134 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-90880478:ctest-vn-09403229, 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-90880478:ctest-vn-99139813, 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-23 03:32:48,425 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '71bc3e20-7429-41c9-b2a6-bebda09fafe2', 'name': 'ctest-vn-09403229', 'tenant_id': '6e96f4914068458687210df5ddffbc42', 'project_id': '6e96f4914068458687210df5ddffbc42', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['17016a01-c0a5-4b05-9798-69133edef383'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90880478', 'ctest-vn-09403229'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-90880478', 'ctest-policy-allow-all-44759608']], 'subnet_ipam': [{'subnet_cidr': '98.24.247.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-12-23 03:32:48,698 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '359d7423-de49-4323-902e-e7c5a537288d', 'name': 'ctest-vn-99139813', 'tenant_id': '6e96f4914068458687210df5ddffbc42', 'project_id': '6e96f4914068458687210df5ddffbc42', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ff2b6917-e6a4-42b5-afb0-c321dcc1ca24'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90880478', 'ctest-vn-99139813'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-90880478', 'ctest-policy-allow-all-44759608']], 'subnet_ipam': [{'subnet_cidr': '148.174.152.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-12-23 03:32:48,838 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2025-12-23 03:32:49,174 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2025-12-23 03:32:49,204 - DEBUG - Requesting: http://10.0.0.33:8082/domain/746932a5-36d0-4dd8-b6b2-c4c0a384dd02
2025-12-23 03:32:49,216 - DEBUG - Requesting: http://10.0.0.33:8082/project/6e96f491-4068-4586-8721-0df5ddffbc42
2025-12-23 03:32:49,286 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/71bc3e20-7429-41c9-b2a6-bebda09fafe2
2025-12-23 03:32:49,296 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/71bc3e20-7429-41c9-b2a6-bebda09fafe2
2025-12-23 03:32:49,304 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/e58d3db6-c9aa-4428-954d-f451e6c89b64
2025-12-23 03:32:49,310 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/e58d3db6-c9aa-4428-954d-f451e6c89b64
2025-12-23 03:32:49,316 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/d81f5c3f-876c-458e-814d-bda0b52a1ef9
2025-12-23 03:32:49,322 - DEBUG - Route Targets: ['target:64512:8000004']
2025-12-23 03:32:49,322 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/71bc3e20-7429-41c9-b2a6-bebda09fafe2
2025-12-23 03:32:49,330 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/e58d3db6-c9aa-4428-954d-f451e6c89b64
2025-12-23 03:32:49,343 - INFO - Verified VN network id 11 for VN 71bc3e20-7429-41c9-b2a6-bebda09fafe2
2025-12-23 03:32:49,343 - INFO - Verifications in API Server for VN ctest-vn-09403229 passed
2025-12-23 03:32:49,343 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/71bc3e20-7429-41c9-b2a6-bebda09fafe2
2025-12-23 03:32:49,352 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/e58d3db6-c9aa-4428-954d-f451e6c89b64
2025-12-23 03:32:49,358 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/e58d3db6-c9aa-4428-954d-f451e6c89b64
2025-12-23 03:32:49,363 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/d81f5c3f-876c-458e-814d-bda0b52a1ef9
2025-12-23 03:32:49,374 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-90880478:ctest-vn-09403229', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-90880478', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8195493731016196553', 'uuid-lslong': '12873186306538057698'}, 'enable': 'true', 'created': '2025-12-23T03:32:47', 'last-modified': '2025-12-23T03:32:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.972846'}
2025-12-23 03:32:49,380 - DEBUG - Route Targets: ['target:64512:8000004']
2025-12-23 03:32:49,380 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-09403229 passed
2025-12-23 03:32:49,381 - DEBUG - ====Verifying policy data for ctest-vn-09403229 in API_Server ======
2025-12-23 03:32:49,381 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2025-12-23 03:32:49,386 - DEBUG - Requesting: http://10.0.0.33:8082/domain/746932a5-36d0-4dd8-b6b2-c4c0a384dd02
2025-12-23 03:32:49,396 - DEBUG - Requesting: http://10.0.0.33:8082/project/6e96f491-4068-4586-8721-0df5ddffbc42
2025-12-23 03:32:49,465 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/71bc3e20-7429-41c9-b2a6-bebda09fafe2
2025-12-23 03:32:49,474 - DEBUG - ==>Verifying data for policy with id: c11f4cd4-7e00-4d83-8201-9db0278bbadf, fqn: ['default-domain', 'ctest-TestBasicPolicy-90880478', 'ctest-policy-allow-all-44759608']
2025-12-23 03:32:49,475 - INFO - VN ctest-vn-09403229 Policy verification: verify_vn_policy_in_api_server, status: True
2025-12-23 03:32:49,475 - DEBUG - Verifying the vn in opserver
2025-12-23 03:32:49,475 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-90880478:ctest-vn-09403229 virtual network link through opserver 10.0.0.33
2025-12-23 03:32:49,475 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2025-12-23 03:32:49,809 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2025-12-23 03:32:49,868 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-90880478:ctest-vn-09403229', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-90880478:ctest-vn-09403229?flat'}
2025-12-23 03:32:49,869 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-90880478:ctest-vn-09403229 is found in opserver
2025-12-23 03:32:49,878 - DEBUG - Do not have enough data to verify VN in agent
2025-12-23 03:32:49,882 - DEBUG - VRF ids for VN ctest-vn-09403229: {}
2025-12-23 03:32:49,882 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2025-12-23 03:32:49,887 - DEBUG - Requesting: http://10.0.0.33:8082/domain/746932a5-36d0-4dd8-b6b2-c4c0a384dd02
2025-12-23 03:32:49,898 - DEBUG - Requesting: http://10.0.0.33:8082/project/6e96f491-4068-4586-8721-0df5ddffbc42
2025-12-23 03:32:49,975 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/359d7423-de49-4323-902e-e7c5a537288d
2025-12-23 03:32:49,987 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/359d7423-de49-4323-902e-e7c5a537288d
2025-12-23 03:32:49,997 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/513d52ed-be46-4671-a115-a0a67705627e
2025-12-23 03:32:50,004 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/513d52ed-be46-4671-a115-a0a67705627e
2025-12-23 03:32:50,010 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/39718a9a-7eb4-4e82-9d86-2ccc3590a8b2
2025-12-23 03:32:50,018 - DEBUG - Route Targets: ['target:64512:8000005']
2025-12-23 03:32:50,018 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/359d7423-de49-4323-902e-e7c5a537288d
2025-12-23 03:32:50,030 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/513d52ed-be46-4671-a115-a0a67705627e
2025-12-23 03:32:50,044 - INFO - Verified VN network id 12 for VN 359d7423-de49-4323-902e-e7c5a537288d
2025-12-23 03:32:50,045 - INFO - Verifications in API Server for VN ctest-vn-99139813 passed
2025-12-23 03:32:50,045 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/359d7423-de49-4323-902e-e7c5a537288d
2025-12-23 03:32:50,056 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/513d52ed-be46-4671-a115-a0a67705627e
2025-12-23 03:32:50,063 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/513d52ed-be46-4671-a115-a0a67705627e
2025-12-23 03:32:50,071 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/39718a9a-7eb4-4e82-9d86-2ccc3590a8b2
2025-12-23 03:32:50,084 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-90880478:ctest-vn-99139813', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-90880478', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3863371752755774243', 'uuid-lslong': '10389496226456742029'}, 'enable': 'true', 'created': '2025-12-23T03:32:47', 'last-modified': '2025-12-23T03:32:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.452072'}
2025-12-23 03:32:50,090 - DEBUG - Route Targets: ['target:64512:8000005']
2025-12-23 03:32:50,090 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-99139813 passed
2025-12-23 03:32:50,090 - DEBUG - ====Verifying policy data for ctest-vn-99139813 in API_Server ======
2025-12-23 03:32:50,090 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2025-12-23 03:32:50,096 - DEBUG - Requesting: http://10.0.0.33:8082/domain/746932a5-36d0-4dd8-b6b2-c4c0a384dd02
2025-12-23 03:32:50,106 - DEBUG - Requesting: http://10.0.0.33:8082/project/6e96f491-4068-4586-8721-0df5ddffbc42
2025-12-23 03:32:50,176 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/359d7423-de49-4323-902e-e7c5a537288d
2025-12-23 03:32:50,186 - DEBUG - ==>Verifying data for policy with id: c11f4cd4-7e00-4d83-8201-9db0278bbadf, fqn: ['default-domain', 'ctest-TestBasicPolicy-90880478', 'ctest-policy-allow-all-44759608']
2025-12-23 03:32:50,186 - INFO - VN ctest-vn-99139813 Policy verification: verify_vn_policy_in_api_server, status: True
2025-12-23 03:32:50,186 - DEBUG - Verifying the vn in opserver
2025-12-23 03:32:50,186 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-90880478:ctest-vn-99139813 virtual network link through opserver 10.0.0.33
2025-12-23 03:32:50,186 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2025-12-23 03:32:50,196 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-90880478:ctest-vn-99139813', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-90880478:ctest-vn-99139813?flat'}
2025-12-23 03:32:50,196 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-90880478:ctest-vn-99139813 is found in opserver
2025-12-23 03:32:50,206 - DEBUG - Do not have enough data to verify VN in agent
2025-12-23 03:32:50,210 - DEBUG - VRF ids for VN ctest-vn-99139813: {}
2025-12-23 03:32:50,273 - DEBUG - Services list from nova: [