2025-10-30 21:45:38,977 - INFO - Domain Default found not creating
2025-10-30 21:45:39,107 - INFO - Project ctest-TestBasicPolicy-68790838 not found, creating it
2025-10-30 21:45:39,538 - INFO - Created Project:ctest-TestBasicPolicy-68790838, ID : e0ce7aa4-29a4-4ee0-bd25-bad09f0a9295 
2025-10-30 21:45:40,944 - INFO - ================================================================================
2025-10-30 21:45:40,944 - INFO - STARTING TEST    : test_basic_policy_allow_deny
2025-10-30 21:45:40,944 - 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 21:45:41,205 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.20.0.241': '0'}} with
2025-10-30 21:45:41,205 - INFO - Initial checks done. Running the testcase now
2025-10-30 21:45:41,206 - INFO - 
2025-10-30 21:45:41,740 - DEBUG - Response for create_network : {'network': {'id': '4615fbe9-e8e2-436f-a187-980b30bb7c2e', 'name': 'ctest-vn-33954487', 'tenant_id': 'e0ce7aa429a44ee0bd25bad09f0a9295', 'project_id': 'e0ce7aa429a44ee0bd25bad09f0a9295', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-68790838', 'ctest-vn-33954487'], 'port_security_enabled': True, 'description': ''}}
2025-10-30 21:45:41,902 - DEBUG - Response for create_subnet : {'subnet': {'id': '6db0a7a7-0b15-4e6b-a6dc-82b02ad055d3', 'name': '', 'tenant_id': 'e0ce7aa429a44ee0bd25bad09f0a9295', 'network_id': '4615fbe9-e8e2-436f-a187-980b30bb7c2e', 'ip_version': 4, 'cidr': '11.226.222.128/26', 'allocation_pools': [{'start': '11.226.222.130', 'end': '11.226.222.190'}], 'gateway_ip': '11.226.222.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '11.226.222.130', 'tags': [], 'project_id': 'e0ce7aa429a44ee0bd25bad09f0a9295'}}
2025-10-30 21:45:41,918 - INFO - Created VN ctest-vn-33954487
2025-10-30 21:45:41,969 - DEBUG - VN ctest-vn-33954487 UUID is 4615fbe9-e8e2-436f-a187-980b30bb7c2e
2025-10-30 21:45:42,260 - DEBUG - Response for create_network : {'network': {'id': 'fa1f6c02-d85f-4b9b-afa0-3296137ca8b4', 'name': 'ctest-vn-15763663', 'tenant_id': 'e0ce7aa429a44ee0bd25bad09f0a9295', 'project_id': 'e0ce7aa429a44ee0bd25bad09f0a9295', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-68790838', 'ctest-vn-15763663'], 'port_security_enabled': True, 'description': ''}}
2025-10-30 21:45:42,446 - DEBUG - Response for create_subnet : {'subnet': {'id': '4946644b-4458-4daa-b274-1538a17116f3', 'name': '', 'tenant_id': 'e0ce7aa429a44ee0bd25bad09f0a9295', 'network_id': 'fa1f6c02-d85f-4b9b-afa0-3296137ca8b4', 'ip_version': 4, 'cidr': '63.147.76.128/26', 'allocation_pools': [{'start': '63.147.76.130', 'end': '63.147.76.190'}], 'gateway_ip': '63.147.76.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '63.147.76.130', 'tags': [], 'project_id': 'e0ce7aa429a44ee0bd25bad09f0a9295'}}
2025-10-30 21:45:42,463 - INFO - Created VN ctest-vn-15763663
2025-10-30 21:45:42,517 - DEBUG - VN ctest-vn-15763663 UUID is fa1f6c02-d85f-4b9b-afa0-3296137ca8b4
2025-10-30 21:45:42,665 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-68790838:ctest-vn-33954487, 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-68790838:ctest-vn-15763663, 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 21:45:42,948 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4615fbe9-e8e2-436f-a187-980b30bb7c2e', 'name': 'ctest-vn-33954487', 'tenant_id': 'e0ce7aa429a44ee0bd25bad09f0a9295', 'project_id': 'e0ce7aa429a44ee0bd25bad09f0a9295', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6db0a7a7-0b15-4e6b-a6dc-82b02ad055d3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-68790838', 'ctest-vn-33954487'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-68790838', 'ctest-policy-allow-all-49628668']], 'subnet_ipam': [{'subnet_cidr': '11.226.222.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-10-30 21:45:43,226 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'fa1f6c02-d85f-4b9b-afa0-3296137ca8b4', 'name': 'ctest-vn-15763663', 'tenant_id': 'e0ce7aa429a44ee0bd25bad09f0a9295', 'project_id': 'e0ce7aa429a44ee0bd25bad09f0a9295', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4946644b-4458-4daa-b274-1538a17116f3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-68790838', 'ctest-vn-15763663'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-68790838', 'ctest-policy-allow-all-49628668']], 'subnet_ipam': [{'subnet_cidr': '63.147.76.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-10-30 21:45:43,369 - DEBUG - Requesting: http://10.0.0.23:8082/domains
2025-10-30 21:45:43,665 - DEBUG - Requesting: http://10.0.0.23:8082/domains
2025-10-30 21:45:43,691 - DEBUG - Requesting: http://10.0.0.23:8082/domain/735c0676-dff1-49c0-a214-101b496e4037
2025-10-30 21:45:43,701 - DEBUG - Requesting: http://10.0.0.23:8082/project/e0ce7aa4-29a4-4ee0-bd25-bad09f0a9295
2025-10-30 21:45:43,772 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/4615fbe9-e8e2-436f-a187-980b30bb7c2e
2025-10-30 21:45:43,781 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/4615fbe9-e8e2-436f-a187-980b30bb7c2e
2025-10-30 21:45:43,788 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/f7be8af4-cde3-48c0-9a42-2cbf3bf8223b
2025-10-30 21:45:43,793 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/f7be8af4-cde3-48c0-9a42-2cbf3bf8223b
2025-10-30 21:45:43,798 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/824237a2-5eb2-4cc5-a85d-d18979abdfa8
2025-10-30 21:45:43,802 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-30 21:45:43,802 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/4615fbe9-e8e2-436f-a187-980b30bb7c2e
2025-10-30 21:45:43,811 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/f7be8af4-cde3-48c0-9a42-2cbf3bf8223b
2025-10-30 21:45:43,823 - INFO - Verified VN network id 9 for VN 4615fbe9-e8e2-436f-a187-980b30bb7c2e
2025-10-30 21:45:43,824 - INFO - Verifications in API Server for VN ctest-vn-33954487 passed
2025-10-30 21:45:43,824 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/4615fbe9-e8e2-436f-a187-980b30bb7c2e
2025-10-30 21:45:43,831 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/f7be8af4-cde3-48c0-9a42-2cbf3bf8223b
2025-10-30 21:45:43,836 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/f7be8af4-cde3-48c0-9a42-2cbf3bf8223b
2025-10-30 21:45:43,841 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/824237a2-5eb2-4cc5-a85d-d18979abdfa8
2025-10-30 21:45:43,851 - DEBUG - Control-node 10.0.0.23 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-68790838:ctest-vn-33954487', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-68790838', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5050219539218973551', 'uuid-lslong': '11639438935791991854'}, 'enable': 'true', 'created': '2025-10-30T21:45:41', 'last-modified': '2025-10-30T21:45:42', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.920900'}
2025-10-30 21:45:43,857 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-30 21:45:43,857 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-33954487 passed
2025-10-30 21:45:43,857 - DEBUG - ====Verifying policy data for ctest-vn-33954487 in API_Server ======
2025-10-30 21:45:43,857 - DEBUG - Requesting: http://10.0.0.23:8082/domains
2025-10-30 21:45:43,861 - DEBUG - Requesting: http://10.0.0.23:8082/domain/735c0676-dff1-49c0-a214-101b496e4037
2025-10-30 21:45:43,871 - DEBUG - Requesting: http://10.0.0.23:8082/project/e0ce7aa4-29a4-4ee0-bd25-bad09f0a9295
2025-10-30 21:45:43,945 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/4615fbe9-e8e2-436f-a187-980b30bb7c2e
2025-10-30 21:45:43,954 - DEBUG - ==>Verifying data for policy with id: c0a030bc-afb3-4ab3-aa2f-6633c09b313c, fqn: ['default-domain', 'ctest-TestBasicPolicy-68790838', 'ctest-policy-allow-all-49628668']
2025-10-30 21:45:43,954 - INFO - VN ctest-vn-33954487 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-30 21:45:43,954 - DEBUG - Verifying the vn in opserver
2025-10-30 21:45:43,954 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-68790838:ctest-vn-33954487 virtual network link  through opserver 10.0.0.23
2025-10-30 21:45:43,954 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks
2025-10-30 21:45:44,251 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks
2025-10-30 21:45:44,305 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-68790838:ctest-vn-33954487', 'href': 'http://10.0.0.23:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-68790838:ctest-vn-33954487?flat'}
2025-10-30 21:45:44,305 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-68790838:ctest-vn-33954487 is found in opserver
2025-10-30 21:45:44,316 - DEBUG - Do not have enough data to verify VN in agent
2025-10-30 21:45:44,322 - DEBUG - VRF ids for VN ctest-vn-33954487: {}
2025-10-30 21:45:44,322 - DEBUG - Requesting: http://10.0.0.23:8082/domains
2025-10-30 21:45:44,329 - DEBUG - Requesting: http://10.0.0.23:8082/domain/735c0676-dff1-49c0-a214-101b496e4037
2025-10-30 21:45:44,340 - DEBUG - Requesting: http://10.0.0.23:8082/project/e0ce7aa4-29a4-4ee0-bd25-bad09f0a9295
2025-10-30 21:45:44,412 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/fa1f6c02-d85f-4b9b-afa0-3296137ca8b4
2025-10-30 21:45:44,423 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/fa1f6c02-d85f-4b9b-afa0-3296137ca8b4
2025-10-30 21:45:44,434 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/50727aa3-cc84-4fb0-af38-9b0eb11b3b2f
2025-10-30 21:45:44,440 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/50727aa3-cc84-4fb0-af38-9b0eb11b3b2f
2025-10-30 21:45:44,446 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/a679dd93-9450-4a78-b72a-ba6f54ec42fd
2025-10-30 21:45:44,453 - DEBUG - Route Targets: ['target:64512:8000005']
2025-10-30 21:45:44,453 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/fa1f6c02-d85f-4b9b-afa0-3296137ca8b4
2025-10-30 21:45:44,463 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/50727aa3-cc84-4fb0-af38-9b0eb11b3b2f
2025-10-30 21:45:44,477 - INFO - Verified VN network id 10 for VN fa1f6c02-d85f-4b9b-afa0-3296137ca8b4
2025-10-30 21:45:44,477 - INFO - Verifications in API Server for VN ctest-vn-15763663 passed
2025-10-30 21:45:44,477 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/fa1f6c02-d85f-4b9b-afa0-3296137ca8b4
2025-10-30 21:45:44,486 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/50727aa3-cc84-4fb0-af38-9b0eb11b3b2f
2025-10-30 21:45:44,492 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/50727aa3-cc84-4fb0-af38-9b0eb11b3b2f
2025-10-30 21:45:44,499 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/a679dd93-9450-4a78-b72a-ba6f54ec42fd
2025-10-30 21:45:44,509 - DEBUG - Control-node 10.0.0.23 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-68790838:ctest-vn-15763663', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-68790838', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18023242993235872667', 'uuid-lslong': '12655170573064513716'}, 'enable': 'true', 'created': '2025-10-30T21:45:42', 'last-modified': '2025-10-30T21:45:43', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.351562'}
2025-10-30 21:45:44,513 - DEBUG - Route Targets: ['target:64512:8000005']
2025-10-30 21:45:44,513 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-15763663 passed
2025-10-30 21:45:44,514 - DEBUG - ====Verifying policy data for ctest-vn-15763663 in API_Server ======
2025-10-30 21:45:44,514 - DEBUG - Requesting: http://10.0.0.23:8082/domains
2025-10-30 21:45:44,519 - DEBUG - Requesting: http://10.0.0.23:8082/domain/735c0676-dff1-49c0-a214-101b496e4037
2025-10-30 21:45:44,530 - DEBUG - Requesting: http://10.0.0.23:8082/project/e0ce7aa4-29a4-4ee0-bd25-bad09f0a9295
2025-10-30 21:45:44,600 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/fa1f6c02-d85f-4b9b-afa0-3296137ca8b4
2025-10-30 21:45:44,612 - DEBUG - ==>Verifying data for policy with id: c0a030bc-afb3-4ab3-aa2f-6633c09b313c, fqn: ['default-domain', 'ctest-TestBasicPolicy-68790838', 'ctest-policy-allow-all-49628668']
2025-10-30 21:45:44,612 - INFO - VN ctest-vn-15763663 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-30 21:45:44,612 - DEBUG - Verifying the vn in opserver
2025-10-30 21:45:44,612 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-68790838:ctest-vn-15763663 virtual network link  through opserver 10.0.0.23
2025-10-30 21:45:44,612 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks
2025-10-30 21:45:44,622 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-68790838:ctest-vn-15763663', 'href': 'http://10.0.0.23:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-68790838:ctest-vn-15763663?flat'}
2025-10-30 21:45:44,622 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-68790838:ctest-vn-15763663 is found in opserver
2025-10-30 21:45:44,630 - DEBUG - Do not have enough data to verify VN in agent
2025-10-30 21:45:44,634 - DEBUG - VRF ids for VN ctest-vn-15763663: {}
2025-10-30 21:45:44,699 - DEBUG - Services list from nova: [