2026-08-20 13:41:58,522 - INFO - Domain Default found not creating
2026-08-20 13:41:58,687 - INFO - Project ctest-TestBasicPolicy-85954972 not found, creating it
2026-08-20 13:41:59,177 - INFO - Created Project:ctest-TestBasicPolicy-85954972, ID : 798af40d-017a-41ec-bee5-b5775217f23b
2026-08-20 13:42:00,924 - INFO - ================================================================================
2026-08-20 13:42:00,924 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-08-20 13:42:00,924 - 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-20 13:42:01,184 - DEBUG - Nothing to compare xmpp stats {'10.0.0.162': {'10.20.0.25': '0'}} with
2026-08-20 13:42:01,184 - INFO - Initial checks done. Running the testcase now
2026-08-20 13:42:01,184 - INFO -
2026-08-20 13:42:01,833 - DEBUG - Response for create_network : {'network': {'id': 'ae676315-02b9-41fb-9856-096da218ed5a', 'name': 'ctest-vn-04573188', 'tenant_id': '798af40d017a41ecbee5b5775217f23b', 'project_id': '798af40d017a41ecbee5b5775217f23b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-85954972', 'ctest-vn-04573188'], 'port_security_enabled': True, 'description': ''}}
2026-08-20 13:42:02,055 - DEBUG - Response for create_subnet : {'subnet': {'id': '1346974b-e177-41c1-aaff-fbc9f80ae0f0', 'name': '', 'tenant_id': '798af40d017a41ecbee5b5775217f23b', 'network_id': 'ae676315-02b9-41fb-9856-096da218ed5a', 'ip_version': 4, 'cidr': '115.187.139.0/26', 'allocation_pools': [{'start': '115.187.139.2', 'end': '115.187.139.62'}], 'gateway_ip': '115.187.139.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '115.187.139.2', 'tags': [], 'project_id': '798af40d017a41ecbee5b5775217f23b'}}
2026-08-20 13:42:02,072 - INFO - Created VN ctest-vn-04573188
2026-08-20 13:42:02,129 - DEBUG - VN ctest-vn-04573188 UUID is ae676315-02b9-41fb-9856-096da218ed5a
2026-08-20 13:42:02,443 - DEBUG - Response for create_network : {'network': {'id': '5ad88d37-c9ca-4d8c-9eb2-c67e3e03d0fb', 'name': 'ctest-vn-69265687', 'tenant_id': '798af40d017a41ecbee5b5775217f23b', 'project_id': '798af40d017a41ecbee5b5775217f23b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-85954972', 'ctest-vn-69265687'], 'port_security_enabled': True, 'description': ''}}
2026-08-20 13:42:02,690 - DEBUG - Response for create_subnet : {'subnet': {'id': '5d1f6078-0509-4dcd-813a-7651214154e0', 'name': '', 'tenant_id': '798af40d017a41ecbee5b5775217f23b', 'network_id': '5ad88d37-c9ca-4d8c-9eb2-c67e3e03d0fb', 'ip_version': 4, 'cidr': '213.191.126.192/26', 'allocation_pools': [{'start': '213.191.126.194', 'end': '213.191.126.254'}], 'gateway_ip': '213.191.126.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '213.191.126.194', 'tags': [], 'project_id': '798af40d017a41ecbee5b5775217f23b'}}
2026-08-20 13:42:02,709 - INFO - Created VN ctest-vn-69265687
2026-08-20 13:42:02,761 - DEBUG - VN ctest-vn-69265687 UUID is 5ad88d37-c9ca-4d8c-9eb2-c67e3e03d0fb
2026-08-20 13:42:02,873 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-85954972:ctest-vn-04573188, 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-85954972:ctest-vn-69265687, 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-20 13:42:03,195 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ae676315-02b9-41fb-9856-096da218ed5a', 'name': 'ctest-vn-04573188', 'tenant_id': '798af40d017a41ecbee5b5775217f23b', 'project_id': '798af40d017a41ecbee5b5775217f23b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1346974b-e177-41c1-aaff-fbc9f80ae0f0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-85954972', 'ctest-vn-04573188'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-85954972', 'ctest-policy-allow-all-33315785']], 'subnet_ipam': [{'subnet_cidr': '115.187.139.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-08-20 13:42:03,451 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5ad88d37-c9ca-4d8c-9eb2-c67e3e03d0fb', 'name': 'ctest-vn-69265687', 'tenant_id': '798af40d017a41ecbee5b5775217f23b', 'project_id': '798af40d017a41ecbee5b5775217f23b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5d1f6078-0509-4dcd-813a-7651214154e0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-85954972', 'ctest-vn-69265687'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-85954972', 'ctest-policy-allow-all-33315785']], 'subnet_ipam': [{'subnet_cidr': '213.191.126.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-08-20 13:42:03,625 - DEBUG - Requesting: http://10.0.0.162:8082/domains
2026-08-20 13:42:03,997 - DEBUG - Requesting: http://10.0.0.162:8082/domains
2026-08-20 13:42:04,030 - DEBUG - Requesting: http://10.0.0.162:8082/domain/ce0cea58-8222-43bb-a5dc-274a9b28057f
2026-08-20 13:42:04,045 - DEBUG - Requesting: http://10.0.0.162:8082/project/798af40d-017a-41ec-bee5-b5775217f23b
2026-08-20 13:42:04,122 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/ae676315-02b9-41fb-9856-096da218ed5a
2026-08-20 13:42:04,135 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/ae676315-02b9-41fb-9856-096da218ed5a
2026-08-20 13:42:04,146 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/6b94739a-f8ec-4fce-9fce-5190c1c7186d
2026-08-20 13:42:04,154 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/6b94739a-f8ec-4fce-9fce-5190c1c7186d
2026-08-20 13:42:04,161 - DEBUG - Requesting: http://10.0.0.162:8082/route-target/e114667f-0d91-44fb-914d-5ba7dd73a7d7
2026-08-20 13:42:04,167 - DEBUG - Route Targets: ['target:64512:8000004']
2026-08-20 13:42:04,167 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/ae676315-02b9-41fb-9856-096da218ed5a
2026-08-20 13:42:04,175 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/6b94739a-f8ec-4fce-9fce-5190c1c7186d
2026-08-20 13:42:04,190 - INFO - Verified VN network id 11 for VN ae676315-02b9-41fb-9856-096da218ed5a
2026-08-20 13:42:04,191 - INFO - Verifications in API Server for VN ctest-vn-04573188 passed
2026-08-20 13:42:04,191 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/ae676315-02b9-41fb-9856-096da218ed5a
2026-08-20 13:42:04,202 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/6b94739a-f8ec-4fce-9fce-5190c1c7186d
2026-08-20 13:42:04,209 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/6b94739a-f8ec-4fce-9fce-5190c1c7186d
2026-08-20 13:42:04,216 - DEBUG - Requesting: http://10.0.0.162:8082/route-target/e114667f-0d91-44fb-914d-5ba7dd73a7d7
2026-08-20 13:42:04,230 - DEBUG - Control-node 10.0.0.162 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-85954972:ctest-vn-04573188', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-85954972', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12567122227091816955', 'uuid-lslong': '10976971508237790554'}, 'enable': 'true', 'created': '2026-08-20T13:42:01', 'last-modified': '2026-08-20T13:42:03', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.065610'}
2026-08-20 13:42:04,237 - DEBUG - Route Targets: ['target:64512:8000004']
2026-08-20 13:42:04,237 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-04573188 passed
2026-08-20 13:42:04,238 - DEBUG - ====Verifying policy data for ctest-vn-04573188 in API_Server ======
2026-08-20 13:42:04,238 - DEBUG - Requesting: http://10.0.0.162:8082/domains
2026-08-20 13:42:04,244 - DEBUG - Requesting: http://10.0.0.162:8082/domain/ce0cea58-8222-43bb-a5dc-274a9b28057f
2026-08-20 13:42:04,256 - DEBUG - Requesting: http://10.0.0.162:8082/project/798af40d-017a-41ec-bee5-b5775217f23b
2026-08-20 13:42:04,338 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/ae676315-02b9-41fb-9856-096da218ed5a
2026-08-20 13:42:04,349 - DEBUG - ==>Verifying data for policy with id: 9beae8b5-7759-4e46-88d1-2bc12376edaf, fqn: ['default-domain', 'ctest-TestBasicPolicy-85954972', 'ctest-policy-allow-all-33315785']
2026-08-20 13:42:04,349 - INFO - VN ctest-vn-04573188 Policy verification: verify_vn_policy_in_api_server, status: True
2026-08-20 13:42:04,349 - DEBUG - Verifying the vn in opserver
2026-08-20 13:42:04,349 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-85954972:ctest-vn-04573188 virtual network link through opserver 10.0.0.162
2026-08-20 13:42:04,350 - DEBUG - Requesting: http://10.0.0.162:8081/analytics/uves/virtual-networks
2026-08-20 13:42:04,729 - DEBUG - Requesting: http://10.0.0.162:8081/analytics/uves/virtual-networks
2026-08-20 13:42:04,796 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-85954972:ctest-vn-04573188', 'href': 'http://10.0.0.162:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-85954972:ctest-vn-04573188?flat'}
2026-08-20 13:42:04,796 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-85954972:ctest-vn-04573188 is found in opserver
2026-08-20 13:42:04,809 - DEBUG - Do not have enough data to verify VN in agent
2026-08-20 13:42:04,814 - DEBUG - VRF ids for VN ctest-vn-04573188: {}
2026-08-20 13:42:04,814 - DEBUG - Requesting: http://10.0.0.162:8082/domains
2026-08-20 13:42:04,820 - DEBUG - Requesting: http://10.0.0.162:8082/domain/ce0cea58-8222-43bb-a5dc-274a9b28057f
2026-08-20 13:42:04,831 - DEBUG - Requesting: http://10.0.0.162:8082/project/798af40d-017a-41ec-bee5-b5775217f23b
2026-08-20 13:42:04,914 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/5ad88d37-c9ca-4d8c-9eb2-c67e3e03d0fb
2026-08-20 13:42:04,927 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/5ad88d37-c9ca-4d8c-9eb2-c67e3e03d0fb
2026-08-20 13:42:04,937 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/44cef5e2-7746-4d59-afba-affd3763b189
2026-08-20 13:42:04,945 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/44cef5e2-7746-4d59-afba-affd3763b189
2026-08-20 13:42:04,953 - DEBUG - Requesting: http://10.0.0.162:8082/route-target/9f3b2117-4ffb-4d2a-97c7-4f8a6e8f814c
2026-08-20 13:42:04,959 - DEBUG - Route Targets: ['target:64512:8000005']
2026-08-20 13:42:04,959 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/5ad88d37-c9ca-4d8c-9eb2-c67e3e03d0fb
2026-08-20 13:42:04,968 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/44cef5e2-7746-4d59-afba-affd3763b189
2026-08-20 13:42:04,985 - INFO - Verified VN network id 12 for VN 5ad88d37-c9ca-4d8c-9eb2-c67e3e03d0fb
2026-08-20 13:42:04,985 - INFO - Verifications in API Server for VN ctest-vn-69265687 passed
2026-08-20 13:42:04,985 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/5ad88d37-c9ca-4d8c-9eb2-c67e3e03d0fb
2026-08-20 13:42:04,994 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/44cef5e2-7746-4d59-afba-affd3763b189
2026-08-20 13:42:05,002 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/44cef5e2-7746-4d59-afba-affd3763b189
2026-08-20 13:42:05,010 - DEBUG - Requesting: http://10.0.0.162:8082/route-target/9f3b2117-4ffb-4d2a-97c7-4f8a6e8f814c
2026-08-20 13:42:05,024 - DEBUG - Control-node 10.0.0.162 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-85954972:ctest-vn-69265687', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-85954972', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6546137329131212172', 'uuid-lslong': '11435420649355727099'}, 'enable': 'true', 'created': '2026-08-20T13:42:02', 'last-modified': '2026-08-20T13:42:03', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.616917'}
2026-08-20 13:42:05,032 - DEBUG - Route Targets: ['target:64512:8000005']
2026-08-20 13:42:05,032 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-69265687 passed
2026-08-20 13:42:05,033 - DEBUG - ====Verifying policy data for ctest-vn-69265687 in API_Server ======
2026-08-20 13:42:05,033 - DEBUG - Requesting: http://10.0.0.162:8082/domains
2026-08-20 13:42:05,039 - DEBUG - Requesting: http://10.0.0.162:8082/domain/ce0cea58-8222-43bb-a5dc-274a9b28057f
2026-08-20 13:42:05,050 - DEBUG - Requesting: http://10.0.0.162:8082/project/798af40d-017a-41ec-bee5-b5775217f23b
2026-08-20 13:42:05,132 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/5ad88d37-c9ca-4d8c-9eb2-c67e3e03d0fb
2026-08-20 13:42:05,142 - DEBUG - ==>Verifying data for policy with id: 9beae8b5-7759-4e46-88d1-2bc12376edaf, fqn: ['default-domain', 'ctest-TestBasicPolicy-85954972', 'ctest-policy-allow-all-33315785']
2026-08-20 13:42:05,142 - INFO - VN ctest-vn-69265687 Policy verification: verify_vn_policy_in_api_server, status: True
2026-08-20 13:42:05,143 - DEBUG - Verifying the vn in opserver
2026-08-20 13:42:05,143 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-85954972:ctest-vn-69265687 virtual network link through opserver 10.0.0.162
2026-08-20 13:42:05,143 - DEBUG - Requesting: http://10.0.0.162:8081/analytics/uves/virtual-networks
2026-08-20 13:42:05,154 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-85954972:ctest-vn-69265687', 'href': 'http://10.0.0.162:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-85954972:ctest-vn-69265687?flat'}
2026-08-20 13:42:05,154 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-85954972:ctest-vn-69265687 is found in opserver
2026-08-20 13:42:05,166 - DEBUG - Do not have enough data to verify VN in agent
2026-08-20 13:42:05,173 - DEBUG - VRF ids for VN ctest-vn-69265687: {}
2026-08-20 13:42:05,241 - DEBUG - Services list from nova: [