2025-12-09 11:00:59,503 - INFO - Domain Default found not creating
2025-12-09 11:00:59,701 - INFO - Project ctest-TestBasicPolicy-20321160 not found, creating it
2025-12-09 11:01:00,206 - INFO - Created Project:ctest-TestBasicPolicy-20321160, ID : 14206b3a-f299-4a5b-8a32-cc0227911595
2025-12-09 11:01:01,829 - INFO - ================================================================================
2025-12-09 11:01:01,829 - INFO - STARTING TEST : test_basic_policy_allow_deny
2025-12-09 11:01:01,830 - 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
2025-12-09 11:01:02,092 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with
2025-12-09 11:01:02,092 - INFO - Initial checks done. Running the testcase now
2025-12-09 11:01:02,092 - INFO -
2025-12-09 11:01:02,675 - DEBUG - Response for create_network : {'network': {'id': '5253a411-027a-4078-8704-f7b401df0e82', 'name': 'ctest-vn-28425832', 'tenant_id': '14206b3af2994a5b8a32cc0227911595', 'project_id': '14206b3af2994a5b8a32cc0227911595', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20321160', 'ctest-vn-28425832'], 'port_security_enabled': True, 'description': ''}}
2025-12-09 11:01:02,891 - DEBUG - Response for create_subnet : {'subnet': {'id': '635e4283-90d1-4dc9-9d43-bd08b81e6f59', 'name': '', 'tenant_id': '14206b3af2994a5b8a32cc0227911595', 'network_id': '5253a411-027a-4078-8704-f7b401df0e82', 'ip_version': 4, 'cidr': '188.124.12.192/26', 'allocation_pools': [{'start': '188.124.12.194', 'end': '188.124.12.254'}], 'gateway_ip': '188.124.12.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '188.124.12.194', 'tags': [], 'project_id': '14206b3af2994a5b8a32cc0227911595'}}
2025-12-09 11:01:02,914 - INFO - Created VN ctest-vn-28425832
2025-12-09 11:01:02,969 - DEBUG - VN ctest-vn-28425832 UUID is 5253a411-027a-4078-8704-f7b401df0e82
2025-12-09 11:01:03,352 - DEBUG - Response for create_network : {'network': {'id': '86a476bf-4ef8-4f57-9c7e-b9da35ff66d0', 'name': 'ctest-vn-53099142', 'tenant_id': '14206b3af2994a5b8a32cc0227911595', 'project_id': '14206b3af2994a5b8a32cc0227911595', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20321160', 'ctest-vn-53099142'], 'port_security_enabled': True, 'description': ''}}
2025-12-09 11:01:03,539 - DEBUG - Response for create_subnet : {'subnet': {'id': '6d862867-550f-42be-8eb9-d0a45b3f5add', 'name': '', 'tenant_id': '14206b3af2994a5b8a32cc0227911595', 'network_id': '86a476bf-4ef8-4f57-9c7e-b9da35ff66d0', 'ip_version': 4, 'cidr': '203.67.170.128/26', 'allocation_pools': [{'start': '203.67.170.130', 'end': '203.67.170.190'}], 'gateway_ip': '203.67.170.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '203.67.170.130', 'tags': [], 'project_id': '14206b3af2994a5b8a32cc0227911595'}}
2025-12-09 11:01:03,558 - INFO - Created VN ctest-vn-53099142
2025-12-09 11:01:03,613 - DEBUG - VN ctest-vn-53099142 UUID is 86a476bf-4ef8-4f57-9c7e-b9da35ff66d0
2025-12-09 11:01:03,735 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-20321160:ctest-vn-28425832, 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-20321160:ctest-vn-53099142, 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]
2025-12-09 11:01:04,053 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5253a411-027a-4078-8704-f7b401df0e82', 'name': 'ctest-vn-28425832', 'tenant_id': '14206b3af2994a5b8a32cc0227911595', 'project_id': '14206b3af2994a5b8a32cc0227911595', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['635e4283-90d1-4dc9-9d43-bd08b81e6f59'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20321160', 'ctest-vn-28425832'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-20321160', 'ctest-policy-allow-all-95568446']], 'subnet_ipam': [{'subnet_cidr': '188.124.12.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-12-09 11:01:04,299 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '86a476bf-4ef8-4f57-9c7e-b9da35ff66d0', 'name': 'ctest-vn-53099142', 'tenant_id': '14206b3af2994a5b8a32cc0227911595', 'project_id': '14206b3af2994a5b8a32cc0227911595', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6d862867-550f-42be-8eb9-d0a45b3f5add'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20321160', 'ctest-vn-53099142'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-20321160', 'ctest-policy-allow-all-95568446']], 'subnet_ipam': [{'subnet_cidr': '203.67.170.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-12-09 11:01:04,453 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-12-09 11:01:04,770 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-12-09 11:01:04,808 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ee471639-d0f5-4c25-9dbe-b97179e43525
2025-12-09 11:01:04,821 - DEBUG - Requesting: http://10.0.0.38:8082/project/14206b3a-f299-4a5b-8a32-cc0227911595
2025-12-09 11:01:04,898 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5253a411-027a-4078-8704-f7b401df0e82
2025-12-09 11:01:04,909 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5253a411-027a-4078-8704-f7b401df0e82
2025-12-09 11:01:04,918 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5b018176-71d2-43b8-8214-910c4452ecb5
2025-12-09 11:01:04,926 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5b018176-71d2-43b8-8214-910c4452ecb5
2025-12-09 11:01:04,933 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/c55dfbcc-e4eb-4717-9ba5-19bb14e43479
2025-12-09 11:01:04,940 - DEBUG - Route Targets: ['target:64512:8000004']
2025-12-09 11:01:04,940 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5253a411-027a-4078-8704-f7b401df0e82
2025-12-09 11:01:04,951 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5b018176-71d2-43b8-8214-910c4452ecb5
2025-12-09 11:01:04,969 - INFO - Verified VN network id 11 for VN 5253a411-027a-4078-8704-f7b401df0e82
2025-12-09 11:01:04,969 - INFO - Verifications in API Server for VN ctest-vn-28425832 passed
2025-12-09 11:01:04,969 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5253a411-027a-4078-8704-f7b401df0e82
2025-12-09 11:01:04,980 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5b018176-71d2-43b8-8214-910c4452ecb5
2025-12-09 11:01:04,987 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5b018176-71d2-43b8-8214-910c4452ecb5
2025-12-09 11:01:04,994 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/c55dfbcc-e4eb-4717-9ba5-19bb14e43479
2025-12-09 11:01:05,006 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-20321160:ctest-vn-28425832', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-20321160', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5932265527140040824', 'uuid-lslong': '9729173447524683394'}, 'enable': 'true', 'created': '2025-12-09T11:01:02', 'last-modified': '2025-12-09T11:01:04', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.995300'}
2025-12-09 11:01:05,012 - DEBUG - Route Targets: ['target:64512:8000004']
2025-12-09 11:01:05,012 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-28425832 passed
2025-12-09 11:01:05,012 - DEBUG - ====Verifying policy data for ctest-vn-28425832 in API_Server ======
2025-12-09 11:01:05,013 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-12-09 11:01:05,019 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ee471639-d0f5-4c25-9dbe-b97179e43525
2025-12-09 11:01:05,030 - DEBUG - Requesting: http://10.0.0.38:8082/project/14206b3a-f299-4a5b-8a32-cc0227911595
2025-12-09 11:01:05,109 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5253a411-027a-4078-8704-f7b401df0e82
2025-12-09 11:01:05,122 - DEBUG - ==>Verifying data for policy with id: e053c429-ee12-477a-b2cc-17c8bded73cb, fqn: ['default-domain', 'ctest-TestBasicPolicy-20321160', 'ctest-policy-allow-all-95568446']
2025-12-09 11:01:05,122 - INFO - VN ctest-vn-28425832 Policy verification: verify_vn_policy_in_api_server, status: True
2025-12-09 11:01:05,122 - DEBUG - Verifying the vn in opserver
2025-12-09 11:01:05,122 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-20321160:ctest-vn-28425832 virtual network link through opserver 10.0.0.38
2025-12-09 11:01:05,122 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2025-12-09 11:01:05,446 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2025-12-09 11:01:05,514 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-20321160:ctest-vn-28425832', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-20321160:ctest-vn-28425832?flat'}
2025-12-09 11:01:05,514 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-20321160:ctest-vn-28425832 is found in opserver
2025-12-09 11:01:05,525 - DEBUG - Do not have enough data to verify VN in agent
2025-12-09 11:01:05,529 - DEBUG - VRF ids for VN ctest-vn-28425832: {}
2025-12-09 11:01:05,529 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-12-09 11:01:05,536 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ee471639-d0f5-4c25-9dbe-b97179e43525
2025-12-09 11:01:05,547 - DEBUG - Requesting: http://10.0.0.38:8082/project/14206b3a-f299-4a5b-8a32-cc0227911595
2025-12-09 11:01:05,621 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/86a476bf-4ef8-4f57-9c7e-b9da35ff66d0
2025-12-09 11:01:05,632 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/86a476bf-4ef8-4f57-9c7e-b9da35ff66d0
2025-12-09 11:01:05,642 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7bc93b98-a1f7-4706-ba73-c2aac307642a
2025-12-09 11:01:05,649 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7bc93b98-a1f7-4706-ba73-c2aac307642a
2025-12-09 11:01:05,656 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/c81f6b45-7394-4a4f-9af5-d52e423af92d
2025-12-09 11:01:05,664 - DEBUG - Route Targets: ['target:64512:8000005']
2025-12-09 11:01:05,664 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/86a476bf-4ef8-4f57-9c7e-b9da35ff66d0
2025-12-09 11:01:05,675 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7bc93b98-a1f7-4706-ba73-c2aac307642a
2025-12-09 11:01:05,692 - INFO - Verified VN network id 12 for VN 86a476bf-4ef8-4f57-9c7e-b9da35ff66d0
2025-12-09 11:01:05,692 - INFO - Verifications in API Server for VN ctest-vn-53099142 passed
2025-12-09 11:01:05,692 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/86a476bf-4ef8-4f57-9c7e-b9da35ff66d0
2025-12-09 11:01:05,703 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7bc93b98-a1f7-4706-ba73-c2aac307642a
2025-12-09 11:01:05,710 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7bc93b98-a1f7-4706-ba73-c2aac307642a
2025-12-09 11:01:05,716 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/c81f6b45-7394-4a4f-9af5-d52e423af92d
2025-12-09 11:01:05,727 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-20321160:ctest-vn-53099142', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-20321160', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9702010061298618199', 'uuid-lslong': '11276654863842240208'}, 'enable': 'true', 'created': '2025-12-09T11:01:03', 'last-modified': '2025-12-09T11:01:04', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.459817'}
2025-12-09 11:01:05,732 - DEBUG - Route Targets: ['target:64512:8000005']
2025-12-09 11:01:05,733 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-53099142 passed
2025-12-09 11:01:05,733 - DEBUG - ====Verifying policy data for ctest-vn-53099142 in API_Server ======
2025-12-09 11:01:05,733 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-12-09 11:01:05,738 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ee471639-d0f5-4c25-9dbe-b97179e43525
2025-12-09 11:01:05,750 - DEBUG - Requesting: http://10.0.0.38:8082/project/14206b3a-f299-4a5b-8a32-cc0227911595
2025-12-09 11:01:05,828 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/86a476bf-4ef8-4f57-9c7e-b9da35ff66d0
2025-12-09 11:01:05,838 - DEBUG - ==>Verifying data for policy with id: e053c429-ee12-477a-b2cc-17c8bded73cb, fqn: ['default-domain', 'ctest-TestBasicPolicy-20321160', 'ctest-policy-allow-all-95568446']
2025-12-09 11:01:05,839 - INFO - VN ctest-vn-53099142 Policy verification: verify_vn_policy_in_api_server, status: True
2025-12-09 11:01:05,839 - DEBUG - Verifying the vn in opserver
2025-12-09 11:01:05,839 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-20321160:ctest-vn-53099142 virtual network link through opserver 10.0.0.38
2025-12-09 11:01:05,839 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2025-12-09 11:01:05,849 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-20321160:ctest-vn-53099142', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-20321160:ctest-vn-53099142?flat'}
2025-12-09 11:01:05,850 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-20321160:ctest-vn-53099142 is found in opserver
2025-12-09 11:01:05,859 - DEBUG - Do not have enough data to verify VN in agent
2025-12-09 11:01:05,864 - DEBUG - VRF ids for VN ctest-vn-53099142: {}
2025-12-09 11:01:05,922 - DEBUG - Services list from nova: [