2026-01-05 02:03:25,732 - INFO - Domain Default found not creating
2026-01-05 02:03:25,880 - INFO - Project ctest-TestBasicPolicy-53753005 not found, creating it
2026-01-05 02:03:26,310 - INFO - Created Project:ctest-TestBasicPolicy-53753005, ID : 1afd5100-612f-4441-8554-a9a262cbe68d
2026-01-05 02:03:27,752 - INFO - ================================================================================
2026-01-05 02:03:27,752 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-01-05 02:03:27,752 - 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
2026-01-05 02:03:28,006 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.17': '0'}} with
2026-01-05 02:03:28,006 - INFO - Initial checks done. Running the testcase now
2026-01-05 02:03:28,007 - INFO -
2026-01-05 02:03:28,554 - DEBUG - Response for create_network : {'network': {'id': 'a008827a-56c2-44d1-a422-6c5a5b7e249a', 'name': 'ctest-vn-73494656', 'tenant_id': '1afd5100612f44418554a9a262cbe68d', 'project_id': '1afd5100612f44418554a9a262cbe68d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-53753005', 'ctest-vn-73494656'], 'port_security_enabled': True, 'description': ''}}
2026-01-05 02:03:28,771 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c0c0c2ef-f932-473d-bee2-d7f71fb2cbbc', 'name': '', 'tenant_id': '1afd5100612f44418554a9a262cbe68d', 'network_id': 'a008827a-56c2-44d1-a422-6c5a5b7e249a', 'ip_version': 4, 'cidr': '8.44.94.128/26', 'allocation_pools': [{'start': '8.44.94.130', 'end': '8.44.94.190'}], 'gateway_ip': '8.44.94.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '8.44.94.130', 'tags': [], 'project_id': '1afd5100612f44418554a9a262cbe68d'}}
2026-01-05 02:03:28,789 - INFO - Created VN ctest-vn-73494656
2026-01-05 02:03:28,841 - DEBUG - VN ctest-vn-73494656 UUID is a008827a-56c2-44d1-a422-6c5a5b7e249a
2026-01-05 02:03:29,131 - DEBUG - Response for create_network : {'network': {'id': '6363d0ed-163a-4e61-8fe8-5d3863b268ab', 'name': 'ctest-vn-26402675', 'tenant_id': '1afd5100612f44418554a9a262cbe68d', 'project_id': '1afd5100612f44418554a9a262cbe68d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-53753005', 'ctest-vn-26402675'], 'port_security_enabled': True, 'description': ''}}
2026-01-05 02:03:29,274 - DEBUG - Response for create_subnet : {'subnet': {'id': '00a25986-1d04-478f-8f9c-7c3d61b2667f', 'name': '', 'tenant_id': '1afd5100612f44418554a9a262cbe68d', 'network_id': '6363d0ed-163a-4e61-8fe8-5d3863b268ab', 'ip_version': 4, 'cidr': '107.6.153.64/26', 'allocation_pools': [{'start': '107.6.153.66', 'end': '107.6.153.126'}], 'gateway_ip': '107.6.153.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '107.6.153.66', 'tags': [], 'project_id': '1afd5100612f44418554a9a262cbe68d'}}
2026-01-05 02:03:29,290 - INFO - Created VN ctest-vn-26402675
2026-01-05 02:03:29,341 - DEBUG - VN ctest-vn-26402675 UUID is 6363d0ed-163a-4e61-8fe8-5d3863b268ab
2026-01-05 02:03:29,493 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-53753005:ctest-vn-73494656, 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-53753005:ctest-vn-26402675, 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]
2026-01-05 02:03:29,783 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a008827a-56c2-44d1-a422-6c5a5b7e249a', 'name': 'ctest-vn-73494656', 'tenant_id': '1afd5100612f44418554a9a262cbe68d', 'project_id': '1afd5100612f44418554a9a262cbe68d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c0c0c2ef-f932-473d-bee2-d7f71fb2cbbc'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-53753005', 'ctest-vn-73494656'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-53753005', 'ctest-policy-allow-all-04332820']], 'subnet_ipam': [{'subnet_cidr': '8.44.94.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-05 02:03:30,024 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6363d0ed-163a-4e61-8fe8-5d3863b268ab', 'name': 'ctest-vn-26402675', 'tenant_id': '1afd5100612f44418554a9a262cbe68d', 'project_id': '1afd5100612f44418554a9a262cbe68d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['00a25986-1d04-478f-8f9c-7c3d61b2667f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-53753005', 'ctest-vn-26402675'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-53753005', 'ctest-policy-allow-all-04332820']], 'subnet_ipam': [{'subnet_cidr': '107.6.153.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-05 02:03:30,173 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2026-01-05 02:03:30,498 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2026-01-05 02:03:30,526 - DEBUG - Requesting: http://10.0.0.242:8082/domain/b2479851-f431-47ba-af9b-506c73c10853
2026-01-05 02:03:30,538 - DEBUG - Requesting: http://10.0.0.242:8082/project/1afd5100-612f-4441-8554-a9a262cbe68d
2026-01-05 02:03:30,603 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/a008827a-56c2-44d1-a422-6c5a5b7e249a
2026-01-05 02:03:30,614 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/a008827a-56c2-44d1-a422-6c5a5b7e249a
2026-01-05 02:03:30,626 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/c2e39f83-e726-4ff0-86b5-7cfdca824f89
2026-01-05 02:03:30,633 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/c2e39f83-e726-4ff0-86b5-7cfdca824f89
2026-01-05 02:03:30,641 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/6c02786a-dcdd-4b6c-98fa-30716fd021f1
2026-01-05 02:03:30,648 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-05 02:03:30,649 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/a008827a-56c2-44d1-a422-6c5a5b7e249a
2026-01-05 02:03:30,656 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/c2e39f83-e726-4ff0-86b5-7cfdca824f89
2026-01-05 02:03:30,668 - INFO - Verified VN network id 11 for VN a008827a-56c2-44d1-a422-6c5a5b7e249a
2026-01-05 02:03:30,668 - INFO - Verifications in API Server for VN ctest-vn-73494656 passed
2026-01-05 02:03:30,668 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/a008827a-56c2-44d1-a422-6c5a5b7e249a
2026-01-05 02:03:30,675 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/c2e39f83-e726-4ff0-86b5-7cfdca824f89
2026-01-05 02:03:30,681 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/c2e39f83-e726-4ff0-86b5-7cfdca824f89
2026-01-05 02:03:30,686 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/6c02786a-dcdd-4b6c-98fa-30716fd021f1
2026-01-05 02:03:30,696 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-53753005:ctest-vn-73494656', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-53753005', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11531610307835348177', 'uuid-lslong': '11827134706766193818'}, 'enable': 'true', 'created': '2026-01-05T02:03:28', 'last-modified': '2026-01-05T02:03:29', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.935043'}
2026-01-05 02:03:30,701 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-05 02:03:30,701 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-73494656 passed
2026-01-05 02:03:30,701 - DEBUG - ====Verifying policy data for ctest-vn-73494656 in API_Server ======
2026-01-05 02:03:30,701 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2026-01-05 02:03:30,707 - DEBUG - Requesting: http://10.0.0.242:8082/domain/b2479851-f431-47ba-af9b-506c73c10853
2026-01-05 02:03:30,717 - DEBUG - Requesting: http://10.0.0.242:8082/project/1afd5100-612f-4441-8554-a9a262cbe68d
2026-01-05 02:03:30,784 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/a008827a-56c2-44d1-a422-6c5a5b7e249a
2026-01-05 02:03:30,792 - DEBUG - ==>Verifying data for policy with id: ead7e434-4947-414b-ab3b-b37740b0d089, fqn: ['default-domain', 'ctest-TestBasicPolicy-53753005', 'ctest-policy-allow-all-04332820']
2026-01-05 02:03:30,792 - INFO - VN ctest-vn-73494656 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-05 02:03:30,792 - DEBUG - Verifying the vn in opserver
2026-01-05 02:03:30,792 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-53753005:ctest-vn-73494656 virtual network link through opserver 10.0.0.242
2026-01-05 02:03:30,792 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks
2026-01-05 02:03:31,082 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks
2026-01-05 02:03:31,143 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-53753005:ctest-vn-73494656', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-53753005:ctest-vn-73494656?flat'}
2026-01-05 02:03:31,143 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-53753005:ctest-vn-73494656 is found in opserver
2026-01-05 02:03:31,152 - DEBUG - Do not have enough data to verify VN in agent
2026-01-05 02:03:31,156 - DEBUG - VRF ids for VN ctest-vn-73494656: {}
2026-01-05 02:03:31,156 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2026-01-05 02:03:31,161 - DEBUG - Requesting: http://10.0.0.242:8082/domain/b2479851-f431-47ba-af9b-506c73c10853
2026-01-05 02:03:31,171 - DEBUG - Requesting: http://10.0.0.242:8082/project/1afd5100-612f-4441-8554-a9a262cbe68d
2026-01-05 02:03:31,246 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/6363d0ed-163a-4e61-8fe8-5d3863b268ab
2026-01-05 02:03:31,256 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/6363d0ed-163a-4e61-8fe8-5d3863b268ab
2026-01-05 02:03:31,263 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/7e48ab0f-56e9-4142-89ef-b94d08c7f1ae
2026-01-05 02:03:31,269 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/7e48ab0f-56e9-4142-89ef-b94d08c7f1ae
2026-01-05 02:03:31,274 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/0486954c-b5ff-4dab-939f-5bb7b47341b5
2026-01-05 02:03:31,278 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-05 02:03:31,278 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/6363d0ed-163a-4e61-8fe8-5d3863b268ab
2026-01-05 02:03:31,285 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/7e48ab0f-56e9-4142-89ef-b94d08c7f1ae
2026-01-05 02:03:31,295 - INFO - Verified VN network id 12 for VN 6363d0ed-163a-4e61-8fe8-5d3863b268ab
2026-01-05 02:03:31,296 - INFO - Verifications in API Server for VN ctest-vn-26402675 passed
2026-01-05 02:03:31,296 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/6363d0ed-163a-4e61-8fe8-5d3863b268ab
2026-01-05 02:03:31,303 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/7e48ab0f-56e9-4142-89ef-b94d08c7f1ae
2026-01-05 02:03:31,307 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/7e48ab0f-56e9-4142-89ef-b94d08c7f1ae
2026-01-05 02:03:31,312 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/0486954c-b5ff-4dab-939f-5bb7b47341b5
2026-01-05 02:03:31,321 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-53753005:ctest-vn-26402675', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-53753005', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7161797549147967073', 'uuid-lslong': '10369640638792755371'}, 'enable': 'true', 'created': '2026-01-05T02:03:29', 'last-modified': '2026-01-05T02:03:29', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.328216'}
2026-01-05 02:03:31,326 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-05 02:03:31,326 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-26402675 passed
2026-01-05 02:03:31,326 - DEBUG - ====Verifying policy data for ctest-vn-26402675 in API_Server ======
2026-01-05 02:03:31,326 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2026-01-05 02:03:31,331 - DEBUG - Requesting: http://10.0.0.242:8082/domain/b2479851-f431-47ba-af9b-506c73c10853
2026-01-05 02:03:31,339 - DEBUG - Requesting: http://10.0.0.242:8082/project/1afd5100-612f-4441-8554-a9a262cbe68d
2026-01-05 02:03:31,407 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/6363d0ed-163a-4e61-8fe8-5d3863b268ab
2026-01-05 02:03:31,422 - DEBUG - ==>Verifying data for policy with id: ead7e434-4947-414b-ab3b-b37740b0d089, fqn: ['default-domain', 'ctest-TestBasicPolicy-53753005', 'ctest-policy-allow-all-04332820']
2026-01-05 02:03:31,422 - INFO - VN ctest-vn-26402675 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-05 02:03:31,422 - DEBUG - Verifying the vn in opserver
2026-01-05 02:03:31,422 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-53753005:ctest-vn-26402675 virtual network link through opserver 10.0.0.242
2026-01-05 02:03:31,423 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks
2026-01-05 02:03:31,431 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-53753005:ctest-vn-26402675', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-53753005:ctest-vn-26402675?flat'}
2026-01-05 02:03:31,432 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-53753005:ctest-vn-26402675 is found in opserver
2026-01-05 02:03:31,439 - DEBUG - Do not have enough data to verify VN in agent
2026-01-05 02:03:31,443 - DEBUG - VRF ids for VN ctest-vn-26402675: {}
2026-01-05 02:03:31,496 - DEBUG - Services list from nova: [