2026-06-01 15:37:54,661 - INFO - Domain Default found not creating
2026-06-01 15:37:54,852 - INFO - Project ctest-TestBasicPolicy-18545045 not found, creating it
2026-06-01 15:37:55,327 - INFO - Created Project:ctest-TestBasicPolicy-18545045, ID : 316d55ea-d001-4863-8571-0aee1910c29b
2026-06-01 15:37:56,842 - INFO - ================================================================================
2026-06-01 15:37:56,842 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-06-01 15:37:56,842 - 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-06-01 15:37:57,095 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.129': '0'}} with
2026-06-01 15:37:57,096 - INFO - Initial checks done. Running the testcase now
2026-06-01 15:37:57,096 - INFO -
2026-06-01 15:37:57,675 - DEBUG - Response for create_network : {'network': {'id': '69b3f7bb-0091-4ea0-9a03-10d26658002e', 'name': 'ctest-vn-46500107', 'tenant_id': '316d55ead001486385710aee1910c29b', 'project_id': '316d55ead001486385710aee1910c29b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18545045', 'ctest-vn-46500107'], 'port_security_enabled': True, 'description': ''}}
2026-06-01 15:37:57,871 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e4ead734-4554-4fd0-b9e6-356956f6ef92', 'name': '', 'tenant_id': '316d55ead001486385710aee1910c29b', 'network_id': '69b3f7bb-0091-4ea0-9a03-10d26658002e', 'ip_version': 4, 'cidr': '180.150.232.0/26', 'allocation_pools': [{'start': '180.150.232.2', 'end': '180.150.232.62'}], 'gateway_ip': '180.150.232.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '180.150.232.2', 'tags': [], 'project_id': '316d55ead001486385710aee1910c29b'}}
2026-06-01 15:37:57,891 - INFO - Created VN ctest-vn-46500107
2026-06-01 15:37:57,945 - DEBUG - VN ctest-vn-46500107 UUID is 69b3f7bb-0091-4ea0-9a03-10d26658002e
2026-06-01 15:37:58,250 - DEBUG - Response for create_network : {'network': {'id': '19e27fee-fe9d-4ae5-b92c-8f727149cc74', 'name': 'ctest-vn-92902366', 'tenant_id': '316d55ead001486385710aee1910c29b', 'project_id': '316d55ead001486385710aee1910c29b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18545045', 'ctest-vn-92902366'], 'port_security_enabled': True, 'description': ''}}
2026-06-01 15:37:58,485 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b94aff8e-ce55-4601-9525-ac4f4ec7a9ea', 'name': '', 'tenant_id': '316d55ead001486385710aee1910c29b', 'network_id': '19e27fee-fe9d-4ae5-b92c-8f727149cc74', 'ip_version': 4, 'cidr': '37.235.232.128/26', 'allocation_pools': [{'start': '37.235.232.130', 'end': '37.235.232.190'}], 'gateway_ip': '37.235.232.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '37.235.232.130', 'tags': [], 'project_id': '316d55ead001486385710aee1910c29b'}}
2026-06-01 15:37:58,508 - INFO - Created VN ctest-vn-92902366
2026-06-01 15:37:58,561 - DEBUG - VN ctest-vn-92902366 UUID is 19e27fee-fe9d-4ae5-b92c-8f727149cc74
2026-06-01 15:37:58,679 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-18545045:ctest-vn-46500107, 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-18545045:ctest-vn-92902366, 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-06-01 15:37:58,980 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '69b3f7bb-0091-4ea0-9a03-10d26658002e', 'name': 'ctest-vn-46500107', 'tenant_id': '316d55ead001486385710aee1910c29b', 'project_id': '316d55ead001486385710aee1910c29b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e4ead734-4554-4fd0-b9e6-356956f6ef92'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18545045', 'ctest-vn-46500107'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-18545045', 'ctest-policy-allow-all-68547730']], 'subnet_ipam': [{'subnet_cidr': '180.150.232.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-06-01 15:37:59,213 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '19e27fee-fe9d-4ae5-b92c-8f727149cc74', 'name': 'ctest-vn-92902366', 'tenant_id': '316d55ead001486385710aee1910c29b', 'project_id': '316d55ead001486385710aee1910c29b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b94aff8e-ce55-4601-9525-ac4f4ec7a9ea'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18545045', 'ctest-vn-92902366'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-18545045', 'ctest-policy-allow-all-68547730']], 'subnet_ipam': [{'subnet_cidr': '37.235.232.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-06-01 15:37:59,385 - DEBUG - Requesting: http://10.0.0.57:8082/domains
2026-06-01 15:37:59,684 - DEBUG - Requesting: http://10.0.0.57:8082/domains
2026-06-01 15:37:59,716 - DEBUG - Requesting: http://10.0.0.57:8082/domain/7af90524-a650-45be-898a-41e0708697bd
2026-06-01 15:37:59,729 - DEBUG - Requesting: http://10.0.0.57:8082/project/316d55ea-d001-4863-8571-0aee1910c29b
2026-06-01 15:37:59,801 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/69b3f7bb-0091-4ea0-9a03-10d26658002e
2026-06-01 15:37:59,814 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/69b3f7bb-0091-4ea0-9a03-10d26658002e
2026-06-01 15:37:59,823 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/d132c1b4-1a22-4fa8-acc4-ff9e01566e01
2026-06-01 15:37:59,831 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/d132c1b4-1a22-4fa8-acc4-ff9e01566e01
2026-06-01 15:37:59,838 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/6c45969e-9068-4f14-8b10-1dcf6ca26fea
2026-06-01 15:37:59,845 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-01 15:37:59,845 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/69b3f7bb-0091-4ea0-9a03-10d26658002e
2026-06-01 15:37:59,854 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/d132c1b4-1a22-4fa8-acc4-ff9e01566e01
2026-06-01 15:37:59,868 - INFO - Verified VN network id 11 for VN 69b3f7bb-0091-4ea0-9a03-10d26658002e
2026-06-01 15:37:59,868 - INFO - Verifications in API Server for VN ctest-vn-46500107 passed
2026-06-01 15:37:59,868 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/69b3f7bb-0091-4ea0-9a03-10d26658002e
2026-06-01 15:37:59,877 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/d132c1b4-1a22-4fa8-acc4-ff9e01566e01
2026-06-01 15:37:59,884 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/d132c1b4-1a22-4fa8-acc4-ff9e01566e01
2026-06-01 15:37:59,891 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/6c45969e-9068-4f14-8b10-1dcf6ca26fea
2026-06-01 15:37:59,905 - DEBUG - Control-node 10.0.0.57 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-18545045:ctest-vn-46500107', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-18545045', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7616703777354108576', 'uuid-lslong': '11097732402617253934'}, 'enable': 'true', 'created': '2026-06-01T15:37:57', 'last-modified': '2026-06-01T15:37:58', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.950474'}
2026-06-01 15:37:59,911 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-01 15:37:59,911 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-46500107 passed
2026-06-01 15:37:59,912 - DEBUG - ====Verifying policy data for ctest-vn-46500107 in API_Server ======
2026-06-01 15:37:59,912 - DEBUG - Requesting: http://10.0.0.57:8082/domains
2026-06-01 15:37:59,918 - DEBUG - Requesting: http://10.0.0.57:8082/domain/7af90524-a650-45be-898a-41e0708697bd
2026-06-01 15:37:59,932 - DEBUG - Requesting: http://10.0.0.57:8082/project/316d55ea-d001-4863-8571-0aee1910c29b
2026-06-01 15:38:00,002 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/69b3f7bb-0091-4ea0-9a03-10d26658002e
2026-06-01 15:38:00,013 - DEBUG - ==>Verifying data for policy with id: a0f980d6-3aa7-461b-b848-e14f40f5c52b, fqn: ['default-domain', 'ctest-TestBasicPolicy-18545045', 'ctest-policy-allow-all-68547730']
2026-06-01 15:38:00,013 - INFO - VN ctest-vn-46500107 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-01 15:38:00,013 - DEBUG - Verifying the vn in opserver
2026-06-01 15:38:00,013 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-18545045:ctest-vn-46500107 virtual network link through opserver 10.0.0.57
2026-06-01 15:38:00,014 - DEBUG - Requesting: http://10.0.0.57:8081/analytics/uves/virtual-networks
2026-06-01 15:38:00,310 - DEBUG - Requesting: http://10.0.0.57:8081/analytics/uves/virtual-networks
2026-06-01 15:38:00,388 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-18545045:ctest-vn-46500107', 'href': 'http://10.0.0.57:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-18545045:ctest-vn-46500107?flat'}
2026-06-01 15:38:00,388 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-18545045:ctest-vn-46500107 is found in opserver
2026-06-01 15:38:00,398 - DEBUG - Do not have enough data to verify VN in agent
2026-06-01 15:38:00,404 - DEBUG - VRF ids for VN ctest-vn-46500107: {}
2026-06-01 15:38:00,404 - DEBUG - Requesting: http://10.0.0.57:8082/domains
2026-06-01 15:38:00,410 - DEBUG - Requesting: http://10.0.0.57:8082/domain/7af90524-a650-45be-898a-41e0708697bd
2026-06-01 15:38:00,423 - DEBUG - Requesting: http://10.0.0.57:8082/project/316d55ea-d001-4863-8571-0aee1910c29b
2026-06-01 15:38:00,493 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/19e27fee-fe9d-4ae5-b92c-8f727149cc74
2026-06-01 15:38:00,506 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/19e27fee-fe9d-4ae5-b92c-8f727149cc74
2026-06-01 15:38:00,517 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/82e0d1db-9349-441c-81b8-b47608818b29
2026-06-01 15:38:00,525 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/82e0d1db-9349-441c-81b8-b47608818b29
2026-06-01 15:38:00,532 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/b809a8c4-6a56-417a-ad76-ecd30ca4dce6
2026-06-01 15:38:00,539 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-01 15:38:00,539 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/19e27fee-fe9d-4ae5-b92c-8f727149cc74
2026-06-01 15:38:00,549 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/82e0d1db-9349-441c-81b8-b47608818b29
2026-06-01 15:38:00,565 - INFO - Verified VN network id 12 for VN 19e27fee-fe9d-4ae5-b92c-8f727149cc74
2026-06-01 15:38:00,566 - INFO - Verifications in API Server for VN ctest-vn-92902366 passed
2026-06-01 15:38:00,566 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/19e27fee-fe9d-4ae5-b92c-8f727149cc74
2026-06-01 15:38:00,576 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/82e0d1db-9349-441c-81b8-b47608818b29
2026-06-01 15:38:00,583 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/82e0d1db-9349-441c-81b8-b47608818b29
2026-06-01 15:38:00,591 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/b809a8c4-6a56-417a-ad76-ecd30ca4dce6
2026-06-01 15:38:00,605 - DEBUG - Control-node 10.0.0.57 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-18545045:ctest-vn-92902366', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-18545045', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1865193860135471845', 'uuid-lslong': '13343197517681642612'}, 'enable': 'true', 'created': '2026-06-01T15:37:58', 'last-modified': '2026-06-01T15:37:59', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.413548'}
2026-06-01 15:38:00,613 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-01 15:38:00,613 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-92902366 passed
2026-06-01 15:38:00,613 - DEBUG - ====Verifying policy data for ctest-vn-92902366 in API_Server ======
2026-06-01 15:38:00,613 - DEBUG - Requesting: http://10.0.0.57:8082/domains
2026-06-01 15:38:00,619 - DEBUG - Requesting: http://10.0.0.57:8082/domain/7af90524-a650-45be-898a-41e0708697bd
2026-06-01 15:38:00,630 - DEBUG - Requesting: http://10.0.0.57:8082/project/316d55ea-d001-4863-8571-0aee1910c29b
2026-06-01 15:38:00,700 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/19e27fee-fe9d-4ae5-b92c-8f727149cc74
2026-06-01 15:38:00,709 - DEBUG - ==>Verifying data for policy with id: a0f980d6-3aa7-461b-b848-e14f40f5c52b, fqn: ['default-domain', 'ctest-TestBasicPolicy-18545045', 'ctest-policy-allow-all-68547730']
2026-06-01 15:38:00,709 - INFO - VN ctest-vn-92902366 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-01 15:38:00,709 - DEBUG - Verifying the vn in opserver
2026-06-01 15:38:00,709 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-18545045:ctest-vn-92902366 virtual network link through opserver 10.0.0.57
2026-06-01 15:38:00,709 - DEBUG - Requesting: http://10.0.0.57:8081/analytics/uves/virtual-networks
2026-06-01 15:38:00,719 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-18545045:ctest-vn-92902366', 'href': 'http://10.0.0.57:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-18545045:ctest-vn-92902366?flat'}
2026-06-01 15:38:00,719 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-18545045:ctest-vn-92902366 is found in opserver
2026-06-01 15:38:00,728 - DEBUG - Do not have enough data to verify VN in agent
2026-06-01 15:38:00,732 - DEBUG - VRF ids for VN ctest-vn-92902366: {}
2026-06-01 15:38:00,790 - DEBUG - Services list from nova: [