2026-11-06 11:49:28,430 - INFO - Domain Default found not creating
2026-11-06 11:49:28,679 - INFO - Project ctest-TestBasicPolicy-78742779 not found, creating it
2026-11-06 11:49:29,167 - INFO - Created Project:ctest-TestBasicPolicy-78742779, ID : aca29be5-9138-43fb-a133-d658ff55d7a3
2026-11-06 11:49:30,883 - INFO - ================================================================================
2026-11-06 11:49:30,884 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-11-06 11:49:30,884 - 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 11:49:31,157 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2026-11-06 11:49:31,158 - INFO - Initial checks done. Running the testcase now
2026-11-06 11:49:31,158 - INFO -
2026-11-06 11:49:31,763 - DEBUG - Response for create_network : {'network': {'id': '028b6911-18b5-4897-90b2-db82388c017e', 'name': 'ctest-vn-30842877', 'tenant_id': 'aca29be5913843fba133d658ff55d7a3', 'project_id': 'aca29be5913843fba133d658ff55d7a3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-78742779', 'ctest-vn-30842877'], 'port_security_enabled': True, 'description': ''}}
2026-11-06 11:49:31,988 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bbf474d3-5e44-4bad-b42c-36bc211e0e74', 'name': '', 'tenant_id': 'aca29be5913843fba133d658ff55d7a3', 'network_id': '028b6911-18b5-4897-90b2-db82388c017e', 'ip_version': 4, 'cidr': '91.80.2.128/26', 'allocation_pools': [{'start': '91.80.2.130', 'end': '91.80.2.190'}], 'gateway_ip': '91.80.2.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '91.80.2.130', 'tags': [], 'project_id': 'aca29be5913843fba133d658ff55d7a3'}}
2026-11-06 11:49:32,004 - INFO - Created VN ctest-vn-30842877
2026-11-06 11:49:32,057 - DEBUG - VN ctest-vn-30842877 UUID is 028b6911-18b5-4897-90b2-db82388c017e
2026-11-06 11:49:32,370 - DEBUG - Response for create_network : {'network': {'id': '76e64b42-bb87-4b44-8de2-b03996f9d73b', 'name': 'ctest-vn-20362685', 'tenant_id': 'aca29be5913843fba133d658ff55d7a3', 'project_id': 'aca29be5913843fba133d658ff55d7a3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-78742779', 'ctest-vn-20362685'], 'port_security_enabled': True, 'description': ''}}
2026-11-06 11:49:32,587 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a6299d7a-8251-407a-9f48-1624bef22b95', 'name': '', 'tenant_id': 'aca29be5913843fba133d658ff55d7a3', 'network_id': '76e64b42-bb87-4b44-8de2-b03996f9d73b', 'ip_version': 4, 'cidr': '56.171.198.64/26', 'allocation_pools': [{'start': '56.171.198.66', 'end': '56.171.198.126'}], 'gateway_ip': '56.171.198.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '56.171.198.66', 'tags': [], 'project_id': 'aca29be5913843fba133d658ff55d7a3'}}
2026-11-06 11:49:32,604 - INFO - Created VN ctest-vn-20362685
2026-11-06 11:49:32,657 - DEBUG - VN ctest-vn-20362685 UUID is 76e64b42-bb87-4b44-8de2-b03996f9d73b
2026-11-06 11:49:32,773 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-78742779:ctest-vn-30842877, 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-78742779:ctest-vn-20362685, 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 11:49:33,078 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '028b6911-18b5-4897-90b2-db82388c017e', 'name': 'ctest-vn-30842877', 'tenant_id': 'aca29be5913843fba133d658ff55d7a3', 'project_id': 'aca29be5913843fba133d658ff55d7a3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['bbf474d3-5e44-4bad-b42c-36bc211e0e74'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-78742779', 'ctest-vn-30842877'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-78742779', 'ctest-policy-allow-all-04519308']], 'subnet_ipam': [{'subnet_cidr': '91.80.2.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-11-06 11:49:33,321 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '76e64b42-bb87-4b44-8de2-b03996f9d73b', 'name': 'ctest-vn-20362685', 'tenant_id': 'aca29be5913843fba133d658ff55d7a3', 'project_id': 'aca29be5913843fba133d658ff55d7a3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['a6299d7a-8251-407a-9f48-1624bef22b95'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-78742779', 'ctest-vn-20362685'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-78742779', 'ctest-policy-allow-all-04519308']], 'subnet_ipam': [{'subnet_cidr': '56.171.198.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-11-06 11:49:33,485 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-11-06 11:49:33,856 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-11-06 11:49:33,884 - DEBUG - Requesting: http://10.0.0.38:8082/domain/acb3fec0-e7ee-47c6-90cf-57432a258873
2026-11-06 11:49:33,897 - DEBUG - Requesting: http://10.0.0.38:8082/project/aca29be5-9138-43fb-a133-d658ff55d7a3
2026-11-06 11:49:33,973 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/028b6911-18b5-4897-90b2-db82388c017e
2026-11-06 11:49:33,985 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/028b6911-18b5-4897-90b2-db82388c017e
2026-11-06 11:49:33,995 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/080065e5-ed96-44bc-8126-f20ec5232e4a
2026-11-06 11:49:34,003 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/080065e5-ed96-44bc-8126-f20ec5232e4a
2026-11-06 11:49:34,011 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/22d26b82-e23f-43af-8761-868ca38a5772
2026-11-06 11:49:34,019 - DEBUG - Route Targets: ['target:64512:8000005']
2026-11-06 11:49:34,019 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/028b6911-18b5-4897-90b2-db82388c017e
2026-11-06 11:49:34,029 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/080065e5-ed96-44bc-8126-f20ec5232e4a
2026-11-06 11:49:34,046 - INFO - Verified VN network id 10 for VN 028b6911-18b5-4897-90b2-db82388c017e
2026-11-06 11:49:34,046 - INFO - Verifications in API Server for VN ctest-vn-30842877 passed
2026-11-06 11:49:34,046 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/028b6911-18b5-4897-90b2-db82388c017e
2026-11-06 11:49:34,056 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/080065e5-ed96-44bc-8126-f20ec5232e4a
2026-11-06 11:49:34,064 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/080065e5-ed96-44bc-8126-f20ec5232e4a
2026-11-06 11:49:34,072 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/22d26b82-e23f-43af-8761-868ca38a5772
2026-11-06 11:49:34,086 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-78742779:ctest-vn-30842877', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-78742779', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '183355731988531351', 'uuid-lslong': '10426637439657050494'}, 'enable': 'true', 'created': '2026-11-06T11:49:31', 'last-modified': '2026-11-06T11:49:33', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.028296'}
2026-11-06 11:49:34,095 - DEBUG - Route Targets: ['target:64512:8000005']
2026-11-06 11:49:34,095 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-30842877 passed
2026-11-06 11:49:34,095 - DEBUG - ====Verifying policy data for ctest-vn-30842877 in API_Server ======
2026-11-06 11:49:34,095 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-11-06 11:49:34,101 - DEBUG - Requesting: http://10.0.0.38:8082/domain/acb3fec0-e7ee-47c6-90cf-57432a258873
2026-11-06 11:49:34,114 - DEBUG - Requesting: http://10.0.0.38:8082/project/aca29be5-9138-43fb-a133-d658ff55d7a3
2026-11-06 11:49:34,193 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/028b6911-18b5-4897-90b2-db82388c017e
2026-11-06 11:49:34,203 - DEBUG - ==>Verifying data for policy with id: 94cb612a-d772-4dfb-80d5-3d7c60412c1e, fqn: ['default-domain', 'ctest-TestBasicPolicy-78742779', 'ctest-policy-allow-all-04519308']
2026-11-06 11:49:34,203 - INFO - VN ctest-vn-30842877 Policy verification: verify_vn_policy_in_api_server, status: True
2026-11-06 11:49:34,203 - DEBUG - Verifying the vn in opserver
2026-11-06 11:49:34,203 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-78742779:ctest-vn-30842877 virtual network link through opserver 10.0.0.38
2026-11-06 11:49:34,203 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-11-06 11:49:34,571 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-11-06 11:49:34,978 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-78742779:ctest-vn-30842877', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-78742779:ctest-vn-30842877?flat'}
2026-11-06 11:49:34,979 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-78742779:ctest-vn-30842877 is found in opserver
2026-11-06 11:49:34,994 - DEBUG - Do not have enough data to verify VN in agent
2026-11-06 11:49:35,000 - DEBUG - VRF ids for VN ctest-vn-30842877: {}
2026-11-06 11:49:35,000 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-11-06 11:49:35,009 - DEBUG - Requesting: http://10.0.0.38:8082/domain/acb3fec0-e7ee-47c6-90cf-57432a258873
2026-11-06 11:49:35,022 - DEBUG - Requesting: http://10.0.0.38:8082/project/aca29be5-9138-43fb-a133-d658ff55d7a3
2026-11-06 11:49:35,094 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/76e64b42-bb87-4b44-8de2-b03996f9d73b
2026-11-06 11:49:35,106 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/76e64b42-bb87-4b44-8de2-b03996f9d73b
2026-11-06 11:49:35,116 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/089706e3-fb13-4956-9750-8a7611767e66
2026-11-06 11:49:35,126 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/089706e3-fb13-4956-9750-8a7611767e66
2026-11-06 11:49:35,142 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/f72915f8-1e3f-4c96-93f1-9768432cd6bf
2026-11-06 11:49:35,150 - DEBUG - Route Targets: ['target:64512:8000006']
2026-11-06 11:49:35,151 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/76e64b42-bb87-4b44-8de2-b03996f9d73b
2026-11-06 11:49:35,164 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/089706e3-fb13-4956-9750-8a7611767e66
2026-11-06 11:49:35,182 - INFO - Verified VN network id 11 for VN 76e64b42-bb87-4b44-8de2-b03996f9d73b
2026-11-06 11:49:35,182 - INFO - Verifications in API Server for VN ctest-vn-20362685 passed
2026-11-06 11:49:35,182 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/76e64b42-bb87-4b44-8de2-b03996f9d73b
2026-11-06 11:49:35,191 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/089706e3-fb13-4956-9750-8a7611767e66
2026-11-06 11:49:35,197 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/089706e3-fb13-4956-9750-8a7611767e66
2026-11-06 11:49:35,203 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/f72915f8-1e3f-4c96-93f1-9768432cd6bf
2026-11-06 11:49:35,215 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-78742779:ctest-vn-20362685', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-78742779', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8567618091105078084', 'uuid-lslong': '10223927865477027643'}, 'enable': 'true', 'created': '2026-11-06T11:49:32', 'last-modified': '2026-11-06T11:49:33', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.921159'}
2026-11-06 11:49:35,221 - DEBUG - Route Targets: ['target:64512:8000006']
2026-11-06 11:49:35,221 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-20362685 passed
2026-11-06 11:49:35,221 - DEBUG - ====Verifying policy data for ctest-vn-20362685 in API_Server ======
2026-11-06 11:49:35,222 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-11-06 11:49:35,227 - DEBUG - Requesting: http://10.0.0.38:8082/domain/acb3fec0-e7ee-47c6-90cf-57432a258873
2026-11-06 11:49:35,237 - DEBUG - Requesting: http://10.0.0.38:8082/project/aca29be5-9138-43fb-a133-d658ff55d7a3
2026-11-06 11:49:35,312 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/76e64b42-bb87-4b44-8de2-b03996f9d73b
2026-11-06 11:49:35,321 - DEBUG - ==>Verifying data for policy with id: 94cb612a-d772-4dfb-80d5-3d7c60412c1e, fqn: ['default-domain', 'ctest-TestBasicPolicy-78742779', 'ctest-policy-allow-all-04519308']
2026-11-06 11:49:35,321 - INFO - VN ctest-vn-20362685 Policy verification: verify_vn_policy_in_api_server, status: True
2026-11-06 11:49:35,321 - DEBUG - Verifying the vn in opserver
2026-11-06 11:49:35,321 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-78742779:ctest-vn-20362685 virtual network link through opserver 10.0.0.38
2026-11-06 11:49:35,321 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-11-06 11:49:35,332 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-78742779:ctest-vn-20362685', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-78742779:ctest-vn-20362685?flat'}
2026-11-06 11:49:35,332 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-78742779:ctest-vn-20362685 is found in opserver
2026-11-06 11:49:35,343 - DEBUG - Do not have enough data to verify VN in agent
2026-11-06 11:49:35,348 - DEBUG - VRF ids for VN ctest-vn-20362685: {}
2026-11-06 11:49:35,423 - DEBUG - Services list from nova: [