2026-03-04 14:44:08,332 - INFO - Domain Default found not creating
2026-03-04 14:44:08,514 - INFO - Project ctest-TestBasicPolicy-54343813 not found, creating it
2026-03-04 14:44:08,978 - INFO - Created Project:ctest-TestBasicPolicy-54343813, ID : 46d78ac8-69e5-42ab-93d7-027634a2b6e6
2026-03-04 14:44:10,463 - INFO - ================================================================================
2026-03-04 14:44:10,463 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-03-04 14:44:10,463 - 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-03-04 14:44:10,718 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with
2026-03-04 14:44:10,718 - INFO - Initial checks done. Running the testcase now
2026-03-04 14:44:10,718 - INFO -
2026-03-04 14:44:11,269 - DEBUG - Response for create_network : {'network': {'id': '09bb8686-a904-4a35-8eb8-cd5d50e875fe', 'name': 'ctest-vn-39897822', 'tenant_id': '46d78ac869e542ab93d7027634a2b6e6', 'project_id': '46d78ac869e542ab93d7027634a2b6e6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54343813', 'ctest-vn-39897822'], 'port_security_enabled': True, 'description': ''}}
2026-03-04 14:44:11,479 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f84c341a-38c8-4b46-8f2c-ba3756f3ac4a', 'name': '', 'tenant_id': '46d78ac869e542ab93d7027634a2b6e6', 'network_id': '09bb8686-a904-4a35-8eb8-cd5d50e875fe', 'ip_version': 4, 'cidr': '218.211.233.192/26', 'allocation_pools': [{'start': '218.211.233.194', 'end': '218.211.233.254'}], 'gateway_ip': '218.211.233.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '218.211.233.194', 'tags': [], 'project_id': '46d78ac869e542ab93d7027634a2b6e6'}}
2026-03-04 14:44:11,497 - INFO - Created VN ctest-vn-39897822
2026-03-04 14:44:11,550 - DEBUG - VN ctest-vn-39897822 UUID is 09bb8686-a904-4a35-8eb8-cd5d50e875fe
2026-03-04 14:44:11,837 - DEBUG - Response for create_network : {'network': {'id': 'fdc3835b-79c9-445b-a407-352ae3c13a22', 'name': 'ctest-vn-34216245', 'tenant_id': '46d78ac869e542ab93d7027634a2b6e6', 'project_id': '46d78ac869e542ab93d7027634a2b6e6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54343813', 'ctest-vn-34216245'], 'port_security_enabled': True, 'description': ''}}
2026-03-04 14:44:12,006 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f714d5c3-0540-415e-aa13-0dcb6cedaa03', 'name': '', 'tenant_id': '46d78ac869e542ab93d7027634a2b6e6', 'network_id': 'fdc3835b-79c9-445b-a407-352ae3c13a22', 'ip_version': 4, 'cidr': '84.156.132.128/26', 'allocation_pools': [{'start': '84.156.132.130', 'end': '84.156.132.190'}], 'gateway_ip': '84.156.132.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '84.156.132.130', 'tags': [], 'project_id': '46d78ac869e542ab93d7027634a2b6e6'}}
2026-03-04 14:44:12,026 - INFO - Created VN ctest-vn-34216245
2026-03-04 14:44:12,082 - DEBUG - VN ctest-vn-34216245 UUID is fdc3835b-79c9-445b-a407-352ae3c13a22
2026-03-04 14:44:12,203 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-54343813:ctest-vn-39897822, 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-54343813:ctest-vn-34216245, 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-03-04 14:44:12,540 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '09bb8686-a904-4a35-8eb8-cd5d50e875fe', 'name': 'ctest-vn-39897822', 'tenant_id': '46d78ac869e542ab93d7027634a2b6e6', 'project_id': '46d78ac869e542ab93d7027634a2b6e6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f84c341a-38c8-4b46-8f2c-ba3756f3ac4a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54343813', 'ctest-vn-39897822'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-54343813', 'ctest-policy-allow-all-37918045']], 'subnet_ipam': [{'subnet_cidr': '218.211.233.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-03-04 14:44:12,828 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'fdc3835b-79c9-445b-a407-352ae3c13a22', 'name': 'ctest-vn-34216245', 'tenant_id': '46d78ac869e542ab93d7027634a2b6e6', 'project_id': '46d78ac869e542ab93d7027634a2b6e6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f714d5c3-0540-415e-aa13-0dcb6cedaa03'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54343813', 'ctest-vn-34216245'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-54343813', 'ctest-policy-allow-all-37918045']], 'subnet_ipam': [{'subnet_cidr': '84.156.132.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-03-04 14:44:12,986 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-03-04 14:44:13,287 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-03-04 14:44:13,317 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ab0cd13e-3882-43ac-9593-70caf94a3e68
2026-03-04 14:44:13,332 - DEBUG - Requesting: http://10.0.0.38:8082/project/46d78ac8-69e5-42ab-93d7-027634a2b6e6
2026-03-04 14:44:13,415 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/09bb8686-a904-4a35-8eb8-cd5d50e875fe
2026-03-04 14:44:13,426 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/09bb8686-a904-4a35-8eb8-cd5d50e875fe
2026-03-04 14:44:13,435 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/69813e58-c0c6-4667-ab41-e9085c7bef8e
2026-03-04 14:44:13,443 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/69813e58-c0c6-4667-ab41-e9085c7bef8e
2026-03-04 14:44:13,450 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/86a52837-a646-4a6d-87a7-6d0a1a1dc337
2026-03-04 14:44:13,456 - DEBUG - Route Targets: ['target:64512:8000004']
2026-03-04 14:44:13,456 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/09bb8686-a904-4a35-8eb8-cd5d50e875fe
2026-03-04 14:44:13,465 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/69813e58-c0c6-4667-ab41-e9085c7bef8e
2026-03-04 14:44:13,479 - INFO - Verified VN network id 12 for VN 09bb8686-a904-4a35-8eb8-cd5d50e875fe
2026-03-04 14:44:13,479 - INFO - Verifications in API Server for VN ctest-vn-39897822 passed
2026-03-04 14:44:13,480 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/09bb8686-a904-4a35-8eb8-cd5d50e875fe
2026-03-04 14:44:13,488 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/69813e58-c0c6-4667-ab41-e9085c7bef8e
2026-03-04 14:44:13,495 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/69813e58-c0c6-4667-ab41-e9085c7bef8e
2026-03-04 14:44:13,502 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/86a52837-a646-4a6d-87a7-6d0a1a1dc337
2026-03-04 14:44:13,515 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-54343813:ctest-vn-39897822', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-54343813', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '701302079905614389', 'uuid-lslong': '10284195549773592062'}, 'enable': 'true', 'created': '2026-03-04T14:44:11', 'last-modified': '2026-03-04T14:44:12', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.000490'}
2026-03-04 14:44:13,520 - DEBUG - Route Targets: ['target:64512:8000004']
2026-03-04 14:44:13,520 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-39897822 passed
2026-03-04 14:44:13,521 - DEBUG - ====Verifying policy data for ctest-vn-39897822 in API_Server ======
2026-03-04 14:44:13,521 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-03-04 14:44:13,526 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ab0cd13e-3882-43ac-9593-70caf94a3e68
2026-03-04 14:44:13,540 - DEBUG - Requesting: http://10.0.0.38:8082/project/46d78ac8-69e5-42ab-93d7-027634a2b6e6
2026-03-04 14:44:13,613 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/09bb8686-a904-4a35-8eb8-cd5d50e875fe
2026-03-04 14:44:13,623 - DEBUG - ==>Verifying data for policy with id: 3288b6f1-9a46-4508-9bf2-786896fabead, fqn: ['default-domain', 'ctest-TestBasicPolicy-54343813', 'ctest-policy-allow-all-37918045']
2026-03-04 14:44:13,623 - INFO - VN ctest-vn-39897822 Policy verification: verify_vn_policy_in_api_server, status: True
2026-03-04 14:44:13,623 - DEBUG - Verifying the vn in opserver
2026-03-04 14:44:13,623 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-54343813:ctest-vn-39897822 virtual network link through opserver 10.0.0.38
2026-03-04 14:44:13,623 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-03-04 14:44:13,924 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-03-04 14:44:13,987 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-54343813:ctest-vn-39897822', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-54343813:ctest-vn-39897822?flat'}
2026-03-04 14:44:13,987 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-54343813:ctest-vn-39897822 is found in opserver
2026-03-04 14:44:13,999 - DEBUG - Do not have enough data to verify VN in agent
2026-03-04 14:44:14,005 - DEBUG - VRF ids for VN ctest-vn-39897822: {}
2026-03-04 14:44:14,006 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-03-04 14:44:14,011 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ab0cd13e-3882-43ac-9593-70caf94a3e68
2026-03-04 14:44:14,023 - DEBUG - Requesting: http://10.0.0.38:8082/project/46d78ac8-69e5-42ab-93d7-027634a2b6e6
2026-03-04 14:44:14,092 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/fdc3835b-79c9-445b-a407-352ae3c13a22
2026-03-04 14:44:14,107 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/fdc3835b-79c9-445b-a407-352ae3c13a22
2026-03-04 14:44:14,118 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4e610e75-fcae-4c09-b1a9-fc4815da4b64
2026-03-04 14:44:14,125 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4e610e75-fcae-4c09-b1a9-fc4815da4b64
2026-03-04 14:44:14,132 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/0be22ed7-799a-4d78-bf1b-9172e1aef712
2026-03-04 14:44:14,139 - DEBUG - Route Targets: ['target:64512:8000005']
2026-03-04 14:44:14,139 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/fdc3835b-79c9-445b-a407-352ae3c13a22
2026-03-04 14:44:14,148 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4e610e75-fcae-4c09-b1a9-fc4815da4b64
2026-03-04 14:44:14,164 - INFO - Verified VN network id 13 for VN fdc3835b-79c9-445b-a407-352ae3c13a22
2026-03-04 14:44:14,164 - INFO - Verifications in API Server for VN ctest-vn-34216245 passed
2026-03-04 14:44:14,164 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/fdc3835b-79c9-445b-a407-352ae3c13a22
2026-03-04 14:44:14,174 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4e610e75-fcae-4c09-b1a9-fc4815da4b64
2026-03-04 14:44:14,182 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4e610e75-fcae-4c09-b1a9-fc4815da4b64
2026-03-04 14:44:14,190 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/0be22ed7-799a-4d78-bf1b-9172e1aef712
2026-03-04 14:44:14,204 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-54343813:ctest-vn-34216245', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-54343813', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18285603340962841691', 'uuid-lslong': '11819474205383146018'}, 'enable': 'true', 'created': '2026-03-04T14:44:11', 'last-modified': '2026-03-04T14:44:12', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.446259'}
2026-03-04 14:44:14,211 - DEBUG - Route Targets: ['target:64512:8000005']
2026-03-04 14:44:14,211 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-34216245 passed
2026-03-04 14:44:14,211 - DEBUG - ====Verifying policy data for ctest-vn-34216245 in API_Server ======
2026-03-04 14:44:14,211 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-03-04 14:44:14,217 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ab0cd13e-3882-43ac-9593-70caf94a3e68
2026-03-04 14:44:14,229 - DEBUG - Requesting: http://10.0.0.38:8082/project/46d78ac8-69e5-42ab-93d7-027634a2b6e6
2026-03-04 14:44:14,304 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/fdc3835b-79c9-445b-a407-352ae3c13a22
2026-03-04 14:44:14,316 - DEBUG - ==>Verifying data for policy with id: 3288b6f1-9a46-4508-9bf2-786896fabead, fqn: ['default-domain', 'ctest-TestBasicPolicy-54343813', 'ctest-policy-allow-all-37918045']
2026-03-04 14:44:14,316 - INFO - VN ctest-vn-34216245 Policy verification: verify_vn_policy_in_api_server, status: True
2026-03-04 14:44:14,316 - DEBUG - Verifying the vn in opserver
2026-03-04 14:44:14,316 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-54343813:ctest-vn-34216245 virtual network link through opserver 10.0.0.38
2026-03-04 14:44:14,316 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-03-04 14:44:14,327 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-54343813:ctest-vn-34216245', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-54343813:ctest-vn-34216245?flat'}
2026-03-04 14:44:14,327 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-54343813:ctest-vn-34216245 is found in opserver
2026-03-04 14:44:14,337 - DEBUG - Do not have enough data to verify VN in agent
2026-03-04 14:44:14,341 - DEBUG - VRF ids for VN ctest-vn-34216245: {}
2026-03-04 14:44:14,406 - DEBUG - Services list from nova: [