2026-01-30 13:18:47,492 - INFO - Domain Default found not creating
2026-01-30 13:18:47,676 - INFO - Project ctest-TestBasicPolicy-25480893 not found, creating it
2026-01-30 13:18:48,120 - INFO - Created Project:ctest-TestBasicPolicy-25480893, ID : cba6e769-b3e4-43fd-aa2a-7e7b8c6f5afa
2026-01-30 13:18:49,661 - INFO - ================================================================================
2026-01-30 13:18:49,661 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-01-30 13:18:49,661 - 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-30 13:18:49,944 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with
2026-01-30 13:18:49,944 - INFO - Initial checks done. Running the testcase now
2026-01-30 13:18:49,944 - INFO -
2026-01-30 13:18:50,492 - DEBUG - Response for create_network : {'network': {'id': 'd985881b-bd83-422e-9d89-2e7a52197042', 'name': 'ctest-vn-08695461', 'tenant_id': 'cba6e769b3e443fdaa2a7e7b8c6f5afa', 'project_id': 'cba6e769b3e443fdaa2a7e7b8c6f5afa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-25480893', 'ctest-vn-08695461'], 'port_security_enabled': True, 'description': ''}}
2026-01-30 13:18:50,646 - DEBUG - Response for create_subnet : {'subnet': {'id': '5e52226b-3cbe-4a66-aa91-103fa010d3cd', 'name': '', 'tenant_id': 'cba6e769b3e443fdaa2a7e7b8c6f5afa', 'network_id': 'd985881b-bd83-422e-9d89-2e7a52197042', 'ip_version': 4, 'cidr': '67.113.110.0/26', 'allocation_pools': [{'start': '67.113.110.2', 'end': '67.113.110.62'}], 'gateway_ip': '67.113.110.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '67.113.110.2', 'tags': [], 'project_id': 'cba6e769b3e443fdaa2a7e7b8c6f5afa'}}
2026-01-30 13:18:50,663 - INFO - Created VN ctest-vn-08695461
2026-01-30 13:18:50,715 - DEBUG - VN ctest-vn-08695461 UUID is d985881b-bd83-422e-9d89-2e7a52197042
2026-01-30 13:18:51,001 - DEBUG - Response for create_network : {'network': {'id': '4eaab2b8-4758-455d-b467-631244b4b922', 'name': 'ctest-vn-86967978', 'tenant_id': 'cba6e769b3e443fdaa2a7e7b8c6f5afa', 'project_id': 'cba6e769b3e443fdaa2a7e7b8c6f5afa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-25480893', 'ctest-vn-86967978'], 'port_security_enabled': True, 'description': ''}}
2026-01-30 13:18:51,192 - DEBUG - Response for create_subnet : {'subnet': {'id': '7973e654-8b6c-4bc4-b8a7-01e3327cf492', 'name': '', 'tenant_id': 'cba6e769b3e443fdaa2a7e7b8c6f5afa', 'network_id': '4eaab2b8-4758-455d-b467-631244b4b922', 'ip_version': 4, 'cidr': '192.104.112.0/26', 'allocation_pools': [{'start': '192.104.112.2', 'end': '192.104.112.62'}], 'gateway_ip': '192.104.112.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '192.104.112.2', 'tags': [], 'project_id': 'cba6e769b3e443fdaa2a7e7b8c6f5afa'}}
2026-01-30 13:18:51,209 - INFO - Created VN ctest-vn-86967978
2026-01-30 13:18:51,259 - DEBUG - VN ctest-vn-86967978 UUID is 4eaab2b8-4758-455d-b467-631244b4b922
2026-01-30 13:18:51,411 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-25480893:ctest-vn-08695461, 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-25480893:ctest-vn-86967978, 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-30 13:18:51,700 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd985881b-bd83-422e-9d89-2e7a52197042', 'name': 'ctest-vn-08695461', 'tenant_id': 'cba6e769b3e443fdaa2a7e7b8c6f5afa', 'project_id': 'cba6e769b3e443fdaa2a7e7b8c6f5afa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5e52226b-3cbe-4a66-aa91-103fa010d3cd'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-25480893', 'ctest-vn-08695461'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-25480893', 'ctest-policy-allow-all-81898391']], 'subnet_ipam': [{'subnet_cidr': '67.113.110.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-30 13:18:51,927 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4eaab2b8-4758-455d-b467-631244b4b922', 'name': 'ctest-vn-86967978', 'tenant_id': 'cba6e769b3e443fdaa2a7e7b8c6f5afa', 'project_id': 'cba6e769b3e443fdaa2a7e7b8c6f5afa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7973e654-8b6c-4bc4-b8a7-01e3327cf492'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-25480893', 'ctest-vn-86967978'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-25480893', 'ctest-policy-allow-all-81898391']], 'subnet_ipam': [{'subnet_cidr': '192.104.112.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-30 13:18:52,099 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-01-30 13:18:52,391 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-01-30 13:18:52,424 - DEBUG - Requesting: http://10.0.0.22:8082/domain/cc267587-a7e2-4580-b6d3-8fddb46f3fba
2026-01-30 13:18:52,435 - DEBUG - Requesting: http://10.0.0.22:8082/project/cba6e769-b3e4-43fd-aa2a-7e7b8c6f5afa
2026-01-30 13:18:52,509 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/d985881b-bd83-422e-9d89-2e7a52197042
2026-01-30 13:18:52,518 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/d985881b-bd83-422e-9d89-2e7a52197042
2026-01-30 13:18:52,526 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/446bc715-391a-4cd6-b3ee-bcd6af429c0f
2026-01-30 13:18:52,533 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/446bc715-391a-4cd6-b3ee-bcd6af429c0f
2026-01-30 13:18:52,539 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/670c9668-4031-4e30-9c3b-c4d6ed104bf8
2026-01-30 13:18:52,545 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-30 13:18:52,545 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/d985881b-bd83-422e-9d89-2e7a52197042
2026-01-30 13:18:52,554 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/446bc715-391a-4cd6-b3ee-bcd6af429c0f
2026-01-30 13:18:52,568 - INFO - Verified VN network id 12 for VN d985881b-bd83-422e-9d89-2e7a52197042
2026-01-30 13:18:52,568 - INFO - Verifications in API Server for VN ctest-vn-08695461 passed
2026-01-30 13:18:52,568 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/d985881b-bd83-422e-9d89-2e7a52197042
2026-01-30 13:18:52,578 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/446bc715-391a-4cd6-b3ee-bcd6af429c0f
2026-01-30 13:18:52,585 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/446bc715-391a-4cd6-b3ee-bcd6af429c0f
2026-01-30 13:18:52,592 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/670c9668-4031-4e30-9c3b-c4d6ed104bf8
2026-01-30 13:18:52,603 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-25480893:ctest-vn-08695461', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-25480893', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15674083730857869870', 'uuid-lslong': '11351655438662332482'}, 'enable': 'true', 'created': '2026-01-30T13:18:50', 'last-modified': '2026-01-30T13:18:51', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.924434'}
2026-01-30 13:18:52,610 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-30 13:18:52,610 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-08695461 passed
2026-01-30 13:18:52,610 - DEBUG - ====Verifying policy data for ctest-vn-08695461 in API_Server ======
2026-01-30 13:18:52,610 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-01-30 13:18:52,616 - DEBUG - Requesting: http://10.0.0.22:8082/domain/cc267587-a7e2-4580-b6d3-8fddb46f3fba
2026-01-30 13:18:52,626 - DEBUG - Requesting: http://10.0.0.22:8082/project/cba6e769-b3e4-43fd-aa2a-7e7b8c6f5afa
2026-01-30 13:18:52,695 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/d985881b-bd83-422e-9d89-2e7a52197042
2026-01-30 13:18:52,704 - DEBUG - ==>Verifying data for policy with id: a15211ac-bbfd-47b5-b397-697c15672e01, fqn: ['default-domain', 'ctest-TestBasicPolicy-25480893', 'ctest-policy-allow-all-81898391']
2026-01-30 13:18:52,705 - INFO - VN ctest-vn-08695461 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-30 13:18:52,705 - DEBUG - Verifying the vn in opserver
2026-01-30 13:18:52,705 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-25480893:ctest-vn-08695461 virtual network link through opserver 10.0.0.22
2026-01-30 13:18:52,705 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks
2026-01-30 13:18:53,000 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks
2026-01-30 13:18:53,063 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-25480893:ctest-vn-08695461', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-25480893:ctest-vn-08695461?flat'}
2026-01-30 13:18:53,063 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-25480893:ctest-vn-08695461 is found in opserver
2026-01-30 13:18:53,072 - DEBUG - Do not have enough data to verify VN in agent
2026-01-30 13:18:53,076 - DEBUG - VRF ids for VN ctest-vn-08695461: {}
2026-01-30 13:18:53,077 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-01-30 13:18:53,082 - DEBUG - Requesting: http://10.0.0.22:8082/domain/cc267587-a7e2-4580-b6d3-8fddb46f3fba
2026-01-30 13:18:53,093 - DEBUG - Requesting: http://10.0.0.22:8082/project/cba6e769-b3e4-43fd-aa2a-7e7b8c6f5afa
2026-01-30 13:18:53,167 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/4eaab2b8-4758-455d-b467-631244b4b922
2026-01-30 13:18:53,179 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/4eaab2b8-4758-455d-b467-631244b4b922
2026-01-30 13:18:53,187 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/466af964-b77d-4839-9231-6497c4f94df1
2026-01-30 13:18:53,195 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/466af964-b77d-4839-9231-6497c4f94df1
2026-01-30 13:18:53,202 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/bd26a221-257a-4985-891f-f5df93e2969e
2026-01-30 13:18:53,208 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-30 13:18:53,209 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/4eaab2b8-4758-455d-b467-631244b4b922
2026-01-30 13:18:53,217 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/466af964-b77d-4839-9231-6497c4f94df1
2026-01-30 13:18:53,230 - INFO - Verified VN network id 13 for VN 4eaab2b8-4758-455d-b467-631244b4b922
2026-01-30 13:18:53,230 - INFO - Verifications in API Server for VN ctest-vn-86967978 passed
2026-01-30 13:18:53,230 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/4eaab2b8-4758-455d-b467-631244b4b922
2026-01-30 13:18:53,241 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/466af964-b77d-4839-9231-6497c4f94df1
2026-01-30 13:18:53,248 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/466af964-b77d-4839-9231-6497c4f94df1
2026-01-30 13:18:53,256 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/bd26a221-257a-4985-891f-f5df93e2969e
2026-01-30 13:18:53,267 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-25480893:ctest-vn-86967978', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-25480893', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5668539585539884381', 'uuid-lslong': '12999467779541481762'}, 'enable': 'true', 'created': '2026-01-30T13:18:50', 'last-modified': '2026-01-30T13:18:51', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.358777'}
2026-01-30 13:18:53,272 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-30 13:18:53,272 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-86967978 passed
2026-01-30 13:18:53,273 - DEBUG - ====Verifying policy data for ctest-vn-86967978 in API_Server ======
2026-01-30 13:18:53,273 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-01-30 13:18:53,278 - DEBUG - Requesting: http://10.0.0.22:8082/domain/cc267587-a7e2-4580-b6d3-8fddb46f3fba
2026-01-30 13:18:53,287 - DEBUG - Requesting: http://10.0.0.22:8082/project/cba6e769-b3e4-43fd-aa2a-7e7b8c6f5afa
2026-01-30 13:18:53,363 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/4eaab2b8-4758-455d-b467-631244b4b922
2026-01-30 13:18:53,373 - DEBUG - ==>Verifying data for policy with id: a15211ac-bbfd-47b5-b397-697c15672e01, fqn: ['default-domain', 'ctest-TestBasicPolicy-25480893', 'ctest-policy-allow-all-81898391']
2026-01-30 13:18:53,373 - INFO - VN ctest-vn-86967978 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-30 13:18:53,373 - DEBUG - Verifying the vn in opserver
2026-01-30 13:18:53,373 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-25480893:ctest-vn-86967978 virtual network link through opserver 10.0.0.22
2026-01-30 13:18:53,373 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks
2026-01-30 13:18:53,382 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-25480893:ctest-vn-86967978', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-25480893:ctest-vn-86967978?flat'}
2026-01-30 13:18:53,382 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-25480893:ctest-vn-86967978 is found in opserver
2026-01-30 13:18:53,391 - DEBUG - Do not have enough data to verify VN in agent
2026-01-30 13:18:53,395 - DEBUG - VRF ids for VN ctest-vn-86967978: {}
2026-01-30 13:18:53,456 - DEBUG - Services list from nova: [