2026-01-26 16:03:55,172 - INFO - Domain Default found not creating
2026-01-26 16:03:55,483 - INFO - Project ctest-TestBasicPolicy-34194133 not found, creating it
2026-01-26 16:03:55,985 - INFO - Created Project:ctest-TestBasicPolicy-34194133, ID : 2de5db22-cf25-4797-a0aa-1e3e93529cc8
2026-01-26 16:03:57,723 - INFO - ================================================================================
2026-01-26 16:03:57,723 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-01-26 16:03:57,723 - 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-26 16:03:58,040 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.20.0.254': '0'}} with
2026-01-26 16:03:58,040 - INFO - Initial checks done. Running the testcase now
2026-01-26 16:03:58,041 - INFO -
2026-01-26 16:03:58,768 - DEBUG - Response for create_network : {'network': {'id': '2e08c514-a053-4286-a161-927e6bab5208', 'name': 'ctest-vn-70087754', 'tenant_id': '2de5db22cf254797a0aa1e3e93529cc8', 'project_id': '2de5db22cf254797a0aa1e3e93529cc8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-34194133', 'ctest-vn-70087754'], 'port_security_enabled': True, 'description': ''}}
2026-01-26 16:03:58,927 - DEBUG - Response for create_subnet : {'subnet': {'id': '03d2dbaa-8d30-4138-8cea-c6c44905f6f4', 'name': '', 'tenant_id': '2de5db22cf254797a0aa1e3e93529cc8', 'network_id': '2e08c514-a053-4286-a161-927e6bab5208', 'ip_version': 4, 'cidr': '190.40.241.64/26', 'allocation_pools': [{'start': '190.40.241.66', 'end': '190.40.241.126'}], 'gateway_ip': '190.40.241.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '190.40.241.66', 'tags': [], 'project_id': '2de5db22cf254797a0aa1e3e93529cc8'}}
2026-01-26 16:03:58,945 - INFO - Created VN ctest-vn-70087754
2026-01-26 16:03:59,001 - DEBUG - VN ctest-vn-70087754 UUID is 2e08c514-a053-4286-a161-927e6bab5208
2026-01-26 16:03:59,358 - DEBUG - Response for create_network : {'network': {'id': '7c5a6e69-2f5c-405c-96c5-dbafd38baa83', 'name': 'ctest-vn-79778646', 'tenant_id': '2de5db22cf254797a0aa1e3e93529cc8', 'project_id': '2de5db22cf254797a0aa1e3e93529cc8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-34194133', 'ctest-vn-79778646'], 'port_security_enabled': True, 'description': ''}}
2026-01-26 16:03:59,609 - DEBUG - Response for create_subnet : {'subnet': {'id': '1f0b1dad-d9ff-4f97-a353-d4466e10e251', 'name': '', 'tenant_id': '2de5db22cf254797a0aa1e3e93529cc8', 'network_id': '7c5a6e69-2f5c-405c-96c5-dbafd38baa83', 'ip_version': 4, 'cidr': '192.57.158.64/26', 'allocation_pools': [{'start': '192.57.158.66', 'end': '192.57.158.126'}], 'gateway_ip': '192.57.158.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '192.57.158.66', 'tags': [], 'project_id': '2de5db22cf254797a0aa1e3e93529cc8'}}
2026-01-26 16:03:59,633 - INFO - Created VN ctest-vn-79778646
2026-01-26 16:03:59,689 - DEBUG - VN ctest-vn-79778646 UUID is 7c5a6e69-2f5c-405c-96c5-dbafd38baa83
2026-01-26 16:03:59,833 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-34194133:ctest-vn-70087754, 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-34194133:ctest-vn-79778646, 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-26 16:04:00,208 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2e08c514-a053-4286-a161-927e6bab5208', 'name': 'ctest-vn-70087754', 'tenant_id': '2de5db22cf254797a0aa1e3e93529cc8', 'project_id': '2de5db22cf254797a0aa1e3e93529cc8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['03d2dbaa-8d30-4138-8cea-c6c44905f6f4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-34194133', 'ctest-vn-70087754'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-34194133', 'ctest-policy-allow-all-45332501']], 'subnet_ipam': [{'subnet_cidr': '190.40.241.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-26 16:04:00,503 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7c5a6e69-2f5c-405c-96c5-dbafd38baa83', 'name': 'ctest-vn-79778646', 'tenant_id': '2de5db22cf254797a0aa1e3e93529cc8', 'project_id': '2de5db22cf254797a0aa1e3e93529cc8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1f0b1dad-d9ff-4f97-a353-d4466e10e251'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-34194133', 'ctest-vn-79778646'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-34194133', 'ctest-policy-allow-all-45332501']], 'subnet_ipam': [{'subnet_cidr': '192.57.158.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-26 16:04:00,665 - DEBUG - Requesting: http://10.0.0.129:8082/domains
2026-01-26 16:04:00,976 - DEBUG - Requesting: http://10.0.0.129:8082/domains
2026-01-26 16:04:01,017 - DEBUG - Requesting: http://10.0.0.129:8082/domain/d03b80bc-eed4-4a30-97c0-1570544fb457
2026-01-26 16:04:01,038 - DEBUG - Requesting: http://10.0.0.129:8082/project/2de5db22-cf25-4797-a0aa-1e3e93529cc8
2026-01-26 16:04:01,123 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/2e08c514-a053-4286-a161-927e6bab5208
2026-01-26 16:04:01,140 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/2e08c514-a053-4286-a161-927e6bab5208
2026-01-26 16:04:01,153 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/3a8126bb-c939-422f-916f-57c3a08c43d7
2026-01-26 16:04:01,163 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/3a8126bb-c939-422f-916f-57c3a08c43d7
2026-01-26 16:04:01,172 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/068e4838-a6cf-4001-983f-35e569ef3ecb
2026-01-26 16:04:01,181 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-26 16:04:01,181 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/2e08c514-a053-4286-a161-927e6bab5208
2026-01-26 16:04:01,192 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/3a8126bb-c939-422f-916f-57c3a08c43d7
2026-01-26 16:04:01,209 - INFO - Verified VN network id 11 for VN 2e08c514-a053-4286-a161-927e6bab5208
2026-01-26 16:04:01,209 - INFO - Verifications in API Server for VN ctest-vn-70087754 passed
2026-01-26 16:04:01,209 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/2e08c514-a053-4286-a161-927e6bab5208
2026-01-26 16:04:01,220 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/3a8126bb-c939-422f-916f-57c3a08c43d7
2026-01-26 16:04:01,230 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/3a8126bb-c939-422f-916f-57c3a08c43d7
2026-01-26 16:04:01,237 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/068e4838-a6cf-4001-983f-35e569ef3ecb
2026-01-26 16:04:01,248 - DEBUG - Control-node 10.0.0.129 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-34194133:ctest-vn-70087754', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-34194133', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3317117817938199174', 'uuid-lslong': '11628736784517255688'}, 'enable': 'true', 'created': '2026-01-26T16:03:58', 'last-modified': '2026-01-26T16:04:00', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.071793'}
2026-01-26 16:04:01,255 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-26 16:04:01,255 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-70087754 passed
2026-01-26 16:04:01,256 - DEBUG - ====Verifying policy data for ctest-vn-70087754 in API_Server ======
2026-01-26 16:04:01,256 - DEBUG - Requesting: http://10.0.0.129:8082/domains
2026-01-26 16:04:01,261 - DEBUG - Requesting: http://10.0.0.129:8082/domain/d03b80bc-eed4-4a30-97c0-1570544fb457
2026-01-26 16:04:01,272 - DEBUG - Requesting: http://10.0.0.129:8082/project/2de5db22-cf25-4797-a0aa-1e3e93529cc8
2026-01-26 16:04:01,351 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/2e08c514-a053-4286-a161-927e6bab5208
2026-01-26 16:04:01,363 - DEBUG - ==>Verifying data for policy with id: edf05df0-63f7-4ce6-a335-aa02e3cd738e, fqn: ['default-domain', 'ctest-TestBasicPolicy-34194133', 'ctest-policy-allow-all-45332501']
2026-01-26 16:04:01,363 - INFO - VN ctest-vn-70087754 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-26 16:04:01,364 - DEBUG - Verifying the vn in opserver
2026-01-26 16:04:01,364 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-34194133:ctest-vn-70087754 virtual network link through opserver 10.0.0.129
2026-01-26 16:04:01,364 - DEBUG - Requesting: http://10.0.0.129:8081/analytics/uves/virtual-networks
2026-01-26 16:04:01,673 - DEBUG - Requesting: http://10.0.0.129:8081/analytics/uves/virtual-networks
2026-01-26 16:04:01,768 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-34194133:ctest-vn-70087754', 'href': 'http://10.0.0.129:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-34194133:ctest-vn-70087754?flat'}
2026-01-26 16:04:01,768 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-34194133:ctest-vn-70087754 is found in opserver
2026-01-26 16:04:01,788 - DEBUG - Do not have enough data to verify VN in agent
2026-01-26 16:04:01,796 - DEBUG - VRF ids for VN ctest-vn-70087754: {}
2026-01-26 16:04:01,796 - DEBUG - Requesting: http://10.0.0.129:8082/domains
2026-01-26 16:04:01,802 - DEBUG - Requesting: http://10.0.0.129:8082/domain/d03b80bc-eed4-4a30-97c0-1570544fb457
2026-01-26 16:04:01,822 - DEBUG - Requesting: http://10.0.0.129:8082/project/2de5db22-cf25-4797-a0aa-1e3e93529cc8
2026-01-26 16:04:01,913 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/7c5a6e69-2f5c-405c-96c5-dbafd38baa83
2026-01-26 16:04:01,932 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/7c5a6e69-2f5c-405c-96c5-dbafd38baa83
2026-01-26 16:04:01,943 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/694830f6-2ac1-44ff-80ce-91df8f7624fb
2026-01-26 16:04:01,950 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/694830f6-2ac1-44ff-80ce-91df8f7624fb
2026-01-26 16:04:01,958 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/9e3ddecf-135c-4397-b431-47a636b0e558
2026-01-26 16:04:01,966 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-26 16:04:01,966 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/7c5a6e69-2f5c-405c-96c5-dbafd38baa83
2026-01-26 16:04:01,977 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/694830f6-2ac1-44ff-80ce-91df8f7624fb
2026-01-26 16:04:01,996 - INFO - Verified VN network id 12 for VN 7c5a6e69-2f5c-405c-96c5-dbafd38baa83
2026-01-26 16:04:01,996 - INFO - Verifications in API Server for VN ctest-vn-79778646 passed
2026-01-26 16:04:01,997 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/7c5a6e69-2f5c-405c-96c5-dbafd38baa83
2026-01-26 16:04:02,008 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/694830f6-2ac1-44ff-80ce-91df8f7624fb
2026-01-26 16:04:02,017 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/694830f6-2ac1-44ff-80ce-91df8f7624fb
2026-01-26 16:04:02,027 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/9e3ddecf-135c-4397-b431-47a636b0e558
2026-01-26 16:04:02,042 - DEBUG - Control-node 10.0.0.129 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-34194133:ctest-vn-79778646', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-34194133', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8960595806652219484', 'uuid-lslong': '10864331224316095107'}, 'enable': 'true', 'created': '2026-01-26T16:03:59', 'last-modified': '2026-01-26T16:04:00', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.606872'}
2026-01-26 16:04:02,049 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-26 16:04:02,049 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-79778646 passed
2026-01-26 16:04:02,049 - DEBUG - ====Verifying policy data for ctest-vn-79778646 in API_Server ======
2026-01-26 16:04:02,049 - DEBUG - Requesting: http://10.0.0.129:8082/domains
2026-01-26 16:04:02,055 - DEBUG - Requesting: http://10.0.0.129:8082/domain/d03b80bc-eed4-4a30-97c0-1570544fb457
2026-01-26 16:04:02,070 - DEBUG - Requesting: http://10.0.0.129:8082/project/2de5db22-cf25-4797-a0aa-1e3e93529cc8
2026-01-26 16:04:02,151 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/7c5a6e69-2f5c-405c-96c5-dbafd38baa83
2026-01-26 16:04:02,167 - DEBUG - ==>Verifying data for policy with id: edf05df0-63f7-4ce6-a335-aa02e3cd738e, fqn: ['default-domain', 'ctest-TestBasicPolicy-34194133', 'ctest-policy-allow-all-45332501']
2026-01-26 16:04:02,167 - INFO - VN ctest-vn-79778646 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-26 16:04:02,168 - DEBUG - Verifying the vn in opserver
2026-01-26 16:04:02,168 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-34194133:ctest-vn-79778646 virtual network link through opserver 10.0.0.129
2026-01-26 16:04:02,168 - DEBUG - Requesting: http://10.0.0.129:8081/analytics/uves/virtual-networks
2026-01-26 16:04:02,178 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-34194133:ctest-vn-79778646', 'href': 'http://10.0.0.129:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-34194133:ctest-vn-79778646?flat'}
2026-01-26 16:04:02,179 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-34194133:ctest-vn-79778646 is found in opserver
2026-01-26 16:04:02,188 - DEBUG - Do not have enough data to verify VN in agent
2026-01-26 16:04:02,194 - DEBUG - VRF ids for VN ctest-vn-79778646: {}
2026-01-26 16:04:02,263 - DEBUG - Services list from nova: [