2026-07-10 20:00:16,759 - INFO - Domain Default found not creating
2026-07-10 20:00:16,907 - INFO - Project ctest-TestBasicPolicy-65584547 not found, creating it
2026-07-10 20:00:17,354 - INFO - Created Project:ctest-TestBasicPolicy-65584547, ID : ca980e10-4093-49db-b49f-9368313aebd0
2026-07-10 20:00:18,847 - INFO - ================================================================================
2026-07-10 20:00:18,847 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-07-10 20:00:18,847 - 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-07-10 20:00:19,106 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2026-07-10 20:00:19,106 - INFO - Initial checks done. Running the testcase now
2026-07-10 20:00:19,106 - INFO -
2026-07-10 20:00:19,638 - DEBUG - Response for create_network : {'network': {'id': '94341e00-1789-41b9-80f5-5fb7b66641b3', 'name': 'ctest-vn-19357821', 'tenant_id': 'ca980e10409349dbb49f9368313aebd0', 'project_id': 'ca980e10409349dbb49f9368313aebd0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65584547', 'ctest-vn-19357821'], 'port_security_enabled': True, 'description': ''}}
2026-07-10 20:00:19,814 - DEBUG - Response for create_subnet : {'subnet': {'id': 'abb64d43-eb1b-4812-9dc1-764029b139b2', 'name': '', 'tenant_id': 'ca980e10409349dbb49f9368313aebd0', 'network_id': '94341e00-1789-41b9-80f5-5fb7b66641b3', 'ip_version': 4, 'cidr': '164.229.3.128/26', 'allocation_pools': [{'start': '164.229.3.130', 'end': '164.229.3.190'}], 'gateway_ip': '164.229.3.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '164.229.3.130', 'tags': [], 'project_id': 'ca980e10409349dbb49f9368313aebd0'}}
2026-07-10 20:00:19,829 - INFO - Created VN ctest-vn-19357821
2026-07-10 20:00:19,881 - DEBUG - VN ctest-vn-19357821 UUID is 94341e00-1789-41b9-80f5-5fb7b66641b3
2026-07-10 20:00:20,194 - DEBUG - Response for create_network : {'network': {'id': '1deb3d9b-b2c9-4453-8922-941a9a5c8c5b', 'name': 'ctest-vn-58005484', 'tenant_id': 'ca980e10409349dbb49f9368313aebd0', 'project_id': 'ca980e10409349dbb49f9368313aebd0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65584547', 'ctest-vn-58005484'], 'port_security_enabled': True, 'description': ''}}
2026-07-10 20:00:20,362 - DEBUG - Response for create_subnet : {'subnet': {'id': '55778f79-f3f7-47cd-9981-79f8ddde715d', 'name': '', 'tenant_id': 'ca980e10409349dbb49f9368313aebd0', 'network_id': '1deb3d9b-b2c9-4453-8922-941a9a5c8c5b', 'ip_version': 4, 'cidr': '205.160.125.128/26', 'allocation_pools': [{'start': '205.160.125.130', 'end': '205.160.125.190'}], 'gateway_ip': '205.160.125.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '205.160.125.130', 'tags': [], 'project_id': 'ca980e10409349dbb49f9368313aebd0'}}
2026-07-10 20:00:20,377 - INFO - Created VN ctest-vn-58005484
2026-07-10 20:00:20,429 - DEBUG - VN ctest-vn-58005484 UUID is 1deb3d9b-b2c9-4453-8922-941a9a5c8c5b
2026-07-10 20:00:20,577 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-65584547:ctest-vn-19357821, 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-65584547:ctest-vn-58005484, 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-07-10 20:00:20,867 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '94341e00-1789-41b9-80f5-5fb7b66641b3', 'name': 'ctest-vn-19357821', 'tenant_id': 'ca980e10409349dbb49f9368313aebd0', 'project_id': 'ca980e10409349dbb49f9368313aebd0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['abb64d43-eb1b-4812-9dc1-764029b139b2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65584547', 'ctest-vn-19357821'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-65584547', 'ctest-policy-allow-all-47184271']], 'subnet_ipam': [{'subnet_cidr': '164.229.3.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-07-10 20:00:21,093 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1deb3d9b-b2c9-4453-8922-941a9a5c8c5b', 'name': 'ctest-vn-58005484', 'tenant_id': 'ca980e10409349dbb49f9368313aebd0', 'project_id': 'ca980e10409349dbb49f9368313aebd0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['55778f79-f3f7-47cd-9981-79f8ddde715d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65584547', 'ctest-vn-58005484'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-65584547', 'ctest-policy-allow-all-47184271']], 'subnet_ipam': [{'subnet_cidr': '205.160.125.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-07-10 20:00:21,253 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-07-10 20:00:21,573 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-07-10 20:00:21,603 - DEBUG - Requesting: http://10.0.0.50:8082/domain/c626fe5f-6b66-4953-b8e0-704f2f70f9dc
2026-07-10 20:00:21,614 - DEBUG - Requesting: http://10.0.0.50:8082/project/ca980e10-4093-49db-b49f-9368313aebd0
2026-07-10 20:00:21,682 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/94341e00-1789-41b9-80f5-5fb7b66641b3
2026-07-10 20:00:21,693 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/94341e00-1789-41b9-80f5-5fb7b66641b3
2026-07-10 20:00:21,701 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2de6c69f-113d-4fb6-aefe-20dac008d5cd
2026-07-10 20:00:21,709 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2de6c69f-113d-4fb6-aefe-20dac008d5cd
2026-07-10 20:00:21,715 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/1f515079-ac16-4cce-bf4d-38ab1b77951b
2026-07-10 20:00:21,721 - DEBUG - Route Targets: ['target:64512:8000004']
2026-07-10 20:00:21,721 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/94341e00-1789-41b9-80f5-5fb7b66641b3
2026-07-10 20:00:21,729 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2de6c69f-113d-4fb6-aefe-20dac008d5cd
2026-07-10 20:00:21,742 - INFO - Verified VN network id 12 for VN 94341e00-1789-41b9-80f5-5fb7b66641b3
2026-07-10 20:00:21,742 - INFO - Verifications in API Server for VN ctest-vn-19357821 passed
2026-07-10 20:00:21,743 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/94341e00-1789-41b9-80f5-5fb7b66641b3
2026-07-10 20:00:21,752 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2de6c69f-113d-4fb6-aefe-20dac008d5cd
2026-07-10 20:00:21,759 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2de6c69f-113d-4fb6-aefe-20dac008d5cd
2026-07-10 20:00:21,766 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/1f515079-ac16-4cce-bf4d-38ab1b77951b
2026-07-10 20:00:21,776 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-65584547:ctest-vn-19357821', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-65584547', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10679193602145993145', 'uuid-lslong': '9292438648792695219'}, 'enable': 'true', 'created': '2026-07-10T20:00:19', 'last-modified': '2026-07-10T20:00:20', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.930819'}
2026-07-10 20:00:21,783 - DEBUG - Route Targets: ['target:64512:8000004']
2026-07-10 20:00:21,783 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-19357821 passed
2026-07-10 20:00:21,783 - DEBUG - ====Verifying policy data for ctest-vn-19357821 in API_Server ======
2026-07-10 20:00:21,783 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-07-10 20:00:21,788 - DEBUG - Requesting: http://10.0.0.50:8082/domain/c626fe5f-6b66-4953-b8e0-704f2f70f9dc
2026-07-10 20:00:21,798 - DEBUG - Requesting: http://10.0.0.50:8082/project/ca980e10-4093-49db-b49f-9368313aebd0
2026-07-10 20:00:21,868 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/94341e00-1789-41b9-80f5-5fb7b66641b3
2026-07-10 20:00:21,877 - DEBUG - ==>Verifying data for policy with id: 9cf7b029-99a0-4ec7-9c2b-112aad156dc1, fqn: ['default-domain', 'ctest-TestBasicPolicy-65584547', 'ctest-policy-allow-all-47184271']
2026-07-10 20:00:21,877 - INFO - VN ctest-vn-19357821 Policy verification: verify_vn_policy_in_api_server, status: True
2026-07-10 20:00:21,877 - DEBUG - Verifying the vn in opserver
2026-07-10 20:00:21,877 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-65584547:ctest-vn-19357821 virtual network link through opserver 10.0.0.50
2026-07-10 20:00:21,877 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-07-10 20:00:22,201 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-07-10 20:00:22,252 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-65584547:ctest-vn-19357821', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-65584547:ctest-vn-19357821?flat'}
2026-07-10 20:00:22,253 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-65584547:ctest-vn-19357821 is found in opserver
2026-07-10 20:00:22,265 - DEBUG - Do not have enough data to verify VN in agent
2026-07-10 20:00:22,271 - DEBUG - VRF ids for VN ctest-vn-19357821: {}
2026-07-10 20:00:22,271 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-07-10 20:00:22,276 - DEBUG - Requesting: http://10.0.0.50:8082/domain/c626fe5f-6b66-4953-b8e0-704f2f70f9dc
2026-07-10 20:00:22,285 - DEBUG - Requesting: http://10.0.0.50:8082/project/ca980e10-4093-49db-b49f-9368313aebd0
2026-07-10 20:00:22,354 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/1deb3d9b-b2c9-4453-8922-941a9a5c8c5b
2026-07-10 20:00:22,366 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/1deb3d9b-b2c9-4453-8922-941a9a5c8c5b
2026-07-10 20:00:22,376 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/994fd013-d5b9-4caf-8216-b252a146623e
2026-07-10 20:00:22,383 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/994fd013-d5b9-4caf-8216-b252a146623e
2026-07-10 20:00:22,389 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/be3b7218-daf3-4da8-a7bc-acbf31395c31
2026-07-10 20:00:22,397 - DEBUG - Route Targets: ['target:64512:8000005']
2026-07-10 20:00:22,397 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/1deb3d9b-b2c9-4453-8922-941a9a5c8c5b
2026-07-10 20:00:22,405 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/994fd013-d5b9-4caf-8216-b252a146623e
2026-07-10 20:00:22,419 - INFO - Verified VN network id 13 for VN 1deb3d9b-b2c9-4453-8922-941a9a5c8c5b
2026-07-10 20:00:22,419 - INFO - Verifications in API Server for VN ctest-vn-58005484 passed
2026-07-10 20:00:22,419 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/1deb3d9b-b2c9-4453-8922-941a9a5c8c5b
2026-07-10 20:00:22,443 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/994fd013-d5b9-4caf-8216-b252a146623e
2026-07-10 20:00:22,470 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/994fd013-d5b9-4caf-8216-b252a146623e
2026-07-10 20:00:22,482 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/be3b7218-daf3-4da8-a7bc-acbf31395c31
2026-07-10 20:00:22,502 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-65584547:ctest-vn-58005484', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-65584547', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2155884585555674195', 'uuid-lslong': '9881623374384106587'}, 'enable': 'true', 'created': '2026-07-10T20:00:20', 'last-modified': '2026-07-10T20:00:21', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.433119'}
2026-07-10 20:00:22,512 - DEBUG - Route Targets: ['target:64512:8000005']
2026-07-10 20:00:22,512 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-58005484 passed
2026-07-10 20:00:22,512 - DEBUG - ====Verifying policy data for ctest-vn-58005484 in API_Server ======
2026-07-10 20:00:22,512 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-07-10 20:00:22,556 - DEBUG - Requesting: http://10.0.0.50:8082/domain/c626fe5f-6b66-4953-b8e0-704f2f70f9dc
2026-07-10 20:00:22,621 - DEBUG - Requesting: http://10.0.0.50:8082/project/ca980e10-4093-49db-b49f-9368313aebd0
2026-07-10 20:00:22,711 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/1deb3d9b-b2c9-4453-8922-941a9a5c8c5b
2026-07-10 20:00:22,729 - DEBUG - ==>Verifying data for policy with id: 9cf7b029-99a0-4ec7-9c2b-112aad156dc1, fqn: ['default-domain', 'ctest-TestBasicPolicy-65584547', 'ctest-policy-allow-all-47184271']
2026-07-10 20:00:22,729 - INFO - VN ctest-vn-58005484 Policy verification: verify_vn_policy_in_api_server, status: True
2026-07-10 20:00:22,730 - DEBUG - Verifying the vn in opserver
2026-07-10 20:00:22,730 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-65584547:ctest-vn-58005484 virtual network link through opserver 10.0.0.50
2026-07-10 20:00:22,730 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-07-10 20:00:22,742 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-65584547:ctest-vn-58005484', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-65584547:ctest-vn-58005484?flat'}
2026-07-10 20:00:22,742 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-65584547:ctest-vn-58005484 is found in opserver
2026-07-10 20:00:22,751 - DEBUG - Do not have enough data to verify VN in agent
2026-07-10 20:00:22,755 - DEBUG - VRF ids for VN ctest-vn-58005484: {}
2026-07-10 20:00:22,816 - DEBUG - Services list from nova: [