2026-10-07 06:37:09,751 - INFO - Domain Default found not creating
2026-10-07 06:37:09,923 - INFO - Project ctest-TestBasicPolicy-35266556 not found, creating it
2026-10-07 06:37:10,408 - INFO - Created Project:ctest-TestBasicPolicy-35266556, ID : 87486d3d-c077-4007-90e3-f616039c2e38
2026-10-07 06:37:12,184 - INFO - ================================================================================
2026-10-07 06:37:12,184 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-10-07 06:37:12,185 - 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-10-07 06:37:12,472 - DEBUG - Nothing to compare xmpp stats {'10.0.0.176': {'10.20.0.25': '0'}} with
2026-10-07 06:37:12,472 - INFO - Initial checks done. Running the testcase now
2026-10-07 06:37:12,472 - INFO -
2026-10-07 06:37:13,093 - DEBUG - Response for create_network : {'network': {'id': '75530a70-5949-4885-b91b-16b6b85941d3', 'name': 'ctest-vn-19605181', 'tenant_id': '87486d3dc077400790e3f616039c2e38', 'project_id': '87486d3dc077400790e3f616039c2e38', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-35266556', 'ctest-vn-19605181'], 'port_security_enabled': True, 'description': ''}}
2026-10-07 06:37:13,302 - DEBUG - Response for create_subnet : {'subnet': {'id': '6cc6bcac-28e0-49ad-b604-abde7a73c67d', 'name': '', 'tenant_id': '87486d3dc077400790e3f616039c2e38', 'network_id': '75530a70-5949-4885-b91b-16b6b85941d3', 'ip_version': 4, 'cidr': '52.142.193.64/26', 'allocation_pools': [{'start': '52.142.193.66', 'end': '52.142.193.126'}], 'gateway_ip': '52.142.193.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '52.142.193.66', 'tags': [], 'project_id': '87486d3dc077400790e3f616039c2e38'}}
2026-10-07 06:37:13,317 - INFO - Created VN ctest-vn-19605181
2026-10-07 06:37:13,367 - DEBUG - VN ctest-vn-19605181 UUID is 75530a70-5949-4885-b91b-16b6b85941d3
2026-10-07 06:37:13,705 - DEBUG - Response for create_network : {'network': {'id': 'aa3ee9c5-c592-4bb8-9d56-69d7612e5e90', 'name': 'ctest-vn-92451767', 'tenant_id': '87486d3dc077400790e3f616039c2e38', 'project_id': '87486d3dc077400790e3f616039c2e38', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-35266556', 'ctest-vn-92451767'], 'port_security_enabled': True, 'description': ''}}
2026-10-07 06:37:13,882 - DEBUG - Response for create_subnet : {'subnet': {'id': '14e65f9f-38fb-46ad-8a8f-b969d7b711eb', 'name': '', 'tenant_id': '87486d3dc077400790e3f616039c2e38', 'network_id': 'aa3ee9c5-c592-4bb8-9d56-69d7612e5e90', 'ip_version': 4, 'cidr': '110.52.213.64/26', 'allocation_pools': [{'start': '110.52.213.66', 'end': '110.52.213.126'}], 'gateway_ip': '110.52.213.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '110.52.213.66', 'tags': [], 'project_id': '87486d3dc077400790e3f616039c2e38'}}
2026-10-07 06:37:13,898 - INFO - Created VN ctest-vn-92451767
2026-10-07 06:37:13,956 - DEBUG - VN ctest-vn-92451767 UUID is aa3ee9c5-c592-4bb8-9d56-69d7612e5e90
2026-10-07 06:37:14,084 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-35266556:ctest-vn-19605181, 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-35266556:ctest-vn-92451767, 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-10-07 06:37:14,408 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '75530a70-5949-4885-b91b-16b6b85941d3', 'name': 'ctest-vn-19605181', 'tenant_id': '87486d3dc077400790e3f616039c2e38', 'project_id': '87486d3dc077400790e3f616039c2e38', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['6cc6bcac-28e0-49ad-b604-abde7a73c67d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-35266556', 'ctest-vn-19605181'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-35266556', 'ctest-policy-allow-all-04651995']], 'subnet_ipam': [{'subnet_cidr': '52.142.193.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-10-07 06:37:14,656 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'aa3ee9c5-c592-4bb8-9d56-69d7612e5e90', 'name': 'ctest-vn-92451767', 'tenant_id': '87486d3dc077400790e3f616039c2e38', 'project_id': '87486d3dc077400790e3f616039c2e38', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['14e65f9f-38fb-46ad-8a8f-b969d7b711eb'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-35266556', 'ctest-vn-92451767'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-35266556', 'ctest-policy-allow-all-04651995']], 'subnet_ipam': [{'subnet_cidr': '110.52.213.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-10-07 06:37:14,831 - DEBUG - Requesting: http://10.0.0.176:8082/domains
2026-10-07 06:37:15,206 - DEBUG - Requesting: http://10.0.0.176:8082/domains
2026-10-07 06:37:15,238 - DEBUG - Requesting: http://10.0.0.176:8082/domain/d7609f5b-168b-4ab7-a731-1138c4f87cc8
2026-10-07 06:37:15,257 - DEBUG - Requesting: http://10.0.0.176:8082/project/87486d3d-c077-4007-90e3-f616039c2e38
2026-10-07 06:37:15,341 - DEBUG - Requesting: http://10.0.0.176:8082/virtual-network/75530a70-5949-4885-b91b-16b6b85941d3
2026-10-07 06:37:15,357 - DEBUG - Requesting: http://10.0.0.176:8082/virtual-network/75530a70-5949-4885-b91b-16b6b85941d3
2026-10-07 06:37:15,370 - DEBUG - Requesting: http://10.0.0.176:8082/routing-instance/2fe2ebd5-b2cd-4f3d-98ef-c72793575f3a
2026-10-07 06:37:15,380 - DEBUG - Requesting: http://10.0.0.176:8082/routing-instance/2fe2ebd5-b2cd-4f3d-98ef-c72793575f3a
2026-10-07 06:37:15,389 - DEBUG - Requesting: http://10.0.0.176:8082/route-target/2e64652e-504d-4ec1-a278-39f5841cf126
2026-10-07 06:37:15,397 - DEBUG - Route Targets: ['target:64512:8000005']
2026-10-07 06:37:15,397 - DEBUG - Requesting: http://10.0.0.176:8082/virtual-network/75530a70-5949-4885-b91b-16b6b85941d3
2026-10-07 06:37:15,409 - DEBUG - Requesting: http://10.0.0.176:8082/routing-instance/2fe2ebd5-b2cd-4f3d-98ef-c72793575f3a
2026-10-07 06:37:15,430 - INFO - Verified VN network id 12 for VN 75530a70-5949-4885-b91b-16b6b85941d3
2026-10-07 06:37:15,430 - INFO - Verifications in API Server for VN ctest-vn-19605181 passed
2026-10-07 06:37:15,430 - DEBUG - Requesting: http://10.0.0.176:8082/virtual-network/75530a70-5949-4885-b91b-16b6b85941d3
2026-10-07 06:37:15,442 - DEBUG - Requesting: http://10.0.0.176:8082/routing-instance/2fe2ebd5-b2cd-4f3d-98ef-c72793575f3a
2026-10-07 06:37:15,452 - DEBUG - Requesting: http://10.0.0.176:8082/routing-instance/2fe2ebd5-b2cd-4f3d-98ef-c72793575f3a
2026-10-07 06:37:15,461 - DEBUG - Requesting: http://10.0.0.176:8082/route-target/2e64652e-504d-4ec1-a278-39f5841cf126
2026-10-07 06:37:15,480 - DEBUG - Control-node 10.0.0.176 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-35266556:ctest-vn-19605181', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-35266556', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8454112403155142789', 'uuid-lslong': '13338279695420572115'}, 'enable': 'true', 'created': '2026-10-07T06:37:13', 'last-modified': '2026-10-07T06:37:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.100739'}
2026-10-07 06:37:15,489 - DEBUG - Route Targets: ['target:64512:8000005']
2026-10-07 06:37:15,489 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-19605181 passed
2026-10-07 06:37:15,490 - DEBUG - ====Verifying policy data for ctest-vn-19605181 in API_Server ======
2026-10-07 06:37:15,490 - DEBUG - Requesting: http://10.0.0.176:8082/domains
2026-10-07 06:37:15,496 - DEBUG - Requesting: http://10.0.0.176:8082/domain/d7609f5b-168b-4ab7-a731-1138c4f87cc8
2026-10-07 06:37:15,509 - DEBUG - Requesting: http://10.0.0.176:8082/project/87486d3d-c077-4007-90e3-f616039c2e38
2026-10-07 06:37:15,585 - DEBUG - Requesting: http://10.0.0.176:8082/virtual-network/75530a70-5949-4885-b91b-16b6b85941d3
2026-10-07 06:37:15,597 - DEBUG - ==>Verifying data for policy with id: 93c239c6-0fdb-4462-99a2-08ffe2fecfce, fqn: ['default-domain', 'ctest-TestBasicPolicy-35266556', 'ctest-policy-allow-all-04651995']
2026-10-07 06:37:15,597 - INFO - VN ctest-vn-19605181 Policy verification: verify_vn_policy_in_api_server, status: True
2026-10-07 06:37:15,597 - DEBUG - Verifying the vn in opserver
2026-10-07 06:37:15,597 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-35266556:ctest-vn-19605181 virtual network link through opserver 10.0.0.176
2026-10-07 06:37:15,598 - DEBUG - Requesting: http://10.0.0.176:8081/analytics/uves/virtual-networks
2026-10-07 06:37:15,966 - DEBUG - Requesting: http://10.0.0.176:8081/analytics/uves/virtual-networks
2026-10-07 06:37:16,027 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-35266556:ctest-vn-19605181', 'href': 'http://10.0.0.176:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-35266556:ctest-vn-19605181?flat'}
2026-10-07 06:37:16,028 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-35266556:ctest-vn-19605181 is found in opserver
2026-10-07 06:37:16,037 - DEBUG - Do not have enough data to verify VN in agent
2026-10-07 06:37:16,044 - DEBUG - VRF ids for VN ctest-vn-19605181: {}
2026-10-07 06:37:16,044 - DEBUG - Requesting: http://10.0.0.176:8082/domains
2026-10-07 06:37:16,050 - DEBUG - Requesting: http://10.0.0.176:8082/domain/d7609f5b-168b-4ab7-a731-1138c4f87cc8
2026-10-07 06:37:16,061 - DEBUG - Requesting: http://10.0.0.176:8082/project/87486d3d-c077-4007-90e3-f616039c2e38
2026-10-07 06:37:16,137 - DEBUG - Requesting: http://10.0.0.176:8082/virtual-network/aa3ee9c5-c592-4bb8-9d56-69d7612e5e90
2026-10-07 06:37:16,150 - DEBUG - Requesting: http://10.0.0.176:8082/virtual-network/aa3ee9c5-c592-4bb8-9d56-69d7612e5e90
2026-10-07 06:37:16,160 - DEBUG - Requesting: http://10.0.0.176:8082/routing-instance/ab6614de-0e13-47e4-a030-0097997a2a70
2026-10-07 06:37:16,167 - DEBUG - Requesting: http://10.0.0.176:8082/routing-instance/ab6614de-0e13-47e4-a030-0097997a2a70
2026-10-07 06:37:16,175 - DEBUG - Requesting: http://10.0.0.176:8082/route-target/de144e26-91d7-4ff4-bd2c-a9a9cc570ac4
2026-10-07 06:37:16,182 - DEBUG - Route Targets: ['target:64512:8000006']
2026-10-07 06:37:16,182 - DEBUG - Requesting: http://10.0.0.176:8082/virtual-network/aa3ee9c5-c592-4bb8-9d56-69d7612e5e90
2026-10-07 06:37:16,193 - DEBUG - Requesting: http://10.0.0.176:8082/routing-instance/ab6614de-0e13-47e4-a030-0097997a2a70
2026-10-07 06:37:16,210 - INFO - Verified VN network id 13 for VN aa3ee9c5-c592-4bb8-9d56-69d7612e5e90
2026-10-07 06:37:16,210 - INFO - Verifications in API Server for VN ctest-vn-92451767 passed
2026-10-07 06:37:16,210 - DEBUG - Requesting: http://10.0.0.176:8082/virtual-network/aa3ee9c5-c592-4bb8-9d56-69d7612e5e90
2026-10-07 06:37:16,221 - DEBUG - Requesting: http://10.0.0.176:8082/routing-instance/ab6614de-0e13-47e4-a030-0097997a2a70
2026-10-07 06:37:16,228 - DEBUG - Requesting: http://10.0.0.176:8082/routing-instance/ab6614de-0e13-47e4-a030-0097997a2a70
2026-10-07 06:37:16,236 - DEBUG - Requesting: http://10.0.0.176:8082/route-target/de144e26-91d7-4ff4-bd2c-a9a9cc570ac4
2026-10-07 06:37:16,249 - DEBUG - Control-node 10.0.0.176 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-35266556:ctest-vn-92451767', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-35266556', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12267499470636338104', 'uuid-lslong': '11337365485721116304'}, 'enable': 'true', 'created': '2026-10-07T06:37:13', 'last-modified': '2026-10-07T06:37:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.616760'}
2026-10-07 06:37:16,257 - DEBUG - Route Targets: ['target:64512:8000006']
2026-10-07 06:37:16,257 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-92451767 passed
2026-10-07 06:37:16,257 - DEBUG - ====Verifying policy data for ctest-vn-92451767 in API_Server ======
2026-10-07 06:37:16,257 - DEBUG - Requesting: http://10.0.0.176:8082/domains
2026-10-07 06:37:16,263 - DEBUG - Requesting: http://10.0.0.176:8082/domain/d7609f5b-168b-4ab7-a731-1138c4f87cc8
2026-10-07 06:37:16,274 - DEBUG - Requesting: http://10.0.0.176:8082/project/87486d3d-c077-4007-90e3-f616039c2e38
2026-10-07 06:37:16,350 - DEBUG - Requesting: http://10.0.0.176:8082/virtual-network/aa3ee9c5-c592-4bb8-9d56-69d7612e5e90
2026-10-07 06:37:16,362 - DEBUG - ==>Verifying data for policy with id: 93c239c6-0fdb-4462-99a2-08ffe2fecfce, fqn: ['default-domain', 'ctest-TestBasicPolicy-35266556', 'ctest-policy-allow-all-04651995']
2026-10-07 06:37:16,362 - INFO - VN ctest-vn-92451767 Policy verification: verify_vn_policy_in_api_server, status: True
2026-10-07 06:37:16,363 - DEBUG - Verifying the vn in opserver
2026-10-07 06:37:16,363 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-35266556:ctest-vn-92451767 virtual network link through opserver 10.0.0.176
2026-10-07 06:37:16,363 - DEBUG - Requesting: http://10.0.0.176:8081/analytics/uves/virtual-networks
2026-10-07 06:37:16,374 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-35266556:ctest-vn-92451767', 'href': 'http://10.0.0.176:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-35266556:ctest-vn-92451767?flat'}
2026-10-07 06:37:16,374 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-35266556:ctest-vn-92451767 is found in opserver
2026-10-07 06:37:16,387 - DEBUG - Do not have enough data to verify VN in agent
2026-10-07 06:37:16,392 - DEBUG - VRF ids for VN ctest-vn-92451767: {}
2026-10-07 06:37:16,459 - DEBUG - Services list from nova: [