2025-10-30 09:12:35,405 - INFO - Domain Default found not creating
2025-10-30 09:12:35,529 - INFO - Project ctest-TestBasicPolicy-29120433 not found, creating it
2025-10-30 09:12:35,951 - INFO - Created Project:ctest-TestBasicPolicy-29120433, ID : 53306ba2-5b6a-47d0-a0e3-4dc99d75d197 
2025-10-30 09:12:37,310 - INFO - ================================================================================
2025-10-30 09:12:37,310 - INFO - STARTING TEST    : test_basic_policy_allow_deny
2025-10-30 09:12:37,310 - 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-30 09:12:37,564 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with
2025-10-30 09:12:37,564 - INFO - Initial checks done. Running the testcase now
2025-10-30 09:12:37,564 - INFO - 
2025-10-30 09:12:38,099 - DEBUG - Response for create_network : {'network': {'id': '6ac2a79c-c73a-4294-b9ab-6673b06d698e', 'name': 'ctest-vn-56719474', 'tenant_id': '53306ba25b6a47d0a0e34dc99d75d197', 'project_id': '53306ba25b6a47d0a0e34dc99d75d197', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29120433', 'ctest-vn-56719474'], 'port_security_enabled': True, 'description': ''}}
2025-10-30 09:12:38,280 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ff3375c4-5de2-4479-8ed0-23bd52cb3d9f', 'name': '', 'tenant_id': '53306ba25b6a47d0a0e34dc99d75d197', 'network_id': '6ac2a79c-c73a-4294-b9ab-6673b06d698e', 'ip_version': 4, 'cidr': '96.198.92.128/26', 'allocation_pools': [{'start': '96.198.92.130', 'end': '96.198.92.190'}], 'gateway_ip': '96.198.92.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '96.198.92.130', 'tags': [], 'project_id': '53306ba25b6a47d0a0e34dc99d75d197'}}
2025-10-30 09:12:38,294 - INFO - Created VN ctest-vn-56719474
2025-10-30 09:12:38,347 - DEBUG - VN ctest-vn-56719474 UUID is 6ac2a79c-c73a-4294-b9ab-6673b06d698e
2025-10-30 09:12:38,646 - DEBUG - Response for create_network : {'network': {'id': 'd584617a-55aa-4512-b44b-a1532f0dbe44', 'name': 'ctest-vn-81356867', 'tenant_id': '53306ba25b6a47d0a0e34dc99d75d197', 'project_id': '53306ba25b6a47d0a0e34dc99d75d197', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29120433', 'ctest-vn-81356867'], 'port_security_enabled': True, 'description': ''}}
2025-10-30 09:12:38,862 - DEBUG - Response for create_subnet : {'subnet': {'id': '0d81aeb9-1214-496c-8810-cec1a81b61a9', 'name': '', 'tenant_id': '53306ba25b6a47d0a0e34dc99d75d197', 'network_id': 'd584617a-55aa-4512-b44b-a1532f0dbe44', 'ip_version': 4, 'cidr': '184.236.235.192/26', 'allocation_pools': [{'start': '184.236.235.194', 'end': '184.236.235.254'}], 'gateway_ip': '184.236.235.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '184.236.235.194', 'tags': [], 'project_id': '53306ba25b6a47d0a0e34dc99d75d197'}}
2025-10-30 09:12:38,879 - INFO - Created VN ctest-vn-81356867
2025-10-30 09:12:38,931 - DEBUG - VN ctest-vn-81356867 UUID is d584617a-55aa-4512-b44b-a1532f0dbe44
2025-10-30 09:12:39,075 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-29120433:ctest-vn-56719474, 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-29120433:ctest-vn-81356867, 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-30 09:12:39,362 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6ac2a79c-c73a-4294-b9ab-6673b06d698e', 'name': 'ctest-vn-56719474', 'tenant_id': '53306ba25b6a47d0a0e34dc99d75d197', 'project_id': '53306ba25b6a47d0a0e34dc99d75d197', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ff3375c4-5de2-4479-8ed0-23bd52cb3d9f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29120433', 'ctest-vn-56719474'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-29120433', 'ctest-policy-allow-all-09426374']], 'subnet_ipam': [{'subnet_cidr': '96.198.92.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-10-30 09:12:39,577 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd584617a-55aa-4512-b44b-a1532f0dbe44', 'name': 'ctest-vn-81356867', 'tenant_id': '53306ba25b6a47d0a0e34dc99d75d197', 'project_id': '53306ba25b6a47d0a0e34dc99d75d197', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0d81aeb9-1214-496c-8810-cec1a81b61a9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29120433', 'ctest-vn-81356867'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-29120433', 'ctest-policy-allow-all-09426374']], 'subnet_ipam': [{'subnet_cidr': '184.236.235.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-10-30 09:12:39,727 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-10-30 09:12:40,014 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-10-30 09:12:40,042 - DEBUG - Requesting: http://10.0.0.38:8082/domain/3ad196e3-e9ed-448e-b324-761caacf56f0
2025-10-30 09:12:40,054 - DEBUG - Requesting: http://10.0.0.38:8082/project/53306ba2-5b6a-47d0-a0e3-4dc99d75d197
2025-10-30 09:12:40,122 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6ac2a79c-c73a-4294-b9ab-6673b06d698e
2025-10-30 09:12:40,131 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6ac2a79c-c73a-4294-b9ab-6673b06d698e
2025-10-30 09:12:40,139 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b48ea945-60ab-4974-812d-a441e2be0062
2025-10-30 09:12:40,145 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b48ea945-60ab-4974-812d-a441e2be0062
2025-10-30 09:12:40,151 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/6655414b-94a4-41c0-a17f-d602564ff88e
2025-10-30 09:12:40,157 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-30 09:12:40,157 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6ac2a79c-c73a-4294-b9ab-6673b06d698e
2025-10-30 09:12:40,164 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b48ea945-60ab-4974-812d-a441e2be0062
2025-10-30 09:12:40,176 - INFO - Verified VN network id 12 for VN 6ac2a79c-c73a-4294-b9ab-6673b06d698e
2025-10-30 09:12:40,176 - INFO - Verifications in API Server for VN ctest-vn-56719474 passed
2025-10-30 09:12:40,176 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6ac2a79c-c73a-4294-b9ab-6673b06d698e
2025-10-30 09:12:40,184 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b48ea945-60ab-4974-812d-a441e2be0062
2025-10-30 09:12:40,190 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b48ea945-60ab-4974-812d-a441e2be0062
2025-10-30 09:12:40,197 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/6655414b-94a4-41c0-a17f-d602564ff88e
2025-10-30 09:12:40,208 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-29120433:ctest-vn-56719474', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-29120433', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7692895405301449364', 'uuid-lslong': '13378899765101422990'}, 'enable': 'true', 'created': '2025-10-30T09:12:38', 'last-modified': '2025-10-30T09:12:39', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.870024'}
2025-10-30 09:12:40,213 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-30 09:12:40,213 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-56719474 passed
2025-10-30 09:12:40,213 - DEBUG - ====Verifying policy data for ctest-vn-56719474 in API_Server ======
2025-10-30 09:12:40,213 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-10-30 09:12:40,219 - DEBUG - Requesting: http://10.0.0.38:8082/domain/3ad196e3-e9ed-448e-b324-761caacf56f0
2025-10-30 09:12:40,228 - DEBUG - Requesting: http://10.0.0.38:8082/project/53306ba2-5b6a-47d0-a0e3-4dc99d75d197
2025-10-30 09:12:40,297 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6ac2a79c-c73a-4294-b9ab-6673b06d698e
2025-10-30 09:12:40,305 - DEBUG - ==>Verifying data for policy with id: 5fc02774-5571-4b36-8017-f17b62aa90d6, fqn: ['default-domain', 'ctest-TestBasicPolicy-29120433', 'ctest-policy-allow-all-09426374']
2025-10-30 09:12:40,305 - INFO - VN ctest-vn-56719474 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-30 09:12:40,305 - DEBUG - Verifying the vn in opserver
2025-10-30 09:12:40,305 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-29120433:ctest-vn-56719474 virtual network link  through opserver 10.0.0.38
2025-10-30 09:12:40,305 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2025-10-30 09:12:40,597 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2025-10-30 09:12:40,661 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-29120433:ctest-vn-56719474', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-29120433:ctest-vn-56719474?flat'}
2025-10-30 09:12:40,661 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-29120433:ctest-vn-56719474 is found in opserver
2025-10-30 09:12:40,671 - DEBUG - Do not have enough data to verify VN in agent
2025-10-30 09:12:40,675 - DEBUG - VRF ids for VN ctest-vn-56719474: {}
2025-10-30 09:12:40,675 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-10-30 09:12:40,680 - DEBUG - Requesting: http://10.0.0.38:8082/domain/3ad196e3-e9ed-448e-b324-761caacf56f0
2025-10-30 09:12:40,691 - DEBUG - Requesting: http://10.0.0.38:8082/project/53306ba2-5b6a-47d0-a0e3-4dc99d75d197
2025-10-30 09:12:40,760 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d584617a-55aa-4512-b44b-a1532f0dbe44
2025-10-30 09:12:40,769 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d584617a-55aa-4512-b44b-a1532f0dbe44
2025-10-30 09:12:40,777 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/140ade4a-689d-4d14-b16e-7ed9aedad183
2025-10-30 09:12:40,782 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/140ade4a-689d-4d14-b16e-7ed9aedad183
2025-10-30 09:12:40,787 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/a8acf8f7-923a-4383-9150-e5bb0f281749
2025-10-30 09:12:40,793 - DEBUG - Route Targets: ['target:64512:8000005']
2025-10-30 09:12:40,794 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d584617a-55aa-4512-b44b-a1532f0dbe44
2025-10-30 09:12:40,801 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/140ade4a-689d-4d14-b16e-7ed9aedad183
2025-10-30 09:12:40,811 - INFO - Verified VN network id 13 for VN d584617a-55aa-4512-b44b-a1532f0dbe44
2025-10-30 09:12:40,811 - INFO - Verifications in API Server for VN ctest-vn-81356867 passed
2025-10-30 09:12:40,811 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d584617a-55aa-4512-b44b-a1532f0dbe44
2025-10-30 09:12:40,819 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/140ade4a-689d-4d14-b16e-7ed9aedad183
2025-10-30 09:12:40,824 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/140ade4a-689d-4d14-b16e-7ed9aedad183
2025-10-30 09:12:40,829 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/a8acf8f7-923a-4383-9150-e5bb0f281749
2025-10-30 09:12:40,838 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-29120433:ctest-vn-81356867', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-29120433', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15385529405055583506', 'uuid-lslong': '12991654928724115012'}, 'enable': 'true', 'created': '2025-10-30T09:12:38', 'last-modified': '2025-10-30T09:12:39', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.281563'}
2025-10-30 09:12:40,843 - DEBUG - Route Targets: ['target:64512:8000005']
2025-10-30 09:12:40,843 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-81356867 passed
2025-10-30 09:12:40,843 - DEBUG - ====Verifying policy data for ctest-vn-81356867 in API_Server ======
2025-10-30 09:12:40,843 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-10-30 09:12:40,847 - DEBUG - Requesting: http://10.0.0.38:8082/domain/3ad196e3-e9ed-448e-b324-761caacf56f0
2025-10-30 09:12:40,855 - DEBUG - Requesting: http://10.0.0.38:8082/project/53306ba2-5b6a-47d0-a0e3-4dc99d75d197
2025-10-30 09:12:40,925 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d584617a-55aa-4512-b44b-a1532f0dbe44
2025-10-30 09:12:40,934 - DEBUG - ==>Verifying data for policy with id: 5fc02774-5571-4b36-8017-f17b62aa90d6, fqn: ['default-domain', 'ctest-TestBasicPolicy-29120433', 'ctest-policy-allow-all-09426374']
2025-10-30 09:12:40,934 - INFO - VN ctest-vn-81356867 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-30 09:12:40,934 - DEBUG - Verifying the vn in opserver
2025-10-30 09:12:40,934 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-29120433:ctest-vn-81356867 virtual network link  through opserver 10.0.0.38
2025-10-30 09:12:40,934 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2025-10-30 09:12:40,945 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-29120433:ctest-vn-81356867', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-29120433:ctest-vn-81356867?flat'}
2025-10-30 09:12:40,945 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-29120433:ctest-vn-81356867 is found in opserver
2025-10-30 09:12:40,955 - DEBUG - Do not have enough data to verify VN in agent
2025-10-30 09:12:40,959 - DEBUG - VRF ids for VN ctest-vn-81356867: {}
2025-10-30 09:12:41,011 - DEBUG - Services list from nova: [