2026-02-19 17:00:12,809 - INFO - Domain Default found not creating
2026-02-19 17:00:13,018 - INFO - Project ctest-TestBasicPolicy-73966996 not found, creating it
2026-02-19 17:00:13,508 - INFO - Created Project:ctest-TestBasicPolicy-73966996, ID : 58c0367d-262a-4c7a-90be-68230bd86353
2026-02-19 17:00:15,197 - INFO - ================================================================================
2026-02-19 17:00:15,197 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-19 17:00:15,197 - 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-19 17:00:15,471 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2026-02-19 17:00:15,471 - INFO - Initial checks done. Running the testcase now
2026-02-19 17:00:15,471 - INFO -
2026-02-19 17:00:16,085 - DEBUG - Response for create_network : {'network': {'id': '106da3d3-fa9d-49ec-a142-e9928fafbd29', 'name': 'ctest-vn-74765957', 'tenant_id': '58c0367d262a4c7a90be68230bd86353', 'project_id': '58c0367d262a4c7a90be68230bd86353', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73966996', 'ctest-vn-74765957'], 'port_security_enabled': True, 'description': ''}}
2026-02-19 17:00:16,298 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c820e581-d582-4517-be65-5751cea78088', 'name': '', 'tenant_id': '58c0367d262a4c7a90be68230bd86353', 'network_id': '106da3d3-fa9d-49ec-a142-e9928fafbd29', 'ip_version': 4, 'cidr': '199.96.16.64/26', 'allocation_pools': [{'start': '199.96.16.66', 'end': '199.96.16.126'}], 'gateway_ip': '199.96.16.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '199.96.16.66', 'tags': [], 'project_id': '58c0367d262a4c7a90be68230bd86353'}}
2026-02-19 17:00:16,321 - INFO - Created VN ctest-vn-74765957
2026-02-19 17:00:16,376 - DEBUG - VN ctest-vn-74765957 UUID is 106da3d3-fa9d-49ec-a142-e9928fafbd29
2026-02-19 17:00:16,705 - DEBUG - Response for create_network : {'network': {'id': '2ccbac38-3975-41b7-8686-cd5fb6026810', 'name': 'ctest-vn-95608403', 'tenant_id': '58c0367d262a4c7a90be68230bd86353', 'project_id': '58c0367d262a4c7a90be68230bd86353', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73966996', 'ctest-vn-95608403'], 'port_security_enabled': True, 'description': ''}}
2026-02-19 17:00:16,928 - DEBUG - Response for create_subnet : {'subnet': {'id': '692aaa4f-1422-48ad-9248-e02699c4c4ab', 'name': '', 'tenant_id': '58c0367d262a4c7a90be68230bd86353', 'network_id': '2ccbac38-3975-41b7-8686-cd5fb6026810', 'ip_version': 4, 'cidr': '205.225.60.128/26', 'allocation_pools': [{'start': '205.225.60.130', 'end': '205.225.60.190'}], 'gateway_ip': '205.225.60.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '205.225.60.130', 'tags': [], 'project_id': '58c0367d262a4c7a90be68230bd86353'}}
2026-02-19 17:00:16,951 - INFO - Created VN ctest-vn-95608403
2026-02-19 17:00:17,008 - DEBUG - VN ctest-vn-95608403 UUID is 2ccbac38-3975-41b7-8686-cd5fb6026810
2026-02-19 17:00:17,135 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-73966996:ctest-vn-74765957, 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-73966996:ctest-vn-95608403, 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-19 17:00:17,450 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '106da3d3-fa9d-49ec-a142-e9928fafbd29', 'name': 'ctest-vn-74765957', 'tenant_id': '58c0367d262a4c7a90be68230bd86353', 'project_id': '58c0367d262a4c7a90be68230bd86353', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c820e581-d582-4517-be65-5751cea78088'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73966996', 'ctest-vn-74765957'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-73966996', 'ctest-policy-allow-all-73571526']], 'subnet_ipam': [{'subnet_cidr': '199.96.16.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-19 17:00:17,690 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2ccbac38-3975-41b7-8686-cd5fb6026810', 'name': 'ctest-vn-95608403', 'tenant_id': '58c0367d262a4c7a90be68230bd86353', 'project_id': '58c0367d262a4c7a90be68230bd86353', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['692aaa4f-1422-48ad-9248-e02699c4c4ab'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73966996', 'ctest-vn-95608403'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-73966996', 'ctest-policy-allow-all-73571526']], 'subnet_ipam': [{'subnet_cidr': '205.225.60.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-19 17:00:17,864 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-19 17:00:18,172 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-19 17:00:18,212 - DEBUG - Requesting: http://10.0.0.38:8082/domain/70266f0e-4c38-45e1-98e8-0ff8883842a5
2026-02-19 17:00:18,228 - DEBUG - Requesting: http://10.0.0.38:8082/project/58c0367d-262a-4c7a-90be-68230bd86353
2026-02-19 17:00:18,316 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/106da3d3-fa9d-49ec-a142-e9928fafbd29
2026-02-19 17:00:18,329 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/106da3d3-fa9d-49ec-a142-e9928fafbd29
2026-02-19 17:00:18,341 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/49bc1139-da8a-43a5-9d41-156888b22f93
2026-02-19 17:00:18,350 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/49bc1139-da8a-43a5-9d41-156888b22f93
2026-02-19 17:00:18,358 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/4225ac30-c6d0-41bd-a826-35e26cd5b73f
2026-02-19 17:00:18,366 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-19 17:00:18,366 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/106da3d3-fa9d-49ec-a142-e9928fafbd29
2026-02-19 17:00:18,378 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/49bc1139-da8a-43a5-9d41-156888b22f93
2026-02-19 17:00:18,393 - INFO - Verified VN network id 11 for VN 106da3d3-fa9d-49ec-a142-e9928fafbd29
2026-02-19 17:00:18,393 - INFO - Verifications in API Server for VN ctest-vn-74765957 passed
2026-02-19 17:00:18,393 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/106da3d3-fa9d-49ec-a142-e9928fafbd29
2026-02-19 17:00:18,406 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/49bc1139-da8a-43a5-9d41-156888b22f93
2026-02-19 17:00:18,415 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/49bc1139-da8a-43a5-9d41-156888b22f93
2026-02-19 17:00:18,424 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/4225ac30-c6d0-41bd-a826-35e26cd5b73f
2026-02-19 17:00:18,437 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-73966996:ctest-vn-74765957', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-73966996', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1183782407906347500', 'uuid-lslong': '11620106804254457129'}, 'enable': 'true', 'created': '2026-02-19T17:00:16', 'last-modified': '2026-02-19T17:00:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.017136'}
2026-02-19 17:00:18,444 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-19 17:00:18,444 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-74765957 passed
2026-02-19 17:00:18,445 - DEBUG - ====Verifying policy data for ctest-vn-74765957 in API_Server ======
2026-02-19 17:00:18,445 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-19 17:00:18,452 - DEBUG - Requesting: http://10.0.0.38:8082/domain/70266f0e-4c38-45e1-98e8-0ff8883842a5
2026-02-19 17:00:18,464 - DEBUG - Requesting: http://10.0.0.38:8082/project/58c0367d-262a-4c7a-90be-68230bd86353
2026-02-19 17:00:18,551 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/106da3d3-fa9d-49ec-a142-e9928fafbd29
2026-02-19 17:00:18,565 - DEBUG - ==>Verifying data for policy with id: 93cf6feb-70cf-41f6-a3a1-d63eea7ac35f, fqn: ['default-domain', 'ctest-TestBasicPolicy-73966996', 'ctest-policy-allow-all-73571526']
2026-02-19 17:00:18,566 - INFO - VN ctest-vn-74765957 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-19 17:00:18,566 - DEBUG - Verifying the vn in opserver
2026-02-19 17:00:18,566 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-73966996:ctest-vn-74765957 virtual network link through opserver 10.0.0.38
2026-02-19 17:00:18,566 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-02-19 17:00:18,886 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-02-19 17:00:18,963 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-73966996:ctest-vn-74765957', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-73966996:ctest-vn-74765957?flat'}
2026-02-19 17:00:18,963 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-73966996:ctest-vn-74765957 is found in opserver
2026-02-19 17:00:18,976 - DEBUG - Do not have enough data to verify VN in agent
2026-02-19 17:00:18,981 - DEBUG - VRF ids for VN ctest-vn-74765957: {}
2026-02-19 17:00:18,981 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-19 17:00:18,987 - DEBUG - Requesting: http://10.0.0.38:8082/domain/70266f0e-4c38-45e1-98e8-0ff8883842a5
2026-02-19 17:00:19,000 - DEBUG - Requesting: http://10.0.0.38:8082/project/58c0367d-262a-4c7a-90be-68230bd86353
2026-02-19 17:00:19,072 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2ccbac38-3975-41b7-8686-cd5fb6026810
2026-02-19 17:00:19,084 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2ccbac38-3975-41b7-8686-cd5fb6026810
2026-02-19 17:00:19,096 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e78a658f-4b62-4793-85ae-810f0ce1d1b5
2026-02-19 17:00:19,105 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e78a658f-4b62-4793-85ae-810f0ce1d1b5
2026-02-19 17:00:19,114 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/23f42939-20b5-4299-a19e-bf82a7766388
2026-02-19 17:00:19,126 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-19 17:00:19,126 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2ccbac38-3975-41b7-8686-cd5fb6026810
2026-02-19 17:00:19,139 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e78a658f-4b62-4793-85ae-810f0ce1d1b5
2026-02-19 17:00:19,156 - INFO - Verified VN network id 12 for VN 2ccbac38-3975-41b7-8686-cd5fb6026810
2026-02-19 17:00:19,156 - INFO - Verifications in API Server for VN ctest-vn-95608403 passed
2026-02-19 17:00:19,156 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2ccbac38-3975-41b7-8686-cd5fb6026810
2026-02-19 17:00:19,166 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e78a658f-4b62-4793-85ae-810f0ce1d1b5
2026-02-19 17:00:19,174 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e78a658f-4b62-4793-85ae-810f0ce1d1b5
2026-02-19 17:00:19,182 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/23f42939-20b5-4299-a19e-bf82a7766388
2026-02-19 17:00:19,198 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-73966996:ctest-vn-95608403', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-73966996', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3227862915423224247', 'uuid-lslong': '9693661058920769552'}, 'enable': 'true', 'created': '2026-02-19T17:00:16', 'last-modified': '2026-02-19T17:00:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.534147'}
2026-02-19 17:00:19,205 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-19 17:00:19,205 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-95608403 passed
2026-02-19 17:00:19,206 - DEBUG - ====Verifying policy data for ctest-vn-95608403 in API_Server ======
2026-02-19 17:00:19,206 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-19 17:00:19,214 - DEBUG - Requesting: http://10.0.0.38:8082/domain/70266f0e-4c38-45e1-98e8-0ff8883842a5
2026-02-19 17:00:19,226 - DEBUG - Requesting: http://10.0.0.38:8082/project/58c0367d-262a-4c7a-90be-68230bd86353
2026-02-19 17:00:19,308 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2ccbac38-3975-41b7-8686-cd5fb6026810
2026-02-19 17:00:19,320 - DEBUG - ==>Verifying data for policy with id: 93cf6feb-70cf-41f6-a3a1-d63eea7ac35f, fqn: ['default-domain', 'ctest-TestBasicPolicy-73966996', 'ctest-policy-allow-all-73571526']
2026-02-19 17:00:19,320 - INFO - VN ctest-vn-95608403 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-19 17:00:19,320 - DEBUG - Verifying the vn in opserver
2026-02-19 17:00:19,321 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-73966996:ctest-vn-95608403 virtual network link through opserver 10.0.0.38
2026-02-19 17:00:19,321 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-02-19 17:00:19,332 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-73966996:ctest-vn-95608403', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-73966996:ctest-vn-95608403?flat'}
2026-02-19 17:00:19,332 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-73966996:ctest-vn-95608403 is found in opserver
2026-02-19 17:00:19,344 - DEBUG - Do not have enough data to verify VN in agent
2026-02-19 17:00:19,349 - DEBUG - VRF ids for VN ctest-vn-95608403: {}
2026-02-19 17:00:19,414 - DEBUG - Services list from nova: [