2026-01-28 13:17:38,978 - INFO - Domain Default found not creating
2026-01-28 13:17:39,153 - INFO - Project ctest-TestBasicPolicy-27339146 not found, creating it
2026-01-28 13:17:39,606 - INFO - Created Project:ctest-TestBasicPolicy-27339146, ID : 2fe0c25f-0e2c-4823-9438-b3edf0248f76
2026-01-28 13:17:41,092 - INFO - ================================================================================
2026-01-28 13:17:41,093 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-01-28 13:17:41,093 - 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-28 13:17:41,352 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.254': '0'}} with
2026-01-28 13:17:41,352 - INFO - Initial checks done. Running the testcase now
2026-01-28 13:17:41,352 - INFO -
2026-01-28 13:17:41,928 - DEBUG - Response for create_network : {'network': {'id': '96df9a4a-2666-4aaa-a475-3b9e53605eb8', 'name': 'ctest-vn-94491249', 'tenant_id': '2fe0c25f0e2c48239438b3edf0248f76', 'project_id': '2fe0c25f0e2c48239438b3edf0248f76', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-27339146', 'ctest-vn-94491249'], 'port_security_enabled': True, 'description': ''}}
2026-01-28 13:17:42,171 - DEBUG - Response for create_subnet : {'subnet': {'id': '25731ff2-0287-4799-a20c-80a71094dfc5', 'name': '', 'tenant_id': '2fe0c25f0e2c48239438b3edf0248f76', 'network_id': '96df9a4a-2666-4aaa-a475-3b9e53605eb8', 'ip_version': 4, 'cidr': '82.74.130.0/26', 'allocation_pools': [{'start': '82.74.130.2', 'end': '82.74.130.62'}], 'gateway_ip': '82.74.130.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '82.74.130.2', 'tags': [], 'project_id': '2fe0c25f0e2c48239438b3edf0248f76'}}
2026-01-28 13:17:42,190 - INFO - Created VN ctest-vn-94491249
2026-01-28 13:17:42,243 - DEBUG - VN ctest-vn-94491249 UUID is 96df9a4a-2666-4aaa-a475-3b9e53605eb8
2026-01-28 13:17:42,549 - DEBUG - Response for create_network : {'network': {'id': 'b3d98fcb-b107-4045-b7fb-2f6e90172a60', 'name': 'ctest-vn-13476451', 'tenant_id': '2fe0c25f0e2c48239438b3edf0248f76', 'project_id': '2fe0c25f0e2c48239438b3edf0248f76', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-27339146', 'ctest-vn-13476451'], 'port_security_enabled': True, 'description': ''}}
2026-01-28 13:17:42,769 - DEBUG - Response for create_subnet : {'subnet': {'id': '4a0d6acb-c55c-4837-8018-35f572637980', 'name': '', 'tenant_id': '2fe0c25f0e2c48239438b3edf0248f76', 'network_id': 'b3d98fcb-b107-4045-b7fb-2f6e90172a60', 'ip_version': 4, 'cidr': '210.170.228.64/26', 'allocation_pools': [{'start': '210.170.228.66', 'end': '210.170.228.126'}], 'gateway_ip': '210.170.228.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '210.170.228.66', 'tags': [], 'project_id': '2fe0c25f0e2c48239438b3edf0248f76'}}
2026-01-28 13:17:42,789 - INFO - Created VN ctest-vn-13476451
2026-01-28 13:17:42,843 - DEBUG - VN ctest-vn-13476451 UUID is b3d98fcb-b107-4045-b7fb-2f6e90172a60
2026-01-28 13:17:42,956 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-27339146:ctest-vn-94491249, 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-27339146:ctest-vn-13476451, 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-28 13:17:43,250 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '96df9a4a-2666-4aaa-a475-3b9e53605eb8', 'name': 'ctest-vn-94491249', 'tenant_id': '2fe0c25f0e2c48239438b3edf0248f76', 'project_id': '2fe0c25f0e2c48239438b3edf0248f76', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['25731ff2-0287-4799-a20c-80a71094dfc5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-27339146', 'ctest-vn-94491249'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-27339146', 'ctest-policy-allow-all-86573741']], 'subnet_ipam': [{'subnet_cidr': '82.74.130.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-28 13:17:43,481 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b3d98fcb-b107-4045-b7fb-2f6e90172a60', 'name': 'ctest-vn-13476451', 'tenant_id': '2fe0c25f0e2c48239438b3edf0248f76', 'project_id': '2fe0c25f0e2c48239438b3edf0248f76', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4a0d6acb-c55c-4837-8018-35f572637980'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-27339146', 'ctest-vn-13476451'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-27339146', 'ctest-policy-allow-all-86573741']], 'subnet_ipam': [{'subnet_cidr': '210.170.228.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-28 13:17:43,651 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2026-01-28 13:17:43,951 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2026-01-28 13:17:43,985 - DEBUG - Requesting: http://10.0.0.141:8082/domain/ceebe4b1-2a25-4dca-b8c2-5f1d2f42b9e6
2026-01-28 13:17:43,998 - DEBUG - Requesting: http://10.0.0.141:8082/project/2fe0c25f-0e2c-4823-9438-b3edf0248f76
2026-01-28 13:17:44,072 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/96df9a4a-2666-4aaa-a475-3b9e53605eb8
2026-01-28 13:17:44,082 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/96df9a4a-2666-4aaa-a475-3b9e53605eb8
2026-01-28 13:17:44,091 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/a52c2dd2-c5af-4a0e-bb45-cdfad0580962
2026-01-28 13:17:44,099 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/a52c2dd2-c5af-4a0e-bb45-cdfad0580962
2026-01-28 13:17:44,105 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/976158c9-60c8-45b4-97c3-25687fa6a2ae
2026-01-28 13:17:44,111 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-28 13:17:44,111 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/96df9a4a-2666-4aaa-a475-3b9e53605eb8
2026-01-28 13:17:44,119 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/a52c2dd2-c5af-4a0e-bb45-cdfad0580962
2026-01-28 13:17:44,134 - INFO - Verified VN network id 11 for VN 96df9a4a-2666-4aaa-a475-3b9e53605eb8
2026-01-28 13:17:44,134 - INFO - Verifications in API Server for VN ctest-vn-94491249 passed
2026-01-28 13:17:44,134 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/96df9a4a-2666-4aaa-a475-3b9e53605eb8
2026-01-28 13:17:44,143 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/a52c2dd2-c5af-4a0e-bb45-cdfad0580962
2026-01-28 13:17:44,149 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/a52c2dd2-c5af-4a0e-bb45-cdfad0580962
2026-01-28 13:17:44,159 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/976158c9-60c8-45b4-97c3-25687fa6a2ae
2026-01-28 13:17:44,171 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-27339146:ctest-vn-94491249', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-27339146', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10871577668758162090', 'uuid-lslong': '11850443545685024440'}, 'enable': 'true', 'created': '2026-01-28T13:17:41', 'last-modified': '2026-01-28T13:17:43', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.941700'}
2026-01-28 13:17:44,177 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-28 13:17:44,177 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-94491249 passed
2026-01-28 13:17:44,177 - DEBUG - ====Verifying policy data for ctest-vn-94491249 in API_Server ======
2026-01-28 13:17:44,177 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2026-01-28 13:17:44,184 - DEBUG - Requesting: http://10.0.0.141:8082/domain/ceebe4b1-2a25-4dca-b8c2-5f1d2f42b9e6
2026-01-28 13:17:44,195 - DEBUG - Requesting: http://10.0.0.141:8082/project/2fe0c25f-0e2c-4823-9438-b3edf0248f76
2026-01-28 13:17:44,265 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/96df9a4a-2666-4aaa-a475-3b9e53605eb8
2026-01-28 13:17:44,273 - DEBUG - ==>Verifying data for policy with id: c4a69975-2109-4afa-b8d0-6e99ab24074d, fqn: ['default-domain', 'ctest-TestBasicPolicy-27339146', 'ctest-policy-allow-all-86573741']
2026-01-28 13:17:44,273 - INFO - VN ctest-vn-94491249 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-28 13:17:44,273 - DEBUG - Verifying the vn in opserver
2026-01-28 13:17:44,273 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-27339146:ctest-vn-94491249 virtual network link through opserver 10.0.0.141
2026-01-28 13:17:44,273 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks
2026-01-28 13:17:44,567 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks
2026-01-28 13:17:44,635 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-27339146:ctest-vn-94491249', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-27339146:ctest-vn-94491249?flat'}
2026-01-28 13:17:44,635 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-27339146:ctest-vn-94491249 is found in opserver
2026-01-28 13:17:44,645 - DEBUG - Do not have enough data to verify VN in agent
2026-01-28 13:17:44,650 - DEBUG - VRF ids for VN ctest-vn-94491249: {}
2026-01-28 13:17:44,650 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2026-01-28 13:17:44,656 - DEBUG - Requesting: http://10.0.0.141:8082/domain/ceebe4b1-2a25-4dca-b8c2-5f1d2f42b9e6
2026-01-28 13:17:44,668 - DEBUG - Requesting: http://10.0.0.141:8082/project/2fe0c25f-0e2c-4823-9438-b3edf0248f76
2026-01-28 13:17:44,743 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/b3d98fcb-b107-4045-b7fb-2f6e90172a60
2026-01-28 13:17:44,754 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/b3d98fcb-b107-4045-b7fb-2f6e90172a60
2026-01-28 13:17:44,764 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/48a4153e-bceb-4d35-ab04-8f4228576c2c
2026-01-28 13:17:44,771 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/48a4153e-bceb-4d35-ab04-8f4228576c2c
2026-01-28 13:17:44,780 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/58773e7f-f7d4-4ba2-ac0b-2a9b6dc7686f
2026-01-28 13:17:44,788 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-28 13:17:44,788 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/b3d98fcb-b107-4045-b7fb-2f6e90172a60
2026-01-28 13:17:44,799 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/48a4153e-bceb-4d35-ab04-8f4228576c2c
2026-01-28 13:17:44,815 - INFO - Verified VN network id 12 for VN b3d98fcb-b107-4045-b7fb-2f6e90172a60
2026-01-28 13:17:44,816 - INFO - Verifications in API Server for VN ctest-vn-13476451 passed
2026-01-28 13:17:44,816 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/b3d98fcb-b107-4045-b7fb-2f6e90172a60
2026-01-28 13:17:44,827 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/48a4153e-bceb-4d35-ab04-8f4228576c2c
2026-01-28 13:17:44,835 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/48a4153e-bceb-4d35-ab04-8f4228576c2c
2026-01-28 13:17:44,843 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/58773e7f-f7d4-4ba2-ac0b-2a9b6dc7686f
2026-01-28 13:17:44,855 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-27339146:ctest-vn-13476451', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-27339146', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12959547507746488389', 'uuid-lslong': '13257242080005532256'}, 'enable': 'true', 'created': '2026-01-28T13:17:42', 'last-modified': '2026-01-28T13:17:43', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.390931'}
2026-01-28 13:17:44,861 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-28 13:17:44,862 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-13476451 passed
2026-01-28 13:17:44,862 - DEBUG - ====Verifying policy data for ctest-vn-13476451 in API_Server ======
2026-01-28 13:17:44,862 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2026-01-28 13:17:44,869 - DEBUG - Requesting: http://10.0.0.141:8082/domain/ceebe4b1-2a25-4dca-b8c2-5f1d2f42b9e6
2026-01-28 13:17:44,884 - DEBUG - Requesting: http://10.0.0.141:8082/project/2fe0c25f-0e2c-4823-9438-b3edf0248f76
2026-01-28 13:17:44,959 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/b3d98fcb-b107-4045-b7fb-2f6e90172a60
2026-01-28 13:17:44,969 - DEBUG - ==>Verifying data for policy with id: c4a69975-2109-4afa-b8d0-6e99ab24074d, fqn: ['default-domain', 'ctest-TestBasicPolicy-27339146', 'ctest-policy-allow-all-86573741']
2026-01-28 13:17:44,969 - INFO - VN ctest-vn-13476451 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-28 13:17:44,969 - DEBUG - Verifying the vn in opserver
2026-01-28 13:17:44,969 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-27339146:ctest-vn-13476451 virtual network link through opserver 10.0.0.141
2026-01-28 13:17:44,969 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks
2026-01-28 13:17:44,979 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-27339146:ctest-vn-13476451', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-27339146:ctest-vn-13476451?flat'}
2026-01-28 13:17:44,979 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-27339146:ctest-vn-13476451 is found in opserver
2026-01-28 13:17:44,988 - DEBUG - Do not have enough data to verify VN in agent
2026-01-28 13:17:44,992 - DEBUG - VRF ids for VN ctest-vn-13476451: {}
2026-01-28 13:17:45,047 - DEBUG - Services list from nova: [