2026-07-17 21:57:21,571 - INFO - Domain Default found not creating
2026-07-17 21:57:21,723 - INFO - Project ctest-TestBasicPolicy-47455816 not found, creating it
2026-07-17 21:57:22,188 - INFO - Created Project:ctest-TestBasicPolicy-47455816, ID : 8328bea5-871d-4c26-a083-1626f9c2934b
2026-07-17 21:57:23,714 - INFO - ================================================================================
2026-07-17 21:57:23,714 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-07-17 21:57:23,714 - 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-17 21:57:23,976 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.17': '0'}} with
2026-07-17 21:57:23,976 - INFO - Initial checks done. Running the testcase now
2026-07-17 21:57:23,976 - INFO -
2026-07-17 21:57:24,630 - DEBUG - Response for create_network : {'network': {'id': 'f980b51a-ea64-49f5-9ee5-4c66e025e1f6', 'name': 'ctest-vn-23987934', 'tenant_id': '8328bea5871d4c26a0831626f9c2934b', 'project_id': '8328bea5871d4c26a0831626f9c2934b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-47455816', 'ctest-vn-23987934'], 'port_security_enabled': True, 'description': ''}}
2026-07-17 21:57:24,789 - DEBUG - Response for create_subnet : {'subnet': {'id': 'daaeaaee-7c6f-4278-87dc-775063fd1f6a', 'name': '', 'tenant_id': '8328bea5871d4c26a0831626f9c2934b', 'network_id': 'f980b51a-ea64-49f5-9ee5-4c66e025e1f6', 'ip_version': 4, 'cidr': '68.211.211.0/26', 'allocation_pools': [{'start': '68.211.211.2', 'end': '68.211.211.62'}], 'gateway_ip': '68.211.211.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '68.211.211.2', 'tags': [], 'project_id': '8328bea5871d4c26a0831626f9c2934b'}}
2026-07-17 21:57:24,806 - INFO - Created VN ctest-vn-23987934
2026-07-17 21:57:24,858 - DEBUG - VN ctest-vn-23987934 UUID is f980b51a-ea64-49f5-9ee5-4c66e025e1f6
2026-07-17 21:57:25,228 - DEBUG - Response for create_network : {'network': {'id': '96fe1ee1-9e1d-418d-8213-c4b1460139b4', 'name': 'ctest-vn-10019190', 'tenant_id': '8328bea5871d4c26a0831626f9c2934b', 'project_id': '8328bea5871d4c26a0831626f9c2934b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-47455816', 'ctest-vn-10019190'], 'port_security_enabled': True, 'description': ''}}
2026-07-17 21:57:25,441 - DEBUG - Response for create_subnet : {'subnet': {'id': '5224c8fd-95bb-4275-8b5f-eb887689fa2c', 'name': '', 'tenant_id': '8328bea5871d4c26a0831626f9c2934b', 'network_id': '96fe1ee1-9e1d-418d-8213-c4b1460139b4', 'ip_version': 4, 'cidr': '173.93.254.192/26', 'allocation_pools': [{'start': '173.93.254.194', 'end': '173.93.254.254'}], 'gateway_ip': '173.93.254.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '173.93.254.194', 'tags': [], 'project_id': '8328bea5871d4c26a0831626f9c2934b'}}
2026-07-17 21:57:25,460 - INFO - Created VN ctest-vn-10019190
2026-07-17 21:57:25,514 - DEBUG - VN ctest-vn-10019190 UUID is 96fe1ee1-9e1d-418d-8213-c4b1460139b4
2026-07-17 21:57:25,666 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-47455816:ctest-vn-23987934, 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-47455816:ctest-vn-10019190, 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-17 21:57:25,981 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f980b51a-ea64-49f5-9ee5-4c66e025e1f6', 'name': 'ctest-vn-23987934', 'tenant_id': '8328bea5871d4c26a0831626f9c2934b', 'project_id': '8328bea5871d4c26a0831626f9c2934b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['daaeaaee-7c6f-4278-87dc-775063fd1f6a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-47455816', 'ctest-vn-23987934'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-47455816', 'ctest-policy-allow-all-32624796']], 'subnet_ipam': [{'subnet_cidr': '68.211.211.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-07-17 21:57:26,245 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '96fe1ee1-9e1d-418d-8213-c4b1460139b4', 'name': 'ctest-vn-10019190', 'tenant_id': '8328bea5871d4c26a0831626f9c2934b', 'project_id': '8328bea5871d4c26a0831626f9c2934b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5224c8fd-95bb-4275-8b5f-eb887689fa2c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-47455816', 'ctest-vn-10019190'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-47455816', 'ctest-policy-allow-all-32624796']], 'subnet_ipam': [{'subnet_cidr': '173.93.254.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-07-17 21:57:26,430 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2026-07-17 21:57:26,756 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2026-07-17 21:57:26,788 - DEBUG - Requesting: http://10.0.0.242:8082/domain/217e0cdf-de7f-454c-afcb-a4e24371dfad
2026-07-17 21:57:26,800 - DEBUG - Requesting: http://10.0.0.242:8082/project/8328bea5-871d-4c26-a083-1626f9c2934b
2026-07-17 21:57:26,881 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/f980b51a-ea64-49f5-9ee5-4c66e025e1f6
2026-07-17 21:57:26,898 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/f980b51a-ea64-49f5-9ee5-4c66e025e1f6
2026-07-17 21:57:26,910 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/e9536318-df21-4483-887a-96520c739897
2026-07-17 21:57:26,918 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/e9536318-df21-4483-887a-96520c739897
2026-07-17 21:57:26,926 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/e86e8927-53c3-4322-acf2-f1b9eda4eca6
2026-07-17 21:57:26,934 - DEBUG - Route Targets: ['target:64512:8000004']
2026-07-17 21:57:26,934 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/f980b51a-ea64-49f5-9ee5-4c66e025e1f6
2026-07-17 21:57:26,945 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/e9536318-df21-4483-887a-96520c739897
2026-07-17 21:57:26,964 - INFO - Verified VN network id 11 for VN f980b51a-ea64-49f5-9ee5-4c66e025e1f6
2026-07-17 21:57:26,964 - INFO - Verifications in API Server for VN ctest-vn-23987934 passed
2026-07-17 21:57:26,964 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/f980b51a-ea64-49f5-9ee5-4c66e025e1f6
2026-07-17 21:57:26,975 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/e9536318-df21-4483-887a-96520c739897
2026-07-17 21:57:26,984 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/e9536318-df21-4483-887a-96520c739897
2026-07-17 21:57:26,994 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/e86e8927-53c3-4322-acf2-f1b9eda4eca6
2026-07-17 21:57:27,007 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-47455816:ctest-vn-23987934', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-47455816', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17978568839669238261', 'uuid-lslong': '11449641632390308342'}, 'enable': 'true', 'created': '2026-07-17T21:57:24', 'last-modified': '2026-07-17T21:57:25', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.056584'}
2026-07-17 21:57:27,015 - DEBUG - Route Targets: ['target:64512:8000004']
2026-07-17 21:57:27,015 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-23987934 passed
2026-07-17 21:57:27,015 - DEBUG - ====Verifying policy data for ctest-vn-23987934 in API_Server ======
2026-07-17 21:57:27,015 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2026-07-17 21:57:27,021 - DEBUG - Requesting: http://10.0.0.242:8082/domain/217e0cdf-de7f-454c-afcb-a4e24371dfad
2026-07-17 21:57:27,032 - DEBUG - Requesting: http://10.0.0.242:8082/project/8328bea5-871d-4c26-a083-1626f9c2934b
2026-07-17 21:57:27,107 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/f980b51a-ea64-49f5-9ee5-4c66e025e1f6
2026-07-17 21:57:27,117 - DEBUG - ==>Verifying data for policy with id: fc260dc7-1c2a-4d90-b220-700bac0b9463, fqn: ['default-domain', 'ctest-TestBasicPolicy-47455816', 'ctest-policy-allow-all-32624796']
2026-07-17 21:57:27,117 - INFO - VN ctest-vn-23987934 Policy verification: verify_vn_policy_in_api_server, status: True
2026-07-17 21:57:27,117 - DEBUG - Verifying the vn in opserver
2026-07-17 21:57:27,117 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-47455816:ctest-vn-23987934 virtual network link through opserver 10.0.0.242
2026-07-17 21:57:27,117 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks
2026-07-17 21:57:27,447 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks
2026-07-17 21:57:27,560 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-47455816:ctest-vn-23987934', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-47455816:ctest-vn-23987934?flat'}
2026-07-17 21:57:27,560 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-47455816:ctest-vn-23987934 is found in opserver
2026-07-17 21:57:27,572 - DEBUG - Do not have enough data to verify VN in agent
2026-07-17 21:57:27,583 - DEBUG - VRF ids for VN ctest-vn-23987934: {}
2026-07-17 21:57:27,583 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2026-07-17 21:57:27,607 - DEBUG - Requesting: http://10.0.0.242:8082/domain/217e0cdf-de7f-454c-afcb-a4e24371dfad
2026-07-17 21:57:27,664 - DEBUG - Requesting: http://10.0.0.242:8082/project/8328bea5-871d-4c26-a083-1626f9c2934b
2026-07-17 21:57:27,763 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/96fe1ee1-9e1d-418d-8213-c4b1460139b4
2026-07-17 21:57:27,787 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/96fe1ee1-9e1d-418d-8213-c4b1460139b4
2026-07-17 21:57:27,800 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/c9906157-fd3a-4287-ac98-3c772544b377
2026-07-17 21:57:27,811 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/c9906157-fd3a-4287-ac98-3c772544b377
2026-07-17 21:57:27,823 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/54352635-778c-458a-8de7-79483607d898
2026-07-17 21:57:27,835 - DEBUG - Route Targets: ['target:64512:8000005']
2026-07-17 21:57:27,835 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/96fe1ee1-9e1d-418d-8213-c4b1460139b4
2026-07-17 21:57:27,853 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/c9906157-fd3a-4287-ac98-3c772544b377
2026-07-17 21:57:27,872 - INFO - Verified VN network id 12 for VN 96fe1ee1-9e1d-418d-8213-c4b1460139b4
2026-07-17 21:57:27,872 - INFO - Verifications in API Server for VN ctest-vn-10019190 passed
2026-07-17 21:57:27,872 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/96fe1ee1-9e1d-418d-8213-c4b1460139b4
2026-07-17 21:57:27,888 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/c9906157-fd3a-4287-ac98-3c772544b377
2026-07-17 21:57:27,901 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/c9906157-fd3a-4287-ac98-3c772544b377
2026-07-17 21:57:27,911 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/54352635-778c-458a-8de7-79483607d898
2026-07-17 21:57:27,935 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-47455816:ctest-vn-10019190', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-47455816', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10880167704142889357', 'uuid-lslong': '9373051515150875060'}, 'enable': 'true', 'created': '2026-07-17T21:57:25', 'last-modified': '2026-07-17T21:57:26', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.720295'}
2026-07-17 21:57:27,946 - DEBUG - Route Targets: ['target:64512:8000005']
2026-07-17 21:57:27,946 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-10019190 passed
2026-07-17 21:57:27,946 - DEBUG - ====Verifying policy data for ctest-vn-10019190 in API_Server ======
2026-07-17 21:57:27,947 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2026-07-17 21:57:27,959 - DEBUG - Requesting: http://10.0.0.242:8082/domain/217e0cdf-de7f-454c-afcb-a4e24371dfad
2026-07-17 21:57:28,033 - DEBUG - Requesting: http://10.0.0.242:8082/project/8328bea5-871d-4c26-a083-1626f9c2934b
2026-07-17 21:57:28,182 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/96fe1ee1-9e1d-418d-8213-c4b1460139b4
2026-07-17 21:57:28,207 - DEBUG - ==>Verifying data for policy with id: fc260dc7-1c2a-4d90-b220-700bac0b9463, fqn: ['default-domain', 'ctest-TestBasicPolicy-47455816', 'ctest-policy-allow-all-32624796']
2026-07-17 21:57:28,207 - INFO - VN ctest-vn-10019190 Policy verification: verify_vn_policy_in_api_server, status: True
2026-07-17 21:57:28,207 - DEBUG - Verifying the vn in opserver
2026-07-17 21:57:28,207 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-47455816:ctest-vn-10019190 virtual network link through opserver 10.0.0.242
2026-07-17 21:57:28,207 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks
2026-07-17 21:57:28,226 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-47455816:ctest-vn-10019190', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-47455816:ctest-vn-10019190?flat'}
2026-07-17 21:57:28,226 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-47455816:ctest-vn-10019190 is found in opserver
2026-07-17 21:57:28,241 - DEBUG - Do not have enough data to verify VN in agent
2026-07-17 21:57:28,250 - DEBUG - VRF ids for VN ctest-vn-10019190: {}
2026-07-17 21:57:28,343 - DEBUG - Services list from nova: [