2026-02-10 14:53:15,439 - INFO - Domain Default found not creating
2026-02-10 14:53:15,595 - INFO - Project ctest-TestBasicPolicy-82193922 not found, creating it
2026-02-10 14:53:16,055 - INFO - Created Project:ctest-TestBasicPolicy-82193922, ID : bad52c36-a356-4c4b-ab75-8c8f12563e32
2026-02-10 14:53:17,505 - INFO - ================================================================================
2026-02-10 14:53:17,506 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-10 14:53:17,506 - 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-10 14:53:17,759 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.14': '0'}} with
2026-02-10 14:53:17,759 - INFO - Initial checks done. Running the testcase now
2026-02-10 14:53:17,759 - INFO -
2026-02-10 14:53:18,342 - DEBUG - Response for create_network : {'network': {'id': 'e3636608-f412-41d2-adba-ce7c5573a57b', 'name': 'ctest-vn-68679087', 'tenant_id': 'bad52c36a3564c4bab758c8f12563e32', 'project_id': 'bad52c36a3564c4bab758c8f12563e32', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-82193922', 'ctest-vn-68679087'], 'port_security_enabled': True, 'description': ''}}
2026-02-10 14:53:18,552 - DEBUG - Response for create_subnet : {'subnet': {'id': '5f21aaac-5719-481e-9067-867328cfb374', 'name': '', 'tenant_id': 'bad52c36a3564c4bab758c8f12563e32', 'network_id': 'e3636608-f412-41d2-adba-ce7c5573a57b', 'ip_version': 4, 'cidr': '84.122.93.192/26', 'allocation_pools': [{'start': '84.122.93.194', 'end': '84.122.93.254'}], 'gateway_ip': '84.122.93.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '84.122.93.194', 'tags': [], 'project_id': 'bad52c36a3564c4bab758c8f12563e32'}}
2026-02-10 14:53:18,567 - INFO - Created VN ctest-vn-68679087
2026-02-10 14:53:18,618 - DEBUG - VN ctest-vn-68679087 UUID is e3636608-f412-41d2-adba-ce7c5573a57b
2026-02-10 14:53:18,947 - DEBUG - Response for create_network : {'network': {'id': 'cbf8c51a-9c06-4375-8e62-879f82f6d8bc', 'name': 'ctest-vn-55233599', 'tenant_id': 'bad52c36a3564c4bab758c8f12563e32', 'project_id': 'bad52c36a3564c4bab758c8f12563e32', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-82193922', 'ctest-vn-55233599'], 'port_security_enabled': True, 'description': ''}}
2026-02-10 14:53:19,096 - DEBUG - Response for create_subnet : {'subnet': {'id': '1e64fbe5-61e6-4009-aa76-a0f42b064e94', 'name': '', 'tenant_id': 'bad52c36a3564c4bab758c8f12563e32', 'network_id': 'cbf8c51a-9c06-4375-8e62-879f82f6d8bc', 'ip_version': 4, 'cidr': '202.6.63.128/26', 'allocation_pools': [{'start': '202.6.63.130', 'end': '202.6.63.190'}], 'gateway_ip': '202.6.63.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '202.6.63.130', 'tags': [], 'project_id': 'bad52c36a3564c4bab758c8f12563e32'}}
2026-02-10 14:53:19,111 - INFO - Created VN ctest-vn-55233599
2026-02-10 14:53:19,162 - DEBUG - VN ctest-vn-55233599 UUID is cbf8c51a-9c06-4375-8e62-879f82f6d8bc
2026-02-10 14:53:19,314 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-82193922:ctest-vn-68679087, 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-82193922:ctest-vn-55233599, 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-10 14:53:19,598 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e3636608-f412-41d2-adba-ce7c5573a57b', 'name': 'ctest-vn-68679087', 'tenant_id': 'bad52c36a3564c4bab758c8f12563e32', 'project_id': 'bad52c36a3564c4bab758c8f12563e32', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5f21aaac-5719-481e-9067-867328cfb374'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-82193922', 'ctest-vn-68679087'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-82193922', 'ctest-policy-allow-all-68176572']], 'subnet_ipam': [{'subnet_cidr': '84.122.93.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-10 14:53:19,817 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'cbf8c51a-9c06-4375-8e62-879f82f6d8bc', 'name': 'ctest-vn-55233599', 'tenant_id': 'bad52c36a3564c4bab758c8f12563e32', 'project_id': 'bad52c36a3564c4bab758c8f12563e32', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1e64fbe5-61e6-4009-aa76-a0f42b064e94'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-82193922', 'ctest-vn-55233599'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-82193922', 'ctest-policy-allow-all-68176572']], 'subnet_ipam': [{'subnet_cidr': '202.6.63.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-10 14:53:19,986 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-10 14:53:20,285 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-10 14:53:20,313 - DEBUG - Requesting: http://10.0.0.50:8082/domain/720e9c69-1aee-4a07-a532-e782b9880da3
2026-02-10 14:53:20,324 - DEBUG - Requesting: http://10.0.0.50:8082/project/bad52c36-a356-4c4b-ab75-8c8f12563e32
2026-02-10 14:53:20,393 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/e3636608-f412-41d2-adba-ce7c5573a57b
2026-02-10 14:53:20,403 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/e3636608-f412-41d2-adba-ce7c5573a57b
2026-02-10 14:53:20,411 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d74188d7-d845-495b-9047-4762ddb8de5b
2026-02-10 14:53:20,418 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d74188d7-d845-495b-9047-4762ddb8de5b
2026-02-10 14:53:20,425 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/0fc88434-8d5d-4d40-8d31-a7cf10ec4a32
2026-02-10 14:53:20,432 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-10 14:53:20,432 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/e3636608-f412-41d2-adba-ce7c5573a57b
2026-02-10 14:53:20,441 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d74188d7-d845-495b-9047-4762ddb8de5b
2026-02-10 14:53:20,457 - INFO - Verified VN network id 12 for VN e3636608-f412-41d2-adba-ce7c5573a57b
2026-02-10 14:53:20,458 - INFO - Verifications in API Server for VN ctest-vn-68679087 passed
2026-02-10 14:53:20,458 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/e3636608-f412-41d2-adba-ce7c5573a57b
2026-02-10 14:53:20,467 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d74188d7-d845-495b-9047-4762ddb8de5b
2026-02-10 14:53:20,475 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d74188d7-d845-495b-9047-4762ddb8de5b
2026-02-10 14:53:20,482 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/0fc88434-8d5d-4d40-8d31-a7cf10ec4a32
2026-02-10 14:53:20,493 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-82193922:ctest-vn-68679087', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-82193922', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16385052057944605138', 'uuid-lslong': '12518545147634623867'}, 'enable': 'true', 'created': '2026-02-10T14:53:18', 'last-modified': '2026-02-10T14:53:19', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.912332'}
2026-02-10 14:53:20,499 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-10 14:53:20,499 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-68679087 passed
2026-02-10 14:53:20,499 - DEBUG - ====Verifying policy data for ctest-vn-68679087 in API_Server ======
2026-02-10 14:53:20,499 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-10 14:53:20,505 - DEBUG - Requesting: http://10.0.0.50:8082/domain/720e9c69-1aee-4a07-a532-e782b9880da3
2026-02-10 14:53:20,517 - DEBUG - Requesting: http://10.0.0.50:8082/project/bad52c36-a356-4c4b-ab75-8c8f12563e32
2026-02-10 14:53:20,589 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/e3636608-f412-41d2-adba-ce7c5573a57b
2026-02-10 14:53:20,597 - DEBUG - ==>Verifying data for policy with id: 09b93366-9b55-4a77-858b-006fee8c2e89, fqn: ['default-domain', 'ctest-TestBasicPolicy-82193922', 'ctest-policy-allow-all-68176572']
2026-02-10 14:53:20,597 - INFO - VN ctest-vn-68679087 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-10 14:53:20,597 - DEBUG - Verifying the vn in opserver
2026-02-10 14:53:20,597 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-82193922:ctest-vn-68679087 virtual network link through opserver 10.0.0.50
2026-02-10 14:53:20,598 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-02-10 14:53:20,888 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-02-10 14:53:20,948 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-82193922:ctest-vn-68679087', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-82193922:ctest-vn-68679087?flat'}
2026-02-10 14:53:20,948 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-82193922:ctest-vn-68679087 is found in opserver
2026-02-10 14:53:20,958 - DEBUG - Do not have enough data to verify VN in agent
2026-02-10 14:53:20,963 - DEBUG - VRF ids for VN ctest-vn-68679087: {}
2026-02-10 14:53:20,963 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-10 14:53:20,968 - DEBUG - Requesting: http://10.0.0.50:8082/domain/720e9c69-1aee-4a07-a532-e782b9880da3
2026-02-10 14:53:20,981 - DEBUG - Requesting: http://10.0.0.50:8082/project/bad52c36-a356-4c4b-ab75-8c8f12563e32
2026-02-10 14:53:21,051 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/cbf8c51a-9c06-4375-8e62-879f82f6d8bc
2026-02-10 14:53:21,062 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/cbf8c51a-9c06-4375-8e62-879f82f6d8bc
2026-02-10 14:53:21,070 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/fe34cf3e-0723-43d4-a1f9-d91897165594
2026-02-10 14:53:21,077 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/fe34cf3e-0723-43d4-a1f9-d91897165594
2026-02-10 14:53:21,083 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/110fd67b-61da-4685-aef2-551bd50ce387
2026-02-10 14:53:21,089 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-10 14:53:21,089 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/cbf8c51a-9c06-4375-8e62-879f82f6d8bc
2026-02-10 14:53:21,098 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/fe34cf3e-0723-43d4-a1f9-d91897165594
2026-02-10 14:53:21,110 - INFO - Verified VN network id 13 for VN cbf8c51a-9c06-4375-8e62-879f82f6d8bc
2026-02-10 14:53:21,110 - INFO - Verifications in API Server for VN ctest-vn-55233599 passed
2026-02-10 14:53:21,111 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/cbf8c51a-9c06-4375-8e62-879f82f6d8bc
2026-02-10 14:53:21,119 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/fe34cf3e-0723-43d4-a1f9-d91897165594
2026-02-10 14:53:21,125 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/fe34cf3e-0723-43d4-a1f9-d91897165594
2026-02-10 14:53:21,131 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/110fd67b-61da-4685-aef2-551bd50ce387
2026-02-10 14:53:21,143 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-82193922:ctest-vn-55233599', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-82193922', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14697714102001091445', 'uuid-lslong': '10259912020270176444'}, 'enable': 'true', 'created': '2026-02-10T14:53:18', 'last-modified': '2026-02-10T14:53:19', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.344224'}
2026-02-10 14:53:21,149 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-10 14:53:21,149 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-55233599 passed
2026-02-10 14:53:21,149 - DEBUG - ====Verifying policy data for ctest-vn-55233599 in API_Server ======
2026-02-10 14:53:21,149 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-10 14:53:21,155 - DEBUG - Requesting: http://10.0.0.50:8082/domain/720e9c69-1aee-4a07-a532-e782b9880da3
2026-02-10 14:53:21,165 - DEBUG - Requesting: http://10.0.0.50:8082/project/bad52c36-a356-4c4b-ab75-8c8f12563e32
2026-02-10 14:53:21,233 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/cbf8c51a-9c06-4375-8e62-879f82f6d8bc
2026-02-10 14:53:21,241 - DEBUG - ==>Verifying data for policy with id: 09b93366-9b55-4a77-858b-006fee8c2e89, fqn: ['default-domain', 'ctest-TestBasicPolicy-82193922', 'ctest-policy-allow-all-68176572']
2026-02-10 14:53:21,241 - INFO - VN ctest-vn-55233599 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-10 14:53:21,241 - DEBUG - Verifying the vn in opserver
2026-02-10 14:53:21,241 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-82193922:ctest-vn-55233599 virtual network link through opserver 10.0.0.50
2026-02-10 14:53:21,241 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-02-10 14:53:21,250 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-82193922:ctest-vn-55233599', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-82193922:ctest-vn-55233599?flat'}
2026-02-10 14:53:21,250 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-82193922:ctest-vn-55233599 is found in opserver
2026-02-10 14:53:21,259 - DEBUG - Do not have enough data to verify VN in agent
2026-02-10 14:53:21,264 - DEBUG - VRF ids for VN ctest-vn-55233599: {}
2026-02-10 14:53:21,318 - DEBUG - Services list from nova: [