2025-10-15 16:23:28,832 - INFO - Domain Default found not creating
2025-10-15 16:23:29,185 - INFO - Project ctest-TestBasicPolicy-09615431 not found, creating it
2025-10-15 16:23:29,925 - INFO - Created Project:ctest-TestBasicPolicy-09615431, ID : ae987e3c-a8f7-41d5-9918-f4739b5e94d8 
2025-10-15 16:23:32,016 - INFO - ================================================================================
2025-10-15 16:23:32,017 - INFO - STARTING TEST    : test_basic_policy_allow_deny
2025-10-15 16:23:32,017 - 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-15 16:23:32,346 - DEBUG - Nothing to compare xmpp stats {'10.0.0.61': {'10.20.0.253': '0'}} with
2025-10-15 16:23:32,346 - INFO - Initial checks done. Running the testcase now
2025-10-15 16:23:32,347 - INFO - 
2025-10-15 16:23:33,161 - DEBUG - Response for create_network : {'network': {'id': '1a38e06e-dcfe-47c5-ab1c-fe288106edaa', 'name': 'ctest-vn-81118758', 'tenant_id': 'ae987e3ca8f741d59918f4739b5e94d8', 'project_id': 'ae987e3ca8f741d59918f4739b5e94d8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09615431', 'ctest-vn-81118758'], 'port_security_enabled': True, 'description': ''}}
2025-10-15 16:23:33,328 - DEBUG - Response for create_subnet : {'subnet': {'id': '319f8b32-1e13-46ea-bf9f-ab9e8a4be7a0', 'name': '', 'tenant_id': 'ae987e3ca8f741d59918f4739b5e94d8', 'network_id': '1a38e06e-dcfe-47c5-ab1c-fe288106edaa', 'ip_version': 4, 'cidr': '207.179.231.64/26', 'allocation_pools': [{'start': '207.179.231.66', 'end': '207.179.231.126'}], 'gateway_ip': '207.179.231.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '207.179.231.66', 'tags': [], 'project_id': 'ae987e3ca8f741d59918f4739b5e94d8'}}
2025-10-15 16:23:33,356 - INFO - Created VN ctest-vn-81118758
2025-10-15 16:23:33,415 - DEBUG - VN ctest-vn-81118758 UUID is 1a38e06e-dcfe-47c5-ab1c-fe288106edaa
2025-10-15 16:23:33,915 - DEBUG - Response for create_network : {'network': {'id': '7b14d5ac-635e-4520-a2e8-81d1d5427f20', 'name': 'ctest-vn-94730616', 'tenant_id': 'ae987e3ca8f741d59918f4739b5e94d8', 'project_id': 'ae987e3ca8f741d59918f4739b5e94d8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09615431', 'ctest-vn-94730616'], 'port_security_enabled': True, 'description': ''}}
2025-10-15 16:23:34,089 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c1a6067e-a25b-49c6-b4fc-c7f92e790309', 'name': '', 'tenant_id': 'ae987e3ca8f741d59918f4739b5e94d8', 'network_id': '7b14d5ac-635e-4520-a2e8-81d1d5427f20', 'ip_version': 4, 'cidr': '120.57.186.128/26', 'allocation_pools': [{'start': '120.57.186.130', 'end': '120.57.186.190'}], 'gateway_ip': '120.57.186.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '120.57.186.130', 'tags': [], 'project_id': 'ae987e3ca8f741d59918f4739b5e94d8'}}
2025-10-15 16:23:34,108 - INFO - Created VN ctest-vn-94730616
2025-10-15 16:23:34,163 - DEBUG - VN ctest-vn-94730616 UUID is 7b14d5ac-635e-4520-a2e8-81d1d5427f20
2025-10-15 16:23:34,327 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-09615431:ctest-vn-81118758, 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-09615431:ctest-vn-94730616, 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-15 16:23:34,798 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1a38e06e-dcfe-47c5-ab1c-fe288106edaa', 'name': 'ctest-vn-81118758', 'tenant_id': 'ae987e3ca8f741d59918f4739b5e94d8', 'project_id': 'ae987e3ca8f741d59918f4739b5e94d8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['319f8b32-1e13-46ea-bf9f-ab9e8a4be7a0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09615431', 'ctest-vn-81118758'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-09615431', 'ctest-policy-allow-all-58300175']], 'subnet_ipam': [{'subnet_cidr': '207.179.231.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-10-15 16:23:35,113 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7b14d5ac-635e-4520-a2e8-81d1d5427f20', 'name': 'ctest-vn-94730616', 'tenant_id': 'ae987e3ca8f741d59918f4739b5e94d8', 'project_id': 'ae987e3ca8f741d59918f4739b5e94d8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c1a6067e-a25b-49c6-b4fc-c7f92e790309'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09615431', 'ctest-vn-94730616'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-09615431', 'ctest-policy-allow-all-58300175']], 'subnet_ipam': [{'subnet_cidr': '120.57.186.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-10-15 16:23:35,251 - DEBUG - Requesting: http://10.0.0.61:8082/domains
2025-10-15 16:23:35,619 - DEBUG - Requesting: http://10.0.0.61:8082/domains
2025-10-15 16:23:35,696 - DEBUG - Requesting: http://10.0.0.61:8082/domain/43557b04-3e0b-4b1f-8db2-5b1e069e6d0d
2025-10-15 16:23:35,732 - DEBUG - Requesting: http://10.0.0.61:8082/project/ae987e3c-a8f7-41d5-9918-f4739b5e94d8
2025-10-15 16:23:35,832 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-network/1a38e06e-dcfe-47c5-ab1c-fe288106edaa
2025-10-15 16:23:35,851 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-network/1a38e06e-dcfe-47c5-ab1c-fe288106edaa
2025-10-15 16:23:35,864 - DEBUG - Requesting: http://10.0.0.61:8082/routing-instance/247b2b84-83fc-4c9c-a1ab-f1ed29b06373
2025-10-15 16:23:35,871 - DEBUG - Requesting: http://10.0.0.61:8082/routing-instance/247b2b84-83fc-4c9c-a1ab-f1ed29b06373
2025-10-15 16:23:35,880 - DEBUG - Requesting: http://10.0.0.61:8082/route-target/1692eb32-5eae-4f70-81b5-2b2f383a7b62
2025-10-15 16:23:35,891 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-15 16:23:35,891 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-network/1a38e06e-dcfe-47c5-ab1c-fe288106edaa
2025-10-15 16:23:35,909 - DEBUG - Requesting: http://10.0.0.61:8082/routing-instance/247b2b84-83fc-4c9c-a1ab-f1ed29b06373
2025-10-15 16:23:35,936 - INFO - Verified VN network id 11 for VN 1a38e06e-dcfe-47c5-ab1c-fe288106edaa
2025-10-15 16:23:35,936 - INFO - Verifications in API Server for VN ctest-vn-81118758 passed
2025-10-15 16:23:35,936 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-network/1a38e06e-dcfe-47c5-ab1c-fe288106edaa
2025-10-15 16:23:35,948 - DEBUG - Requesting: http://10.0.0.61:8082/routing-instance/247b2b84-83fc-4c9c-a1ab-f1ed29b06373
2025-10-15 16:23:35,960 - DEBUG - Requesting: http://10.0.0.61:8082/routing-instance/247b2b84-83fc-4c9c-a1ab-f1ed29b06373
2025-10-15 16:23:35,971 - DEBUG - Requesting: http://10.0.0.61:8082/route-target/1692eb32-5eae-4f70-81b5-2b2f383a7b62
2025-10-15 16:23:35,994 - DEBUG - Control-node 10.0.0.61 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-09615431:ctest-vn-81118758', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-09615431', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1889506810440599493', 'uuid-lslong': '12330009329750437290'}, 'enable': 'true', 'created': '2025-10-15T16:23:33', 'last-modified': '2025-10-15T16:23:34', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.233112'}
2025-10-15 16:23:36,004 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-15 16:23:36,004 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-81118758 passed
2025-10-15 16:23:36,005 - DEBUG - ====Verifying policy data for ctest-vn-81118758 in API_Server ======
2025-10-15 16:23:36,005 - DEBUG - Requesting: http://10.0.0.61:8082/domains
2025-10-15 16:23:36,012 - DEBUG - Requesting: http://10.0.0.61:8082/domain/43557b04-3e0b-4b1f-8db2-5b1e069e6d0d
2025-10-15 16:23:36,028 - DEBUG - Requesting: http://10.0.0.61:8082/project/ae987e3c-a8f7-41d5-9918-f4739b5e94d8
2025-10-15 16:23:36,128 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-network/1a38e06e-dcfe-47c5-ab1c-fe288106edaa
2025-10-15 16:23:36,148 - DEBUG - ==>Verifying data for policy with id: c3cc1683-8807-4cad-87a6-6a4eb12715cc, fqn: ['default-domain', 'ctest-TestBasicPolicy-09615431', 'ctest-policy-allow-all-58300175']
2025-10-15 16:23:36,149 - INFO - VN ctest-vn-81118758 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-15 16:23:36,149 - DEBUG - Verifying the vn in opserver
2025-10-15 16:23:36,149 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-09615431:ctest-vn-81118758 virtual network link  through opserver 10.0.0.61
2025-10-15 16:23:36,150 - DEBUG - Requesting: http://10.0.0.61:8081/analytics/uves/virtual-networks
2025-10-15 16:23:36,493 - DEBUG - Requesting: http://10.0.0.61:8081/analytics/uves/virtual-networks
2025-10-15 16:23:36,606 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-09615431:ctest-vn-81118758', 'href': 'http://10.0.0.61:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-09615431:ctest-vn-81118758?flat'}
2025-10-15 16:23:36,607 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-09615431:ctest-vn-81118758 is found in opserver
2025-10-15 16:23:36,626 - DEBUG - Do not have enough data to verify VN in agent
2025-10-15 16:23:36,637 - DEBUG - VRF ids for VN ctest-vn-81118758: {}
2025-10-15 16:23:36,637 - DEBUG - Requesting: http://10.0.0.61:8082/domains
2025-10-15 16:23:36,649 - DEBUG - Requesting: http://10.0.0.61:8082/domain/43557b04-3e0b-4b1f-8db2-5b1e069e6d0d
2025-10-15 16:23:36,679 - DEBUG - Requesting: http://10.0.0.61:8082/project/ae987e3c-a8f7-41d5-9918-f4739b5e94d8
2025-10-15 16:23:36,779 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-network/7b14d5ac-635e-4520-a2e8-81d1d5427f20
2025-10-15 16:23:36,800 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-network/7b14d5ac-635e-4520-a2e8-81d1d5427f20
2025-10-15 16:23:36,820 - DEBUG - Requesting: http://10.0.0.61:8082/routing-instance/d5aa2ba5-9f99-40c1-b158-6197c154dc9c
2025-10-15 16:23:36,834 - DEBUG - Requesting: http://10.0.0.61:8082/routing-instance/d5aa2ba5-9f99-40c1-b158-6197c154dc9c
2025-10-15 16:23:36,852 - DEBUG - Requesting: http://10.0.0.61:8082/route-target/432c3e1b-e2d2-44d1-b444-677730cf5350
2025-10-15 16:23:36,866 - DEBUG - Route Targets: ['target:64512:8000005']
2025-10-15 16:23:36,866 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-network/7b14d5ac-635e-4520-a2e8-81d1d5427f20
2025-10-15 16:23:36,909 - DEBUG - Requesting: http://10.0.0.61:8082/routing-instance/d5aa2ba5-9f99-40c1-b158-6197c154dc9c
2025-10-15 16:23:36,943 - INFO - Verified VN network id 12 for VN 7b14d5ac-635e-4520-a2e8-81d1d5427f20
2025-10-15 16:23:36,943 - INFO - Verifications in API Server for VN ctest-vn-94730616 passed
2025-10-15 16:23:36,943 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-network/7b14d5ac-635e-4520-a2e8-81d1d5427f20
2025-10-15 16:23:36,961 - DEBUG - Requesting: http://10.0.0.61:8082/routing-instance/d5aa2ba5-9f99-40c1-b158-6197c154dc9c
2025-10-15 16:23:37,002 - DEBUG - Requesting: http://10.0.0.61:8082/routing-instance/d5aa2ba5-9f99-40c1-b158-6197c154dc9c
2025-10-15 16:23:37,014 - DEBUG - Requesting: http://10.0.0.61:8082/route-target/432c3e1b-e2d2-44d1-b444-677730cf5350
2025-10-15 16:23:37,032 - DEBUG - Control-node 10.0.0.61 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-09615431:ctest-vn-94730616', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-09615431', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8868948502577562912', 'uuid-lslong': '11738775166967250720'}, 'enable': 'true', 'created': '2025-10-15T16:23:33', 'last-modified': '2025-10-15T16:23:35', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.940362'}
2025-10-15 16:23:37,041 - DEBUG - Route Targets: ['target:64512:8000005']
2025-10-15 16:23:37,041 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-94730616 passed
2025-10-15 16:23:37,044 - DEBUG - ====Verifying policy data for ctest-vn-94730616 in API_Server ======
2025-10-15 16:23:37,044 - DEBUG - Requesting: http://10.0.0.61:8082/domains
2025-10-15 16:23:37,055 - DEBUG - Requesting: http://10.0.0.61:8082/domain/43557b04-3e0b-4b1f-8db2-5b1e069e6d0d
2025-10-15 16:23:37,076 - DEBUG - Requesting: http://10.0.0.61:8082/project/ae987e3c-a8f7-41d5-9918-f4739b5e94d8
2025-10-15 16:23:37,194 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-network/7b14d5ac-635e-4520-a2e8-81d1d5427f20
2025-10-15 16:23:37,206 - DEBUG - ==>Verifying data for policy with id: c3cc1683-8807-4cad-87a6-6a4eb12715cc, fqn: ['default-domain', 'ctest-TestBasicPolicy-09615431', 'ctest-policy-allow-all-58300175']
2025-10-15 16:23:37,206 - INFO - VN ctest-vn-94730616 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-15 16:23:37,206 - DEBUG - Verifying the vn in opserver
2025-10-15 16:23:37,206 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-09615431:ctest-vn-94730616 virtual network link  through opserver 10.0.0.61
2025-10-15 16:23:37,206 - DEBUG - Requesting: http://10.0.0.61:8081/analytics/uves/virtual-networks
2025-10-15 16:23:37,222 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-09615431:ctest-vn-94730616', 'href': 'http://10.0.0.61:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-09615431:ctest-vn-94730616?flat'}
2025-10-15 16:23:37,222 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-09615431:ctest-vn-94730616 is found in opserver
2025-10-15 16:23:37,237 - DEBUG - Do not have enough data to verify VN in agent
2025-10-15 16:23:37,244 - DEBUG - VRF ids for VN ctest-vn-94730616: {}
2025-10-15 16:23:37,327 - DEBUG - Services list from nova: [