2025-10-27 06:31:53,270 - INFO - Domain Default found not creating
2025-10-27 06:31:53,467 - INFO - Project ctest-TestBasicPolicy-35742868 not found, creating it
2025-10-27 06:31:53,979 - INFO - Created Project:ctest-TestBasicPolicy-35742868, ID : e3472d2e-a620-4578-af72-831643f753ee 
2025-10-27 06:31:55,781 - INFO - ================================================================================
2025-10-27 06:31:55,782 - INFO - STARTING TEST    : test_basic_policy_allow_deny
2025-10-27 06:31:55,782 - 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-27 06:31:56,063 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with
2025-10-27 06:31:56,063 - INFO - Initial checks done. Running the testcase now
2025-10-27 06:31:56,063 - INFO - 
2025-10-27 06:31:56,677 - DEBUG - Response for create_network : {'network': {'id': '9f356098-81d5-4a9e-be02-b48b46b77f2f', 'name': 'ctest-vn-53938472', 'tenant_id': 'e3472d2ea6204578af72831643f753ee', 'project_id': 'e3472d2ea6204578af72831643f753ee', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-35742868', 'ctest-vn-53938472'], 'port_security_enabled': True, 'description': ''}}
2025-10-27 06:31:56,914 - DEBUG - Response for create_subnet : {'subnet': {'id': '58665740-a027-425a-8b5e-da4bb89359db', 'name': '', 'tenant_id': 'e3472d2ea6204578af72831643f753ee', 'network_id': '9f356098-81d5-4a9e-be02-b48b46b77f2f', 'ip_version': 4, 'cidr': '53.140.112.128/26', 'allocation_pools': [{'start': '53.140.112.130', 'end': '53.140.112.190'}], 'gateway_ip': '53.140.112.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '53.140.112.130', 'tags': [], 'project_id': 'e3472d2ea6204578af72831643f753ee'}}
2025-10-27 06:31:56,940 - INFO - Created VN ctest-vn-53938472
2025-10-27 06:31:56,997 - DEBUG - VN ctest-vn-53938472 UUID is 9f356098-81d5-4a9e-be02-b48b46b77f2f
2025-10-27 06:31:57,378 - DEBUG - Response for create_network : {'network': {'id': '88dd468c-3163-4ddc-89c5-16cabccdcfdd', 'name': 'ctest-vn-19648118', 'tenant_id': 'e3472d2ea6204578af72831643f753ee', 'project_id': 'e3472d2ea6204578af72831643f753ee', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-35742868', 'ctest-vn-19648118'], 'port_security_enabled': True, 'description': ''}}
2025-10-27 06:31:57,568 - DEBUG - Response for create_subnet : {'subnet': {'id': '5bfe33eb-aae5-4fae-aeaa-7d7f2d49db3d', 'name': '', 'tenant_id': 'e3472d2ea6204578af72831643f753ee', 'network_id': '88dd468c-3163-4ddc-89c5-16cabccdcfdd', 'ip_version': 4, 'cidr': '8.15.169.0/26', 'allocation_pools': [{'start': '8.15.169.2', 'end': '8.15.169.62'}], 'gateway_ip': '8.15.169.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '8.15.169.2', 'tags': [], 'project_id': 'e3472d2ea6204578af72831643f753ee'}}
2025-10-27 06:31:57,594 - INFO - Created VN ctest-vn-19648118
2025-10-27 06:31:57,649 - DEBUG - VN ctest-vn-19648118 UUID is 88dd468c-3163-4ddc-89c5-16cabccdcfdd
2025-10-27 06:31:57,782 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-35742868:ctest-vn-53938472, 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-35742868:ctest-vn-19648118, 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-27 06:31:58,103 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9f356098-81d5-4a9e-be02-b48b46b77f2f', 'name': 'ctest-vn-53938472', 'tenant_id': 'e3472d2ea6204578af72831643f753ee', 'project_id': 'e3472d2ea6204578af72831643f753ee', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['58665740-a027-425a-8b5e-da4bb89359db'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-35742868', 'ctest-vn-53938472'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-35742868', 'ctest-policy-allow-all-36420629']], 'subnet_ipam': [{'subnet_cidr': '53.140.112.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-10-27 06:31:58,405 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '88dd468c-3163-4ddc-89c5-16cabccdcfdd', 'name': 'ctest-vn-19648118', 'tenant_id': 'e3472d2ea6204578af72831643f753ee', 'project_id': 'e3472d2ea6204578af72831643f753ee', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5bfe33eb-aae5-4fae-aeaa-7d7f2d49db3d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-35742868', 'ctest-vn-19648118'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-35742868', 'ctest-policy-allow-all-36420629']], 'subnet_ipam': [{'subnet_cidr': '8.15.169.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-10-27 06:31:58,565 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2025-10-27 06:31:58,889 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2025-10-27 06:31:58,926 - DEBUG - Requesting: http://10.0.0.22:8082/domain/4845a3a4-43c4-4e3e-bb30-7f2ade919bb3
2025-10-27 06:31:58,940 - DEBUG - Requesting: http://10.0.0.22:8082/project/e3472d2e-a620-4578-af72-831643f753ee
2025-10-27 06:31:59,016 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/9f356098-81d5-4a9e-be02-b48b46b77f2f
2025-10-27 06:31:59,030 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/9f356098-81d5-4a9e-be02-b48b46b77f2f
2025-10-27 06:31:59,041 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/3a763785-b0d4-406d-a679-7b907e68378a
2025-10-27 06:31:59,050 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/3a763785-b0d4-406d-a679-7b907e68378a
2025-10-27 06:31:59,059 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/db62f9d0-d9a4-4530-ad1a-b57587ef9db8
2025-10-27 06:31:59,069 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-27 06:31:59,069 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/9f356098-81d5-4a9e-be02-b48b46b77f2f
2025-10-27 06:31:59,083 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/3a763785-b0d4-406d-a679-7b907e68378a
2025-10-27 06:31:59,104 - INFO - Verified VN network id 11 for VN 9f356098-81d5-4a9e-be02-b48b46b77f2f
2025-10-27 06:31:59,104 - INFO - Verifications in API Server for VN ctest-vn-53938472 passed
2025-10-27 06:31:59,104 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/9f356098-81d5-4a9e-be02-b48b46b77f2f
2025-10-27 06:31:59,119 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/3a763785-b0d4-406d-a679-7b907e68378a
2025-10-27 06:31:59,130 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/3a763785-b0d4-406d-a679-7b907e68378a
2025-10-27 06:31:59,140 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/db62f9d0-d9a4-4530-ad1a-b57587ef9db8
2025-10-27 06:31:59,158 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-35742868:ctest-vn-53938472', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-35742868', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11472181833925741214', 'uuid-lslong': '13691704327439613743'}, 'enable': 'true', 'created': '2025-10-27T06:31:56', 'last-modified': '2025-10-27T06:31:58', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.085954'}
2025-10-27 06:31:59,165 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-27 06:31:59,165 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-53938472 passed
2025-10-27 06:31:59,165 - DEBUG - ====Verifying policy data for ctest-vn-53938472 in API_Server ======
2025-10-27 06:31:59,165 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2025-10-27 06:31:59,175 - DEBUG - Requesting: http://10.0.0.22:8082/domain/4845a3a4-43c4-4e3e-bb30-7f2ade919bb3
2025-10-27 06:31:59,189 - DEBUG - Requesting: http://10.0.0.22:8082/project/e3472d2e-a620-4578-af72-831643f753ee
2025-10-27 06:31:59,274 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/9f356098-81d5-4a9e-be02-b48b46b77f2f
2025-10-27 06:31:59,285 - DEBUG - ==>Verifying data for policy with id: 4156779a-1be8-4075-bf5b-64040fd6692c, fqn: ['default-domain', 'ctest-TestBasicPolicy-35742868', 'ctest-policy-allow-all-36420629']
2025-10-27 06:31:59,285 - INFO - VN ctest-vn-53938472 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-27 06:31:59,285 - DEBUG - Verifying the vn in opserver
2025-10-27 06:31:59,285 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-35742868:ctest-vn-53938472 virtual network link  through opserver 10.0.0.22
2025-10-27 06:31:59,285 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks
2025-10-27 06:31:59,586 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks
2025-10-27 06:31:59,660 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-35742868:ctest-vn-53938472', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-35742868:ctest-vn-53938472?flat'}
2025-10-27 06:31:59,660 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-35742868:ctest-vn-53938472 is found in opserver
2025-10-27 06:31:59,671 - DEBUG - Do not have enough data to verify VN in agent
2025-10-27 06:31:59,677 - DEBUG - VRF ids for VN ctest-vn-53938472: {}
2025-10-27 06:31:59,677 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2025-10-27 06:31:59,685 - DEBUG - Requesting: http://10.0.0.22:8082/domain/4845a3a4-43c4-4e3e-bb30-7f2ade919bb3
2025-10-27 06:31:59,699 - DEBUG - Requesting: http://10.0.0.22:8082/project/e3472d2e-a620-4578-af72-831643f753ee
2025-10-27 06:31:59,777 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/88dd468c-3163-4ddc-89c5-16cabccdcfdd
2025-10-27 06:31:59,790 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/88dd468c-3163-4ddc-89c5-16cabccdcfdd
2025-10-27 06:31:59,802 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/0f4ddda7-fc2c-4163-9b1d-a2eb7ad84254
2025-10-27 06:31:59,812 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/0f4ddda7-fc2c-4163-9b1d-a2eb7ad84254
2025-10-27 06:31:59,822 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/1674316a-13cc-4218-bb0f-acfbd615050a
2025-10-27 06:31:59,831 - DEBUG - Route Targets: ['target:64512:8000005']
2025-10-27 06:31:59,831 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/88dd468c-3163-4ddc-89c5-16cabccdcfdd
2025-10-27 06:31:59,842 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/0f4ddda7-fc2c-4163-9b1d-a2eb7ad84254
2025-10-27 06:31:59,858 - INFO - Verified VN network id 12 for VN 88dd468c-3163-4ddc-89c5-16cabccdcfdd
2025-10-27 06:31:59,858 - INFO - Verifications in API Server for VN ctest-vn-19648118 passed
2025-10-27 06:31:59,858 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/88dd468c-3163-4ddc-89c5-16cabccdcfdd
2025-10-27 06:31:59,869 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/0f4ddda7-fc2c-4163-9b1d-a2eb7ad84254
2025-10-27 06:31:59,880 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/0f4ddda7-fc2c-4163-9b1d-a2eb7ad84254
2025-10-27 06:31:59,890 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/1674316a-13cc-4218-bb0f-acfbd615050a
2025-10-27 06:31:59,905 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-35742868:ctest-vn-19648118', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-35742868', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9862116326949211612', 'uuid-lslong': '9927366013614936029'}, 'enable': 'true', 'created': '2025-10-27T06:31:57', 'last-modified': '2025-10-27T06:31:58', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.573719'}
2025-10-27 06:31:59,912 - DEBUG - Route Targets: ['target:64512:8000005']
2025-10-27 06:31:59,912 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-19648118 passed
2025-10-27 06:31:59,912 - DEBUG - ====Verifying policy data for ctest-vn-19648118 in API_Server ======
2025-10-27 06:31:59,913 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2025-10-27 06:31:59,921 - DEBUG - Requesting: http://10.0.0.22:8082/domain/4845a3a4-43c4-4e3e-bb30-7f2ade919bb3
2025-10-27 06:31:59,935 - DEBUG - Requesting: http://10.0.0.22:8082/project/e3472d2e-a620-4578-af72-831643f753ee
2025-10-27 06:32:00,016 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/88dd468c-3163-4ddc-89c5-16cabccdcfdd
2025-10-27 06:32:00,028 - DEBUG - ==>Verifying data for policy with id: 4156779a-1be8-4075-bf5b-64040fd6692c, fqn: ['default-domain', 'ctest-TestBasicPolicy-35742868', 'ctest-policy-allow-all-36420629']
2025-10-27 06:32:00,028 - INFO - VN ctest-vn-19648118 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-27 06:32:00,028 - DEBUG - Verifying the vn in opserver
2025-10-27 06:32:00,028 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-35742868:ctest-vn-19648118 virtual network link  through opserver 10.0.0.22
2025-10-27 06:32:00,028 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks
2025-10-27 06:32:00,040 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-35742868:ctest-vn-19648118', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-35742868:ctest-vn-19648118?flat'}
2025-10-27 06:32:00,040 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-35742868:ctest-vn-19648118 is found in opserver
2025-10-27 06:32:00,052 - DEBUG - Do not have enough data to verify VN in agent
2025-10-27 06:32:00,059 - DEBUG - VRF ids for VN ctest-vn-19648118: {}
2025-10-27 06:32:00,147 - DEBUG - Services list from nova: [