2026-12-03 16:57:11,028 - INFO - Domain Default found not creating
2026-12-03 16:57:11,263 - INFO - Project ctest-TestBasicPolicy-66884287 not found, creating it
2026-12-03 16:57:11,809 - INFO - Created Project:ctest-TestBasicPolicy-66884287, ID : c7c3af69-cefe-4c72-b43f-5202627a0d15
2026-12-03 16:57:13,616 - INFO - ================================================================================
2026-12-03 16:57:13,617 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-12-03 16:57:13,617 - 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-12-03 16:57:13,877 - DEBUG - Nothing to compare xmpp stats {'10.0.0.250': {'10.20.0.25': '0'}} with
2026-12-03 16:57:13,877 - INFO - Initial checks done. Running the testcase now
2026-12-03 16:57:13,877 - INFO -
2026-12-03 16:57:14,501 - DEBUG - Response for create_network : {'network': {'id': '8d5e3c1e-af49-4614-9732-ae752440ec57', 'name': 'ctest-vn-14612727', 'tenant_id': 'c7c3af69cefe4c72b43f5202627a0d15', 'project_id': 'c7c3af69cefe4c72b43f5202627a0d15', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66884287', 'ctest-vn-14612727'], 'port_security_enabled': True, 'description': ''}}
2026-12-03 16:57:14,678 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bf7ef28d-d3cd-4704-bd27-82cff804912d', 'name': '', 'tenant_id': 'c7c3af69cefe4c72b43f5202627a0d15', 'network_id': '8d5e3c1e-af49-4614-9732-ae752440ec57', 'ip_version': 4, 'cidr': '107.180.124.64/26', 'allocation_pools': [{'start': '107.180.124.66', 'end': '107.180.124.126'}], 'gateway_ip': '107.180.124.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '107.180.124.66', 'tags': [], 'project_id': 'c7c3af69cefe4c72b43f5202627a0d15'}}
2026-12-03 16:57:14,694 - INFO - Created VN ctest-vn-14612727
2026-12-03 16:57:14,748 - DEBUG - VN ctest-vn-14612727 UUID is 8d5e3c1e-af49-4614-9732-ae752440ec57
2026-12-03 16:57:15,089 - DEBUG - Response for create_network : {'network': {'id': '7fdc6b8c-2cc8-412f-a3ef-b7bc19c518cb', 'name': 'ctest-vn-17341882', 'tenant_id': 'c7c3af69cefe4c72b43f5202627a0d15', 'project_id': 'c7c3af69cefe4c72b43f5202627a0d15', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66884287', 'ctest-vn-17341882'], 'port_security_enabled': True, 'description': ''}}
2026-12-03 16:57:15,283 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a17a1a6d-8f6d-4c24-b559-69001f7b8761', 'name': '', 'tenant_id': 'c7c3af69cefe4c72b43f5202627a0d15', 'network_id': '7fdc6b8c-2cc8-412f-a3ef-b7bc19c518cb', 'ip_version': 4, 'cidr': '191.173.122.192/26', 'allocation_pools': [{'start': '191.173.122.194', 'end': '191.173.122.254'}], 'gateway_ip': '191.173.122.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '191.173.122.194', 'tags': [], 'project_id': 'c7c3af69cefe4c72b43f5202627a0d15'}}
2026-12-03 16:57:15,300 - INFO - Created VN ctest-vn-17341882
2026-12-03 16:57:15,351 - DEBUG - VN ctest-vn-17341882 UUID is 7fdc6b8c-2cc8-412f-a3ef-b7bc19c518cb
2026-12-03 16:57:15,507 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-66884287:ctest-vn-14612727, 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-66884287:ctest-vn-17341882, 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-12-03 16:57:15,844 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8d5e3c1e-af49-4614-9732-ae752440ec57', 'name': 'ctest-vn-14612727', 'tenant_id': 'c7c3af69cefe4c72b43f5202627a0d15', 'project_id': 'c7c3af69cefe4c72b43f5202627a0d15', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['bf7ef28d-d3cd-4704-bd27-82cff804912d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66884287', 'ctest-vn-14612727'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-66884287', 'ctest-policy-allow-all-25201643']], 'subnet_ipam': [{'subnet_cidr': '107.180.124.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-12-03 16:57:16,076 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7fdc6b8c-2cc8-412f-a3ef-b7bc19c518cb', 'name': 'ctest-vn-17341882', 'tenant_id': 'c7c3af69cefe4c72b43f5202627a0d15', 'project_id': 'c7c3af69cefe4c72b43f5202627a0d15', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['a17a1a6d-8f6d-4c24-b559-69001f7b8761'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66884287', 'ctest-vn-17341882'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-66884287', 'ctest-policy-allow-all-25201643']], 'subnet_ipam': [{'subnet_cidr': '191.173.122.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-12-03 16:57:16,235 - DEBUG - Requesting: http://10.0.0.250:8082/domains
2026-12-03 16:57:16,883 - DEBUG - Requesting: http://10.0.0.250:8082/domains
2026-12-03 16:57:16,922 - DEBUG - Requesting: http://10.0.0.250:8082/domain/d80cba0b-af28-4228-b456-68298c359d7a
2026-12-03 16:57:16,937 - DEBUG - Requesting: http://10.0.0.250:8082/project/c7c3af69-cefe-4c72-b43f-5202627a0d15
2026-12-03 16:57:17,017 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/8d5e3c1e-af49-4614-9732-ae752440ec57
2026-12-03 16:57:17,033 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/8d5e3c1e-af49-4614-9732-ae752440ec57
2026-12-03 16:57:17,046 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/b808d494-cd49-4065-bce5-a285687a28da
2026-12-03 16:57:17,055 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/b808d494-cd49-4065-bce5-a285687a28da
2026-12-03 16:57:17,064 - DEBUG - Requesting: http://10.0.0.250:8082/route-target/303c9ade-bfeb-4a1c-ab7f-d8c3b975ddd4
2026-12-03 16:57:17,071 - DEBUG - Route Targets: ['target:64512:8000005']
2026-12-03 16:57:17,072 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/8d5e3c1e-af49-4614-9732-ae752440ec57
2026-12-03 16:57:17,083 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/b808d494-cd49-4065-bce5-a285687a28da
2026-12-03 16:57:17,099 - INFO - Verified VN network id 12 for VN 8d5e3c1e-af49-4614-9732-ae752440ec57
2026-12-03 16:57:17,099 - INFO - Verifications in API Server for VN ctest-vn-14612727 passed
2026-12-03 16:57:17,099 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/8d5e3c1e-af49-4614-9732-ae752440ec57
2026-12-03 16:57:17,111 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/b808d494-cd49-4065-bce5-a285687a28da
2026-12-03 16:57:17,119 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/b808d494-cd49-4065-bce5-a285687a28da
2026-12-03 16:57:17,128 - DEBUG - Requesting: http://10.0.0.250:8082/route-target/303c9ade-bfeb-4a1c-ab7f-d8c3b975ddd4
2026-12-03 16:57:17,144 - DEBUG - Control-node 10.0.0.250 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-66884287:ctest-vn-14612727', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-66884287', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10186645509646140948', 'uuid-lslong': '10894962266705292375'}, 'enable': 'true', 'created': '2026-12-03T16:57:14', 'last-modified': '2026-12-03T16:57:15', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.338337'}
2026-12-03 16:57:17,152 - DEBUG - Route Targets: ['target:64512:8000005']
2026-12-03 16:57:17,152 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-14612727 passed
2026-12-03 16:57:17,153 - DEBUG - ====Verifying policy data for ctest-vn-14612727 in API_Server ======
2026-12-03 16:57:17,153 - DEBUG - Requesting: http://10.0.0.250:8082/domains
2026-12-03 16:57:17,159 - DEBUG - Requesting: http://10.0.0.250:8082/domain/d80cba0b-af28-4228-b456-68298c359d7a
2026-12-03 16:57:17,172 - DEBUG - Requesting: http://10.0.0.250:8082/project/c7c3af69-cefe-4c72-b43f-5202627a0d15
2026-12-03 16:57:17,251 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/8d5e3c1e-af49-4614-9732-ae752440ec57
2026-12-03 16:57:17,262 - DEBUG - ==>Verifying data for policy with id: c6c03a17-dfac-491e-9675-10ce078a9494, fqn: ['default-domain', 'ctest-TestBasicPolicy-66884287', 'ctest-policy-allow-all-25201643']
2026-12-03 16:57:17,262 - INFO - VN ctest-vn-14612727 Policy verification: verify_vn_policy_in_api_server, status: True
2026-12-03 16:57:17,262 - DEBUG - Verifying the vn in opserver
2026-12-03 16:57:17,262 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-66884287:ctest-vn-14612727 virtual network link through opserver 10.0.0.250
2026-12-03 16:57:17,263 - DEBUG - Requesting: http://10.0.0.250:8081/analytics/uves/virtual-networks
2026-12-03 16:57:17,669 - DEBUG - Requesting: http://10.0.0.250:8081/analytics/uves/virtual-networks
2026-12-03 16:57:17,735 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-66884287:ctest-vn-14612727', 'href': 'http://10.0.0.250:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-66884287:ctest-vn-14612727?flat'}
2026-12-03 16:57:17,735 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-66884287:ctest-vn-14612727 is found in opserver
2026-12-03 16:57:17,748 - DEBUG - Do not have enough data to verify VN in agent
2026-12-03 16:57:17,754 - DEBUG - VRF ids for VN ctest-vn-14612727: {}
2026-12-03 16:57:17,754 - DEBUG - Requesting: http://10.0.0.250:8082/domains
2026-12-03 16:57:17,760 - DEBUG - Requesting: http://10.0.0.250:8082/domain/d80cba0b-af28-4228-b456-68298c359d7a
2026-12-03 16:57:17,770 - DEBUG - Requesting: http://10.0.0.250:8082/project/c7c3af69-cefe-4c72-b43f-5202627a0d15
2026-12-03 16:57:17,844 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/7fdc6b8c-2cc8-412f-a3ef-b7bc19c518cb
2026-12-03 16:57:17,856 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/7fdc6b8c-2cc8-412f-a3ef-b7bc19c518cb
2026-12-03 16:57:17,865 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/5636f8fd-58b2-4912-86db-4534c6f8461a
2026-12-03 16:57:17,872 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/5636f8fd-58b2-4912-86db-4534c6f8461a
2026-12-03 16:57:17,879 - DEBUG - Requesting: http://10.0.0.250:8082/route-target/ec62d61e-0f8e-4185-8f52-fe31a2b8e561
2026-12-03 16:57:17,887 - DEBUG - Route Targets: ['target:64512:8000006']
2026-12-03 16:57:17,887 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/7fdc6b8c-2cc8-412f-a3ef-b7bc19c518cb
2026-12-03 16:57:17,897 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/5636f8fd-58b2-4912-86db-4534c6f8461a
2026-12-03 16:57:17,913 - INFO - Verified VN network id 13 for VN 7fdc6b8c-2cc8-412f-a3ef-b7bc19c518cb
2026-12-03 16:57:17,913 - INFO - Verifications in API Server for VN ctest-vn-17341882 passed
2026-12-03 16:57:17,913 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/7fdc6b8c-2cc8-412f-a3ef-b7bc19c518cb
2026-12-03 16:57:17,925 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/5636f8fd-58b2-4912-86db-4534c6f8461a
2026-12-03 16:57:17,932 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/5636f8fd-58b2-4912-86db-4534c6f8461a
2026-12-03 16:57:17,940 - DEBUG - Requesting: http://10.0.0.250:8082/route-target/ec62d61e-0f8e-4185-8f52-fe31a2b8e561
2026-12-03 16:57:17,953 - DEBUG - Control-node 10.0.0.250 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-66884287:ctest-vn-17341882', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-66884287', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9213357187484107055', 'uuid-lslong': '11812862366130182347'}, 'enable': 'true', 'created': '2026-12-03T16:57:15', 'last-modified': '2026-12-03T16:57:16', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.902925'}
2026-12-03 16:57:17,961 - DEBUG - Route Targets: ['target:64512:8000006']
2026-12-03 16:57:17,961 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-17341882 passed
2026-12-03 16:57:17,961 - DEBUG - ====Verifying policy data for ctest-vn-17341882 in API_Server ======
2026-12-03 16:57:17,961 - DEBUG - Requesting: http://10.0.0.250:8082/domains
2026-12-03 16:57:17,969 - DEBUG - Requesting: http://10.0.0.250:8082/domain/d80cba0b-af28-4228-b456-68298c359d7a
2026-12-03 16:57:17,980 - DEBUG - Requesting: http://10.0.0.250:8082/project/c7c3af69-cefe-4c72-b43f-5202627a0d15
2026-12-03 16:57:18,054 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/7fdc6b8c-2cc8-412f-a3ef-b7bc19c518cb
2026-12-03 16:57:18,065 - DEBUG - ==>Verifying data for policy with id: c6c03a17-dfac-491e-9675-10ce078a9494, fqn: ['default-domain', 'ctest-TestBasicPolicy-66884287', 'ctest-policy-allow-all-25201643']
2026-12-03 16:57:18,065 - INFO - VN ctest-vn-17341882 Policy verification: verify_vn_policy_in_api_server, status: True
2026-12-03 16:57:18,065 - DEBUG - Verifying the vn in opserver
2026-12-03 16:57:18,065 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-66884287:ctest-vn-17341882 virtual network link through opserver 10.0.0.250
2026-12-03 16:57:18,065 - DEBUG - Requesting: http://10.0.0.250:8081/analytics/uves/virtual-networks
2026-12-03 16:57:18,075 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-66884287:ctest-vn-17341882', 'href': 'http://10.0.0.250:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-66884287:ctest-vn-17341882?flat'}
2026-12-03 16:57:18,075 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-66884287:ctest-vn-17341882 is found in opserver
2026-12-03 16:57:18,088 - DEBUG - Do not have enough data to verify VN in agent
2026-12-03 16:57:18,093 - DEBUG - VRF ids for VN ctest-vn-17341882: {}
2026-12-03 16:57:18,160 - DEBUG - Services list from nova: [