2026-11-29 23:53:35,331 - INFO - Domain Default found not creating
2026-11-29 23:53:35,508 - INFO - Project ctest-TestBasicPolicy-60411432 not found, creating it
2026-11-29 23:53:35,991 - INFO - Created Project:ctest-TestBasicPolicy-60411432, ID : cea34cea-34e5-42b3-b3fd-eb0adeda0354
2026-11-29 23:53:37,709 - INFO - ================================================================================
2026-11-29 23:53:37,710 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-11-29 23:53:37,710 - 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-11-29 23:53:37,985 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.25': '0'}} with
2026-11-29 23:53:37,985 - INFO - Initial checks done. Running the testcase now
2026-11-29 23:53:37,985 - INFO -
2026-11-29 23:53:38,587 - DEBUG - Response for create_network : {'network': {'id': 'ef1d8732-2a2b-4807-8e92-a3f34aecd58f', 'name': 'ctest-vn-37676610', 'tenant_id': 'cea34cea34e542b3b3fdeb0adeda0354', 'project_id': 'cea34cea34e542b3b3fdeb0adeda0354', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-60411432', 'ctest-vn-37676610'], 'port_security_enabled': True, 'description': ''}}
2026-11-29 23:53:38,780 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd3459b83-d3c8-41ed-8da6-228156a6bfe3', 'name': '', 'tenant_id': 'cea34cea34e542b3b3fdeb0adeda0354', 'network_id': 'ef1d8732-2a2b-4807-8e92-a3f34aecd58f', 'ip_version': 4, 'cidr': '67.24.11.0/26', 'allocation_pools': [{'start': '67.24.11.2', 'end': '67.24.11.62'}], 'gateway_ip': '67.24.11.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '67.24.11.2', 'tags': [], 'project_id': 'cea34cea34e542b3b3fdeb0adeda0354'}}
2026-11-29 23:53:38,797 - INFO - Created VN ctest-vn-37676610
2026-11-29 23:53:38,851 - DEBUG - VN ctest-vn-37676610 UUID is ef1d8732-2a2b-4807-8e92-a3f34aecd58f
2026-11-29 23:53:39,199 - DEBUG - Response for create_network : {'network': {'id': 'fed491a0-9688-4890-a4ef-c9c77d61ccb1', 'name': 'ctest-vn-50325933', 'tenant_id': 'cea34cea34e542b3b3fdeb0adeda0354', 'project_id': 'cea34cea34e542b3b3fdeb0adeda0354', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-60411432', 'ctest-vn-50325933'], 'port_security_enabled': True, 'description': ''}}
2026-11-29 23:53:39,427 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f8addf08-7add-4e4f-bb5d-5bb85d161161', 'name': '', 'tenant_id': 'cea34cea34e542b3b3fdeb0adeda0354', 'network_id': 'fed491a0-9688-4890-a4ef-c9c77d61ccb1', 'ip_version': 4, 'cidr': '137.154.61.128/26', 'allocation_pools': [{'start': '137.154.61.130', 'end': '137.154.61.190'}], 'gateway_ip': '137.154.61.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '137.154.61.130', 'tags': [], 'project_id': 'cea34cea34e542b3b3fdeb0adeda0354'}}
2026-11-29 23:53:39,443 - INFO - Created VN ctest-vn-50325933
2026-11-29 23:53:39,495 - DEBUG - VN ctest-vn-50325933 UUID is fed491a0-9688-4890-a4ef-c9c77d61ccb1
2026-11-29 23:53:39,646 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-60411432:ctest-vn-37676610, 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-60411432:ctest-vn-50325933, 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-11-29 23:53:39,945 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ef1d8732-2a2b-4807-8e92-a3f34aecd58f', 'name': 'ctest-vn-37676610', 'tenant_id': 'cea34cea34e542b3b3fdeb0adeda0354', 'project_id': 'cea34cea34e542b3b3fdeb0adeda0354', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['d3459b83-d3c8-41ed-8da6-228156a6bfe3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-60411432', 'ctest-vn-37676610'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-60411432', 'ctest-policy-allow-all-19462200']], 'subnet_ipam': [{'subnet_cidr': '67.24.11.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-11-29 23:53:40,170 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'fed491a0-9688-4890-a4ef-c9c77d61ccb1', 'name': 'ctest-vn-50325933', 'tenant_id': 'cea34cea34e542b3b3fdeb0adeda0354', 'project_id': 'cea34cea34e542b3b3fdeb0adeda0354', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['f8addf08-7add-4e4f-bb5d-5bb85d161161'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-60411432', 'ctest-vn-50325933'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-60411432', 'ctest-policy-allow-all-19462200']], 'subnet_ipam': [{'subnet_cidr': '137.154.61.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-11-29 23:53:40,339 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-11-29 23:53:40,703 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-11-29 23:53:40,731 - DEBUG - Requesting: http://10.0.0.50:8082/domain/2b190422-1598-4ac3-b68b-4967754f97b6
2026-11-29 23:53:40,742 - DEBUG - Requesting: http://10.0.0.50:8082/project/cea34cea-34e5-42b3-b3fd-eb0adeda0354
2026-11-29 23:53:40,815 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ef1d8732-2a2b-4807-8e92-a3f34aecd58f
2026-11-29 23:53:40,827 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ef1d8732-2a2b-4807-8e92-a3f34aecd58f
2026-11-29 23:53:40,836 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d0b5acf9-4bce-4334-8bdf-e34f89528b84
2026-11-29 23:53:40,843 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d0b5acf9-4bce-4334-8bdf-e34f89528b84
2026-11-29 23:53:40,849 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/1350cf53-c2ca-48cd-81a6-5a2f993d7095
2026-11-29 23:53:40,854 - DEBUG - Route Targets: ['target:64512:8000005']
2026-11-29 23:53:40,854 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ef1d8732-2a2b-4807-8e92-a3f34aecd58f
2026-11-29 23:53:40,862 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d0b5acf9-4bce-4334-8bdf-e34f89528b84
2026-11-29 23:53:40,874 - INFO - Verified VN network id 10 for VN ef1d8732-2a2b-4807-8e92-a3f34aecd58f
2026-11-29 23:53:40,874 - INFO - Verifications in API Server for VN ctest-vn-37676610 passed
2026-11-29 23:53:40,874 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ef1d8732-2a2b-4807-8e92-a3f34aecd58f
2026-11-29 23:53:40,884 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d0b5acf9-4bce-4334-8bdf-e34f89528b84
2026-11-29 23:53:40,890 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d0b5acf9-4bce-4334-8bdf-e34f89528b84
2026-11-29 23:53:40,896 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/1350cf53-c2ca-48cd-81a6-5a2f993d7095
2026-11-29 23:53:40,909 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-60411432:ctest-vn-37676610', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-60411432', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17230076398914979847', 'uuid-lslong': '10273453965314938255'}, 'enable': 'true', 'created': '2026-11-29T23:53:38', 'last-modified': '2026-11-29T23:53:39', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.994461'}
2026-11-29 23:53:40,916 - DEBUG - Route Targets: ['target:64512:8000005']
2026-11-29 23:53:40,917 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-37676610 passed
2026-11-29 23:53:40,917 - DEBUG - ====Verifying policy data for ctest-vn-37676610 in API_Server ======
2026-11-29 23:53:40,917 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-11-29 23:53:40,923 - DEBUG - Requesting: http://10.0.0.50:8082/domain/2b190422-1598-4ac3-b68b-4967754f97b6
2026-11-29 23:53:40,933 - DEBUG - Requesting: http://10.0.0.50:8082/project/cea34cea-34e5-42b3-b3fd-eb0adeda0354
2026-11-29 23:53:41,001 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ef1d8732-2a2b-4807-8e92-a3f34aecd58f
2026-11-29 23:53:41,015 - DEBUG - ==>Verifying data for policy with id: 1b925e37-77ac-4e3b-a3b3-e76993e66256, fqn: ['default-domain', 'ctest-TestBasicPolicy-60411432', 'ctest-policy-allow-all-19462200']
2026-11-29 23:53:41,015 - INFO - VN ctest-vn-37676610 Policy verification: verify_vn_policy_in_api_server, status: True
2026-11-29 23:53:41,015 - DEBUG - Verifying the vn in opserver
2026-11-29 23:53:41,015 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-60411432:ctest-vn-37676610 virtual network link through opserver 10.0.0.50
2026-11-29 23:53:41,015 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-11-29 23:53:41,382 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-11-29 23:53:41,437 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-60411432:ctest-vn-37676610', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-60411432:ctest-vn-37676610?flat'}
2026-11-29 23:53:41,437 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-60411432:ctest-vn-37676610 is found in opserver
2026-11-29 23:53:41,447 - DEBUG - Do not have enough data to verify VN in agent
2026-11-29 23:53:41,452 - DEBUG - VRF ids for VN ctest-vn-37676610: {}
2026-11-29 23:53:41,452 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-11-29 23:53:41,458 - DEBUG - Requesting: http://10.0.0.50:8082/domain/2b190422-1598-4ac3-b68b-4967754f97b6
2026-11-29 23:53:41,468 - DEBUG - Requesting: http://10.0.0.50:8082/project/cea34cea-34e5-42b3-b3fd-eb0adeda0354
2026-11-29 23:53:41,540 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/fed491a0-9688-4890-a4ef-c9c77d61ccb1
2026-11-29 23:53:41,552 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/fed491a0-9688-4890-a4ef-c9c77d61ccb1
2026-11-29 23:53:41,563 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/12908ac5-4471-4538-85ee-6f301c118487
2026-11-29 23:53:41,570 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/12908ac5-4471-4538-85ee-6f301c118487
2026-11-29 23:53:41,581 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/a26e76a9-8d05-4ea3-b671-4a68a23d38ef
2026-11-29 23:53:41,589 - DEBUG - Route Targets: ['target:64512:8000006']
2026-11-29 23:53:41,589 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/fed491a0-9688-4890-a4ef-c9c77d61ccb1
2026-11-29 23:53:41,600 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/12908ac5-4471-4538-85ee-6f301c118487
2026-11-29 23:53:41,615 - INFO - Verified VN network id 11 for VN fed491a0-9688-4890-a4ef-c9c77d61ccb1
2026-11-29 23:53:41,615 - INFO - Verifications in API Server for VN ctest-vn-50325933 passed
2026-11-29 23:53:41,615 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/fed491a0-9688-4890-a4ef-c9c77d61ccb1
2026-11-29 23:53:41,624 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/12908ac5-4471-4538-85ee-6f301c118487
2026-11-29 23:53:41,631 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/12908ac5-4471-4538-85ee-6f301c118487
2026-11-29 23:53:41,637 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/a26e76a9-8d05-4ea3-b671-4a68a23d38ef
2026-11-29 23:53:41,647 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-60411432:ctest-vn-50325933', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-60411432', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18362461699602663568', 'uuid-lslong': '11884939800293264561'}, 'enable': 'true', 'created': '2026-11-29T23:53:39', 'last-modified': '2026-11-29T23:53:40', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.499391'}
2026-11-29 23:53:41,653 - DEBUG - Route Targets: ['target:64512:8000006']
2026-11-29 23:53:41,653 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-50325933 passed
2026-11-29 23:53:41,654 - DEBUG - ====Verifying policy data for ctest-vn-50325933 in API_Server ======
2026-11-29 23:53:41,654 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-11-29 23:53:41,659 - DEBUG - Requesting: http://10.0.0.50:8082/domain/2b190422-1598-4ac3-b68b-4967754f97b6
2026-11-29 23:53:41,669 - DEBUG - Requesting: http://10.0.0.50:8082/project/cea34cea-34e5-42b3-b3fd-eb0adeda0354
2026-11-29 23:53:41,743 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/fed491a0-9688-4890-a4ef-c9c77d61ccb1
2026-11-29 23:53:41,752 - DEBUG - ==>Verifying data for policy with id: 1b925e37-77ac-4e3b-a3b3-e76993e66256, fqn: ['default-domain', 'ctest-TestBasicPolicy-60411432', 'ctest-policy-allow-all-19462200']
2026-11-29 23:53:41,752 - INFO - VN ctest-vn-50325933 Policy verification: verify_vn_policy_in_api_server, status: True
2026-11-29 23:53:41,753 - DEBUG - Verifying the vn in opserver
2026-11-29 23:53:41,753 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-60411432:ctest-vn-50325933 virtual network link through opserver 10.0.0.50
2026-11-29 23:53:41,753 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-11-29 23:53:41,763 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-60411432:ctest-vn-50325933', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-60411432:ctest-vn-50325933?flat'}
2026-11-29 23:53:41,763 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-60411432:ctest-vn-50325933 is found in opserver
2026-11-29 23:53:41,773 - DEBUG - Do not have enough data to verify VN in agent
2026-11-29 23:53:41,777 - DEBUG - VRF ids for VN ctest-vn-50325933: {}
2026-11-29 23:53:41,836 - DEBUG - Services list from nova: [