2026-08-24 10:52:46,683 - INFO - Domain Default found not creating
2026-08-24 10:52:46,854 - INFO - Project ctest-TestBasicPolicy-21796544 not found, creating it
2026-08-24 10:52:47,340 - INFO - Created Project:ctest-TestBasicPolicy-21796544, ID : 7ccdf3c2-14b3-4288-b33a-4617a31ecc88
2026-08-24 10:52:48,922 - INFO - ================================================================================
2026-08-24 10:52:48,922 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-08-24 10:52:48,922 - 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-08-24 10:52:49,178 - DEBUG - Nothing to compare xmpp stats {'10.0.0.185': {'10.20.0.17': '0'}} with
2026-08-24 10:52:49,178 - INFO - Initial checks done. Running the testcase now
2026-08-24 10:52:49,178 - INFO -
2026-08-24 10:52:49,787 - DEBUG - Response for create_network : {'network': {'id': '947f0635-42f2-4a50-ba4d-2d225bbb2ecd', 'name': 'ctest-vn-59248379', 'tenant_id': '7ccdf3c214b34288b33a4617a31ecc88', 'project_id': '7ccdf3c214b34288b33a4617a31ecc88', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21796544', 'ctest-vn-59248379'], 'port_security_enabled': True, 'description': ''}}
2026-08-24 10:52:50,021 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b72dffd6-bd92-45dc-89ac-24e415ed0f2d', 'name': '', 'tenant_id': '7ccdf3c214b34288b33a4617a31ecc88', 'network_id': '947f0635-42f2-4a50-ba4d-2d225bbb2ecd', 'ip_version': 4, 'cidr': '89.61.113.0/26', 'allocation_pools': [{'start': '89.61.113.2', 'end': '89.61.113.62'}], 'gateway_ip': '89.61.113.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '89.61.113.2', 'tags': [], 'project_id': '7ccdf3c214b34288b33a4617a31ecc88'}}
2026-08-24 10:52:50,039 - INFO - Created VN ctest-vn-59248379
2026-08-24 10:52:50,091 - DEBUG - VN ctest-vn-59248379 UUID is 947f0635-42f2-4a50-ba4d-2d225bbb2ecd
2026-08-24 10:52:50,411 - DEBUG - Response for create_network : {'network': {'id': 'c4f60a18-ecf3-4b6f-a6c8-2e9671c1330a', 'name': 'ctest-vn-07261858', 'tenant_id': '7ccdf3c214b34288b33a4617a31ecc88', 'project_id': '7ccdf3c214b34288b33a4617a31ecc88', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21796544', 'ctest-vn-07261858'], 'port_security_enabled': True, 'description': ''}}
2026-08-24 10:52:50,606 - DEBUG - Response for create_subnet : {'subnet': {'id': '72e67325-bf65-401d-956d-a4c33e9204ab', 'name': '', 'tenant_id': '7ccdf3c214b34288b33a4617a31ecc88', 'network_id': 'c4f60a18-ecf3-4b6f-a6c8-2e9671c1330a', 'ip_version': 4, 'cidr': '131.245.101.128/26', 'allocation_pools': [{'start': '131.245.101.130', 'end': '131.245.101.190'}], 'gateway_ip': '131.245.101.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '131.245.101.130', 'tags': [], 'project_id': '7ccdf3c214b34288b33a4617a31ecc88'}}
2026-08-24 10:52:50,624 - INFO - Created VN ctest-vn-07261858
2026-08-24 10:52:50,678 - DEBUG - VN ctest-vn-07261858 UUID is c4f60a18-ecf3-4b6f-a6c8-2e9671c1330a
2026-08-24 10:52:50,795 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-21796544:ctest-vn-59248379, 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-21796544:ctest-vn-07261858, 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-08-24 10:52:51,134 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '947f0635-42f2-4a50-ba4d-2d225bbb2ecd', 'name': 'ctest-vn-59248379', 'tenant_id': '7ccdf3c214b34288b33a4617a31ecc88', 'project_id': '7ccdf3c214b34288b33a4617a31ecc88', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b72dffd6-bd92-45dc-89ac-24e415ed0f2d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21796544', 'ctest-vn-59248379'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-21796544', 'ctest-policy-allow-all-37524066']], 'subnet_ipam': [{'subnet_cidr': '89.61.113.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-08-24 10:52:51,399 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c4f60a18-ecf3-4b6f-a6c8-2e9671c1330a', 'name': 'ctest-vn-07261858', 'tenant_id': '7ccdf3c214b34288b33a4617a31ecc88', 'project_id': '7ccdf3c214b34288b33a4617a31ecc88', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['72e67325-bf65-401d-956d-a4c33e9204ab'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21796544', 'ctest-vn-07261858'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-21796544', 'ctest-policy-allow-all-37524066']], 'subnet_ipam': [{'subnet_cidr': '131.245.101.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-08-24 10:52:51,531 - DEBUG - Requesting: http://10.0.0.185:8082/domains
2026-08-24 10:52:51,855 - DEBUG - Requesting: http://10.0.0.185:8082/domains
2026-08-24 10:52:51,885 - DEBUG - Requesting: http://10.0.0.185:8082/domain/afc535ab-9491-4541-892e-998f7507e3d9
2026-08-24 10:52:51,898 - DEBUG - Requesting: http://10.0.0.185:8082/project/7ccdf3c2-14b3-4288-b33a-4617a31ecc88
2026-08-24 10:52:51,992 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/947f0635-42f2-4a50-ba4d-2d225bbb2ecd
2026-08-24 10:52:52,006 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/947f0635-42f2-4a50-ba4d-2d225bbb2ecd
2026-08-24 10:52:52,018 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/5cf26540-d93c-42f1-8609-6f6aeace523d
2026-08-24 10:52:52,028 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/5cf26540-d93c-42f1-8609-6f6aeace523d
2026-08-24 10:52:52,037 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/150d0b78-c261-4a5a-8f9f-3daaccbe35de
2026-08-24 10:52:52,045 - DEBUG - Route Targets: ['target:64512:8000004']
2026-08-24 10:52:52,045 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/947f0635-42f2-4a50-ba4d-2d225bbb2ecd
2026-08-24 10:52:52,057 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/5cf26540-d93c-42f1-8609-6f6aeace523d
2026-08-24 10:52:52,073 - INFO - Verified VN network id 11 for VN 947f0635-42f2-4a50-ba4d-2d225bbb2ecd
2026-08-24 10:52:52,073 - INFO - Verifications in API Server for VN ctest-vn-59248379 passed
2026-08-24 10:52:52,073 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/947f0635-42f2-4a50-ba4d-2d225bbb2ecd
2026-08-24 10:52:52,083 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/5cf26540-d93c-42f1-8609-6f6aeace523d
2026-08-24 10:52:52,091 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/5cf26540-d93c-42f1-8609-6f6aeace523d
2026-08-24 10:52:52,099 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/150d0b78-c261-4a5a-8f9f-3daaccbe35de
2026-08-24 10:52:52,117 - DEBUG - Control-node 10.0.0.185 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-21796544:ctest-vn-59248379', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-21796544', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10700278065481796176', 'uuid-lslong': '13424435689852448461'}, 'enable': 'true', 'created': '2026-08-24T10:52:49', 'last-modified': '2026-08-24T10:52:51', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.018520'}
2026-08-24 10:52:52,124 - DEBUG - Route Targets: ['target:64512:8000004']
2026-08-24 10:52:52,124 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-59248379 passed
2026-08-24 10:52:52,124 - DEBUG - ====Verifying policy data for ctest-vn-59248379 in API_Server ======
2026-08-24 10:52:52,124 - DEBUG - Requesting: http://10.0.0.185:8082/domains
2026-08-24 10:52:52,130 - DEBUG - Requesting: http://10.0.0.185:8082/domain/afc535ab-9491-4541-892e-998f7507e3d9
2026-08-24 10:52:52,142 - DEBUG - Requesting: http://10.0.0.185:8082/project/7ccdf3c2-14b3-4288-b33a-4617a31ecc88
2026-08-24 10:52:52,234 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/947f0635-42f2-4a50-ba4d-2d225bbb2ecd
2026-08-24 10:52:52,250 - DEBUG - ==>Verifying data for policy with id: 5c23bfa2-a962-4e8d-8b40-d9a28583c9ff, fqn: ['default-domain', 'ctest-TestBasicPolicy-21796544', 'ctest-policy-allow-all-37524066']
2026-08-24 10:52:52,250 - INFO - VN ctest-vn-59248379 Policy verification: verify_vn_policy_in_api_server, status: True
2026-08-24 10:52:52,251 - DEBUG - Verifying the vn in opserver
2026-08-24 10:52:52,251 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-21796544:ctest-vn-59248379 virtual network link through opserver 10.0.0.185
2026-08-24 10:52:52,251 - DEBUG - Requesting: http://10.0.0.185:8081/analytics/uves/virtual-networks
2026-08-24 10:52:52,575 - DEBUG - Requesting: http://10.0.0.185:8081/analytics/uves/virtual-networks
2026-08-24 10:52:52,635 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-21796544:ctest-vn-59248379', 'href': 'http://10.0.0.185:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-21796544:ctest-vn-59248379?flat'}
2026-08-24 10:52:52,635 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-21796544:ctest-vn-59248379 is found in opserver
2026-08-24 10:52:52,645 - DEBUG - Do not have enough data to verify VN in agent
2026-08-24 10:52:52,649 - DEBUG - VRF ids for VN ctest-vn-59248379: {}
2026-08-24 10:52:52,650 - DEBUG - Requesting: http://10.0.0.185:8082/domains
2026-08-24 10:52:52,655 - DEBUG - Requesting: http://10.0.0.185:8082/domain/afc535ab-9491-4541-892e-998f7507e3d9
2026-08-24 10:52:52,666 - DEBUG - Requesting: http://10.0.0.185:8082/project/7ccdf3c2-14b3-4288-b33a-4617a31ecc88
2026-08-24 10:52:52,746 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/c4f60a18-ecf3-4b6f-a6c8-2e9671c1330a
2026-08-24 10:52:52,758 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/c4f60a18-ecf3-4b6f-a6c8-2e9671c1330a
2026-08-24 10:52:52,766 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/52722213-f366-4d47-bc19-637aa76cdbf1
2026-08-24 10:52:52,773 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/52722213-f366-4d47-bc19-637aa76cdbf1
2026-08-24 10:52:52,780 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/eca6cae0-9772-4cbb-91a9-c88b6d1b17f9
2026-08-24 10:52:52,785 - DEBUG - Route Targets: ['target:64512:8000005']
2026-08-24 10:52:52,786 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/c4f60a18-ecf3-4b6f-a6c8-2e9671c1330a
2026-08-24 10:52:52,794 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/52722213-f366-4d47-bc19-637aa76cdbf1
2026-08-24 10:52:52,807 - INFO - Verified VN network id 12 for VN c4f60a18-ecf3-4b6f-a6c8-2e9671c1330a
2026-08-24 10:52:52,808 - INFO - Verifications in API Server for VN ctest-vn-07261858 passed
2026-08-24 10:52:52,808 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/c4f60a18-ecf3-4b6f-a6c8-2e9671c1330a
2026-08-24 10:52:52,816 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/52722213-f366-4d47-bc19-637aa76cdbf1
2026-08-24 10:52:52,821 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/52722213-f366-4d47-bc19-637aa76cdbf1
2026-08-24 10:52:52,829 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/eca6cae0-9772-4cbb-91a9-c88b6d1b17f9
2026-08-24 10:52:52,843 - DEBUG - Control-node 10.0.0.185 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-21796544:ctest-vn-07261858', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-21796544', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14192542377875557231', 'uuid-lslong': '12017906829326627594'}, 'enable': 'true', 'created': '2026-08-24T10:52:50', 'last-modified': '2026-08-24T10:52:51', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.409246'}
2026-08-24 10:52:52,851 - DEBUG - Route Targets: ['target:64512:8000005']
2026-08-24 10:52:52,851 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-07261858 passed
2026-08-24 10:52:52,851 - DEBUG - ====Verifying policy data for ctest-vn-07261858 in API_Server ======
2026-08-24 10:52:52,851 - DEBUG - Requesting: http://10.0.0.185:8082/domains
2026-08-24 10:52:52,858 - DEBUG - Requesting: http://10.0.0.185:8082/domain/afc535ab-9491-4541-892e-998f7507e3d9
2026-08-24 10:52:52,869 - DEBUG - Requesting: http://10.0.0.185:8082/project/7ccdf3c2-14b3-4288-b33a-4617a31ecc88
2026-08-24 10:52:52,940 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/c4f60a18-ecf3-4b6f-a6c8-2e9671c1330a
2026-08-24 10:52:52,948 - DEBUG - ==>Verifying data for policy with id: 5c23bfa2-a962-4e8d-8b40-d9a28583c9ff, fqn: ['default-domain', 'ctest-TestBasicPolicy-21796544', 'ctest-policy-allow-all-37524066']
2026-08-24 10:52:52,948 - INFO - VN ctest-vn-07261858 Policy verification: verify_vn_policy_in_api_server, status: True
2026-08-24 10:52:52,949 - DEBUG - Verifying the vn in opserver
2026-08-24 10:52:52,949 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-21796544:ctest-vn-07261858 virtual network link through opserver 10.0.0.185
2026-08-24 10:52:52,949 - DEBUG - Requesting: http://10.0.0.185:8081/analytics/uves/virtual-networks
2026-08-24 10:52:52,959 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-21796544:ctest-vn-07261858', 'href': 'http://10.0.0.185:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-21796544:ctest-vn-07261858?flat'}
2026-08-24 10:52:52,959 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-21796544:ctest-vn-07261858 is found in opserver
2026-08-24 10:52:52,970 - DEBUG - Do not have enough data to verify VN in agent
2026-08-24 10:52:52,975 - DEBUG - VRF ids for VN ctest-vn-07261858: {}
2026-08-24 10:52:53,037 - DEBUG - Services list from nova: [