2026-05-27 23:17:11,445 - INFO - Domain Default found not creating
2026-05-27 23:17:11,614 - INFO - Project ctest-TestBasicPolicy-06703371 not found, creating it
2026-05-27 23:17:12,083 - INFO - Created Project:ctest-TestBasicPolicy-06703371, ID : b72640bc-2a3e-4b48-8ac0-38285fa137fc
2026-05-27 23:17:13,737 - INFO - ================================================================================
2026-05-27 23:17:13,737 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-05-27 23:17:13,737 - 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-05-27 23:17:13,991 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.17': '0'}} with
2026-05-27 23:17:13,991 - INFO - Initial checks done. Running the testcase now
2026-05-27 23:17:13,991 - INFO -
2026-05-27 23:17:14,588 - DEBUG - Response for create_network : {'network': {'id': '0559214c-7817-4784-926f-4d7c16652f00', 'name': 'ctest-vn-62812327', 'tenant_id': 'b72640bc2a3e4b488ac038285fa137fc', 'project_id': 'b72640bc2a3e4b488ac038285fa137fc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06703371', 'ctest-vn-62812327'], 'port_security_enabled': True, 'description': ''}}
2026-05-27 23:17:14,770 - DEBUG - Response for create_subnet : {'subnet': {'id': '356894d1-7771-448c-a004-c0a6c8219a6e', 'name': '', 'tenant_id': 'b72640bc2a3e4b488ac038285fa137fc', 'network_id': '0559214c-7817-4784-926f-4d7c16652f00', 'ip_version': 4, 'cidr': '137.240.2.64/26', 'allocation_pools': [{'start': '137.240.2.66', 'end': '137.240.2.126'}], 'gateway_ip': '137.240.2.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '137.240.2.66', 'tags': [], 'project_id': 'b72640bc2a3e4b488ac038285fa137fc'}}
2026-05-27 23:17:14,789 - INFO - Created VN ctest-vn-62812327
2026-05-27 23:17:14,840 - DEBUG - VN ctest-vn-62812327 UUID is 0559214c-7817-4784-926f-4d7c16652f00
2026-05-27 23:17:15,138 - DEBUG - Response for create_network : {'network': {'id': '7f534ffa-d9a3-4ad2-a4d1-0b2d8d0f84bf', 'name': 'ctest-vn-75700814', 'tenant_id': 'b72640bc2a3e4b488ac038285fa137fc', 'project_id': 'b72640bc2a3e4b488ac038285fa137fc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06703371', 'ctest-vn-75700814'], 'port_security_enabled': True, 'description': ''}}
2026-05-27 23:17:15,333 - DEBUG - Response for create_subnet : {'subnet': {'id': '7e38019b-0318-4b4f-8691-122f1bf50a83', 'name': '', 'tenant_id': 'b72640bc2a3e4b488ac038285fa137fc', 'network_id': '7f534ffa-d9a3-4ad2-a4d1-0b2d8d0f84bf', 'ip_version': 4, 'cidr': '76.233.26.128/26', 'allocation_pools': [{'start': '76.233.26.130', 'end': '76.233.26.190'}], 'gateway_ip': '76.233.26.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '76.233.26.130', 'tags': [], 'project_id': 'b72640bc2a3e4b488ac038285fa137fc'}}
2026-05-27 23:17:15,352 - INFO - Created VN ctest-vn-75700814
2026-05-27 23:17:15,404 - DEBUG - VN ctest-vn-75700814 UUID is 7f534ffa-d9a3-4ad2-a4d1-0b2d8d0f84bf
2026-05-27 23:17:15,526 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-06703371:ctest-vn-62812327, 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-06703371:ctest-vn-75700814, 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-05-27 23:17:15,811 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0559214c-7817-4784-926f-4d7c16652f00', 'name': 'ctest-vn-62812327', 'tenant_id': 'b72640bc2a3e4b488ac038285fa137fc', 'project_id': 'b72640bc2a3e4b488ac038285fa137fc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['356894d1-7771-448c-a004-c0a6c8219a6e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06703371', 'ctest-vn-62812327'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-06703371', 'ctest-policy-allow-all-07585162']], 'subnet_ipam': [{'subnet_cidr': '137.240.2.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-05-27 23:17:16,038 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7f534ffa-d9a3-4ad2-a4d1-0b2d8d0f84bf', 'name': 'ctest-vn-75700814', 'tenant_id': 'b72640bc2a3e4b488ac038285fa137fc', 'project_id': 'b72640bc2a3e4b488ac038285fa137fc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7e38019b-0318-4b4f-8691-122f1bf50a83'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06703371', 'ctest-vn-75700814'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-06703371', 'ctest-policy-allow-all-07585162']], 'subnet_ipam': [{'subnet_cidr': '76.233.26.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-05-27 23:17:16,200 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2026-05-27 23:17:16,536 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2026-05-27 23:17:16,570 - DEBUG - Requesting: http://10.0.0.141:8082/domain/5af056cc-88a5-4d79-95ab-d646223dbdce
2026-05-27 23:17:16,583 - DEBUG - Requesting: http://10.0.0.141:8082/project/b72640bc-2a3e-4b48-8ac0-38285fa137fc
2026-05-27 23:17:16,659 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/0559214c-7817-4784-926f-4d7c16652f00
2026-05-27 23:17:16,671 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/0559214c-7817-4784-926f-4d7c16652f00
2026-05-27 23:17:16,680 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/78700cb8-e04d-4cb1-be5b-19b31892ef03
2026-05-27 23:17:16,689 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/78700cb8-e04d-4cb1-be5b-19b31892ef03
2026-05-27 23:17:16,697 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/f3bea95d-ce43-451a-956c-31ae32130a58
2026-05-27 23:17:16,703 - DEBUG - Route Targets: ['target:64512:8000004']
2026-05-27 23:17:16,703 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/0559214c-7817-4784-926f-4d7c16652f00
2026-05-27 23:17:16,713 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/78700cb8-e04d-4cb1-be5b-19b31892ef03
2026-05-27 23:17:16,729 - INFO - Verified VN network id 11 for VN 0559214c-7817-4784-926f-4d7c16652f00
2026-05-27 23:17:16,729 - INFO - Verifications in API Server for VN ctest-vn-62812327 passed
2026-05-27 23:17:16,729 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/0559214c-7817-4784-926f-4d7c16652f00
2026-05-27 23:17:16,739 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/78700cb8-e04d-4cb1-be5b-19b31892ef03
2026-05-27 23:17:16,746 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/78700cb8-e04d-4cb1-be5b-19b31892ef03
2026-05-27 23:17:16,754 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/f3bea95d-ce43-451a-956c-31ae32130a58
2026-05-27 23:17:16,768 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-06703371:ctest-vn-62812327', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-06703371', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '385375855432910724', 'uuid-lslong': '10551737647299374848'}, 'enable': 'true', 'created': '2026-05-27T23:17:14', 'last-modified': '2026-05-27T23:17:15', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.980141'}
2026-05-27 23:17:16,774 - DEBUG - Route Targets: ['target:64512:8000004']
2026-05-27 23:17:16,774 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-62812327 passed
2026-05-27 23:17:16,774 - DEBUG - ====Verifying policy data for ctest-vn-62812327 in API_Server ======
2026-05-27 23:17:16,774 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2026-05-27 23:17:16,779 - DEBUG - Requesting: http://10.0.0.141:8082/domain/5af056cc-88a5-4d79-95ab-d646223dbdce
2026-05-27 23:17:16,789 - DEBUG - Requesting: http://10.0.0.141:8082/project/b72640bc-2a3e-4b48-8ac0-38285fa137fc
2026-05-27 23:17:16,860 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/0559214c-7817-4784-926f-4d7c16652f00
2026-05-27 23:17:16,870 - DEBUG - ==>Verifying data for policy with id: 43526037-2b4c-436e-91a9-09fde7e19906, fqn: ['default-domain', 'ctest-TestBasicPolicy-06703371', 'ctest-policy-allow-all-07585162']
2026-05-27 23:17:16,870 - INFO - VN ctest-vn-62812327 Policy verification: verify_vn_policy_in_api_server, status: True
2026-05-27 23:17:16,870 - DEBUG - Verifying the vn in opserver
2026-05-27 23:17:16,870 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-06703371:ctest-vn-62812327 virtual network link through opserver 10.0.0.141
2026-05-27 23:17:16,870 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks
2026-05-27 23:17:17,208 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks
2026-05-27 23:17:17,283 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-06703371:ctest-vn-62812327', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-06703371:ctest-vn-62812327?flat'}
2026-05-27 23:17:17,284 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-06703371:ctest-vn-62812327 is found in opserver
2026-05-27 23:17:17,295 - DEBUG - Do not have enough data to verify VN in agent
2026-05-27 23:17:17,300 - DEBUG - VRF ids for VN ctest-vn-62812327: {}
2026-05-27 23:17:17,300 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2026-05-27 23:17:17,306 - DEBUG - Requesting: http://10.0.0.141:8082/domain/5af056cc-88a5-4d79-95ab-d646223dbdce
2026-05-27 23:17:17,319 - DEBUG - Requesting: http://10.0.0.141:8082/project/b72640bc-2a3e-4b48-8ac0-38285fa137fc
2026-05-27 23:17:17,392 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/7f534ffa-d9a3-4ad2-a4d1-0b2d8d0f84bf
2026-05-27 23:17:17,406 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/7f534ffa-d9a3-4ad2-a4d1-0b2d8d0f84bf
2026-05-27 23:17:17,416 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/4ac21f0a-84fe-47e9-8270-6cdb9c09e1c7
2026-05-27 23:17:17,423 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/4ac21f0a-84fe-47e9-8270-6cdb9c09e1c7
2026-05-27 23:17:17,430 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/df1199b0-ca18-4028-9a96-2c700692a96e
2026-05-27 23:17:17,437 - DEBUG - Route Targets: ['target:64512:8000005']
2026-05-27 23:17:17,437 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/7f534ffa-d9a3-4ad2-a4d1-0b2d8d0f84bf
2026-05-27 23:17:17,446 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/4ac21f0a-84fe-47e9-8270-6cdb9c09e1c7
2026-05-27 23:17:17,463 - INFO - Verified VN network id 12 for VN 7f534ffa-d9a3-4ad2-a4d1-0b2d8d0f84bf
2026-05-27 23:17:17,463 - INFO - Verifications in API Server for VN ctest-vn-75700814 passed
2026-05-27 23:17:17,464 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/7f534ffa-d9a3-4ad2-a4d1-0b2d8d0f84bf
2026-05-27 23:17:17,473 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/4ac21f0a-84fe-47e9-8270-6cdb9c09e1c7
2026-05-27 23:17:17,480 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/4ac21f0a-84fe-47e9-8270-6cdb9c09e1c7
2026-05-27 23:17:17,486 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/df1199b0-ca18-4028-9a96-2c700692a96e
2026-05-27 23:17:17,497 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-06703371:ctest-vn-75700814', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-06703371', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9174764804695608018', 'uuid-lslong': '11876285982620746943'}, 'enable': 'true', 'created': '2026-05-27T23:17:15', 'last-modified': '2026-05-27T23:17:16', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.481933'}
2026-05-27 23:17:17,503 - DEBUG - Route Targets: ['target:64512:8000005']
2026-05-27 23:17:17,503 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-75700814 passed
2026-05-27 23:17:17,503 - DEBUG - ====Verifying policy data for ctest-vn-75700814 in API_Server ======
2026-05-27 23:17:17,503 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2026-05-27 23:17:17,508 - DEBUG - Requesting: http://10.0.0.141:8082/domain/5af056cc-88a5-4d79-95ab-d646223dbdce
2026-05-27 23:17:17,520 - DEBUG - Requesting: http://10.0.0.141:8082/project/b72640bc-2a3e-4b48-8ac0-38285fa137fc
2026-05-27 23:17:17,591 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/7f534ffa-d9a3-4ad2-a4d1-0b2d8d0f84bf
2026-05-27 23:17:17,600 - DEBUG - ==>Verifying data for policy with id: 43526037-2b4c-436e-91a9-09fde7e19906, fqn: ['default-domain', 'ctest-TestBasicPolicy-06703371', 'ctest-policy-allow-all-07585162']
2026-05-27 23:17:17,600 - INFO - VN ctest-vn-75700814 Policy verification: verify_vn_policy_in_api_server, status: True
2026-05-27 23:17:17,600 - DEBUG - Verifying the vn in opserver
2026-05-27 23:17:17,600 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-06703371:ctest-vn-75700814 virtual network link through opserver 10.0.0.141
2026-05-27 23:17:17,601 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks
2026-05-27 23:17:17,610 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-06703371:ctest-vn-75700814', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-06703371:ctest-vn-75700814?flat'}
2026-05-27 23:17:17,610 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-06703371:ctest-vn-75700814 is found in opserver
2026-05-27 23:17:17,620 - DEBUG - Do not have enough data to verify VN in agent
2026-05-27 23:17:17,625 - DEBUG - VRF ids for VN ctest-vn-75700814: {}
2026-05-27 23:17:17,685 - DEBUG - Services list from nova: [