2025-12-11 02:21:59,723 - INFO - Domain Default found not creating
2025-12-11 02:21:59,873 - INFO - Project ctest-TestBasicPolicy-84568668 not found, creating it
2025-12-11 02:22:00,311 - INFO - Created Project:ctest-TestBasicPolicy-84568668, ID : 3b30b565-5d2c-447b-bb06-f610bcb104e3
2025-12-11 02:22:01,743 - INFO - ================================================================================
2025-12-11 02:22:01,743 - INFO - STARTING TEST : test_basic_policy_allow_deny
2025-12-11 02:22:01,743 - 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-11 02:22:01,998 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.192': '0'}} with
2025-12-11 02:22:01,999 - INFO - Initial checks done. Running the testcase now
2025-12-11 02:22:01,999 - INFO -
2025-12-11 02:22:02,549 - DEBUG - Response for create_network : {'network': {'id': 'c50c9538-03a5-4b13-a3a2-51b235cc87c5', 'name': 'ctest-vn-15520073', 'tenant_id': '3b30b5655d2c447bbb06f610bcb104e3', 'project_id': '3b30b5655d2c447bbb06f610bcb104e3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-84568668', 'ctest-vn-15520073'], 'port_security_enabled': True, 'description': ''}}
2025-12-11 02:22:02,697 - DEBUG - Response for create_subnet : {'subnet': {'id': 'defa22fb-9f16-454f-9ef0-dc7042993846', 'name': '', 'tenant_id': '3b30b5655d2c447bbb06f610bcb104e3', 'network_id': 'c50c9538-03a5-4b13-a3a2-51b235cc87c5', 'ip_version': 4, 'cidr': '109.90.94.128/26', 'allocation_pools': [{'start': '109.90.94.130', 'end': '109.90.94.190'}], 'gateway_ip': '109.90.94.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '109.90.94.130', 'tags': [], 'project_id': '3b30b5655d2c447bbb06f610bcb104e3'}}
2025-12-11 02:22:02,712 - INFO - Created VN ctest-vn-15520073
2025-12-11 02:22:02,767 - DEBUG - VN ctest-vn-15520073 UUID is c50c9538-03a5-4b13-a3a2-51b235cc87c5
2025-12-11 02:22:03,115 - DEBUG - Response for create_network : {'network': {'id': '327ff7a2-15ff-46fb-8482-05e8b262495b', 'name': 'ctest-vn-48523359', 'tenant_id': '3b30b5655d2c447bbb06f610bcb104e3', 'project_id': '3b30b5655d2c447bbb06f610bcb104e3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-84568668', 'ctest-vn-48523359'], 'port_security_enabled': True, 'description': ''}}
2025-12-11 02:22:03,263 - DEBUG - Response for create_subnet : {'subnet': {'id': '653bc70e-fd99-49be-8d09-b4fee0888352', 'name': '', 'tenant_id': '3b30b5655d2c447bbb06f610bcb104e3', 'network_id': '327ff7a2-15ff-46fb-8482-05e8b262495b', 'ip_version': 4, 'cidr': '175.192.17.64/26', 'allocation_pools': [{'start': '175.192.17.66', 'end': '175.192.17.126'}], 'gateway_ip': '175.192.17.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '175.192.17.66', 'tags': [], 'project_id': '3b30b5655d2c447bbb06f610bcb104e3'}}
2025-12-11 02:22:03,281 - INFO - Created VN ctest-vn-48523359
2025-12-11 02:22:03,331 - DEBUG - VN ctest-vn-48523359 UUID is 327ff7a2-15ff-46fb-8482-05e8b262495b
2025-12-11 02:22:03,479 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-84568668:ctest-vn-15520073, 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-84568668:ctest-vn-48523359, 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-11 02:22:03,778 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c50c9538-03a5-4b13-a3a2-51b235cc87c5', 'name': 'ctest-vn-15520073', 'tenant_id': '3b30b5655d2c447bbb06f610bcb104e3', 'project_id': '3b30b5655d2c447bbb06f610bcb104e3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['defa22fb-9f16-454f-9ef0-dc7042993846'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-84568668', 'ctest-vn-15520073'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-84568668', 'ctest-policy-allow-all-00641765']], 'subnet_ipam': [{'subnet_cidr': '109.90.94.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-12-11 02:22:03,985 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '327ff7a2-15ff-46fb-8482-05e8b262495b', 'name': 'ctest-vn-48523359', 'tenant_id': '3b30b5655d2c447bbb06f610bcb104e3', 'project_id': '3b30b5655d2c447bbb06f610bcb104e3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['653bc70e-fd99-49be-8d09-b4fee0888352'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-84568668', 'ctest-vn-48523359'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-84568668', 'ctest-policy-allow-all-00641765']], 'subnet_ipam': [{'subnet_cidr': '175.192.17.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-12-11 02:22:04,151 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2025-12-11 02:22:04,439 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2025-12-11 02:22:04,474 - DEBUG - Requesting: http://10.0.0.242:8082/domain/237449a6-9453-454e-a944-67a755542c21
2025-12-11 02:22:04,485 - DEBUG - Requesting: http://10.0.0.242:8082/project/3b30b565-5d2c-447b-bb06-f610bcb104e3
2025-12-11 02:22:04,553 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/c50c9538-03a5-4b13-a3a2-51b235cc87c5
2025-12-11 02:22:04,562 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/c50c9538-03a5-4b13-a3a2-51b235cc87c5
2025-12-11 02:22:04,570 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/46680fe8-1dea-4211-b6fc-b1c122c8fc83
2025-12-11 02:22:04,576 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/46680fe8-1dea-4211-b6fc-b1c122c8fc83
2025-12-11 02:22:04,581 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/082f9889-1515-49e2-a78e-47b5eb94f4a8
2025-12-11 02:22:04,591 - DEBUG - Route Targets: ['target:64512:8000004']
2025-12-11 02:22:04,591 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/c50c9538-03a5-4b13-a3a2-51b235cc87c5
2025-12-11 02:22:04,600 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/46680fe8-1dea-4211-b6fc-b1c122c8fc83
2025-12-11 02:22:04,611 - INFO - Verified VN network id 12 for VN c50c9538-03a5-4b13-a3a2-51b235cc87c5
2025-12-11 02:22:04,612 - INFO - Verifications in API Server for VN ctest-vn-15520073 passed
2025-12-11 02:22:04,612 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/c50c9538-03a5-4b13-a3a2-51b235cc87c5
2025-12-11 02:22:04,619 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/46680fe8-1dea-4211-b6fc-b1c122c8fc83
2025-12-11 02:22:04,625 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/46680fe8-1dea-4211-b6fc-b1c122c8fc83
2025-12-11 02:22:04,631 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/082f9889-1515-49e2-a78e-47b5eb94f4a8
2025-12-11 02:22:04,642 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-84568668:ctest-vn-15520073', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-84568668', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14198887793004202771', 'uuid-lslong': '11791076600258004933'}, 'enable': 'true', 'created': '2025-12-11T02:22:02', 'last-modified': '2025-12-11T02:22:03', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.893693'}
2025-12-11 02:22:04,648 - DEBUG - Route Targets: ['target:64512:8000004']
2025-12-11 02:22:04,648 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-15520073 passed
2025-12-11 02:22:04,649 - DEBUG - ====Verifying policy data for ctest-vn-15520073 in API_Server ======
2025-12-11 02:22:04,649 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2025-12-11 02:22:04,655 - DEBUG - Requesting: http://10.0.0.242:8082/domain/237449a6-9453-454e-a944-67a755542c21
2025-12-11 02:22:04,664 - DEBUG - Requesting: http://10.0.0.242:8082/project/3b30b565-5d2c-447b-bb06-f610bcb104e3
2025-12-11 02:22:04,731 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/c50c9538-03a5-4b13-a3a2-51b235cc87c5
2025-12-11 02:22:04,740 - DEBUG - ==>Verifying data for policy with id: 6b3cb6b6-60c9-4b82-a019-3d12b03f9d24, fqn: ['default-domain', 'ctest-TestBasicPolicy-84568668', 'ctest-policy-allow-all-00641765']
2025-12-11 02:22:04,740 - INFO - VN ctest-vn-15520073 Policy verification: verify_vn_policy_in_api_server, status: True
2025-12-11 02:22:04,740 - DEBUG - Verifying the vn in opserver
2025-12-11 02:22:04,740 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-84568668:ctest-vn-15520073 virtual network link through opserver 10.0.0.242
2025-12-11 02:22:04,740 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks
2025-12-11 02:22:05,029 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks
2025-12-11 02:22:05,087 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-84568668:ctest-vn-15520073', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-84568668:ctest-vn-15520073?flat'}
2025-12-11 02:22:05,087 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-84568668:ctest-vn-15520073 is found in opserver
2025-12-11 02:22:05,095 - DEBUG - Do not have enough data to verify VN in agent
2025-12-11 02:22:05,099 - DEBUG - VRF ids for VN ctest-vn-15520073: {}
2025-12-11 02:22:05,099 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2025-12-11 02:22:05,104 - DEBUG - Requesting: http://10.0.0.242:8082/domain/237449a6-9453-454e-a944-67a755542c21
2025-12-11 02:22:05,115 - DEBUG - Requesting: http://10.0.0.242:8082/project/3b30b565-5d2c-447b-bb06-f610bcb104e3
2025-12-11 02:22:05,186 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/327ff7a2-15ff-46fb-8482-05e8b262495b
2025-12-11 02:22:05,197 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/327ff7a2-15ff-46fb-8482-05e8b262495b
2025-12-11 02:22:05,206 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/d625fac7-f6ef-44b2-b53e-3b589d151489
2025-12-11 02:22:05,212 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/d625fac7-f6ef-44b2-b53e-3b589d151489
2025-12-11 02:22:05,218 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/06a2d35d-4378-4b65-9484-c3c589fdbfa2
2025-12-11 02:22:05,223 - DEBUG - Route Targets: ['target:64512:8000005']
2025-12-11 02:22:05,223 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/327ff7a2-15ff-46fb-8482-05e8b262495b
2025-12-11 02:22:05,231 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/d625fac7-f6ef-44b2-b53e-3b589d151489
2025-12-11 02:22:05,241 - INFO - Verified VN network id 13 for VN 327ff7a2-15ff-46fb-8482-05e8b262495b
2025-12-11 02:22:05,241 - INFO - Verifications in API Server for VN ctest-vn-48523359 passed
2025-12-11 02:22:05,241 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/327ff7a2-15ff-46fb-8482-05e8b262495b
2025-12-11 02:22:05,248 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/d625fac7-f6ef-44b2-b53e-3b589d151489
2025-12-11 02:22:05,254 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/d625fac7-f6ef-44b2-b53e-3b589d151489
2025-12-11 02:22:05,259 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/06a2d35d-4378-4b65-9484-c3c589fdbfa2
2025-12-11 02:22:05,268 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-84568668:ctest-vn-48523359', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-84568668', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3638899299464464123', 'uuid-lslong': '9548200656962210139'}, 'enable': 'true', 'created': '2025-12-11T02:22:03', 'last-modified': '2025-12-11T02:22:03', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.299157'}
2025-12-11 02:22:05,273 - DEBUG - Route Targets: ['target:64512:8000005']
2025-12-11 02:22:05,273 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-48523359 passed
2025-12-11 02:22:05,273 - DEBUG - ====Verifying policy data for ctest-vn-48523359 in API_Server ======
2025-12-11 02:22:05,273 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2025-12-11 02:22:05,278 - DEBUG - Requesting: http://10.0.0.242:8082/domain/237449a6-9453-454e-a944-67a755542c21
2025-12-11 02:22:05,287 - DEBUG - Requesting: http://10.0.0.242:8082/project/3b30b565-5d2c-447b-bb06-f610bcb104e3
2025-12-11 02:22:05,357 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/327ff7a2-15ff-46fb-8482-05e8b262495b
2025-12-11 02:22:05,365 - DEBUG - ==>Verifying data for policy with id: 6b3cb6b6-60c9-4b82-a019-3d12b03f9d24, fqn: ['default-domain', 'ctest-TestBasicPolicy-84568668', 'ctest-policy-allow-all-00641765']
2025-12-11 02:22:05,365 - INFO - VN ctest-vn-48523359 Policy verification: verify_vn_policy_in_api_server, status: True
2025-12-11 02:22:05,365 - DEBUG - Verifying the vn in opserver
2025-12-11 02:22:05,365 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-84568668:ctest-vn-48523359 virtual network link through opserver 10.0.0.242
2025-12-11 02:22:05,365 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks
2025-12-11 02:22:05,373 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-84568668:ctest-vn-48523359', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-84568668:ctest-vn-48523359?flat'}
2025-12-11 02:22:05,373 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-84568668:ctest-vn-48523359 is found in opserver
2025-12-11 02:22:05,382 - DEBUG - Do not have enough data to verify VN in agent
2025-12-11 02:22:05,386 - DEBUG - VRF ids for VN ctest-vn-48523359: {}
2025-12-11 02:22:05,437 - DEBUG - Services list from nova: [