2026-06-01 12:02:08,183 - INFO - Domain Default found not creating
2026-06-01 12:02:08,383 - INFO - Project ctest-TestBasicPolicy-92109027 not found, creating it
2026-06-01 12:02:08,882 - INFO - Created Project:ctest-TestBasicPolicy-92109027, ID : 1005e78d-0d94-40e3-b535-155a14bd28b8
2026-06-01 12:02:10,459 - INFO - ================================================================================
2026-06-01 12:02:10,459 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-06-01 12:02:10,459 - 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-01 12:02:10,713 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2026-06-01 12:02:10,713 - INFO - Initial checks done. Running the testcase now
2026-06-01 12:02:10,713 - INFO -
2026-06-01 12:02:11,295 - DEBUG - Response for create_network : {'network': {'id': '0211d008-660b-4ba8-925b-62bc9e9abe05', 'name': 'ctest-vn-12306925', 'tenant_id': '1005e78d0d9440e3b535155a14bd28b8', 'project_id': '1005e78d0d9440e3b535155a14bd28b8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-92109027', 'ctest-vn-12306925'], 'port_security_enabled': True, 'description': ''}}
2026-06-01 12:02:11,513 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ce5e6c3d-93a8-4fdc-851a-0a31822dd657', 'name': '', 'tenant_id': '1005e78d0d9440e3b535155a14bd28b8', 'network_id': '0211d008-660b-4ba8-925b-62bc9e9abe05', 'ip_version': 4, 'cidr': '149.34.222.0/26', 'allocation_pools': [{'start': '149.34.222.2', 'end': '149.34.222.62'}], 'gateway_ip': '149.34.222.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '149.34.222.2', 'tags': [], 'project_id': '1005e78d0d9440e3b535155a14bd28b8'}}
2026-06-01 12:02:11,533 - INFO - Created VN ctest-vn-12306925
2026-06-01 12:02:11,587 - DEBUG - VN ctest-vn-12306925 UUID is 0211d008-660b-4ba8-925b-62bc9e9abe05
2026-06-01 12:02:11,888 - DEBUG - Response for create_network : {'network': {'id': '9b25b45e-3d2a-45d9-b3c0-f520727b464e', 'name': 'ctest-vn-81376405', 'tenant_id': '1005e78d0d9440e3b535155a14bd28b8', 'project_id': '1005e78d0d9440e3b535155a14bd28b8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-92109027', 'ctest-vn-81376405'], 'port_security_enabled': True, 'description': ''}}
2026-06-01 12:02:12,081 - DEBUG - Response for create_subnet : {'subnet': {'id': '28336fdb-3bf2-485f-a672-5c5235b31aa8', 'name': '', 'tenant_id': '1005e78d0d9440e3b535155a14bd28b8', 'network_id': '9b25b45e-3d2a-45d9-b3c0-f520727b464e', 'ip_version': 4, 'cidr': '74.12.37.128/26', 'allocation_pools': [{'start': '74.12.37.130', 'end': '74.12.37.190'}], 'gateway_ip': '74.12.37.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '74.12.37.130', 'tags': [], 'project_id': '1005e78d0d9440e3b535155a14bd28b8'}}
2026-06-01 12:02:12,100 - INFO - Created VN ctest-vn-81376405
2026-06-01 12:02:12,155 - DEBUG - VN ctest-vn-81376405 UUID is 9b25b45e-3d2a-45d9-b3c0-f520727b464e
2026-06-01 12:02:12,274 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-92109027:ctest-vn-12306925, 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-92109027:ctest-vn-81376405, 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-01 12:02:12,585 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0211d008-660b-4ba8-925b-62bc9e9abe05', 'name': 'ctest-vn-12306925', 'tenant_id': '1005e78d0d9440e3b535155a14bd28b8', 'project_id': '1005e78d0d9440e3b535155a14bd28b8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ce5e6c3d-93a8-4fdc-851a-0a31822dd657'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-92109027', 'ctest-vn-12306925'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-92109027', 'ctest-policy-allow-all-89025305']], 'subnet_ipam': [{'subnet_cidr': '149.34.222.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-06-01 12:02:12,832 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9b25b45e-3d2a-45d9-b3c0-f520727b464e', 'name': 'ctest-vn-81376405', 'tenant_id': '1005e78d0d9440e3b535155a14bd28b8', 'project_id': '1005e78d0d9440e3b535155a14bd28b8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['28336fdb-3bf2-485f-a672-5c5235b31aa8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-92109027', 'ctest-vn-81376405'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-92109027', 'ctest-policy-allow-all-89025305']], 'subnet_ipam': [{'subnet_cidr': '74.12.37.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-06-01 12:02:12,999 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-06-01 12:02:13,296 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-06-01 12:02:13,328 - DEBUG - Requesting: http://10.0.0.50:8082/domain/1c93daf5-4b4d-4898-a0cf-d605330f98e5
2026-06-01 12:02:13,341 - DEBUG - Requesting: http://10.0.0.50:8082/project/1005e78d-0d94-40e3-b535-155a14bd28b8
2026-06-01 12:02:13,414 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0211d008-660b-4ba8-925b-62bc9e9abe05
2026-06-01 12:02:13,425 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0211d008-660b-4ba8-925b-62bc9e9abe05
2026-06-01 12:02:13,437 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/064b09ee-f517-4fae-8709-bf1763b6b708
2026-06-01 12:02:13,445 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/064b09ee-f517-4fae-8709-bf1763b6b708
2026-06-01 12:02:13,453 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/81432387-6c68-4232-805a-937669b88691
2026-06-01 12:02:13,460 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-01 12:02:13,460 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0211d008-660b-4ba8-925b-62bc9e9abe05
2026-06-01 12:02:13,470 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/064b09ee-f517-4fae-8709-bf1763b6b708
2026-06-01 12:02:13,487 - INFO - Verified VN network id 11 for VN 0211d008-660b-4ba8-925b-62bc9e9abe05
2026-06-01 12:02:13,487 - INFO - Verifications in API Server for VN ctest-vn-12306925 passed
2026-06-01 12:02:13,487 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0211d008-660b-4ba8-925b-62bc9e9abe05
2026-06-01 12:02:13,497 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/064b09ee-f517-4fae-8709-bf1763b6b708
2026-06-01 12:02:13,504 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/064b09ee-f517-4fae-8709-bf1763b6b708
2026-06-01 12:02:13,511 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/81432387-6c68-4232-805a-937669b88691
2026-06-01 12:02:13,525 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-92109027:ctest-vn-12306925', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-92109027', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '149128997170269096', 'uuid-lslong': '10546131514672463365'}, 'enable': 'true', 'created': '2026-06-01T12:02:11', 'last-modified': '2026-06-01T12:02:12', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.960279'}
2026-06-01 12:02:13,531 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-01 12:02:13,531 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-12306925 passed
2026-06-01 12:02:13,531 - DEBUG - ====Verifying policy data for ctest-vn-12306925 in API_Server ======
2026-06-01 12:02:13,532 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-06-01 12:02:13,539 - DEBUG - Requesting: http://10.0.0.50:8082/domain/1c93daf5-4b4d-4898-a0cf-d605330f98e5
2026-06-01 12:02:13,551 - DEBUG - Requesting: http://10.0.0.50:8082/project/1005e78d-0d94-40e3-b535-155a14bd28b8
2026-06-01 12:02:13,620 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0211d008-660b-4ba8-925b-62bc9e9abe05
2026-06-01 12:02:13,631 - DEBUG - ==>Verifying data for policy with id: fc734963-9976-4f34-84c6-23a0abe7a0a7, fqn: ['default-domain', 'ctest-TestBasicPolicy-92109027', 'ctest-policy-allow-all-89025305']
2026-06-01 12:02:13,631 - INFO - VN ctest-vn-12306925 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-01 12:02:13,631 - DEBUG - Verifying the vn in opserver
2026-06-01 12:02:13,631 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-92109027:ctest-vn-12306925 virtual network link through opserver 10.0.0.50
2026-06-01 12:02:13,631 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-06-01 12:02:13,934 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-06-01 12:02:14,017 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-92109027:ctest-vn-12306925', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-92109027:ctest-vn-12306925?flat'}
2026-06-01 12:02:14,017 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-92109027:ctest-vn-12306925 is found in opserver
2026-06-01 12:02:14,027 - DEBUG - Do not have enough data to verify VN in agent
2026-06-01 12:02:14,031 - DEBUG - VRF ids for VN ctest-vn-12306925: {}
2026-06-01 12:02:14,031 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-06-01 12:02:14,037 - DEBUG - Requesting: http://10.0.0.50:8082/domain/1c93daf5-4b4d-4898-a0cf-d605330f98e5
2026-06-01 12:02:14,050 - DEBUG - Requesting: http://10.0.0.50:8082/project/1005e78d-0d94-40e3-b535-155a14bd28b8
2026-06-01 12:02:14,127 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/9b25b45e-3d2a-45d9-b3c0-f520727b464e
2026-06-01 12:02:14,139 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/9b25b45e-3d2a-45d9-b3c0-f520727b464e
2026-06-01 12:02:14,148 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/246d000b-1d5a-4ff6-86f6-9dd24f8748a3
2026-06-01 12:02:14,156 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/246d000b-1d5a-4ff6-86f6-9dd24f8748a3
2026-06-01 12:02:14,164 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/e65d6537-fb68-4865-b00a-05aa16a9813f
2026-06-01 12:02:14,170 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-01 12:02:14,170 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/9b25b45e-3d2a-45d9-b3c0-f520727b464e
2026-06-01 12:02:14,179 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/246d000b-1d5a-4ff6-86f6-9dd24f8748a3
2026-06-01 12:02:14,194 - INFO - Verified VN network id 12 for VN 9b25b45e-3d2a-45d9-b3c0-f520727b464e
2026-06-01 12:02:14,194 - INFO - Verifications in API Server for VN ctest-vn-81376405 passed
2026-06-01 12:02:14,194 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/9b25b45e-3d2a-45d9-b3c0-f520727b464e
2026-06-01 12:02:14,204 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/246d000b-1d5a-4ff6-86f6-9dd24f8748a3
2026-06-01 12:02:14,211 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/246d000b-1d5a-4ff6-86f6-9dd24f8748a3
2026-06-01 12:02:14,218 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/e65d6537-fb68-4865-b00a-05aa16a9813f
2026-06-01 12:02:14,234 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-92109027:ctest-vn-81376405', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-92109027', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11179539966863230425', 'uuid-lslong': '12952622048025986638'}, 'enable': 'true', 'created': '2026-06-01T12:02:11', 'last-modified': '2026-06-01T12:02:12', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.427067'}
2026-06-01 12:02:14,240 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-01 12:02:14,240 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-81376405 passed
2026-06-01 12:02:14,241 - DEBUG - ====Verifying policy data for ctest-vn-81376405 in API_Server ======
2026-06-01 12:02:14,241 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-06-01 12:02:14,247 - DEBUG - Requesting: http://10.0.0.50:8082/domain/1c93daf5-4b4d-4898-a0cf-d605330f98e5
2026-06-01 12:02:14,258 - DEBUG - Requesting: http://10.0.0.50:8082/project/1005e78d-0d94-40e3-b535-155a14bd28b8
2026-06-01 12:02:14,341 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/9b25b45e-3d2a-45d9-b3c0-f520727b464e
2026-06-01 12:02:14,353 - DEBUG - ==>Verifying data for policy with id: fc734963-9976-4f34-84c6-23a0abe7a0a7, fqn: ['default-domain', 'ctest-TestBasicPolicy-92109027', 'ctest-policy-allow-all-89025305']
2026-06-01 12:02:14,353 - INFO - VN ctest-vn-81376405 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-01 12:02:14,353 - DEBUG - Verifying the vn in opserver
2026-06-01 12:02:14,353 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-92109027:ctest-vn-81376405 virtual network link through opserver 10.0.0.50
2026-06-01 12:02:14,353 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-06-01 12:02:14,364 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-92109027:ctest-vn-81376405', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-92109027:ctest-vn-81376405?flat'}
2026-06-01 12:02:14,364 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-92109027:ctest-vn-81376405 is found in opserver
2026-06-01 12:02:14,374 - DEBUG - Do not have enough data to verify VN in agent
2026-06-01 12:02:14,379 - DEBUG - VRF ids for VN ctest-vn-81376405: {}
2026-06-01 12:02:14,454 - DEBUG - Services list from nova: [