2025-09-16 20:07:14,837 - INFO - Domain Default found not creating
2025-09-16 20:07:14,966 - INFO - Project ctest-TestBasicPolicy-52587916 not found, creating it
2025-09-16 20:07:15,382 - INFO - Created Project:ctest-TestBasicPolicy-52587916, ID : 8bd25197-7182-417f-9899-d262c1b05f3f
2025-09-16 20:07:16,744 - INFO - ================================================================================
2025-09-16 20:07:16,744 - INFO - STARTING TEST : test_basic_policy_allow_deny
2025-09-16 20:07:16,744 - 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
2025-09-16 20:07:16,994 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with
2025-09-16 20:07:16,994 - INFO - Initial checks done. Running the testcase now
2025-09-16 20:07:16,994 - INFO -
2025-09-16 20:07:17,516 - DEBUG - Response for create_network : {'network': {'id': '62da4650-5b41-4a91-a165-8ee7eb4915b7', 'name': 'ctest-vn-92649095', 'tenant_id': '8bd251977182417f9899d262c1b05f3f', 'project_id': '8bd251977182417f9899d262c1b05f3f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-52587916', 'ctest-vn-92649095'], 'port_security_enabled': True, 'description': ''}}
2025-09-16 20:07:17,693 - DEBUG - Response for create_subnet : {'subnet': {'id': '4618d8de-b985-44a7-898f-9a0d78232010', 'name': '', 'tenant_id': '8bd251977182417f9899d262c1b05f3f', 'network_id': '62da4650-5b41-4a91-a165-8ee7eb4915b7', 'ip_version': 4, 'cidr': '179.170.203.192/26', 'allocation_pools': [{'start': '179.170.203.194', 'end': '179.170.203.254'}], 'gateway_ip': '179.170.203.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '179.170.203.194', 'tags': [], 'project_id': '8bd251977182417f9899d262c1b05f3f'}}
2025-09-16 20:07:17,707 - INFO - Created VN ctest-vn-92649095
2025-09-16 20:07:17,757 - DEBUG - VN ctest-vn-92649095 UUID is 62da4650-5b41-4a91-a165-8ee7eb4915b7
2025-09-16 20:07:18,073 - DEBUG - Response for create_network : {'network': {'id': 'cbfb9ce8-e951-4714-8b5c-db79e3ea4514', 'name': 'ctest-vn-15628682', 'tenant_id': '8bd251977182417f9899d262c1b05f3f', 'project_id': '8bd251977182417f9899d262c1b05f3f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-52587916', 'ctest-vn-15628682'], 'port_security_enabled': True, 'description': ''}}
2025-09-16 20:07:18,262 - DEBUG - Response for create_subnet : {'subnet': {'id': '48a10a0d-d9cb-4337-9526-2a03e5516327', 'name': '', 'tenant_id': '8bd251977182417f9899d262c1b05f3f', 'network_id': 'cbfb9ce8-e951-4714-8b5c-db79e3ea4514', 'ip_version': 4, 'cidr': '139.200.206.64/26', 'allocation_pools': [{'start': '139.200.206.66', 'end': '139.200.206.126'}], 'gateway_ip': '139.200.206.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '139.200.206.66', 'tags': [], 'project_id': '8bd251977182417f9899d262c1b05f3f'}}
2025-09-16 20:07:18,278 - INFO - Created VN ctest-vn-15628682
2025-09-16 20:07:18,329 - DEBUG - VN ctest-vn-15628682 UUID is cbfb9ce8-e951-4714-8b5c-db79e3ea4514
2025-09-16 20:07:18,477 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-52587916:ctest-vn-92649095, 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-52587916:ctest-vn-15628682, 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]
2025-09-16 20:07:18,758 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '62da4650-5b41-4a91-a165-8ee7eb4915b7', 'name': 'ctest-vn-92649095', 'tenant_id': '8bd251977182417f9899d262c1b05f3f', 'project_id': '8bd251977182417f9899d262c1b05f3f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4618d8de-b985-44a7-898f-9a0d78232010'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-52587916', 'ctest-vn-92649095'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-52587916', 'ctest-policy-allow-all-14473759']], 'subnet_ipam': [{'subnet_cidr': '179.170.203.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-09-16 20:07:18,983 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'cbfb9ce8-e951-4714-8b5c-db79e3ea4514', 'name': 'ctest-vn-15628682', 'tenant_id': '8bd251977182417f9899d262c1b05f3f', 'project_id': '8bd251977182417f9899d262c1b05f3f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['48a10a0d-d9cb-4337-9526-2a03e5516327'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-52587916', 'ctest-vn-15628682'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-52587916', 'ctest-policy-allow-all-14473759']], 'subnet_ipam': [{'subnet_cidr': '139.200.206.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-09-16 20:07:19,125 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2025-09-16 20:07:19,420 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2025-09-16 20:07:19,446 - DEBUG - Requesting: http://10.0.0.33:8082/domain/f5c0d8e9-14de-4a9e-8b84-889659aa246a
2025-09-16 20:07:19,459 - DEBUG - Requesting: http://10.0.0.33:8082/project/8bd25197-7182-417f-9899-d262c1b05f3f
2025-09-16 20:07:19,527 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/62da4650-5b41-4a91-a165-8ee7eb4915b7
2025-09-16 20:07:19,535 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/62da4650-5b41-4a91-a165-8ee7eb4915b7
2025-09-16 20:07:19,544 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/9845fd08-53d3-4bf9-bbbf-d849e2434b41
2025-09-16 20:07:19,550 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/9845fd08-53d3-4bf9-bbbf-d849e2434b41
2025-09-16 20:07:19,557 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/71d5da18-786b-47c2-8982-18986b805dff
2025-09-16 20:07:19,562 - DEBUG - Route Targets: ['target:64512:8000004']
2025-09-16 20:07:19,562 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/62da4650-5b41-4a91-a165-8ee7eb4915b7
2025-09-16 20:07:19,570 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/9845fd08-53d3-4bf9-bbbf-d849e2434b41
2025-09-16 20:07:19,581 - INFO - Verified VN network id 12 for VN 62da4650-5b41-4a91-a165-8ee7eb4915b7
2025-09-16 20:07:19,581 - INFO - Verifications in API Server for VN ctest-vn-92649095 passed
2025-09-16 20:07:19,581 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/62da4650-5b41-4a91-a165-8ee7eb4915b7
2025-09-16 20:07:19,588 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/9845fd08-53d3-4bf9-bbbf-d849e2434b41
2025-09-16 20:07:19,594 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/9845fd08-53d3-4bf9-bbbf-d849e2434b41
2025-09-16 20:07:19,599 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/71d5da18-786b-47c2-8982-18986b805dff
2025-09-16 20:07:19,609 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-52587916:ctest-vn-92649095', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-52587916', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7123083071582194321', 'uuid-lslong': '11629858739490198967'}, 'enable': 'true', 'created': '2025-09-16T20:07:17', 'last-modified': '2025-09-16T20:07:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.869557'}
2025-09-16 20:07:19,615 - DEBUG - Route Targets: ['target:64512:8000004']
2025-09-16 20:07:19,615 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-92649095 passed
2025-09-16 20:07:19,615 - DEBUG - ====Verifying policy data for ctest-vn-92649095 in API_Server ======
2025-09-16 20:07:19,615 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2025-09-16 20:07:19,619 - DEBUG - Requesting: http://10.0.0.33:8082/domain/f5c0d8e9-14de-4a9e-8b84-889659aa246a
2025-09-16 20:07:19,628 - DEBUG - Requesting: http://10.0.0.33:8082/project/8bd25197-7182-417f-9899-d262c1b05f3f
2025-09-16 20:07:19,694 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/62da4650-5b41-4a91-a165-8ee7eb4915b7
2025-09-16 20:07:19,702 - DEBUG - ==>Verifying data for policy with id: 3247059e-a387-4d26-8d66-cf2fbfafbee8, fqn: ['default-domain', 'ctest-TestBasicPolicy-52587916', 'ctest-policy-allow-all-14473759']
2025-09-16 20:07:19,702 - INFO - VN ctest-vn-92649095 Policy verification: verify_vn_policy_in_api_server, status: True
2025-09-16 20:07:19,702 - DEBUG - Verifying the vn in opserver
2025-09-16 20:07:19,702 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-52587916:ctest-vn-92649095 virtual network link through opserver 10.0.0.33
2025-09-16 20:07:19,702 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2025-09-16 20:07:19,992 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2025-09-16 20:07:20,042 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-52587916:ctest-vn-92649095', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-52587916:ctest-vn-92649095?flat'}
2025-09-16 20:07:20,042 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-52587916:ctest-vn-92649095 is found in opserver
2025-09-16 20:07:20,051 - DEBUG - Do not have enough data to verify VN in agent
2025-09-16 20:07:20,055 - DEBUG - VRF ids for VN ctest-vn-92649095: {}
2025-09-16 20:07:20,055 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2025-09-16 20:07:20,059 - DEBUG - Requesting: http://10.0.0.33:8082/domain/f5c0d8e9-14de-4a9e-8b84-889659aa246a
2025-09-16 20:07:20,068 - DEBUG - Requesting: http://10.0.0.33:8082/project/8bd25197-7182-417f-9899-d262c1b05f3f
2025-09-16 20:07:20,133 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/cbfb9ce8-e951-4714-8b5c-db79e3ea4514
2025-09-16 20:07:20,143 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/cbfb9ce8-e951-4714-8b5c-db79e3ea4514
2025-09-16 20:07:20,150 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/a1b57d7c-d6d6-4cb7-bb8c-e2990b2893e5
2025-09-16 20:07:20,156 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/a1b57d7c-d6d6-4cb7-bb8c-e2990b2893e5
2025-09-16 20:07:20,161 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/4616ecf0-e093-4ed4-bf95-86668e9214f9
2025-09-16 20:07:20,166 - DEBUG - Route Targets: ['target:64512:8000005']
2025-09-16 20:07:20,166 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/cbfb9ce8-e951-4714-8b5c-db79e3ea4514
2025-09-16 20:07:20,173 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/a1b57d7c-d6d6-4cb7-bb8c-e2990b2893e5
2025-09-16 20:07:20,185 - INFO - Verified VN network id 13 for VN cbfb9ce8-e951-4714-8b5c-db79e3ea4514
2025-09-16 20:07:20,185 - INFO - Verifications in API Server for VN ctest-vn-15628682 passed
2025-09-16 20:07:20,185 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/cbfb9ce8-e951-4714-8b5c-db79e3ea4514
2025-09-16 20:07:20,192 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/a1b57d7c-d6d6-4cb7-bb8c-e2990b2893e5
2025-09-16 20:07:20,197 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/a1b57d7c-d6d6-4cb7-bb8c-e2990b2893e5
2025-09-16 20:07:20,202 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/4616ecf0-e093-4ed4-bf95-86668e9214f9
2025-09-16 20:07:20,211 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-52587916:ctest-vn-15628682', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-52587916', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14698514333014509332', 'uuid-lslong': '10042142585690670356'}, 'enable': 'true', 'created': '2025-09-16T20:07:18', 'last-modified': '2025-09-16T20:07:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.291659'}
2025-09-16 20:07:20,216 - DEBUG - Route Targets: ['target:64512:8000005']
2025-09-16 20:07:20,216 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-15628682 passed
2025-09-16 20:07:20,216 - DEBUG - ====Verifying policy data for ctest-vn-15628682 in API_Server ======
2025-09-16 20:07:20,216 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2025-09-16 20:07:20,220 - DEBUG - Requesting: http://10.0.0.33:8082/domain/f5c0d8e9-14de-4a9e-8b84-889659aa246a
2025-09-16 20:07:20,229 - DEBUG - Requesting: http://10.0.0.33:8082/project/8bd25197-7182-417f-9899-d262c1b05f3f
2025-09-16 20:07:20,296 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/cbfb9ce8-e951-4714-8b5c-db79e3ea4514
2025-09-16 20:07:20,304 - DEBUG - ==>Verifying data for policy with id: 3247059e-a387-4d26-8d66-cf2fbfafbee8, fqn: ['default-domain', 'ctest-TestBasicPolicy-52587916', 'ctest-policy-allow-all-14473759']
2025-09-16 20:07:20,304 - INFO - VN ctest-vn-15628682 Policy verification: verify_vn_policy_in_api_server, status: True
2025-09-16 20:07:20,304 - DEBUG - Verifying the vn in opserver
2025-09-16 20:07:20,304 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-52587916:ctest-vn-15628682 virtual network link through opserver 10.0.0.33
2025-09-16 20:07:20,304 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2025-09-16 20:07:20,312 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-52587916:ctest-vn-15628682', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-52587916:ctest-vn-15628682?flat'}
2025-09-16 20:07:20,312 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-52587916:ctest-vn-15628682 is found in opserver
2025-09-16 20:07:20,319 - DEBUG - Do not have enough data to verify VN in agent
2025-09-16 20:07:20,323 - DEBUG - VRF ids for VN ctest-vn-15628682: {}
2025-09-16 20:07:20,378 - DEBUG - Services list from nova: [