2026-09-14 15:00:16,034 - INFO - Domain Default found not creating
2026-09-14 15:00:16,211 - INFO - Project ctest-TestBasicPolicy-57680894 not found, creating it
2026-09-14 15:00:16,723 - INFO - Created Project:ctest-TestBasicPolicy-57680894, ID : 1021ee80-4388-4419-92b7-f3bdbd318d61
2026-09-14 15:00:18,368 - INFO - ================================================================================
2026-09-14 15:00:18,368 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-09-14 15:00:18,368 - 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-09-14 15:00:18,637 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.25': '0'}} with
2026-09-14 15:00:18,637 - INFO - Initial checks done. Running the testcase now
2026-09-14 15:00:18,637 - INFO -
2026-09-14 15:00:19,253 - DEBUG - Response for create_network : {'network': {'id': 'c20c38da-56b8-4ad2-a407-df6564b23bd6', 'name': 'ctest-vn-76129420', 'tenant_id': '1021ee804388441992b7f3bdbd318d61', 'project_id': '1021ee804388441992b7f3bdbd318d61', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-57680894', 'ctest-vn-76129420'], 'port_security_enabled': True, 'description': ''}}
2026-09-14 15:00:19,483 - DEBUG - Response for create_subnet : {'subnet': {'id': '0dc92a64-f45f-42a2-9e69-f6fecb6e4596', 'name': '', 'tenant_id': '1021ee804388441992b7f3bdbd318d61', 'network_id': 'c20c38da-56b8-4ad2-a407-df6564b23bd6', 'ip_version': 4, 'cidr': '21.193.81.128/26', 'allocation_pools': [{'start': '21.193.81.130', 'end': '21.193.81.190'}], 'gateway_ip': '21.193.81.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '21.193.81.130', 'tags': [], 'project_id': '1021ee804388441992b7f3bdbd318d61'}}
2026-09-14 15:00:19,503 - INFO - Created VN ctest-vn-76129420
2026-09-14 15:00:19,556 - DEBUG - VN ctest-vn-76129420 UUID is c20c38da-56b8-4ad2-a407-df6564b23bd6
2026-09-14 15:00:19,881 - DEBUG - Response for create_network : {'network': {'id': '9c66c5e4-ee85-4f15-bd34-0fafcc782a6b', 'name': 'ctest-vn-93691885', 'tenant_id': '1021ee804388441992b7f3bdbd318d61', 'project_id': '1021ee804388441992b7f3bdbd318d61', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-57680894', 'ctest-vn-93691885'], 'port_security_enabled': True, 'description': ''}}
2026-09-14 15:00:20,125 - DEBUG - Response for create_subnet : {'subnet': {'id': '0541c2b4-f065-4aec-813c-d3121172e38e', 'name': '', 'tenant_id': '1021ee804388441992b7f3bdbd318d61', 'network_id': '9c66c5e4-ee85-4f15-bd34-0fafcc782a6b', 'ip_version': 4, 'cidr': '89.32.140.64/26', 'allocation_pools': [{'start': '89.32.140.66', 'end': '89.32.140.126'}], 'gateway_ip': '89.32.140.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '89.32.140.66', 'tags': [], 'project_id': '1021ee804388441992b7f3bdbd318d61'}}
2026-09-14 15:00:20,143 - INFO - Created VN ctest-vn-93691885
2026-09-14 15:00:20,200 - DEBUG - VN ctest-vn-93691885 UUID is 9c66c5e4-ee85-4f15-bd34-0fafcc782a6b
2026-09-14 15:00:20,314 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-57680894:ctest-vn-76129420, 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-57680894:ctest-vn-93691885, 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-09-14 15:00:20,628 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c20c38da-56b8-4ad2-a407-df6564b23bd6', 'name': 'ctest-vn-76129420', 'tenant_id': '1021ee804388441992b7f3bdbd318d61', 'project_id': '1021ee804388441992b7f3bdbd318d61', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['0dc92a64-f45f-42a2-9e69-f6fecb6e4596'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-57680894', 'ctest-vn-76129420'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-57680894', 'ctest-policy-allow-all-46953529']], 'subnet_ipam': [{'subnet_cidr': '21.193.81.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-09-14 15:00:20,899 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9c66c5e4-ee85-4f15-bd34-0fafcc782a6b', 'name': 'ctest-vn-93691885', 'tenant_id': '1021ee804388441992b7f3bdbd318d61', 'project_id': '1021ee804388441992b7f3bdbd318d61', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['0541c2b4-f065-4aec-813c-d3121172e38e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-57680894', 'ctest-vn-93691885'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-57680894', 'ctest-policy-allow-all-46953529']], 'subnet_ipam': [{'subnet_cidr': '89.32.140.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-09-14 15:00:21,064 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-09-14 15:00:21,385 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-09-14 15:00:21,416 - DEBUG - Requesting: http://10.0.0.38:8082/domain/fe14cc63-e64c-4666-bd14-0017060f988e
2026-09-14 15:00:21,429 - DEBUG - Requesting: http://10.0.0.38:8082/project/1021ee80-4388-4419-92b7-f3bdbd318d61
2026-09-14 15:00:21,505 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c20c38da-56b8-4ad2-a407-df6564b23bd6
2026-09-14 15:00:21,518 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c20c38da-56b8-4ad2-a407-df6564b23bd6
2026-09-14 15:00:21,534 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3d2213d7-2214-4340-ad75-a4b4371e09f3
2026-09-14 15:00:21,543 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3d2213d7-2214-4340-ad75-a4b4371e09f3
2026-09-14 15:00:21,552 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/b9e5668b-e9c8-43d9-bde7-af8260897af5
2026-09-14 15:00:21,561 - DEBUG - Route Targets: ['target:64512:8000005']
2026-09-14 15:00:21,561 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c20c38da-56b8-4ad2-a407-df6564b23bd6
2026-09-14 15:00:21,571 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3d2213d7-2214-4340-ad75-a4b4371e09f3
2026-09-14 15:00:21,587 - INFO - Verified VN network id 12 for VN c20c38da-56b8-4ad2-a407-df6564b23bd6
2026-09-14 15:00:21,587 - INFO - Verifications in API Server for VN ctest-vn-76129420 passed
2026-09-14 15:00:21,587 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c20c38da-56b8-4ad2-a407-df6564b23bd6
2026-09-14 15:00:21,597 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3d2213d7-2214-4340-ad75-a4b4371e09f3
2026-09-14 15:00:21,605 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3d2213d7-2214-4340-ad75-a4b4371e09f3
2026-09-14 15:00:21,613 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/b9e5668b-e9c8-43d9-bde7-af8260897af5
2026-09-14 15:00:21,626 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-57680894:ctest-vn-76129420', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-57680894', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13982613453487491794', 'uuid-lslong': '11819661373631249366'}, 'enable': 'true', 'created': '2026-09-14T15:00:19', 'last-modified': '2026-09-14T15:00:20', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.024570'}
2026-09-14 15:00:21,632 - DEBUG - Route Targets: ['target:64512:8000005']
2026-09-14 15:00:21,632 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-76129420 passed
2026-09-14 15:00:21,632 - DEBUG - ====Verifying policy data for ctest-vn-76129420 in API_Server ======
2026-09-14 15:00:21,632 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-09-14 15:00:21,638 - DEBUG - Requesting: http://10.0.0.38:8082/domain/fe14cc63-e64c-4666-bd14-0017060f988e
2026-09-14 15:00:21,650 - DEBUG - Requesting: http://10.0.0.38:8082/project/1021ee80-4388-4419-92b7-f3bdbd318d61
2026-09-14 15:00:21,727 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c20c38da-56b8-4ad2-a407-df6564b23bd6
2026-09-14 15:00:21,737 - DEBUG - ==>Verifying data for policy with id: 7603cc98-70de-4c69-b184-33e7e05d2594, fqn: ['default-domain', 'ctest-TestBasicPolicy-57680894', 'ctest-policy-allow-all-46953529']
2026-09-14 15:00:21,737 - INFO - VN ctest-vn-76129420 Policy verification: verify_vn_policy_in_api_server, status: True
2026-09-14 15:00:21,737 - DEBUG - Verifying the vn in opserver
2026-09-14 15:00:21,737 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-57680894:ctest-vn-76129420 virtual network link through opserver 10.0.0.38
2026-09-14 15:00:21,737 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-09-14 15:00:22,055 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-09-14 15:00:22,121 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-57680894:ctest-vn-76129420', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-57680894:ctest-vn-76129420?flat'}
2026-09-14 15:00:22,121 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-57680894:ctest-vn-76129420 is found in opserver
2026-09-14 15:00:22,131 - DEBUG - Do not have enough data to verify VN in agent
2026-09-14 15:00:22,135 - DEBUG - VRF ids for VN ctest-vn-76129420: {}
2026-09-14 15:00:22,135 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-09-14 15:00:22,142 - DEBUG - Requesting: http://10.0.0.38:8082/domain/fe14cc63-e64c-4666-bd14-0017060f988e
2026-09-14 15:00:22,153 - DEBUG - Requesting: http://10.0.0.38:8082/project/1021ee80-4388-4419-92b7-f3bdbd318d61
2026-09-14 15:00:22,234 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9c66c5e4-ee85-4f15-bd34-0fafcc782a6b
2026-09-14 15:00:22,247 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9c66c5e4-ee85-4f15-bd34-0fafcc782a6b
2026-09-14 15:00:22,258 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f68ae85c-797e-42e3-9b97-950af8ae3635
2026-09-14 15:00:22,267 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f68ae85c-797e-42e3-9b97-950af8ae3635
2026-09-14 15:00:22,275 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/c61ae3e2-ad59-4059-988a-0438a275e6ba
2026-09-14 15:00:22,281 - DEBUG - Route Targets: ['target:64512:8000006']
2026-09-14 15:00:22,281 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9c66c5e4-ee85-4f15-bd34-0fafcc782a6b
2026-09-14 15:00:22,290 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f68ae85c-797e-42e3-9b97-950af8ae3635
2026-09-14 15:00:22,303 - INFO - Verified VN network id 13 for VN 9c66c5e4-ee85-4f15-bd34-0fafcc782a6b
2026-09-14 15:00:22,303 - INFO - Verifications in API Server for VN ctest-vn-93691885 passed
2026-09-14 15:00:22,303 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9c66c5e4-ee85-4f15-bd34-0fafcc782a6b
2026-09-14 15:00:22,312 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f68ae85c-797e-42e3-9b97-950af8ae3635
2026-09-14 15:00:22,318 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f68ae85c-797e-42e3-9b97-950af8ae3635
2026-09-14 15:00:22,324 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/c61ae3e2-ad59-4059-988a-0438a275e6ba
2026-09-14 15:00:22,337 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-57680894:ctest-vn-93691885', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-57680894', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11269912704586174229', 'uuid-lslong': '13633539219681454699'}, 'enable': 'true', 'created': '2026-09-14T15:00:19', 'last-modified': '2026-09-14T15:00:20', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.473732'}
2026-09-14 15:00:22,343 - DEBUG - Route Targets: ['target:64512:8000006']
2026-09-14 15:00:22,343 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-93691885 passed
2026-09-14 15:00:22,343 - DEBUG - ====Verifying policy data for ctest-vn-93691885 in API_Server ======
2026-09-14 15:00:22,343 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-09-14 15:00:22,348 - DEBUG - Requesting: http://10.0.0.38:8082/domain/fe14cc63-e64c-4666-bd14-0017060f988e
2026-09-14 15:00:22,358 - DEBUG - Requesting: http://10.0.0.38:8082/project/1021ee80-4388-4419-92b7-f3bdbd318d61
2026-09-14 15:00:22,436 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9c66c5e4-ee85-4f15-bd34-0fafcc782a6b
2026-09-14 15:00:22,447 - DEBUG - ==>Verifying data for policy with id: 7603cc98-70de-4c69-b184-33e7e05d2594, fqn: ['default-domain', 'ctest-TestBasicPolicy-57680894', 'ctest-policy-allow-all-46953529']
2026-09-14 15:00:22,447 - INFO - VN ctest-vn-93691885 Policy verification: verify_vn_policy_in_api_server, status: True
2026-09-14 15:00:22,447 - DEBUG - Verifying the vn in opserver
2026-09-14 15:00:22,447 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-57680894:ctest-vn-93691885 virtual network link through opserver 10.0.0.38
2026-09-14 15:00:22,447 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-09-14 15:00:22,460 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-57680894:ctest-vn-93691885', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-57680894:ctest-vn-93691885?flat'}
2026-09-14 15:00:22,460 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-57680894:ctest-vn-93691885 is found in opserver
2026-09-14 15:00:22,472 - DEBUG - Do not have enough data to verify VN in agent
2026-09-14 15:00:22,477 - DEBUG - VRF ids for VN ctest-vn-93691885: {}
2026-09-14 15:00:22,537 - DEBUG - Services list from nova: [