2025-12-01 02:23:51,318 - INFO - Domain Default found not creating
2025-12-01 02:23:51,517 - INFO - Project ctest-TestBasicPolicy-96590827 not found, creating it
2025-12-01 02:23:52,057 - INFO - Created Project:ctest-TestBasicPolicy-96590827, ID : 8bde61bc-16a8-4cdc-a83a-1588dafe029b
2025-12-01 02:23:53,796 - INFO - ================================================================================
2025-12-01 02:23:53,796 - INFO - STARTING TEST : test_basic_policy_allow_deny
2025-12-01 02:23:53,796 - 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-01 02:23:54,059 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.252': '0'}} with
2025-12-01 02:23:54,059 - INFO - Initial checks done. Running the testcase now
2025-12-01 02:23:54,059 - INFO -
2025-12-01 02:23:54,712 - DEBUG - Response for create_network : {'network': {'id': '5d5e31d3-f4d0-4942-8ef1-ea619e2fc971', 'name': 'ctest-vn-54037439', 'tenant_id': '8bde61bc16a84cdca83a1588dafe029b', 'project_id': '8bde61bc16a84cdca83a1588dafe029b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96590827', 'ctest-vn-54037439'], 'port_security_enabled': True, 'description': ''}}
2025-12-01 02:23:54,887 - DEBUG - Response for create_subnet : {'subnet': {'id': '4b664a96-ec12-44c1-9aa9-2dc755951c0a', 'name': '', 'tenant_id': '8bde61bc16a84cdca83a1588dafe029b', 'network_id': '5d5e31d3-f4d0-4942-8ef1-ea619e2fc971', 'ip_version': 4, 'cidr': '69.117.60.192/26', 'allocation_pools': [{'start': '69.117.60.194', 'end': '69.117.60.254'}], 'gateway_ip': '69.117.60.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '69.117.60.194', 'tags': [], 'project_id': '8bde61bc16a84cdca83a1588dafe029b'}}
2025-12-01 02:23:54,911 - INFO - Created VN ctest-vn-54037439
2025-12-01 02:23:54,969 - DEBUG - VN ctest-vn-54037439 UUID is 5d5e31d3-f4d0-4942-8ef1-ea619e2fc971
2025-12-01 02:23:55,334 - DEBUG - Response for create_network : {'network': {'id': '8d48f380-22a5-4310-8ee8-f6d500df90a3', 'name': 'ctest-vn-20902792', 'tenant_id': '8bde61bc16a84cdca83a1588dafe029b', 'project_id': '8bde61bc16a84cdca83a1588dafe029b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96590827', 'ctest-vn-20902792'], 'port_security_enabled': True, 'description': ''}}
2025-12-01 02:23:55,522 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd27aedc6-5ce0-4394-a08d-47758acca817', 'name': '', 'tenant_id': '8bde61bc16a84cdca83a1588dafe029b', 'network_id': '8d48f380-22a5-4310-8ee8-f6d500df90a3', 'ip_version': 4, 'cidr': '44.193.4.128/26', 'allocation_pools': [{'start': '44.193.4.130', 'end': '44.193.4.190'}], 'gateway_ip': '44.193.4.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '44.193.4.130', 'tags': [], 'project_id': '8bde61bc16a84cdca83a1588dafe029b'}}
2025-12-01 02:23:55,542 - INFO - Created VN ctest-vn-20902792
2025-12-01 02:23:55,597 - DEBUG - VN ctest-vn-20902792 UUID is 8d48f380-22a5-4310-8ee8-f6d500df90a3
2025-12-01 02:23:55,731 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-96590827:ctest-vn-54037439, 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-96590827:ctest-vn-20902792, 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-01 02:23:56,087 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5d5e31d3-f4d0-4942-8ef1-ea619e2fc971', 'name': 'ctest-vn-54037439', 'tenant_id': '8bde61bc16a84cdca83a1588dafe029b', 'project_id': '8bde61bc16a84cdca83a1588dafe029b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4b664a96-ec12-44c1-9aa9-2dc755951c0a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96590827', 'ctest-vn-54037439'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-96590827', 'ctest-policy-allow-all-43902922']], 'subnet_ipam': [{'subnet_cidr': '69.117.60.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-12-01 02:23:56,329 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8d48f380-22a5-4310-8ee8-f6d500df90a3', 'name': 'ctest-vn-20902792', 'tenant_id': '8bde61bc16a84cdca83a1588dafe029b', 'project_id': '8bde61bc16a84cdca83a1588dafe029b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d27aedc6-5ce0-4394-a08d-47758acca817'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96590827', 'ctest-vn-20902792'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-96590827', 'ctest-policy-allow-all-43902922']], 'subnet_ipam': [{'subnet_cidr': '44.193.4.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-12-01 02:23:56,485 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2025-12-01 02:23:56,811 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2025-12-01 02:23:56,881 - DEBUG - Requesting: http://10.0.0.50:8082/domain/1cdd2d94-11f4-497d-babf-74acad61b1f0
2025-12-01 02:23:56,899 - DEBUG - Requesting: http://10.0.0.50:8082/project/8bde61bc-16a8-4cdc-a83a-1588dafe029b
2025-12-01 02:23:56,983 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5d5e31d3-f4d0-4942-8ef1-ea619e2fc971
2025-12-01 02:23:56,996 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5d5e31d3-f4d0-4942-8ef1-ea619e2fc971
2025-12-01 02:23:57,009 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d1a9e5d6-f1b3-46c4-8a6b-90d08a269f48
2025-12-01 02:23:57,017 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d1a9e5d6-f1b3-46c4-8a6b-90d08a269f48
2025-12-01 02:23:57,024 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/35d2d64f-f616-4033-acb3-fb6be43b9b83
2025-12-01 02:23:57,033 - DEBUG - Route Targets: ['target:64512:8000004']
2025-12-01 02:23:57,033 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5d5e31d3-f4d0-4942-8ef1-ea619e2fc971
2025-12-01 02:23:57,043 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d1a9e5d6-f1b3-46c4-8a6b-90d08a269f48
2025-12-01 02:23:57,060 - INFO - Verified VN network id 12 for VN 5d5e31d3-f4d0-4942-8ef1-ea619e2fc971
2025-12-01 02:23:57,061 - INFO - Verifications in API Server for VN ctest-vn-54037439 passed
2025-12-01 02:23:57,061 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5d5e31d3-f4d0-4942-8ef1-ea619e2fc971
2025-12-01 02:23:57,073 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d1a9e5d6-f1b3-46c4-8a6b-90d08a269f48
2025-12-01 02:23:57,081 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d1a9e5d6-f1b3-46c4-8a6b-90d08a269f48
2025-12-01 02:23:57,089 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/35d2d64f-f616-4033-acb3-fb6be43b9b83
2025-12-01 02:23:57,103 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-96590827:ctest-vn-54037439', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-96590827', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6727869679753251138', 'uuid-lslong': '10300271527759694193'}, 'enable': 'true', 'created': '2025-12-01T02:23:54', 'last-modified': '2025-12-01T02:23:56', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.056682'}
2025-12-01 02:23:57,110 - DEBUG - Route Targets: ['target:64512:8000004']
2025-12-01 02:23:57,110 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-54037439 passed
2025-12-01 02:23:57,110 - DEBUG - ====Verifying policy data for ctest-vn-54037439 in API_Server ======
2025-12-01 02:23:57,110 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2025-12-01 02:23:57,117 - DEBUG - Requesting: http://10.0.0.50:8082/domain/1cdd2d94-11f4-497d-babf-74acad61b1f0
2025-12-01 02:23:57,132 - DEBUG - Requesting: http://10.0.0.50:8082/project/8bde61bc-16a8-4cdc-a83a-1588dafe029b
2025-12-01 02:23:57,212 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5d5e31d3-f4d0-4942-8ef1-ea619e2fc971
2025-12-01 02:23:57,226 - DEBUG - ==>Verifying data for policy with id: 5190256a-a1e5-4fea-a5b0-e65726c420a6, fqn: ['default-domain', 'ctest-TestBasicPolicy-96590827', 'ctest-policy-allow-all-43902922']
2025-12-01 02:23:57,226 - INFO - VN ctest-vn-54037439 Policy verification: verify_vn_policy_in_api_server, status: True
2025-12-01 02:23:57,226 - DEBUG - Verifying the vn in opserver
2025-12-01 02:23:57,226 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-96590827:ctest-vn-54037439 virtual network link through opserver 10.0.0.50
2025-12-01 02:23:57,226 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2025-12-01 02:23:57,531 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2025-12-01 02:23:57,630 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-96590827:ctest-vn-54037439', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-96590827:ctest-vn-54037439?flat'}
2025-12-01 02:23:57,630 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-96590827:ctest-vn-54037439 is found in opserver
2025-12-01 02:23:57,642 - DEBUG - Do not have enough data to verify VN in agent
2025-12-01 02:23:57,648 - DEBUG - VRF ids for VN ctest-vn-54037439: {}
2025-12-01 02:23:57,649 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2025-12-01 02:23:57,656 - DEBUG - Requesting: http://10.0.0.50:8082/domain/1cdd2d94-11f4-497d-babf-74acad61b1f0
2025-12-01 02:23:57,671 - DEBUG - Requesting: http://10.0.0.50:8082/project/8bde61bc-16a8-4cdc-a83a-1588dafe029b
2025-12-01 02:23:57,748 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/8d48f380-22a5-4310-8ee8-f6d500df90a3
2025-12-01 02:23:57,762 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/8d48f380-22a5-4310-8ee8-f6d500df90a3
2025-12-01 02:23:57,772 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/05db2cd7-df17-4569-b54e-b937760a47e3
2025-12-01 02:23:57,780 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/05db2cd7-df17-4569-b54e-b937760a47e3
2025-12-01 02:23:57,790 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/ddffbc81-32d5-4004-a09e-61f0b5c00c8e
2025-12-01 02:23:57,799 - DEBUG - Route Targets: ['target:64512:8000005']
2025-12-01 02:23:57,799 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/8d48f380-22a5-4310-8ee8-f6d500df90a3
2025-12-01 02:23:57,811 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/05db2cd7-df17-4569-b54e-b937760a47e3
2025-12-01 02:23:57,830 - INFO - Verified VN network id 13 for VN 8d48f380-22a5-4310-8ee8-f6d500df90a3
2025-12-01 02:23:57,830 - INFO - Verifications in API Server for VN ctest-vn-20902792 passed
2025-12-01 02:23:57,830 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/8d48f380-22a5-4310-8ee8-f6d500df90a3
2025-12-01 02:23:57,841 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/05db2cd7-df17-4569-b54e-b937760a47e3
2025-12-01 02:23:57,849 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/05db2cd7-df17-4569-b54e-b937760a47e3
2025-12-01 02:23:57,857 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/ddffbc81-32d5-4004-a09e-61f0b5c00c8e
2025-12-01 02:23:57,873 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-96590827:ctest-vn-20902792', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-96590827', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10180654689333625616', 'uuid-lslong': '10297751942685757603'}, 'enable': 'true', 'created': '2025-12-01T02:23:55', 'last-modified': '2025-12-01T02:23:56', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.565716'}
2025-12-01 02:23:57,880 - DEBUG - Route Targets: ['target:64512:8000005']
2025-12-01 02:23:57,880 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-20902792 passed
2025-12-01 02:23:57,880 - DEBUG - ====Verifying policy data for ctest-vn-20902792 in API_Server ======
2025-12-01 02:23:57,880 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2025-12-01 02:23:57,888 - DEBUG - Requesting: http://10.0.0.50:8082/domain/1cdd2d94-11f4-497d-babf-74acad61b1f0
2025-12-01 02:23:57,899 - DEBUG - Requesting: http://10.0.0.50:8082/project/8bde61bc-16a8-4cdc-a83a-1588dafe029b
2025-12-01 02:23:57,980 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/8d48f380-22a5-4310-8ee8-f6d500df90a3
2025-12-01 02:23:57,993 - DEBUG - ==>Verifying data for policy with id: 5190256a-a1e5-4fea-a5b0-e65726c420a6, fqn: ['default-domain', 'ctest-TestBasicPolicy-96590827', 'ctest-policy-allow-all-43902922']
2025-12-01 02:23:57,993 - INFO - VN ctest-vn-20902792 Policy verification: verify_vn_policy_in_api_server, status: True
2025-12-01 02:23:57,993 - DEBUG - Verifying the vn in opserver
2025-12-01 02:23:57,993 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-96590827:ctest-vn-20902792 virtual network link through opserver 10.0.0.50
2025-12-01 02:23:57,993 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2025-12-01 02:23:58,005 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-96590827:ctest-vn-20902792', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-96590827:ctest-vn-20902792?flat'}
2025-12-01 02:23:58,005 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-96590827:ctest-vn-20902792 is found in opserver
2025-12-01 02:23:58,015 - DEBUG - Do not have enough data to verify VN in agent
2025-12-01 02:23:58,020 - DEBUG - VRF ids for VN ctest-vn-20902792: {}
2025-12-01 02:23:58,100 - DEBUG - Services list from nova: [