2026-02-09 02:06:06,381 - INFO - Domain Default found not creating
2026-02-09 02:06:06,548 - INFO - Project ctest-TestBasicPolicy-54227145 not found, creating it
2026-02-09 02:06:06,992 - INFO - Created Project:ctest-TestBasicPolicy-54227145, ID : 07f488d5-dc4b-4c2a-8816-64301db5b362
2026-02-09 02:06:08,454 - INFO - ================================================================================
2026-02-09 02:06:08,455 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-09 02:06:08,455 - 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-09 02:06:08,712 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.193': '0'}} with
2026-02-09 02:06:08,712 - INFO - Initial checks done. Running the testcase now
2026-02-09 02:06:08,712 - INFO -
2026-02-09 02:06:09,269 - DEBUG - Response for create_network : {'network': {'id': '66f5d800-27b8-4ade-bd17-30140534a70e', 'name': 'ctest-vn-69375105', 'tenant_id': '07f488d5dc4b4c2a881664301db5b362', 'project_id': '07f488d5dc4b4c2a881664301db5b362', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54227145', 'ctest-vn-69375105'], 'port_security_enabled': True, 'description': ''}}
2026-02-09 02:06:09,469 - DEBUG - Response for create_subnet : {'subnet': {'id': '8be86cbf-dd45-4c83-a8b8-b815f1aa97b0', 'name': '', 'tenant_id': '07f488d5dc4b4c2a881664301db5b362', 'network_id': '66f5d800-27b8-4ade-bd17-30140534a70e', 'ip_version': 4, 'cidr': '74.183.58.0/26', 'allocation_pools': [{'start': '74.183.58.2', 'end': '74.183.58.62'}], 'gateway_ip': '74.183.58.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '74.183.58.2', 'tags': [], 'project_id': '07f488d5dc4b4c2a881664301db5b362'}}
2026-02-09 02:06:09,486 - INFO - Created VN ctest-vn-69375105
2026-02-09 02:06:09,539 - DEBUG - VN ctest-vn-69375105 UUID is 66f5d800-27b8-4ade-bd17-30140534a70e
2026-02-09 02:06:09,887 - DEBUG - Response for create_network : {'network': {'id': '9d0b8e88-5869-4615-be99-6cc00b3825b1', 'name': 'ctest-vn-31053363', 'tenant_id': '07f488d5dc4b4c2a881664301db5b362', 'project_id': '07f488d5dc4b4c2a881664301db5b362', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54227145', 'ctest-vn-31053363'], 'port_security_enabled': True, 'description': ''}}
2026-02-09 02:06:10,117 - DEBUG - Response for create_subnet : {'subnet': {'id': '54d4aa74-754f-4d49-8a78-4d566ae3c5e1', 'name': '', 'tenant_id': '07f488d5dc4b4c2a881664301db5b362', 'network_id': '9d0b8e88-5869-4615-be99-6cc00b3825b1', 'ip_version': 4, 'cidr': '33.104.33.0/26', 'allocation_pools': [{'start': '33.104.33.2', 'end': '33.104.33.62'}], 'gateway_ip': '33.104.33.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '33.104.33.2', 'tags': [], 'project_id': '07f488d5dc4b4c2a881664301db5b362'}}
2026-02-09 02:06:10,135 - INFO - Created VN ctest-vn-31053363
2026-02-09 02:06:10,186 - DEBUG - VN ctest-vn-31053363 UUID is 9d0b8e88-5869-4615-be99-6cc00b3825b1
2026-02-09 02:06:10,338 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-54227145:ctest-vn-69375105, 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-54227145:ctest-vn-31053363, 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-09 02:06:10,624 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '66f5d800-27b8-4ade-bd17-30140534a70e', 'name': 'ctest-vn-69375105', 'tenant_id': '07f488d5dc4b4c2a881664301db5b362', 'project_id': '07f488d5dc4b4c2a881664301db5b362', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8be86cbf-dd45-4c83-a8b8-b815f1aa97b0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54227145', 'ctest-vn-69375105'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-54227145', 'ctest-policy-allow-all-69142405']], 'subnet_ipam': [{'subnet_cidr': '74.183.58.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-09 02:06:10,848 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9d0b8e88-5869-4615-be99-6cc00b3825b1', 'name': 'ctest-vn-31053363', 'tenant_id': '07f488d5dc4b4c2a881664301db5b362', 'project_id': '07f488d5dc4b4c2a881664301db5b362', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['54d4aa74-754f-4d49-8a78-4d566ae3c5e1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54227145', 'ctest-vn-31053363'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-54227145', 'ctest-policy-allow-all-69142405']], 'subnet_ipam': [{'subnet_cidr': '33.104.33.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-09 02:06:11,011 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-02-09 02:06:11,306 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-02-09 02:06:11,339 - DEBUG - Requesting: http://10.0.0.22:8082/domain/af71baa0-b59d-4e76-bfaf-b7fe7d879437
2026-02-09 02:06:11,349 - DEBUG - Requesting: http://10.0.0.22:8082/project/07f488d5-dc4b-4c2a-8816-64301db5b362
2026-02-09 02:06:11,417 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/66f5d800-27b8-4ade-bd17-30140534a70e
2026-02-09 02:06:11,425 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/66f5d800-27b8-4ade-bd17-30140534a70e
2026-02-09 02:06:11,433 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/f20c2320-a343-4b27-ac50-85c76b435378
2026-02-09 02:06:11,439 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/f20c2320-a343-4b27-ac50-85c76b435378
2026-02-09 02:06:11,444 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/7350a483-ef67-4fc1-8b2b-5fa79f3080b2
2026-02-09 02:06:11,449 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-09 02:06:11,449 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/66f5d800-27b8-4ade-bd17-30140534a70e
2026-02-09 02:06:11,456 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/f20c2320-a343-4b27-ac50-85c76b435378
2026-02-09 02:06:11,468 - INFO - Verified VN network id 12 for VN 66f5d800-27b8-4ade-bd17-30140534a70e
2026-02-09 02:06:11,468 - INFO - Verifications in API Server for VN ctest-vn-69375105 passed
2026-02-09 02:06:11,468 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/66f5d800-27b8-4ade-bd17-30140534a70e
2026-02-09 02:06:11,476 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/f20c2320-a343-4b27-ac50-85c76b435378
2026-02-09 02:06:11,481 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/f20c2320-a343-4b27-ac50-85c76b435378
2026-02-09 02:06:11,487 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/7350a483-ef67-4fc1-8b2b-5fa79f3080b2
2026-02-09 02:06:11,496 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-54227145:ctest-vn-69375105', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-54227145', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7419073456340749022', 'uuid-lslong': '13625412060177540878'}, 'enable': 'true', 'created': '2026-02-09T02:06:09', 'last-modified': '2026-02-09T02:06:10', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.892436'}
2026-02-09 02:06:11,501 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-09 02:06:11,501 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-69375105 passed
2026-02-09 02:06:11,501 - DEBUG - ====Verifying policy data for ctest-vn-69375105 in API_Server ======
2026-02-09 02:06:11,501 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-02-09 02:06:11,506 - DEBUG - Requesting: http://10.0.0.22:8082/domain/af71baa0-b59d-4e76-bfaf-b7fe7d879437
2026-02-09 02:06:11,519 - DEBUG - Requesting: http://10.0.0.22:8082/project/07f488d5-dc4b-4c2a-8816-64301db5b362
2026-02-09 02:06:11,612 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/66f5d800-27b8-4ade-bd17-30140534a70e
2026-02-09 02:06:11,620 - DEBUG - ==>Verifying data for policy with id: d7e0cde1-b162-49c9-aa97-47b6f48f5507, fqn: ['default-domain', 'ctest-TestBasicPolicy-54227145', 'ctest-policy-allow-all-69142405']
2026-02-09 02:06:11,620 - INFO - VN ctest-vn-69375105 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-09 02:06:11,620 - DEBUG - Verifying the vn in opserver
2026-02-09 02:06:11,620 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-54227145:ctest-vn-69375105 virtual network link through opserver 10.0.0.22
2026-02-09 02:06:11,620 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks
2026-02-09 02:06:11,915 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks
2026-02-09 02:06:11,993 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-54227145:ctest-vn-69375105', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-54227145:ctest-vn-69375105?flat'}
2026-02-09 02:06:11,993 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-54227145:ctest-vn-69375105 is found in opserver
2026-02-09 02:06:12,004 - DEBUG - Do not have enough data to verify VN in agent
2026-02-09 02:06:12,010 - DEBUG - VRF ids for VN ctest-vn-69375105: {}
2026-02-09 02:06:12,010 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-02-09 02:06:12,016 - DEBUG - Requesting: http://10.0.0.22:8082/domain/af71baa0-b59d-4e76-bfaf-b7fe7d879437
2026-02-09 02:06:12,029 - DEBUG - Requesting: http://10.0.0.22:8082/project/07f488d5-dc4b-4c2a-8816-64301db5b362
2026-02-09 02:06:12,095 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/9d0b8e88-5869-4615-be99-6cc00b3825b1
2026-02-09 02:06:12,106 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/9d0b8e88-5869-4615-be99-6cc00b3825b1
2026-02-09 02:06:12,114 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/aad74407-0da1-4d66-bfdf-b538f357dc3c
2026-02-09 02:06:12,121 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/aad74407-0da1-4d66-bfdf-b538f357dc3c
2026-02-09 02:06:12,127 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/2feef5b8-d3a8-4318-8886-47b05a091e2a
2026-02-09 02:06:12,134 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-09 02:06:12,134 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/9d0b8e88-5869-4615-be99-6cc00b3825b1
2026-02-09 02:06:12,143 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/aad74407-0da1-4d66-bfdf-b538f357dc3c
2026-02-09 02:06:12,156 - INFO - Verified VN network id 13 for VN 9d0b8e88-5869-4615-be99-6cc00b3825b1
2026-02-09 02:06:12,156 - INFO - Verifications in API Server for VN ctest-vn-31053363 passed
2026-02-09 02:06:12,156 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/9d0b8e88-5869-4615-be99-6cc00b3825b1
2026-02-09 02:06:12,164 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/aad74407-0da1-4d66-bfdf-b538f357dc3c
2026-02-09 02:06:12,169 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/aad74407-0da1-4d66-bfdf-b538f357dc3c
2026-02-09 02:06:12,176 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/2feef5b8-d3a8-4318-8886-47b05a091e2a
2026-02-09 02:06:12,187 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-54227145:ctest-vn-31053363', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-54227145', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11316295204948493845', 'uuid-lslong': '13734128110720787889'}, 'enable': 'true', 'created': '2026-02-09T02:06:09', 'last-modified': '2026-02-09T02:06:10', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.361008'}
2026-02-09 02:06:12,192 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-09 02:06:12,192 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-31053363 passed
2026-02-09 02:06:12,193 - DEBUG - ====Verifying policy data for ctest-vn-31053363 in API_Server ======
2026-02-09 02:06:12,193 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-02-09 02:06:12,198 - DEBUG - Requesting: http://10.0.0.22:8082/domain/af71baa0-b59d-4e76-bfaf-b7fe7d879437
2026-02-09 02:06:12,209 - DEBUG - Requesting: http://10.0.0.22:8082/project/07f488d5-dc4b-4c2a-8816-64301db5b362
2026-02-09 02:06:12,274 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/9d0b8e88-5869-4615-be99-6cc00b3825b1
2026-02-09 02:06:12,283 - DEBUG - ==>Verifying data for policy with id: d7e0cde1-b162-49c9-aa97-47b6f48f5507, fqn: ['default-domain', 'ctest-TestBasicPolicy-54227145', 'ctest-policy-allow-all-69142405']
2026-02-09 02:06:12,283 - INFO - VN ctest-vn-31053363 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-09 02:06:12,283 - DEBUG - Verifying the vn in opserver
2026-02-09 02:06:12,283 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-54227145:ctest-vn-31053363 virtual network link through opserver 10.0.0.22
2026-02-09 02:06:12,283 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks
2026-02-09 02:06:12,292 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-54227145:ctest-vn-31053363', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-54227145:ctest-vn-31053363?flat'}
2026-02-09 02:06:12,292 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-54227145:ctest-vn-31053363 is found in opserver
2026-02-09 02:06:12,302 - DEBUG - Do not have enough data to verify VN in agent
2026-02-09 02:06:12,306 - DEBUG - VRF ids for VN ctest-vn-31053363: {}
2026-02-09 02:06:12,360 - DEBUG - Services list from nova: [