2025-10-13 10:36:47,347 - INFO - Domain Default found not creating
2025-10-13 10:36:47,486 - INFO - Project ctest-TestBasicPolicy-43639243 not found, creating it
2025-10-13 10:36:47,917 - INFO - Created Project:ctest-TestBasicPolicy-43639243, ID : deaa0e40-e5b3-4251-b4f2-7027d4476025 
2025-10-13 10:36:49,951 - INFO - ================================================================================
2025-10-13 10:36:49,951 - INFO - STARTING TEST    : test_basic_policy_allow_deny
2025-10-13 10:36:49,951 - 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-10-13 10:36:50,209 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.254': '0'}} with
2025-10-13 10:36:50,209 - INFO - Initial checks done. Running the testcase now
2025-10-13 10:36:50,209 - INFO - 
2025-10-13 10:36:50,708 - DEBUG - Response for create_network : {'network': {'id': '5ca77d31-7576-447d-b770-079403b0d642', 'name': 'ctest-vn-40975531', 'tenant_id': 'deaa0e40e5b34251b4f27027d4476025', 'project_id': 'deaa0e40e5b34251b4f27027d4476025', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43639243', 'ctest-vn-40975531'], 'port_security_enabled': True, 'description': ''}}
2025-10-13 10:36:50,872 - DEBUG - Response for create_subnet : {'subnet': {'id': '6c8652f4-db38-4df6-b14f-8c46de6f7de1', 'name': '', 'tenant_id': 'deaa0e40e5b34251b4f27027d4476025', 'network_id': '5ca77d31-7576-447d-b770-079403b0d642', 'ip_version': 4, 'cidr': '56.213.93.0/26', 'allocation_pools': [{'start': '56.213.93.2', 'end': '56.213.93.62'}], 'gateway_ip': '56.213.93.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '56.213.93.2', 'tags': [], 'project_id': 'deaa0e40e5b34251b4f27027d4476025'}}
2025-10-13 10:36:50,890 - INFO - Created VN ctest-vn-40975531
2025-10-13 10:36:50,944 - DEBUG - VN ctest-vn-40975531 UUID is 5ca77d31-7576-447d-b770-079403b0d642
2025-10-13 10:36:51,266 - DEBUG - Response for create_network : {'network': {'id': '0f7c5eba-f6db-4b6f-ac5b-ab17f3370323', 'name': 'ctest-vn-57704430', 'tenant_id': 'deaa0e40e5b34251b4f27027d4476025', 'project_id': 'deaa0e40e5b34251b4f27027d4476025', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43639243', 'ctest-vn-57704430'], 'port_security_enabled': True, 'description': ''}}
2025-10-13 10:36:51,415 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e334bd40-f230-4ee1-8dff-01ca97f3a155', 'name': '', 'tenant_id': 'deaa0e40e5b34251b4f27027d4476025', 'network_id': '0f7c5eba-f6db-4b6f-ac5b-ab17f3370323', 'ip_version': 4, 'cidr': '43.144.142.128/26', 'allocation_pools': [{'start': '43.144.142.130', 'end': '43.144.142.190'}], 'gateway_ip': '43.144.142.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '43.144.142.130', 'tags': [], 'project_id': 'deaa0e40e5b34251b4f27027d4476025'}}
2025-10-13 10:36:51,431 - INFO - Created VN ctest-vn-57704430
2025-10-13 10:36:51,484 - DEBUG - VN ctest-vn-57704430 UUID is 0f7c5eba-f6db-4b6f-ac5b-ab17f3370323
2025-10-13 10:36:51,644 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-43639243:ctest-vn-40975531, 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-43639243:ctest-vn-57704430, 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-10-13 10:36:51,932 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5ca77d31-7576-447d-b770-079403b0d642', 'name': 'ctest-vn-40975531', 'tenant_id': 'deaa0e40e5b34251b4f27027d4476025', 'project_id': 'deaa0e40e5b34251b4f27027d4476025', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6c8652f4-db38-4df6-b14f-8c46de6f7de1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43639243', 'ctest-vn-40975531'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-43639243', 'ctest-policy-allow-all-11726276']], 'subnet_ipam': [{'subnet_cidr': '56.213.93.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-10-13 10:36:52,161 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0f7c5eba-f6db-4b6f-ac5b-ab17f3370323', 'name': 'ctest-vn-57704430', 'tenant_id': 'deaa0e40e5b34251b4f27027d4476025', 'project_id': 'deaa0e40e5b34251b4f27027d4476025', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e334bd40-f230-4ee1-8dff-01ca97f3a155'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43639243', 'ctest-vn-57704430'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-43639243', 'ctest-policy-allow-all-11726276']], 'subnet_ipam': [{'subnet_cidr': '43.144.142.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-10-13 10:36:52,308 - DEBUG - Requesting: http://10.0.0.130:8082/domains
2025-10-13 10:36:52,618 - DEBUG - Requesting: http://10.0.0.130:8082/domains
2025-10-13 10:36:52,649 - DEBUG - Requesting: http://10.0.0.130:8082/domain/e53470ee-4feb-45b3-8b39-199457173631
2025-10-13 10:36:52,660 - DEBUG - Requesting: http://10.0.0.130:8082/project/deaa0e40-e5b3-4251-b4f2-7027d4476025
2025-10-13 10:36:52,731 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/5ca77d31-7576-447d-b770-079403b0d642
2025-10-13 10:36:52,742 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/5ca77d31-7576-447d-b770-079403b0d642
2025-10-13 10:36:52,753 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/92049e18-e6a1-478b-8e41-55208b12e8f0
2025-10-13 10:36:52,763 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/92049e18-e6a1-478b-8e41-55208b12e8f0
2025-10-13 10:36:52,772 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/1bc9e6f8-fb29-4261-828a-8729bcebce50
2025-10-13 10:36:52,779 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-13 10:36:52,779 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/5ca77d31-7576-447d-b770-079403b0d642
2025-10-13 10:36:52,792 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/92049e18-e6a1-478b-8e41-55208b12e8f0
2025-10-13 10:36:52,806 - INFO - Verified VN network id 11 for VN 5ca77d31-7576-447d-b770-079403b0d642
2025-10-13 10:36:52,806 - INFO - Verifications in API Server for VN ctest-vn-40975531 passed
2025-10-13 10:36:52,806 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/5ca77d31-7576-447d-b770-079403b0d642
2025-10-13 10:36:52,816 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/92049e18-e6a1-478b-8e41-55208b12e8f0
2025-10-13 10:36:52,823 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/92049e18-e6a1-478b-8e41-55208b12e8f0
2025-10-13 10:36:52,829 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/1bc9e6f8-fb29-4261-828a-8729bcebce50
2025-10-13 10:36:52,840 - DEBUG - Control-node 10.0.0.130 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-43639243:ctest-vn-40975531', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-43639243', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6676442623977604221', 'uuid-lslong': '13218073238630880834'}, 'enable': 'true', 'created': '2025-10-13T10:36:50', 'last-modified': '2025-10-13T10:36:51', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.931403'}
2025-10-13 10:36:52,847 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-13 10:36:52,847 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-40975531 passed
2025-10-13 10:36:52,847 - DEBUG - ====Verifying policy data for ctest-vn-40975531 in API_Server ======
2025-10-13 10:36:52,847 - DEBUG - Requesting: http://10.0.0.130:8082/domains
2025-10-13 10:36:52,858 - DEBUG - Requesting: http://10.0.0.130:8082/domain/e53470ee-4feb-45b3-8b39-199457173631
2025-10-13 10:36:52,869 - DEBUG - Requesting: http://10.0.0.130:8082/project/deaa0e40-e5b3-4251-b4f2-7027d4476025
2025-10-13 10:36:52,941 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/5ca77d31-7576-447d-b770-079403b0d642
2025-10-13 10:36:52,949 - DEBUG - ==>Verifying data for policy with id: 15344145-c5bc-453c-8f71-01586eaa260f, fqn: ['default-domain', 'ctest-TestBasicPolicy-43639243', 'ctest-policy-allow-all-11726276']
2025-10-13 10:36:52,949 - INFO - VN ctest-vn-40975531 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-13 10:36:52,949 - DEBUG - Verifying the vn in opserver
2025-10-13 10:36:52,949 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-43639243:ctest-vn-40975531 virtual network link  through opserver 10.0.0.130
2025-10-13 10:36:52,949 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks
2025-10-13 10:36:53,240 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks
2025-10-13 10:36:53,291 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-43639243:ctest-vn-40975531', 'href': 'http://10.0.0.130:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-43639243:ctest-vn-40975531?flat'}
2025-10-13 10:36:53,292 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-43639243:ctest-vn-40975531 is found in opserver
2025-10-13 10:36:53,303 - DEBUG - Do not have enough data to verify VN in agent
2025-10-13 10:36:53,308 - DEBUG - VRF ids for VN ctest-vn-40975531: {}
2025-10-13 10:36:53,308 - DEBUG - Requesting: http://10.0.0.130:8082/domains
2025-10-13 10:36:53,314 - DEBUG - Requesting: http://10.0.0.130:8082/domain/e53470ee-4feb-45b3-8b39-199457173631
2025-10-13 10:36:53,325 - DEBUG - Requesting: http://10.0.0.130:8082/project/deaa0e40-e5b3-4251-b4f2-7027d4476025
2025-10-13 10:36:53,402 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/0f7c5eba-f6db-4b6f-ac5b-ab17f3370323
2025-10-13 10:36:53,418 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/0f7c5eba-f6db-4b6f-ac5b-ab17f3370323
2025-10-13 10:36:53,429 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/7b3ffb03-b8df-49fd-ab60-67e7780b38a1
2025-10-13 10:36:53,437 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/7b3ffb03-b8df-49fd-ab60-67e7780b38a1
2025-10-13 10:36:53,443 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/e1fdfb0c-84ab-43fe-bbb5-0d489c0b53ac
2025-10-13 10:36:53,450 - DEBUG - Route Targets: ['target:64512:8000005']
2025-10-13 10:36:53,450 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/0f7c5eba-f6db-4b6f-ac5b-ab17f3370323
2025-10-13 10:36:53,458 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/7b3ffb03-b8df-49fd-ab60-67e7780b38a1
2025-10-13 10:36:53,471 - INFO - Verified VN network id 12 for VN 0f7c5eba-f6db-4b6f-ac5b-ab17f3370323
2025-10-13 10:36:53,471 - INFO - Verifications in API Server for VN ctest-vn-57704430 passed
2025-10-13 10:36:53,471 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/0f7c5eba-f6db-4b6f-ac5b-ab17f3370323
2025-10-13 10:36:53,479 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/7b3ffb03-b8df-49fd-ab60-67e7780b38a1
2025-10-13 10:36:53,485 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/7b3ffb03-b8df-49fd-ab60-67e7780b38a1
2025-10-13 10:36:53,490 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/e1fdfb0c-84ab-43fe-bbb5-0d489c0b53ac
2025-10-13 10:36:53,501 - DEBUG - Control-node 10.0.0.130 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-43639243:ctest-vn-57704430', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-43639243', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1115870964779535215', 'uuid-lslong': '12419708516757340963'}, 'enable': 'true', 'created': '2025-10-13T10:36:51', 'last-modified': '2025-10-13T10:36:52', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.362122'}
2025-10-13 10:36:53,506 - DEBUG - Route Targets: ['target:64512:8000005']
2025-10-13 10:36:53,506 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-57704430 passed
2025-10-13 10:36:53,506 - DEBUG - ====Verifying policy data for ctest-vn-57704430 in API_Server ======
2025-10-13 10:36:53,506 - DEBUG - Requesting: http://10.0.0.130:8082/domains
2025-10-13 10:36:53,511 - DEBUG - Requesting: http://10.0.0.130:8082/domain/e53470ee-4feb-45b3-8b39-199457173631
2025-10-13 10:36:53,521 - DEBUG - Requesting: http://10.0.0.130:8082/project/deaa0e40-e5b3-4251-b4f2-7027d4476025
2025-10-13 10:36:53,589 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/0f7c5eba-f6db-4b6f-ac5b-ab17f3370323
2025-10-13 10:36:53,597 - DEBUG - ==>Verifying data for policy with id: 15344145-c5bc-453c-8f71-01586eaa260f, fqn: ['default-domain', 'ctest-TestBasicPolicy-43639243', 'ctest-policy-allow-all-11726276']
2025-10-13 10:36:53,598 - INFO - VN ctest-vn-57704430 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-13 10:36:53,598 - DEBUG - Verifying the vn in opserver
2025-10-13 10:36:53,598 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-43639243:ctest-vn-57704430 virtual network link  through opserver 10.0.0.130
2025-10-13 10:36:53,598 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks
2025-10-13 10:36:53,607 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-43639243:ctest-vn-57704430', 'href': 'http://10.0.0.130:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-43639243:ctest-vn-57704430?flat'}
2025-10-13 10:36:53,607 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-43639243:ctest-vn-57704430 is found in opserver
2025-10-13 10:36:53,618 - DEBUG - Do not have enough data to verify VN in agent
2025-10-13 10:36:53,623 - DEBUG - VRF ids for VN ctest-vn-57704430: {}
2025-10-13 10:36:53,682 - DEBUG - Services list from nova: [