2025-10-31 00:24:43,575 - INFO - Domain Default found not creating
2025-10-31 00:24:43,703 - INFO - Project ctest-TestBasicPolicy-84011660 not found, creating it
2025-10-31 00:24:44,131 - INFO - Created Project:ctest-TestBasicPolicy-84011660, ID : 671f1e8a-9f3c-459f-ad56-93cb03d88d62 
2025-10-31 00:24:45,512 - INFO - ================================================================================
2025-10-31 00:24:45,512 - INFO - STARTING TEST    : test_basic_policy_allow_deny
2025-10-31 00:24:45,512 - 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-31 00:24:45,764 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with
2025-10-31 00:24:45,764 - INFO - Initial checks done. Running the testcase now
2025-10-31 00:24:45,764 - INFO - 
2025-10-31 00:24:46,286 - DEBUG - Response for create_network : {'network': {'id': '861254a9-fc7c-45bd-ae47-83b2e9b9538b', 'name': 'ctest-vn-48018671', 'tenant_id': '671f1e8a9f3c459fad5693cb03d88d62', 'project_id': '671f1e8a9f3c459fad5693cb03d88d62', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-84011660', 'ctest-vn-48018671'], 'port_security_enabled': True, 'description': ''}}
2025-10-31 00:24:46,471 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd3ce707f-dac1-43d6-ab74-8c7fe82edf5b', 'name': '', 'tenant_id': '671f1e8a9f3c459fad5693cb03d88d62', 'network_id': '861254a9-fc7c-45bd-ae47-83b2e9b9538b', 'ip_version': 4, 'cidr': '32.236.242.192/26', 'allocation_pools': [{'start': '32.236.242.194', 'end': '32.236.242.254'}], 'gateway_ip': '32.236.242.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '32.236.242.194', 'tags': [], 'project_id': '671f1e8a9f3c459fad5693cb03d88d62'}}
2025-10-31 00:24:46,486 - INFO - Created VN ctest-vn-48018671
2025-10-31 00:24:46,539 - DEBUG - VN ctest-vn-48018671 UUID is 861254a9-fc7c-45bd-ae47-83b2e9b9538b
2025-10-31 00:24:46,851 - DEBUG - Response for create_network : {'network': {'id': '96940712-e5a5-444e-854f-d728f8627e59', 'name': 'ctest-vn-82457346', 'tenant_id': '671f1e8a9f3c459fad5693cb03d88d62', 'project_id': '671f1e8a9f3c459fad5693cb03d88d62', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-84011660', 'ctest-vn-82457346'], 'port_security_enabled': True, 'description': ''}}
2025-10-31 00:24:47,042 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a09b7092-2fb8-4c2d-9f01-474dcae18e12', 'name': '', 'tenant_id': '671f1e8a9f3c459fad5693cb03d88d62', 'network_id': '96940712-e5a5-444e-854f-d728f8627e59', 'ip_version': 4, 'cidr': '149.41.8.192/26', 'allocation_pools': [{'start': '149.41.8.194', 'end': '149.41.8.254'}], 'gateway_ip': '149.41.8.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '149.41.8.194', 'tags': [], 'project_id': '671f1e8a9f3c459fad5693cb03d88d62'}}
2025-10-31 00:24:47,057 - INFO - Created VN ctest-vn-82457346
2025-10-31 00:24:47,107 - DEBUG - VN ctest-vn-82457346 UUID is 96940712-e5a5-444e-854f-d728f8627e59
2025-10-31 00:24:47,247 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-84011660:ctest-vn-48018671, 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-84011660:ctest-vn-82457346, 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-31 00:24:47,529 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '861254a9-fc7c-45bd-ae47-83b2e9b9538b', 'name': 'ctest-vn-48018671', 'tenant_id': '671f1e8a9f3c459fad5693cb03d88d62', 'project_id': '671f1e8a9f3c459fad5693cb03d88d62', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d3ce707f-dac1-43d6-ab74-8c7fe82edf5b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-84011660', 'ctest-vn-48018671'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-84011660', 'ctest-policy-allow-all-42329726']], 'subnet_ipam': [{'subnet_cidr': '32.236.242.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-10-31 00:24:47,744 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '96940712-e5a5-444e-854f-d728f8627e59', 'name': 'ctest-vn-82457346', 'tenant_id': '671f1e8a9f3c459fad5693cb03d88d62', 'project_id': '671f1e8a9f3c459fad5693cb03d88d62', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a09b7092-2fb8-4c2d-9f01-474dcae18e12'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-84011660', 'ctest-vn-82457346'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-84011660', 'ctest-policy-allow-all-42329726']], 'subnet_ipam': [{'subnet_cidr': '149.41.8.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-10-31 00:24:47,907 - DEBUG - Requesting: http://10.0.0.254:8082/domains
2025-10-31 00:24:48,196 - DEBUG - Requesting: http://10.0.0.254:8082/domains
2025-10-31 00:24:48,219 - DEBUG - Requesting: http://10.0.0.254:8082/domain/36d10e8e-7887-487f-a862-c18e43fe7412
2025-10-31 00:24:48,229 - DEBUG - Requesting: http://10.0.0.254:8082/project/671f1e8a-9f3c-459f-ad56-93cb03d88d62
2025-10-31 00:24:48,302 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/861254a9-fc7c-45bd-ae47-83b2e9b9538b
2025-10-31 00:24:48,313 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/861254a9-fc7c-45bd-ae47-83b2e9b9538b
2025-10-31 00:24:48,322 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/7559cc14-344c-437c-8b07-3a52201905e0
2025-10-31 00:24:48,331 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/7559cc14-344c-437c-8b07-3a52201905e0
2025-10-31 00:24:48,339 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/3528a711-a902-4ce2-a1fd-2e57c6df2b70
2025-10-31 00:24:48,345 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-31 00:24:48,345 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/861254a9-fc7c-45bd-ae47-83b2e9b9538b
2025-10-31 00:24:48,355 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/7559cc14-344c-437c-8b07-3a52201905e0
2025-10-31 00:24:48,368 - INFO - Verified VN network id 12 for VN 861254a9-fc7c-45bd-ae47-83b2e9b9538b
2025-10-31 00:24:48,368 - INFO - Verifications in API Server for VN ctest-vn-48018671 passed
2025-10-31 00:24:48,368 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/861254a9-fc7c-45bd-ae47-83b2e9b9538b
2025-10-31 00:24:48,376 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/7559cc14-344c-437c-8b07-3a52201905e0
2025-10-31 00:24:48,383 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/7559cc14-344c-437c-8b07-3a52201905e0
2025-10-31 00:24:48,389 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/3528a711-a902-4ce2-a1fd-2e57c6df2b70
2025-10-31 00:24:48,398 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-84011660:ctest-vn-48018671', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-84011660', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9660877239725344189', 'uuid-lslong': '12558150890394571659'}, 'enable': 'true', 'created': '2025-10-31T00:24:46', 'last-modified': '2025-10-31T00:24:47', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.890343'}
2025-10-31 00:24:48,404 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-31 00:24:48,404 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-48018671 passed
2025-10-31 00:24:48,404 - DEBUG - ====Verifying policy data for ctest-vn-48018671 in API_Server ======
2025-10-31 00:24:48,404 - DEBUG - Requesting: http://10.0.0.254:8082/domains
2025-10-31 00:24:48,408 - DEBUG - Requesting: http://10.0.0.254:8082/domain/36d10e8e-7887-487f-a862-c18e43fe7412
2025-10-31 00:24:48,417 - DEBUG - Requesting: http://10.0.0.254:8082/project/671f1e8a-9f3c-459f-ad56-93cb03d88d62
2025-10-31 00:24:48,479 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/861254a9-fc7c-45bd-ae47-83b2e9b9538b
2025-10-31 00:24:48,490 - DEBUG - ==>Verifying data for policy with id: d3a08b95-f40f-4810-8524-2f10d58da4da, fqn: ['default-domain', 'ctest-TestBasicPolicy-84011660', 'ctest-policy-allow-all-42329726']
2025-10-31 00:24:48,490 - INFO - VN ctest-vn-48018671 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-31 00:24:48,490 - DEBUG - Verifying the vn in opserver
2025-10-31 00:24:48,490 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-84011660:ctest-vn-48018671 virtual network link  through opserver 10.0.0.254
2025-10-31 00:24:48,491 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks
2025-10-31 00:24:48,779 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks
2025-10-31 00:24:48,827 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-84011660:ctest-vn-48018671', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-84011660:ctest-vn-48018671?flat'}
2025-10-31 00:24:48,827 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-84011660:ctest-vn-48018671 is found in opserver
2025-10-31 00:24:48,836 - DEBUG - Do not have enough data to verify VN in agent
2025-10-31 00:24:48,840 - DEBUG - VRF ids for VN ctest-vn-48018671: {}
2025-10-31 00:24:48,840 - DEBUG - Requesting: http://10.0.0.254:8082/domains
2025-10-31 00:24:48,845 - DEBUG - Requesting: http://10.0.0.254:8082/domain/36d10e8e-7887-487f-a862-c18e43fe7412
2025-10-31 00:24:48,854 - DEBUG - Requesting: http://10.0.0.254:8082/project/671f1e8a-9f3c-459f-ad56-93cb03d88d62
2025-10-31 00:24:48,920 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/96940712-e5a5-444e-854f-d728f8627e59
2025-10-31 00:24:48,931 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/96940712-e5a5-444e-854f-d728f8627e59
2025-10-31 00:24:48,939 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/90532bab-4ea5-40db-a7d1-4c7cfcd0fc63
2025-10-31 00:24:48,945 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/90532bab-4ea5-40db-a7d1-4c7cfcd0fc63
2025-10-31 00:24:48,950 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/ce67dd47-726b-4a23-9469-e554f4ffdfda
2025-10-31 00:24:48,956 - DEBUG - Route Targets: ['target:64512:8000005']
2025-10-31 00:24:48,956 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/96940712-e5a5-444e-854f-d728f8627e59
2025-10-31 00:24:48,963 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/90532bab-4ea5-40db-a7d1-4c7cfcd0fc63
2025-10-31 00:24:48,973 - INFO - Verified VN network id 13 for VN 96940712-e5a5-444e-854f-d728f8627e59
2025-10-31 00:24:48,973 - INFO - Verifications in API Server for VN ctest-vn-82457346 passed
2025-10-31 00:24:48,973 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/96940712-e5a5-444e-854f-d728f8627e59
2025-10-31 00:24:48,980 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/90532bab-4ea5-40db-a7d1-4c7cfcd0fc63
2025-10-31 00:24:48,986 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/90532bab-4ea5-40db-a7d1-4c7cfcd0fc63
2025-10-31 00:24:48,991 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/ce67dd47-726b-4a23-9469-e554f4ffdfda
2025-10-31 00:24:49,000 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-84011660:ctest-vn-82457346', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-84011660', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10850305179985986638', 'uuid-lslong': '9606133101170425433'}, 'enable': 'true', 'created': '2025-10-31T00:24:46', 'last-modified': '2025-10-31T00:24:47', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.275484'}
2025-10-31 00:24:49,005 - DEBUG - Route Targets: ['target:64512:8000005']
2025-10-31 00:24:49,005 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-82457346 passed
2025-10-31 00:24:49,005 - DEBUG - ====Verifying policy data for ctest-vn-82457346 in API_Server ======
2025-10-31 00:24:49,005 - DEBUG - Requesting: http://10.0.0.254:8082/domains
2025-10-31 00:24:49,010 - DEBUG - Requesting: http://10.0.0.254:8082/domain/36d10e8e-7887-487f-a862-c18e43fe7412
2025-10-31 00:24:49,018 - DEBUG - Requesting: http://10.0.0.254:8082/project/671f1e8a-9f3c-459f-ad56-93cb03d88d62
2025-10-31 00:24:49,085 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/96940712-e5a5-444e-854f-d728f8627e59
2025-10-31 00:24:49,093 - DEBUG - ==>Verifying data for policy with id: d3a08b95-f40f-4810-8524-2f10d58da4da, fqn: ['default-domain', 'ctest-TestBasicPolicy-84011660', 'ctest-policy-allow-all-42329726']
2025-10-31 00:24:49,093 - INFO - VN ctest-vn-82457346 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-31 00:24:49,093 - DEBUG - Verifying the vn in opserver
2025-10-31 00:24:49,093 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-84011660:ctest-vn-82457346 virtual network link  through opserver 10.0.0.254
2025-10-31 00:24:49,093 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks
2025-10-31 00:24:49,101 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-84011660:ctest-vn-82457346', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-84011660:ctest-vn-82457346?flat'}
2025-10-31 00:24:49,101 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-84011660:ctest-vn-82457346 is found in opserver
2025-10-31 00:24:49,108 - DEBUG - Do not have enough data to verify VN in agent
2025-10-31 00:24:49,112 - DEBUG - VRF ids for VN ctest-vn-82457346: {}
2025-10-31 00:24:49,165 - DEBUG - Services list from nova: [