2025-10-13 16:48:08,976 - INFO - Domain Default found not creating
2025-10-13 16:48:09,129 - INFO - Project ctest-TestBasicPolicy-86338679 not found, creating it
2025-10-13 16:48:09,580 - INFO - Created Project:ctest-TestBasicPolicy-86338679, ID : 8a1d6bb3-97fc-42f5-bab4-d76f378ab6ec 
2025-10-13 16:48:10,983 - INFO - ================================================================================
2025-10-13 16:48:10,983 - INFO - STARTING TEST    : test_basic_policy_allow_deny
2025-10-13 16:48:10,983 - 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 16:48:11,240 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.210': '0'}} with
2025-10-13 16:48:11,240 - INFO - Initial checks done. Running the testcase now
2025-10-13 16:48:11,240 - INFO - 
2025-10-13 16:48:11,772 - DEBUG - Response for create_network : {'network': {'id': '4310f027-2d98-4aaa-87f7-c6a850fa397f', 'name': 'ctest-vn-76880390', 'tenant_id': '8a1d6bb397fc42f5bab4d76f378ab6ec', 'project_id': '8a1d6bb397fc42f5bab4d76f378ab6ec', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86338679', 'ctest-vn-76880390'], 'port_security_enabled': True, 'description': ''}}
2025-10-13 16:48:11,960 - DEBUG - Response for create_subnet : {'subnet': {'id': '78848e6b-43bb-4fc7-86e1-12e1d114b9c3', 'name': '', 'tenant_id': '8a1d6bb397fc42f5bab4d76f378ab6ec', 'network_id': '4310f027-2d98-4aaa-87f7-c6a850fa397f', 'ip_version': 4, 'cidr': '25.128.205.192/26', 'allocation_pools': [{'start': '25.128.205.194', 'end': '25.128.205.254'}], 'gateway_ip': '25.128.205.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '25.128.205.194', 'tags': [], 'project_id': '8a1d6bb397fc42f5bab4d76f378ab6ec'}}
2025-10-13 16:48:11,976 - INFO - Created VN ctest-vn-76880390
2025-10-13 16:48:12,026 - DEBUG - VN ctest-vn-76880390 UUID is 4310f027-2d98-4aaa-87f7-c6a850fa397f
2025-10-13 16:48:12,364 - DEBUG - Response for create_network : {'network': {'id': '0ff14f67-a905-436f-a082-776cb88db61d', 'name': 'ctest-vn-92929255', 'tenant_id': '8a1d6bb397fc42f5bab4d76f378ab6ec', 'project_id': '8a1d6bb397fc42f5bab4d76f378ab6ec', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86338679', 'ctest-vn-92929255'], 'port_security_enabled': True, 'description': ''}}
2025-10-13 16:48:12,552 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e105459c-9d88-48cd-85f9-fb3171094cc5', 'name': '', 'tenant_id': '8a1d6bb397fc42f5bab4d76f378ab6ec', 'network_id': '0ff14f67-a905-436f-a082-776cb88db61d', 'ip_version': 4, 'cidr': '101.145.214.192/26', 'allocation_pools': [{'start': '101.145.214.194', 'end': '101.145.214.254'}], 'gateway_ip': '101.145.214.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '101.145.214.194', 'tags': [], 'project_id': '8a1d6bb397fc42f5bab4d76f378ab6ec'}}
2025-10-13 16:48:12,570 - INFO - Created VN ctest-vn-92929255
2025-10-13 16:48:12,622 - DEBUG - VN ctest-vn-92929255 UUID is 0ff14f67-a905-436f-a082-776cb88db61d
2025-10-13 16:48:12,770 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-86338679:ctest-vn-76880390, 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-86338679:ctest-vn-92929255, 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 16:48:13,060 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4310f027-2d98-4aaa-87f7-c6a850fa397f', 'name': 'ctest-vn-76880390', 'tenant_id': '8a1d6bb397fc42f5bab4d76f378ab6ec', 'project_id': '8a1d6bb397fc42f5bab4d76f378ab6ec', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['78848e6b-43bb-4fc7-86e1-12e1d114b9c3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86338679', 'ctest-vn-76880390'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-86338679', 'ctest-policy-allow-all-66992335']], 'subnet_ipam': [{'subnet_cidr': '25.128.205.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-10-13 16:48:13,285 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0ff14f67-a905-436f-a082-776cb88db61d', 'name': 'ctest-vn-92929255', 'tenant_id': '8a1d6bb397fc42f5bab4d76f378ab6ec', 'project_id': '8a1d6bb397fc42f5bab4d76f378ab6ec', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e105459c-9d88-48cd-85f9-fb3171094cc5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86338679', 'ctest-vn-92929255'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-86338679', 'ctest-policy-allow-all-66992335']], 'subnet_ipam': [{'subnet_cidr': '101.145.214.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-10-13 16:48:13,458 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2025-10-13 16:48:13,750 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2025-10-13 16:48:13,778 - DEBUG - Requesting: http://10.0.0.33:8082/domain/2eae9391-2170-4f7a-9596-b0a6120e63e2
2025-10-13 16:48:13,788 - DEBUG - Requesting: http://10.0.0.33:8082/project/8a1d6bb3-97fc-42f5-bab4-d76f378ab6ec
2025-10-13 16:48:13,856 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/4310f027-2d98-4aaa-87f7-c6a850fa397f
2025-10-13 16:48:13,865 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/4310f027-2d98-4aaa-87f7-c6a850fa397f
2025-10-13 16:48:13,874 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/9929486d-6e6b-4d05-bd7a-a151c4737220
2025-10-13 16:48:13,880 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/9929486d-6e6b-4d05-bd7a-a151c4737220
2025-10-13 16:48:13,887 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/c229a4ec-f604-4713-8c01-aef328f4f6df
2025-10-13 16:48:13,892 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-13 16:48:13,892 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/4310f027-2d98-4aaa-87f7-c6a850fa397f
2025-10-13 16:48:13,900 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/9929486d-6e6b-4d05-bd7a-a151c4737220
2025-10-13 16:48:13,913 - INFO - Verified VN network id 11 for VN 4310f027-2d98-4aaa-87f7-c6a850fa397f
2025-10-13 16:48:13,913 - INFO - Verifications in API Server for VN ctest-vn-76880390 passed
2025-10-13 16:48:13,913 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/4310f027-2d98-4aaa-87f7-c6a850fa397f
2025-10-13 16:48:13,922 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/9929486d-6e6b-4d05-bd7a-a151c4737220
2025-10-13 16:48:13,928 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/9929486d-6e6b-4d05-bd7a-a151c4737220
2025-10-13 16:48:13,934 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/c229a4ec-f604-4713-8c01-aef328f4f6df
2025-10-13 16:48:13,945 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-86338679:ctest-vn-76880390', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-86338679', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4832626451227888298', 'uuid-lslong': '9797517940583184767'}, 'enable': 'true', 'created': '2025-10-13T16:48:11', 'last-modified': '2025-10-13T16:48:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.891893'}
2025-10-13 16:48:13,950 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-13 16:48:13,950 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-76880390 passed
2025-10-13 16:48:13,951 - DEBUG - ====Verifying policy data for ctest-vn-76880390 in API_Server ======
2025-10-13 16:48:13,951 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2025-10-13 16:48:13,957 - DEBUG - Requesting: http://10.0.0.33:8082/domain/2eae9391-2170-4f7a-9596-b0a6120e63e2
2025-10-13 16:48:13,967 - DEBUG - Requesting: http://10.0.0.33:8082/project/8a1d6bb3-97fc-42f5-bab4-d76f378ab6ec
2025-10-13 16:48:14,035 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/4310f027-2d98-4aaa-87f7-c6a850fa397f
2025-10-13 16:48:14,044 - DEBUG - ==>Verifying data for policy with id: d053f206-16b7-4009-a9e8-b2650d82e648, fqn: ['default-domain', 'ctest-TestBasicPolicy-86338679', 'ctest-policy-allow-all-66992335']
2025-10-13 16:48:14,045 - INFO - VN ctest-vn-76880390 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-13 16:48:14,045 - DEBUG - Verifying the vn in opserver
2025-10-13 16:48:14,045 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-86338679:ctest-vn-76880390 virtual network link  through opserver 10.0.0.33
2025-10-13 16:48:14,045 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2025-10-13 16:48:14,338 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2025-10-13 16:48:14,394 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-86338679:ctest-vn-76880390', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-86338679:ctest-vn-76880390?flat'}
2025-10-13 16:48:14,394 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-86338679:ctest-vn-76880390 is found in opserver
2025-10-13 16:48:14,403 - DEBUG - Do not have enough data to verify VN in agent
2025-10-13 16:48:14,407 - DEBUG - VRF ids for VN ctest-vn-76880390: {}
2025-10-13 16:48:14,407 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2025-10-13 16:48:14,412 - DEBUG - Requesting: http://10.0.0.33:8082/domain/2eae9391-2170-4f7a-9596-b0a6120e63e2
2025-10-13 16:48:14,424 - DEBUG - Requesting: http://10.0.0.33:8082/project/8a1d6bb3-97fc-42f5-bab4-d76f378ab6ec
2025-10-13 16:48:14,495 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/0ff14f67-a905-436f-a082-776cb88db61d
2025-10-13 16:48:14,507 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/0ff14f67-a905-436f-a082-776cb88db61d
2025-10-13 16:48:14,518 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/93f80615-1fb2-44b5-8ecb-89f5259d44af
2025-10-13 16:48:14,525 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/93f80615-1fb2-44b5-8ecb-89f5259d44af
2025-10-13 16:48:14,531 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/c77c7442-a00f-4281-90d1-a1f071900b1c
2025-10-13 16:48:14,537 - DEBUG - Route Targets: ['target:64512:8000005']
2025-10-13 16:48:14,537 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/0ff14f67-a905-436f-a082-776cb88db61d
2025-10-13 16:48:14,545 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/93f80615-1fb2-44b5-8ecb-89f5259d44af
2025-10-13 16:48:14,561 - INFO - Verified VN network id 12 for VN 0ff14f67-a905-436f-a082-776cb88db61d
2025-10-13 16:48:14,561 - INFO - Verifications in API Server for VN ctest-vn-92929255 passed
2025-10-13 16:48:14,562 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/0ff14f67-a905-436f-a082-776cb88db61d
2025-10-13 16:48:14,570 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/93f80615-1fb2-44b5-8ecb-89f5259d44af
2025-10-13 16:48:14,577 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/93f80615-1fb2-44b5-8ecb-89f5259d44af
2025-10-13 16:48:14,585 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/c77c7442-a00f-4281-90d1-a1f071900b1c
2025-10-13 16:48:14,597 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-86338679:ctest-vn-92929255', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-86338679', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1148786686592107375', 'uuid-lslong': '11565938101877323293'}, 'enable': 'true', 'created': '2025-10-13T16:48:12', 'last-modified': '2025-10-13T16:48:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.337520'}
2025-10-13 16:48:14,602 - DEBUG - Route Targets: ['target:64512:8000005']
2025-10-13 16:48:14,602 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-92929255 passed
2025-10-13 16:48:14,602 - DEBUG - ====Verifying policy data for ctest-vn-92929255 in API_Server ======
2025-10-13 16:48:14,602 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2025-10-13 16:48:14,608 - DEBUG - Requesting: http://10.0.0.33:8082/domain/2eae9391-2170-4f7a-9596-b0a6120e63e2
2025-10-13 16:48:14,617 - DEBUG - Requesting: http://10.0.0.33:8082/project/8a1d6bb3-97fc-42f5-bab4-d76f378ab6ec
2025-10-13 16:48:14,697 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/0ff14f67-a905-436f-a082-776cb88db61d
2025-10-13 16:48:14,705 - DEBUG - ==>Verifying data for policy with id: d053f206-16b7-4009-a9e8-b2650d82e648, fqn: ['default-domain', 'ctest-TestBasicPolicy-86338679', 'ctest-policy-allow-all-66992335']
2025-10-13 16:48:14,705 - INFO - VN ctest-vn-92929255 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-13 16:48:14,705 - DEBUG - Verifying the vn in opserver
2025-10-13 16:48:14,705 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-86338679:ctest-vn-92929255 virtual network link  through opserver 10.0.0.33
2025-10-13 16:48:14,705 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2025-10-13 16:48:14,714 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-86338679:ctest-vn-92929255', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-86338679:ctest-vn-92929255?flat'}
2025-10-13 16:48:14,714 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-86338679:ctest-vn-92929255 is found in opserver
2025-10-13 16:48:14,723 - DEBUG - Do not have enough data to verify VN in agent
2025-10-13 16:48:14,727 - DEBUG - VRF ids for VN ctest-vn-92929255: {}
2025-10-13 16:48:14,779 - DEBUG - Services list from nova: [