2026-05-28 02:06:04,816 - INFO - Domain Default found not creating
2026-05-28 02:06:04,997 - INFO - Project ctest-TestBasicPolicy-81117197 not found, creating it
2026-05-28 02:06:05,473 - INFO - Created Project:ctest-TestBasicPolicy-81117197, ID : e54e52ae-c354-4a4c-bfbe-5695636646c1
2026-05-28 02:06:06,956 - INFO - ================================================================================
2026-05-28 02:06:06,956 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-05-28 02:06:06,956 - 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-05-28 02:06:07,212 - DEBUG - Nothing to compare xmpp stats {'10.0.0.73': {'10.20.0.201': '0'}} with
2026-05-28 02:06:07,212 - INFO - Initial checks done. Running the testcase now
2026-05-28 02:06:07,212 - INFO -
2026-05-28 02:06:07,761 - DEBUG - Response for create_network : {'network': {'id': '82cff884-fc85-4bb7-b5c0-60943b286e5b', 'name': 'ctest-vn-02984729', 'tenant_id': 'e54e52aec3544a4cbfbe5695636646c1', 'project_id': 'e54e52aec3544a4cbfbe5695636646c1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-81117197', 'ctest-vn-02984729'], 'port_security_enabled': True, 'description': ''}}
2026-05-28 02:06:07,962 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cc0727f3-6b96-4067-b7a6-a444a1606e4f', 'name': '', 'tenant_id': 'e54e52aec3544a4cbfbe5695636646c1', 'network_id': '82cff884-fc85-4bb7-b5c0-60943b286e5b', 'ip_version': 4, 'cidr': '57.33.187.64/26', 'allocation_pools': [{'start': '57.33.187.66', 'end': '57.33.187.126'}], 'gateway_ip': '57.33.187.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '57.33.187.66', 'tags': [], 'project_id': 'e54e52aec3544a4cbfbe5695636646c1'}}
2026-05-28 02:06:07,979 - INFO - Created VN ctest-vn-02984729
2026-05-28 02:06:08,031 - DEBUG - VN ctest-vn-02984729 UUID is 82cff884-fc85-4bb7-b5c0-60943b286e5b
2026-05-28 02:06:08,337 - DEBUG - Response for create_network : {'network': {'id': 'dccfb843-ae5e-4d7c-b452-118723fcf72f', 'name': 'ctest-vn-62010453', 'tenant_id': 'e54e52aec3544a4cbfbe5695636646c1', 'project_id': 'e54e52aec3544a4cbfbe5695636646c1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-81117197', 'ctest-vn-62010453'], 'port_security_enabled': True, 'description': ''}}
2026-05-28 02:06:08,538 - DEBUG - Response for create_subnet : {'subnet': {'id': '52095b1e-421e-43d0-a311-0ee7c1fc8ea2', 'name': '', 'tenant_id': 'e54e52aec3544a4cbfbe5695636646c1', 'network_id': 'dccfb843-ae5e-4d7c-b452-118723fcf72f', 'ip_version': 4, 'cidr': '140.224.95.128/26', 'allocation_pools': [{'start': '140.224.95.130', 'end': '140.224.95.190'}], 'gateway_ip': '140.224.95.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '140.224.95.130', 'tags': [], 'project_id': 'e54e52aec3544a4cbfbe5695636646c1'}}
2026-05-28 02:06:08,553 - INFO - Created VN ctest-vn-62010453
2026-05-28 02:06:08,603 - DEBUG - VN ctest-vn-62010453 UUID is dccfb843-ae5e-4d7c-b452-118723fcf72f
2026-05-28 02:06:08,755 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-81117197:ctest-vn-02984729, 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-81117197:ctest-vn-62010453, 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-05-28 02:06:09,044 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '82cff884-fc85-4bb7-b5c0-60943b286e5b', 'name': 'ctest-vn-02984729', 'tenant_id': 'e54e52aec3544a4cbfbe5695636646c1', 'project_id': 'e54e52aec3544a4cbfbe5695636646c1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['cc0727f3-6b96-4067-b7a6-a444a1606e4f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-81117197', 'ctest-vn-02984729'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-81117197', 'ctest-policy-allow-all-44023607']], 'subnet_ipam': [{'subnet_cidr': '57.33.187.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-05-28 02:06:09,263 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'dccfb843-ae5e-4d7c-b452-118723fcf72f', 'name': 'ctest-vn-62010453', 'tenant_id': 'e54e52aec3544a4cbfbe5695636646c1', 'project_id': 'e54e52aec3544a4cbfbe5695636646c1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['52095b1e-421e-43d0-a311-0ee7c1fc8ea2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-81117197', 'ctest-vn-62010453'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-81117197', 'ctest-policy-allow-all-44023607']], 'subnet_ipam': [{'subnet_cidr': '140.224.95.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-05-28 02:06:09,435 - DEBUG - Requesting: http://10.0.0.73:8082/domains
2026-05-28 02:06:09,731 - DEBUG - Requesting: http://10.0.0.73:8082/domains
2026-05-28 02:06:09,759 - DEBUG - Requesting: http://10.0.0.73:8082/domain/e6ce87d3-0673-4d59-8833-edc88ea47cbf
2026-05-28 02:06:09,770 - DEBUG - Requesting: http://10.0.0.73:8082/project/e54e52ae-c354-4a4c-bfbe-5695636646c1
2026-05-28 02:06:09,845 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/82cff884-fc85-4bb7-b5c0-60943b286e5b
2026-05-28 02:06:09,855 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/82cff884-fc85-4bb7-b5c0-60943b286e5b
2026-05-28 02:06:09,864 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/cf2ab976-334c-4e0d-9e4f-a482044c672b
2026-05-28 02:06:09,871 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/cf2ab976-334c-4e0d-9e4f-a482044c672b
2026-05-28 02:06:09,877 - DEBUG - Requesting: http://10.0.0.73:8082/route-target/7ec4d906-9172-4a47-a5f0-a4690dba40e1
2026-05-28 02:06:09,884 - DEBUG - Route Targets: ['target:64512:8000004']
2026-05-28 02:06:09,884 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/82cff884-fc85-4bb7-b5c0-60943b286e5b
2026-05-28 02:06:09,893 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/cf2ab976-334c-4e0d-9e4f-a482044c672b
2026-05-28 02:06:09,908 - INFO - Verified VN network id 11 for VN 82cff884-fc85-4bb7-b5c0-60943b286e5b
2026-05-28 02:06:09,908 - INFO - Verifications in API Server for VN ctest-vn-02984729 passed
2026-05-28 02:06:09,908 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/82cff884-fc85-4bb7-b5c0-60943b286e5b
2026-05-28 02:06:09,916 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/cf2ab976-334c-4e0d-9e4f-a482044c672b
2026-05-28 02:06:09,923 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/cf2ab976-334c-4e0d-9e4f-a482044c672b
2026-05-28 02:06:09,930 - DEBUG - Requesting: http://10.0.0.73:8082/route-target/7ec4d906-9172-4a47-a5f0-a4690dba40e1
2026-05-28 02:06:09,943 - DEBUG - Control-node 10.0.0.73 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-81117197:ctest-vn-02984729', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-81117197', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9426025795165703095', 'uuid-lslong': '13096573906157334107'}, 'enable': 'true', 'created': '2026-05-28T02:06:07', 'last-modified': '2026-05-28T02:06:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.914345'}
2026-05-28 02:06:09,949 - DEBUG - Route Targets: ['target:64512:8000004']
2026-05-28 02:06:09,949 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-02984729 passed
2026-05-28 02:06:09,949 - DEBUG - ====Verifying policy data for ctest-vn-02984729 in API_Server ======
2026-05-28 02:06:09,949 - DEBUG - Requesting: http://10.0.0.73:8082/domains
2026-05-28 02:06:09,954 - DEBUG - Requesting: http://10.0.0.73:8082/domain/e6ce87d3-0673-4d59-8833-edc88ea47cbf
2026-05-28 02:06:09,967 - DEBUG - Requesting: http://10.0.0.73:8082/project/e54e52ae-c354-4a4c-bfbe-5695636646c1
2026-05-28 02:06:10,036 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/82cff884-fc85-4bb7-b5c0-60943b286e5b
2026-05-28 02:06:10,045 - DEBUG - ==>Verifying data for policy with id: 4a64a332-4f0b-43f5-a52c-3f6837733b18, fqn: ['default-domain', 'ctest-TestBasicPolicy-81117197', 'ctest-policy-allow-all-44023607']
2026-05-28 02:06:10,045 - INFO - VN ctest-vn-02984729 Policy verification: verify_vn_policy_in_api_server, status: True
2026-05-28 02:06:10,045 - DEBUG - Verifying the vn in opserver
2026-05-28 02:06:10,045 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-81117197:ctest-vn-02984729 virtual network link through opserver 10.0.0.73
2026-05-28 02:06:10,045 - DEBUG - Requesting: http://10.0.0.73:8081/analytics/uves/virtual-networks
2026-05-28 02:06:10,338 - DEBUG - Requesting: http://10.0.0.73:8081/analytics/uves/virtual-networks
2026-05-28 02:06:10,400 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-81117197:ctest-vn-02984729', 'href': 'http://10.0.0.73:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-81117197:ctest-vn-02984729?flat'}
2026-05-28 02:06:10,400 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-81117197:ctest-vn-02984729 is found in opserver
2026-05-28 02:06:10,409 - DEBUG - Do not have enough data to verify VN in agent
2026-05-28 02:06:10,413 - DEBUG - VRF ids for VN ctest-vn-02984729: {}
2026-05-28 02:06:10,413 - DEBUG - Requesting: http://10.0.0.73:8082/domains
2026-05-28 02:06:10,418 - DEBUG - Requesting: http://10.0.0.73:8082/domain/e6ce87d3-0673-4d59-8833-edc88ea47cbf
2026-05-28 02:06:10,428 - DEBUG - Requesting: http://10.0.0.73:8082/project/e54e52ae-c354-4a4c-bfbe-5695636646c1
2026-05-28 02:06:10,496 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/dccfb843-ae5e-4d7c-b452-118723fcf72f
2026-05-28 02:06:10,507 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/dccfb843-ae5e-4d7c-b452-118723fcf72f
2026-05-28 02:06:10,516 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/d782ea7b-06ef-4992-a934-fcf9ed029319
2026-05-28 02:06:10,523 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/d782ea7b-06ef-4992-a934-fcf9ed029319
2026-05-28 02:06:10,530 - DEBUG - Requesting: http://10.0.0.73:8082/route-target/40c7516b-02bf-49e0-b2ab-a2dc7fdc4bea
2026-05-28 02:06:10,537 - DEBUG - Route Targets: ['target:64512:8000005']
2026-05-28 02:06:10,537 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/dccfb843-ae5e-4d7c-b452-118723fcf72f
2026-05-28 02:06:10,547 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/d782ea7b-06ef-4992-a934-fcf9ed029319
2026-05-28 02:06:10,560 - INFO - Verified VN network id 12 for VN dccfb843-ae5e-4d7c-b452-118723fcf72f
2026-05-28 02:06:10,560 - INFO - Verifications in API Server for VN ctest-vn-62010453 passed
2026-05-28 02:06:10,560 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/dccfb843-ae5e-4d7c-b452-118723fcf72f
2026-05-28 02:06:10,569 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/d782ea7b-06ef-4992-a934-fcf9ed029319
2026-05-28 02:06:10,575 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/d782ea7b-06ef-4992-a934-fcf9ed029319
2026-05-28 02:06:10,582 - DEBUG - Requesting: http://10.0.0.73:8082/route-target/40c7516b-02bf-49e0-b2ab-a2dc7fdc4bea
2026-05-28 02:06:10,592 - DEBUG - Control-node 10.0.0.73 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-81117197:ctest-vn-62010453', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-81117197', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15911138609350987132', 'uuid-lslong': '12993467147039340335'}, 'enable': 'true', 'created': '2026-05-28T02:06:08', 'last-modified': '2026-05-28T02:06:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.350473'}
2026-05-28 02:06:10,598 - DEBUG - Route Targets: ['target:64512:8000005']
2026-05-28 02:06:10,598 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-62010453 passed
2026-05-28 02:06:10,598 - DEBUG - ====Verifying policy data for ctest-vn-62010453 in API_Server ======
2026-05-28 02:06:10,598 - DEBUG - Requesting: http://10.0.0.73:8082/domains
2026-05-28 02:06:10,603 - DEBUG - Requesting: http://10.0.0.73:8082/domain/e6ce87d3-0673-4d59-8833-edc88ea47cbf
2026-05-28 02:06:10,614 - DEBUG - Requesting: http://10.0.0.73:8082/project/e54e52ae-c354-4a4c-bfbe-5695636646c1
2026-05-28 02:06:10,683 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/dccfb843-ae5e-4d7c-b452-118723fcf72f
2026-05-28 02:06:10,691 - DEBUG - ==>Verifying data for policy with id: 4a64a332-4f0b-43f5-a52c-3f6837733b18, fqn: ['default-domain', 'ctest-TestBasicPolicy-81117197', 'ctest-policy-allow-all-44023607']
2026-05-28 02:06:10,691 - INFO - VN ctest-vn-62010453 Policy verification: verify_vn_policy_in_api_server, status: True
2026-05-28 02:06:10,691 - DEBUG - Verifying the vn in opserver
2026-05-28 02:06:10,691 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-81117197:ctest-vn-62010453 virtual network link through opserver 10.0.0.73
2026-05-28 02:06:10,691 - DEBUG - Requesting: http://10.0.0.73:8081/analytics/uves/virtual-networks
2026-05-28 02:06:10,699 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-81117197:ctest-vn-62010453', 'href': 'http://10.0.0.73:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-81117197:ctest-vn-62010453?flat'}
2026-05-28 02:06:10,700 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-81117197:ctest-vn-62010453 is found in opserver
2026-05-28 02:06:10,708 - DEBUG - Do not have enough data to verify VN in agent
2026-05-28 02:06:10,712 - DEBUG - VRF ids for VN ctest-vn-62010453: {}
2026-05-28 02:06:10,768 - DEBUG - Services list from nova: [