2025-11-20 01:55:01,246 - INFO - Domain Default found not creating
2025-11-20 01:55:01,421 - INFO - Project ctest-TestBasicPolicy-06993620 not found, creating it
2025-11-20 01:55:01,874 - INFO - Created Project:ctest-TestBasicPolicy-06993620, ID : c71ab748-6036-4ddb-a09a-641ddb281eca
2025-11-20 01:55:03,326 - INFO - ================================================================================
2025-11-20 01:55:03,327 - INFO - STARTING TEST : test_basic_policy_allow_deny
2025-11-20 01:55:03,327 - 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
2025-11-20 01:55:03,582 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.192': '0'}} with
2025-11-20 01:55:03,582 - INFO - Initial checks done. Running the testcase now
2025-11-20 01:55:03,582 - INFO -
2025-11-20 01:55:04,117 - DEBUG - Response for create_network : {'network': {'id': '73919d71-8122-4ad5-8f7c-90825f06d389', 'name': 'ctest-vn-29344913', 'tenant_id': 'c71ab74860364ddba09a641ddb281eca', 'project_id': 'c71ab74860364ddba09a641ddb281eca', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06993620', 'ctest-vn-29344913'], 'port_security_enabled': True, 'description': ''}}
2025-11-20 01:55:04,287 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd5362bb1-32c7-4742-a34d-f7757cc38932', 'name': '', 'tenant_id': 'c71ab74860364ddba09a641ddb281eca', 'network_id': '73919d71-8122-4ad5-8f7c-90825f06d389', 'ip_version': 4, 'cidr': '183.152.172.0/26', 'allocation_pools': [{'start': '183.152.172.2', 'end': '183.152.172.62'}], 'gateway_ip': '183.152.172.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '183.152.172.2', 'tags': [], 'project_id': 'c71ab74860364ddba09a641ddb281eca'}}
2025-11-20 01:55:04,303 - INFO - Created VN ctest-vn-29344913
2025-11-20 01:55:04,354 - DEBUG - VN ctest-vn-29344913 UUID is 73919d71-8122-4ad5-8f7c-90825f06d389
2025-11-20 01:55:04,670 - DEBUG - Response for create_network : {'network': {'id': '404f5b36-9858-4b43-a90d-7ca18bdde1b4', 'name': 'ctest-vn-55965384', 'tenant_id': 'c71ab74860364ddba09a641ddb281eca', 'project_id': 'c71ab74860364ddba09a641ddb281eca', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06993620', 'ctest-vn-55965384'], 'port_security_enabled': True, 'description': ''}}
2025-11-20 01:55:04,817 - DEBUG - Response for create_subnet : {'subnet': {'id': '16ac16f5-67bf-42be-8787-8dccc0c4b1c8', 'name': '', 'tenant_id': 'c71ab74860364ddba09a641ddb281eca', 'network_id': '404f5b36-9858-4b43-a90d-7ca18bdde1b4', 'ip_version': 4, 'cidr': '179.9.164.64/26', 'allocation_pools': [{'start': '179.9.164.66', 'end': '179.9.164.126'}], 'gateway_ip': '179.9.164.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '179.9.164.66', 'tags': [], 'project_id': 'c71ab74860364ddba09a641ddb281eca'}}
2025-11-20 01:55:04,833 - INFO - Created VN ctest-vn-55965384
2025-11-20 01:55:04,882 - DEBUG - VN ctest-vn-55965384 UUID is 404f5b36-9858-4b43-a90d-7ca18bdde1b4
2025-11-20 01:55:05,030 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-06993620:ctest-vn-29344913, 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-06993620:ctest-vn-55965384, 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]
2025-11-20 01:55:05,325 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '73919d71-8122-4ad5-8f7c-90825f06d389', 'name': 'ctest-vn-29344913', 'tenant_id': 'c71ab74860364ddba09a641ddb281eca', 'project_id': 'c71ab74860364ddba09a641ddb281eca', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d5362bb1-32c7-4742-a34d-f7757cc38932'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06993620', 'ctest-vn-29344913'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-06993620', 'ctest-policy-allow-all-32978746']], 'subnet_ipam': [{'subnet_cidr': '183.152.172.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-11-20 01:55:05,593 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '404f5b36-9858-4b43-a90d-7ca18bdde1b4', 'name': 'ctest-vn-55965384', 'tenant_id': 'c71ab74860364ddba09a641ddb281eca', 'project_id': 'c71ab74860364ddba09a641ddb281eca', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['16ac16f5-67bf-42be-8787-8dccc0c4b1c8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06993620', 'ctest-vn-55965384'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-06993620', 'ctest-policy-allow-all-32978746']], 'subnet_ipam': [{'subnet_cidr': '179.9.164.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-11-20 01:55:05,735 - DEBUG - Requesting: http://10.0.0.65:8082/domains
2025-11-20 01:55:06,035 - DEBUG - Requesting: http://10.0.0.65:8082/domains
2025-11-20 01:55:06,063 - DEBUG - Requesting: http://10.0.0.65:8082/domain/d59eb88c-646b-4d8b-974c-cdd99cfde1f8
2025-11-20 01:55:06,074 - DEBUG - Requesting: http://10.0.0.65:8082/project/c71ab748-6036-4ddb-a09a-641ddb281eca
2025-11-20 01:55:06,143 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/73919d71-8122-4ad5-8f7c-90825f06d389
2025-11-20 01:55:06,152 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/73919d71-8122-4ad5-8f7c-90825f06d389
2025-11-20 01:55:06,160 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/05b0e322-7834-415f-8a5b-04747180e561
2025-11-20 01:55:06,166 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/05b0e322-7834-415f-8a5b-04747180e561
2025-11-20 01:55:06,171 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/d1dcbdad-ad76-4bc8-9f9f-d7cbe20f3d8d
2025-11-20 01:55:06,176 - DEBUG - Route Targets: ['target:64512:8000004']
2025-11-20 01:55:06,176 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/73919d71-8122-4ad5-8f7c-90825f06d389
2025-11-20 01:55:06,184 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/05b0e322-7834-415f-8a5b-04747180e561
2025-11-20 01:55:06,196 - INFO - Verified VN network id 12 for VN 73919d71-8122-4ad5-8f7c-90825f06d389
2025-11-20 01:55:06,196 - INFO - Verifications in API Server for VN ctest-vn-29344913 passed
2025-11-20 01:55:06,196 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/73919d71-8122-4ad5-8f7c-90825f06d389
2025-11-20 01:55:06,204 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/05b0e322-7834-415f-8a5b-04747180e561
2025-11-20 01:55:06,209 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/05b0e322-7834-415f-8a5b-04747180e561
2025-11-20 01:55:06,216 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/d1dcbdad-ad76-4bc8-9f9f-d7cbe20f3d8d
2025-11-20 01:55:06,226 - DEBUG - Control-node 10.0.0.65 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-06993620:ctest-vn-29344913', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-06993620', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8327610296808131285', 'uuid-lslong': '10339297734150247305'}, 'enable': 'true', 'created': '2025-11-20T01:55:04', 'last-modified': '2025-11-20T01:55:05', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.925736'}
2025-11-20 01:55:06,231 - DEBUG - Route Targets: ['target:64512:8000004']
2025-11-20 01:55:06,232 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-29344913 passed
2025-11-20 01:55:06,232 - DEBUG - ====Verifying policy data for ctest-vn-29344913 in API_Server ======
2025-11-20 01:55:06,232 - DEBUG - Requesting: http://10.0.0.65:8082/domains
2025-11-20 01:55:06,236 - DEBUG - Requesting: http://10.0.0.65:8082/domain/d59eb88c-646b-4d8b-974c-cdd99cfde1f8
2025-11-20 01:55:06,246 - DEBUG - Requesting: http://10.0.0.65:8082/project/c71ab748-6036-4ddb-a09a-641ddb281eca
2025-11-20 01:55:06,320 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/73919d71-8122-4ad5-8f7c-90825f06d389
2025-11-20 01:55:06,328 - DEBUG - ==>Verifying data for policy with id: abf617b3-6a6c-429e-87fd-3e72f02cd976, fqn: ['default-domain', 'ctest-TestBasicPolicy-06993620', 'ctest-policy-allow-all-32978746']
2025-11-20 01:55:06,328 - INFO - VN ctest-vn-29344913 Policy verification: verify_vn_policy_in_api_server, status: True
2025-11-20 01:55:06,328 - DEBUG - Verifying the vn in opserver
2025-11-20 01:55:06,328 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-06993620:ctest-vn-29344913 virtual network link through opserver 10.0.0.65
2025-11-20 01:55:06,328 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks
2025-11-20 01:55:06,618 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks
2025-11-20 01:55:06,675 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-06993620:ctest-vn-29344913', 'href': 'http://10.0.0.65:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-06993620:ctest-vn-29344913?flat'}
2025-11-20 01:55:06,676 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-06993620:ctest-vn-29344913 is found in opserver
2025-11-20 01:55:06,684 - DEBUG - Do not have enough data to verify VN in agent
2025-11-20 01:55:06,688 - DEBUG - VRF ids for VN ctest-vn-29344913: {}
2025-11-20 01:55:06,688 - DEBUG - Requesting: http://10.0.0.65:8082/domains
2025-11-20 01:55:06,693 - DEBUG - Requesting: http://10.0.0.65:8082/domain/d59eb88c-646b-4d8b-974c-cdd99cfde1f8
2025-11-20 01:55:06,702 - DEBUG - Requesting: http://10.0.0.65:8082/project/c71ab748-6036-4ddb-a09a-641ddb281eca
2025-11-20 01:55:06,771 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/404f5b36-9858-4b43-a90d-7ca18bdde1b4
2025-11-20 01:55:06,781 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/404f5b36-9858-4b43-a90d-7ca18bdde1b4
2025-11-20 01:55:06,788 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/de47fb24-8b60-418b-bab6-67047b71fea1
2025-11-20 01:55:06,794 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/de47fb24-8b60-418b-bab6-67047b71fea1
2025-11-20 01:55:06,799 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/7383a2e1-085e-4272-bb15-5a5622b6263a
2025-11-20 01:55:06,805 - DEBUG - Route Targets: ['target:64512:8000005']
2025-11-20 01:55:06,805 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/404f5b36-9858-4b43-a90d-7ca18bdde1b4
2025-11-20 01:55:06,812 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/de47fb24-8b60-418b-bab6-67047b71fea1
2025-11-20 01:55:06,825 - INFO - Verified VN network id 13 for VN 404f5b36-9858-4b43-a90d-7ca18bdde1b4
2025-11-20 01:55:06,825 - INFO - Verifications in API Server for VN ctest-vn-55965384 passed
2025-11-20 01:55:06,825 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/404f5b36-9858-4b43-a90d-7ca18bdde1b4
2025-11-20 01:55:06,833 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/de47fb24-8b60-418b-bab6-67047b71fea1
2025-11-20 01:55:06,839 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/de47fb24-8b60-418b-bab6-67047b71fea1
2025-11-20 01:55:06,844 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/7383a2e1-085e-4272-bb15-5a5622b6263a
2025-11-20 01:55:06,854 - DEBUG - Control-node 10.0.0.65 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-06993620:ctest-vn-55965384', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-06993620', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4634022831629814595', 'uuid-lslong': '12181529600385212852'}, 'enable': 'true', 'created': '2025-11-20T01:55:04', 'last-modified': '2025-11-20T01:55:05', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.331312'}
2025-11-20 01:55:06,859 - DEBUG - Route Targets: ['target:64512:8000005']
2025-11-20 01:55:06,859 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-55965384 passed
2025-11-20 01:55:06,859 - DEBUG - ====Verifying policy data for ctest-vn-55965384 in API_Server ======
2025-11-20 01:55:06,859 - DEBUG - Requesting: http://10.0.0.65:8082/domains
2025-11-20 01:55:06,864 - DEBUG - Requesting: http://10.0.0.65:8082/domain/d59eb88c-646b-4d8b-974c-cdd99cfde1f8
2025-11-20 01:55:06,872 - DEBUG - Requesting: http://10.0.0.65:8082/project/c71ab748-6036-4ddb-a09a-641ddb281eca
2025-11-20 01:55:06,938 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/404f5b36-9858-4b43-a90d-7ca18bdde1b4
2025-11-20 01:55:06,946 - DEBUG - ==>Verifying data for policy with id: abf617b3-6a6c-429e-87fd-3e72f02cd976, fqn: ['default-domain', 'ctest-TestBasicPolicy-06993620', 'ctest-policy-allow-all-32978746']
2025-11-20 01:55:06,946 - INFO - VN ctest-vn-55965384 Policy verification: verify_vn_policy_in_api_server, status: True
2025-11-20 01:55:06,946 - DEBUG - Verifying the vn in opserver
2025-11-20 01:55:06,946 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-06993620:ctest-vn-55965384 virtual network link through opserver 10.0.0.65
2025-11-20 01:55:06,946 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks
2025-11-20 01:55:06,954 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-06993620:ctest-vn-55965384', 'href': 'http://10.0.0.65:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-06993620:ctest-vn-55965384?flat'}
2025-11-20 01:55:06,954 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-06993620:ctest-vn-55965384 is found in opserver
2025-11-20 01:55:06,963 - DEBUG - Do not have enough data to verify VN in agent
2025-11-20 01:55:06,966 - DEBUG - VRF ids for VN ctest-vn-55965384: {}
2025-11-20 01:55:07,019 - DEBUG - Services list from nova: [