2026-09-30 13:30:06,635 - INFO - Domain Default found not creating
2026-09-30 13:30:06,822 - INFO - Project ctest-TestBasicPolicy-73718847 not found, creating it
2026-09-30 13:30:07,334 - INFO - Created Project:ctest-TestBasicPolicy-73718847, ID : aada08b1-eca3-4ad5-af96-33e83228dc81
2026-09-30 13:30:09,111 - INFO - ================================================================================
2026-09-30 13:30:09,112 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-09-30 13:30:09,112 - 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-30 13:30:09,389 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.25': '0'}} with
2026-09-30 13:30:09,389 - INFO - Initial checks done. Running the testcase now
2026-09-30 13:30:09,389 - INFO -
2026-09-30 13:30:10,067 - DEBUG - Response for create_network : {'network': {'id': '75edcddd-258a-4dc1-b131-90c9e1054a4e', 'name': 'ctest-vn-12577318', 'tenant_id': 'aada08b1eca34ad5af9633e83228dc81', 'project_id': 'aada08b1eca34ad5af9633e83228dc81', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73718847', 'ctest-vn-12577318'], 'port_security_enabled': True, 'description': ''}}
2026-09-30 13:30:10,278 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd11e2f4d-05e2-4af1-8570-271f339b97c1', 'name': '', 'tenant_id': 'aada08b1eca34ad5af9633e83228dc81', 'network_id': '75edcddd-258a-4dc1-b131-90c9e1054a4e', 'ip_version': 4, 'cidr': '19.134.147.192/26', 'allocation_pools': [{'start': '19.134.147.194', 'end': '19.134.147.254'}], 'gateway_ip': '19.134.147.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '19.134.147.194', 'tags': [], 'project_id': 'aada08b1eca34ad5af9633e83228dc81'}}
2026-09-30 13:30:10,298 - INFO - Created VN ctest-vn-12577318
2026-09-30 13:30:10,355 - DEBUG - VN ctest-vn-12577318 UUID is 75edcddd-258a-4dc1-b131-90c9e1054a4e
2026-09-30 13:30:10,697 - DEBUG - Response for create_network : {'network': {'id': '7cfb5423-3f15-4525-8dbc-ea6d85a13afb', 'name': 'ctest-vn-31884344', 'tenant_id': 'aada08b1eca34ad5af9633e83228dc81', 'project_id': 'aada08b1eca34ad5af9633e83228dc81', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73718847', 'ctest-vn-31884344'], 'port_security_enabled': True, 'description': ''}}
2026-09-30 13:30:10,895 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e5428485-9ba0-4330-9b42-ccc81beaebcb', 'name': '', 'tenant_id': 'aada08b1eca34ad5af9633e83228dc81', 'network_id': '7cfb5423-3f15-4525-8dbc-ea6d85a13afb', 'ip_version': 4, 'cidr': '75.159.177.128/26', 'allocation_pools': [{'start': '75.159.177.130', 'end': '75.159.177.190'}], 'gateway_ip': '75.159.177.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '75.159.177.130', 'tags': [], 'project_id': 'aada08b1eca34ad5af9633e83228dc81'}}
2026-09-30 13:30:10,914 - INFO - Created VN ctest-vn-31884344
2026-09-30 13:30:10,971 - DEBUG - VN ctest-vn-31884344 UUID is 7cfb5423-3f15-4525-8dbc-ea6d85a13afb
2026-09-30 13:30:11,093 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-73718847:ctest-vn-12577318, 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-73718847:ctest-vn-31884344, 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-30 13:30:11,433 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '75edcddd-258a-4dc1-b131-90c9e1054a4e', 'name': 'ctest-vn-12577318', 'tenant_id': 'aada08b1eca34ad5af9633e83228dc81', 'project_id': 'aada08b1eca34ad5af9633e83228dc81', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['d11e2f4d-05e2-4af1-8570-271f339b97c1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73718847', 'ctest-vn-12577318'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-73718847', 'ctest-policy-allow-all-38608740']], 'subnet_ipam': [{'subnet_cidr': '19.134.147.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-09-30 13:30:11,675 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7cfb5423-3f15-4525-8dbc-ea6d85a13afb', 'name': 'ctest-vn-31884344', 'tenant_id': 'aada08b1eca34ad5af9633e83228dc81', 'project_id': 'aada08b1eca34ad5af9633e83228dc81', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['e5428485-9ba0-4330-9b42-ccc81beaebcb'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73718847', 'ctest-vn-31884344'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-73718847', 'ctest-policy-allow-all-38608740']], 'subnet_ipam': [{'subnet_cidr': '75.159.177.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-09-30 13:30:11,843 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-09-30 13:30:12,214 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-09-30 13:30:12,248 - DEBUG - Requesting: http://10.0.0.33:8082/domain/0431b643-207a-45d3-8ba3-28f8daa797b9
2026-09-30 13:30:12,264 - DEBUG - Requesting: http://10.0.0.33:8082/project/aada08b1-eca3-4ad5-af96-33e83228dc81
2026-09-30 13:30:12,396 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/75edcddd-258a-4dc1-b131-90c9e1054a4e
2026-09-30 13:30:12,412 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/75edcddd-258a-4dc1-b131-90c9e1054a4e
2026-09-30 13:30:12,423 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/28a16d43-cb13-4f77-9146-77bb13d4111a
2026-09-30 13:30:12,433 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/28a16d43-cb13-4f77-9146-77bb13d4111a
2026-09-30 13:30:12,442 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/2ef8e61e-fa1d-4595-bd1c-62f21a620e3e
2026-09-30 13:30:12,450 - DEBUG - Route Targets: ['target:64512:8000005']
2026-09-30 13:30:12,450 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/75edcddd-258a-4dc1-b131-90c9e1054a4e
2026-09-30 13:30:12,460 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/28a16d43-cb13-4f77-9146-77bb13d4111a
2026-09-30 13:30:12,477 - INFO - Verified VN network id 12 for VN 75edcddd-258a-4dc1-b131-90c9e1054a4e
2026-09-30 13:30:12,477 - INFO - Verifications in API Server for VN ctest-vn-12577318 passed
2026-09-30 13:30:12,477 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/75edcddd-258a-4dc1-b131-90c9e1054a4e
2026-09-30 13:30:12,488 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/28a16d43-cb13-4f77-9146-77bb13d4111a
2026-09-30 13:30:12,496 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/28a16d43-cb13-4f77-9146-77bb13d4111a
2026-09-30 13:30:12,504 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/2ef8e61e-fa1d-4595-bd1c-62f21a620e3e
2026-09-30 13:30:12,518 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-73718847:ctest-vn-12577318', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-73718847', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8497674421619281345', 'uuid-lslong': '12768145615310113358'}, 'enable': 'true', 'created': '2026-09-30T13:30:10', 'last-modified': '2026-09-30T13:30:11', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.112837'}
2026-09-30 13:30:12,526 - DEBUG - Route Targets: ['target:64512:8000005']
2026-09-30 13:30:12,526 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-12577318 passed
2026-09-30 13:30:12,527 - DEBUG - ====Verifying policy data for ctest-vn-12577318 in API_Server ======
2026-09-30 13:30:12,527 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-09-30 13:30:12,533 - DEBUG - Requesting: http://10.0.0.33:8082/domain/0431b643-207a-45d3-8ba3-28f8daa797b9
2026-09-30 13:30:12,546 - DEBUG - Requesting: http://10.0.0.33:8082/project/aada08b1-eca3-4ad5-af96-33e83228dc81
2026-09-30 13:30:12,624 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/75edcddd-258a-4dc1-b131-90c9e1054a4e
2026-09-30 13:30:12,635 - DEBUG - ==>Verifying data for policy with id: e086920b-d93d-4c47-8434-287987a4c45c, fqn: ['default-domain', 'ctest-TestBasicPolicy-73718847', 'ctest-policy-allow-all-38608740']
2026-09-30 13:30:12,635 - INFO - VN ctest-vn-12577318 Policy verification: verify_vn_policy_in_api_server, status: True
2026-09-30 13:30:12,635 - DEBUG - Verifying the vn in opserver
2026-09-30 13:30:12,635 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-73718847:ctest-vn-12577318 virtual network link through opserver 10.0.0.33
2026-09-30 13:30:12,635 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-09-30 13:30:13,001 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-09-30 13:30:13,068 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-73718847:ctest-vn-12577318', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-73718847:ctest-vn-12577318?flat'}
2026-09-30 13:30:13,068 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-73718847:ctest-vn-12577318 is found in opserver
2026-09-30 13:30:13,082 - DEBUG - Do not have enough data to verify VN in agent
2026-09-30 13:30:13,088 - DEBUG - VRF ids for VN ctest-vn-12577318: {}
2026-09-30 13:30:13,088 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-09-30 13:30:13,095 - DEBUG - Requesting: http://10.0.0.33:8082/domain/0431b643-207a-45d3-8ba3-28f8daa797b9
2026-09-30 13:30:13,109 - DEBUG - Requesting: http://10.0.0.33:8082/project/aada08b1-eca3-4ad5-af96-33e83228dc81
2026-09-30 13:30:13,192 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/7cfb5423-3f15-4525-8dbc-ea6d85a13afb
2026-09-30 13:30:13,206 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/7cfb5423-3f15-4525-8dbc-ea6d85a13afb
2026-09-30 13:30:13,218 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/67d74744-ef9b-4999-81b0-80b11cacaade
2026-09-30 13:30:13,228 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/67d74744-ef9b-4999-81b0-80b11cacaade
2026-09-30 13:30:13,238 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/223109c8-5610-441b-8a86-1388ed94197e
2026-09-30 13:30:13,248 - DEBUG - Route Targets: ['target:64512:8000006']
2026-09-30 13:30:13,248 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/7cfb5423-3f15-4525-8dbc-ea6d85a13afb
2026-09-30 13:30:13,260 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/67d74744-ef9b-4999-81b0-80b11cacaade
2026-09-30 13:30:13,280 - INFO - Verified VN network id 13 for VN 7cfb5423-3f15-4525-8dbc-ea6d85a13afb
2026-09-30 13:30:13,281 - INFO - Verifications in API Server for VN ctest-vn-31884344 passed
2026-09-30 13:30:13,281 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/7cfb5423-3f15-4525-8dbc-ea6d85a13afb
2026-09-30 13:30:13,296 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/67d74744-ef9b-4999-81b0-80b11cacaade
2026-09-30 13:30:13,306 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/67d74744-ef9b-4999-81b0-80b11cacaade
2026-09-30 13:30:13,315 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/223109c8-5610-441b-8a86-1388ed94197e
2026-09-30 13:30:13,330 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-73718847:ctest-vn-31884344', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-73718847', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9005884390216385829', 'uuid-lslong': '10213295811083713275'}, 'enable': 'true', 'created': '2026-09-30T13:30:10', 'last-modified': '2026-09-30T13:30:11', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.686145'}
2026-09-30 13:30:13,337 - DEBUG - Route Targets: ['target:64512:8000006']
2026-09-30 13:30:13,337 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-31884344 passed
2026-09-30 13:30:13,337 - DEBUG - ====Verifying policy data for ctest-vn-31884344 in API_Server ======
2026-09-30 13:30:13,338 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-09-30 13:30:13,345 - DEBUG - Requesting: http://10.0.0.33:8082/domain/0431b643-207a-45d3-8ba3-28f8daa797b9
2026-09-30 13:30:13,357 - DEBUG - Requesting: http://10.0.0.33:8082/project/aada08b1-eca3-4ad5-af96-33e83228dc81
2026-09-30 13:30:13,441 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/7cfb5423-3f15-4525-8dbc-ea6d85a13afb
2026-09-30 13:30:13,455 - DEBUG - ==>Verifying data for policy with id: e086920b-d93d-4c47-8434-287987a4c45c, fqn: ['default-domain', 'ctest-TestBasicPolicy-73718847', 'ctest-policy-allow-all-38608740']
2026-09-30 13:30:13,455 - INFO - VN ctest-vn-31884344 Policy verification: verify_vn_policy_in_api_server, status: True
2026-09-30 13:30:13,455 - DEBUG - Verifying the vn in opserver
2026-09-30 13:30:13,455 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-73718847:ctest-vn-31884344 virtual network link through opserver 10.0.0.33
2026-09-30 13:30:13,455 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-09-30 13:30:13,467 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-73718847:ctest-vn-31884344', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-73718847:ctest-vn-31884344?flat'}
2026-09-30 13:30:13,467 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-73718847:ctest-vn-31884344 is found in opserver
2026-09-30 13:30:13,479 - DEBUG - Do not have enough data to verify VN in agent
2026-09-30 13:30:13,485 - DEBUG - VRF ids for VN ctest-vn-31884344: {}
2026-09-30 13:30:13,555 - DEBUG - Services list from nova: [