2026-10-26 15:48:48,105 - INFO - Domain Default found not creating
2026-10-26 15:48:48,365 - INFO - Project ctest-TestBasicPolicy-99315529 not found, creating it
2026-10-26 15:48:48,910 - INFO - Created Project:ctest-TestBasicPolicy-99315529, ID : b602ea29-e5c4-4f11-8d55-b7bfab340edd
2026-10-26 15:48:50,890 - INFO - ================================================================================
2026-10-26 15:48:50,890 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-10-26 15:48:50,890 - 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-10-26 15:48:51,182 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with
2026-10-26 15:48:51,182 - INFO - Initial checks done. Running the testcase now
2026-10-26 15:48:51,182 - INFO -
2026-10-26 15:48:51,926 - DEBUG - Response for create_network : {'network': {'id': '74c2eb0e-04a0-425d-a5a3-e8adda0ce46f', 'name': 'ctest-vn-29370757', 'tenant_id': 'b602ea29e5c44f118d55b7bfab340edd', 'project_id': 'b602ea29e5c44f118d55b7bfab340edd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-99315529', 'ctest-vn-29370757'], 'port_security_enabled': True, 'description': ''}}
2026-10-26 15:48:52,116 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd06125e6-5389-4e84-81ff-91f7f66515f9', 'name': '', 'tenant_id': 'b602ea29e5c44f118d55b7bfab340edd', 'network_id': '74c2eb0e-04a0-425d-a5a3-e8adda0ce46f', 'ip_version': 4, 'cidr': '197.126.109.128/26', 'allocation_pools': [{'start': '197.126.109.130', 'end': '197.126.109.190'}], 'gateway_ip': '197.126.109.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '197.126.109.130', 'tags': [], 'project_id': 'b602ea29e5c44f118d55b7bfab340edd'}}
2026-10-26 15:48:52,137 - INFO - Created VN ctest-vn-29370757
2026-10-26 15:48:52,195 - DEBUG - VN ctest-vn-29370757 UUID is 74c2eb0e-04a0-425d-a5a3-e8adda0ce46f
2026-10-26 15:48:52,566 - DEBUG - Response for create_network : {'network': {'id': '126fd29d-3039-40fc-a9ec-73d6359de089', 'name': 'ctest-vn-93044183', 'tenant_id': 'b602ea29e5c44f118d55b7bfab340edd', 'project_id': 'b602ea29e5c44f118d55b7bfab340edd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-99315529', 'ctest-vn-93044183'], 'port_security_enabled': True, 'description': ''}}
2026-10-26 15:48:52,793 - DEBUG - Response for create_subnet : {'subnet': {'id': '55eb29d4-a0dc-4862-8678-3a90de6c0f90', 'name': '', 'tenant_id': 'b602ea29e5c44f118d55b7bfab340edd', 'network_id': '126fd29d-3039-40fc-a9ec-73d6359de089', 'ip_version': 4, 'cidr': '217.166.219.0/26', 'allocation_pools': [{'start': '217.166.219.2', 'end': '217.166.219.62'}], 'gateway_ip': '217.166.219.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '217.166.219.2', 'tags': [], 'project_id': 'b602ea29e5c44f118d55b7bfab340edd'}}
2026-10-26 15:48:52,813 - INFO - Created VN ctest-vn-93044183
2026-10-26 15:48:52,867 - DEBUG - VN ctest-vn-93044183 UUID is 126fd29d-3039-40fc-a9ec-73d6359de089
2026-10-26 15:48:53,002 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-99315529:ctest-vn-29370757, 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-99315529:ctest-vn-93044183, 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-10-26 15:48:53,357 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '74c2eb0e-04a0-425d-a5a3-e8adda0ce46f', 'name': 'ctest-vn-29370757', 'tenant_id': 'b602ea29e5c44f118d55b7bfab340edd', 'project_id': 'b602ea29e5c44f118d55b7bfab340edd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['d06125e6-5389-4e84-81ff-91f7f66515f9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-99315529', 'ctest-vn-29370757'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-99315529', 'ctest-policy-allow-all-20592730']], 'subnet_ipam': [{'subnet_cidr': '197.126.109.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-10-26 15:48:53,620 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '126fd29d-3039-40fc-a9ec-73d6359de089', 'name': 'ctest-vn-93044183', 'tenant_id': 'b602ea29e5c44f118d55b7bfab340edd', 'project_id': 'b602ea29e5c44f118d55b7bfab340edd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['55eb29d4-a0dc-4862-8678-3a90de6c0f90'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-99315529', 'ctest-vn-93044183'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-99315529', 'ctest-policy-allow-all-20592730']], 'subnet_ipam': [{'subnet_cidr': '217.166.219.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-10-26 15:48:53,790 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-10-26 15:48:54,172 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-10-26 15:48:54,208 - DEBUG - Requesting: http://10.0.0.38:8082/domain/722e85e7-cd68-495f-a442-c686f9cc6d5d
2026-10-26 15:48:54,224 - DEBUG - Requesting: http://10.0.0.38:8082/project/b602ea29-e5c4-4f11-8d55-b7bfab340edd
2026-10-26 15:48:54,309 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/74c2eb0e-04a0-425d-a5a3-e8adda0ce46f
2026-10-26 15:48:54,324 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/74c2eb0e-04a0-425d-a5a3-e8adda0ce46f
2026-10-26 15:48:54,338 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d6ba6e8f-538e-47a2-bc95-9afab38da29c
2026-10-26 15:48:54,348 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d6ba6e8f-538e-47a2-bc95-9afab38da29c
2026-10-26 15:48:54,358 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/bd67dd16-ed89-449b-9294-ea35fbcb17ba
2026-10-26 15:48:54,369 - DEBUG - Route Targets: ['target:64512:8000005']
2026-10-26 15:48:54,369 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/74c2eb0e-04a0-425d-a5a3-e8adda0ce46f
2026-10-26 15:48:54,383 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d6ba6e8f-538e-47a2-bc95-9afab38da29c
2026-10-26 15:48:54,403 - INFO - Verified VN network id 12 for VN 74c2eb0e-04a0-425d-a5a3-e8adda0ce46f
2026-10-26 15:48:54,403 - INFO - Verifications in API Server for VN ctest-vn-29370757 passed
2026-10-26 15:48:54,403 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/74c2eb0e-04a0-425d-a5a3-e8adda0ce46f
2026-10-26 15:48:54,416 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d6ba6e8f-538e-47a2-bc95-9afab38da29c
2026-10-26 15:48:54,427 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d6ba6e8f-538e-47a2-bc95-9afab38da29c
2026-10-26 15:48:54,438 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/bd67dd16-ed89-449b-9294-ea35fbcb17ba
2026-10-26 15:48:54,457 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-99315529:ctest-vn-29370757', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-99315529', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8413545499321188957', 'uuid-lslong': '11935639270847210607'}, 'enable': 'true', 'created': '2026-10-26T15:48:51', 'last-modified': '2026-10-26T15:48:53', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.137151'}
2026-10-26 15:48:54,466 - DEBUG - Route Targets: ['target:64512:8000005']
2026-10-26 15:48:54,466 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-29370757 passed
2026-10-26 15:48:54,466 - DEBUG - ====Verifying policy data for ctest-vn-29370757 in API_Server ======
2026-10-26 15:48:54,466 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-10-26 15:48:54,473 - DEBUG - Requesting: http://10.0.0.38:8082/domain/722e85e7-cd68-495f-a442-c686f9cc6d5d
2026-10-26 15:48:54,487 - DEBUG - Requesting: http://10.0.0.38:8082/project/b602ea29-e5c4-4f11-8d55-b7bfab340edd
2026-10-26 15:48:54,577 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/74c2eb0e-04a0-425d-a5a3-e8adda0ce46f
2026-10-26 15:48:54,588 - DEBUG - ==>Verifying data for policy with id: b780a237-82f9-4afe-b213-16e6007037e7, fqn: ['default-domain', 'ctest-TestBasicPolicy-99315529', 'ctest-policy-allow-all-20592730']
2026-10-26 15:48:54,588 - INFO - VN ctest-vn-29370757 Policy verification: verify_vn_policy_in_api_server, status: True
2026-10-26 15:48:54,588 - DEBUG - Verifying the vn in opserver
2026-10-26 15:48:54,588 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-99315529:ctest-vn-29370757 virtual network link through opserver 10.0.0.38
2026-10-26 15:48:54,589 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-10-26 15:48:54,977 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-10-26 15:48:55,048 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-99315529:ctest-vn-29370757', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-99315529:ctest-vn-29370757?flat'}
2026-10-26 15:48:55,048 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-99315529:ctest-vn-29370757 is found in opserver
2026-10-26 15:48:55,061 - DEBUG - Do not have enough data to verify VN in agent
2026-10-26 15:48:55,068 - DEBUG - VRF ids for VN ctest-vn-29370757: {}
2026-10-26 15:48:55,068 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-10-26 15:48:55,076 - DEBUG - Requesting: http://10.0.0.38:8082/domain/722e85e7-cd68-495f-a442-c686f9cc6d5d
2026-10-26 15:48:55,091 - DEBUG - Requesting: http://10.0.0.38:8082/project/b602ea29-e5c4-4f11-8d55-b7bfab340edd
2026-10-26 15:48:55,179 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/126fd29d-3039-40fc-a9ec-73d6359de089
2026-10-26 15:48:55,195 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/126fd29d-3039-40fc-a9ec-73d6359de089
2026-10-26 15:48:55,207 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9c92c4f7-a4da-4c4f-967d-981f873b513a
2026-10-26 15:48:55,218 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9c92c4f7-a4da-4c4f-967d-981f873b513a
2026-10-26 15:48:55,227 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/5e24d2b4-3b7a-44d7-a191-f7e84ea69f54
2026-10-26 15:48:55,237 - DEBUG - Route Targets: ['target:64512:8000006']
2026-10-26 15:48:55,237 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/126fd29d-3039-40fc-a9ec-73d6359de089
2026-10-26 15:48:55,250 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9c92c4f7-a4da-4c4f-967d-981f873b513a
2026-10-26 15:48:55,271 - INFO - Verified VN network id 13 for VN 126fd29d-3039-40fc-a9ec-73d6359de089
2026-10-26 15:48:55,271 - INFO - Verifications in API Server for VN ctest-vn-93044183 passed
2026-10-26 15:48:55,271 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/126fd29d-3039-40fc-a9ec-73d6359de089
2026-10-26 15:48:55,286 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9c92c4f7-a4da-4c4f-967d-981f873b513a
2026-10-26 15:48:55,296 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9c92c4f7-a4da-4c4f-967d-981f873b513a
2026-10-26 15:48:55,306 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/5e24d2b4-3b7a-44d7-a191-f7e84ea69f54
2026-10-26 15:48:55,325 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-99315529:ctest-vn-93044183', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-99315529', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1328511987658342652', 'uuid-lslong': '12244288850773270665'}, 'enable': 'true', 'created': '2026-10-26T15:48:52', 'last-modified': '2026-10-26T15:48:53', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.739131'}
2026-10-26 15:48:55,334 - DEBUG - Route Targets: ['target:64512:8000006']
2026-10-26 15:48:55,334 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-93044183 passed
2026-10-26 15:48:55,334 - DEBUG - ====Verifying policy data for ctest-vn-93044183 in API_Server ======
2026-10-26 15:48:55,335 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-10-26 15:48:55,342 - DEBUG - Requesting: http://10.0.0.38:8082/domain/722e85e7-cd68-495f-a442-c686f9cc6d5d
2026-10-26 15:48:55,355 - DEBUG - Requesting: http://10.0.0.38:8082/project/b602ea29-e5c4-4f11-8d55-b7bfab340edd
2026-10-26 15:48:55,440 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/126fd29d-3039-40fc-a9ec-73d6359de089
2026-10-26 15:48:55,450 - DEBUG - ==>Verifying data for policy with id: b780a237-82f9-4afe-b213-16e6007037e7, fqn: ['default-domain', 'ctest-TestBasicPolicy-99315529', 'ctest-policy-allow-all-20592730']
2026-10-26 15:48:55,450 - INFO - VN ctest-vn-93044183 Policy verification: verify_vn_policy_in_api_server, status: True
2026-10-26 15:48:55,450 - DEBUG - Verifying the vn in opserver
2026-10-26 15:48:55,450 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-99315529:ctest-vn-93044183 virtual network link through opserver 10.0.0.38
2026-10-26 15:48:55,450 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-10-26 15:48:55,462 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-99315529:ctest-vn-93044183', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-99315529:ctest-vn-93044183?flat'}
2026-10-26 15:48:55,463 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-99315529:ctest-vn-93044183 is found in opserver
2026-10-26 15:48:55,478 - DEBUG - Do not have enough data to verify VN in agent
2026-10-26 15:48:55,485 - DEBUG - VRF ids for VN ctest-vn-93044183: {}
2026-10-26 15:48:55,556 - DEBUG - Services list from nova: [