2026-01-26 16:28:42,058 - INFO - Domain Default found not creating
2026-01-26 16:28:42,237 - INFO - Project ctest-TestBasicPolicy-39054748 not found, creating it
2026-01-26 16:28:42,709 - INFO - Created Project:ctest-TestBasicPolicy-39054748, ID : 7af99320-314e-4dbc-8c28-d2bfa2bab669
2026-01-26 16:28:44,219 - INFO - ================================================================================
2026-01-26 16:28:44,219 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-01-26 16:28:44,219 - 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-01-26 16:28:44,470 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.14': '0'}} with
2026-01-26 16:28:44,470 - INFO - Initial checks done. Running the testcase now
2026-01-26 16:28:44,470 - INFO -
2026-01-26 16:28:45,008 - DEBUG - Response for create_network : {'network': {'id': '32f0db30-e4ab-4f71-b06a-6d1f31db329f', 'name': 'ctest-vn-13367305', 'tenant_id': '7af99320314e4dbc8c28d2bfa2bab669', 'project_id': '7af99320314e4dbc8c28d2bfa2bab669', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-39054748', 'ctest-vn-13367305'], 'port_security_enabled': True, 'description': ''}}
2026-01-26 16:28:45,192 - DEBUG - Response for create_subnet : {'subnet': {'id': '3a0849ad-b71e-49be-8fce-527e8f047b45', 'name': '', 'tenant_id': '7af99320314e4dbc8c28d2bfa2bab669', 'network_id': '32f0db30-e4ab-4f71-b06a-6d1f31db329f', 'ip_version': 4, 'cidr': '49.64.113.64/26', 'allocation_pools': [{'start': '49.64.113.66', 'end': '49.64.113.126'}], 'gateway_ip': '49.64.113.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '49.64.113.66', 'tags': [], 'project_id': '7af99320314e4dbc8c28d2bfa2bab669'}}
2026-01-26 16:28:45,208 - INFO - Created VN ctest-vn-13367305
2026-01-26 16:28:45,258 - DEBUG - VN ctest-vn-13367305 UUID is 32f0db30-e4ab-4f71-b06a-6d1f31db329f
2026-01-26 16:28:45,570 - DEBUG - Response for create_network : {'network': {'id': '50ce41d6-5ee5-436d-85cb-2e750749cd01', 'name': 'ctest-vn-70972007', 'tenant_id': '7af99320314e4dbc8c28d2bfa2bab669', 'project_id': '7af99320314e4dbc8c28d2bfa2bab669', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-39054748', 'ctest-vn-70972007'], 'port_security_enabled': True, 'description': ''}}
2026-01-26 16:28:45,722 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bc28be15-d384-4a9b-8e36-34eca51f9bec', 'name': '', 'tenant_id': '7af99320314e4dbc8c28d2bfa2bab669', 'network_id': '50ce41d6-5ee5-436d-85cb-2e750749cd01', 'ip_version': 4, 'cidr': '193.152.73.0/26', 'allocation_pools': [{'start': '193.152.73.2', 'end': '193.152.73.62'}], 'gateway_ip': '193.152.73.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '193.152.73.2', 'tags': [], 'project_id': '7af99320314e4dbc8c28d2bfa2bab669'}}
2026-01-26 16:28:45,739 - INFO - Created VN ctest-vn-70972007
2026-01-26 16:28:45,794 - DEBUG - VN ctest-vn-70972007 UUID is 50ce41d6-5ee5-436d-85cb-2e750749cd01
2026-01-26 16:28:45,941 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-39054748:ctest-vn-13367305, 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-39054748:ctest-vn-70972007, 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-01-26 16:28:46,234 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '32f0db30-e4ab-4f71-b06a-6d1f31db329f', 'name': 'ctest-vn-13367305', 'tenant_id': '7af99320314e4dbc8c28d2bfa2bab669', 'project_id': '7af99320314e4dbc8c28d2bfa2bab669', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3a0849ad-b71e-49be-8fce-527e8f047b45'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-39054748', 'ctest-vn-13367305'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-39054748', 'ctest-policy-allow-all-64877784']], 'subnet_ipam': [{'subnet_cidr': '49.64.113.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-26 16:28:46,446 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '50ce41d6-5ee5-436d-85cb-2e750749cd01', 'name': 'ctest-vn-70972007', 'tenant_id': '7af99320314e4dbc8c28d2bfa2bab669', 'project_id': '7af99320314e4dbc8c28d2bfa2bab669', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['bc28be15-d384-4a9b-8e36-34eca51f9bec'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-39054748', 'ctest-vn-70972007'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-39054748', 'ctest-policy-allow-all-64877784']], 'subnet_ipam': [{'subnet_cidr': '193.152.73.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-26 16:28:46,613 - DEBUG - Requesting: http://10.0.0.241:8082/domains
2026-01-26 16:28:46,917 - DEBUG - Requesting: http://10.0.0.241:8082/domains
2026-01-26 16:28:46,946 - DEBUG - Requesting: http://10.0.0.241:8082/domain/0d22df5c-7472-483a-939d-23dedd65a822
2026-01-26 16:28:46,958 - DEBUG - Requesting: http://10.0.0.241:8082/project/7af99320-314e-4dbc-8c28-d2bfa2bab669
2026-01-26 16:28:47,027 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/32f0db30-e4ab-4f71-b06a-6d1f31db329f
2026-01-26 16:28:47,036 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/32f0db30-e4ab-4f71-b06a-6d1f31db329f
2026-01-26 16:28:47,045 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/00db3ae5-e69f-4094-8f56-a199eb261783
2026-01-26 16:28:47,051 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/00db3ae5-e69f-4094-8f56-a199eb261783
2026-01-26 16:28:47,058 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/66fc6e0d-012b-430f-adb8-6912e7c38826
2026-01-26 16:28:47,064 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-26 16:28:47,064 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/32f0db30-e4ab-4f71-b06a-6d1f31db329f
2026-01-26 16:28:47,073 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/00db3ae5-e69f-4094-8f56-a199eb261783
2026-01-26 16:28:47,089 - INFO - Verified VN network id 12 for VN 32f0db30-e4ab-4f71-b06a-6d1f31db329f
2026-01-26 16:28:47,089 - INFO - Verifications in API Server for VN ctest-vn-13367305 passed
2026-01-26 16:28:47,089 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/32f0db30-e4ab-4f71-b06a-6d1f31db329f
2026-01-26 16:28:47,099 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/00db3ae5-e69f-4094-8f56-a199eb261783
2026-01-26 16:28:47,106 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/00db3ae5-e69f-4094-8f56-a199eb261783
2026-01-26 16:28:47,112 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/66fc6e0d-012b-430f-adb8-6912e7c38826
2026-01-26 16:28:47,126 - DEBUG - Control-node 10.0.0.241 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-39054748:ctest-vn-13367305', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-39054748', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3670674699348299633', 'uuid-lslong': '12712092878954508959'}, 'enable': 'true', 'created': '2026-01-26T16:28:44', 'last-modified': '2026-01-26T16:28:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.913255'}
2026-01-26 16:28:47,131 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-26 16:28:47,131 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-13367305 passed
2026-01-26 16:28:47,132 - DEBUG - ====Verifying policy data for ctest-vn-13367305 in API_Server ======
2026-01-26 16:28:47,132 - DEBUG - Requesting: http://10.0.0.241:8082/domains
2026-01-26 16:28:47,137 - DEBUG - Requesting: http://10.0.0.241:8082/domain/0d22df5c-7472-483a-939d-23dedd65a822
2026-01-26 16:28:47,147 - DEBUG - Requesting: http://10.0.0.241:8082/project/7af99320-314e-4dbc-8c28-d2bfa2bab669
2026-01-26 16:28:47,215 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/32f0db30-e4ab-4f71-b06a-6d1f31db329f
2026-01-26 16:28:47,224 - DEBUG - ==>Verifying data for policy with id: dbe4c168-19f0-483a-bc5c-ab5d8b28e745, fqn: ['default-domain', 'ctest-TestBasicPolicy-39054748', 'ctest-policy-allow-all-64877784']
2026-01-26 16:28:47,224 - INFO - VN ctest-vn-13367305 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-26 16:28:47,224 - DEBUG - Verifying the vn in opserver
2026-01-26 16:28:47,224 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-39054748:ctest-vn-13367305 virtual network link through opserver 10.0.0.241
2026-01-26 16:28:47,224 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks
2026-01-26 16:28:47,519 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks
2026-01-26 16:28:47,578 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-39054748:ctest-vn-13367305', 'href': 'http://10.0.0.241:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-39054748:ctest-vn-13367305?flat'}
2026-01-26 16:28:47,578 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-39054748:ctest-vn-13367305 is found in opserver
2026-01-26 16:28:47,588 - DEBUG - Do not have enough data to verify VN in agent
2026-01-26 16:28:47,592 - DEBUG - VRF ids for VN ctest-vn-13367305: {}
2026-01-26 16:28:47,592 - DEBUG - Requesting: http://10.0.0.241:8082/domains
2026-01-26 16:28:47,597 - DEBUG - Requesting: http://10.0.0.241:8082/domain/0d22df5c-7472-483a-939d-23dedd65a822
2026-01-26 16:28:47,607 - DEBUG - Requesting: http://10.0.0.241:8082/project/7af99320-314e-4dbc-8c28-d2bfa2bab669
2026-01-26 16:28:47,676 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/50ce41d6-5ee5-436d-85cb-2e750749cd01
2026-01-26 16:28:47,688 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/50ce41d6-5ee5-436d-85cb-2e750749cd01
2026-01-26 16:28:47,697 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/ced8ce2d-da17-4fb5-a287-f74efe57b3ae
2026-01-26 16:28:47,703 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/ced8ce2d-da17-4fb5-a287-f74efe57b3ae
2026-01-26 16:28:47,710 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/7a403a71-6ff5-4425-8b5e-54c44a193348
2026-01-26 16:28:47,717 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-26 16:28:47,717 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/50ce41d6-5ee5-436d-85cb-2e750749cd01
2026-01-26 16:28:47,726 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/ced8ce2d-da17-4fb5-a287-f74efe57b3ae
2026-01-26 16:28:47,739 - INFO - Verified VN network id 13 for VN 50ce41d6-5ee5-436d-85cb-2e750749cd01
2026-01-26 16:28:47,739 - INFO - Verifications in API Server for VN ctest-vn-70972007 passed
2026-01-26 16:28:47,739 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/50ce41d6-5ee5-436d-85cb-2e750749cd01
2026-01-26 16:28:47,748 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/ced8ce2d-da17-4fb5-a287-f74efe57b3ae
2026-01-26 16:28:47,755 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/ced8ce2d-da17-4fb5-a287-f74efe57b3ae
2026-01-26 16:28:47,762 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/7a403a71-6ff5-4425-8b5e-54c44a193348
2026-01-26 16:28:47,774 - DEBUG - Control-node 10.0.0.241 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-39054748:ctest-vn-70972007', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-39054748', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5822663757207520109', 'uuid-lslong': '9640850507485007105'}, 'enable': 'true', 'created': '2026-01-26T16:28:45', 'last-modified': '2026-01-26T16:28:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.346429'}
2026-01-26 16:28:47,780 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-26 16:28:47,780 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-70972007 passed
2026-01-26 16:28:47,780 - DEBUG - ====Verifying policy data for ctest-vn-70972007 in API_Server ======
2026-01-26 16:28:47,780 - DEBUG - Requesting: http://10.0.0.241:8082/domains
2026-01-26 16:28:47,786 - DEBUG - Requesting: http://10.0.0.241:8082/domain/0d22df5c-7472-483a-939d-23dedd65a822
2026-01-26 16:28:47,797 - DEBUG - Requesting: http://10.0.0.241:8082/project/7af99320-314e-4dbc-8c28-d2bfa2bab669
2026-01-26 16:28:47,864 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/50ce41d6-5ee5-436d-85cb-2e750749cd01
2026-01-26 16:28:47,873 - DEBUG - ==>Verifying data for policy with id: dbe4c168-19f0-483a-bc5c-ab5d8b28e745, fqn: ['default-domain', 'ctest-TestBasicPolicy-39054748', 'ctest-policy-allow-all-64877784']
2026-01-26 16:28:47,873 - INFO - VN ctest-vn-70972007 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-26 16:28:47,873 - DEBUG - Verifying the vn in opserver
2026-01-26 16:28:47,873 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-39054748:ctest-vn-70972007 virtual network link through opserver 10.0.0.241
2026-01-26 16:28:47,873 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks
2026-01-26 16:28:47,882 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-39054748:ctest-vn-70972007', 'href': 'http://10.0.0.241:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-39054748:ctest-vn-70972007?flat'}
2026-01-26 16:28:47,882 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-39054748:ctest-vn-70972007 is found in opserver
2026-01-26 16:28:47,890 - DEBUG - Do not have enough data to verify VN in agent
2026-01-26 16:28:47,895 - DEBUG - VRF ids for VN ctest-vn-70972007: {}
2026-01-26 16:28:47,950 - DEBUG - Services list from nova: [