2026-07-31 06:42:42,209 - INFO - Domain Default found not creating
2026-07-31 06:42:42,400 - INFO - Project ctest-TestBasicPolicy-46809334 not found, creating it
2026-07-31 06:42:42,921 - INFO - Created Project:ctest-TestBasicPolicy-46809334, ID : e7b2d44b-2908-4016-adc1-e210550e171c
2026-07-31 06:42:44,727 - INFO - ================================================================================
2026-07-31 06:42:44,727 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-07-31 06:42:44,727 - 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-31 06:42:44,999 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2026-07-31 06:42:44,999 - INFO - Initial checks done. Running the testcase now
2026-07-31 06:42:44,999 - INFO -
2026-07-31 06:42:45,688 - DEBUG - Response for create_network : {'network': {'id': 'ba05411c-0a7f-4296-b326-f56dbdda57e5', 'name': 'ctest-vn-89592594', 'tenant_id': 'e7b2d44b29084016adc1e210550e171c', 'project_id': 'e7b2d44b29084016adc1e210550e171c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-46809334', 'ctest-vn-89592594'], 'port_security_enabled': True, 'description': ''}}
2026-07-31 06:42:45,858 - DEBUG - Response for create_subnet : {'subnet': {'id': '4d56207f-7a3f-4c0b-ba6d-6109d9600fe7', 'name': '', 'tenant_id': 'e7b2d44b29084016adc1e210550e171c', 'network_id': 'ba05411c-0a7f-4296-b326-f56dbdda57e5', 'ip_version': 4, 'cidr': '68.218.20.0/26', 'allocation_pools': [{'start': '68.218.20.2', 'end': '68.218.20.62'}], 'gateway_ip': '68.218.20.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '68.218.20.2', 'tags': [], 'project_id': 'e7b2d44b29084016adc1e210550e171c'}}
2026-07-31 06:42:45,877 - INFO - Created VN ctest-vn-89592594
2026-07-31 06:42:45,932 - DEBUG - VN ctest-vn-89592594 UUID is ba05411c-0a7f-4296-b326-f56dbdda57e5
2026-07-31 06:42:46,268 - DEBUG - Response for create_network : {'network': {'id': '79eaf699-11ee-4a51-a51a-2bb918fc5bab', 'name': 'ctest-vn-45925148', 'tenant_id': 'e7b2d44b29084016adc1e210550e171c', 'project_id': 'e7b2d44b29084016adc1e210550e171c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-46809334', 'ctest-vn-45925148'], 'port_security_enabled': True, 'description': ''}}
2026-07-31 06:42:46,467 - DEBUG - Response for create_subnet : {'subnet': {'id': '418bf512-0be7-466d-8ed3-2b0b7ccbdc7f', 'name': '', 'tenant_id': 'e7b2d44b29084016adc1e210550e171c', 'network_id': '79eaf699-11ee-4a51-a51a-2bb918fc5bab', 'ip_version': 4, 'cidr': '156.12.55.64/26', 'allocation_pools': [{'start': '156.12.55.66', 'end': '156.12.55.126'}], 'gateway_ip': '156.12.55.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '156.12.55.66', 'tags': [], 'project_id': 'e7b2d44b29084016adc1e210550e171c'}}
2026-07-31 06:42:46,487 - INFO - Created VN ctest-vn-45925148
2026-07-31 06:42:46,548 - DEBUG - VN ctest-vn-45925148 UUID is 79eaf699-11ee-4a51-a51a-2bb918fc5bab
2026-07-31 06:42:46,674 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-46809334:ctest-vn-89592594, 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-46809334:ctest-vn-45925148, 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-31 06:42:47,016 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ba05411c-0a7f-4296-b326-f56dbdda57e5', 'name': 'ctest-vn-89592594', 'tenant_id': 'e7b2d44b29084016adc1e210550e171c', 'project_id': 'e7b2d44b29084016adc1e210550e171c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4d56207f-7a3f-4c0b-ba6d-6109d9600fe7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-46809334', 'ctest-vn-89592594'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-46809334', 'ctest-policy-allow-all-49757647']], 'subnet_ipam': [{'subnet_cidr': '68.218.20.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-07-31 06:42:47,277 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '79eaf699-11ee-4a51-a51a-2bb918fc5bab', 'name': 'ctest-vn-45925148', 'tenant_id': 'e7b2d44b29084016adc1e210550e171c', 'project_id': 'e7b2d44b29084016adc1e210550e171c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['418bf512-0be7-466d-8ed3-2b0b7ccbdc7f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-46809334', 'ctest-vn-45925148'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-46809334', 'ctest-policy-allow-all-49757647']], 'subnet_ipam': [{'subnet_cidr': '156.12.55.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-07-31 06:42:47,448 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-07-31 06:42:47,842 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-07-31 06:42:47,874 - DEBUG - Requesting: http://10.0.0.50:8082/domain/d6f12d36-309c-4360-bc26-971b626d83f1
2026-07-31 06:42:47,888 - DEBUG - Requesting: http://10.0.0.50:8082/project/e7b2d44b-2908-4016-adc1-e210550e171c
2026-07-31 06:42:47,967 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ba05411c-0a7f-4296-b326-f56dbdda57e5
2026-07-31 06:42:47,982 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ba05411c-0a7f-4296-b326-f56dbdda57e5
2026-07-31 06:42:47,995 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/cdb2e69d-a54d-46ac-bc46-41446912ac8f
2026-07-31 06:42:48,005 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/cdb2e69d-a54d-46ac-bc46-41446912ac8f
2026-07-31 06:42:48,014 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/d5fadc14-6570-446b-a3f9-3e396d9d8984
2026-07-31 06:42:48,023 - DEBUG - Route Targets: ['target:64512:8000004']
2026-07-31 06:42:48,024 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ba05411c-0a7f-4296-b326-f56dbdda57e5
2026-07-31 06:42:48,036 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/cdb2e69d-a54d-46ac-bc46-41446912ac8f
2026-07-31 06:42:48,056 - INFO - Verified VN network id 11 for VN ba05411c-0a7f-4296-b326-f56dbdda57e5
2026-07-31 06:42:48,056 - INFO - Verifications in API Server for VN ctest-vn-89592594 passed
2026-07-31 06:42:48,056 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ba05411c-0a7f-4296-b326-f56dbdda57e5
2026-07-31 06:42:48,068 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/cdb2e69d-a54d-46ac-bc46-41446912ac8f
2026-07-31 06:42:48,077 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/cdb2e69d-a54d-46ac-bc46-41446912ac8f
2026-07-31 06:42:48,086 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/d5fadc14-6570-446b-a3f9-3e396d9d8984
2026-07-31 06:42:48,101 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-46809334:ctest-vn-89592594', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-46809334', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13404191454629151382', 'uuid-lslong': '12909275233589549029'}, 'enable': 'true', 'created': '2026-07-31T06:42:45', 'last-modified': '2026-07-31T06:42:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.116721'}
2026-07-31 06:42:48,110 - DEBUG - Route Targets: ['target:64512:8000004']
2026-07-31 06:42:48,110 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-89592594 passed
2026-07-31 06:42:48,110 - DEBUG - ====Verifying policy data for ctest-vn-89592594 in API_Server ======
2026-07-31 06:42:48,110 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-07-31 06:42:48,117 - DEBUG - Requesting: http://10.0.0.50:8082/domain/d6f12d36-309c-4360-bc26-971b626d83f1
2026-07-31 06:42:48,130 - DEBUG - Requesting: http://10.0.0.50:8082/project/e7b2d44b-2908-4016-adc1-e210550e171c
2026-07-31 06:42:48,215 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ba05411c-0a7f-4296-b326-f56dbdda57e5
2026-07-31 06:42:48,225 - DEBUG - ==>Verifying data for policy with id: 613e4262-9e45-4e72-932f-e8f57282ab17, fqn: ['default-domain', 'ctest-TestBasicPolicy-46809334', 'ctest-policy-allow-all-49757647']
2026-07-31 06:42:48,225 - INFO - VN ctest-vn-89592594 Policy verification: verify_vn_policy_in_api_server, status: True
2026-07-31 06:42:48,226 - DEBUG - Verifying the vn in opserver
2026-07-31 06:42:48,226 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-46809334:ctest-vn-89592594 virtual network link through opserver 10.0.0.50
2026-07-31 06:42:48,226 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-07-31 06:42:48,606 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-07-31 06:42:48,672 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-46809334:ctest-vn-89592594', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-46809334:ctest-vn-89592594?flat'}
2026-07-31 06:42:48,672 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-46809334:ctest-vn-89592594 is found in opserver
2026-07-31 06:42:48,685 - DEBUG - Do not have enough data to verify VN in agent
2026-07-31 06:42:48,692 - DEBUG - VRF ids for VN ctest-vn-89592594: {}
2026-07-31 06:42:48,692 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-07-31 06:42:48,699 - DEBUG - Requesting: http://10.0.0.50:8082/domain/d6f12d36-309c-4360-bc26-971b626d83f1
2026-07-31 06:42:48,715 - DEBUG - Requesting: http://10.0.0.50:8082/project/e7b2d44b-2908-4016-adc1-e210550e171c
2026-07-31 06:42:48,801 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/79eaf699-11ee-4a51-a51a-2bb918fc5bab
2026-07-31 06:42:48,814 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/79eaf699-11ee-4a51-a51a-2bb918fc5bab
2026-07-31 06:42:48,825 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9e3c2b1c-9ef2-4012-901e-2bf08c8a22b7
2026-07-31 06:42:48,834 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9e3c2b1c-9ef2-4012-901e-2bf08c8a22b7
2026-07-31 06:42:48,842 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/b345e7c8-5b42-40b6-89bc-8c99e919c058
2026-07-31 06:42:48,849 - DEBUG - Route Targets: ['target:64512:8000005']
2026-07-31 06:42:48,849 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/79eaf699-11ee-4a51-a51a-2bb918fc5bab
2026-07-31 06:42:48,861 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9e3c2b1c-9ef2-4012-901e-2bf08c8a22b7
2026-07-31 06:42:48,878 - INFO - Verified VN network id 12 for VN 79eaf699-11ee-4a51-a51a-2bb918fc5bab
2026-07-31 06:42:48,879 - INFO - Verifications in API Server for VN ctest-vn-45925148 passed
2026-07-31 06:42:48,879 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/79eaf699-11ee-4a51-a51a-2bb918fc5bab
2026-07-31 06:42:48,890 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9e3c2b1c-9ef2-4012-901e-2bf08c8a22b7
2026-07-31 06:42:48,899 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9e3c2b1c-9ef2-4012-901e-2bf08c8a22b7
2026-07-31 06:42:48,907 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/b345e7c8-5b42-40b6-89bc-8c99e919c058
2026-07-31 06:42:48,924 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-46809334:ctest-vn-45925148', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-46809334', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8785105160430832209', 'uuid-lslong': '11896869439640722347'}, 'enable': 'true', 'created': '2026-07-31T06:42:46', 'last-modified': '2026-07-31T06:42:47', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.670544'}
2026-07-31 06:42:48,932 - DEBUG - Route Targets: ['target:64512:8000005']
2026-07-31 06:42:48,932 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-45925148 passed
2026-07-31 06:42:48,932 - DEBUG - ====Verifying policy data for ctest-vn-45925148 in API_Server ======
2026-07-31 06:42:48,932 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-07-31 06:42:48,940 - DEBUG - Requesting: http://10.0.0.50:8082/domain/d6f12d36-309c-4360-bc26-971b626d83f1
2026-07-31 06:42:48,955 - DEBUG - Requesting: http://10.0.0.50:8082/project/e7b2d44b-2908-4016-adc1-e210550e171c
2026-07-31 06:42:49,035 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/79eaf699-11ee-4a51-a51a-2bb918fc5bab
2026-07-31 06:42:49,048 - DEBUG - ==>Verifying data for policy with id: 613e4262-9e45-4e72-932f-e8f57282ab17, fqn: ['default-domain', 'ctest-TestBasicPolicy-46809334', 'ctest-policy-allow-all-49757647']
2026-07-31 06:42:49,048 - INFO - VN ctest-vn-45925148 Policy verification: verify_vn_policy_in_api_server, status: True
2026-07-31 06:42:49,048 - DEBUG - Verifying the vn in opserver
2026-07-31 06:42:49,048 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-46809334:ctest-vn-45925148 virtual network link through opserver 10.0.0.50
2026-07-31 06:42:49,048 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-07-31 06:42:49,061 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-46809334:ctest-vn-45925148', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-46809334:ctest-vn-45925148?flat'}
2026-07-31 06:42:49,061 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-46809334:ctest-vn-45925148 is found in opserver
2026-07-31 06:42:49,076 - DEBUG - Do not have enough data to verify VN in agent
2026-07-31 06:42:49,083 - DEBUG - VRF ids for VN ctest-vn-45925148: {}
2026-07-31 06:42:49,159 - DEBUG - Services list from nova: [