2025-12-15 02:24:58,813 - INFO - Domain Default found not creating
2025-12-15 02:24:59,037 - INFO - Project ctest-TestBasicPolicy-58560346 not found, creating it
2025-12-15 02:24:59,510 - INFO - Created Project:ctest-TestBasicPolicy-58560346, ID : 9abb9308-8c55-475e-8f73-24931296ef6d
2025-12-15 02:25:01,250 - INFO - ================================================================================
2025-12-15 02:25:01,250 - INFO - STARTING TEST : test_basic_policy_allow_deny
2025-12-15 02:25:01,250 - 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-12-15 02:25:01,519 - DEBUG - Nothing to compare xmpp stats {'10.0.0.73': {'10.20.0.241': '0'}} with
2025-12-15 02:25:01,519 - INFO - Initial checks done. Running the testcase now
2025-12-15 02:25:01,520 - INFO -
2025-12-15 02:25:02,171 - DEBUG - Response for create_network : {'network': {'id': '6358baed-7849-4530-a72e-5474d9d57f5a', 'name': 'ctest-vn-23654763', 'tenant_id': '9abb93088c55475e8f7324931296ef6d', 'project_id': '9abb93088c55475e8f7324931296ef6d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-58560346', 'ctest-vn-23654763'], 'port_security_enabled': True, 'description': ''}}
2025-12-15 02:25:02,390 - DEBUG - Response for create_subnet : {'subnet': {'id': '3a67abe4-bfd2-4638-befe-6d4670887b2a', 'name': '', 'tenant_id': '9abb93088c55475e8f7324931296ef6d', 'network_id': '6358baed-7849-4530-a72e-5474d9d57f5a', 'ip_version': 4, 'cidr': '201.126.187.0/26', 'allocation_pools': [{'start': '201.126.187.2', 'end': '201.126.187.62'}], 'gateway_ip': '201.126.187.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '201.126.187.2', 'tags': [], 'project_id': '9abb93088c55475e8f7324931296ef6d'}}
2025-12-15 02:25:02,413 - INFO - Created VN ctest-vn-23654763
2025-12-15 02:25:02,470 - DEBUG - VN ctest-vn-23654763 UUID is 6358baed-7849-4530-a72e-5474d9d57f5a
2025-12-15 02:25:02,824 - DEBUG - Response for create_network : {'network': {'id': '326c3663-ea7f-48f9-94f2-58f5f9d3ac84', 'name': 'ctest-vn-61032505', 'tenant_id': '9abb93088c55475e8f7324931296ef6d', 'project_id': '9abb93088c55475e8f7324931296ef6d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-58560346', 'ctest-vn-61032505'], 'port_security_enabled': True, 'description': ''}}
2025-12-15 02:25:03,014 - DEBUG - Response for create_subnet : {'subnet': {'id': '73541f13-c3da-4635-96fe-ff635143eab0', 'name': '', 'tenant_id': '9abb93088c55475e8f7324931296ef6d', 'network_id': '326c3663-ea7f-48f9-94f2-58f5f9d3ac84', 'ip_version': 4, 'cidr': '31.72.122.128/26', 'allocation_pools': [{'start': '31.72.122.130', 'end': '31.72.122.190'}], 'gateway_ip': '31.72.122.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '31.72.122.130', 'tags': [], 'project_id': '9abb93088c55475e8f7324931296ef6d'}}
2025-12-15 02:25:03,039 - INFO - Created VN ctest-vn-61032505
2025-12-15 02:25:03,098 - DEBUG - VN ctest-vn-61032505 UUID is 326c3663-ea7f-48f9-94f2-58f5f9d3ac84
2025-12-15 02:25:03,231 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-58560346:ctest-vn-23654763, 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-58560346:ctest-vn-61032505, 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-12-15 02:25:03,548 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6358baed-7849-4530-a72e-5474d9d57f5a', 'name': 'ctest-vn-23654763', 'tenant_id': '9abb93088c55475e8f7324931296ef6d', 'project_id': '9abb93088c55475e8f7324931296ef6d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3a67abe4-bfd2-4638-befe-6d4670887b2a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-58560346', 'ctest-vn-23654763'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-58560346', 'ctest-policy-allow-all-65793333']], 'subnet_ipam': [{'subnet_cidr': '201.126.187.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-12-15 02:25:03,835 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '326c3663-ea7f-48f9-94f2-58f5f9d3ac84', 'name': 'ctest-vn-61032505', 'tenant_id': '9abb93088c55475e8f7324931296ef6d', 'project_id': '9abb93088c55475e8f7324931296ef6d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['73541f13-c3da-4635-96fe-ff635143eab0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-58560346', 'ctest-vn-61032505'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-58560346', 'ctest-policy-allow-all-65793333']], 'subnet_ipam': [{'subnet_cidr': '31.72.122.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-12-15 02:25:03,982 - DEBUG - Requesting: http://10.0.0.73:8082/domains
2025-12-15 02:25:04,329 - DEBUG - Requesting: http://10.0.0.73:8082/domains
2025-12-15 02:25:04,364 - DEBUG - Requesting: http://10.0.0.73:8082/domain/eda9fdd6-9446-4bbd-9ce2-44fcf4b543ab
2025-12-15 02:25:04,377 - DEBUG - Requesting: http://10.0.0.73:8082/project/9abb9308-8c55-475e-8f73-24931296ef6d
2025-12-15 02:25:04,454 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/6358baed-7849-4530-a72e-5474d9d57f5a
2025-12-15 02:25:04,465 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/6358baed-7849-4530-a72e-5474d9d57f5a
2025-12-15 02:25:04,475 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/3177a057-1144-4aea-a4bd-168717372d00
2025-12-15 02:25:04,486 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/3177a057-1144-4aea-a4bd-168717372d00
2025-12-15 02:25:04,494 - DEBUG - Requesting: http://10.0.0.73:8082/route-target/29e8d49f-5bfd-4e55-b6c4-2513d75f6c03
2025-12-15 02:25:04,502 - DEBUG - Route Targets: ['target:64512:8000004']
2025-12-15 02:25:04,502 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/6358baed-7849-4530-a72e-5474d9d57f5a
2025-12-15 02:25:04,513 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/3177a057-1144-4aea-a4bd-168717372d00
2025-12-15 02:25:04,529 - INFO - Verified VN network id 11 for VN 6358baed-7849-4530-a72e-5474d9d57f5a
2025-12-15 02:25:04,530 - INFO - Verifications in API Server for VN ctest-vn-23654763 passed
2025-12-15 02:25:04,530 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/6358baed-7849-4530-a72e-5474d9d57f5a
2025-12-15 02:25:04,541 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/3177a057-1144-4aea-a4bd-168717372d00
2025-12-15 02:25:04,550 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/3177a057-1144-4aea-a4bd-168717372d00
2025-12-15 02:25:04,558 - DEBUG - Requesting: http://10.0.0.73:8082/route-target/29e8d49f-5bfd-4e55-b6c4-2513d75f6c03
2025-12-15 02:25:04,574 - DEBUG - Control-node 10.0.0.73 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-58560346:ctest-vn-23654763', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-58560346', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7158677136793486640', 'uuid-lslong': '12046658914110242650'}, 'enable': 'true', 'created': '2025-12-15T02:25:02', 'last-modified': '2025-12-15T02:25:03', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.044116'}
2025-12-15 02:25:04,583 - DEBUG - Route Targets: ['target:64512:8000004']
2025-12-15 02:25:04,583 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-23654763 passed
2025-12-15 02:25:04,583 - DEBUG - ====Verifying policy data for ctest-vn-23654763 in API_Server ======
2025-12-15 02:25:04,583 - DEBUG - Requesting: http://10.0.0.73:8082/domains
2025-12-15 02:25:04,591 - DEBUG - Requesting: http://10.0.0.73:8082/domain/eda9fdd6-9446-4bbd-9ce2-44fcf4b543ab
2025-12-15 02:25:04,604 - DEBUG - Requesting: http://10.0.0.73:8082/project/9abb9308-8c55-475e-8f73-24931296ef6d
2025-12-15 02:25:04,679 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/6358baed-7849-4530-a72e-5474d9d57f5a
2025-12-15 02:25:04,693 - DEBUG - ==>Verifying data for policy with id: 11d976c4-dcf5-4808-bc70-3fb90a632c22, fqn: ['default-domain', 'ctest-TestBasicPolicy-58560346', 'ctest-policy-allow-all-65793333']
2025-12-15 02:25:04,693 - INFO - VN ctest-vn-23654763 Policy verification: verify_vn_policy_in_api_server, status: True
2025-12-15 02:25:04,693 - DEBUG - Verifying the vn in opserver
2025-12-15 02:25:04,693 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-58560346:ctest-vn-23654763 virtual network link through opserver 10.0.0.73
2025-12-15 02:25:04,694 - DEBUG - Requesting: http://10.0.0.73:8081/analytics/uves/virtual-networks
2025-12-15 02:25:05,038 - DEBUG - Requesting: http://10.0.0.73:8081/analytics/uves/virtual-networks
2025-12-15 02:25:05,123 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-58560346:ctest-vn-23654763', 'href': 'http://10.0.0.73:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-58560346:ctest-vn-23654763?flat'}
2025-12-15 02:25:05,123 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-58560346:ctest-vn-23654763 is found in opserver
2025-12-15 02:25:05,135 - DEBUG - Do not have enough data to verify VN in agent
2025-12-15 02:25:05,141 - DEBUG - VRF ids for VN ctest-vn-23654763: {}
2025-12-15 02:25:05,141 - DEBUG - Requesting: http://10.0.0.73:8082/domains
2025-12-15 02:25:05,147 - DEBUG - Requesting: http://10.0.0.73:8082/domain/eda9fdd6-9446-4bbd-9ce2-44fcf4b543ab
2025-12-15 02:25:05,160 - DEBUG - Requesting: http://10.0.0.73:8082/project/9abb9308-8c55-475e-8f73-24931296ef6d
2025-12-15 02:25:05,240 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/326c3663-ea7f-48f9-94f2-58f5f9d3ac84
2025-12-15 02:25:05,255 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/326c3663-ea7f-48f9-94f2-58f5f9d3ac84
2025-12-15 02:25:05,267 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/f5e5782f-2264-455e-a358-e6cd8e35fdaa
2025-12-15 02:25:05,276 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/f5e5782f-2264-455e-a358-e6cd8e35fdaa
2025-12-15 02:25:05,284 - DEBUG - Requesting: http://10.0.0.73:8082/route-target/f9a4fb67-f667-4688-bde5-1050ccd971ac
2025-12-15 02:25:05,293 - DEBUG - Route Targets: ['target:64512:8000005']
2025-12-15 02:25:05,293 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/326c3663-ea7f-48f9-94f2-58f5f9d3ac84
2025-12-15 02:25:05,305 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/f5e5782f-2264-455e-a358-e6cd8e35fdaa
2025-12-15 02:25:05,324 - INFO - Verified VN network id 12 for VN 326c3663-ea7f-48f9-94f2-58f5f9d3ac84
2025-12-15 02:25:05,325 - INFO - Verifications in API Server for VN ctest-vn-61032505 passed
2025-12-15 02:25:05,325 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/326c3663-ea7f-48f9-94f2-58f5f9d3ac84
2025-12-15 02:25:05,336 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/f5e5782f-2264-455e-a358-e6cd8e35fdaa
2025-12-15 02:25:05,345 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/f5e5782f-2264-455e-a358-e6cd8e35fdaa
2025-12-15 02:25:05,353 - DEBUG - Requesting: http://10.0.0.73:8082/route-target/f9a4fb67-f667-4688-bde5-1050ccd971ac
2025-12-15 02:25:05,370 - DEBUG - Control-node 10.0.0.73 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-58560346:ctest-vn-61032505', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-58560346', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3633338802145020153', 'uuid-lslong': '10732738675458944132'}, 'enable': 'true', 'created': '2025-12-15T02:25:02', 'last-modified': '2025-12-15T02:25:03', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.606060'}
2025-12-15 02:25:05,376 - DEBUG - Route Targets: ['target:64512:8000005']
2025-12-15 02:25:05,376 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-61032505 passed
2025-12-15 02:25:05,377 - DEBUG - ====Verifying policy data for ctest-vn-61032505 in API_Server ======
2025-12-15 02:25:05,377 - DEBUG - Requesting: http://10.0.0.73:8082/domains
2025-12-15 02:25:05,384 - DEBUG - Requesting: http://10.0.0.73:8082/domain/eda9fdd6-9446-4bbd-9ce2-44fcf4b543ab
2025-12-15 02:25:05,398 - DEBUG - Requesting: http://10.0.0.73:8082/project/9abb9308-8c55-475e-8f73-24931296ef6d
2025-12-15 02:25:05,476 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/326c3663-ea7f-48f9-94f2-58f5f9d3ac84
2025-12-15 02:25:05,488 - DEBUG - ==>Verifying data for policy with id: 11d976c4-dcf5-4808-bc70-3fb90a632c22, fqn: ['default-domain', 'ctest-TestBasicPolicy-58560346', 'ctest-policy-allow-all-65793333']
2025-12-15 02:25:05,488 - INFO - VN ctest-vn-61032505 Policy verification: verify_vn_policy_in_api_server, status: True
2025-12-15 02:25:05,488 - DEBUG - Verifying the vn in opserver
2025-12-15 02:25:05,488 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-58560346:ctest-vn-61032505 virtual network link through opserver 10.0.0.73
2025-12-15 02:25:05,488 - DEBUG - Requesting: http://10.0.0.73:8081/analytics/uves/virtual-networks
2025-12-15 02:25:05,502 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-58560346:ctest-vn-61032505', 'href': 'http://10.0.0.73:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-58560346:ctest-vn-61032505?flat'}
2025-12-15 02:25:05,502 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-58560346:ctest-vn-61032505 is found in opserver
2025-12-15 02:25:05,514 - DEBUG - Do not have enough data to verify VN in agent
2025-12-15 02:25:05,520 - DEBUG - VRF ids for VN ctest-vn-61032505: {}
2025-12-15 02:25:05,593 - DEBUG - Services list from nova: [