2026-01-29 13:18:25,258 - INFO - Domain Default found not creating
2026-01-29 13:18:25,433 - INFO - Project ctest-TestBasicPolicy-93653341 not found, creating it
2026-01-29 13:18:25,915 - INFO - Created Project:ctest-TestBasicPolicy-93653341, ID : 8b46349a-8008-4889-a80f-33dd2c75fae3
2026-01-29 13:18:27,451 - INFO - ================================================================================
2026-01-29 13:18:27,451 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-01-29 13:18:27,451 - 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 13:18:27,706 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.25': '0'}} with
2026-01-29 13:18:27,706 - INFO - Initial checks done. Running the testcase now
2026-01-29 13:18:27,706 - INFO -
2026-01-29 13:18:28,256 - DEBUG - Response for create_network : {'network': {'id': '1371c441-17d1-4c9b-974b-0f706a0ba0ad', 'name': 'ctest-vn-74889534', 'tenant_id': '8b46349a80084889a80f33dd2c75fae3', 'project_id': '8b46349a80084889a80f33dd2c75fae3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-93653341', 'ctest-vn-74889534'], 'port_security_enabled': True, 'description': ''}}
2026-01-29 13:18:28,442 - DEBUG - Response for create_subnet : {'subnet': {'id': '5a7991f5-ec02-46bb-b33a-528105fe0c2b', 'name': '', 'tenant_id': '8b46349a80084889a80f33dd2c75fae3', 'network_id': '1371c441-17d1-4c9b-974b-0f706a0ba0ad', 'ip_version': 4, 'cidr': '73.248.240.0/26', 'allocation_pools': [{'start': '73.248.240.2', 'end': '73.248.240.62'}], 'gateway_ip': '73.248.240.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '73.248.240.2', 'tags': [], 'project_id': '8b46349a80084889a80f33dd2c75fae3'}}
2026-01-29 13:18:28,462 - INFO - Created VN ctest-vn-74889534
2026-01-29 13:18:28,516 - DEBUG - VN ctest-vn-74889534 UUID is 1371c441-17d1-4c9b-974b-0f706a0ba0ad
2026-01-29 13:18:28,808 - DEBUG - Response for create_network : {'network': {'id': 'aeda6832-774e-44a8-a9e8-4cb80c9eef1d', 'name': 'ctest-vn-47267647', 'tenant_id': '8b46349a80084889a80f33dd2c75fae3', 'project_id': '8b46349a80084889a80f33dd2c75fae3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-93653341', 'ctest-vn-47267647'], 'port_security_enabled': True, 'description': ''}}
2026-01-29 13:18:28,989 - DEBUG - Response for create_subnet : {'subnet': {'id': '4b440509-f1ec-429d-9f92-1d62c7dab190', 'name': '', 'tenant_id': '8b46349a80084889a80f33dd2c75fae3', 'network_id': 'aeda6832-774e-44a8-a9e8-4cb80c9eef1d', 'ip_version': 4, 'cidr': '96.191.94.0/26', 'allocation_pools': [{'start': '96.191.94.2', 'end': '96.191.94.62'}], 'gateway_ip': '96.191.94.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '96.191.94.2', 'tags': [], 'project_id': '8b46349a80084889a80f33dd2c75fae3'}}
2026-01-29 13:18:29,008 - INFO - Created VN ctest-vn-47267647
2026-01-29 13:18:29,064 - DEBUG - VN ctest-vn-47267647 UUID is aeda6832-774e-44a8-a9e8-4cb80c9eef1d
2026-01-29 13:18:29,175 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-93653341:ctest-vn-74889534, 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-93653341:ctest-vn-47267647, 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 13:18:29,463 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1371c441-17d1-4c9b-974b-0f706a0ba0ad', 'name': 'ctest-vn-74889534', 'tenant_id': '8b46349a80084889a80f33dd2c75fae3', 'project_id': '8b46349a80084889a80f33dd2c75fae3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5a7991f5-ec02-46bb-b33a-528105fe0c2b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-93653341', 'ctest-vn-74889534'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-93653341', 'ctest-policy-allow-all-76644950']], 'subnet_ipam': [{'subnet_cidr': '73.248.240.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-29 13:18:29,693 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'aeda6832-774e-44a8-a9e8-4cb80c9eef1d', 'name': 'ctest-vn-47267647', 'tenant_id': '8b46349a80084889a80f33dd2c75fae3', 'project_id': '8b46349a80084889a80f33dd2c75fae3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4b440509-f1ec-429d-9f92-1d62c7dab190'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-93653341', 'ctest-vn-47267647'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-93653341', 'ctest-policy-allow-all-76644950']], 'subnet_ipam': [{'subnet_cidr': '96.191.94.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-29 13:18:29,856 - DEBUG - Requesting: http://10.0.0.130:8082/domains
2026-01-29 13:18:30,159 - DEBUG - Requesting: http://10.0.0.130:8082/domains
2026-01-29 13:18:30,202 - DEBUG - Requesting: http://10.0.0.130:8082/domain/11b59336-287a-4cc0-abf2-5866395b3d55
2026-01-29 13:18:30,214 - DEBUG - Requesting: http://10.0.0.130:8082/project/8b46349a-8008-4889-a80f-33dd2c75fae3
2026-01-29 13:18:30,290 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/1371c441-17d1-4c9b-974b-0f706a0ba0ad
2026-01-29 13:18:30,301 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/1371c441-17d1-4c9b-974b-0f706a0ba0ad
2026-01-29 13:18:30,310 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/f9e8861f-c34b-4f82-9a39-4d3e516672a1
2026-01-29 13:18:30,318 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/f9e8861f-c34b-4f82-9a39-4d3e516672a1
2026-01-29 13:18:30,325 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/c44f66b4-3594-413c-9251-477b418db4b1
2026-01-29 13:18:30,331 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-29 13:18:30,331 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/1371c441-17d1-4c9b-974b-0f706a0ba0ad
2026-01-29 13:18:30,342 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/f9e8861f-c34b-4f82-9a39-4d3e516672a1
2026-01-29 13:18:30,357 - INFO - Verified VN network id 11 for VN 1371c441-17d1-4c9b-974b-0f706a0ba0ad
2026-01-29 13:18:30,357 - INFO - Verifications in API Server for VN ctest-vn-74889534 passed
2026-01-29 13:18:30,357 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/1371c441-17d1-4c9b-974b-0f706a0ba0ad
2026-01-29 13:18:30,367 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/f9e8861f-c34b-4f82-9a39-4d3e516672a1
2026-01-29 13:18:30,374 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/f9e8861f-c34b-4f82-9a39-4d3e516672a1
2026-01-29 13:18:30,382 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/c44f66b4-3594-413c-9251-477b418db4b1
2026-01-29 13:18:30,395 - DEBUG - Control-node 10.0.0.130 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-93653341:ctest-vn-74889534', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-93653341', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1401116742940445851', 'uuid-lslong': '10901824298470318253'}, 'enable': 'true', 'created': '2026-01-29T13:18:28', 'last-modified': '2026-01-29T13:18:29', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.952834'}
2026-01-29 13:18:30,401 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-29 13:18:30,401 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-74889534 passed
2026-01-29 13:18:30,401 - DEBUG - ====Verifying policy data for ctest-vn-74889534 in API_Server ======
2026-01-29 13:18:30,401 - DEBUG - Requesting: http://10.0.0.130:8082/domains
2026-01-29 13:18:30,407 - DEBUG - Requesting: http://10.0.0.130:8082/domain/11b59336-287a-4cc0-abf2-5866395b3d55
2026-01-29 13:18:30,418 - DEBUG - Requesting: http://10.0.0.130:8082/project/8b46349a-8008-4889-a80f-33dd2c75fae3
2026-01-29 13:18:30,490 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/1371c441-17d1-4c9b-974b-0f706a0ba0ad
2026-01-29 13:18:30,499 - DEBUG - ==>Verifying data for policy with id: 76c4f710-cede-4e61-b351-11776d8c3559, fqn: ['default-domain', 'ctest-TestBasicPolicy-93653341', 'ctest-policy-allow-all-76644950']
2026-01-29 13:18:30,499 - INFO - VN ctest-vn-74889534 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-29 13:18:30,499 - DEBUG - Verifying the vn in opserver
2026-01-29 13:18:30,499 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-93653341:ctest-vn-74889534 virtual network link through opserver 10.0.0.130
2026-01-29 13:18:30,499 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks
2026-01-29 13:18:30,799 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks
2026-01-29 13:18:30,866 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-93653341:ctest-vn-74889534', 'href': 'http://10.0.0.130:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-93653341:ctest-vn-74889534?flat'}
2026-01-29 13:18:30,866 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-93653341:ctest-vn-74889534 is found in opserver
2026-01-29 13:18:30,876 - DEBUG - Do not have enough data to verify VN in agent
2026-01-29 13:18:30,881 - DEBUG - VRF ids for VN ctest-vn-74889534: {}
2026-01-29 13:18:30,881 - DEBUG - Requesting: http://10.0.0.130:8082/domains
2026-01-29 13:18:30,886 - DEBUG - Requesting: http://10.0.0.130:8082/domain/11b59336-287a-4cc0-abf2-5866395b3d55
2026-01-29 13:18:30,897 - DEBUG - Requesting: http://10.0.0.130:8082/project/8b46349a-8008-4889-a80f-33dd2c75fae3
2026-01-29 13:18:30,964 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/aeda6832-774e-44a8-a9e8-4cb80c9eef1d
2026-01-29 13:18:30,976 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/aeda6832-774e-44a8-a9e8-4cb80c9eef1d
2026-01-29 13:18:30,987 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/80794b92-90c7-43c7-8df8-b651f54cfd33
2026-01-29 13:18:30,995 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/80794b92-90c7-43c7-8df8-b651f54cfd33
2026-01-29 13:18:31,004 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/7988bdb6-80f2-4a48-aa12-d80406e8511a
2026-01-29 13:18:31,011 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-29 13:18:31,011 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/aeda6832-774e-44a8-a9e8-4cb80c9eef1d
2026-01-29 13:18:31,020 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/80794b92-90c7-43c7-8df8-b651f54cfd33
2026-01-29 13:18:31,034 - INFO - Verified VN network id 12 for VN aeda6832-774e-44a8-a9e8-4cb80c9eef1d
2026-01-29 13:18:31,034 - INFO - Verifications in API Server for VN ctest-vn-47267647 passed
2026-01-29 13:18:31,034 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/aeda6832-774e-44a8-a9e8-4cb80c9eef1d
2026-01-29 13:18:31,043 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/80794b92-90c7-43c7-8df8-b651f54cfd33
2026-01-29 13:18:31,049 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/80794b92-90c7-43c7-8df8-b651f54cfd33
2026-01-29 13:18:31,056 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/7988bdb6-80f2-4a48-aa12-d80406e8511a
2026-01-29 13:18:31,068 - DEBUG - Control-node 10.0.0.130 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-93653341:ctest-vn-47267647', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-93653341', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12599497473481655464', 'uuid-lslong': '12243119940376129309'}, 'enable': 'true', 'created': '2026-01-29T13:18:28', 'last-modified': '2026-01-29T13:18:29', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.397082'}
2026-01-29 13:18:31,073 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-29 13:18:31,073 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-47267647 passed
2026-01-29 13:18:31,073 - DEBUG - ====Verifying policy data for ctest-vn-47267647 in API_Server ======
2026-01-29 13:18:31,073 - DEBUG - Requesting: http://10.0.0.130:8082/domains
2026-01-29 13:18:31,078 - DEBUG - Requesting: http://10.0.0.130:8082/domain/11b59336-287a-4cc0-abf2-5866395b3d55
2026-01-29 13:18:31,088 - DEBUG - Requesting: http://10.0.0.130:8082/project/8b46349a-8008-4889-a80f-33dd2c75fae3
2026-01-29 13:18:31,157 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/aeda6832-774e-44a8-a9e8-4cb80c9eef1d
2026-01-29 13:18:31,166 - DEBUG - ==>Verifying data for policy with id: 76c4f710-cede-4e61-b351-11776d8c3559, fqn: ['default-domain', 'ctest-TestBasicPolicy-93653341', 'ctest-policy-allow-all-76644950']
2026-01-29 13:18:31,166 - INFO - VN ctest-vn-47267647 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-29 13:18:31,166 - DEBUG - Verifying the vn in opserver
2026-01-29 13:18:31,166 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-93653341:ctest-vn-47267647 virtual network link through opserver 10.0.0.130
2026-01-29 13:18:31,166 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks
2026-01-29 13:18:31,178 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-93653341:ctest-vn-47267647', 'href': 'http://10.0.0.130:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-93653341:ctest-vn-47267647?flat'}
2026-01-29 13:18:31,178 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-93653341:ctest-vn-47267647 is found in opserver
2026-01-29 13:18:31,188 - DEBUG - Do not have enough data to verify VN in agent
2026-01-29 13:18:31,192 - DEBUG - VRF ids for VN ctest-vn-47267647: {}
2026-01-29 13:18:31,252 - DEBUG - Services list from nova: [