2026-03-23 02:01:37,549 - INFO - Domain Default found not creating
2026-03-23 02:01:37,711 - INFO - Project ctest-TestBasicPolicy-04542310 not found, creating it
2026-03-23 02:01:38,167 - INFO - Created Project:ctest-TestBasicPolicy-04542310, ID : 87c8e9e1-190d-40d5-bb2a-5db4f72501fc
2026-03-23 02:01:39,599 - INFO - ================================================================================
2026-03-23 02:01:39,599 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-03-23 02:01:39,599 - 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-03-23 02:01:39,853 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.254': '0'}} with
2026-03-23 02:01:39,853 - INFO - Initial checks done. Running the testcase now
2026-03-23 02:01:39,853 - INFO -
2026-03-23 02:01:40,398 - DEBUG - Response for create_network : {'network': {'id': '2232fe6e-caea-4209-b281-7003685b8a02', 'name': 'ctest-vn-66730226', 'tenant_id': '87c8e9e1190d40d5bb2a5db4f72501fc', 'project_id': '87c8e9e1190d40d5bb2a5db4f72501fc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-04542310', 'ctest-vn-66730226'], 'port_security_enabled': True, 'description': ''}}
2026-03-23 02:01:40,565 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b2006be7-0ab7-44a6-8e5f-5c413d09bd53', 'name': '', 'tenant_id': '87c8e9e1190d40d5bb2a5db4f72501fc', 'network_id': '2232fe6e-caea-4209-b281-7003685b8a02', 'ip_version': 4, 'cidr': '8.19.141.0/26', 'allocation_pools': [{'start': '8.19.141.2', 'end': '8.19.141.62'}], 'gateway_ip': '8.19.141.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '8.19.141.2', 'tags': [], 'project_id': '87c8e9e1190d40d5bb2a5db4f72501fc'}}
2026-03-23 02:01:40,580 - INFO - Created VN ctest-vn-66730226
2026-03-23 02:01:40,632 - DEBUG - VN ctest-vn-66730226 UUID is 2232fe6e-caea-4209-b281-7003685b8a02
2026-03-23 02:01:40,948 - DEBUG - Response for create_network : {'network': {'id': '82396fc1-999c-48b7-9699-370a155b2a40', 'name': 'ctest-vn-47677642', 'tenant_id': '87c8e9e1190d40d5bb2a5db4f72501fc', 'project_id': '87c8e9e1190d40d5bb2a5db4f72501fc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-04542310', 'ctest-vn-47677642'], 'port_security_enabled': True, 'description': ''}}
2026-03-23 02:01:41,091 - DEBUG - Response for create_subnet : {'subnet': {'id': 'eac1a7a5-7105-4ec0-b78a-c76369b4fbf2', 'name': '', 'tenant_id': '87c8e9e1190d40d5bb2a5db4f72501fc', 'network_id': '82396fc1-999c-48b7-9699-370a155b2a40', 'ip_version': 4, 'cidr': '179.35.243.128/26', 'allocation_pools': [{'start': '179.35.243.130', 'end': '179.35.243.190'}], 'gateway_ip': '179.35.243.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '179.35.243.130', 'tags': [], 'project_id': '87c8e9e1190d40d5bb2a5db4f72501fc'}}
2026-03-23 02:01:41,108 - INFO - Created VN ctest-vn-47677642
2026-03-23 02:01:41,160 - DEBUG - VN ctest-vn-47677642 UUID is 82396fc1-999c-48b7-9699-370a155b2a40
2026-03-23 02:01:41,312 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-04542310:ctest-vn-66730226, 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-04542310:ctest-vn-47677642, 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-03-23 02:01:41,602 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2232fe6e-caea-4209-b281-7003685b8a02', 'name': 'ctest-vn-66730226', 'tenant_id': '87c8e9e1190d40d5bb2a5db4f72501fc', 'project_id': '87c8e9e1190d40d5bb2a5db4f72501fc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b2006be7-0ab7-44a6-8e5f-5c413d09bd53'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-04542310', 'ctest-vn-66730226'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-04542310', 'ctest-policy-allow-all-84966837']], 'subnet_ipam': [{'subnet_cidr': '8.19.141.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-03-23 02:01:41,869 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '82396fc1-999c-48b7-9699-370a155b2a40', 'name': 'ctest-vn-47677642', 'tenant_id': '87c8e9e1190d40d5bb2a5db4f72501fc', 'project_id': '87c8e9e1190d40d5bb2a5db4f72501fc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['eac1a7a5-7105-4ec0-b78a-c76369b4fbf2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-04542310', 'ctest-vn-47677642'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-04542310', 'ctest-policy-allow-all-84966837']], 'subnet_ipam': [{'subnet_cidr': '179.35.243.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-03-23 02:01:42,012 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2026-03-23 02:01:42,308 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2026-03-23 02:01:42,343 - DEBUG - Requesting: http://10.0.0.141:8082/domain/0707edb3-05c0-4f5e-9b5f-e37fd6cecc6c
2026-03-23 02:01:42,354 - DEBUG - Requesting: http://10.0.0.141:8082/project/87c8e9e1-190d-40d5-bb2a-5db4f72501fc
2026-03-23 02:01:42,423 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/2232fe6e-caea-4209-b281-7003685b8a02
2026-03-23 02:01:42,433 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/2232fe6e-caea-4209-b281-7003685b8a02
2026-03-23 02:01:42,442 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/9b420496-ede4-4699-896d-80b04a8ad7ac
2026-03-23 02:01:42,449 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/9b420496-ede4-4699-896d-80b04a8ad7ac
2026-03-23 02:01:42,455 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/ff710d7e-2eb4-48d9-909f-782a4fad3dc7
2026-03-23 02:01:42,461 - DEBUG - Route Targets: ['target:64512:8000004']
2026-03-23 02:01:42,461 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/2232fe6e-caea-4209-b281-7003685b8a02
2026-03-23 02:01:42,469 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/9b420496-ede4-4699-896d-80b04a8ad7ac
2026-03-23 02:01:42,482 - INFO - Verified VN network id 11 for VN 2232fe6e-caea-4209-b281-7003685b8a02
2026-03-23 02:01:42,482 - INFO - Verifications in API Server for VN ctest-vn-66730226 passed
2026-03-23 02:01:42,482 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/2232fe6e-caea-4209-b281-7003685b8a02
2026-03-23 02:01:42,492 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/9b420496-ede4-4699-896d-80b04a8ad7ac
2026-03-23 02:01:42,500 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/9b420496-ede4-4699-896d-80b04a8ad7ac
2026-03-23 02:01:42,507 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/ff710d7e-2eb4-48d9-909f-782a4fad3dc7
2026-03-23 02:01:42,518 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-04542310:ctest-vn-66730226', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-04542310', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2464311697929290249', 'uuid-lslong': '12862685170684889602'}, 'enable': 'true', 'created': '2026-03-23T02:01:40', 'last-modified': '2026-03-23T02:01:41', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.943706'}
2026-03-23 02:01:42,525 - DEBUG - Route Targets: ['target:64512:8000004']
2026-03-23 02:01:42,525 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-66730226 passed
2026-03-23 02:01:42,525 - DEBUG - ====Verifying policy data for ctest-vn-66730226 in API_Server ======
2026-03-23 02:01:42,529 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2026-03-23 02:01:42,534 - DEBUG - Requesting: http://10.0.0.141:8082/domain/0707edb3-05c0-4f5e-9b5f-e37fd6cecc6c
2026-03-23 02:01:42,545 - DEBUG - Requesting: http://10.0.0.141:8082/project/87c8e9e1-190d-40d5-bb2a-5db4f72501fc
2026-03-23 02:01:42,613 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/2232fe6e-caea-4209-b281-7003685b8a02
2026-03-23 02:01:42,622 - DEBUG - ==>Verifying data for policy with id: f2c0ec43-0da5-4324-906d-3d61b1013f4d, fqn: ['default-domain', 'ctest-TestBasicPolicy-04542310', 'ctest-policy-allow-all-84966837']
2026-03-23 02:01:42,622 - INFO - VN ctest-vn-66730226 Policy verification: verify_vn_policy_in_api_server, status: True
2026-03-23 02:01:42,622 - DEBUG - Verifying the vn in opserver
2026-03-23 02:01:42,622 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-04542310:ctest-vn-66730226 virtual network link through opserver 10.0.0.141
2026-03-23 02:01:42,622 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks
2026-03-23 02:01:42,912 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks
2026-03-23 02:01:42,969 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-04542310:ctest-vn-66730226', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-04542310:ctest-vn-66730226?flat'}
2026-03-23 02:01:42,969 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-04542310:ctest-vn-66730226 is found in opserver
2026-03-23 02:01:42,978 - DEBUG - Do not have enough data to verify VN in agent
2026-03-23 02:01:42,983 - DEBUG - VRF ids for VN ctest-vn-66730226: {}
2026-03-23 02:01:42,983 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2026-03-23 02:01:42,987 - DEBUG - Requesting: http://10.0.0.141:8082/domain/0707edb3-05c0-4f5e-9b5f-e37fd6cecc6c
2026-03-23 02:01:42,996 - DEBUG - Requesting: http://10.0.0.141:8082/project/87c8e9e1-190d-40d5-bb2a-5db4f72501fc
2026-03-23 02:01:43,063 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/82396fc1-999c-48b7-9699-370a155b2a40
2026-03-23 02:01:43,073 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/82396fc1-999c-48b7-9699-370a155b2a40
2026-03-23 02:01:43,081 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/9685a19c-1719-4771-8755-d22604095b7d
2026-03-23 02:01:43,087 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/9685a19c-1719-4771-8755-d22604095b7d
2026-03-23 02:01:43,092 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/962cabc5-4601-421e-ab61-597cc3f1600d
2026-03-23 02:01:43,098 - DEBUG - Route Targets: ['target:64512:8000005']
2026-03-23 02:01:43,098 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/82396fc1-999c-48b7-9699-370a155b2a40
2026-03-23 02:01:43,106 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/9685a19c-1719-4771-8755-d22604095b7d
2026-03-23 02:01:43,118 - INFO - Verified VN network id 12 for VN 82396fc1-999c-48b7-9699-370a155b2a40
2026-03-23 02:01:43,119 - INFO - Verifications in API Server for VN ctest-vn-47677642 passed
2026-03-23 02:01:43,119 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/82396fc1-999c-48b7-9699-370a155b2a40
2026-03-23 02:01:43,127 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/9685a19c-1719-4771-8755-d22604095b7d
2026-03-23 02:01:43,134 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/9685a19c-1719-4771-8755-d22604095b7d
2026-03-23 02:01:43,140 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/962cabc5-4601-421e-ab61-597cc3f1600d
2026-03-23 02:01:43,150 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-04542310:ctest-vn-47677642', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-04542310', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9383654175899666615', 'uuid-lslong': '10851765293573417536'}, 'enable': 'true', 'created': '2026-03-23T02:01:40', 'last-modified': '2026-03-23T02:01:41', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.348798'}
2026-03-23 02:01:43,157 - DEBUG - Route Targets: ['target:64512:8000005']
2026-03-23 02:01:43,157 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-47677642 passed
2026-03-23 02:01:43,157 - DEBUG - ====Verifying policy data for ctest-vn-47677642 in API_Server ======
2026-03-23 02:01:43,157 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2026-03-23 02:01:43,162 - DEBUG - Requesting: http://10.0.0.141:8082/domain/0707edb3-05c0-4f5e-9b5f-e37fd6cecc6c
2026-03-23 02:01:43,174 - DEBUG - Requesting: http://10.0.0.141:8082/project/87c8e9e1-190d-40d5-bb2a-5db4f72501fc
2026-03-23 02:01:43,238 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/82396fc1-999c-48b7-9699-370a155b2a40
2026-03-23 02:01:43,247 - DEBUG - ==>Verifying data for policy with id: f2c0ec43-0da5-4324-906d-3d61b1013f4d, fqn: ['default-domain', 'ctest-TestBasicPolicy-04542310', 'ctest-policy-allow-all-84966837']
2026-03-23 02:01:43,247 - INFO - VN ctest-vn-47677642 Policy verification: verify_vn_policy_in_api_server, status: True
2026-03-23 02:01:43,247 - DEBUG - Verifying the vn in opserver
2026-03-23 02:01:43,247 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-04542310:ctest-vn-47677642 virtual network link through opserver 10.0.0.141
2026-03-23 02:01:43,247 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks
2026-03-23 02:01:43,255 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-04542310:ctest-vn-47677642', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-04542310:ctest-vn-47677642?flat'}
2026-03-23 02:01:43,255 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-04542310:ctest-vn-47677642 is found in opserver
2026-03-23 02:01:43,264 - DEBUG - Do not have enough data to verify VN in agent
2026-03-23 02:01:43,268 - DEBUG - VRF ids for VN ctest-vn-47677642: {}
2026-03-23 02:01:43,321 - DEBUG - Services list from nova: [