2026-08-22 18:55:14,714 - INFO - Domain Default found not creating
2026-08-22 18:55:14,908 - INFO - Project ctest-TestBasicPolicy-75190955 not found, creating it
2026-08-22 18:55:15,442 - INFO - Created Project:ctest-TestBasicPolicy-75190955, ID : 9ac4a21e-20e0-4dda-84cc-0880e2387b87
2026-08-22 18:55:17,239 - INFO - ================================================================================
2026-08-22 18:55:17,239 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-08-22 18:55:17,240 - 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-22 18:55:17,501 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2026-08-22 18:55:17,501 - INFO - Initial checks done. Running the testcase now
2026-08-22 18:55:17,501 - INFO -
2026-08-22 18:55:18,155 - DEBUG - Response for create_network : {'network': {'id': '304c1242-8aed-4397-9cfd-ad990bfa93d3', 'name': 'ctest-vn-97030227', 'tenant_id': '9ac4a21e20e04dda84cc0880e2387b87', 'project_id': '9ac4a21e20e04dda84cc0880e2387b87', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-75190955', 'ctest-vn-97030227'], 'port_security_enabled': True, 'description': ''}}
2026-08-22 18:55:18,337 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b965faef-df42-46fb-a9bb-475cb30cb595', 'name': '', 'tenant_id': '9ac4a21e20e04dda84cc0880e2387b87', 'network_id': '304c1242-8aed-4397-9cfd-ad990bfa93d3', 'ip_version': 4, 'cidr': '217.26.213.64/26', 'allocation_pools': [{'start': '217.26.213.66', 'end': '217.26.213.126'}], 'gateway_ip': '217.26.213.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '217.26.213.66', 'tags': [], 'project_id': '9ac4a21e20e04dda84cc0880e2387b87'}}
2026-08-22 18:55:18,358 - INFO - Created VN ctest-vn-97030227
2026-08-22 18:55:18,413 - DEBUG - VN ctest-vn-97030227 UUID is 304c1242-8aed-4397-9cfd-ad990bfa93d3
2026-08-22 18:55:18,746 - DEBUG - Response for create_network : {'network': {'id': 'cb0d30f0-5201-4e45-bb7f-c8fee816e6cf', 'name': 'ctest-vn-34214918', 'tenant_id': '9ac4a21e20e04dda84cc0880e2387b87', 'project_id': '9ac4a21e20e04dda84cc0880e2387b87', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-75190955', 'ctest-vn-34214918'], 'port_security_enabled': True, 'description': ''}}
2026-08-22 18:55:18,931 - DEBUG - Response for create_subnet : {'subnet': {'id': '50e4a221-909a-4588-8207-dad3d195b0d5', 'name': '', 'tenant_id': '9ac4a21e20e04dda84cc0880e2387b87', 'network_id': 'cb0d30f0-5201-4e45-bb7f-c8fee816e6cf', 'ip_version': 4, 'cidr': '56.216.53.64/26', 'allocation_pools': [{'start': '56.216.53.66', 'end': '56.216.53.126'}], 'gateway_ip': '56.216.53.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '56.216.53.66', 'tags': [], 'project_id': '9ac4a21e20e04dda84cc0880e2387b87'}}
2026-08-22 18:55:18,953 - INFO - Created VN ctest-vn-34214918
2026-08-22 18:55:19,009 - DEBUG - VN ctest-vn-34214918 UUID is cb0d30f0-5201-4e45-bb7f-c8fee816e6cf
2026-08-22 18:55:19,135 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-75190955:ctest-vn-97030227, 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-75190955:ctest-vn-34214918, 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-22 18:55:19,491 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '304c1242-8aed-4397-9cfd-ad990bfa93d3', 'name': 'ctest-vn-97030227', 'tenant_id': '9ac4a21e20e04dda84cc0880e2387b87', 'project_id': '9ac4a21e20e04dda84cc0880e2387b87', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b965faef-df42-46fb-a9bb-475cb30cb595'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-75190955', 'ctest-vn-97030227'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-75190955', 'ctest-policy-allow-all-47457515']], 'subnet_ipam': [{'subnet_cidr': '217.26.213.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-08-22 18:55:19,765 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'cb0d30f0-5201-4e45-bb7f-c8fee816e6cf', 'name': 'ctest-vn-34214918', 'tenant_id': '9ac4a21e20e04dda84cc0880e2387b87', 'project_id': '9ac4a21e20e04dda84cc0880e2387b87', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['50e4a221-909a-4588-8207-dad3d195b0d5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-75190955', 'ctest-vn-34214918'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-75190955', 'ctest-policy-allow-all-47457515']], 'subnet_ipam': [{'subnet_cidr': '56.216.53.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-08-22 18:55:19,933 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-08-22 18:55:20,306 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-08-22 18:55:20,338 - DEBUG - Requesting: http://10.0.0.50:8082/domain/f61de404-4d22-40a1-b163-4b1a9b28dc72
2026-08-22 18:55:20,355 - DEBUG - Requesting: http://10.0.0.50:8082/project/9ac4a21e-20e0-4dda-84cc-0880e2387b87
2026-08-22 18:55:20,442 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/304c1242-8aed-4397-9cfd-ad990bfa93d3
2026-08-22 18:55:20,455 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/304c1242-8aed-4397-9cfd-ad990bfa93d3
2026-08-22 18:55:20,467 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b23ee936-f264-44c5-9df8-a607b0e079c0
2026-08-22 18:55:20,476 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b23ee936-f264-44c5-9df8-a607b0e079c0
2026-08-22 18:55:20,484 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/0bd27139-0b1d-4282-9e3d-04d10dfeaf45
2026-08-22 18:55:20,493 - DEBUG - Route Targets: ['target:64512:8000004']
2026-08-22 18:55:20,493 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/304c1242-8aed-4397-9cfd-ad990bfa93d3
2026-08-22 18:55:20,503 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b23ee936-f264-44c5-9df8-a607b0e079c0
2026-08-22 18:55:20,522 - INFO - Verified VN network id 11 for VN 304c1242-8aed-4397-9cfd-ad990bfa93d3
2026-08-22 18:55:20,522 - INFO - Verifications in API Server for VN ctest-vn-97030227 passed
2026-08-22 18:55:20,522 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/304c1242-8aed-4397-9cfd-ad990bfa93d3
2026-08-22 18:55:20,534 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b23ee936-f264-44c5-9df8-a607b0e079c0
2026-08-22 18:55:20,544 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b23ee936-f264-44c5-9df8-a607b0e079c0
2026-08-22 18:55:20,553 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/0bd27139-0b1d-4282-9e3d-04d10dfeaf45
2026-08-22 18:55:20,569 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-75190955:ctest-vn-97030227', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-75190955', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3480176689058497431', 'uuid-lslong': '11312388711867126739'}, 'enable': 'true', 'created': '2026-08-22T18:55:18', 'last-modified': '2026-08-22T18:55:19', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.117483'}
2026-08-22 18:55:20,579 - DEBUG - Route Targets: ['target:64512:8000004']
2026-08-22 18:55:20,579 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-97030227 passed
2026-08-22 18:55:20,579 - DEBUG - ====Verifying policy data for ctest-vn-97030227 in API_Server ======
2026-08-22 18:55:20,579 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-08-22 18:55:20,587 - DEBUG - Requesting: http://10.0.0.50:8082/domain/f61de404-4d22-40a1-b163-4b1a9b28dc72
2026-08-22 18:55:20,601 - DEBUG - Requesting: http://10.0.0.50:8082/project/9ac4a21e-20e0-4dda-84cc-0880e2387b87
2026-08-22 18:55:20,677 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/304c1242-8aed-4397-9cfd-ad990bfa93d3
2026-08-22 18:55:20,692 - DEBUG - ==>Verifying data for policy with id: 3d963afb-ce62-41d9-935d-5c99630df75b, fqn: ['default-domain', 'ctest-TestBasicPolicy-75190955', 'ctest-policy-allow-all-47457515']
2026-08-22 18:55:20,693 - INFO - VN ctest-vn-97030227 Policy verification: verify_vn_policy_in_api_server, status: True
2026-08-22 18:55:20,693 - DEBUG - Verifying the vn in opserver
2026-08-22 18:55:20,693 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-75190955:ctest-vn-97030227 virtual network link through opserver 10.0.0.50
2026-08-22 18:55:20,693 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-08-22 18:55:21,077 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-08-22 18:55:21,141 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-75190955:ctest-vn-97030227', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-75190955:ctest-vn-97030227?flat'}
2026-08-22 18:55:21,141 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-75190955:ctest-vn-97030227 is found in opserver
2026-08-22 18:55:21,154 - DEBUG - Do not have enough data to verify VN in agent
2026-08-22 18:55:21,160 - DEBUG - VRF ids for VN ctest-vn-97030227: {}
2026-08-22 18:55:21,160 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-08-22 18:55:21,167 - DEBUG - Requesting: http://10.0.0.50:8082/domain/f61de404-4d22-40a1-b163-4b1a9b28dc72
2026-08-22 18:55:21,180 - DEBUG - Requesting: http://10.0.0.50:8082/project/9ac4a21e-20e0-4dda-84cc-0880e2387b87
2026-08-22 18:55:21,260 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/cb0d30f0-5201-4e45-bb7f-c8fee816e6cf
2026-08-22 18:55:21,284 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/cb0d30f0-5201-4e45-bb7f-c8fee816e6cf
2026-08-22 18:55:21,298 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/31ce07c5-4b9c-4003-99b0-f0c81d3adae9
2026-08-22 18:55:21,308 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/31ce07c5-4b9c-4003-99b0-f0c81d3adae9
2026-08-22 18:55:21,317 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/35772245-e92d-4ea7-9b84-c8e129f1860b
2026-08-22 18:55:21,325 - DEBUG - Route Targets: ['target:64512:8000005']
2026-08-22 18:55:21,326 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/cb0d30f0-5201-4e45-bb7f-c8fee816e6cf
2026-08-22 18:55:21,337 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/31ce07c5-4b9c-4003-99b0-f0c81d3adae9
2026-08-22 18:55:21,356 - INFO - Verified VN network id 12 for VN cb0d30f0-5201-4e45-bb7f-c8fee816e6cf
2026-08-22 18:55:21,356 - INFO - Verifications in API Server for VN ctest-vn-34214918 passed
2026-08-22 18:55:21,356 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/cb0d30f0-5201-4e45-bb7f-c8fee816e6cf
2026-08-22 18:55:21,369 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/31ce07c5-4b9c-4003-99b0-f0c81d3adae9
2026-08-22 18:55:21,379 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/31ce07c5-4b9c-4003-99b0-f0c81d3adae9
2026-08-22 18:55:21,390 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/35772245-e92d-4ea7-9b84-c8e129f1860b
2026-08-22 18:55:21,406 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-75190955:ctest-vn-34214918', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-75190955', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14631404573122711109', 'uuid-lslong': '13510738404275840719'}, 'enable': 'true', 'created': '2026-08-22T18:55:18', 'last-modified': '2026-08-22T18:55:19', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.685010'}
2026-08-22 18:55:21,415 - DEBUG - Route Targets: ['target:64512:8000005']
2026-08-22 18:55:21,415 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-34214918 passed
2026-08-22 18:55:21,415 - DEBUG - ====Verifying policy data for ctest-vn-34214918 in API_Server ======
2026-08-22 18:55:21,415 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-08-22 18:55:21,422 - DEBUG - Requesting: http://10.0.0.50:8082/domain/f61de404-4d22-40a1-b163-4b1a9b28dc72
2026-08-22 18:55:21,435 - DEBUG - Requesting: http://10.0.0.50:8082/project/9ac4a21e-20e0-4dda-84cc-0880e2387b87
2026-08-22 18:55:21,524 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/cb0d30f0-5201-4e45-bb7f-c8fee816e6cf
2026-08-22 18:55:21,536 - DEBUG - ==>Verifying data for policy with id: 3d963afb-ce62-41d9-935d-5c99630df75b, fqn: ['default-domain', 'ctest-TestBasicPolicy-75190955', 'ctest-policy-allow-all-47457515']
2026-08-22 18:55:21,536 - INFO - VN ctest-vn-34214918 Policy verification: verify_vn_policy_in_api_server, status: True
2026-08-22 18:55:21,536 - DEBUG - Verifying the vn in opserver
2026-08-22 18:55:21,536 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-75190955:ctest-vn-34214918 virtual network link through opserver 10.0.0.50
2026-08-22 18:55:21,536 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-08-22 18:55:21,548 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-75190955:ctest-vn-34214918', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-75190955:ctest-vn-34214918?flat'}
2026-08-22 18:55:21,548 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-75190955:ctest-vn-34214918 is found in opserver
2026-08-22 18:55:21,559 - DEBUG - Do not have enough data to verify VN in agent
2026-08-22 18:55:21,565 - DEBUG - VRF ids for VN ctest-vn-34214918: {}
2026-08-22 18:55:21,636 - DEBUG - Services list from nova: [