2025-10-21 09:52:50,752 - INFO - Domain Default found not creating
2025-10-21 09:52:50,876 - INFO - Project ctest-TestBasicPolicy-79702871 not found, creating it
2025-10-21 09:52:51,340 - INFO - Created Project:ctest-TestBasicPolicy-79702871, ID : 6a71e412-b926-46ae-8f8a-24ba13c0eaba 
2025-10-21 09:52:52,660 - INFO - ================================================================================
2025-10-21 09:52:52,661 - INFO - STARTING TEST    : test_basic_policy_allow_deny
2025-10-21 09:52:52,661 - 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-21 09:52:52,916 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2025-10-21 09:52:52,916 - INFO - Initial checks done. Running the testcase now
2025-10-21 09:52:52,916 - INFO - 
2025-10-21 09:52:53,426 - DEBUG - Response for create_network : {'network': {'id': 'db86b179-6ce8-41b5-ace4-44459f26cdee', 'name': 'ctest-vn-66948034', 'tenant_id': '6a71e412b92646ae8f8a24ba13c0eaba', 'project_id': '6a71e412b92646ae8f8a24ba13c0eaba', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-79702871', 'ctest-vn-66948034'], 'port_security_enabled': True, 'description': ''}}
2025-10-21 09:52:53,572 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cead03ee-b485-44c6-b7ee-258c0b819f51', 'name': '', 'tenant_id': '6a71e412b92646ae8f8a24ba13c0eaba', 'network_id': 'db86b179-6ce8-41b5-ace4-44459f26cdee', 'ip_version': 4, 'cidr': '117.93.202.192/26', 'allocation_pools': [{'start': '117.93.202.194', 'end': '117.93.202.254'}], 'gateway_ip': '117.93.202.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '117.93.202.194', 'tags': [], 'project_id': '6a71e412b92646ae8f8a24ba13c0eaba'}}
2025-10-21 09:52:53,588 - INFO - Created VN ctest-vn-66948034
2025-10-21 09:52:53,639 - DEBUG - VN ctest-vn-66948034 UUID is db86b179-6ce8-41b5-ace4-44459f26cdee
2025-10-21 09:52:53,945 - DEBUG - Response for create_network : {'network': {'id': 'd095b7c3-bd7f-4323-9cf0-944bc6bcf7b9', 'name': 'ctest-vn-29520540', 'tenant_id': '6a71e412b92646ae8f8a24ba13c0eaba', 'project_id': '6a71e412b92646ae8f8a24ba13c0eaba', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-79702871', 'ctest-vn-29520540'], 'port_security_enabled': True, 'description': ''}}
2025-10-21 09:52:54,128 - DEBUG - Response for create_subnet : {'subnet': {'id': '73f2b727-fc9e-4dd2-9b9f-3c83cb3c8f1f', 'name': '', 'tenant_id': '6a71e412b92646ae8f8a24ba13c0eaba', 'network_id': 'd095b7c3-bd7f-4323-9cf0-944bc6bcf7b9', 'ip_version': 4, 'cidr': '28.220.218.128/26', 'allocation_pools': [{'start': '28.220.218.130', 'end': '28.220.218.190'}], 'gateway_ip': '28.220.218.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '28.220.218.130', 'tags': [], 'project_id': '6a71e412b92646ae8f8a24ba13c0eaba'}}
2025-10-21 09:52:54,144 - INFO - Created VN ctest-vn-29520540
2025-10-21 09:52:54,195 - DEBUG - VN ctest-vn-29520540 UUID is d095b7c3-bd7f-4323-9cf0-944bc6bcf7b9
2025-10-21 09:52:54,339 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-79702871:ctest-vn-66948034, 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-79702871:ctest-vn-29520540, 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-21 09:52:54,616 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'db86b179-6ce8-41b5-ace4-44459f26cdee', 'name': 'ctest-vn-66948034', 'tenant_id': '6a71e412b92646ae8f8a24ba13c0eaba', 'project_id': '6a71e412b92646ae8f8a24ba13c0eaba', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['cead03ee-b485-44c6-b7ee-258c0b819f51'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-79702871', 'ctest-vn-66948034'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-79702871', 'ctest-policy-allow-all-18714559']], 'subnet_ipam': [{'subnet_cidr': '117.93.202.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-10-21 09:52:54,817 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd095b7c3-bd7f-4323-9cf0-944bc6bcf7b9', 'name': 'ctest-vn-29520540', 'tenant_id': '6a71e412b92646ae8f8a24ba13c0eaba', 'project_id': '6a71e412b92646ae8f8a24ba13c0eaba', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['73f2b727-fc9e-4dd2-9b9f-3c83cb3c8f1f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-79702871', 'ctest-vn-29520540'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-79702871', 'ctest-policy-allow-all-18714559']], 'subnet_ipam': [{'subnet_cidr': '28.220.218.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-10-21 09:52:54,971 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-10-21 09:52:55,259 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-10-21 09:52:55,285 - DEBUG - Requesting: http://10.0.0.38:8082/domain/34c5693f-464c-405a-8104-1b46bd037120
2025-10-21 09:52:55,297 - DEBUG - Requesting: http://10.0.0.38:8082/project/6a71e412-b926-46ae-8f8a-24ba13c0eaba
2025-10-21 09:52:55,365 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/db86b179-6ce8-41b5-ace4-44459f26cdee
2025-10-21 09:52:55,374 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/db86b179-6ce8-41b5-ace4-44459f26cdee
2025-10-21 09:52:55,382 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b3014d89-f8eb-4a7d-ad51-77899b6d0141
2025-10-21 09:52:55,388 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b3014d89-f8eb-4a7d-ad51-77899b6d0141
2025-10-21 09:52:55,394 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/d166cc87-490c-468f-949c-6ba5c1fab913
2025-10-21 09:52:55,399 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-21 09:52:55,399 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/db86b179-6ce8-41b5-ace4-44459f26cdee
2025-10-21 09:52:55,406 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b3014d89-f8eb-4a7d-ad51-77899b6d0141
2025-10-21 09:52:55,418 - INFO - Verified VN network id 12 for VN db86b179-6ce8-41b5-ace4-44459f26cdee
2025-10-21 09:52:55,418 - INFO - Verifications in API Server for VN ctest-vn-66948034 passed
2025-10-21 09:52:55,418 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/db86b179-6ce8-41b5-ace4-44459f26cdee
2025-10-21 09:52:55,425 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b3014d89-f8eb-4a7d-ad51-77899b6d0141
2025-10-21 09:52:55,430 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b3014d89-f8eb-4a7d-ad51-77899b6d0141
2025-10-21 09:52:55,435 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/d166cc87-490c-468f-949c-6ba5c1fab913
2025-10-21 09:52:55,445 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-79702871:ctest-vn-66948034', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-79702871', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15818525876261765557', 'uuid-lslong': '12458157535027187182'}, 'enable': 'true', 'created': '2025-10-21T09:52:53', 'last-modified': '2025-10-21T09:52:54', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.848200'}
2025-10-21 09:52:55,450 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-21 09:52:55,450 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-66948034 passed
2025-10-21 09:52:55,450 - DEBUG - ====Verifying policy data for ctest-vn-66948034 in API_Server ======
2025-10-21 09:52:55,450 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-10-21 09:52:55,455 - DEBUG - Requesting: http://10.0.0.38:8082/domain/34c5693f-464c-405a-8104-1b46bd037120
2025-10-21 09:52:55,465 - DEBUG - Requesting: http://10.0.0.38:8082/project/6a71e412-b926-46ae-8f8a-24ba13c0eaba
2025-10-21 09:52:55,532 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/db86b179-6ce8-41b5-ace4-44459f26cdee
2025-10-21 09:52:55,540 - DEBUG - ==>Verifying data for policy with id: 27718dda-6975-40b3-bb07-5b3fc184475c, fqn: ['default-domain', 'ctest-TestBasicPolicy-79702871', 'ctest-policy-allow-all-18714559']
2025-10-21 09:52:55,540 - INFO - VN ctest-vn-66948034 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-21 09:52:55,541 - DEBUG - Verifying the vn in opserver
2025-10-21 09:52:55,541 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-79702871:ctest-vn-66948034 virtual network link  through opserver 10.0.0.38
2025-10-21 09:52:55,541 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2025-10-21 09:52:55,826 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2025-10-21 09:52:55,876 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-79702871:ctest-vn-66948034', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-79702871:ctest-vn-66948034?flat'}
2025-10-21 09:52:55,876 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-79702871:ctest-vn-66948034 is found in opserver
2025-10-21 09:52:55,884 - DEBUG - Do not have enough data to verify VN in agent
2025-10-21 09:52:55,887 - DEBUG - VRF ids for VN ctest-vn-66948034: {}
2025-10-21 09:52:55,887 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-10-21 09:52:55,892 - DEBUG - Requesting: http://10.0.0.38:8082/domain/34c5693f-464c-405a-8104-1b46bd037120
2025-10-21 09:52:55,900 - DEBUG - Requesting: http://10.0.0.38:8082/project/6a71e412-b926-46ae-8f8a-24ba13c0eaba
2025-10-21 09:52:55,974 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d095b7c3-bd7f-4323-9cf0-944bc6bcf7b9
2025-10-21 09:52:55,985 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d095b7c3-bd7f-4323-9cf0-944bc6bcf7b9
2025-10-21 09:52:55,993 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/31d7d817-1b9e-4a05-966c-6b3e24e6f499
2025-10-21 09:52:55,999 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/31d7d817-1b9e-4a05-966c-6b3e24e6f499
2025-10-21 09:52:56,006 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/d410d5fc-f7d3-40a7-b829-325e9becc05d
2025-10-21 09:52:56,012 - DEBUG - Route Targets: ['target:64512:8000005']
2025-10-21 09:52:56,012 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d095b7c3-bd7f-4323-9cf0-944bc6bcf7b9
2025-10-21 09:52:56,019 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/31d7d817-1b9e-4a05-966c-6b3e24e6f499
2025-10-21 09:52:56,031 - INFO - Verified VN network id 13 for VN d095b7c3-bd7f-4323-9cf0-944bc6bcf7b9
2025-10-21 09:52:56,031 - INFO - Verifications in API Server for VN ctest-vn-29520540 passed
2025-10-21 09:52:56,031 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d095b7c3-bd7f-4323-9cf0-944bc6bcf7b9
2025-10-21 09:52:56,038 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/31d7d817-1b9e-4a05-966c-6b3e24e6f499
2025-10-21 09:52:56,043 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/31d7d817-1b9e-4a05-966c-6b3e24e6f499
2025-10-21 09:52:56,048 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/d410d5fc-f7d3-40a7-b829-325e9becc05d
2025-10-21 09:52:56,057 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-79702871:ctest-vn-29520540', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-79702871', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15030121382744638243', 'uuid-lslong': '11308701717505046457'}, 'enable': 'true', 'created': '2025-10-21T09:52:53', 'last-modified': '2025-10-21T09:52:54', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.257768'}
2025-10-21 09:52:56,062 - DEBUG - Route Targets: ['target:64512:8000005']
2025-10-21 09:52:56,062 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-29520540 passed
2025-10-21 09:52:56,062 - DEBUG - ====Verifying policy data for ctest-vn-29520540 in API_Server ======
2025-10-21 09:52:56,062 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-10-21 09:52:56,066 - DEBUG - Requesting: http://10.0.0.38:8082/domain/34c5693f-464c-405a-8104-1b46bd037120
2025-10-21 09:52:56,076 - DEBUG - Requesting: http://10.0.0.38:8082/project/6a71e412-b926-46ae-8f8a-24ba13c0eaba
2025-10-21 09:52:56,147 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d095b7c3-bd7f-4323-9cf0-944bc6bcf7b9
2025-10-21 09:52:56,157 - DEBUG - ==>Verifying data for policy with id: 27718dda-6975-40b3-bb07-5b3fc184475c, fqn: ['default-domain', 'ctest-TestBasicPolicy-79702871', 'ctest-policy-allow-all-18714559']
2025-10-21 09:52:56,157 - INFO - VN ctest-vn-29520540 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-21 09:52:56,157 - DEBUG - Verifying the vn in opserver
2025-10-21 09:52:56,157 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-79702871:ctest-vn-29520540 virtual network link  through opserver 10.0.0.38
2025-10-21 09:52:56,158 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2025-10-21 09:52:56,166 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-79702871:ctest-vn-29520540', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-79702871:ctest-vn-29520540?flat'}
2025-10-21 09:52:56,166 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-79702871:ctest-vn-29520540 is found in opserver
2025-10-21 09:52:56,177 - DEBUG - Do not have enough data to verify VN in agent
2025-10-21 09:52:56,181 - DEBUG - VRF ids for VN ctest-vn-29520540: {}
2025-10-21 09:52:56,232 - DEBUG - Services list from nova: [