2026-03-26 02:32:13,353 - INFO - Domain Default found not creating
2026-03-26 02:32:13,833 - INFO - Project ctest-TestBasicPolicy-72456153 not found, creating it
2026-03-26 02:32:14,517 - INFO - Created Project:ctest-TestBasicPolicy-72456153, ID : e9544da3-c63c-4eea-a31c-acab46e9b85d
2026-03-26 02:32:16,795 - INFO - ================================================================================
2026-03-26 02:32:16,795 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-03-26 02:32:16,796 - 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-03-26 02:32:17,109 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.252': '0'}} with
2026-03-26 02:32:17,110 - INFO - Initial checks done. Running the testcase now
2026-03-26 02:32:17,110 - INFO -
2026-03-26 02:32:17,933 - DEBUG - Response for create_network : {'network': {'id': 'bcbc606a-366d-468b-aff8-6c4df2d1f44f', 'name': 'ctest-vn-81800175', 'tenant_id': 'e9544da3c63c4eeaa31cacab46e9b85d', 'project_id': 'e9544da3c63c4eeaa31cacab46e9b85d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-72456153', 'ctest-vn-81800175'], 'port_security_enabled': True, 'description': ''}}
2026-03-26 02:32:18,109 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c2febb0b-664f-435f-95e7-1c1e18c27cdf', 'name': '', 'tenant_id': 'e9544da3c63c4eeaa31cacab46e9b85d', 'network_id': 'bcbc606a-366d-468b-aff8-6c4df2d1f44f', 'ip_version': 4, 'cidr': '90.62.117.64/26', 'allocation_pools': [{'start': '90.62.117.66', 'end': '90.62.117.126'}], 'gateway_ip': '90.62.117.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '90.62.117.66', 'tags': [], 'project_id': 'e9544da3c63c4eeaa31cacab46e9b85d'}}
2026-03-26 02:32:18,135 - INFO - Created VN ctest-vn-81800175
2026-03-26 02:32:18,192 - DEBUG - VN ctest-vn-81800175 UUID is bcbc606a-366d-468b-aff8-6c4df2d1f44f
2026-03-26 02:32:18,667 - DEBUG - Response for create_network : {'network': {'id': '85d117ed-b8ac-4888-8489-6ad8210f115d', 'name': 'ctest-vn-79510677', 'tenant_id': 'e9544da3c63c4eeaa31cacab46e9b85d', 'project_id': 'e9544da3c63c4eeaa31cacab46e9b85d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-72456153', 'ctest-vn-79510677'], 'port_security_enabled': True, 'description': ''}}
2026-03-26 02:32:18,888 - DEBUG - Response for create_subnet : {'subnet': {'id': 'db4965ac-44ba-4320-af59-d55590ac8c6b', 'name': '', 'tenant_id': 'e9544da3c63c4eeaa31cacab46e9b85d', 'network_id': '85d117ed-b8ac-4888-8489-6ad8210f115d', 'ip_version': 4, 'cidr': '61.224.108.64/26', 'allocation_pools': [{'start': '61.224.108.66', 'end': '61.224.108.126'}], 'gateway_ip': '61.224.108.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '61.224.108.66', 'tags': [], 'project_id': 'e9544da3c63c4eeaa31cacab46e9b85d'}}
2026-03-26 02:32:18,918 - INFO - Created VN ctest-vn-79510677
2026-03-26 02:32:18,975 - DEBUG - VN ctest-vn-79510677 UUID is 85d117ed-b8ac-4888-8489-6ad8210f115d
2026-03-26 02:32:19,106 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-72456153:ctest-vn-81800175, 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-72456153:ctest-vn-79510677, 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-03-26 02:32:19,580 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'bcbc606a-366d-468b-aff8-6c4df2d1f44f', 'name': 'ctest-vn-81800175', 'tenant_id': 'e9544da3c63c4eeaa31cacab46e9b85d', 'project_id': 'e9544da3c63c4eeaa31cacab46e9b85d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c2febb0b-664f-435f-95e7-1c1e18c27cdf'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-72456153', 'ctest-vn-81800175'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-72456153', 'ctest-policy-allow-all-19631858']], 'subnet_ipam': [{'subnet_cidr': '90.62.117.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-03-26 02:32:19,930 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '85d117ed-b8ac-4888-8489-6ad8210f115d', 'name': 'ctest-vn-79510677', 'tenant_id': 'e9544da3c63c4eeaa31cacab46e9b85d', 'project_id': 'e9544da3c63c4eeaa31cacab46e9b85d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['db4965ac-44ba-4320-af59-d55590ac8c6b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-72456153', 'ctest-vn-79510677'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-72456153', 'ctest-policy-allow-all-19631858']], 'subnet_ipam': [{'subnet_cidr': '61.224.108.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-03-26 02:32:20,107 - DEBUG - Requesting: http://10.0.0.27:8082/domains
2026-03-26 02:32:20,434 - DEBUG - Requesting: http://10.0.0.27:8082/domains
2026-03-26 02:32:20,498 - DEBUG - Requesting: http://10.0.0.27:8082/domain/1c8217f5-6392-46c0-b62e-ef1e3b54d1ed
2026-03-26 02:32:20,524 - DEBUG - Requesting: http://10.0.0.27:8082/project/e9544da3-c63c-4eea-a31c-acab46e9b85d
2026-03-26 02:32:20,643 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/bcbc606a-366d-468b-aff8-6c4df2d1f44f
2026-03-26 02:32:20,664 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/bcbc606a-366d-468b-aff8-6c4df2d1f44f
2026-03-26 02:32:20,680 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/0873d58b-3662-4e8f-be10-f45f13bc7f8f
2026-03-26 02:32:20,693 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/0873d58b-3662-4e8f-be10-f45f13bc7f8f
2026-03-26 02:32:20,706 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/ef40bba7-64bc-432c-bce0-2bf9723a5095
2026-03-26 02:32:20,717 - DEBUG - Route Targets: ['target:64512:8000004']
2026-03-26 02:32:20,717 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/bcbc606a-366d-468b-aff8-6c4df2d1f44f
2026-03-26 02:32:20,736 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/0873d58b-3662-4e8f-be10-f45f13bc7f8f
2026-03-26 02:32:20,765 - INFO - Verified VN network id 11 for VN bcbc606a-366d-468b-aff8-6c4df2d1f44f
2026-03-26 02:32:20,766 - INFO - Verifications in API Server for VN ctest-vn-81800175 passed
2026-03-26 02:32:20,766 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/bcbc606a-366d-468b-aff8-6c4df2d1f44f
2026-03-26 02:32:20,783 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/0873d58b-3662-4e8f-be10-f45f13bc7f8f
2026-03-26 02:32:20,798 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/0873d58b-3662-4e8f-be10-f45f13bc7f8f
2026-03-26 02:32:20,809 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/ef40bba7-64bc-432c-bce0-2bf9723a5095
2026-03-26 02:32:20,826 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-72456153:ctest-vn-81800175', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-72456153', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13599850984047986315', 'uuid-lslong': '12680003832903758927'}, 'enable': 'true', 'created': '2026-03-26T02:32:17', 'last-modified': '2026-03-26T02:32:19', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.297336'}
2026-03-26 02:32:20,835 - DEBUG - Route Targets: ['target:64512:8000004']
2026-03-26 02:32:20,835 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-81800175 passed
2026-03-26 02:32:20,835 - DEBUG - ====Verifying policy data for ctest-vn-81800175 in API_Server ======
2026-03-26 02:32:20,836 - DEBUG - Requesting: http://10.0.0.27:8082/domains
2026-03-26 02:32:20,844 - DEBUG - Requesting: http://10.0.0.27:8082/domain/1c8217f5-6392-46c0-b62e-ef1e3b54d1ed
2026-03-26 02:32:20,866 - DEBUG - Requesting: http://10.0.0.27:8082/project/e9544da3-c63c-4eea-a31c-acab46e9b85d
2026-03-26 02:32:20,950 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/bcbc606a-366d-468b-aff8-6c4df2d1f44f
2026-03-26 02:32:20,962 - DEBUG - ==>Verifying data for policy with id: 693d97e4-f13e-4b05-a9ae-bf780c14924f, fqn: ['default-domain', 'ctest-TestBasicPolicy-72456153', 'ctest-policy-allow-all-19631858']
2026-03-26 02:32:20,962 - INFO - VN ctest-vn-81800175 Policy verification: verify_vn_policy_in_api_server, status: True
2026-03-26 02:32:20,962 - DEBUG - Verifying the vn in opserver
2026-03-26 02:32:20,962 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-72456153:ctest-vn-81800175 virtual network link through opserver 10.0.0.27
2026-03-26 02:32:20,962 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks
2026-03-26 02:32:21,258 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks
2026-03-26 02:32:21,356 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-72456153:ctest-vn-81800175', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-72456153:ctest-vn-81800175?flat'}
2026-03-26 02:32:21,356 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-72456153:ctest-vn-81800175 is found in opserver
2026-03-26 02:32:21,377 - DEBUG - Do not have enough data to verify VN in agent
2026-03-26 02:32:21,387 - DEBUG - VRF ids for VN ctest-vn-81800175: {}
2026-03-26 02:32:21,387 - DEBUG - Requesting: http://10.0.0.27:8082/domains
2026-03-26 02:32:21,396 - DEBUG - Requesting: http://10.0.0.27:8082/domain/1c8217f5-6392-46c0-b62e-ef1e3b54d1ed
2026-03-26 02:32:21,430 - DEBUG - Requesting: http://10.0.0.27:8082/project/e9544da3-c63c-4eea-a31c-acab46e9b85d
2026-03-26 02:32:21,534 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/85d117ed-b8ac-4888-8489-6ad8210f115d
2026-03-26 02:32:21,558 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/85d117ed-b8ac-4888-8489-6ad8210f115d
2026-03-26 02:32:21,572 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/c356016d-fff4-43f2-a579-a0d32d017428
2026-03-26 02:32:21,583 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/c356016d-fff4-43f2-a579-a0d32d017428
2026-03-26 02:32:21,597 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/3f65bf26-9312-425a-9513-fa68d8d58ba7
2026-03-26 02:32:21,613 - DEBUG - Route Targets: ['target:64512:8000005']
2026-03-26 02:32:21,614 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/85d117ed-b8ac-4888-8489-6ad8210f115d
2026-03-26 02:32:21,637 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/c356016d-fff4-43f2-a579-a0d32d017428
2026-03-26 02:32:21,661 - INFO - Verified VN network id 12 for VN 85d117ed-b8ac-4888-8489-6ad8210f115d
2026-03-26 02:32:21,661 - INFO - Verifications in API Server for VN ctest-vn-79510677 passed
2026-03-26 02:32:21,661 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/85d117ed-b8ac-4888-8489-6ad8210f115d
2026-03-26 02:32:21,677 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/c356016d-fff4-43f2-a579-a0d32d017428
2026-03-26 02:32:21,695 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/c356016d-fff4-43f2-a579-a0d32d017428
2026-03-26 02:32:21,711 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/3f65bf26-9312-425a-9513-fa68d8d58ba7
2026-03-26 02:32:21,730 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-72456153:ctest-vn-79510677', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-72456153', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9642514586949929096', 'uuid-lslong': '9550281961315963229'}, 'enable': 'true', 'created': '2026-03-26T02:32:18', 'last-modified': '2026-03-26T02:32:19', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.845906'}
2026-03-26 02:32:21,743 - DEBUG - Route Targets: ['target:64512:8000005']
2026-03-26 02:32:21,743 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-79510677 passed
2026-03-26 02:32:21,743 - DEBUG - ====Verifying policy data for ctest-vn-79510677 in API_Server ======
2026-03-26 02:32:21,744 - DEBUG - Requesting: http://10.0.0.27:8082/domains
2026-03-26 02:32:21,752 - DEBUG - Requesting: http://10.0.0.27:8082/domain/1c8217f5-6392-46c0-b62e-ef1e3b54d1ed
2026-03-26 02:32:21,767 - DEBUG - Requesting: http://10.0.0.27:8082/project/e9544da3-c63c-4eea-a31c-acab46e9b85d
2026-03-26 02:32:21,860 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/85d117ed-b8ac-4888-8489-6ad8210f115d
2026-03-26 02:32:21,882 - DEBUG - ==>Verifying data for policy with id: 693d97e4-f13e-4b05-a9ae-bf780c14924f, fqn: ['default-domain', 'ctest-TestBasicPolicy-72456153', 'ctest-policy-allow-all-19631858']
2026-03-26 02:32:21,882 - INFO - VN ctest-vn-79510677 Policy verification: verify_vn_policy_in_api_server, status: True
2026-03-26 02:32:21,882 - DEBUG - Verifying the vn in opserver
2026-03-26 02:32:21,882 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-72456153:ctest-vn-79510677 virtual network link through opserver 10.0.0.27
2026-03-26 02:32:21,882 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks
2026-03-26 02:32:21,904 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-72456153:ctest-vn-79510677', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-72456153:ctest-vn-79510677?flat'}
2026-03-26 02:32:21,904 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-72456153:ctest-vn-79510677 is found in opserver
2026-03-26 02:32:21,920 - DEBUG - Do not have enough data to verify VN in agent
2026-03-26 02:32:21,928 - DEBUG - VRF ids for VN ctest-vn-79510677: {}
2026-03-26 02:32:22,053 - DEBUG - Services list from nova: [