2026-04-28 18:42:34,924 - INFO - Domain Default found not creating
2026-04-28 18:42:35,118 - INFO - Project ctest-TestBasicPolicy-62910307 not found, creating it
2026-04-28 18:42:35,625 - INFO - Created Project:ctest-TestBasicPolicy-62910307, ID : 38cb7447-ef97-4f6b-a2ae-8365bb6505a2
2026-04-28 18:42:37,124 - INFO - ================================================================================
2026-04-28 18:42:37,124 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-04-28 18:42:37,124 - 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-04-28 18:42:37,380 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2026-04-28 18:42:37,380 - INFO - Initial checks done. Running the testcase now
2026-04-28 18:42:37,380 - INFO -
2026-04-28 18:42:37,913 - DEBUG - Response for create_network : {'network': {'id': '8fee5812-92db-475a-a999-9d42cc3d39d0', 'name': 'ctest-vn-55539438', 'tenant_id': '38cb7447ef974f6ba2ae8365bb6505a2', 'project_id': '38cb7447ef974f6ba2ae8365bb6505a2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-62910307', 'ctest-vn-55539438'], 'port_security_enabled': True, 'description': ''}}
2026-04-28 18:42:38,157 - DEBUG - Response for create_subnet : {'subnet': {'id': '745c601d-7a8f-4511-a11b-0ac0b7d3d16f', 'name': '', 'tenant_id': '38cb7447ef974f6ba2ae8365bb6505a2', 'network_id': '8fee5812-92db-475a-a999-9d42cc3d39d0', 'ip_version': 4, 'cidr': '94.17.253.64/26', 'allocation_pools': [{'start': '94.17.253.66', 'end': '94.17.253.126'}], 'gateway_ip': '94.17.253.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '94.17.253.66', 'tags': [], 'project_id': '38cb7447ef974f6ba2ae8365bb6505a2'}}
2026-04-28 18:42:38,174 - INFO - Created VN ctest-vn-55539438
2026-04-28 18:42:38,228 - DEBUG - VN ctest-vn-55539438 UUID is 8fee5812-92db-475a-a999-9d42cc3d39d0
2026-04-28 18:42:38,510 - DEBUG - Response for create_network : {'network': {'id': 'b4e26f81-6dd5-46dc-9e9e-38d7346bb122', 'name': 'ctest-vn-89100162', 'tenant_id': '38cb7447ef974f6ba2ae8365bb6505a2', 'project_id': '38cb7447ef974f6ba2ae8365bb6505a2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-62910307', 'ctest-vn-89100162'], 'port_security_enabled': True, 'description': ''}}
2026-04-28 18:42:38,670 - DEBUG - Response for create_subnet : {'subnet': {'id': '5beb6aa2-495c-4ce8-ab5a-2dd5a334b13c', 'name': '', 'tenant_id': '38cb7447ef974f6ba2ae8365bb6505a2', 'network_id': 'b4e26f81-6dd5-46dc-9e9e-38d7346bb122', 'ip_version': 4, 'cidr': '179.180.107.192/26', 'allocation_pools': [{'start': '179.180.107.194', 'end': '179.180.107.254'}], 'gateway_ip': '179.180.107.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '179.180.107.194', 'tags': [], 'project_id': '38cb7447ef974f6ba2ae8365bb6505a2'}}
2026-04-28 18:42:38,688 - INFO - Created VN ctest-vn-89100162
2026-04-28 18:42:38,744 - DEBUG - VN ctest-vn-89100162 UUID is b4e26f81-6dd5-46dc-9e9e-38d7346bb122
2026-04-28 18:42:38,892 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-62910307:ctest-vn-55539438, 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-62910307:ctest-vn-89100162, 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-04-28 18:42:39,184 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8fee5812-92db-475a-a999-9d42cc3d39d0', 'name': 'ctest-vn-55539438', 'tenant_id': '38cb7447ef974f6ba2ae8365bb6505a2', 'project_id': '38cb7447ef974f6ba2ae8365bb6505a2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['745c601d-7a8f-4511-a11b-0ac0b7d3d16f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-62910307', 'ctest-vn-55539438'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-62910307', 'ctest-policy-allow-all-05601783']], 'subnet_ipam': [{'subnet_cidr': '94.17.253.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-04-28 18:42:39,415 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b4e26f81-6dd5-46dc-9e9e-38d7346bb122', 'name': 'ctest-vn-89100162', 'tenant_id': '38cb7447ef974f6ba2ae8365bb6505a2', 'project_id': '38cb7447ef974f6ba2ae8365bb6505a2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5beb6aa2-495c-4ce8-ab5a-2dd5a334b13c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-62910307', 'ctest-vn-89100162'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-62910307', 'ctest-policy-allow-all-05601783']], 'subnet_ipam': [{'subnet_cidr': '179.180.107.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-04-28 18:42:39,576 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-04-28 18:42:39,870 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-04-28 18:42:39,903 - DEBUG - Requesting: http://10.0.0.50:8082/domain/568ce4b5-5df4-4839-bd23-e0efc03de619
2026-04-28 18:42:39,916 - DEBUG - Requesting: http://10.0.0.50:8082/project/38cb7447-ef97-4f6b-a2ae-8365bb6505a2
2026-04-28 18:42:39,988 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/8fee5812-92db-475a-a999-9d42cc3d39d0
2026-04-28 18:42:40,000 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/8fee5812-92db-475a-a999-9d42cc3d39d0
2026-04-28 18:42:40,010 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/710fe6d6-d719-4e2b-87ce-c6c4f8a465f2
2026-04-28 18:42:40,018 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/710fe6d6-d719-4e2b-87ce-c6c4f8a465f2
2026-04-28 18:42:40,025 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/ead01d4e-f554-4964-bc0b-2eb15eda37bf
2026-04-28 18:42:40,033 - DEBUG - Route Targets: ['target:64512:8000004']
2026-04-28 18:42:40,033 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/8fee5812-92db-475a-a999-9d42cc3d39d0
2026-04-28 18:42:40,042 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/710fe6d6-d719-4e2b-87ce-c6c4f8a465f2
2026-04-28 18:42:40,058 - INFO - Verified VN network id 11 for VN 8fee5812-92db-475a-a999-9d42cc3d39d0
2026-04-28 18:42:40,058 - INFO - Verifications in API Server for VN ctest-vn-55539438 passed
2026-04-28 18:42:40,058 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/8fee5812-92db-475a-a999-9d42cc3d39d0
2026-04-28 18:42:40,067 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/710fe6d6-d719-4e2b-87ce-c6c4f8a465f2
2026-04-28 18:42:40,075 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/710fe6d6-d719-4e2b-87ce-c6c4f8a465f2
2026-04-28 18:42:40,082 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/ead01d4e-f554-4964-bc0b-2eb15eda37bf
2026-04-28 18:42:40,095 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-62910307:ctest-vn-55539438', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-62910307', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10371323828677330778', 'uuid-lslong': '12220971974066518480'}, 'enable': 'true', 'created': '2026-04-28T18:42:37', 'last-modified': '2026-04-28T18:42:39', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.934289'}
2026-04-28 18:42:40,102 - DEBUG - Route Targets: ['target:64512:8000004']
2026-04-28 18:42:40,102 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-55539438 passed
2026-04-28 18:42:40,102 - DEBUG - ====Verifying policy data for ctest-vn-55539438 in API_Server ======
2026-04-28 18:42:40,102 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-04-28 18:42:40,109 - DEBUG - Requesting: http://10.0.0.50:8082/domain/568ce4b5-5df4-4839-bd23-e0efc03de619
2026-04-28 18:42:40,119 - DEBUG - Requesting: http://10.0.0.50:8082/project/38cb7447-ef97-4f6b-a2ae-8365bb6505a2
2026-04-28 18:42:40,194 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/8fee5812-92db-475a-a999-9d42cc3d39d0
2026-04-28 18:42:40,204 - DEBUG - ==>Verifying data for policy with id: eec74db1-a618-48ab-a30a-e7bc1b72d02b, fqn: ['default-domain', 'ctest-TestBasicPolicy-62910307', 'ctest-policy-allow-all-05601783']
2026-04-28 18:42:40,204 - INFO - VN ctest-vn-55539438 Policy verification: verify_vn_policy_in_api_server, status: True
2026-04-28 18:42:40,204 - DEBUG - Verifying the vn in opserver
2026-04-28 18:42:40,204 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-62910307:ctest-vn-55539438 virtual network link through opserver 10.0.0.50
2026-04-28 18:42:40,204 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-04-28 18:42:40,499 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-04-28 18:42:40,566 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-62910307:ctest-vn-55539438', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-62910307:ctest-vn-55539438?flat'}
2026-04-28 18:42:40,566 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-62910307:ctest-vn-55539438 is found in opserver
2026-04-28 18:42:40,576 - DEBUG - Do not have enough data to verify VN in agent
2026-04-28 18:42:40,580 - DEBUG - VRF ids for VN ctest-vn-55539438: {}
2026-04-28 18:42:40,580 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-04-28 18:42:40,586 - DEBUG - Requesting: http://10.0.0.50:8082/domain/568ce4b5-5df4-4839-bd23-e0efc03de619
2026-04-28 18:42:40,597 - DEBUG - Requesting: http://10.0.0.50:8082/project/38cb7447-ef97-4f6b-a2ae-8365bb6505a2
2026-04-28 18:42:40,674 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b4e26f81-6dd5-46dc-9e9e-38d7346bb122
2026-04-28 18:42:40,687 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b4e26f81-6dd5-46dc-9e9e-38d7346bb122
2026-04-28 18:42:40,699 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/96b413f3-2a94-4636-8eb0-6f4ec0115779
2026-04-28 18:42:40,707 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/96b413f3-2a94-4636-8eb0-6f4ec0115779
2026-04-28 18:42:40,714 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/701d2fd8-6295-428b-af76-5e53dad9444f
2026-04-28 18:42:40,720 - DEBUG - Route Targets: ['target:64512:8000005']
2026-04-28 18:42:40,720 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b4e26f81-6dd5-46dc-9e9e-38d7346bb122
2026-04-28 18:42:40,729 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/96b413f3-2a94-4636-8eb0-6f4ec0115779
2026-04-28 18:42:40,747 - INFO - Verified VN network id 12 for VN b4e26f81-6dd5-46dc-9e9e-38d7346bb122
2026-04-28 18:42:40,747 - INFO - Verifications in API Server for VN ctest-vn-89100162 passed
2026-04-28 18:42:40,747 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b4e26f81-6dd5-46dc-9e9e-38d7346bb122
2026-04-28 18:42:40,758 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/96b413f3-2a94-4636-8eb0-6f4ec0115779
2026-04-28 18:42:40,767 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/96b413f3-2a94-4636-8eb0-6f4ec0115779
2026-04-28 18:42:40,776 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/701d2fd8-6295-428b-af76-5e53dad9444f
2026-04-28 18:42:40,790 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-62910307:ctest-vn-89100162', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-62910307', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13034102873247794908', 'uuid-lslong': '11429635401261494562'}, 'enable': 'true', 'created': '2026-04-28T18:42:38', 'last-modified': '2026-04-28T18:42:39', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.401346'}
2026-04-28 18:42:40,796 - DEBUG - Route Targets: ['target:64512:8000005']
2026-04-28 18:42:40,796 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-89100162 passed
2026-04-28 18:42:40,796 - DEBUG - ====Verifying policy data for ctest-vn-89100162 in API_Server ======
2026-04-28 18:42:40,796 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-04-28 18:42:40,801 - DEBUG - Requesting: http://10.0.0.50:8082/domain/568ce4b5-5df4-4839-bd23-e0efc03de619
2026-04-28 18:42:40,812 - DEBUG - Requesting: http://10.0.0.50:8082/project/38cb7447-ef97-4f6b-a2ae-8365bb6505a2
2026-04-28 18:42:40,884 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b4e26f81-6dd5-46dc-9e9e-38d7346bb122
2026-04-28 18:42:40,893 - DEBUG - ==>Verifying data for policy with id: eec74db1-a618-48ab-a30a-e7bc1b72d02b, fqn: ['default-domain', 'ctest-TestBasicPolicy-62910307', 'ctest-policy-allow-all-05601783']
2026-04-28 18:42:40,894 - INFO - VN ctest-vn-89100162 Policy verification: verify_vn_policy_in_api_server, status: True
2026-04-28 18:42:40,894 - DEBUG - Verifying the vn in opserver
2026-04-28 18:42:40,894 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-62910307:ctest-vn-89100162 virtual network link through opserver 10.0.0.50
2026-04-28 18:42:40,894 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-04-28 18:42:40,904 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-62910307:ctest-vn-89100162', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-62910307:ctest-vn-89100162?flat'}
2026-04-28 18:42:40,904 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-62910307:ctest-vn-89100162 is found in opserver
2026-04-28 18:42:40,913 - DEBUG - Do not have enough data to verify VN in agent
2026-04-28 18:42:40,918 - DEBUG - VRF ids for VN ctest-vn-89100162: {}
2026-04-28 18:42:40,976 - DEBUG - Services list from nova: [