2026-01-29 14:50:12,770 - INFO - Domain Default found not creating
2026-01-29 14:50:12,925 - INFO - Project ctest-TestBasicPolicy-67595414 not found, creating it
2026-01-29 14:50:13,378 - INFO - Created Project:ctest-TestBasicPolicy-67595414, ID : 134cfb7d-3c2e-4367-8f16-9467b33bcab6
2026-01-29 14:50:14,793 - INFO - ================================================================================
2026-01-29 14:50:14,793 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-01-29 14:50:14,793 - 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-01-29 14:50:15,050 - DEBUG - Nothing to compare xmpp stats {'10.0.0.246': {'10.20.0.17': '0'}} with
2026-01-29 14:50:15,050 - INFO - Initial checks done. Running the testcase now
2026-01-29 14:50:15,050 - INFO -
2026-01-29 14:50:15,586 - DEBUG - Response for create_network : {'network': {'id': 'a8c30748-2307-4ef8-b13c-fdda16b43177', 'name': 'ctest-vn-65530464', 'tenant_id': '134cfb7d3c2e43678f169467b33bcab6', 'project_id': '134cfb7d3c2e43678f169467b33bcab6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67595414', 'ctest-vn-65530464'], 'port_security_enabled': True, 'description': ''}}
2026-01-29 14:50:15,798 - DEBUG - Response for create_subnet : {'subnet': {'id': '51c4eaf2-93cd-4a15-bfe8-2765f03aaac2', 'name': '', 'tenant_id': '134cfb7d3c2e43678f169467b33bcab6', 'network_id': 'a8c30748-2307-4ef8-b13c-fdda16b43177', 'ip_version': 4, 'cidr': '40.243.38.128/26', 'allocation_pools': [{'start': '40.243.38.130', 'end': '40.243.38.190'}], 'gateway_ip': '40.243.38.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '40.243.38.130', 'tags': [], 'project_id': '134cfb7d3c2e43678f169467b33bcab6'}}
2026-01-29 14:50:15,817 - INFO - Created VN ctest-vn-65530464
2026-01-29 14:50:15,868 - DEBUG - VN ctest-vn-65530464 UUID is a8c30748-2307-4ef8-b13c-fdda16b43177
2026-01-29 14:50:16,187 - DEBUG - Response for create_network : {'network': {'id': 'a0606492-3780-4110-b634-72c9e1eafc83', 'name': 'ctest-vn-96495146', 'tenant_id': '134cfb7d3c2e43678f169467b33bcab6', 'project_id': '134cfb7d3c2e43678f169467b33bcab6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67595414', 'ctest-vn-96495146'], 'port_security_enabled': True, 'description': ''}}
2026-01-29 14:50:16,335 - DEBUG - Response for create_subnet : {'subnet': {'id': '4581fe6d-8bc9-4934-8114-2350b2e185c4', 'name': '', 'tenant_id': '134cfb7d3c2e43678f169467b33bcab6', 'network_id': 'a0606492-3780-4110-b634-72c9e1eafc83', 'ip_version': 4, 'cidr': '33.139.228.0/26', 'allocation_pools': [{'start': '33.139.228.2', 'end': '33.139.228.62'}], 'gateway_ip': '33.139.228.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '33.139.228.2', 'tags': [], 'project_id': '134cfb7d3c2e43678f169467b33bcab6'}}
2026-01-29 14:50:16,352 - INFO - Created VN ctest-vn-96495146
2026-01-29 14:50:16,403 - DEBUG - VN ctest-vn-96495146 UUID is a0606492-3780-4110-b634-72c9e1eafc83
2026-01-29 14:50:16,551 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-67595414:ctest-vn-65530464, 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-67595414:ctest-vn-96495146, 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-01-29 14:50:16,852 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a8c30748-2307-4ef8-b13c-fdda16b43177', 'name': 'ctest-vn-65530464', 'tenant_id': '134cfb7d3c2e43678f169467b33bcab6', 'project_id': '134cfb7d3c2e43678f169467b33bcab6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['51c4eaf2-93cd-4a15-bfe8-2765f03aaac2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67595414', 'ctest-vn-65530464'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-67595414', 'ctest-policy-allow-all-40024317']], 'subnet_ipam': [{'subnet_cidr': '40.243.38.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-29 14:50:17,076 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a0606492-3780-4110-b634-72c9e1eafc83', 'name': 'ctest-vn-96495146', 'tenant_id': '134cfb7d3c2e43678f169467b33bcab6', 'project_id': '134cfb7d3c2e43678f169467b33bcab6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4581fe6d-8bc9-4934-8114-2350b2e185c4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67595414', 'ctest-vn-96495146'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-67595414', 'ctest-policy-allow-all-40024317']], 'subnet_ipam': [{'subnet_cidr': '33.139.228.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-29 14:50:17,236 - DEBUG - Requesting: http://10.0.0.246:8082/domains
2026-01-29 14:50:17,533 - DEBUG - Requesting: http://10.0.0.246:8082/domains
2026-01-29 14:50:17,563 - DEBUG - Requesting: http://10.0.0.246:8082/domain/ab960573-c036-473c-9e4c-333386525eb1
2026-01-29 14:50:17,576 - DEBUG - Requesting: http://10.0.0.246:8082/project/134cfb7d-3c2e-4367-8f16-9467b33bcab6
2026-01-29 14:50:17,646 - DEBUG - Requesting: http://10.0.0.246:8082/virtual-network/a8c30748-2307-4ef8-b13c-fdda16b43177
2026-01-29 14:50:17,656 - DEBUG - Requesting: http://10.0.0.246:8082/virtual-network/a8c30748-2307-4ef8-b13c-fdda16b43177
2026-01-29 14:50:17,665 - DEBUG - Requesting: http://10.0.0.246:8082/routing-instance/89a60395-09af-412b-85f4-1302c12b1765
2026-01-29 14:50:17,672 - DEBUG - Requesting: http://10.0.0.246:8082/routing-instance/89a60395-09af-412b-85f4-1302c12b1765
2026-01-29 14:50:17,679 - DEBUG - Requesting: http://10.0.0.246:8082/route-target/a9596799-94e6-4b50-a82f-04646777d812
2026-01-29 14:50:17,686 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-29 14:50:17,686 - DEBUG - Requesting: http://10.0.0.246:8082/virtual-network/a8c30748-2307-4ef8-b13c-fdda16b43177
2026-01-29 14:50:17,695 - DEBUG - Requesting: http://10.0.0.246:8082/routing-instance/89a60395-09af-412b-85f4-1302c12b1765
2026-01-29 14:50:17,707 - INFO - Verified VN network id 12 for VN a8c30748-2307-4ef8-b13c-fdda16b43177
2026-01-29 14:50:17,707 - INFO - Verifications in API Server for VN ctest-vn-65530464 passed
2026-01-29 14:50:17,707 - DEBUG - Requesting: http://10.0.0.246:8082/virtual-network/a8c30748-2307-4ef8-b13c-fdda16b43177
2026-01-29 14:50:17,715 - DEBUG - Requesting: http://10.0.0.246:8082/routing-instance/89a60395-09af-412b-85f4-1302c12b1765
2026-01-29 14:50:17,721 - DEBUG - Requesting: http://10.0.0.246:8082/routing-instance/89a60395-09af-412b-85f4-1302c12b1765
2026-01-29 14:50:17,726 - DEBUG - Requesting: http://10.0.0.246:8082/route-target/a9596799-94e6-4b50-a82f-04646777d812
2026-01-29 14:50:17,753 - DEBUG - Control-node 10.0.0.246 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-67595414:ctest-vn-65530464', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-67595414', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12160571425237192440', 'uuid-lslong': '12771361756441489783'}, 'enable': 'true', 'created': '2026-01-29T14:50:15', 'last-modified': '2026-01-29T14:50:16', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.905202'}
2026-01-29 14:50:17,762 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-29 14:50:17,762 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-65530464 passed
2026-01-29 14:50:17,763 - DEBUG - ====Verifying policy data for ctest-vn-65530464 in API_Server ======
2026-01-29 14:50:17,763 - DEBUG - Requesting: http://10.0.0.246:8082/domains
2026-01-29 14:50:17,769 - DEBUG - Requesting: http://10.0.0.246:8082/domain/ab960573-c036-473c-9e4c-333386525eb1
2026-01-29 14:50:17,781 - DEBUG - Requesting: http://10.0.0.246:8082/project/134cfb7d-3c2e-4367-8f16-9467b33bcab6
2026-01-29 14:50:17,861 - DEBUG - Requesting: http://10.0.0.246:8082/virtual-network/a8c30748-2307-4ef8-b13c-fdda16b43177
2026-01-29 14:50:17,871 - DEBUG - ==>Verifying data for policy with id: dea54d23-098a-411e-b12b-a1a5b4047b07, fqn: ['default-domain', 'ctest-TestBasicPolicy-67595414', 'ctest-policy-allow-all-40024317']
2026-01-29 14:50:17,871 - INFO - VN ctest-vn-65530464 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-29 14:50:17,871 - DEBUG - Verifying the vn in opserver
2026-01-29 14:50:17,871 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-67595414:ctest-vn-65530464 virtual network link through opserver 10.0.0.246
2026-01-29 14:50:17,871 - DEBUG - Requesting: http://10.0.0.246:8081/analytics/uves/virtual-networks
2026-01-29 14:50:18,170 - DEBUG - Requesting: http://10.0.0.246:8081/analytics/uves/virtual-networks
2026-01-29 14:50:18,228 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-67595414:ctest-vn-65530464', 'href': 'http://10.0.0.246:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-67595414:ctest-vn-65530464?flat'}
2026-01-29 14:50:18,228 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-67595414:ctest-vn-65530464 is found in opserver
2026-01-29 14:50:18,236 - DEBUG - Do not have enough data to verify VN in agent
2026-01-29 14:50:18,241 - DEBUG - VRF ids for VN ctest-vn-65530464: {}
2026-01-29 14:50:18,241 - DEBUG - Requesting: http://10.0.0.246:8082/domains
2026-01-29 14:50:18,245 - DEBUG - Requesting: http://10.0.0.246:8082/domain/ab960573-c036-473c-9e4c-333386525eb1
2026-01-29 14:50:18,254 - DEBUG - Requesting: http://10.0.0.246:8082/project/134cfb7d-3c2e-4367-8f16-9467b33bcab6
2026-01-29 14:50:18,321 - DEBUG - Requesting: http://10.0.0.246:8082/virtual-network/a0606492-3780-4110-b634-72c9e1eafc83
2026-01-29 14:50:18,331 - DEBUG - Requesting: http://10.0.0.246:8082/virtual-network/a0606492-3780-4110-b634-72c9e1eafc83
2026-01-29 14:50:18,339 - DEBUG - Requesting: http://10.0.0.246:8082/routing-instance/73be622d-0b20-4fe0-9ccb-929ff17fae84
2026-01-29 14:50:18,346 - DEBUG - Requesting: http://10.0.0.246:8082/routing-instance/73be622d-0b20-4fe0-9ccb-929ff17fae84
2026-01-29 14:50:18,353 - DEBUG - Requesting: http://10.0.0.246:8082/route-target/ffbca8f4-41e4-458b-bbc7-3d35ffc4b154
2026-01-29 14:50:18,359 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-29 14:50:18,359 - DEBUG - Requesting: http://10.0.0.246:8082/virtual-network/a0606492-3780-4110-b634-72c9e1eafc83
2026-01-29 14:50:18,368 - DEBUG - Requesting: http://10.0.0.246:8082/routing-instance/73be622d-0b20-4fe0-9ccb-929ff17fae84
2026-01-29 14:50:18,380 - INFO - Verified VN network id 13 for VN a0606492-3780-4110-b634-72c9e1eafc83
2026-01-29 14:50:18,380 - INFO - Verifications in API Server for VN ctest-vn-96495146 passed
2026-01-29 14:50:18,381 - DEBUG - Requesting: http://10.0.0.246:8082/virtual-network/a0606492-3780-4110-b634-72c9e1eafc83
2026-01-29 14:50:18,388 - DEBUG - Requesting: http://10.0.0.246:8082/routing-instance/73be622d-0b20-4fe0-9ccb-929ff17fae84
2026-01-29 14:50:18,394 - DEBUG - Requesting: http://10.0.0.246:8082/routing-instance/73be622d-0b20-4fe0-9ccb-929ff17fae84
2026-01-29 14:50:18,400 - DEBUG - Requesting: http://10.0.0.246:8082/route-target/ffbca8f4-41e4-458b-bbc7-3d35ffc4b154
2026-01-29 14:50:18,410 - DEBUG - Control-node 10.0.0.246 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-67595414:ctest-vn-96495146', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-67595414', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11556347222991847696', 'uuid-lslong': '13129245025096105091'}, 'enable': 'true', 'created': '2026-01-29T14:50:16', 'last-modified': '2026-01-29T14:50:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.351850'}
2026-01-29 14:50:18,415 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-29 14:50:18,416 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-96495146 passed
2026-01-29 14:50:18,416 - DEBUG - ====Verifying policy data for ctest-vn-96495146 in API_Server ======
2026-01-29 14:50:18,416 - DEBUG - Requesting: http://10.0.0.246:8082/domains
2026-01-29 14:50:18,423 - DEBUG - Requesting: http://10.0.0.246:8082/domain/ab960573-c036-473c-9e4c-333386525eb1
2026-01-29 14:50:18,433 - DEBUG - Requesting: http://10.0.0.246:8082/project/134cfb7d-3c2e-4367-8f16-9467b33bcab6
2026-01-29 14:50:18,497 - DEBUG - Requesting: http://10.0.0.246:8082/virtual-network/a0606492-3780-4110-b634-72c9e1eafc83
2026-01-29 14:50:18,505 - DEBUG - ==>Verifying data for policy with id: dea54d23-098a-411e-b12b-a1a5b4047b07, fqn: ['default-domain', 'ctest-TestBasicPolicy-67595414', 'ctest-policy-allow-all-40024317']
2026-01-29 14:50:18,505 - INFO - VN ctest-vn-96495146 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-29 14:50:18,505 - DEBUG - Verifying the vn in opserver
2026-01-29 14:50:18,505 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-67595414:ctest-vn-96495146 virtual network link through opserver 10.0.0.246
2026-01-29 14:50:18,505 - DEBUG - Requesting: http://10.0.0.246:8081/analytics/uves/virtual-networks
2026-01-29 14:50:18,513 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-67595414:ctest-vn-96495146', 'href': 'http://10.0.0.246:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-67595414:ctest-vn-96495146?flat'}
2026-01-29 14:50:18,514 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-67595414:ctest-vn-96495146 is found in opserver
2026-01-29 14:50:18,523 - DEBUG - Do not have enough data to verify VN in agent
2026-01-29 14:50:18,527 - DEBUG - VRF ids for VN ctest-vn-96495146: {}
2026-01-29 14:50:18,577 - DEBUG - Services list from nova: [