2026-07-06 20:08:58,962 - INFO - Domain Default found not creating
2026-07-06 20:08:59,097 - INFO - Project ctest-TestBasicPolicy-71387960 not found, creating it
2026-07-06 20:08:59,558 - INFO - Created Project:ctest-TestBasicPolicy-71387960, ID : 6228692d-7702-4e4b-aa12-f07072bbf895
2026-07-06 20:09:01,032 - INFO - ================================================================================
2026-07-06 20:09:01,032 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-07-06 20:09:01,032 - 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-07-06 20:09:01,288 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2026-07-06 20:09:01,288 - INFO - Initial checks done. Running the testcase now
2026-07-06 20:09:01,288 - INFO -
2026-07-06 20:09:01,819 - DEBUG - Response for create_network : {'network': {'id': '97ee0852-0282-4eb5-abef-4b4c50c79ea3', 'name': 'ctest-vn-09221263', 'tenant_id': '6228692d77024e4baa12f07072bbf895', 'project_id': '6228692d77024e4baa12f07072bbf895', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71387960', 'ctest-vn-09221263'], 'port_security_enabled': True, 'description': ''}}
2026-07-06 20:09:02,006 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a9ce0ba5-a23d-4c05-9e91-8c1c0fec6da7', 'name': '', 'tenant_id': '6228692d77024e4baa12f07072bbf895', 'network_id': '97ee0852-0282-4eb5-abef-4b4c50c79ea3', 'ip_version': 4, 'cidr': '201.92.163.192/26', 'allocation_pools': [{'start': '201.92.163.194', 'end': '201.92.163.254'}], 'gateway_ip': '201.92.163.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '201.92.163.194', 'tags': [], 'project_id': '6228692d77024e4baa12f07072bbf895'}}
2026-07-06 20:09:02,020 - INFO - Created VN ctest-vn-09221263
2026-07-06 20:09:02,071 - DEBUG - VN ctest-vn-09221263 UUID is 97ee0852-0282-4eb5-abef-4b4c50c79ea3
2026-07-06 20:09:02,388 - DEBUG - Response for create_network : {'network': {'id': '6ea25ad7-50d7-47f5-bc8e-9a4fed47013d', 'name': 'ctest-vn-31736688', 'tenant_id': '6228692d77024e4baa12f07072bbf895', 'project_id': '6228692d77024e4baa12f07072bbf895', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71387960', 'ctest-vn-31736688'], 'port_security_enabled': True, 'description': ''}}
2026-07-06 20:09:02,595 - DEBUG - Response for create_subnet : {'subnet': {'id': '4fc72420-cdbc-47ac-8e5a-ce2696867570', 'name': '', 'tenant_id': '6228692d77024e4baa12f07072bbf895', 'network_id': '6ea25ad7-50d7-47f5-bc8e-9a4fed47013d', 'ip_version': 4, 'cidr': '105.109.90.128/26', 'allocation_pools': [{'start': '105.109.90.130', 'end': '105.109.90.190'}], 'gateway_ip': '105.109.90.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '105.109.90.130', 'tags': [], 'project_id': '6228692d77024e4baa12f07072bbf895'}}
2026-07-06 20:09:02,610 - INFO - Created VN ctest-vn-31736688
2026-07-06 20:09:02,659 - DEBUG - VN ctest-vn-31736688 UUID is 6ea25ad7-50d7-47f5-bc8e-9a4fed47013d
2026-07-06 20:09:02,799 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-71387960:ctest-vn-09221263, 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-71387960:ctest-vn-31736688, 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-07-06 20:09:03,073 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '97ee0852-0282-4eb5-abef-4b4c50c79ea3', 'name': 'ctest-vn-09221263', 'tenant_id': '6228692d77024e4baa12f07072bbf895', 'project_id': '6228692d77024e4baa12f07072bbf895', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a9ce0ba5-a23d-4c05-9e91-8c1c0fec6da7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71387960', 'ctest-vn-09221263'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-71387960', 'ctest-policy-allow-all-51632070']], 'subnet_ipam': [{'subnet_cidr': '201.92.163.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-07-06 20:09:03,297 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6ea25ad7-50d7-47f5-bc8e-9a4fed47013d', 'name': 'ctest-vn-31736688', 'tenant_id': '6228692d77024e4baa12f07072bbf895', 'project_id': '6228692d77024e4baa12f07072bbf895', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4fc72420-cdbc-47ac-8e5a-ce2696867570'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71387960', 'ctest-vn-31736688'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-71387960', 'ctest-policy-allow-all-51632070']], 'subnet_ipam': [{'subnet_cidr': '105.109.90.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-07-06 20:09:03,463 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-07-06 20:09:03,781 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-07-06 20:09:03,805 - DEBUG - Requesting: http://10.0.0.50:8082/domain/281f326f-481b-4c0b-bc35-6a5c400b6c4b
2026-07-06 20:09:03,814 - DEBUG - Requesting: http://10.0.0.50:8082/project/6228692d-7702-4e4b-aa12-f07072bbf895
2026-07-06 20:09:03,881 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/97ee0852-0282-4eb5-abef-4b4c50c79ea3
2026-07-06 20:09:03,891 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/97ee0852-0282-4eb5-abef-4b4c50c79ea3
2026-07-06 20:09:03,898 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e10f0cb0-6009-487f-af71-aabea4e962b3
2026-07-06 20:09:03,904 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e10f0cb0-6009-487f-af71-aabea4e962b3
2026-07-06 20:09:03,909 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/a8d4845a-b3f5-495e-b4d1-d73c4647eef1
2026-07-06 20:09:03,915 - DEBUG - Route Targets: ['target:64512:8000004']
2026-07-06 20:09:03,915 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/97ee0852-0282-4eb5-abef-4b4c50c79ea3
2026-07-06 20:09:03,922 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e10f0cb0-6009-487f-af71-aabea4e962b3
2026-07-06 20:09:03,933 - INFO - Verified VN network id 12 for VN 97ee0852-0282-4eb5-abef-4b4c50c79ea3
2026-07-06 20:09:03,933 - INFO - Verifications in API Server for VN ctest-vn-09221263 passed
2026-07-06 20:09:03,933 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/97ee0852-0282-4eb5-abef-4b4c50c79ea3
2026-07-06 20:09:03,940 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e10f0cb0-6009-487f-af71-aabea4e962b3
2026-07-06 20:09:03,945 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e10f0cb0-6009-487f-af71-aabea4e962b3
2026-07-06 20:09:03,950 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/a8d4845a-b3f5-495e-b4d1-d73c4647eef1
2026-07-06 20:09:03,959 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-71387960:ctest-vn-09221263', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-71387960', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10947696892506689205', 'uuid-lslong': '12389203891064381091'}, 'enable': 'true', 'created': '2026-07-06T20:09:01', 'last-modified': '2026-07-06T20:09:03', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.903830'}
2026-07-06 20:09:03,963 - DEBUG - Route Targets: ['target:64512:8000004']
2026-07-06 20:09:03,964 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-09221263 passed
2026-07-06 20:09:03,964 - DEBUG - ====Verifying policy data for ctest-vn-09221263 in API_Server ======
2026-07-06 20:09:03,964 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-07-06 20:09:03,968 - DEBUG - Requesting: http://10.0.0.50:8082/domain/281f326f-481b-4c0b-bc35-6a5c400b6c4b
2026-07-06 20:09:03,976 - DEBUG - Requesting: http://10.0.0.50:8082/project/6228692d-7702-4e4b-aa12-f07072bbf895
2026-07-06 20:09:04,044 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/97ee0852-0282-4eb5-abef-4b4c50c79ea3
2026-07-06 20:09:04,052 - DEBUG - ==>Verifying data for policy with id: 2aea6e17-c2f3-4913-a724-0a70b8345bba, fqn: ['default-domain', 'ctest-TestBasicPolicy-71387960', 'ctest-policy-allow-all-51632070']
2026-07-06 20:09:04,052 - INFO - VN ctest-vn-09221263 Policy verification: verify_vn_policy_in_api_server, status: True
2026-07-06 20:09:04,052 - DEBUG - Verifying the vn in opserver
2026-07-06 20:09:04,052 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-71387960:ctest-vn-09221263 virtual network link through opserver 10.0.0.50
2026-07-06 20:09:04,052 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-07-06 20:09:04,369 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-07-06 20:09:04,412 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-71387960:ctest-vn-09221263', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-71387960:ctest-vn-09221263?flat'}
2026-07-06 20:09:04,412 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-71387960:ctest-vn-09221263 is found in opserver
2026-07-06 20:09:04,420 - DEBUG - Do not have enough data to verify VN in agent
2026-07-06 20:09:04,424 - DEBUG - VRF ids for VN ctest-vn-09221263: {}
2026-07-06 20:09:04,424 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-07-06 20:09:04,429 - DEBUG - Requesting: http://10.0.0.50:8082/domain/281f326f-481b-4c0b-bc35-6a5c400b6c4b
2026-07-06 20:09:04,438 - DEBUG - Requesting: http://10.0.0.50:8082/project/6228692d-7702-4e4b-aa12-f07072bbf895
2026-07-06 20:09:04,502 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/6ea25ad7-50d7-47f5-bc8e-9a4fed47013d
2026-07-06 20:09:04,512 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/6ea25ad7-50d7-47f5-bc8e-9a4fed47013d
2026-07-06 20:09:04,519 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8c450ec2-b38e-4229-ade3-07168255461a
2026-07-06 20:09:04,525 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8c450ec2-b38e-4229-ade3-07168255461a
2026-07-06 20:09:04,530 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/0f3429f9-6c74-446b-8dca-554e5e06deee
2026-07-06 20:09:04,535 - DEBUG - Route Targets: ['target:64512:8000005']
2026-07-06 20:09:04,535 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/6ea25ad7-50d7-47f5-bc8e-9a4fed47013d
2026-07-06 20:09:04,543 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8c450ec2-b38e-4229-ade3-07168255461a
2026-07-06 20:09:04,556 - INFO - Verified VN network id 13 for VN 6ea25ad7-50d7-47f5-bc8e-9a4fed47013d
2026-07-06 20:09:04,556 - INFO - Verifications in API Server for VN ctest-vn-31736688 passed
2026-07-06 20:09:04,556 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/6ea25ad7-50d7-47f5-bc8e-9a4fed47013d
2026-07-06 20:09:04,565 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8c450ec2-b38e-4229-ade3-07168255461a
2026-07-06 20:09:04,570 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8c450ec2-b38e-4229-ade3-07168255461a
2026-07-06 20:09:04,575 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/0f3429f9-6c74-446b-8dca-554e5e06deee
2026-07-06 20:09:04,584 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-71387960:ctest-vn-31736688', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-71387960', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7972034171219953653', 'uuid-lslong': '13586966793897312573'}, 'enable': 'true', 'created': '2026-07-06T20:09:02', 'last-modified': '2026-07-06T20:09:03', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.305867'}
2026-07-06 20:09:04,589 - DEBUG - Route Targets: ['target:64512:8000005']
2026-07-06 20:09:04,589 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-31736688 passed
2026-07-06 20:09:04,589 - DEBUG - ====Verifying policy data for ctest-vn-31736688 in API_Server ======
2026-07-06 20:09:04,589 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-07-06 20:09:04,593 - DEBUG - Requesting: http://10.0.0.50:8082/domain/281f326f-481b-4c0b-bc35-6a5c400b6c4b
2026-07-06 20:09:04,604 - DEBUG - Requesting: http://10.0.0.50:8082/project/6228692d-7702-4e4b-aa12-f07072bbf895
2026-07-06 20:09:04,673 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/6ea25ad7-50d7-47f5-bc8e-9a4fed47013d
2026-07-06 20:09:04,681 - DEBUG - ==>Verifying data for policy with id: 2aea6e17-c2f3-4913-a724-0a70b8345bba, fqn: ['default-domain', 'ctest-TestBasicPolicy-71387960', 'ctest-policy-allow-all-51632070']
2026-07-06 20:09:04,681 - INFO - VN ctest-vn-31736688 Policy verification: verify_vn_policy_in_api_server, status: True
2026-07-06 20:09:04,681 - DEBUG - Verifying the vn in opserver
2026-07-06 20:09:04,681 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-71387960:ctest-vn-31736688 virtual network link through opserver 10.0.0.50
2026-07-06 20:09:04,681 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-07-06 20:09:04,690 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-71387960:ctest-vn-31736688', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-71387960:ctest-vn-31736688?flat'}
2026-07-06 20:09:04,691 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-71387960:ctest-vn-31736688 is found in opserver
2026-07-06 20:09:04,699 - DEBUG - Do not have enough data to verify VN in agent
2026-07-06 20:09:04,703 - DEBUG - VRF ids for VN ctest-vn-31736688: {}
2026-07-06 20:09:04,751 - DEBUG - Services list from nova: [