2026-02-03 13:18:20,150 - INFO - Domain Default found not creating
2026-02-03 13:18:20,326 - INFO - Project ctest-TestBasicPolicy-34640048 not found, creating it
2026-02-03 13:18:20,799 - INFO - Created Project:ctest-TestBasicPolicy-34640048, ID : f48ed5d3-3db1-4c66-b940-271baf9aa231
2026-02-03 13:18:22,334 - INFO - ================================================================================
2026-02-03 13:18:22,334 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-03 13:18:22,334 - 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-03 13:18:22,588 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.17': '0'}} with
2026-02-03 13:18:22,588 - INFO - Initial checks done. Running the testcase now
2026-02-03 13:18:22,589 - INFO -
2026-02-03 13:18:23,707 - DEBUG - Response for create_network : {'network': {'id': '20c34f80-460a-4e21-b4e2-3d950247881b', 'name': 'ctest-vn-63633310', 'tenant_id': 'f48ed5d33db14c66b940271baf9aa231', 'project_id': 'f48ed5d33db14c66b940271baf9aa231', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-34640048', 'ctest-vn-63633310'], 'port_security_enabled': True, 'description': ''}}
2026-02-03 13:18:23,925 - DEBUG - Response for create_subnet : {'subnet': {'id': '7d6212fb-ff17-4c4e-acfc-6d32cf53e965', 'name': '', 'tenant_id': 'f48ed5d33db14c66b940271baf9aa231', 'network_id': '20c34f80-460a-4e21-b4e2-3d950247881b', 'ip_version': 4, 'cidr': '54.77.51.64/26', 'allocation_pools': [{'start': '54.77.51.66', 'end': '54.77.51.126'}], 'gateway_ip': '54.77.51.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '54.77.51.66', 'tags': [], 'project_id': 'f48ed5d33db14c66b940271baf9aa231'}}
2026-02-03 13:18:23,942 - INFO - Created VN ctest-vn-63633310
2026-02-03 13:18:23,995 - DEBUG - VN ctest-vn-63633310 UUID is 20c34f80-460a-4e21-b4e2-3d950247881b
2026-02-03 13:18:24,343 - DEBUG - Response for create_network : {'network': {'id': '28d3b53a-710a-4b70-8ca9-7736e4c7c37f', 'name': 'ctest-vn-85268271', 'tenant_id': 'f48ed5d33db14c66b940271baf9aa231', 'project_id': 'f48ed5d33db14c66b940271baf9aa231', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-34640048', 'ctest-vn-85268271'], 'port_security_enabled': True, 'description': ''}}
2026-02-03 13:18:24,558 - DEBUG - Response for create_subnet : {'subnet': {'id': '7c42f22a-67f9-47d6-b29a-35373b62a975', 'name': '', 'tenant_id': 'f48ed5d33db14c66b940271baf9aa231', 'network_id': '28d3b53a-710a-4b70-8ca9-7736e4c7c37f', 'ip_version': 4, 'cidr': '219.89.58.64/26', 'allocation_pools': [{'start': '219.89.58.66', 'end': '219.89.58.126'}], 'gateway_ip': '219.89.58.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '219.89.58.66', 'tags': [], 'project_id': 'f48ed5d33db14c66b940271baf9aa231'}}
2026-02-03 13:18:24,578 - INFO - Created VN ctest-vn-85268271
2026-02-03 13:18:24,635 - DEBUG - VN ctest-vn-85268271 UUID is 28d3b53a-710a-4b70-8ca9-7736e4c7c37f
2026-02-03 13:18:24,758 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-34640048:ctest-vn-63633310, 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-34640048:ctest-vn-85268271, 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-03 13:18:25,038 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '20c34f80-460a-4e21-b4e2-3d950247881b', 'name': 'ctest-vn-63633310', 'tenant_id': 'f48ed5d33db14c66b940271baf9aa231', 'project_id': 'f48ed5d33db14c66b940271baf9aa231', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7d6212fb-ff17-4c4e-acfc-6d32cf53e965'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-34640048', 'ctest-vn-63633310'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-34640048', 'ctest-policy-allow-all-84138644']], 'subnet_ipam': [{'subnet_cidr': '54.77.51.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-03 13:18:25,308 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '28d3b53a-710a-4b70-8ca9-7736e4c7c37f', 'name': 'ctest-vn-85268271', 'tenant_id': 'f48ed5d33db14c66b940271baf9aa231', 'project_id': 'f48ed5d33db14c66b940271baf9aa231', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7c42f22a-67f9-47d6-b29a-35373b62a975'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-34640048', 'ctest-vn-85268271'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-34640048', 'ctest-policy-allow-all-84138644']], 'subnet_ipam': [{'subnet_cidr': '219.89.58.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-03 13:18:25,459 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2026-02-03 13:18:25,763 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2026-02-03 13:18:25,796 - DEBUG - Requesting: http://10.0.0.19:8082/domain/3ddc8fb3-d1db-4ec7-851f-2656a45886cc
2026-02-03 13:18:25,807 - DEBUG - Requesting: http://10.0.0.19:8082/project/f48ed5d3-3db1-4c66-b940-271baf9aa231
2026-02-03 13:18:25,878 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/20c34f80-460a-4e21-b4e2-3d950247881b
2026-02-03 13:18:25,892 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/20c34f80-460a-4e21-b4e2-3d950247881b
2026-02-03 13:18:25,903 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/83fbc492-c615-4792-aafe-9647102bbaa2
2026-02-03 13:18:25,911 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/83fbc492-c615-4792-aafe-9647102bbaa2
2026-02-03 13:18:25,920 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/876fd14c-53a9-4d3e-ae40-c4554bb3854b
2026-02-03 13:18:25,927 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-03 13:18:25,927 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/20c34f80-460a-4e21-b4e2-3d950247881b
2026-02-03 13:18:25,938 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/83fbc492-c615-4792-aafe-9647102bbaa2
2026-02-03 13:18:25,953 - INFO - Verified VN network id 10 for VN 20c34f80-460a-4e21-b4e2-3d950247881b
2026-02-03 13:18:25,953 - INFO - Verifications in API Server for VN ctest-vn-63633310 passed
2026-02-03 13:18:25,953 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/20c34f80-460a-4e21-b4e2-3d950247881b
2026-02-03 13:18:25,962 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/83fbc492-c615-4792-aafe-9647102bbaa2
2026-02-03 13:18:25,969 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/83fbc492-c615-4792-aafe-9647102bbaa2
2026-02-03 13:18:25,977 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/876fd14c-53a9-4d3e-ae40-c4554bb3854b
2026-02-03 13:18:25,991 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-34640048:ctest-vn-63633310', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-34640048', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2360818042021760545', 'uuid-lslong': '13034047981761300507'}, 'enable': 'true', 'created': '2026-02-03T13:18:23', 'last-modified': '2026-02-03T13:18:25', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.970663'}
2026-02-03 13:18:25,997 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-03 13:18:25,997 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-63633310 passed
2026-02-03 13:18:25,998 - DEBUG - ====Verifying policy data for ctest-vn-63633310 in API_Server ======
2026-02-03 13:18:25,998 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2026-02-03 13:18:26,004 - DEBUG - Requesting: http://10.0.0.19:8082/domain/3ddc8fb3-d1db-4ec7-851f-2656a45886cc
2026-02-03 13:18:26,015 - DEBUG - Requesting: http://10.0.0.19:8082/project/f48ed5d3-3db1-4c66-b940-271baf9aa231
2026-02-03 13:18:26,091 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/20c34f80-460a-4e21-b4e2-3d950247881b
2026-02-03 13:18:26,100 - DEBUG - ==>Verifying data for policy with id: 58ecd5f8-84d2-46f9-b30b-1532e33c9f26, fqn: ['default-domain', 'ctest-TestBasicPolicy-34640048', 'ctest-policy-allow-all-84138644']
2026-02-03 13:18:26,100 - INFO - VN ctest-vn-63633310 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-03 13:18:26,100 - DEBUG - Verifying the vn in opserver
2026-02-03 13:18:26,100 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-34640048:ctest-vn-63633310 virtual network link through opserver 10.0.0.19
2026-02-03 13:18:26,101 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks
2026-02-03 13:18:26,399 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks
2026-02-03 13:18:26,470 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-34640048:ctest-vn-63633310', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-34640048:ctest-vn-63633310?flat'}
2026-02-03 13:18:26,470 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-34640048:ctest-vn-63633310 is found in opserver
2026-02-03 13:18:26,480 - DEBUG - Do not have enough data to verify VN in agent
2026-02-03 13:18:26,484 - DEBUG - VRF ids for VN ctest-vn-63633310: {}
2026-02-03 13:18:26,484 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2026-02-03 13:18:26,489 - DEBUG - Requesting: http://10.0.0.19:8082/domain/3ddc8fb3-d1db-4ec7-851f-2656a45886cc
2026-02-03 13:18:26,499 - DEBUG - Requesting: http://10.0.0.19:8082/project/f48ed5d3-3db1-4c66-b940-271baf9aa231
2026-02-03 13:18:26,577 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/28d3b53a-710a-4b70-8ca9-7736e4c7c37f
2026-02-03 13:18:26,590 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/28d3b53a-710a-4b70-8ca9-7736e4c7c37f
2026-02-03 13:18:26,601 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/7d9490aa-22d0-49d3-a7dd-45704175ccee
2026-02-03 13:18:26,608 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/7d9490aa-22d0-49d3-a7dd-45704175ccee
2026-02-03 13:18:26,615 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/6a9fdd90-e0ac-47f1-8e21-12a8c8ec3852
2026-02-03 13:18:26,622 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-03 13:18:26,622 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/28d3b53a-710a-4b70-8ca9-7736e4c7c37f
2026-02-03 13:18:26,632 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/7d9490aa-22d0-49d3-a7dd-45704175ccee
2026-02-03 13:18:26,647 - INFO - Verified VN network id 11 for VN 28d3b53a-710a-4b70-8ca9-7736e4c7c37f
2026-02-03 13:18:26,647 - INFO - Verifications in API Server for VN ctest-vn-85268271 passed
2026-02-03 13:18:26,647 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/28d3b53a-710a-4b70-8ca9-7736e4c7c37f
2026-02-03 13:18:26,655 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/7d9490aa-22d0-49d3-a7dd-45704175ccee
2026-02-03 13:18:26,663 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/7d9490aa-22d0-49d3-a7dd-45704175ccee
2026-02-03 13:18:26,669 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/6a9fdd90-e0ac-47f1-8e21-12a8c8ec3852
2026-02-03 13:18:26,681 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-34640048:ctest-vn-85268271', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-34640048', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2941894244212296560', 'uuid-lslong': '10135763514024248191'}, 'enable': 'true', 'created': '2026-02-03T13:18:24', 'last-modified': '2026-02-03T13:18:25', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.434214'}
2026-02-03 13:18:26,687 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-03 13:18:26,687 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-85268271 passed
2026-02-03 13:18:26,687 - DEBUG - ====Verifying policy data for ctest-vn-85268271 in API_Server ======
2026-02-03 13:18:26,687 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2026-02-03 13:18:26,692 - DEBUG - Requesting: http://10.0.0.19:8082/domain/3ddc8fb3-d1db-4ec7-851f-2656a45886cc
2026-02-03 13:18:26,705 - DEBUG - Requesting: http://10.0.0.19:8082/project/f48ed5d3-3db1-4c66-b940-271baf9aa231
2026-02-03 13:18:26,780 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/28d3b53a-710a-4b70-8ca9-7736e4c7c37f
2026-02-03 13:18:26,792 - DEBUG - ==>Verifying data for policy with id: 58ecd5f8-84d2-46f9-b30b-1532e33c9f26, fqn: ['default-domain', 'ctest-TestBasicPolicy-34640048', 'ctest-policy-allow-all-84138644']
2026-02-03 13:18:26,792 - INFO - VN ctest-vn-85268271 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-03 13:18:26,792 - DEBUG - Verifying the vn in opserver
2026-02-03 13:18:26,792 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-34640048:ctest-vn-85268271 virtual network link through opserver 10.0.0.19
2026-02-03 13:18:26,792 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks
2026-02-03 13:18:26,803 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-34640048:ctest-vn-85268271', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-34640048:ctest-vn-85268271?flat'}
2026-02-03 13:18:26,803 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-34640048:ctest-vn-85268271 is found in opserver
2026-02-03 13:18:26,814 - DEBUG - Do not have enough data to verify VN in agent
2026-02-03 13:18:26,820 - DEBUG - VRF ids for VN ctest-vn-85268271: {}
2026-02-03 13:18:26,888 - DEBUG - Services list from nova: [