2026-06-19 20:46:01,787 - INFO - Domain Default found not creating
2026-06-19 20:46:01,962 - INFO - Project ctest-TestBasicPolicy-24053941 not found, creating it
2026-06-19 20:46:02,407 - INFO - Created Project:ctest-TestBasicPolicy-24053941, ID : cf730793-20b5-474e-9dde-42e2aed97338
2026-06-19 20:46:03,877 - INFO - ================================================================================
2026-06-19 20:46:03,877 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-06-19 20:46:03,878 - 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-19 20:46:04,129 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.254': '0'}} with
2026-06-19 20:46:04,129 - INFO - Initial checks done. Running the testcase now
2026-06-19 20:46:04,129 - INFO -
2026-06-19 20:46:04,660 - DEBUG - Response for create_network : {'network': {'id': '8e23318e-56f6-45d9-bdd6-a7cf4eadd025', 'name': 'ctest-vn-53394334', 'tenant_id': 'cf73079320b5474e9dde42e2aed97338', 'project_id': 'cf73079320b5474e9dde42e2aed97338', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-24053941', 'ctest-vn-53394334'], 'port_security_enabled': True, 'description': ''}}
2026-06-19 20:46:04,835 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fec64193-f183-4d71-b67b-73f77acf9671', 'name': '', 'tenant_id': 'cf73079320b5474e9dde42e2aed97338', 'network_id': '8e23318e-56f6-45d9-bdd6-a7cf4eadd025', 'ip_version': 4, 'cidr': '198.159.181.64/26', 'allocation_pools': [{'start': '198.159.181.66', 'end': '198.159.181.126'}], 'gateway_ip': '198.159.181.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '198.159.181.66', 'tags': [], 'project_id': 'cf73079320b5474e9dde42e2aed97338'}}
2026-06-19 20:46:04,849 - INFO - Created VN ctest-vn-53394334
2026-06-19 20:46:04,900 - DEBUG - VN ctest-vn-53394334 UUID is 8e23318e-56f6-45d9-bdd6-a7cf4eadd025
2026-06-19 20:46:05,187 - DEBUG - Response for create_network : {'network': {'id': '17dec5dd-f5fb-410c-b6e9-78e70c0d027c', 'name': 'ctest-vn-99759605', 'tenant_id': 'cf73079320b5474e9dde42e2aed97338', 'project_id': 'cf73079320b5474e9dde42e2aed97338', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-24053941', 'ctest-vn-99759605'], 'port_security_enabled': True, 'description': ''}}
2026-06-19 20:46:05,348 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f477f7a4-be3f-427e-bff4-f30fd6df7703', 'name': '', 'tenant_id': 'cf73079320b5474e9dde42e2aed97338', 'network_id': '17dec5dd-f5fb-410c-b6e9-78e70c0d027c', 'ip_version': 4, 'cidr': '125.25.186.0/26', 'allocation_pools': [{'start': '125.25.186.2', 'end': '125.25.186.62'}], 'gateway_ip': '125.25.186.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '125.25.186.2', 'tags': [], 'project_id': 'cf73079320b5474e9dde42e2aed97338'}}
2026-06-19 20:46:05,362 - INFO - Created VN ctest-vn-99759605
2026-06-19 20:46:05,412 - DEBUG - VN ctest-vn-99759605 UUID is 17dec5dd-f5fb-410c-b6e9-78e70c0d027c
2026-06-19 20:46:05,548 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-24053941:ctest-vn-53394334, 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-24053941:ctest-vn-99759605, 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-19 20:46:05,834 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8e23318e-56f6-45d9-bdd6-a7cf4eadd025', 'name': 'ctest-vn-53394334', 'tenant_id': 'cf73079320b5474e9dde42e2aed97338', 'project_id': 'cf73079320b5474e9dde42e2aed97338', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['fec64193-f183-4d71-b67b-73f77acf9671'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-24053941', 'ctest-vn-53394334'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-24053941', 'ctest-policy-allow-all-30621018']], 'subnet_ipam': [{'subnet_cidr': '198.159.181.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-06-19 20:46:06,058 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '17dec5dd-f5fb-410c-b6e9-78e70c0d027c', 'name': 'ctest-vn-99759605', 'tenant_id': 'cf73079320b5474e9dde42e2aed97338', 'project_id': 'cf73079320b5474e9dde42e2aed97338', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f477f7a4-be3f-427e-bff4-f30fd6df7703'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-24053941', 'ctest-vn-99759605'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-24053941', 'ctest-policy-allow-all-30621018']], 'subnet_ipam': [{'subnet_cidr': '125.25.186.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-06-19 20:46:06,217 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2026-06-19 20:46:06,548 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2026-06-19 20:46:06,574 - DEBUG - Requesting: http://10.0.0.19:8082/domain/44e49982-02e6-4058-b701-2ca41fef80a3
2026-06-19 20:46:06,586 - DEBUG - Requesting: http://10.0.0.19:8082/project/cf730793-20b5-474e-9dde-42e2aed97338
2026-06-19 20:46:06,656 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/8e23318e-56f6-45d9-bdd6-a7cf4eadd025
2026-06-19 20:46:06,668 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/8e23318e-56f6-45d9-bdd6-a7cf4eadd025
2026-06-19 20:46:06,676 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/9c8cb15d-9fe4-45b2-96e8-e195d9655966
2026-06-19 20:46:06,683 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/9c8cb15d-9fe4-45b2-96e8-e195d9655966
2026-06-19 20:46:06,688 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/5c483ebf-c99b-444b-a629-00fa72cc956f
2026-06-19 20:46:06,694 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-19 20:46:06,694 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/8e23318e-56f6-45d9-bdd6-a7cf4eadd025
2026-06-19 20:46:06,702 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/9c8cb15d-9fe4-45b2-96e8-e195d9655966
2026-06-19 20:46:06,713 - INFO - Verified VN network id 11 for VN 8e23318e-56f6-45d9-bdd6-a7cf4eadd025
2026-06-19 20:46:06,713 - INFO - Verifications in API Server for VN ctest-vn-53394334 passed
2026-06-19 20:46:06,713 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/8e23318e-56f6-45d9-bdd6-a7cf4eadd025
2026-06-19 20:46:06,721 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/9c8cb15d-9fe4-45b2-96e8-e195d9655966
2026-06-19 20:46:06,726 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/9c8cb15d-9fe4-45b2-96e8-e195d9655966
2026-06-19 20:46:06,732 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/5c483ebf-c99b-444b-a629-00fa72cc956f
2026-06-19 20:46:06,743 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-24053941:ctest-vn-53394334', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-24053941', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10242084464984737241', 'uuid-lslong': '13679305427004543013'}, 'enable': 'true', 'created': '2026-06-19T20:46:04', 'last-modified': '2026-06-19T20:46:05', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.931349'}
2026-06-19 20:46:06,748 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-19 20:46:06,748 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-53394334 passed
2026-06-19 20:46:06,748 - DEBUG - ====Verifying policy data for ctest-vn-53394334 in API_Server ======
2026-06-19 20:46:06,748 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2026-06-19 20:46:06,753 - DEBUG - Requesting: http://10.0.0.19:8082/domain/44e49982-02e6-4058-b701-2ca41fef80a3
2026-06-19 20:46:06,764 - DEBUG - Requesting: http://10.0.0.19:8082/project/cf730793-20b5-474e-9dde-42e2aed97338
2026-06-19 20:46:06,832 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/8e23318e-56f6-45d9-bdd6-a7cf4eadd025
2026-06-19 20:46:06,840 - DEBUG - ==>Verifying data for policy with id: d30b6c53-e8b5-4f92-abe3-34d6a10187bd, fqn: ['default-domain', 'ctest-TestBasicPolicy-24053941', 'ctest-policy-allow-all-30621018']
2026-06-19 20:46:06,840 - INFO - VN ctest-vn-53394334 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-19 20:46:06,840 - DEBUG - Verifying the vn in opserver
2026-06-19 20:46:06,840 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-24053941:ctest-vn-53394334 virtual network link through opserver 10.0.0.19
2026-06-19 20:46:06,841 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks
2026-06-19 20:46:07,160 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks
2026-06-19 20:46:07,240 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-24053941:ctest-vn-53394334', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-24053941:ctest-vn-53394334?flat'}
2026-06-19 20:46:07,240 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-24053941:ctest-vn-53394334 is found in opserver
2026-06-19 20:46:07,249 - DEBUG - Do not have enough data to verify VN in agent
2026-06-19 20:46:07,254 - DEBUG - VRF ids for VN ctest-vn-53394334: {}
2026-06-19 20:46:07,254 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2026-06-19 20:46:07,272 - DEBUG - Requesting: http://10.0.0.19:8082/domain/44e49982-02e6-4058-b701-2ca41fef80a3
2026-06-19 20:46:07,336 - DEBUG - Requesting: http://10.0.0.19:8082/project/cf730793-20b5-474e-9dde-42e2aed97338
2026-06-19 20:46:07,410 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/17dec5dd-f5fb-410c-b6e9-78e70c0d027c
2026-06-19 20:46:07,428 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/17dec5dd-f5fb-410c-b6e9-78e70c0d027c
2026-06-19 20:46:07,435 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/f1132b13-a894-4d55-a597-bfed1c1228af
2026-06-19 20:46:07,446 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/f1132b13-a894-4d55-a597-bfed1c1228af
2026-06-19 20:46:07,452 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/04c4051b-4d82-4b29-91cf-a6223643b480
2026-06-19 20:46:07,458 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-19 20:46:07,458 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/17dec5dd-f5fb-410c-b6e9-78e70c0d027c
2026-06-19 20:46:07,466 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/f1132b13-a894-4d55-a597-bfed1c1228af
2026-06-19 20:46:07,479 - INFO - Verified VN network id 12 for VN 17dec5dd-f5fb-410c-b6e9-78e70c0d027c
2026-06-19 20:46:07,479 - INFO - Verifications in API Server for VN ctest-vn-99759605 passed
2026-06-19 20:46:07,479 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/17dec5dd-f5fb-410c-b6e9-78e70c0d027c
2026-06-19 20:46:07,497 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/f1132b13-a894-4d55-a597-bfed1c1228af
2026-06-19 20:46:07,513 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/f1132b13-a894-4d55-a597-bfed1c1228af
2026-06-19 20:46:07,527 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/04c4051b-4d82-4b29-91cf-a6223643b480
2026-06-19 20:46:07,537 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-24053941:ctest-vn-99759605', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-24053941', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1720029664807436556', 'uuid-lslong': '13180198718211424892'}, 'enable': 'true', 'created': '2026-06-19T20:46:05', 'last-modified': '2026-06-19T20:46:06', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.505894'}
2026-06-19 20:46:07,545 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-19 20:46:07,545 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-99759605 passed
2026-06-19 20:46:07,545 - DEBUG - ====Verifying policy data for ctest-vn-99759605 in API_Server ======
2026-06-19 20:46:07,545 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2026-06-19 20:46:07,553 - DEBUG - Requesting: http://10.0.0.19:8082/domain/44e49982-02e6-4058-b701-2ca41fef80a3
2026-06-19 20:46:07,568 - DEBUG - Requesting: http://10.0.0.19:8082/project/cf730793-20b5-474e-9dde-42e2aed97338
2026-06-19 20:46:07,615 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/17dec5dd-f5fb-410c-b6e9-78e70c0d027c
2026-06-19 20:46:07,624 - DEBUG - ==>Verifying data for policy with id: d30b6c53-e8b5-4f92-abe3-34d6a10187bd, fqn: ['default-domain', 'ctest-TestBasicPolicy-24053941', 'ctest-policy-allow-all-30621018']
2026-06-19 20:46:07,624 - INFO - VN ctest-vn-99759605 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-19 20:46:07,624 - DEBUG - Verifying the vn in opserver
2026-06-19 20:46:07,624 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-24053941:ctest-vn-99759605 virtual network link through opserver 10.0.0.19
2026-06-19 20:46:07,624 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks
2026-06-19 20:46:07,640 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-24053941:ctest-vn-99759605', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-24053941:ctest-vn-99759605?flat'}
2026-06-19 20:46:07,640 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-24053941:ctest-vn-99759605 is found in opserver
2026-06-19 20:46:07,650 - DEBUG - Do not have enough data to verify VN in agent
2026-06-19 20:46:07,655 - DEBUG - VRF ids for VN ctest-vn-99759605: {}
2026-06-19 20:46:07,716 - DEBUG - Services list from nova: [