2026-11-06 08:07:22,602 - INFO - Domain Default found not creating
2026-11-06 08:07:22,809 - INFO - Project ctest-TestBasicPolicy-01554347 not found, creating it
2026-11-06 08:07:23,333 - INFO - Created Project:ctest-TestBasicPolicy-01554347, ID : 1ec17f80-40aa-4ad9-b103-5e6786b8e569
2026-11-06 08:07:25,391 - INFO - ================================================================================
2026-11-06 08:07:25,392 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-11-06 08:07:25,392 - 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-11-06 08:07:25,667 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2026-11-06 08:07:25,667 - INFO - Initial checks done. Running the testcase now
2026-11-06 08:07:25,667 - INFO -
2026-11-06 08:07:26,381 - DEBUG - Response for create_network : {'network': {'id': '20a6145b-5571-4cae-a154-ba4720a69c46', 'name': 'ctest-vn-85619502', 'tenant_id': '1ec17f8040aa4ad9b1035e6786b8e569', 'project_id': '1ec17f8040aa4ad9b1035e6786b8e569', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-01554347', 'ctest-vn-85619502'], 'port_security_enabled': True, 'description': ''}}
2026-11-06 08:07:26,603 - DEBUG - Response for create_subnet : {'subnet': {'id': '0be89dd0-44ca-43c7-877a-bec072ce3657', 'name': '', 'tenant_id': '1ec17f8040aa4ad9b1035e6786b8e569', 'network_id': '20a6145b-5571-4cae-a154-ba4720a69c46', 'ip_version': 4, 'cidr': '211.228.192.0/26', 'allocation_pools': [{'start': '211.228.192.2', 'end': '211.228.192.62'}], 'gateway_ip': '211.228.192.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '211.228.192.2', 'tags': [], 'project_id': '1ec17f8040aa4ad9b1035e6786b8e569'}}
2026-11-06 08:07:26,625 - INFO - Created VN ctest-vn-85619502
2026-11-06 08:07:26,693 - DEBUG - VN ctest-vn-85619502 UUID is 20a6145b-5571-4cae-a154-ba4720a69c46
2026-11-06 08:07:27,115 - DEBUG - Response for create_network : {'network': {'id': 'f0fdbfd4-ac96-4e68-b8e9-1568e560b926', 'name': 'ctest-vn-31004326', 'tenant_id': '1ec17f8040aa4ad9b1035e6786b8e569', 'project_id': '1ec17f8040aa4ad9b1035e6786b8e569', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-01554347', 'ctest-vn-31004326'], 'port_security_enabled': True, 'description': ''}}
2026-11-06 08:07:27,331 - DEBUG - Response for create_subnet : {'subnet': {'id': '1a725fa1-d80d-4ab9-bb70-93838e03d0c8', 'name': '', 'tenant_id': '1ec17f8040aa4ad9b1035e6786b8e569', 'network_id': 'f0fdbfd4-ac96-4e68-b8e9-1568e560b926', 'ip_version': 4, 'cidr': '119.114.58.128/26', 'allocation_pools': [{'start': '119.114.58.130', 'end': '119.114.58.190'}], 'gateway_ip': '119.114.58.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '119.114.58.130', 'tags': [], 'project_id': '1ec17f8040aa4ad9b1035e6786b8e569'}}
2026-11-06 08:07:27,354 - INFO - Created VN ctest-vn-31004326
2026-11-06 08:07:27,408 - DEBUG - VN ctest-vn-31004326 UUID is f0fdbfd4-ac96-4e68-b8e9-1568e560b926
2026-11-06 08:07:27,549 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-01554347:ctest-vn-85619502, 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-01554347:ctest-vn-31004326, 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-11-06 08:07:27,910 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '20a6145b-5571-4cae-a154-ba4720a69c46', 'name': 'ctest-vn-85619502', 'tenant_id': '1ec17f8040aa4ad9b1035e6786b8e569', 'project_id': '1ec17f8040aa4ad9b1035e6786b8e569', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['0be89dd0-44ca-43c7-877a-bec072ce3657'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-01554347', 'ctest-vn-85619502'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-01554347', 'ctest-policy-allow-all-14958282']], 'subnet_ipam': [{'subnet_cidr': '211.228.192.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-11-06 08:07:28,173 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f0fdbfd4-ac96-4e68-b8e9-1568e560b926', 'name': 'ctest-vn-31004326', 'tenant_id': '1ec17f8040aa4ad9b1035e6786b8e569', 'project_id': '1ec17f8040aa4ad9b1035e6786b8e569', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['1a725fa1-d80d-4ab9-bb70-93838e03d0c8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-01554347', 'ctest-vn-31004326'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-01554347', 'ctest-policy-allow-all-14958282']], 'subnet_ipam': [{'subnet_cidr': '119.114.58.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-11-06 08:07:28,347 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-11-06 08:07:28,734 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-11-06 08:07:28,768 - DEBUG - Requesting: http://10.0.0.50:8082/domain/c28aa981-fce3-49df-9eb7-29143569a7ac
2026-11-06 08:07:28,787 - DEBUG - Requesting: http://10.0.0.50:8082/project/1ec17f80-40aa-4ad9-b103-5e6786b8e569
2026-11-06 08:07:28,875 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/20a6145b-5571-4cae-a154-ba4720a69c46
2026-11-06 08:07:28,893 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/20a6145b-5571-4cae-a154-ba4720a69c46
2026-11-06 08:07:28,906 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3c777123-6869-4e34-81c1-0a8580730e27
2026-11-06 08:07:28,917 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3c777123-6869-4e34-81c1-0a8580730e27
2026-11-06 08:07:28,928 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/04667a01-6d44-4815-9bc7-94b70835f3b3
2026-11-06 08:07:28,936 - DEBUG - Route Targets: ['target:64512:8000005']
2026-11-06 08:07:28,937 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/20a6145b-5571-4cae-a154-ba4720a69c46
2026-11-06 08:07:28,948 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3c777123-6869-4e34-81c1-0a8580730e27
2026-11-06 08:07:28,964 - INFO - Verified VN network id 11 for VN 20a6145b-5571-4cae-a154-ba4720a69c46
2026-11-06 08:07:28,965 - INFO - Verifications in API Server for VN ctest-vn-85619502 passed
2026-11-06 08:07:28,965 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/20a6145b-5571-4cae-a154-ba4720a69c46
2026-11-06 08:07:28,976 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3c777123-6869-4e34-81c1-0a8580730e27
2026-11-06 08:07:28,986 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3c777123-6869-4e34-81c1-0a8580730e27
2026-11-06 08:07:28,995 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/04667a01-6d44-4815-9bc7-94b70835f3b3
2026-11-06 08:07:29,015 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-01554347:ctest-vn-85619502', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-01554347', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2352590237855730862', 'uuid-lslong': '11625121352803327046'}, 'enable': 'true', 'created': '2026-11-06T08:07:26', 'last-modified': '2026-11-06T08:07:27', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.139136'}
2026-11-06 08:07:29,027 - DEBUG - Route Targets: ['target:64512:8000005']
2026-11-06 08:07:29,027 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-85619502 passed
2026-11-06 08:07:29,027 - DEBUG - ====Verifying policy data for ctest-vn-85619502 in API_Server ======
2026-11-06 08:07:29,027 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-11-06 08:07:29,036 - DEBUG - Requesting: http://10.0.0.50:8082/domain/c28aa981-fce3-49df-9eb7-29143569a7ac
2026-11-06 08:07:29,052 - DEBUG - Requesting: http://10.0.0.50:8082/project/1ec17f80-40aa-4ad9-b103-5e6786b8e569
2026-11-06 08:07:29,138 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/20a6145b-5571-4cae-a154-ba4720a69c46
2026-11-06 08:07:29,150 - DEBUG - ==>Verifying data for policy with id: dc6696eb-7c41-4f21-902d-93dab7a27f5e, fqn: ['default-domain', 'ctest-TestBasicPolicy-01554347', 'ctest-policy-allow-all-14958282']
2026-11-06 08:07:29,150 - INFO - VN ctest-vn-85619502 Policy verification: verify_vn_policy_in_api_server, status: True
2026-11-06 08:07:29,150 - DEBUG - Verifying the vn in opserver
2026-11-06 08:07:29,150 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-01554347:ctest-vn-85619502 virtual network link through opserver 10.0.0.50
2026-11-06 08:07:29,150 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-11-06 08:07:29,532 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-11-06 08:07:29,601 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-01554347:ctest-vn-85619502', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-01554347:ctest-vn-85619502?flat'}
2026-11-06 08:07:29,601 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-01554347:ctest-vn-85619502 is found in opserver
2026-11-06 08:07:29,619 - DEBUG - Do not have enough data to verify VN in agent
2026-11-06 08:07:29,626 - DEBUG - VRF ids for VN ctest-vn-85619502: {}
2026-11-06 08:07:29,626 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-11-06 08:07:29,634 - DEBUG - Requesting: http://10.0.0.50:8082/domain/c28aa981-fce3-49df-9eb7-29143569a7ac
2026-11-06 08:07:29,650 - DEBUG - Requesting: http://10.0.0.50:8082/project/1ec17f80-40aa-4ad9-b103-5e6786b8e569
2026-11-06 08:07:29,741 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f0fdbfd4-ac96-4e68-b8e9-1568e560b926
2026-11-06 08:07:29,758 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f0fdbfd4-ac96-4e68-b8e9-1568e560b926
2026-11-06 08:07:29,771 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/641d5828-6440-4335-874b-fb9007831b2f
2026-11-06 08:07:29,781 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/641d5828-6440-4335-874b-fb9007831b2f
2026-11-06 08:07:29,790 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/580ed2fa-2fcc-4a59-a4a1-d8350aeaa7fb
2026-11-06 08:07:29,799 - DEBUG - Route Targets: ['target:64512:8000006']
2026-11-06 08:07:29,799 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f0fdbfd4-ac96-4e68-b8e9-1568e560b926
2026-11-06 08:07:29,810 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/641d5828-6440-4335-874b-fb9007831b2f
2026-11-06 08:07:29,831 - INFO - Verified VN network id 12 for VN f0fdbfd4-ac96-4e68-b8e9-1568e560b926
2026-11-06 08:07:29,831 - INFO - Verifications in API Server for VN ctest-vn-31004326 passed
2026-11-06 08:07:29,831 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f0fdbfd4-ac96-4e68-b8e9-1568e560b926
2026-11-06 08:07:29,843 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/641d5828-6440-4335-874b-fb9007831b2f
2026-11-06 08:07:29,852 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/641d5828-6440-4335-874b-fb9007831b2f
2026-11-06 08:07:29,861 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/580ed2fa-2fcc-4a59-a4a1-d8350aeaa7fb
2026-11-06 08:07:29,876 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-01554347:ctest-vn-31004326', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-01554347', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17365246658360004200', 'uuid-lslong': '13324204512821426470'}, 'enable': 'true', 'created': '2026-11-06T08:07:27', 'last-modified': '2026-11-06T08:07:28', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.738508'}
2026-11-06 08:07:29,885 - DEBUG - Route Targets: ['target:64512:8000006']
2026-11-06 08:07:29,886 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-31004326 passed
2026-11-06 08:07:29,887 - DEBUG - ====Verifying policy data for ctest-vn-31004326 in API_Server ======
2026-11-06 08:07:29,887 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-11-06 08:07:29,895 - DEBUG - Requesting: http://10.0.0.50:8082/domain/c28aa981-fce3-49df-9eb7-29143569a7ac
2026-11-06 08:07:29,910 - DEBUG - Requesting: http://10.0.0.50:8082/project/1ec17f80-40aa-4ad9-b103-5e6786b8e569
2026-11-06 08:07:29,995 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f0fdbfd4-ac96-4e68-b8e9-1568e560b926
2026-11-06 08:07:30,009 - DEBUG - ==>Verifying data for policy with id: dc6696eb-7c41-4f21-902d-93dab7a27f5e, fqn: ['default-domain', 'ctest-TestBasicPolicy-01554347', 'ctest-policy-allow-all-14958282']
2026-11-06 08:07:30,009 - INFO - VN ctest-vn-31004326 Policy verification: verify_vn_policy_in_api_server, status: True
2026-11-06 08:07:30,009 - DEBUG - Verifying the vn in opserver
2026-11-06 08:07:30,009 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-01554347:ctest-vn-31004326 virtual network link through opserver 10.0.0.50
2026-11-06 08:07:30,010 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-11-06 08:07:30,022 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-01554347:ctest-vn-31004326', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-01554347:ctest-vn-31004326?flat'}
2026-11-06 08:07:30,022 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-01554347:ctest-vn-31004326 is found in opserver
2026-11-06 08:07:30,038 - DEBUG - Do not have enough data to verify VN in agent
2026-11-06 08:07:30,044 - DEBUG - VRF ids for VN ctest-vn-31004326: {}
2026-11-06 08:07:30,122 - DEBUG - Services list from nova: [