2026-08-24 12:27:17,572 - INFO - Domain Default found not creating
2026-08-24 12:27:17,754 - INFO - Project ctest-TestBasicPolicy-57234676 not found, creating it
2026-08-24 12:27:18,227 - INFO - Created Project:ctest-TestBasicPolicy-57234676, ID : 9aebb936-5a0c-4f8e-9aaf-f3c0c9fe7998
2026-08-24 12:27:19,799 - INFO - ================================================================================
2026-08-24 12:27:19,800 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-08-24 12:27:19,800 - 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-08-24 12:27:20,061 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2026-08-24 12:27:20,061 - INFO - Initial checks done. Running the testcase now
2026-08-24 12:27:20,061 - INFO -
2026-08-24 12:27:20,665 - DEBUG - Response for create_network : {'network': {'id': 'c51b180d-96e5-4fae-969d-b7a54fa73ef6', 'name': 'ctest-vn-59134241', 'tenant_id': '9aebb9365a0c4f8e9aaff3c0c9fe7998', 'project_id': '9aebb9365a0c4f8e9aaff3c0c9fe7998', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-57234676', 'ctest-vn-59134241'], 'port_security_enabled': True, 'description': ''}}
2026-08-24 12:27:20,879 - DEBUG - Response for create_subnet : {'subnet': {'id': '68a2686e-4348-4880-afea-62ec5265743b', 'name': '', 'tenant_id': '9aebb9365a0c4f8e9aaff3c0c9fe7998', 'network_id': 'c51b180d-96e5-4fae-969d-b7a54fa73ef6', 'ip_version': 4, 'cidr': '114.228.8.128/26', 'allocation_pools': [{'start': '114.228.8.130', 'end': '114.228.8.190'}], 'gateway_ip': '114.228.8.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '114.228.8.130', 'tags': [], 'project_id': '9aebb9365a0c4f8e9aaff3c0c9fe7998'}}
2026-08-24 12:27:20,898 - INFO - Created VN ctest-vn-59134241
2026-08-24 12:27:20,953 - DEBUG - VN ctest-vn-59134241 UUID is c51b180d-96e5-4fae-969d-b7a54fa73ef6
2026-08-24 12:27:21,257 - DEBUG - Response for create_network : {'network': {'id': '835e9256-8447-4149-a314-d5cb1a3762ed', 'name': 'ctest-vn-25629843', 'tenant_id': '9aebb9365a0c4f8e9aaff3c0c9fe7998', 'project_id': '9aebb9365a0c4f8e9aaff3c0c9fe7998', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-57234676', 'ctest-vn-25629843'], 'port_security_enabled': True, 'description': ''}}
2026-08-24 12:27:21,463 - DEBUG - Response for create_subnet : {'subnet': {'id': '3a187a0d-53cf-429d-84c1-92e017cdcc50', 'name': '', 'tenant_id': '9aebb9365a0c4f8e9aaff3c0c9fe7998', 'network_id': '835e9256-8447-4149-a314-d5cb1a3762ed', 'ip_version': 4, 'cidr': '101.154.204.0/26', 'allocation_pools': [{'start': '101.154.204.2', 'end': '101.154.204.62'}], 'gateway_ip': '101.154.204.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '101.154.204.2', 'tags': [], 'project_id': '9aebb9365a0c4f8e9aaff3c0c9fe7998'}}
2026-08-24 12:27:21,482 - INFO - Created VN ctest-vn-25629843
2026-08-24 12:27:21,537 - DEBUG - VN ctest-vn-25629843 UUID is 835e9256-8447-4149-a314-d5cb1a3762ed
2026-08-24 12:27:21,648 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-57234676:ctest-vn-59134241, 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-57234676:ctest-vn-25629843, 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-08-24 12:27:21,958 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c51b180d-96e5-4fae-969d-b7a54fa73ef6', 'name': 'ctest-vn-59134241', 'tenant_id': '9aebb9365a0c4f8e9aaff3c0c9fe7998', 'project_id': '9aebb9365a0c4f8e9aaff3c0c9fe7998', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['68a2686e-4348-4880-afea-62ec5265743b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-57234676', 'ctest-vn-59134241'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-57234676', 'ctest-policy-allow-all-99126853']], 'subnet_ipam': [{'subnet_cidr': '114.228.8.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-08-24 12:27:22,230 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '835e9256-8447-4149-a314-d5cb1a3762ed', 'name': 'ctest-vn-25629843', 'tenant_id': '9aebb9365a0c4f8e9aaff3c0c9fe7998', 'project_id': '9aebb9365a0c4f8e9aaff3c0c9fe7998', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3a187a0d-53cf-429d-84c1-92e017cdcc50'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-57234676', 'ctest-vn-25629843'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-57234676', 'ctest-policy-allow-all-99126853']], 'subnet_ipam': [{'subnet_cidr': '101.154.204.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-08-24 12:27:22,401 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-08-24 12:27:22,724 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-08-24 12:27:22,755 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ea64a2c4-795f-4476-bd24-d64a7655fa7d
2026-08-24 12:27:22,770 - DEBUG - Requesting: http://10.0.0.38:8082/project/9aebb936-5a0c-4f8e-9aaf-f3c0c9fe7998
2026-08-24 12:27:22,846 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c51b180d-96e5-4fae-969d-b7a54fa73ef6
2026-08-24 12:27:22,860 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c51b180d-96e5-4fae-969d-b7a54fa73ef6
2026-08-24 12:27:22,871 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7085464f-9c1e-480f-b334-8590179ecb19
2026-08-24 12:27:22,879 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7085464f-9c1e-480f-b334-8590179ecb19
2026-08-24 12:27:22,885 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/a061d675-c184-41f8-a4b9-f9f2d6fd395f
2026-08-24 12:27:22,892 - DEBUG - Route Targets: ['target:64512:8000004']
2026-08-24 12:27:22,892 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c51b180d-96e5-4fae-969d-b7a54fa73ef6
2026-08-24 12:27:22,901 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7085464f-9c1e-480f-b334-8590179ecb19
2026-08-24 12:27:22,918 - INFO - Verified VN network id 11 for VN c51b180d-96e5-4fae-969d-b7a54fa73ef6
2026-08-24 12:27:22,918 - INFO - Verifications in API Server for VN ctest-vn-59134241 passed
2026-08-24 12:27:22,918 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c51b180d-96e5-4fae-969d-b7a54fa73ef6
2026-08-24 12:27:22,928 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7085464f-9c1e-480f-b334-8590179ecb19
2026-08-24 12:27:22,935 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7085464f-9c1e-480f-b334-8590179ecb19
2026-08-24 12:27:22,944 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/a061d675-c184-41f8-a4b9-f9f2d6fd395f
2026-08-24 12:27:22,959 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-57234676:ctest-vn-59134241', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-57234676', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14202972296488243118', 'uuid-lslong': '10853032597666610934'}, 'enable': 'true', 'created': '2026-08-24T12:27:20', 'last-modified': '2026-08-24T12:27:21', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.022281'}
2026-08-24 12:27:22,965 - DEBUG - Route Targets: ['target:64512:8000004']
2026-08-24 12:27:22,966 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-59134241 passed
2026-08-24 12:27:22,966 - DEBUG - ====Verifying policy data for ctest-vn-59134241 in API_Server ======
2026-08-24 12:27:22,966 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-08-24 12:27:22,972 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ea64a2c4-795f-4476-bd24-d64a7655fa7d
2026-08-24 12:27:22,985 - DEBUG - Requesting: http://10.0.0.38:8082/project/9aebb936-5a0c-4f8e-9aaf-f3c0c9fe7998
2026-08-24 12:27:23,059 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c51b180d-96e5-4fae-969d-b7a54fa73ef6
2026-08-24 12:27:23,070 - DEBUG - ==>Verifying data for policy with id: a9ddfb34-1699-4071-af24-6ac530d3c042, fqn: ['default-domain', 'ctest-TestBasicPolicy-57234676', 'ctest-policy-allow-all-99126853']
2026-08-24 12:27:23,070 - INFO - VN ctest-vn-59134241 Policy verification: verify_vn_policy_in_api_server, status: True
2026-08-24 12:27:23,070 - DEBUG - Verifying the vn in opserver
2026-08-24 12:27:23,070 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-57234676:ctest-vn-59134241 virtual network link through opserver 10.0.0.38
2026-08-24 12:27:23,070 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-08-24 12:27:23,411 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-08-24 12:27:23,464 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-57234676:ctest-vn-59134241', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-57234676:ctest-vn-59134241?flat'}
2026-08-24 12:27:23,464 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-57234676:ctest-vn-59134241 is found in opserver
2026-08-24 12:27:23,477 - DEBUG - Do not have enough data to verify VN in agent
2026-08-24 12:27:23,483 - DEBUG - VRF ids for VN ctest-vn-59134241: {}
2026-08-24 12:27:23,483 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-08-24 12:27:23,490 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ea64a2c4-795f-4476-bd24-d64a7655fa7d
2026-08-24 12:27:23,503 - DEBUG - Requesting: http://10.0.0.38:8082/project/9aebb936-5a0c-4f8e-9aaf-f3c0c9fe7998
2026-08-24 12:27:23,580 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/835e9256-8447-4149-a314-d5cb1a3762ed
2026-08-24 12:27:23,594 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/835e9256-8447-4149-a314-d5cb1a3762ed
2026-08-24 12:27:23,607 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1fca27f1-ee63-4f94-aecf-01cb2714c96e
2026-08-24 12:27:23,617 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1fca27f1-ee63-4f94-aecf-01cb2714c96e
2026-08-24 12:27:23,626 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/aa9683fd-774e-4c7c-9dbf-13fdc20dd0c4
2026-08-24 12:27:23,633 - DEBUG - Route Targets: ['target:64512:8000005']
2026-08-24 12:27:23,633 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/835e9256-8447-4149-a314-d5cb1a3762ed
2026-08-24 12:27:23,642 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1fca27f1-ee63-4f94-aecf-01cb2714c96e
2026-08-24 12:27:23,657 - INFO - Verified VN network id 12 for VN 835e9256-8447-4149-a314-d5cb1a3762ed
2026-08-24 12:27:23,657 - INFO - Verifications in API Server for VN ctest-vn-25629843 passed
2026-08-24 12:27:23,657 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/835e9256-8447-4149-a314-d5cb1a3762ed
2026-08-24 12:27:23,667 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1fca27f1-ee63-4f94-aecf-01cb2714c96e
2026-08-24 12:27:23,673 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1fca27f1-ee63-4f94-aecf-01cb2714c96e
2026-08-24 12:27:23,682 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/aa9683fd-774e-4c7c-9dbf-13fdc20dd0c4
2026-08-24 12:27:23,696 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-57234676:ctest-vn-25629843', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-57234676', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9466164367063466313', 'uuid-lslong': '11751252396011381485'}, 'enable': 'true', 'created': '2026-08-24T12:27:21', 'last-modified': '2026-08-24T12:27:22', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.516793'}
2026-08-24 12:27:23,703 - DEBUG - Route Targets: ['target:64512:8000005']
2026-08-24 12:27:23,703 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-25629843 passed
2026-08-24 12:27:23,703 - DEBUG - ====Verifying policy data for ctest-vn-25629843 in API_Server ======
2026-08-24 12:27:23,703 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-08-24 12:27:23,710 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ea64a2c4-795f-4476-bd24-d64a7655fa7d
2026-08-24 12:27:23,723 - DEBUG - Requesting: http://10.0.0.38:8082/project/9aebb936-5a0c-4f8e-9aaf-f3c0c9fe7998
2026-08-24 12:27:23,806 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/835e9256-8447-4149-a314-d5cb1a3762ed
2026-08-24 12:27:23,817 - DEBUG - ==>Verifying data for policy with id: a9ddfb34-1699-4071-af24-6ac530d3c042, fqn: ['default-domain', 'ctest-TestBasicPolicy-57234676', 'ctest-policy-allow-all-99126853']
2026-08-24 12:27:23,817 - INFO - VN ctest-vn-25629843 Policy verification: verify_vn_policy_in_api_server, status: True
2026-08-24 12:27:23,817 - DEBUG - Verifying the vn in opserver
2026-08-24 12:27:23,817 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-57234676:ctest-vn-25629843 virtual network link through opserver 10.0.0.38
2026-08-24 12:27:23,817 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-08-24 12:27:23,828 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-57234676:ctest-vn-25629843', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-57234676:ctest-vn-25629843?flat'}
2026-08-24 12:27:23,828 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-57234676:ctest-vn-25629843 is found in opserver
2026-08-24 12:27:23,839 - DEBUG - Do not have enough data to verify VN in agent
2026-08-24 12:27:23,844 - DEBUG - VRF ids for VN ctest-vn-25629843: {}
2026-08-24 12:27:23,898 - DEBUG - Services list from nova: [