2025-10-30 14:41:59,559 - INFO - Domain Default found not creating
2025-10-30 14:41:59,703 - INFO - Project ctest-TestBasicPolicy-96246785 not found, creating it
2025-10-30 14:42:00,129 - INFO - Created Project:ctest-TestBasicPolicy-96246785, ID : e8e19e7c-f093-4ddd-9296-456b78cbe455 
2025-10-30 14:42:02,227 - INFO - ================================================================================
2025-10-30 14:42:02,228 - INFO - STARTING TEST    : test_basic_policy_allow_deny
2025-10-30 14:42:02,228 - 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 14:42:02,484 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with
2025-10-30 14:42:02,485 - INFO - Initial checks done. Running the testcase now
2025-10-30 14:42:02,485 - INFO - 
2025-10-30 14:42:03,017 - DEBUG - Response for create_network : {'network': {'id': '3a8a6018-cb5b-4b50-8106-f39e395b087c', 'name': 'ctest-vn-21768180', 'tenant_id': 'e8e19e7cf0934ddd9296456b78cbe455', 'project_id': 'e8e19e7cf0934ddd9296456b78cbe455', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96246785', 'ctest-vn-21768180'], 'port_security_enabled': True, 'description': ''}}
2025-10-30 14:42:03,217 - DEBUG - Response for create_subnet : {'subnet': {'id': '48be8f60-8cf7-4225-9560-5efb33ee6e7d', 'name': '', 'tenant_id': 'e8e19e7cf0934ddd9296456b78cbe455', 'network_id': '3a8a6018-cb5b-4b50-8106-f39e395b087c', 'ip_version': 4, 'cidr': '120.174.112.128/26', 'allocation_pools': [{'start': '120.174.112.130', 'end': '120.174.112.190'}], 'gateway_ip': '120.174.112.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '120.174.112.130', 'tags': [], 'project_id': 'e8e19e7cf0934ddd9296456b78cbe455'}}
2025-10-30 14:42:03,238 - INFO - Created VN ctest-vn-21768180
2025-10-30 14:42:03,292 - DEBUG - VN ctest-vn-21768180 UUID is 3a8a6018-cb5b-4b50-8106-f39e395b087c
2025-10-30 14:42:03,596 - DEBUG - Response for create_network : {'network': {'id': '4b175873-7acb-4a04-b0ee-929ce2a448bc', 'name': 'ctest-vn-38348629', 'tenant_id': 'e8e19e7cf0934ddd9296456b78cbe455', 'project_id': 'e8e19e7cf0934ddd9296456b78cbe455', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96246785', 'ctest-vn-38348629'], 'port_security_enabled': True, 'description': ''}}
2025-10-30 14:42:03,799 - DEBUG - Response for create_subnet : {'subnet': {'id': '1f4dd088-e561-494b-b60b-205b5d74b4e4', 'name': '', 'tenant_id': 'e8e19e7cf0934ddd9296456b78cbe455', 'network_id': '4b175873-7acb-4a04-b0ee-929ce2a448bc', 'ip_version': 4, 'cidr': '203.157.70.192/26', 'allocation_pools': [{'start': '203.157.70.194', 'end': '203.157.70.254'}], 'gateway_ip': '203.157.70.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '203.157.70.194', 'tags': [], 'project_id': 'e8e19e7cf0934ddd9296456b78cbe455'}}
2025-10-30 14:42:03,817 - INFO - Created VN ctest-vn-38348629
2025-10-30 14:42:03,868 - DEBUG - VN ctest-vn-38348629 UUID is 4b175873-7acb-4a04-b0ee-929ce2a448bc
2025-10-30 14:42:04,020 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-96246785:ctest-vn-21768180, 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-96246785:ctest-vn-38348629, 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 14:42:04,326 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3a8a6018-cb5b-4b50-8106-f39e395b087c', 'name': 'ctest-vn-21768180', 'tenant_id': 'e8e19e7cf0934ddd9296456b78cbe455', 'project_id': 'e8e19e7cf0934ddd9296456b78cbe455', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['48be8f60-8cf7-4225-9560-5efb33ee6e7d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96246785', 'ctest-vn-21768180'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-96246785', 'ctest-policy-allow-all-04217534']], 'subnet_ipam': [{'subnet_cidr': '120.174.112.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-10-30 14:42:04,551 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4b175873-7acb-4a04-b0ee-929ce2a448bc', 'name': 'ctest-vn-38348629', 'tenant_id': 'e8e19e7cf0934ddd9296456b78cbe455', 'project_id': 'e8e19e7cf0934ddd9296456b78cbe455', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1f4dd088-e561-494b-b60b-205b5d74b4e4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96246785', 'ctest-vn-38348629'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-96246785', 'ctest-policy-allow-all-04217534']], 'subnet_ipam': [{'subnet_cidr': '203.157.70.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-10-30 14:42:04,720 - DEBUG - Requesting: http://10.0.0.254:8082/domains
2025-10-30 14:42:05,017 - DEBUG - Requesting: http://10.0.0.254:8082/domains
2025-10-30 14:42:05,103 - DEBUG - Requesting: http://10.0.0.254:8082/domain/3a998d4b-fa35-4901-9cfb-5f88130a0355
2025-10-30 14:42:05,124 - DEBUG - Requesting: http://10.0.0.254:8082/project/e8e19e7c-f093-4ddd-9296-456b78cbe455
2025-10-30 14:42:05,214 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/3a8a6018-cb5b-4b50-8106-f39e395b087c
2025-10-30 14:42:05,226 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/3a8a6018-cb5b-4b50-8106-f39e395b087c
2025-10-30 14:42:05,236 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ddc58853-e2fd-41a5-9bb5-4c87426a5ec5
2025-10-30 14:42:05,246 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ddc58853-e2fd-41a5-9bb5-4c87426a5ec5
2025-10-30 14:42:05,253 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/fd8d986a-affb-4206-9123-ca2cd86f5b1f
2025-10-30 14:42:05,260 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-30 14:42:05,260 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/3a8a6018-cb5b-4b50-8106-f39e395b087c
2025-10-30 14:42:05,270 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ddc58853-e2fd-41a5-9bb5-4c87426a5ec5
2025-10-30 14:42:05,285 - INFO - Verified VN network id 11 for VN 3a8a6018-cb5b-4b50-8106-f39e395b087c
2025-10-30 14:42:05,285 - INFO - Verifications in API Server for VN ctest-vn-21768180 passed
2025-10-30 14:42:05,286 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/3a8a6018-cb5b-4b50-8106-f39e395b087c
2025-10-30 14:42:05,296 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ddc58853-e2fd-41a5-9bb5-4c87426a5ec5
2025-10-30 14:42:05,304 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ddc58853-e2fd-41a5-9bb5-4c87426a5ec5
2025-10-30 14:42:05,312 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/fd8d986a-affb-4206-9123-ca2cd86f5b1f
2025-10-30 14:42:05,323 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-96246785:ctest-vn-21768180', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-96246785', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4218289660593130320', 'uuid-lslong': '9297386341645617276'}, 'enable': 'true', 'created': '2025-10-30T14:42:02', 'last-modified': '2025-10-30T14:42:04', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.029905'}
2025-10-30 14:42:05,329 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-30 14:42:05,329 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-21768180 passed
2025-10-30 14:42:05,329 - DEBUG - ====Verifying policy data for ctest-vn-21768180 in API_Server ======
2025-10-30 14:42:05,329 - DEBUG - Requesting: http://10.0.0.254:8082/domains
2025-10-30 14:42:05,336 - DEBUG - Requesting: http://10.0.0.254:8082/domain/3a998d4b-fa35-4901-9cfb-5f88130a0355
2025-10-30 14:42:05,348 - DEBUG - Requesting: http://10.0.0.254:8082/project/e8e19e7c-f093-4ddd-9296-456b78cbe455
2025-10-30 14:42:05,417 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/3a8a6018-cb5b-4b50-8106-f39e395b087c
2025-10-30 14:42:05,425 - DEBUG - ==>Verifying data for policy with id: d7d07b29-c20c-4d04-9ffa-9c605e4235cb, fqn: ['default-domain', 'ctest-TestBasicPolicy-96246785', 'ctest-policy-allow-all-04217534']
2025-10-30 14:42:05,425 - INFO - VN ctest-vn-21768180 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-30 14:42:05,425 - DEBUG - Verifying the vn in opserver
2025-10-30 14:42:05,425 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-96246785:ctest-vn-21768180 virtual network link  through opserver 10.0.0.254
2025-10-30 14:42:05,425 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks
2025-10-30 14:42:05,714 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks
2025-10-30 14:42:05,767 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-96246785:ctest-vn-21768180', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-96246785:ctest-vn-21768180?flat'}
2025-10-30 14:42:05,767 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-96246785:ctest-vn-21768180 is found in opserver
2025-10-30 14:42:05,776 - DEBUG - Do not have enough data to verify VN in agent
2025-10-30 14:42:05,780 - DEBUG - VRF ids for VN ctest-vn-21768180: {}
2025-10-30 14:42:05,780 - DEBUG - Requesting: http://10.0.0.254:8082/domains
2025-10-30 14:42:05,785 - DEBUG - Requesting: http://10.0.0.254:8082/domain/3a998d4b-fa35-4901-9cfb-5f88130a0355
2025-10-30 14:42:05,795 - DEBUG - Requesting: http://10.0.0.254:8082/project/e8e19e7c-f093-4ddd-9296-456b78cbe455
2025-10-30 14:42:05,862 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/4b175873-7acb-4a04-b0ee-929ce2a448bc
2025-10-30 14:42:05,873 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/4b175873-7acb-4a04-b0ee-929ce2a448bc
2025-10-30 14:42:05,881 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/5bd9b43d-2775-45b3-84de-92c80c23fb82
2025-10-30 14:42:05,887 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/5bd9b43d-2775-45b3-84de-92c80c23fb82
2025-10-30 14:42:05,893 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/91387261-f002-4201-a07d-5e9040140d40
2025-10-30 14:42:05,898 - DEBUG - Route Targets: ['target:64512:8000005']
2025-10-30 14:42:05,898 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/4b175873-7acb-4a04-b0ee-929ce2a448bc
2025-10-30 14:42:05,906 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/5bd9b43d-2775-45b3-84de-92c80c23fb82
2025-10-30 14:42:05,918 - INFO - Verified VN network id 12 for VN 4b175873-7acb-4a04-b0ee-929ce2a448bc
2025-10-30 14:42:05,918 - INFO - Verifications in API Server for VN ctest-vn-38348629 passed
2025-10-30 14:42:05,919 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/4b175873-7acb-4a04-b0ee-929ce2a448bc
2025-10-30 14:42:05,926 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/5bd9b43d-2775-45b3-84de-92c80c23fb82
2025-10-30 14:42:05,932 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/5bd9b43d-2775-45b3-84de-92c80c23fb82
2025-10-30 14:42:05,939 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/91387261-f002-4201-a07d-5e9040140d40
2025-10-30 14:42:05,950 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-96246785:ctest-vn-38348629', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-96246785', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5410890730313566724', 'uuid-lslong': '12749288797647423676'}, 'enable': 'true', 'created': '2025-10-30T14:42:03', 'last-modified': '2025-10-30T14:42:04', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.417169'}
2025-10-30 14:42:05,955 - DEBUG - Route Targets: ['target:64512:8000005']
2025-10-30 14:42:05,955 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-38348629 passed
2025-10-30 14:42:05,955 - DEBUG - ====Verifying policy data for ctest-vn-38348629 in API_Server ======
2025-10-30 14:42:05,955 - DEBUG - Requesting: http://10.0.0.254:8082/domains
2025-10-30 14:42:05,960 - DEBUG - Requesting: http://10.0.0.254:8082/domain/3a998d4b-fa35-4901-9cfb-5f88130a0355
2025-10-30 14:42:05,969 - DEBUG - Requesting: http://10.0.0.254:8082/project/e8e19e7c-f093-4ddd-9296-456b78cbe455
2025-10-30 14:42:06,036 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/4b175873-7acb-4a04-b0ee-929ce2a448bc
2025-10-30 14:42:06,044 - DEBUG - ==>Verifying data for policy with id: d7d07b29-c20c-4d04-9ffa-9c605e4235cb, fqn: ['default-domain', 'ctest-TestBasicPolicy-96246785', 'ctest-policy-allow-all-04217534']
2025-10-30 14:42:06,045 - INFO - VN ctest-vn-38348629 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-30 14:42:06,045 - DEBUG - Verifying the vn in opserver
2025-10-30 14:42:06,045 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-96246785:ctest-vn-38348629 virtual network link  through opserver 10.0.0.254
2025-10-30 14:42:06,045 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks
2025-10-30 14:42:06,054 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-96246785:ctest-vn-38348629', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-96246785:ctest-vn-38348629?flat'}
2025-10-30 14:42:06,054 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-96246785:ctest-vn-38348629 is found in opserver
2025-10-30 14:42:06,063 - DEBUG - Do not have enough data to verify VN in agent
2025-10-30 14:42:06,068 - DEBUG - VRF ids for VN ctest-vn-38348629: {}
2025-10-30 14:42:06,123 - DEBUG - Services list from nova: [