2026-09-17 19:40:32,190 - INFO - Domain Default found not creating
2026-09-17 19:40:32,341 - INFO - Project ctest-TestBasicPolicy-74034495 not found, creating it
2026-09-17 19:40:32,811 - INFO - Created Project:ctest-TestBasicPolicy-74034495, ID : e7b27110-9efc-44f3-9709-183899206665
2026-09-17 19:40:34,352 - INFO - ================================================================================
2026-09-17 19:40:34,352 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-09-17 19:40:34,352 - 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-09-17 19:40:34,610 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.25': '0'}} with
2026-09-17 19:40:34,610 - INFO - Initial checks done. Running the testcase now
2026-09-17 19:40:34,610 - INFO -
2026-09-17 19:40:35,224 - DEBUG - Response for create_network : {'network': {'id': '85d394ce-8780-4590-ab45-2a4f013a6e03', 'name': 'ctest-vn-35460837', 'tenant_id': 'e7b271109efc44f39709183899206665', 'project_id': 'e7b271109efc44f39709183899206665', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74034495', 'ctest-vn-35460837'], 'port_security_enabled': True, 'description': ''}}
2026-09-17 19:40:35,410 - DEBUG - Response for create_subnet : {'subnet': {'id': '682c711a-5d21-49cc-b8a3-0c2831e2d114', 'name': '', 'tenant_id': 'e7b271109efc44f39709183899206665', 'network_id': '85d394ce-8780-4590-ab45-2a4f013a6e03', 'ip_version': 4, 'cidr': '188.162.248.128/26', 'allocation_pools': [{'start': '188.162.248.130', 'end': '188.162.248.190'}], 'gateway_ip': '188.162.248.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '188.162.248.130', 'tags': [], 'project_id': 'e7b271109efc44f39709183899206665'}}
2026-09-17 19:40:35,428 - INFO - Created VN ctest-vn-35460837
2026-09-17 19:40:35,484 - DEBUG - VN ctest-vn-35460837 UUID is 85d394ce-8780-4590-ab45-2a4f013a6e03
2026-09-17 19:40:35,813 - DEBUG - Response for create_network : {'network': {'id': '6cc33830-a15e-4137-a3da-e16e2a1bd2dd', 'name': 'ctest-vn-87770043', 'tenant_id': 'e7b271109efc44f39709183899206665', 'project_id': 'e7b271109efc44f39709183899206665', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74034495', 'ctest-vn-87770043'], 'port_security_enabled': True, 'description': ''}}
2026-09-17 19:40:36,060 - DEBUG - Response for create_subnet : {'subnet': {'id': '46058175-bc31-4f22-a0fc-ebf5d3064ad8', 'name': '', 'tenant_id': 'e7b271109efc44f39709183899206665', 'network_id': '6cc33830-a15e-4137-a3da-e16e2a1bd2dd', 'ip_version': 4, 'cidr': '155.66.234.192/26', 'allocation_pools': [{'start': '155.66.234.194', 'end': '155.66.234.254'}], 'gateway_ip': '155.66.234.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '155.66.234.194', 'tags': [], 'project_id': 'e7b271109efc44f39709183899206665'}}
2026-09-17 19:40:36,090 - INFO - Created VN ctest-vn-87770043
2026-09-17 19:40:36,155 - DEBUG - VN ctest-vn-87770043 UUID is 6cc33830-a15e-4137-a3da-e16e2a1bd2dd
2026-09-17 19:40:36,268 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-74034495:ctest-vn-35460837, 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-74034495:ctest-vn-87770043, 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-09-17 19:40:36,584 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '85d394ce-8780-4590-ab45-2a4f013a6e03', 'name': 'ctest-vn-35460837', 'tenant_id': 'e7b271109efc44f39709183899206665', 'project_id': 'e7b271109efc44f39709183899206665', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['682c711a-5d21-49cc-b8a3-0c2831e2d114'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74034495', 'ctest-vn-35460837'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-74034495', 'ctest-policy-allow-all-79796414']], 'subnet_ipam': [{'subnet_cidr': '188.162.248.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-09-17 19:40:36,824 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6cc33830-a15e-4137-a3da-e16e2a1bd2dd', 'name': 'ctest-vn-87770043', 'tenant_id': 'e7b271109efc44f39709183899206665', 'project_id': 'e7b271109efc44f39709183899206665', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['46058175-bc31-4f22-a0fc-ebf5d3064ad8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74034495', 'ctest-vn-87770043'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-74034495', 'ctest-policy-allow-all-79796414']], 'subnet_ipam': [{'subnet_cidr': '155.66.234.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-09-17 19:40:36,991 - DEBUG - Requesting: http://10.0.0.241:8082/domains
2026-09-17 19:40:37,341 - DEBUG - Requesting: http://10.0.0.241:8082/domains
2026-09-17 19:40:37,374 - DEBUG - Requesting: http://10.0.0.241:8082/domain/26d1e12b-33ce-4f90-b5a3-ff0e22a56826
2026-09-17 19:40:37,387 - DEBUG - Requesting: http://10.0.0.241:8082/project/e7b27110-9efc-44f3-9709-183899206665
2026-09-17 19:40:37,462 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/85d394ce-8780-4590-ab45-2a4f013a6e03
2026-09-17 19:40:37,478 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/85d394ce-8780-4590-ab45-2a4f013a6e03
2026-09-17 19:40:37,488 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/40a022c8-be04-4ed8-9363-4ccfad8f23c9
2026-09-17 19:40:37,497 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/40a022c8-be04-4ed8-9363-4ccfad8f23c9
2026-09-17 19:40:37,505 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/855b432f-f883-48cf-9c2a-c2f8379c087f
2026-09-17 19:40:37,514 - DEBUG - Route Targets: ['target:64512:8000005']
2026-09-17 19:40:37,514 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/85d394ce-8780-4590-ab45-2a4f013a6e03
2026-09-17 19:40:37,524 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/40a022c8-be04-4ed8-9363-4ccfad8f23c9
2026-09-17 19:40:37,541 - INFO - Verified VN network id 12 for VN 85d394ce-8780-4590-ab45-2a4f013a6e03
2026-09-17 19:40:37,541 - INFO - Verifications in API Server for VN ctest-vn-35460837 passed
2026-09-17 19:40:37,541 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/85d394ce-8780-4590-ab45-2a4f013a6e03
2026-09-17 19:40:37,550 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/40a022c8-be04-4ed8-9363-4ccfad8f23c9
2026-09-17 19:40:37,558 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/40a022c8-be04-4ed8-9363-4ccfad8f23c9
2026-09-17 19:40:37,566 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/855b432f-f883-48cf-9c2a-c2f8379c087f
2026-09-17 19:40:37,580 - DEBUG - Control-node 10.0.0.241 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-74034495:ctest-vn-35460837', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-74034495', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9643214841887868304', 'uuid-lslong': '12341316872690101763'}, 'enable': 'true', 'created': '2026-09-17T19:40:35', 'last-modified': '2026-09-17T19:40:36', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.017977'}
2026-09-17 19:40:37,587 - DEBUG - Route Targets: ['target:64512:8000005']
2026-09-17 19:40:37,587 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-35460837 passed
2026-09-17 19:40:37,587 - DEBUG - ====Verifying policy data for ctest-vn-35460837 in API_Server ======
2026-09-17 19:40:37,588 - DEBUG - Requesting: http://10.0.0.241:8082/domains
2026-09-17 19:40:37,595 - DEBUG - Requesting: http://10.0.0.241:8082/domain/26d1e12b-33ce-4f90-b5a3-ff0e22a56826
2026-09-17 19:40:37,606 - DEBUG - Requesting: http://10.0.0.241:8082/project/e7b27110-9efc-44f3-9709-183899206665
2026-09-17 19:40:37,681 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/85d394ce-8780-4590-ab45-2a4f013a6e03
2026-09-17 19:40:37,691 - DEBUG - ==>Verifying data for policy with id: 1ce848e6-5330-483a-b701-9203a22df2a2, fqn: ['default-domain', 'ctest-TestBasicPolicy-74034495', 'ctest-policy-allow-all-79796414']
2026-09-17 19:40:37,691 - INFO - VN ctest-vn-35460837 Policy verification: verify_vn_policy_in_api_server, status: True
2026-09-17 19:40:37,691 - DEBUG - Verifying the vn in opserver
2026-09-17 19:40:37,691 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-74034495:ctest-vn-35460837 virtual network link through opserver 10.0.0.241
2026-09-17 19:40:37,691 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks
2026-09-17 19:40:38,017 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks
2026-09-17 19:40:38,078 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-74034495:ctest-vn-35460837', 'href': 'http://10.0.0.241:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-74034495:ctest-vn-35460837?flat'}
2026-09-17 19:40:38,078 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-74034495:ctest-vn-35460837 is found in opserver
2026-09-17 19:40:38,090 - DEBUG - Do not have enough data to verify VN in agent
2026-09-17 19:40:38,094 - DEBUG - VRF ids for VN ctest-vn-35460837: {}
2026-09-17 19:40:38,094 - DEBUG - Requesting: http://10.0.0.241:8082/domains
2026-09-17 19:40:38,101 - DEBUG - Requesting: http://10.0.0.241:8082/domain/26d1e12b-33ce-4f90-b5a3-ff0e22a56826
2026-09-17 19:40:38,114 - DEBUG - Requesting: http://10.0.0.241:8082/project/e7b27110-9efc-44f3-9709-183899206665
2026-09-17 19:40:38,194 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/6cc33830-a15e-4137-a3da-e16e2a1bd2dd
2026-09-17 19:40:38,209 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/6cc33830-a15e-4137-a3da-e16e2a1bd2dd
2026-09-17 19:40:38,219 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/a9dafc46-3fe1-4f38-a1bb-9c91558c4cb5
2026-09-17 19:40:38,227 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/a9dafc46-3fe1-4f38-a1bb-9c91558c4cb5
2026-09-17 19:40:38,234 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/585676cc-efb9-4d2d-a0e6-e85308108394
2026-09-17 19:40:38,241 - DEBUG - Route Targets: ['target:64512:8000006']
2026-09-17 19:40:38,241 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/6cc33830-a15e-4137-a3da-e16e2a1bd2dd
2026-09-17 19:40:38,249 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/a9dafc46-3fe1-4f38-a1bb-9c91558c4cb5
2026-09-17 19:40:38,264 - INFO - Verified VN network id 13 for VN 6cc33830-a15e-4137-a3da-e16e2a1bd2dd
2026-09-17 19:40:38,264 - INFO - Verifications in API Server for VN ctest-vn-87770043 passed
2026-09-17 19:40:38,264 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/6cc33830-a15e-4137-a3da-e16e2a1bd2dd
2026-09-17 19:40:38,274 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/a9dafc46-3fe1-4f38-a1bb-9c91558c4cb5
2026-09-17 19:40:38,280 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/a9dafc46-3fe1-4f38-a1bb-9c91558c4cb5
2026-09-17 19:40:38,287 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/585676cc-efb9-4d2d-a0e6-e85308108394
2026-09-17 19:40:38,316 - DEBUG - Control-node 10.0.0.241 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-74034495:ctest-vn-87770043', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-74034495', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7837169558071689527', 'uuid-lslong': '11806997236374295261'}, 'enable': 'true', 'created': '2026-09-17T19:40:35', 'last-modified': '2026-09-17T19:40:36', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.519772'}
2026-09-17 19:40:38,323 - DEBUG - Route Targets: ['target:64512:8000006']
2026-09-17 19:40:38,324 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-87770043 passed
2026-09-17 19:40:38,324 - DEBUG - ====Verifying policy data for ctest-vn-87770043 in API_Server ======
2026-09-17 19:40:38,324 - DEBUG - Requesting: http://10.0.0.241:8082/domains
2026-09-17 19:40:38,330 - DEBUG - Requesting: http://10.0.0.241:8082/domain/26d1e12b-33ce-4f90-b5a3-ff0e22a56826
2026-09-17 19:40:38,341 - DEBUG - Requesting: http://10.0.0.241:8082/project/e7b27110-9efc-44f3-9709-183899206665
2026-09-17 19:40:38,421 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/6cc33830-a15e-4137-a3da-e16e2a1bd2dd
2026-09-17 19:40:38,432 - DEBUG - ==>Verifying data for policy with id: 1ce848e6-5330-483a-b701-9203a22df2a2, fqn: ['default-domain', 'ctest-TestBasicPolicy-74034495', 'ctest-policy-allow-all-79796414']
2026-09-17 19:40:38,432 - INFO - VN ctest-vn-87770043 Policy verification: verify_vn_policy_in_api_server, status: True
2026-09-17 19:40:38,432 - DEBUG - Verifying the vn in opserver
2026-09-17 19:40:38,432 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-74034495:ctest-vn-87770043 virtual network link through opserver 10.0.0.241
2026-09-17 19:40:38,433 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks
2026-09-17 19:40:38,443 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-74034495:ctest-vn-87770043', 'href': 'http://10.0.0.241:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-74034495:ctest-vn-87770043?flat'}
2026-09-17 19:40:38,443 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-74034495:ctest-vn-87770043 is found in opserver
2026-09-17 19:40:38,457 - DEBUG - Do not have enough data to verify VN in agent
2026-09-17 19:40:38,463 - DEBUG - VRF ids for VN ctest-vn-87770043: {}
2026-09-17 19:40:38,532 - DEBUG - Services list from nova: [