2026-02-10 20:45:56,352 - INFO - Domain Default found not creating
2026-02-10 20:45:56,785 - INFO - Project ctest-TestBasicPolicy-53316915 not found, creating it
2026-02-10 20:45:57,543 - INFO - Created Project:ctest-TestBasicPolicy-53316915, ID : 795e34ef-2eeb-4807-a156-e9a61ec8c011
2026-02-10 20:45:59,793 - INFO - ================================================================================
2026-02-10 20:45:59,794 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-10 20:45:59,794 - 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-02-10 20:46:00,057 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with
2026-02-10 20:46:00,057 - INFO - Initial checks done. Running the testcase now
2026-02-10 20:46:00,057 - INFO -
2026-02-10 20:46:00,724 - DEBUG - Response for create_network : {'network': {'id': '7a240e4e-1e48-4106-9017-18741b40b130', 'name': 'ctest-vn-68953721', 'tenant_id': '795e34ef2eeb4807a156e9a61ec8c011', 'project_id': '795e34ef2eeb4807a156e9a61ec8c011', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-53316915', 'ctest-vn-68953721'], 'port_security_enabled': True, 'description': ''}}
2026-02-10 20:46:00,915 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cee5d208-03a8-4108-9b19-00eae28c33a4', 'name': '', 'tenant_id': '795e34ef2eeb4807a156e9a61ec8c011', 'network_id': '7a240e4e-1e48-4106-9017-18741b40b130', 'ip_version': 4, 'cidr': '17.87.218.192/26', 'allocation_pools': [{'start': '17.87.218.194', 'end': '17.87.218.254'}], 'gateway_ip': '17.87.218.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '17.87.218.194', 'tags': [], 'project_id': '795e34ef2eeb4807a156e9a61ec8c011'}}
2026-02-10 20:46:00,941 - INFO - Created VN ctest-vn-68953721
2026-02-10 20:46:01,020 - DEBUG - VN ctest-vn-68953721 UUID is 7a240e4e-1e48-4106-9017-18741b40b130
2026-02-10 20:46:01,405 - DEBUG - Response for create_network : {'network': {'id': 'd799091d-ce99-4f0d-9511-1eee472f6e35', 'name': 'ctest-vn-20642906', 'tenant_id': '795e34ef2eeb4807a156e9a61ec8c011', 'project_id': '795e34ef2eeb4807a156e9a61ec8c011', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-53316915', 'ctest-vn-20642906'], 'port_security_enabled': True, 'description': ''}}
2026-02-10 20:46:01,617 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b6cff23d-ee22-4828-9678-42c9f7cadd5a', 'name': '', 'tenant_id': '795e34ef2eeb4807a156e9a61ec8c011', 'network_id': 'd799091d-ce99-4f0d-9511-1eee472f6e35', 'ip_version': 4, 'cidr': '22.175.23.192/26', 'allocation_pools': [{'start': '22.175.23.194', 'end': '22.175.23.254'}], 'gateway_ip': '22.175.23.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '22.175.23.194', 'tags': [], 'project_id': '795e34ef2eeb4807a156e9a61ec8c011'}}
2026-02-10 20:46:01,634 - INFO - Created VN ctest-vn-20642906
2026-02-10 20:46:01,684 - DEBUG - VN ctest-vn-20642906 UUID is d799091d-ce99-4f0d-9511-1eee472f6e35
2026-02-10 20:46:01,841 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-53316915:ctest-vn-68953721, 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-53316915:ctest-vn-20642906, 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-02-10 20:46:02,218 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7a240e4e-1e48-4106-9017-18741b40b130', 'name': 'ctest-vn-68953721', 'tenant_id': '795e34ef2eeb4807a156e9a61ec8c011', 'project_id': '795e34ef2eeb4807a156e9a61ec8c011', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['cee5d208-03a8-4108-9b19-00eae28c33a4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-53316915', 'ctest-vn-68953721'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-53316915', 'ctest-policy-allow-all-52653262']], 'subnet_ipam': [{'subnet_cidr': '17.87.218.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-10 20:46:02,536 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd799091d-ce99-4f0d-9511-1eee472f6e35', 'name': 'ctest-vn-20642906', 'tenant_id': '795e34ef2eeb4807a156e9a61ec8c011', 'project_id': '795e34ef2eeb4807a156e9a61ec8c011', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b6cff23d-ee22-4828-9678-42c9f7cadd5a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-53316915', 'ctest-vn-20642906'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-53316915', 'ctest-policy-allow-all-52653262']], 'subnet_ipam': [{'subnet_cidr': '22.175.23.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-10 20:46:02,720 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-02-10 20:46:03,018 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-02-10 20:46:03,069 - DEBUG - Requesting: http://10.0.0.33:8082/domain/d7fb4692-c5cd-4053-b645-b89da6856965
2026-02-10 20:46:03,094 - DEBUG - Requesting: http://10.0.0.33:8082/project/795e34ef-2eeb-4807-a156-e9a61ec8c011
2026-02-10 20:46:03,181 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/7a240e4e-1e48-4106-9017-18741b40b130
2026-02-10 20:46:03,192 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/7a240e4e-1e48-4106-9017-18741b40b130
2026-02-10 20:46:03,202 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/bd584c6d-c466-4f75-8fb3-10c1955d7da3
2026-02-10 20:46:03,209 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/bd584c6d-c466-4f75-8fb3-10c1955d7da3
2026-02-10 20:46:03,217 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/3c963a5b-ac02-4243-87dc-c42b2ffc5b69
2026-02-10 20:46:03,227 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-10 20:46:03,227 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/7a240e4e-1e48-4106-9017-18741b40b130
2026-02-10 20:46:03,238 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/bd584c6d-c466-4f75-8fb3-10c1955d7da3
2026-02-10 20:46:03,256 - INFO - Verified VN network id 11 for VN 7a240e4e-1e48-4106-9017-18741b40b130
2026-02-10 20:46:03,256 - INFO - Verifications in API Server for VN ctest-vn-68953721 passed
2026-02-10 20:46:03,256 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/7a240e4e-1e48-4106-9017-18741b40b130
2026-02-10 20:46:03,267 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/bd584c6d-c466-4f75-8fb3-10c1955d7da3
2026-02-10 20:46:03,275 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/bd584c6d-c466-4f75-8fb3-10c1955d7da3
2026-02-10 20:46:03,284 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/3c963a5b-ac02-4243-87dc-c42b2ffc5b69
2026-02-10 20:46:03,299 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-53316915:ctest-vn-68953721', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-53316915', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8801175300467081478', 'uuid-lslong': '10382794352878465328'}, 'enable': 'true', 'created': '2026-02-10T20:46:00', 'last-modified': '2026-02-10T20:46:02', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.115667'}
2026-02-10 20:46:03,307 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-10 20:46:03,307 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-68953721 passed
2026-02-10 20:46:03,307 - DEBUG - ====Verifying policy data for ctest-vn-68953721 in API_Server ======
2026-02-10 20:46:03,307 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-02-10 20:46:03,314 - DEBUG - Requesting: http://10.0.0.33:8082/domain/d7fb4692-c5cd-4053-b645-b89da6856965
2026-02-10 20:46:03,325 - DEBUG - Requesting: http://10.0.0.33:8082/project/795e34ef-2eeb-4807-a156-e9a61ec8c011
2026-02-10 20:46:03,428 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/7a240e4e-1e48-4106-9017-18741b40b130
2026-02-10 20:46:03,446 - DEBUG - ==>Verifying data for policy with id: 39f4db7b-5f22-461d-87ab-a3490c70c58e, fqn: ['default-domain', 'ctest-TestBasicPolicy-53316915', 'ctest-policy-allow-all-52653262']
2026-02-10 20:46:03,446 - INFO - VN ctest-vn-68953721 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-10 20:46:03,446 - DEBUG - Verifying the vn in opserver
2026-02-10 20:46:03,446 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-53316915:ctest-vn-68953721 virtual network link through opserver 10.0.0.33
2026-02-10 20:46:03,447 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-02-10 20:46:03,793 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-02-10 20:46:03,870 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-53316915:ctest-vn-68953721', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-53316915:ctest-vn-68953721?flat'}
2026-02-10 20:46:03,870 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-53316915:ctest-vn-68953721 is found in opserver
2026-02-10 20:46:03,883 - DEBUG - Do not have enough data to verify VN in agent
2026-02-10 20:46:03,888 - DEBUG - VRF ids for VN ctest-vn-68953721: {}
2026-02-10 20:46:03,888 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-02-10 20:46:03,894 - DEBUG - Requesting: http://10.0.0.33:8082/domain/d7fb4692-c5cd-4053-b645-b89da6856965
2026-02-10 20:46:03,911 - DEBUG - Requesting: http://10.0.0.33:8082/project/795e34ef-2eeb-4807-a156-e9a61ec8c011
2026-02-10 20:46:04,002 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/d799091d-ce99-4f0d-9511-1eee472f6e35
2026-02-10 20:46:04,020 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/d799091d-ce99-4f0d-9511-1eee472f6e35
2026-02-10 20:46:04,034 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/b9f89cf7-1047-4abb-bedb-ae2001909de4
2026-02-10 20:46:04,043 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/b9f89cf7-1047-4abb-bedb-ae2001909de4
2026-02-10 20:46:04,053 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/ead0001b-706d-4f65-84be-bb8254c91724
2026-02-10 20:46:04,062 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-10 20:46:04,062 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/d799091d-ce99-4f0d-9511-1eee472f6e35
2026-02-10 20:46:04,076 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/b9f89cf7-1047-4abb-bedb-ae2001909de4
2026-02-10 20:46:04,098 - INFO - Verified VN network id 12 for VN d799091d-ce99-4f0d-9511-1eee472f6e35
2026-02-10 20:46:04,099 - INFO - Verifications in API Server for VN ctest-vn-20642906 passed
2026-02-10 20:46:04,099 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/d799091d-ce99-4f0d-9511-1eee472f6e35
2026-02-10 20:46:04,113 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/b9f89cf7-1047-4abb-bedb-ae2001909de4
2026-02-10 20:46:04,125 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/b9f89cf7-1047-4abb-bedb-ae2001909de4
2026-02-10 20:46:04,134 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/ead0001b-706d-4f65-84be-bb8254c91724
2026-02-10 20:46:04,153 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-53316915:ctest-vn-20642906', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-53316915', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15535458413216091917', 'uuid-lslong': '10741400595000684085'}, 'enable': 'true', 'created': '2026-02-10T20:46:01', 'last-modified': '2026-02-10T20:46:02', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.670013'}
2026-02-10 20:46:04,160 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-10 20:46:04,160 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-20642906 passed
2026-02-10 20:46:04,160 - DEBUG - ====Verifying policy data for ctest-vn-20642906 in API_Server ======
2026-02-10 20:46:04,160 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-02-10 20:46:04,167 - DEBUG - Requesting: http://10.0.0.33:8082/domain/d7fb4692-c5cd-4053-b645-b89da6856965
2026-02-10 20:46:04,180 - DEBUG - Requesting: http://10.0.0.33:8082/project/795e34ef-2eeb-4807-a156-e9a61ec8c011
2026-02-10 20:46:04,269 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/d799091d-ce99-4f0d-9511-1eee472f6e35
2026-02-10 20:46:04,281 - DEBUG - ==>Verifying data for policy with id: 39f4db7b-5f22-461d-87ab-a3490c70c58e, fqn: ['default-domain', 'ctest-TestBasicPolicy-53316915', 'ctest-policy-allow-all-52653262']
2026-02-10 20:46:04,282 - INFO - VN ctest-vn-20642906 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-10 20:46:04,282 - DEBUG - Verifying the vn in opserver
2026-02-10 20:46:04,282 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-53316915:ctest-vn-20642906 virtual network link through opserver 10.0.0.33
2026-02-10 20:46:04,282 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-02-10 20:46:04,292 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-53316915:ctest-vn-20642906', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-53316915:ctest-vn-20642906?flat'}
2026-02-10 20:46:04,292 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-53316915:ctest-vn-20642906 is found in opserver
2026-02-10 20:46:04,305 - DEBUG - Do not have enough data to verify VN in agent
2026-02-10 20:46:04,312 - DEBUG - VRF ids for VN ctest-vn-20642906: {}
2026-02-10 20:46:04,378 - DEBUG - Services list from nova: [