2025-12-01 02:06:22,584 - INFO - Domain Default found not creating
2025-12-01 02:06:22,752 - INFO - Project ctest-TestBasicPolicy-08415725 not found, creating it
2025-12-01 02:06:23,203 - INFO - Created Project:ctest-TestBasicPolicy-08415725, ID : c34cb80b-e85a-491d-9e9a-6f7fc2889ebf
2025-12-01 02:06:24,736 - INFO - ================================================================================
2025-12-01 02:06:24,736 - INFO - STARTING TEST : test_basic_policy_allow_deny
2025-12-01 02:06:24,736 - 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:06:25,001 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.17': '0'}} with
2025-12-01 02:06:25,001 - INFO - Initial checks done. Running the testcase now
2025-12-01 02:06:25,001 - INFO -
2025-12-01 02:06:25,563 - DEBUG - Response for create_network : {'network': {'id': '7a8f98c4-426d-4843-ac17-d3a342463020', 'name': 'ctest-vn-24473139', 'tenant_id': 'c34cb80be85a491d9e9a6f7fc2889ebf', 'project_id': 'c34cb80be85a491d9e9a6f7fc2889ebf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-08415725', 'ctest-vn-24473139'], 'port_security_enabled': True, 'description': ''}}
2025-12-01 02:06:25,771 - DEBUG - Response for create_subnet : {'subnet': {'id': '71becb5a-e925-446a-8412-f3862db19ea6', 'name': '', 'tenant_id': 'c34cb80be85a491d9e9a6f7fc2889ebf', 'network_id': '7a8f98c4-426d-4843-ac17-d3a342463020', 'ip_version': 4, 'cidr': '66.69.163.64/26', 'allocation_pools': [{'start': '66.69.163.66', 'end': '66.69.163.126'}], 'gateway_ip': '66.69.163.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '66.69.163.66', 'tags': [], 'project_id': 'c34cb80be85a491d9e9a6f7fc2889ebf'}}
2025-12-01 02:06:25,787 - INFO - Created VN ctest-vn-24473139
2025-12-01 02:06:25,837 - DEBUG - VN ctest-vn-24473139 UUID is 7a8f98c4-426d-4843-ac17-d3a342463020
2025-12-01 02:06:26,163 - DEBUG - Response for create_network : {'network': {'id': '65022923-7f98-4cde-beb3-8e1d905cb307', 'name': 'ctest-vn-62186392', 'tenant_id': 'c34cb80be85a491d9e9a6f7fc2889ebf', 'project_id': 'c34cb80be85a491d9e9a6f7fc2889ebf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-08415725', 'ctest-vn-62186392'], 'port_security_enabled': True, 'description': ''}}
2025-12-01 02:06:26,353 - DEBUG - Response for create_subnet : {'subnet': {'id': '481f0bc3-c9d1-4a65-a52d-f46832139487', 'name': '', 'tenant_id': 'c34cb80be85a491d9e9a6f7fc2889ebf', 'network_id': '65022923-7f98-4cde-beb3-8e1d905cb307', 'ip_version': 4, 'cidr': '30.175.207.128/26', 'allocation_pools': [{'start': '30.175.207.130', 'end': '30.175.207.190'}], 'gateway_ip': '30.175.207.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '30.175.207.130', 'tags': [], 'project_id': 'c34cb80be85a491d9e9a6f7fc2889ebf'}}
2025-12-01 02:06:26,370 - INFO - Created VN ctest-vn-62186392
2025-12-01 02:06:26,429 - DEBUG - VN ctest-vn-62186392 UUID is 65022923-7f98-4cde-beb3-8e1d905cb307
2025-12-01 02:06:26,577 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-08415725:ctest-vn-24473139, 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-08415725:ctest-vn-62186392, 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:06:26,862 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7a8f98c4-426d-4843-ac17-d3a342463020', 'name': 'ctest-vn-24473139', 'tenant_id': 'c34cb80be85a491d9e9a6f7fc2889ebf', 'project_id': 'c34cb80be85a491d9e9a6f7fc2889ebf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['71becb5a-e925-446a-8412-f3862db19ea6'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-08415725', 'ctest-vn-24473139'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-08415725', 'ctest-policy-allow-all-03468514']], 'subnet_ipam': [{'subnet_cidr': '66.69.163.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-12-01 02:06:27,127 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '65022923-7f98-4cde-beb3-8e1d905cb307', 'name': 'ctest-vn-62186392', 'tenant_id': 'c34cb80be85a491d9e9a6f7fc2889ebf', 'project_id': 'c34cb80be85a491d9e9a6f7fc2889ebf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['481f0bc3-c9d1-4a65-a52d-f46832139487'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-08415725', 'ctest-vn-62186392'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-08415725', 'ctest-policy-allow-all-03468514']], 'subnet_ipam': [{'subnet_cidr': '30.175.207.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-12-01 02:06:27,273 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2025-12-01 02:06:27,567 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2025-12-01 02:06:27,596 - DEBUG - Requesting: http://10.0.0.19:8082/domain/cb29309f-860f-49bf-a2e1-481fa9c348c7
2025-12-01 02:06:27,607 - DEBUG - Requesting: http://10.0.0.19:8082/project/c34cb80b-e85a-491d-9e9a-6f7fc2889ebf
2025-12-01 02:06:27,681 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/7a8f98c4-426d-4843-ac17-d3a342463020
2025-12-01 02:06:27,691 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/7a8f98c4-426d-4843-ac17-d3a342463020
2025-12-01 02:06:27,699 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/f15db313-a010-4d1e-b122-6f8b5fb0818b
2025-12-01 02:06:27,706 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/f15db313-a010-4d1e-b122-6f8b5fb0818b
2025-12-01 02:06:27,712 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/ba03a577-3380-4252-81ef-1ec4fcbb2a49
2025-12-01 02:06:27,719 - DEBUG - Route Targets: ['target:64512:8000004']
2025-12-01 02:06:27,719 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/7a8f98c4-426d-4843-ac17-d3a342463020
2025-12-01 02:06:27,727 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/f15db313-a010-4d1e-b122-6f8b5fb0818b
2025-12-01 02:06:27,741 - INFO - Verified VN network id 11 for VN 7a8f98c4-426d-4843-ac17-d3a342463020
2025-12-01 02:06:27,741 - INFO - Verifications in API Server for VN ctest-vn-24473139 passed
2025-12-01 02:06:27,741 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/7a8f98c4-426d-4843-ac17-d3a342463020
2025-12-01 02:06:27,749 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/f15db313-a010-4d1e-b122-6f8b5fb0818b
2025-12-01 02:06:27,756 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/f15db313-a010-4d1e-b122-6f8b5fb0818b
2025-12-01 02:06:27,762 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/ba03a577-3380-4252-81ef-1ec4fcbb2a49
2025-12-01 02:06:27,772 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-08415725:ctest-vn-24473139', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-08415725', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8831445362992302147', 'uuid-lslong': '12400612797132976160'}, 'enable': 'true', 'created': '2025-12-01T02:06:25', 'last-modified': '2025-12-01T02:06:26', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.932097'}
2025-12-01 02:06:27,778 - DEBUG - Route Targets: ['target:64512:8000004']
2025-12-01 02:06:27,778 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-24473139 passed
2025-12-01 02:06:27,778 - DEBUG - ====Verifying policy data for ctest-vn-24473139 in API_Server ======
2025-12-01 02:06:27,779 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2025-12-01 02:06:27,784 - DEBUG - Requesting: http://10.0.0.19:8082/domain/cb29309f-860f-49bf-a2e1-481fa9c348c7
2025-12-01 02:06:27,794 - DEBUG - Requesting: http://10.0.0.19:8082/project/c34cb80b-e85a-491d-9e9a-6f7fc2889ebf
2025-12-01 02:06:27,858 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/7a8f98c4-426d-4843-ac17-d3a342463020
2025-12-01 02:06:27,867 - DEBUG - ==>Verifying data for policy with id: ebfba797-e4a1-4688-9e82-c8546a98c30e, fqn: ['default-domain', 'ctest-TestBasicPolicy-08415725', 'ctest-policy-allow-all-03468514']
2025-12-01 02:06:27,867 - INFO - VN ctest-vn-24473139 Policy verification: verify_vn_policy_in_api_server, status: True
2025-12-01 02:06:27,867 - DEBUG - Verifying the vn in opserver
2025-12-01 02:06:27,867 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-08415725:ctest-vn-24473139 virtual network link through opserver 10.0.0.19
2025-12-01 02:06:27,867 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks
2025-12-01 02:06:28,157 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks
2025-12-01 02:06:28,216 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-08415725:ctest-vn-24473139', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-08415725:ctest-vn-24473139?flat'}
2025-12-01 02:06:28,216 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-08415725:ctest-vn-24473139 is found in opserver
2025-12-01 02:06:28,226 - DEBUG - Do not have enough data to verify VN in agent
2025-12-01 02:06:28,231 - DEBUG - VRF ids for VN ctest-vn-24473139: {}
2025-12-01 02:06:28,231 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2025-12-01 02:06:28,236 - DEBUG - Requesting: http://10.0.0.19:8082/domain/cb29309f-860f-49bf-a2e1-481fa9c348c7
2025-12-01 02:06:28,245 - DEBUG - Requesting: http://10.0.0.19:8082/project/c34cb80b-e85a-491d-9e9a-6f7fc2889ebf
2025-12-01 02:06:28,314 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/65022923-7f98-4cde-beb3-8e1d905cb307
2025-12-01 02:06:28,324 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/65022923-7f98-4cde-beb3-8e1d905cb307
2025-12-01 02:06:28,332 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/29c6f476-5b92-460b-8988-1da5807b1486
2025-12-01 02:06:28,339 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/29c6f476-5b92-460b-8988-1da5807b1486
2025-12-01 02:06:28,345 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/7ef93b5a-892f-4967-bbc6-0fd186ffe953
2025-12-01 02:06:28,351 - DEBUG - Route Targets: ['target:64512:8000005']
2025-12-01 02:06:28,351 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/65022923-7f98-4cde-beb3-8e1d905cb307
2025-12-01 02:06:28,359 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/29c6f476-5b92-460b-8988-1da5807b1486
2025-12-01 02:06:28,373 - INFO - Verified VN network id 12 for VN 65022923-7f98-4cde-beb3-8e1d905cb307
2025-12-01 02:06:28,373 - INFO - Verifications in API Server for VN ctest-vn-62186392 passed
2025-12-01 02:06:28,373 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/65022923-7f98-4cde-beb3-8e1d905cb307
2025-12-01 02:06:28,381 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/29c6f476-5b92-460b-8988-1da5807b1486
2025-12-01 02:06:28,388 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/29c6f476-5b92-460b-8988-1da5807b1486
2025-12-01 02:06:28,393 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/7ef93b5a-892f-4967-bbc6-0fd186ffe953
2025-12-01 02:06:28,404 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-08415725:ctest-vn-62186392', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-08415725', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7278425180225424606', 'uuid-lslong': '13741483145664705287'}, 'enable': 'true', 'created': '2025-12-01T02:06:26', 'last-modified': '2025-12-01T02:06:27', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.344645'}
2025-12-01 02:06:28,409 - DEBUG - Route Targets: ['target:64512:8000005']
2025-12-01 02:06:28,409 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-62186392 passed
2025-12-01 02:06:28,409 - DEBUG - ====Verifying policy data for ctest-vn-62186392 in API_Server ======
2025-12-01 02:06:28,409 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2025-12-01 02:06:28,414 - DEBUG - Requesting: http://10.0.0.19:8082/domain/cb29309f-860f-49bf-a2e1-481fa9c348c7
2025-12-01 02:06:28,423 - DEBUG - Requesting: http://10.0.0.19:8082/project/c34cb80b-e85a-491d-9e9a-6f7fc2889ebf
2025-12-01 02:06:28,491 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/65022923-7f98-4cde-beb3-8e1d905cb307
2025-12-01 02:06:28,499 - DEBUG - ==>Verifying data for policy with id: ebfba797-e4a1-4688-9e82-c8546a98c30e, fqn: ['default-domain', 'ctest-TestBasicPolicy-08415725', 'ctest-policy-allow-all-03468514']
2025-12-01 02:06:28,499 - INFO - VN ctest-vn-62186392 Policy verification: verify_vn_policy_in_api_server, status: True
2025-12-01 02:06:28,499 - DEBUG - Verifying the vn in opserver
2025-12-01 02:06:28,499 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-08415725:ctest-vn-62186392 virtual network link through opserver 10.0.0.19
2025-12-01 02:06:28,499 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks
2025-12-01 02:06:28,508 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-08415725:ctest-vn-62186392', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-08415725:ctest-vn-62186392?flat'}
2025-12-01 02:06:28,508 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-08415725:ctest-vn-62186392 is found in opserver
2025-12-01 02:06:28,516 - DEBUG - Do not have enough data to verify VN in agent
2025-12-01 02:06:28,519 - DEBUG - VRF ids for VN ctest-vn-62186392: {}
2025-12-01 02:06:28,571 - DEBUG - Services list from nova: [