2026-02-03 21:09:48,197 - INFO - Domain Default found not creating
2026-02-03 21:09:48,665 - INFO - Project ctest-TestBasicPolicy-60910289 not found, creating it
2026-02-03 21:09:49,439 - INFO - Created Project:ctest-TestBasicPolicy-60910289, ID : dd1df8ad-2608-422d-8624-218e1969c00b
2026-02-03 21:09:52,364 - INFO - ================================================================================
2026-02-03 21:09:52,365 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-03 21:09:52,365 - 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-02-03 21:09:52,668 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2026-02-03 21:09:52,668 - INFO - Initial checks done. Running the testcase now
2026-02-03 21:09:52,668 - INFO -
2026-02-03 21:09:53,291 - DEBUG - Response for create_network : {'network': {'id': '80a911d7-e314-4411-9049-8530f825c257', 'name': 'ctest-vn-43201857', 'tenant_id': 'dd1df8ad2608422d8624218e1969c00b', 'project_id': 'dd1df8ad2608422d8624218e1969c00b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-60910289', 'ctest-vn-43201857'], 'port_security_enabled': True, 'description': ''}}
2026-02-03 21:09:53,445 - DEBUG - Response for create_subnet : {'subnet': {'id': '174e302f-d0a4-48ab-abc7-25350ffb15fb', 'name': '', 'tenant_id': 'dd1df8ad2608422d8624218e1969c00b', 'network_id': '80a911d7-e314-4411-9049-8530f825c257', 'ip_version': 4, 'cidr': '34.251.231.128/26', 'allocation_pools': [{'start': '34.251.231.130', 'end': '34.251.231.190'}], 'gateway_ip': '34.251.231.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '34.251.231.130', 'tags': [], 'project_id': 'dd1df8ad2608422d8624218e1969c00b'}}
2026-02-03 21:09:53,464 - INFO - Created VN ctest-vn-43201857
2026-02-03 21:09:53,526 - DEBUG - VN ctest-vn-43201857 UUID is 80a911d7-e314-4411-9049-8530f825c257
2026-02-03 21:09:54,000 - DEBUG - Response for create_network : {'network': {'id': '24ccbcf0-ef6f-4ba4-867c-b62132669e51', 'name': 'ctest-vn-79044383', 'tenant_id': 'dd1df8ad2608422d8624218e1969c00b', 'project_id': 'dd1df8ad2608422d8624218e1969c00b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-60910289', 'ctest-vn-79044383'], 'port_security_enabled': True, 'description': ''}}
2026-02-03 21:09:54,285 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ec8b668a-911c-480b-a39c-a9e1479b995b', 'name': '', 'tenant_id': 'dd1df8ad2608422d8624218e1969c00b', 'network_id': '24ccbcf0-ef6f-4ba4-867c-b62132669e51', 'ip_version': 4, 'cidr': '72.241.231.192/26', 'allocation_pools': [{'start': '72.241.231.194', 'end': '72.241.231.254'}], 'gateway_ip': '72.241.231.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '72.241.231.194', 'tags': [], 'project_id': 'dd1df8ad2608422d8624218e1969c00b'}}
2026-02-03 21:09:54,317 - INFO - Created VN ctest-vn-79044383
2026-02-03 21:09:54,375 - DEBUG - VN ctest-vn-79044383 UUID is 24ccbcf0-ef6f-4ba4-867c-b62132669e51
2026-02-03 21:09:54,505 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-60910289:ctest-vn-43201857, 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-60910289:ctest-vn-79044383, 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-02-03 21:09:54,902 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '80a911d7-e314-4411-9049-8530f825c257', 'name': 'ctest-vn-43201857', 'tenant_id': 'dd1df8ad2608422d8624218e1969c00b', 'project_id': 'dd1df8ad2608422d8624218e1969c00b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['174e302f-d0a4-48ab-abc7-25350ffb15fb'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-60910289', 'ctest-vn-43201857'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-60910289', 'ctest-policy-allow-all-39568146']], 'subnet_ipam': [{'subnet_cidr': '34.251.231.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-03 21:09:55,296 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '24ccbcf0-ef6f-4ba4-867c-b62132669e51', 'name': 'ctest-vn-79044383', 'tenant_id': 'dd1df8ad2608422d8624218e1969c00b', 'project_id': 'dd1df8ad2608422d8624218e1969c00b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ec8b668a-911c-480b-a39c-a9e1479b995b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-60910289', 'ctest-vn-79044383'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-60910289', 'ctest-policy-allow-all-39568146']], 'subnet_ipam': [{'subnet_cidr': '72.241.231.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-03 21:09:55,466 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-03 21:09:55,804 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-03 21:09:55,873 - DEBUG - Requesting: http://10.0.0.38:8082/domain/56850077-a7da-49b3-9fe3-bf5b74d036c3
2026-02-03 21:09:55,899 - DEBUG - Requesting: http://10.0.0.38:8082/project/dd1df8ad-2608-422d-8624-218e1969c00b
2026-02-03 21:09:56,021 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/80a911d7-e314-4411-9049-8530f825c257
2026-02-03 21:09:56,048 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/80a911d7-e314-4411-9049-8530f825c257
2026-02-03 21:09:56,074 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3a8af8e3-411d-4618-abfe-73f9df9e7030
2026-02-03 21:09:56,090 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3a8af8e3-411d-4618-abfe-73f9df9e7030
2026-02-03 21:09:56,114 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/ac25e228-2f39-4ab3-a948-474d6905e519
2026-02-03 21:09:56,126 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-03 21:09:56,126 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/80a911d7-e314-4411-9049-8530f825c257
2026-02-03 21:09:56,140 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3a8af8e3-411d-4618-abfe-73f9df9e7030
2026-02-03 21:09:56,163 - INFO - Verified VN network id 11 for VN 80a911d7-e314-4411-9049-8530f825c257
2026-02-03 21:09:56,163 - INFO - Verifications in API Server for VN ctest-vn-43201857 passed
2026-02-03 21:09:56,163 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/80a911d7-e314-4411-9049-8530f825c257
2026-02-03 21:09:56,177 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3a8af8e3-411d-4618-abfe-73f9df9e7030
2026-02-03 21:09:56,190 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3a8af8e3-411d-4618-abfe-73f9df9e7030
2026-02-03 21:09:56,202 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/ac25e228-2f39-4ab3-a948-474d6905e519
2026-02-03 21:09:56,227 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-60910289:ctest-vn-43201857', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-60910289', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9270960926844273681', 'uuid-lslong': '10396987660129649239'}, 'enable': 'true', 'created': '2026-02-03T21:09:53', 'last-modified': '2026-02-03T21:09:54', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.364498'}
2026-02-03 21:09:56,241 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-03 21:09:56,241 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-43201857 passed
2026-02-03 21:09:56,241 - DEBUG - ====Verifying policy data for ctest-vn-43201857 in API_Server ======
2026-02-03 21:09:56,241 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-03 21:09:56,252 - DEBUG - Requesting: http://10.0.0.38:8082/domain/56850077-a7da-49b3-9fe3-bf5b74d036c3
2026-02-03 21:09:56,281 - DEBUG - Requesting: http://10.0.0.38:8082/project/dd1df8ad-2608-422d-8624-218e1969c00b
2026-02-03 21:09:56,398 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/80a911d7-e314-4411-9049-8530f825c257
2026-02-03 21:09:56,419 - DEBUG - ==>Verifying data for policy with id: a01531f5-0469-45da-b121-74326976d32c, fqn: ['default-domain', 'ctest-TestBasicPolicy-60910289', 'ctest-policy-allow-all-39568146']
2026-02-03 21:09:56,419 - INFO - VN ctest-vn-43201857 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-03 21:09:56,419 - DEBUG - Verifying the vn in opserver
2026-02-03 21:09:56,419 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-60910289:ctest-vn-43201857 virtual network link through opserver 10.0.0.38
2026-02-03 21:09:56,420 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-02-03 21:09:56,753 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-02-03 21:09:56,826 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-60910289:ctest-vn-43201857', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-60910289:ctest-vn-43201857?flat'}
2026-02-03 21:09:56,826 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-60910289:ctest-vn-43201857 is found in opserver
2026-02-03 21:09:56,853 - DEBUG - Do not have enough data to verify VN in agent
2026-02-03 21:09:56,864 - DEBUG - VRF ids for VN ctest-vn-43201857: {}
2026-02-03 21:09:56,864 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-03 21:09:56,876 - DEBUG - Requesting: http://10.0.0.38:8082/domain/56850077-a7da-49b3-9fe3-bf5b74d036c3
2026-02-03 21:09:56,901 - DEBUG - Requesting: http://10.0.0.38:8082/project/dd1df8ad-2608-422d-8624-218e1969c00b
2026-02-03 21:09:57,015 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/24ccbcf0-ef6f-4ba4-867c-b62132669e51
2026-02-03 21:09:57,046 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/24ccbcf0-ef6f-4ba4-867c-b62132669e51
2026-02-03 21:09:57,072 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/fa394547-9b8f-4933-a89f-cfc278d67f7a
2026-02-03 21:09:57,092 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/fa394547-9b8f-4933-a89f-cfc278d67f7a
2026-02-03 21:09:57,110 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/8fcfc049-e9df-4e19-bd87-0e208dfa9d0f
2026-02-03 21:09:57,125 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-03 21:09:57,126 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/24ccbcf0-ef6f-4ba4-867c-b62132669e51
2026-02-03 21:09:57,149 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/fa394547-9b8f-4933-a89f-cfc278d67f7a
2026-02-03 21:09:57,186 - INFO - Verified VN network id 12 for VN 24ccbcf0-ef6f-4ba4-867c-b62132669e51
2026-02-03 21:09:57,186 - INFO - Verifications in API Server for VN ctest-vn-79044383 passed
2026-02-03 21:09:57,186 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/24ccbcf0-ef6f-4ba4-867c-b62132669e51
2026-02-03 21:09:57,210 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/fa394547-9b8f-4933-a89f-cfc278d67f7a
2026-02-03 21:09:57,224 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/fa394547-9b8f-4933-a89f-cfc278d67f7a
2026-02-03 21:09:57,240 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/8fcfc049-e9df-4e19-bd87-0e208dfa9d0f
2026-02-03 21:09:57,268 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-60910289:ctest-vn-79044383', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-60910289', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2651702023609600932', 'uuid-lslong': '9690820751890226769'}, 'enable': 'true', 'created': '2026-02-03T21:09:53', 'last-modified': '2026-02-03T21:09:55', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.073323'}
2026-02-03 21:09:57,285 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-03 21:09:57,285 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-79044383 passed
2026-02-03 21:09:57,286 - DEBUG - ====Verifying policy data for ctest-vn-79044383 in API_Server ======
2026-02-03 21:09:57,286 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-03 21:09:57,298 - DEBUG - Requesting: http://10.0.0.38:8082/domain/56850077-a7da-49b3-9fe3-bf5b74d036c3
2026-02-03 21:09:57,325 - DEBUG - Requesting: http://10.0.0.38:8082/project/dd1df8ad-2608-422d-8624-218e1969c00b
2026-02-03 21:09:57,442 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/24ccbcf0-ef6f-4ba4-867c-b62132669e51
2026-02-03 21:09:57,470 - DEBUG - ==>Verifying data for policy with id: a01531f5-0469-45da-b121-74326976d32c, fqn: ['default-domain', 'ctest-TestBasicPolicy-60910289', 'ctest-policy-allow-all-39568146']
2026-02-03 21:09:57,470 - INFO - VN ctest-vn-79044383 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-03 21:09:57,470 - DEBUG - Verifying the vn in opserver
2026-02-03 21:09:57,471 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-60910289:ctest-vn-79044383 virtual network link through opserver 10.0.0.38
2026-02-03 21:09:57,471 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-02-03 21:09:57,491 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-60910289:ctest-vn-79044383', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-60910289:ctest-vn-79044383?flat'}
2026-02-03 21:09:57,491 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-60910289:ctest-vn-79044383 is found in opserver
2026-02-03 21:09:57,514 - DEBUG - Do not have enough data to verify VN in agent
2026-02-03 21:09:57,526 - DEBUG - VRF ids for VN ctest-vn-79044383: {}
2026-02-03 21:09:57,658 - DEBUG - Services list from nova: [