2026-02-12 16:34:25,601 - INFO - Domain Default found not creating
2026-02-12 16:34:25,775 - INFO - Project ctest-TestBasicPolicy-50890750 not found, creating it
2026-02-12 16:34:26,242 - INFO - Created Project:ctest-TestBasicPolicy-50890750, ID : 02d843ed-a255-425b-960c-386f263b8e7d
2026-02-12 16:34:27,765 - INFO - ================================================================================
2026-02-12 16:34:27,765 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-12 16:34:27,765 - 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-02-12 16:34:28,025 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.14': '0'}} with
2026-02-12 16:34:28,025 - INFO - Initial checks done. Running the testcase now
2026-02-12 16:34:28,025 - INFO -
2026-02-12 16:34:28,629 - DEBUG - Response for create_network : {'network': {'id': 'af03b981-e62d-4418-85fc-f8eee74f092b', 'name': 'ctest-vn-58091511', 'tenant_id': '02d843eda255425b960c386f263b8e7d', 'project_id': '02d843eda255425b960c386f263b8e7d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-50890750', 'ctest-vn-58091511'], 'port_security_enabled': True, 'description': ''}}
2026-02-12 16:34:28,828 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bae6f53f-76e5-4fdf-b582-5ddb25fd1350', 'name': '', 'tenant_id': '02d843eda255425b960c386f263b8e7d', 'network_id': 'af03b981-e62d-4418-85fc-f8eee74f092b', 'ip_version': 4, 'cidr': '183.254.238.0/26', 'allocation_pools': [{'start': '183.254.238.2', 'end': '183.254.238.62'}], 'gateway_ip': '183.254.238.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '183.254.238.2', 'tags': [], 'project_id': '02d843eda255425b960c386f263b8e7d'}}
2026-02-12 16:34:28,848 - INFO - Created VN ctest-vn-58091511
2026-02-12 16:34:28,903 - DEBUG - VN ctest-vn-58091511 UUID is af03b981-e62d-4418-85fc-f8eee74f092b
2026-02-12 16:34:29,224 - DEBUG - Response for create_network : {'network': {'id': 'f2cdffcc-8375-42c4-9261-7c516a6e5869', 'name': 'ctest-vn-32875077', 'tenant_id': '02d843eda255425b960c386f263b8e7d', 'project_id': '02d843eda255425b960c386f263b8e7d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-50890750', 'ctest-vn-32875077'], 'port_security_enabled': True, 'description': ''}}
2026-02-12 16:34:29,415 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cfeb7885-d700-47df-a8e1-a2519d1d3f64', 'name': '', 'tenant_id': '02d843eda255425b960c386f263b8e7d', 'network_id': 'f2cdffcc-8375-42c4-9261-7c516a6e5869', 'ip_version': 4, 'cidr': '193.14.81.64/26', 'allocation_pools': [{'start': '193.14.81.66', 'end': '193.14.81.126'}], 'gateway_ip': '193.14.81.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '193.14.81.66', 'tags': [], 'project_id': '02d843eda255425b960c386f263b8e7d'}}
2026-02-12 16:34:29,434 - INFO - Created VN ctest-vn-32875077
2026-02-12 16:34:29,487 - DEBUG - VN ctest-vn-32875077 UUID is f2cdffcc-8375-42c4-9261-7c516a6e5869
2026-02-12 16:34:29,647 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-50890750:ctest-vn-58091511, 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-50890750:ctest-vn-32875077, 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-02-12 16:34:29,941 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'af03b981-e62d-4418-85fc-f8eee74f092b', 'name': 'ctest-vn-58091511', 'tenant_id': '02d843eda255425b960c386f263b8e7d', 'project_id': '02d843eda255425b960c386f263b8e7d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['bae6f53f-76e5-4fdf-b582-5ddb25fd1350'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-50890750', 'ctest-vn-58091511'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-50890750', 'ctest-policy-allow-all-11497773']], 'subnet_ipam': [{'subnet_cidr': '183.254.238.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-12 16:34:30,219 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f2cdffcc-8375-42c4-9261-7c516a6e5869', 'name': 'ctest-vn-32875077', 'tenant_id': '02d843eda255425b960c386f263b8e7d', 'project_id': '02d843eda255425b960c386f263b8e7d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['cfeb7885-d700-47df-a8e1-a2519d1d3f64'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-50890750', 'ctest-vn-32875077'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-50890750', 'ctest-policy-allow-all-11497773']], 'subnet_ipam': [{'subnet_cidr': '193.14.81.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-12 16:34:30,367 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2026-02-12 16:34:30,668 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2026-02-12 16:34:30,700 - DEBUG - Requesting: http://10.0.0.242:8082/domain/918be9f3-2267-47eb-a196-34c41782e504
2026-02-12 16:34:30,714 - DEBUG - Requesting: http://10.0.0.242:8082/project/02d843ed-a255-425b-960c-386f263b8e7d
2026-02-12 16:34:30,786 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/af03b981-e62d-4418-85fc-f8eee74f092b
2026-02-12 16:34:30,796 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/af03b981-e62d-4418-85fc-f8eee74f092b
2026-02-12 16:34:30,806 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/60f53bb2-3ea2-48e0-a651-d5082153ef60
2026-02-12 16:34:30,815 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/60f53bb2-3ea2-48e0-a651-d5082153ef60
2026-02-12 16:34:30,821 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/ca596434-9639-4ed6-83a4-9ecc154e4f22
2026-02-12 16:34:30,827 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-12 16:34:30,827 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/af03b981-e62d-4418-85fc-f8eee74f092b
2026-02-12 16:34:30,835 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/60f53bb2-3ea2-48e0-a651-d5082153ef60
2026-02-12 16:34:30,849 - INFO - Verified VN network id 10 for VN af03b981-e62d-4418-85fc-f8eee74f092b
2026-02-12 16:34:30,849 - INFO - Verifications in API Server for VN ctest-vn-58091511 passed
2026-02-12 16:34:30,849 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/af03b981-e62d-4418-85fc-f8eee74f092b
2026-02-12 16:34:30,859 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/60f53bb2-3ea2-48e0-a651-d5082153ef60
2026-02-12 16:34:30,866 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/60f53bb2-3ea2-48e0-a651-d5082153ef60
2026-02-12 16:34:30,873 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/ca596434-9639-4ed6-83a4-9ecc154e4f22
2026-02-12 16:34:30,885 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-50890750:ctest-vn-58091511', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-50890750', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12611127349131166744', 'uuid-lslong': '9654865406142122283'}, 'enable': 'true', 'created': '2026-02-12T16:34:28', 'last-modified': '2026-02-12T16:34:29', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.964188'}
2026-02-12 16:34:30,891 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-12 16:34:30,891 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-58091511 passed
2026-02-12 16:34:30,891 - DEBUG - ====Verifying policy data for ctest-vn-58091511 in API_Server ======
2026-02-12 16:34:30,891 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2026-02-12 16:34:30,897 - DEBUG - Requesting: http://10.0.0.242:8082/domain/918be9f3-2267-47eb-a196-34c41782e504
2026-02-12 16:34:30,907 - DEBUG - Requesting: http://10.0.0.242:8082/project/02d843ed-a255-425b-960c-386f263b8e7d
2026-02-12 16:34:30,984 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/af03b981-e62d-4418-85fc-f8eee74f092b
2026-02-12 16:34:30,994 - DEBUG - ==>Verifying data for policy with id: ecf2b419-60fc-41d6-ba2e-04a6fc544507, fqn: ['default-domain', 'ctest-TestBasicPolicy-50890750', 'ctest-policy-allow-all-11497773']
2026-02-12 16:34:30,994 - INFO - VN ctest-vn-58091511 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-12 16:34:30,994 - DEBUG - Verifying the vn in opserver
2026-02-12 16:34:30,995 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-50890750:ctest-vn-58091511 virtual network link through opserver 10.0.0.242
2026-02-12 16:34:30,995 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks
2026-02-12 16:34:31,288 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks
2026-02-12 16:34:31,362 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-50890750:ctest-vn-58091511', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-50890750:ctest-vn-58091511?flat'}
2026-02-12 16:34:31,362 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-50890750:ctest-vn-58091511 is found in opserver
2026-02-12 16:34:31,375 - DEBUG - Do not have enough data to verify VN in agent
2026-02-12 16:34:31,379 - DEBUG - VRF ids for VN ctest-vn-58091511: {}
2026-02-12 16:34:31,379 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2026-02-12 16:34:31,384 - DEBUG - Requesting: http://10.0.0.242:8082/domain/918be9f3-2267-47eb-a196-34c41782e504
2026-02-12 16:34:31,394 - DEBUG - Requesting: http://10.0.0.242:8082/project/02d843ed-a255-425b-960c-386f263b8e7d
2026-02-12 16:34:31,466 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/f2cdffcc-8375-42c4-9261-7c516a6e5869
2026-02-12 16:34:31,480 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/f2cdffcc-8375-42c4-9261-7c516a6e5869
2026-02-12 16:34:31,491 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/b0631722-fc4b-499e-be0a-cbcbe3a68e18
2026-02-12 16:34:31,499 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/b0631722-fc4b-499e-be0a-cbcbe3a68e18
2026-02-12 16:34:31,507 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/925ca767-d891-47d9-af1e-181651549176
2026-02-12 16:34:31,514 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-12 16:34:31,514 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/f2cdffcc-8375-42c4-9261-7c516a6e5869
2026-02-12 16:34:31,524 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/b0631722-fc4b-499e-be0a-cbcbe3a68e18
2026-02-12 16:34:31,539 - INFO - Verified VN network id 11 for VN f2cdffcc-8375-42c4-9261-7c516a6e5869
2026-02-12 16:34:31,539 - INFO - Verifications in API Server for VN ctest-vn-32875077 passed
2026-02-12 16:34:31,539 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/f2cdffcc-8375-42c4-9261-7c516a6e5869
2026-02-12 16:34:31,548 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/b0631722-fc4b-499e-be0a-cbcbe3a68e18
2026-02-12 16:34:31,556 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/b0631722-fc4b-499e-be0a-cbcbe3a68e18
2026-02-12 16:34:31,572 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/925ca767-d891-47d9-af1e-181651549176
2026-02-12 16:34:31,586 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-50890750:ctest-vn-32875077', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-50890750', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17495921381248156356', 'uuid-lslong': '10547848491398223977'}, 'enable': 'true', 'created': '2026-02-12T16:34:29', 'last-modified': '2026-02-12T16:34:30', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.434942'}
2026-02-12 16:34:31,593 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-12 16:34:31,594 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-32875077 passed
2026-02-12 16:34:31,594 - DEBUG - ====Verifying policy data for ctest-vn-32875077 in API_Server ======
2026-02-12 16:34:31,594 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2026-02-12 16:34:31,602 - DEBUG - Requesting: http://10.0.0.242:8082/domain/918be9f3-2267-47eb-a196-34c41782e504
2026-02-12 16:34:31,616 - DEBUG - Requesting: http://10.0.0.242:8082/project/02d843ed-a255-425b-960c-386f263b8e7d
2026-02-12 16:34:31,692 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/f2cdffcc-8375-42c4-9261-7c516a6e5869
2026-02-12 16:34:31,705 - DEBUG - ==>Verifying data for policy with id: ecf2b419-60fc-41d6-ba2e-04a6fc544507, fqn: ['default-domain', 'ctest-TestBasicPolicy-50890750', 'ctest-policy-allow-all-11497773']
2026-02-12 16:34:31,705 - INFO - VN ctest-vn-32875077 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-12 16:34:31,705 - DEBUG - Verifying the vn in opserver
2026-02-12 16:34:31,705 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-50890750:ctest-vn-32875077 virtual network link through opserver 10.0.0.242
2026-02-12 16:34:31,705 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks
2026-02-12 16:34:31,716 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-50890750:ctest-vn-32875077', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-50890750:ctest-vn-32875077?flat'}
2026-02-12 16:34:31,716 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-50890750:ctest-vn-32875077 is found in opserver
2026-02-12 16:34:31,728 - DEBUG - Do not have enough data to verify VN in agent
2026-02-12 16:34:31,732 - DEBUG - VRF ids for VN ctest-vn-32875077: {}
2026-02-12 16:34:31,808 - DEBUG - Services list from nova: [