2026-11-16 09:04:35,108 - INFO - Domain Default found not creating
2026-11-16 09:04:35,354 - INFO - Project ctest-TestBasicPolicy-32694978 not found, creating it
2026-11-16 09:04:35,900 - INFO - Created Project:ctest-TestBasicPolicy-32694978, ID : 5a01d56b-a872-4a33-adb7-a620df5580b4
2026-11-16 09:04:37,624 - INFO - ================================================================================
2026-11-16 09:04:37,624 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-11-16 09:04:37,624 - 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-11-16 09:04:37,890 - DEBUG - Nothing to compare xmpp stats {'10.0.0.190': {'10.20.0.25': '0'}} with
2026-11-16 09:04:37,890 - INFO - Initial checks done. Running the testcase now
2026-11-16 09:04:37,890 - INFO -
2026-11-16 09:04:38,492 - DEBUG - Response for create_network : {'network': {'id': '1625a3cd-9131-4062-b7d9-92442b018579', 'name': 'ctest-vn-76550294', 'tenant_id': '5a01d56ba8724a33adb7a620df5580b4', 'project_id': '5a01d56ba8724a33adb7a620df5580b4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-32694978', 'ctest-vn-76550294'], 'port_security_enabled': True, 'description': ''}}
2026-11-16 09:04:38,734 - DEBUG - Response for create_subnet : {'subnet': {'id': '5a3e3a05-5d1f-44a2-b457-966a3c8b5a52', 'name': '', 'tenant_id': '5a01d56ba8724a33adb7a620df5580b4', 'network_id': '1625a3cd-9131-4062-b7d9-92442b018579', 'ip_version': 4, 'cidr': '130.7.158.192/26', 'allocation_pools': [{'start': '130.7.158.194', 'end': '130.7.158.254'}], 'gateway_ip': '130.7.158.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '130.7.158.194', 'tags': [], 'project_id': '5a01d56ba8724a33adb7a620df5580b4'}}
2026-11-16 09:04:38,753 - INFO - Created VN ctest-vn-76550294
2026-11-16 09:04:38,806 - DEBUG - VN ctest-vn-76550294 UUID is 1625a3cd-9131-4062-b7d9-92442b018579
2026-11-16 09:04:39,123 - DEBUG - Response for create_network : {'network': {'id': '9ba080c2-7ad4-4aa9-ba83-88602cc633fa', 'name': 'ctest-vn-23264622', 'tenant_id': '5a01d56ba8724a33adb7a620df5580b4', 'project_id': '5a01d56ba8724a33adb7a620df5580b4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-32694978', 'ctest-vn-23264622'], 'port_security_enabled': True, 'description': ''}}
2026-11-16 09:04:39,287 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cf590fe0-9409-41bd-82d7-d28fb24e1dff', 'name': '', 'tenant_id': '5a01d56ba8724a33adb7a620df5580b4', 'network_id': '9ba080c2-7ad4-4aa9-ba83-88602cc633fa', 'ip_version': 4, 'cidr': '208.149.41.192/26', 'allocation_pools': [{'start': '208.149.41.194', 'end': '208.149.41.254'}], 'gateway_ip': '208.149.41.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '208.149.41.194', 'tags': [], 'project_id': '5a01d56ba8724a33adb7a620df5580b4'}}
2026-11-16 09:04:39,308 - INFO - Created VN ctest-vn-23264622
2026-11-16 09:04:39,362 - DEBUG - VN ctest-vn-23264622 UUID is 9ba080c2-7ad4-4aa9-ba83-88602cc633fa
2026-11-16 09:04:39,482 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-32694978:ctest-vn-76550294, 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-32694978:ctest-vn-23264622, 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-11-16 09:04:39,794 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1625a3cd-9131-4062-b7d9-92442b018579', 'name': 'ctest-vn-76550294', 'tenant_id': '5a01d56ba8724a33adb7a620df5580b4', 'project_id': '5a01d56ba8724a33adb7a620df5580b4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['5a3e3a05-5d1f-44a2-b457-966a3c8b5a52'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-32694978', 'ctest-vn-76550294'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-32694978', 'ctest-policy-allow-all-85534303']], 'subnet_ipam': [{'subnet_cidr': '130.7.158.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-11-16 09:04:40,024 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9ba080c2-7ad4-4aa9-ba83-88602cc633fa', 'name': 'ctest-vn-23264622', 'tenant_id': '5a01d56ba8724a33adb7a620df5580b4', 'project_id': '5a01d56ba8724a33adb7a620df5580b4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['cf590fe0-9409-41bd-82d7-d28fb24e1dff'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-32694978', 'ctest-vn-23264622'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-32694978', 'ctest-policy-allow-all-85534303']], 'subnet_ipam': [{'subnet_cidr': '208.149.41.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-11-16 09:04:40,190 - DEBUG - Requesting: http://10.0.0.190:8082/domains
2026-11-16 09:04:40,531 - DEBUG - Requesting: http://10.0.0.190:8082/domains
2026-11-16 09:04:40,563 - DEBUG - Requesting: http://10.0.0.190:8082/domain/e6373243-e1b6-4b92-925e-a53004952562
2026-11-16 09:04:40,574 - DEBUG - Requesting: http://10.0.0.190:8082/project/5a01d56b-a872-4a33-adb7-a620df5580b4
2026-11-16 09:04:40,646 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/1625a3cd-9131-4062-b7d9-92442b018579
2026-11-16 09:04:40,659 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/1625a3cd-9131-4062-b7d9-92442b018579
2026-11-16 09:04:40,670 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/3ef5a47b-2d4c-4cdf-9ddb-8f11777f9399
2026-11-16 09:04:40,679 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/3ef5a47b-2d4c-4cdf-9ddb-8f11777f9399
2026-11-16 09:04:40,686 - DEBUG - Requesting: http://10.0.0.190:8082/route-target/3866beff-2aa7-4479-a4ac-7bbcfced8adc
2026-11-16 09:04:40,695 - DEBUG - Route Targets: ['target:64512:8000005']
2026-11-16 09:04:40,696 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/1625a3cd-9131-4062-b7d9-92442b018579
2026-11-16 09:04:40,708 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/3ef5a47b-2d4c-4cdf-9ddb-8f11777f9399
2026-11-16 09:04:40,727 - INFO - Verified VN network id 12 for VN 1625a3cd-9131-4062-b7d9-92442b018579
2026-11-16 09:04:40,727 - INFO - Verifications in API Server for VN ctest-vn-76550294 passed
2026-11-16 09:04:40,727 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/1625a3cd-9131-4062-b7d9-92442b018579
2026-11-16 09:04:40,738 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/3ef5a47b-2d4c-4cdf-9ddb-8f11777f9399
2026-11-16 09:04:40,750 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/3ef5a47b-2d4c-4cdf-9ddb-8f11777f9399
2026-11-16 09:04:40,759 - DEBUG - Requesting: http://10.0.0.190:8082/route-target/3866beff-2aa7-4479-a4ac-7bbcfced8adc
2026-11-16 09:04:40,772 - DEBUG - Control-node 10.0.0.190 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-32694978:ctest-vn-76550294', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-32694978', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1595861746272256098', 'uuid-lslong': '13247780600363976057'}, 'enable': 'true', 'created': '2026-11-16T09:04:38', 'last-modified': '2026-11-16T09:04:39', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.009309'}
2026-11-16 09:04:40,779 - DEBUG - Route Targets: ['target:64512:8000005']
2026-11-16 09:04:40,779 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-76550294 passed
2026-11-16 09:04:40,780 - DEBUG - ====Verifying policy data for ctest-vn-76550294 in API_Server ======
2026-11-16 09:04:40,780 - DEBUG - Requesting: http://10.0.0.190:8082/domains
2026-11-16 09:04:40,785 - DEBUG - Requesting: http://10.0.0.190:8082/domain/e6373243-e1b6-4b92-925e-a53004952562
2026-11-16 09:04:40,797 - DEBUG - Requesting: http://10.0.0.190:8082/project/5a01d56b-a872-4a33-adb7-a620df5580b4
2026-11-16 09:04:40,869 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/1625a3cd-9131-4062-b7d9-92442b018579
2026-11-16 09:04:40,880 - DEBUG - ==>Verifying data for policy with id: ff9523ae-c582-4b94-b2b1-5de350c5bab9, fqn: ['default-domain', 'ctest-TestBasicPolicy-32694978', 'ctest-policy-allow-all-85534303']
2026-11-16 09:04:40,880 - INFO - VN ctest-vn-76550294 Policy verification: verify_vn_policy_in_api_server, status: True
2026-11-16 09:04:40,880 - DEBUG - Verifying the vn in opserver
2026-11-16 09:04:40,880 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-32694978:ctest-vn-76550294 virtual network link through opserver 10.0.0.190
2026-11-16 09:04:40,880 - DEBUG - Requesting: http://10.0.0.190:8081/analytics/uves/virtual-networks
2026-11-16 09:04:41,219 - DEBUG - Requesting: http://10.0.0.190:8081/analytics/uves/virtual-networks
2026-11-16 09:04:41,279 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-32694978:ctest-vn-76550294', 'href': 'http://10.0.0.190:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-32694978:ctest-vn-76550294?flat'}
2026-11-16 09:04:41,279 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-32694978:ctest-vn-76550294 is found in opserver
2026-11-16 09:04:41,293 - DEBUG - Do not have enough data to verify VN in agent
2026-11-16 09:04:41,299 - DEBUG - VRF ids for VN ctest-vn-76550294: {}
2026-11-16 09:04:41,299 - DEBUG - Requesting: http://10.0.0.190:8082/domains
2026-11-16 09:04:41,306 - DEBUG - Requesting: http://10.0.0.190:8082/domain/e6373243-e1b6-4b92-925e-a53004952562
2026-11-16 09:04:41,317 - DEBUG - Requesting: http://10.0.0.190:8082/project/5a01d56b-a872-4a33-adb7-a620df5580b4
2026-11-16 09:04:41,394 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/9ba080c2-7ad4-4aa9-ba83-88602cc633fa
2026-11-16 09:04:41,409 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/9ba080c2-7ad4-4aa9-ba83-88602cc633fa
2026-11-16 09:04:41,423 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/eaaa81e2-5336-4432-a3ad-f534dcc75dcc
2026-11-16 09:04:41,431 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/eaaa81e2-5336-4432-a3ad-f534dcc75dcc
2026-11-16 09:04:41,441 - DEBUG - Requesting: http://10.0.0.190:8082/route-target/74cf705c-910a-4a44-879e-1309d66cb710
2026-11-16 09:04:41,450 - DEBUG - Route Targets: ['target:64512:8000006']
2026-11-16 09:04:41,450 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/9ba080c2-7ad4-4aa9-ba83-88602cc633fa
2026-11-16 09:04:41,462 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/eaaa81e2-5336-4432-a3ad-f534dcc75dcc
2026-11-16 09:04:41,480 - INFO - Verified VN network id 13 for VN 9ba080c2-7ad4-4aa9-ba83-88602cc633fa
2026-11-16 09:04:41,481 - INFO - Verifications in API Server for VN ctest-vn-23264622 passed
2026-11-16 09:04:41,481 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/9ba080c2-7ad4-4aa9-ba83-88602cc633fa
2026-11-16 09:04:41,492 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/eaaa81e2-5336-4432-a3ad-f534dcc75dcc
2026-11-16 09:04:41,501 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/eaaa81e2-5336-4432-a3ad-f534dcc75dcc
2026-11-16 09:04:41,511 - DEBUG - Requesting: http://10.0.0.190:8082/route-target/74cf705c-910a-4a44-879e-1309d66cb710
2026-11-16 09:04:41,525 - DEBUG - Control-node 10.0.0.190 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-32694978:ctest-vn-23264622', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-32694978', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11214104644925278889', 'uuid-lslong': '13439735659653116922'}, 'enable': 'true', 'created': '2026-11-16T09:04:39', 'last-modified': '2026-11-16T09:04:39', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.523160'}
2026-11-16 09:04:41,532 - DEBUG - Route Targets: ['target:64512:8000006']
2026-11-16 09:04:41,532 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-23264622 passed
2026-11-16 09:04:41,532 - DEBUG - ====Verifying policy data for ctest-vn-23264622 in API_Server ======
2026-11-16 09:04:41,532 - DEBUG - Requesting: http://10.0.0.190:8082/domains
2026-11-16 09:04:41,537 - DEBUG - Requesting: http://10.0.0.190:8082/domain/e6373243-e1b6-4b92-925e-a53004952562
2026-11-16 09:04:41,547 - DEBUG - Requesting: http://10.0.0.190:8082/project/5a01d56b-a872-4a33-adb7-a620df5580b4
2026-11-16 09:04:41,626 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/9ba080c2-7ad4-4aa9-ba83-88602cc633fa
2026-11-16 09:04:41,636 - DEBUG - ==>Verifying data for policy with id: ff9523ae-c582-4b94-b2b1-5de350c5bab9, fqn: ['default-domain', 'ctest-TestBasicPolicy-32694978', 'ctest-policy-allow-all-85534303']
2026-11-16 09:04:41,636 - INFO - VN ctest-vn-23264622 Policy verification: verify_vn_policy_in_api_server, status: True
2026-11-16 09:04:41,636 - DEBUG - Verifying the vn in opserver
2026-11-16 09:04:41,636 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-32694978:ctest-vn-23264622 virtual network link through opserver 10.0.0.190
2026-11-16 09:04:41,636 - DEBUG - Requesting: http://10.0.0.190:8081/analytics/uves/virtual-networks
2026-11-16 09:04:41,650 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-32694978:ctest-vn-23264622', 'href': 'http://10.0.0.190:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-32694978:ctest-vn-23264622?flat'}
2026-11-16 09:04:41,650 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-32694978:ctest-vn-23264622 is found in opserver
2026-11-16 09:04:41,664 - DEBUG - Do not have enough data to verify VN in agent
2026-11-16 09:04:41,671 - DEBUG - VRF ids for VN ctest-vn-23264622: {}
2026-11-16 09:04:41,739 - DEBUG - Services list from nova: [