2026-06-16 12:15:12,964 - INFO - Domain Default found not creating
2026-06-16 12:15:13,130 - INFO - Project ctest-TestBasicPolicy-47647286 not found, creating it
2026-06-16 12:15:13,613 - INFO - Created Project:ctest-TestBasicPolicy-47647286, ID : 34d311d8-3325-4c31-82be-445a230bf0f0
2026-06-16 12:15:15,299 - INFO - ================================================================================
2026-06-16 12:15:15,299 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-06-16 12:15:15,299 - 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-06-16 12:15:15,560 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2026-06-16 12:15:15,560 - INFO - Initial checks done. Running the testcase now
2026-06-16 12:15:15,560 - INFO -
2026-06-16 12:15:16,174 - DEBUG - Response for create_network : {'network': {'id': '76feac13-6c39-423b-8d81-fa2d86518fea', 'name': 'ctest-vn-80799344', 'tenant_id': '34d311d833254c3182be445a230bf0f0', 'project_id': '34d311d833254c3182be445a230bf0f0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-47647286', 'ctest-vn-80799344'], 'port_security_enabled': True, 'description': ''}}
2026-06-16 12:15:16,371 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f5737ffa-81b4-4c48-ac64-f832f026f1de', 'name': '', 'tenant_id': '34d311d833254c3182be445a230bf0f0', 'network_id': '76feac13-6c39-423b-8d81-fa2d86518fea', 'ip_version': 4, 'cidr': '31.10.195.192/26', 'allocation_pools': [{'start': '31.10.195.194', 'end': '31.10.195.254'}], 'gateway_ip': '31.10.195.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '31.10.195.194', 'tags': [], 'project_id': '34d311d833254c3182be445a230bf0f0'}}
2026-06-16 12:15:16,387 - INFO - Created VN ctest-vn-80799344
2026-06-16 12:15:16,445 - DEBUG - VN ctest-vn-80799344 UUID is 76feac13-6c39-423b-8d81-fa2d86518fea
2026-06-16 12:15:16,752 - DEBUG - Response for create_network : {'network': {'id': 'ec084971-f4a5-4d86-b578-13e53c9f8f52', 'name': 'ctest-vn-82426122', 'tenant_id': '34d311d833254c3182be445a230bf0f0', 'project_id': '34d311d833254c3182be445a230bf0f0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-47647286', 'ctest-vn-82426122'], 'port_security_enabled': True, 'description': ''}}
2026-06-16 12:15:16,948 - DEBUG - Response for create_subnet : {'subnet': {'id': '6c98a8ea-1312-4662-8102-4525d077d102', 'name': '', 'tenant_id': '34d311d833254c3182be445a230bf0f0', 'network_id': 'ec084971-f4a5-4d86-b578-13e53c9f8f52', 'ip_version': 4, 'cidr': '30.243.241.192/26', 'allocation_pools': [{'start': '30.243.241.194', 'end': '30.243.241.254'}], 'gateway_ip': '30.243.241.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '30.243.241.194', 'tags': [], 'project_id': '34d311d833254c3182be445a230bf0f0'}}
2026-06-16 12:15:16,963 - INFO - Created VN ctest-vn-82426122
2026-06-16 12:15:17,013 - DEBUG - VN ctest-vn-82426122 UUID is ec084971-f4a5-4d86-b578-13e53c9f8f52
2026-06-16 12:15:17,161 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-47647286:ctest-vn-80799344, 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-47647286:ctest-vn-82426122, 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-06-16 12:15:17,465 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '76feac13-6c39-423b-8d81-fa2d86518fea', 'name': 'ctest-vn-80799344', 'tenant_id': '34d311d833254c3182be445a230bf0f0', 'project_id': '34d311d833254c3182be445a230bf0f0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f5737ffa-81b4-4c48-ac64-f832f026f1de'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-47647286', 'ctest-vn-80799344'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-47647286', 'ctest-policy-allow-all-84226289']], 'subnet_ipam': [{'subnet_cidr': '31.10.195.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-06-16 12:15:17,703 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ec084971-f4a5-4d86-b578-13e53c9f8f52', 'name': 'ctest-vn-82426122', 'tenant_id': '34d311d833254c3182be445a230bf0f0', 'project_id': '34d311d833254c3182be445a230bf0f0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6c98a8ea-1312-4662-8102-4525d077d102'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-47647286', 'ctest-vn-82426122'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-47647286', 'ctest-policy-allow-all-84226289']], 'subnet_ipam': [{'subnet_cidr': '30.243.241.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-06-16 12:15:17,869 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-06-16 12:15:18,234 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-06-16 12:15:18,263 - DEBUG - Requesting: http://10.0.0.50:8082/domain/52200764-1b5e-44c0-bfac-d1cf20bfca4d
2026-06-16 12:15:18,275 - DEBUG - Requesting: http://10.0.0.50:8082/project/34d311d8-3325-4c31-82be-445a230bf0f0
2026-06-16 12:15:18,344 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/76feac13-6c39-423b-8d81-fa2d86518fea
2026-06-16 12:15:18,354 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/76feac13-6c39-423b-8d81-fa2d86518fea
2026-06-16 12:15:18,363 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3027700c-7b33-4fb3-aa9c-1e0c0a4e6861
2026-06-16 12:15:18,370 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3027700c-7b33-4fb3-aa9c-1e0c0a4e6861
2026-06-16 12:15:18,376 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/515726bf-d449-457b-8fff-7f267044349f
2026-06-16 12:15:18,382 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-16 12:15:18,382 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/76feac13-6c39-423b-8d81-fa2d86518fea
2026-06-16 12:15:18,390 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3027700c-7b33-4fb3-aa9c-1e0c0a4e6861
2026-06-16 12:15:18,401 - INFO - Verified VN network id 11 for VN 76feac13-6c39-423b-8d81-fa2d86518fea
2026-06-16 12:15:18,402 - INFO - Verifications in API Server for VN ctest-vn-80799344 passed
2026-06-16 12:15:18,402 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/76feac13-6c39-423b-8d81-fa2d86518fea
2026-06-16 12:15:18,410 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3027700c-7b33-4fb3-aa9c-1e0c0a4e6861
2026-06-16 12:15:18,416 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3027700c-7b33-4fb3-aa9c-1e0c0a4e6861
2026-06-16 12:15:18,424 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/515726bf-d449-457b-8fff-7f267044349f
2026-06-16 12:15:18,435 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-47647286:ctest-vn-80799344', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-47647286', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8574479939980051003', 'uuid-lslong': '10196706104777478122'}, 'enable': 'true', 'created': '2026-06-16T12:15:16', 'last-modified': '2026-06-16T12:15:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.003006'}
2026-06-16 12:15:18,441 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-16 12:15:18,441 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-80799344 passed
2026-06-16 12:15:18,442 - DEBUG - ====Verifying policy data for ctest-vn-80799344 in API_Server ======
2026-06-16 12:15:18,442 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-06-16 12:15:18,447 - DEBUG - Requesting: http://10.0.0.50:8082/domain/52200764-1b5e-44c0-bfac-d1cf20bfca4d
2026-06-16 12:15:18,456 - DEBUG - Requesting: http://10.0.0.50:8082/project/34d311d8-3325-4c31-82be-445a230bf0f0
2026-06-16 12:15:18,525 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/76feac13-6c39-423b-8d81-fa2d86518fea
2026-06-16 12:15:18,536 - DEBUG - ==>Verifying data for policy with id: 9194a060-7da9-446e-b9e0-77f219e20426, fqn: ['default-domain', 'ctest-TestBasicPolicy-47647286', 'ctest-policy-allow-all-84226289']
2026-06-16 12:15:18,536 - INFO - VN ctest-vn-80799344 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-16 12:15:18,536 - DEBUG - Verifying the vn in opserver
2026-06-16 12:15:18,536 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-47647286:ctest-vn-80799344 virtual network link through opserver 10.0.0.50
2026-06-16 12:15:18,536 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-06-16 12:15:19,133 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-06-16 12:15:19,214 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-47647286:ctest-vn-80799344', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-47647286:ctest-vn-80799344?flat'}
2026-06-16 12:15:19,214 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-47647286:ctest-vn-80799344 is found in opserver
2026-06-16 12:15:19,223 - DEBUG - Do not have enough data to verify VN in agent
2026-06-16 12:15:19,228 - DEBUG - VRF ids for VN ctest-vn-80799344: {}
2026-06-16 12:15:19,228 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-06-16 12:15:19,233 - DEBUG - Requesting: http://10.0.0.50:8082/domain/52200764-1b5e-44c0-bfac-d1cf20bfca4d
2026-06-16 12:15:19,242 - DEBUG - Requesting: http://10.0.0.50:8082/project/34d311d8-3325-4c31-82be-445a230bf0f0
2026-06-16 12:15:19,313 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ec084971-f4a5-4d86-b578-13e53c9f8f52
2026-06-16 12:15:19,324 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ec084971-f4a5-4d86-b578-13e53c9f8f52
2026-06-16 12:15:19,332 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c043dce3-176e-461a-9a57-89e4ce0fe4b1
2026-06-16 12:15:19,339 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c043dce3-176e-461a-9a57-89e4ce0fe4b1
2026-06-16 12:15:19,346 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/e25b037e-bdf7-413f-8bca-e8e085f3a91a
2026-06-16 12:15:19,352 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-16 12:15:19,352 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ec084971-f4a5-4d86-b578-13e53c9f8f52
2026-06-16 12:15:19,360 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c043dce3-176e-461a-9a57-89e4ce0fe4b1
2026-06-16 12:15:19,375 - INFO - Verified VN network id 12 for VN ec084971-f4a5-4d86-b578-13e53c9f8f52
2026-06-16 12:15:19,375 - INFO - Verifications in API Server for VN ctest-vn-82426122 passed
2026-06-16 12:15:19,375 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ec084971-f4a5-4d86-b578-13e53c9f8f52
2026-06-16 12:15:19,387 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c043dce3-176e-461a-9a57-89e4ce0fe4b1
2026-06-16 12:15:19,393 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c043dce3-176e-461a-9a57-89e4ce0fe4b1
2026-06-16 12:15:19,399 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/e25b037e-bdf7-413f-8bca-e8e085f3a91a
2026-06-16 12:15:19,412 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-47647286:ctest-vn-82426122', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-47647286', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17007924746549284230', 'uuid-lslong': '13076223393355763538'}, 'enable': 'true', 'created': '2026-06-16T12:15:16', 'last-modified': '2026-06-16T12:15:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.739471'}
2026-06-16 12:15:19,422 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-16 12:15:19,422 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-82426122 passed
2026-06-16 12:15:19,422 - DEBUG - ====Verifying policy data for ctest-vn-82426122 in API_Server ======
2026-06-16 12:15:19,422 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-06-16 12:15:19,428 - DEBUG - Requesting: http://10.0.0.50:8082/domain/52200764-1b5e-44c0-bfac-d1cf20bfca4d
2026-06-16 12:15:19,439 - DEBUG - Requesting: http://10.0.0.50:8082/project/34d311d8-3325-4c31-82be-445a230bf0f0
2026-06-16 12:15:19,509 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ec084971-f4a5-4d86-b578-13e53c9f8f52
2026-06-16 12:15:19,517 - DEBUG - ==>Verifying data for policy with id: 9194a060-7da9-446e-b9e0-77f219e20426, fqn: ['default-domain', 'ctest-TestBasicPolicy-47647286', 'ctest-policy-allow-all-84226289']
2026-06-16 12:15:19,517 - INFO - VN ctest-vn-82426122 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-16 12:15:19,517 - DEBUG - Verifying the vn in opserver
2026-06-16 12:15:19,517 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-47647286:ctest-vn-82426122 virtual network link through opserver 10.0.0.50
2026-06-16 12:15:19,517 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-06-16 12:15:19,526 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-47647286:ctest-vn-82426122', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-47647286:ctest-vn-82426122?flat'}
2026-06-16 12:15:19,526 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-47647286:ctest-vn-82426122 is found in opserver
2026-06-16 12:15:19,534 - DEBUG - Do not have enough data to verify VN in agent
2026-06-16 12:15:19,539 - DEBUG - VRF ids for VN ctest-vn-82426122: {}
2026-06-16 12:15:19,590 - DEBUG - Services list from nova: [