2026-01-05 02:11:22,526 - INFO - Domain Default found not creating
2026-01-05 02:11:22,691 - INFO - Project ctest-TestBasicPolicy-57464601 not found, creating it
2026-01-05 02:11:23,127 - INFO - Created Project:ctest-TestBasicPolicy-57464601, ID : 47d94df1-4d04-4e9b-8ae6-3e9bb96d726e
2026-01-05 02:11:24,616 - INFO - ================================================================================
2026-01-05 02:11:24,616 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-01-05 02:11:24,616 - 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-05 02:11:24,871 - DEBUG - Nothing to compare xmpp stats {'10.0.0.240': {'10.20.0.201': '0'}} with
2026-01-05 02:11:24,871 - INFO - Initial checks done. Running the testcase now
2026-01-05 02:11:24,871 - INFO -
2026-01-05 02:11:25,444 - DEBUG - Response for create_network : {'network': {'id': 'f11f5a6e-a27f-4ad4-982c-bc329d8c8f88', 'name': 'ctest-vn-66674045', 'tenant_id': '47d94df14d044e9b8ae63e9bb96d726e', 'project_id': '47d94df14d044e9b8ae63e9bb96d726e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-57464601', 'ctest-vn-66674045'], 'port_security_enabled': True, 'description': ''}}
2026-01-05 02:11:25,586 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b16b29cf-0929-4a8c-9400-4bd0f84a9e14', 'name': '', 'tenant_id': '47d94df14d044e9b8ae63e9bb96d726e', 'network_id': 'f11f5a6e-a27f-4ad4-982c-bc329d8c8f88', 'ip_version': 4, 'cidr': '219.233.249.192/26', 'allocation_pools': [{'start': '219.233.249.194', 'end': '219.233.249.254'}], 'gateway_ip': '219.233.249.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '219.233.249.194', 'tags': [], 'project_id': '47d94df14d044e9b8ae63e9bb96d726e'}}
2026-01-05 02:11:25,603 - INFO - Created VN ctest-vn-66674045
2026-01-05 02:11:25,653 - DEBUG - VN ctest-vn-66674045 UUID is f11f5a6e-a27f-4ad4-982c-bc329d8c8f88
2026-01-05 02:11:25,928 - DEBUG - Response for create_network : {'network': {'id': '8c7d207c-3c89-4e50-a470-cd9363cb65c0', 'name': 'ctest-vn-33320578', 'tenant_id': '47d94df14d044e9b8ae63e9bb96d726e', 'project_id': '47d94df14d044e9b8ae63e9bb96d726e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-57464601', 'ctest-vn-33320578'], 'port_security_enabled': True, 'description': ''}}
2026-01-05 02:11:26,122 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e8d6f341-4e46-4b00-b63c-a1d903c0269a', 'name': '', 'tenant_id': '47d94df14d044e9b8ae63e9bb96d726e', 'network_id': '8c7d207c-3c89-4e50-a470-cd9363cb65c0', 'ip_version': 4, 'cidr': '147.144.221.192/26', 'allocation_pools': [{'start': '147.144.221.194', 'end': '147.144.221.254'}], 'gateway_ip': '147.144.221.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '147.144.221.194', 'tags': [], 'project_id': '47d94df14d044e9b8ae63e9bb96d726e'}}
2026-01-05 02:11:26,138 - INFO - Created VN ctest-vn-33320578
2026-01-05 02:11:26,189 - DEBUG - VN ctest-vn-33320578 UUID is 8c7d207c-3c89-4e50-a470-cd9363cb65c0
2026-01-05 02:11:26,341 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-57464601:ctest-vn-66674045, 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-57464601:ctest-vn-33320578, 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-05 02:11:26,633 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f11f5a6e-a27f-4ad4-982c-bc329d8c8f88', 'name': 'ctest-vn-66674045', 'tenant_id': '47d94df14d044e9b8ae63e9bb96d726e', 'project_id': '47d94df14d044e9b8ae63e9bb96d726e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b16b29cf-0929-4a8c-9400-4bd0f84a9e14'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-57464601', 'ctest-vn-66674045'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-57464601', 'ctest-policy-allow-all-61720582']], 'subnet_ipam': [{'subnet_cidr': '219.233.249.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-05 02:11:26,859 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8c7d207c-3c89-4e50-a470-cd9363cb65c0', 'name': 'ctest-vn-33320578', 'tenant_id': '47d94df14d044e9b8ae63e9bb96d726e', 'project_id': '47d94df14d044e9b8ae63e9bb96d726e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e8d6f341-4e46-4b00-b63c-a1d903c0269a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-57464601', 'ctest-vn-33320578'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-57464601', 'ctest-policy-allow-all-61720582']], 'subnet_ipam': [{'subnet_cidr': '147.144.221.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-05 02:11:27,025 - DEBUG - Requesting: http://10.0.0.240:8082/domains
2026-01-05 02:11:27,320 - DEBUG - Requesting: http://10.0.0.240:8082/domains
2026-01-05 02:11:27,350 - DEBUG - Requesting: http://10.0.0.240:8082/domain/bd400fdf-09b6-461f-97d8-6f4290c12dcb
2026-01-05 02:11:27,360 - DEBUG - Requesting: http://10.0.0.240:8082/project/47d94df1-4d04-4e9b-8ae6-3e9bb96d726e
2026-01-05 02:11:27,431 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/f11f5a6e-a27f-4ad4-982c-bc329d8c8f88
2026-01-05 02:11:27,441 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/f11f5a6e-a27f-4ad4-982c-bc329d8c8f88
2026-01-05 02:11:27,450 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/da71eb89-33d6-47bc-8ecc-2fdc1fed6296
2026-01-05 02:11:27,457 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/da71eb89-33d6-47bc-8ecc-2fdc1fed6296
2026-01-05 02:11:27,462 - DEBUG - Requesting: http://10.0.0.240:8082/route-target/5c4b95b1-06a9-4500-b175-6fcb79f86bd1
2026-01-05 02:11:27,468 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-05 02:11:27,468 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/f11f5a6e-a27f-4ad4-982c-bc329d8c8f88
2026-01-05 02:11:27,476 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/da71eb89-33d6-47bc-8ecc-2fdc1fed6296
2026-01-05 02:11:27,489 - INFO - Verified VN network id 11 for VN f11f5a6e-a27f-4ad4-982c-bc329d8c8f88
2026-01-05 02:11:27,489 - INFO - Verifications in API Server for VN ctest-vn-66674045 passed
2026-01-05 02:11:27,489 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/f11f5a6e-a27f-4ad4-982c-bc329d8c8f88
2026-01-05 02:11:27,497 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/da71eb89-33d6-47bc-8ecc-2fdc1fed6296
2026-01-05 02:11:27,502 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/da71eb89-33d6-47bc-8ecc-2fdc1fed6296
2026-01-05 02:11:27,507 - DEBUG - Requesting: http://10.0.0.240:8082/route-target/5c4b95b1-06a9-4500-b175-6fcb79f86bd1
2026-01-05 02:11:27,517 - DEBUG - Control-node 10.0.0.240 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-57464601:ctest-vn-66674045', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-57464601', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17374705318637816532', 'uuid-lslong': '10965346118317936520'}, 'enable': 'true', 'created': '2026-01-05T02:11:25', 'last-modified': '2026-01-05T02:11:26', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.907356'}
2026-01-05 02:11:27,523 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-05 02:11:27,523 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-66674045 passed
2026-01-05 02:11:27,523 - DEBUG - ====Verifying policy data for ctest-vn-66674045 in API_Server ======
2026-01-05 02:11:27,523 - DEBUG - Requesting: http://10.0.0.240:8082/domains
2026-01-05 02:11:27,528 - DEBUG - Requesting: http://10.0.0.240:8082/domain/bd400fdf-09b6-461f-97d8-6f4290c12dcb
2026-01-05 02:11:27,536 - DEBUG - Requesting: http://10.0.0.240:8082/project/47d94df1-4d04-4e9b-8ae6-3e9bb96d726e
2026-01-05 02:11:27,606 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/f11f5a6e-a27f-4ad4-982c-bc329d8c8f88
2026-01-05 02:11:27,614 - DEBUG - ==>Verifying data for policy with id: d21f3530-692f-4775-b28b-5d41570d7281, fqn: ['default-domain', 'ctest-TestBasicPolicy-57464601', 'ctest-policy-allow-all-61720582']
2026-01-05 02:11:27,614 - INFO - VN ctest-vn-66674045 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-05 02:11:27,614 - DEBUG - Verifying the vn in opserver
2026-01-05 02:11:27,614 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-57464601:ctest-vn-66674045 virtual network link through opserver 10.0.0.240
2026-01-05 02:11:27,614 - DEBUG - Requesting: http://10.0.0.240:8081/analytics/uves/virtual-networks
2026-01-05 02:11:27,925 - DEBUG - Requesting: http://10.0.0.240:8081/analytics/uves/virtual-networks
2026-01-05 02:11:27,986 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-57464601:ctest-vn-66674045', 'href': 'http://10.0.0.240:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-57464601:ctest-vn-66674045?flat'}
2026-01-05 02:11:27,986 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-57464601:ctest-vn-66674045 is found in opserver
2026-01-05 02:11:27,995 - DEBUG - Do not have enough data to verify VN in agent
2026-01-05 02:11:28,000 - DEBUG - VRF ids for VN ctest-vn-66674045: {}
2026-01-05 02:11:28,000 - DEBUG - Requesting: http://10.0.0.240:8082/domains
2026-01-05 02:11:28,005 - DEBUG - Requesting: http://10.0.0.240:8082/domain/bd400fdf-09b6-461f-97d8-6f4290c12dcb
2026-01-05 02:11:28,014 - DEBUG - Requesting: http://10.0.0.240:8082/project/47d94df1-4d04-4e9b-8ae6-3e9bb96d726e
2026-01-05 02:11:28,083 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/8c7d207c-3c89-4e50-a470-cd9363cb65c0
2026-01-05 02:11:28,093 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/8c7d207c-3c89-4e50-a470-cd9363cb65c0
2026-01-05 02:11:28,102 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/cde3cd0c-26ff-40a2-9eab-8eb7aaacc451
2026-01-05 02:11:28,108 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/cde3cd0c-26ff-40a2-9eab-8eb7aaacc451
2026-01-05 02:11:28,114 - DEBUG - Requesting: http://10.0.0.240:8082/route-target/a20108d7-c326-4afe-aad7-9c1f6ce1da27
2026-01-05 02:11:28,119 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-05 02:11:28,120 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/8c7d207c-3c89-4e50-a470-cd9363cb65c0
2026-01-05 02:11:28,127 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/cde3cd0c-26ff-40a2-9eab-8eb7aaacc451
2026-01-05 02:11:28,138 - INFO - Verified VN network id 12 for VN 8c7d207c-3c89-4e50-a470-cd9363cb65c0
2026-01-05 02:11:28,138 - INFO - Verifications in API Server for VN ctest-vn-33320578 passed
2026-01-05 02:11:28,138 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/8c7d207c-3c89-4e50-a470-cd9363cb65c0
2026-01-05 02:11:28,147 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/cde3cd0c-26ff-40a2-9eab-8eb7aaacc451
2026-01-05 02:11:28,153 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/cde3cd0c-26ff-40a2-9eab-8eb7aaacc451
2026-01-05 02:11:28,159 - DEBUG - Requesting: http://10.0.0.240:8082/route-target/a20108d7-c326-4afe-aad7-9c1f6ce1da27
2026-01-05 02:11:28,168 - DEBUG - Control-node 10.0.0.240 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-57464601:ctest-vn-33320578', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-57464601', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10123283255362408016', 'uuid-lslong': '11849196652529935808'}, 'enable': 'true', 'created': '2026-01-05T02:11:25', 'last-modified': '2026-01-05T02:11:26', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.333387'}
2026-01-05 02:11:28,173 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-05 02:11:28,173 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-33320578 passed
2026-01-05 02:11:28,173 - DEBUG - ====Verifying policy data for ctest-vn-33320578 in API_Server ======
2026-01-05 02:11:28,173 - DEBUG - Requesting: http://10.0.0.240:8082/domains
2026-01-05 02:11:28,178 - DEBUG - Requesting: http://10.0.0.240:8082/domain/bd400fdf-09b6-461f-97d8-6f4290c12dcb
2026-01-05 02:11:28,187 - DEBUG - Requesting: http://10.0.0.240:8082/project/47d94df1-4d04-4e9b-8ae6-3e9bb96d726e
2026-01-05 02:11:28,257 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/8c7d207c-3c89-4e50-a470-cd9363cb65c0
2026-01-05 02:11:28,266 - DEBUG - ==>Verifying data for policy with id: d21f3530-692f-4775-b28b-5d41570d7281, fqn: ['default-domain', 'ctest-TestBasicPolicy-57464601', 'ctest-policy-allow-all-61720582']
2026-01-05 02:11:28,266 - INFO - VN ctest-vn-33320578 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-05 02:11:28,266 - DEBUG - Verifying the vn in opserver
2026-01-05 02:11:28,266 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-57464601:ctest-vn-33320578 virtual network link through opserver 10.0.0.240
2026-01-05 02:11:28,266 - DEBUG - Requesting: http://10.0.0.240:8081/analytics/uves/virtual-networks
2026-01-05 02:11:28,274 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-57464601:ctest-vn-33320578', 'href': 'http://10.0.0.240:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-57464601:ctest-vn-33320578?flat'}
2026-01-05 02:11:28,274 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-57464601:ctest-vn-33320578 is found in opserver
2026-01-05 02:11:28,282 - DEBUG - Do not have enough data to verify VN in agent
2026-01-05 02:11:28,286 - DEBUG - VRF ids for VN ctest-vn-33320578: {}
2026-01-05 02:11:28,342 - DEBUG - Services list from nova: [