2026-07-28 19:16:48,680 - INFO - Domain Default found not creating
2026-07-28 19:16:48,856 - INFO - Project ctest-TestBasicPolicy-02919695 not found, creating it
2026-07-28 19:16:49,412 - INFO - Created Project:ctest-TestBasicPolicy-02919695, ID : 27d98c40-33f0-4666-b87d-20836b7d42eb
2026-07-28 19:16:51,220 - INFO - ================================================================================
2026-07-28 19:16:51,220 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-07-28 19:16:51,221 - 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-07-28 19:16:51,501 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2026-07-28 19:16:51,501 - INFO - Initial checks done. Running the testcase now
2026-07-28 19:16:51,501 - INFO -
2026-07-28 19:16:52,182 - DEBUG - Response for create_network : {'network': {'id': 'a86ef103-21a5-4701-a61a-58e6cc0f0298', 'name': 'ctest-vn-16050958', 'tenant_id': '27d98c4033f04666b87d20836b7d42eb', 'project_id': '27d98c4033f04666b87d20836b7d42eb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02919695', 'ctest-vn-16050958'], 'port_security_enabled': True, 'description': ''}}
2026-07-28 19:16:52,370 - DEBUG - Response for create_subnet : {'subnet': {'id': '9090aed8-e984-44ed-96a0-c72239e2b1cf', 'name': '', 'tenant_id': '27d98c4033f04666b87d20836b7d42eb', 'network_id': 'a86ef103-21a5-4701-a61a-58e6cc0f0298', 'ip_version': 4, 'cidr': '77.219.6.0/26', 'allocation_pools': [{'start': '77.219.6.2', 'end': '77.219.6.62'}], 'gateway_ip': '77.219.6.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '77.219.6.2', 'tags': [], 'project_id': '27d98c4033f04666b87d20836b7d42eb'}}
2026-07-28 19:16:52,387 - INFO - Created VN ctest-vn-16050958
2026-07-28 19:16:52,441 - DEBUG - VN ctest-vn-16050958 UUID is a86ef103-21a5-4701-a61a-58e6cc0f0298
2026-07-28 19:16:52,754 - DEBUG - Response for create_network : {'network': {'id': 'ca80a793-b995-4cd7-b49a-c33cf7fab9fb', 'name': 'ctest-vn-56840490', 'tenant_id': '27d98c4033f04666b87d20836b7d42eb', 'project_id': '27d98c4033f04666b87d20836b7d42eb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02919695', 'ctest-vn-56840490'], 'port_security_enabled': True, 'description': ''}}
2026-07-28 19:16:52,984 - DEBUG - Response for create_subnet : {'subnet': {'id': '8811aab9-6d4d-4787-9227-7d2a8bf5d72e', 'name': '', 'tenant_id': '27d98c4033f04666b87d20836b7d42eb', 'network_id': 'ca80a793-b995-4cd7-b49a-c33cf7fab9fb', 'ip_version': 4, 'cidr': '201.224.53.0/26', 'allocation_pools': [{'start': '201.224.53.2', 'end': '201.224.53.62'}], 'gateway_ip': '201.224.53.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '201.224.53.2', 'tags': [], 'project_id': '27d98c4033f04666b87d20836b7d42eb'}}
2026-07-28 19:16:53,003 - INFO - Created VN ctest-vn-56840490
2026-07-28 19:16:53,057 - DEBUG - VN ctest-vn-56840490 UUID is ca80a793-b995-4cd7-b49a-c33cf7fab9fb
2026-07-28 19:16:53,209 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-02919695:ctest-vn-16050958, 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-02919695:ctest-vn-56840490, 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-07-28 19:16:53,539 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a86ef103-21a5-4701-a61a-58e6cc0f0298', 'name': 'ctest-vn-16050958', 'tenant_id': '27d98c4033f04666b87d20836b7d42eb', 'project_id': '27d98c4033f04666b87d20836b7d42eb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9090aed8-e984-44ed-96a0-c72239e2b1cf'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02919695', 'ctest-vn-16050958'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-02919695', 'ctest-policy-allow-all-20955693']], 'subnet_ipam': [{'subnet_cidr': '77.219.6.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-07-28 19:16:53,844 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ca80a793-b995-4cd7-b49a-c33cf7fab9fb', 'name': 'ctest-vn-56840490', 'tenant_id': '27d98c4033f04666b87d20836b7d42eb', 'project_id': '27d98c4033f04666b87d20836b7d42eb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8811aab9-6d4d-4787-9227-7d2a8bf5d72e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02919695', 'ctest-vn-56840490'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-02919695', 'ctest-policy-allow-all-20955693']], 'subnet_ipam': [{'subnet_cidr': '201.224.53.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-07-28 19:16:54,005 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-07-28 19:16:54,387 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-07-28 19:16:54,418 - DEBUG - Requesting: http://10.0.0.38:8082/domain/abc7e751-644c-4a6f-9477-52ed744d21f4
2026-07-28 19:16:54,434 - DEBUG - Requesting: http://10.0.0.38:8082/project/27d98c40-33f0-4666-b87d-20836b7d42eb
2026-07-28 19:16:54,520 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a86ef103-21a5-4701-a61a-58e6cc0f0298
2026-07-28 19:16:54,535 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a86ef103-21a5-4701-a61a-58e6cc0f0298
2026-07-28 19:16:54,547 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5cab1b89-b4eb-4ff4-add0-d3831293ac60
2026-07-28 19:16:54,556 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5cab1b89-b4eb-4ff4-add0-d3831293ac60
2026-07-28 19:16:54,565 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/e04b6963-e39d-40b9-b7bd-b701c787b014
2026-07-28 19:16:54,574 - DEBUG - Route Targets: ['target:64512:8000004']
2026-07-28 19:16:54,574 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a86ef103-21a5-4701-a61a-58e6cc0f0298
2026-07-28 19:16:54,586 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5cab1b89-b4eb-4ff4-add0-d3831293ac60
2026-07-28 19:16:54,605 - INFO - Verified VN network id 11 for VN a86ef103-21a5-4701-a61a-58e6cc0f0298
2026-07-28 19:16:54,605 - INFO - Verifications in API Server for VN ctest-vn-16050958 passed
2026-07-28 19:16:54,605 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a86ef103-21a5-4701-a61a-58e6cc0f0298
2026-07-28 19:16:54,617 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5cab1b89-b4eb-4ff4-add0-d3831293ac60
2026-07-28 19:16:54,626 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5cab1b89-b4eb-4ff4-add0-d3831293ac60
2026-07-28 19:16:54,635 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/e04b6963-e39d-40b9-b7bd-b701c787b014
2026-07-28 19:16:54,651 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-02919695:ctest-vn-16050958', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-02919695', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12136903041561741057', 'uuid-lslong': '11968976707979772568'}, 'enable': 'true', 'created': '2026-07-28T19:16:52', 'last-modified': '2026-07-28T19:16:53', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.148015'}
2026-07-28 19:16:54,660 - DEBUG - Route Targets: ['target:64512:8000004']
2026-07-28 19:16:54,660 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-16050958 passed
2026-07-28 19:16:54,661 - DEBUG - ====Verifying policy data for ctest-vn-16050958 in API_Server ======
2026-07-28 19:16:54,661 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-07-28 19:16:54,670 - DEBUG - Requesting: http://10.0.0.38:8082/domain/abc7e751-644c-4a6f-9477-52ed744d21f4
2026-07-28 19:16:54,683 - DEBUG - Requesting: http://10.0.0.38:8082/project/27d98c40-33f0-4666-b87d-20836b7d42eb
2026-07-28 19:16:54,763 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a86ef103-21a5-4701-a61a-58e6cc0f0298
2026-07-28 19:16:54,775 - DEBUG - ==>Verifying data for policy with id: 6a6d7ad7-8473-4c51-ab5c-6d93205d06cf, fqn: ['default-domain', 'ctest-TestBasicPolicy-02919695', 'ctest-policy-allow-all-20955693']
2026-07-28 19:16:54,776 - INFO - VN ctest-vn-16050958 Policy verification: verify_vn_policy_in_api_server, status: True
2026-07-28 19:16:54,776 - DEBUG - Verifying the vn in opserver
2026-07-28 19:16:54,776 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-02919695:ctest-vn-16050958 virtual network link through opserver 10.0.0.38
2026-07-28 19:16:54,776 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-07-28 19:16:55,163 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-07-28 19:16:55,237 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-02919695:ctest-vn-16050958', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-02919695:ctest-vn-16050958?flat'}
2026-07-28 19:16:55,237 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-02919695:ctest-vn-16050958 is found in opserver
2026-07-28 19:16:55,253 - DEBUG - Do not have enough data to verify VN in agent
2026-07-28 19:16:55,259 - DEBUG - VRF ids for VN ctest-vn-16050958: {}
2026-07-28 19:16:55,259 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-07-28 19:16:55,266 - DEBUG - Requesting: http://10.0.0.38:8082/domain/abc7e751-644c-4a6f-9477-52ed744d21f4
2026-07-28 19:16:55,277 - DEBUG - Requesting: http://10.0.0.38:8082/project/27d98c40-33f0-4666-b87d-20836b7d42eb
2026-07-28 19:16:55,356 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ca80a793-b995-4cd7-b49a-c33cf7fab9fb
2026-07-28 19:16:55,371 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ca80a793-b995-4cd7-b49a-c33cf7fab9fb
2026-07-28 19:16:55,383 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2d5c5a40-71b2-4ae8-a7b7-7ba23625046e
2026-07-28 19:16:55,392 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2d5c5a40-71b2-4ae8-a7b7-7ba23625046e
2026-07-28 19:16:55,401 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/a3d0a795-8911-40c6-b302-b8642ba7bd86
2026-07-28 19:16:55,410 - DEBUG - Route Targets: ['target:64512:8000005']
2026-07-28 19:16:55,410 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ca80a793-b995-4cd7-b49a-c33cf7fab9fb
2026-07-28 19:16:55,426 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2d5c5a40-71b2-4ae8-a7b7-7ba23625046e
2026-07-28 19:16:55,445 - INFO - Verified VN network id 12 for VN ca80a793-b995-4cd7-b49a-c33cf7fab9fb
2026-07-28 19:16:55,445 - INFO - Verifications in API Server for VN ctest-vn-56840490 passed
2026-07-28 19:16:55,445 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ca80a793-b995-4cd7-b49a-c33cf7fab9fb
2026-07-28 19:16:55,460 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2d5c5a40-71b2-4ae8-a7b7-7ba23625046e
2026-07-28 19:16:55,468 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2d5c5a40-71b2-4ae8-a7b7-7ba23625046e
2026-07-28 19:16:55,476 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/a3d0a795-8911-40c6-b302-b8642ba7bd86
2026-07-28 19:16:55,488 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-02919695:ctest-vn-56840490', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-02919695', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14591847045596007639', 'uuid-lslong': '13013928739866327547'}, 'enable': 'true', 'created': '2026-07-28T19:16:52', 'last-modified': '2026-07-28T19:16:53', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.716220'}
2026-07-28 19:16:55,494 - DEBUG - Route Targets: ['target:64512:8000005']
2026-07-28 19:16:55,495 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-56840490 passed
2026-07-28 19:16:55,495 - DEBUG - ====Verifying policy data for ctest-vn-56840490 in API_Server ======
2026-07-28 19:16:55,495 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-07-28 19:16:55,501 - DEBUG - Requesting: http://10.0.0.38:8082/domain/abc7e751-644c-4a6f-9477-52ed744d21f4
2026-07-28 19:16:55,514 - DEBUG - Requesting: http://10.0.0.38:8082/project/27d98c40-33f0-4666-b87d-20836b7d42eb
2026-07-28 19:16:55,598 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ca80a793-b995-4cd7-b49a-c33cf7fab9fb
2026-07-28 19:16:55,610 - DEBUG - ==>Verifying data for policy with id: 6a6d7ad7-8473-4c51-ab5c-6d93205d06cf, fqn: ['default-domain', 'ctest-TestBasicPolicy-02919695', 'ctest-policy-allow-all-20955693']
2026-07-28 19:16:55,610 - INFO - VN ctest-vn-56840490 Policy verification: verify_vn_policy_in_api_server, status: True
2026-07-28 19:16:55,610 - DEBUG - Verifying the vn in opserver
2026-07-28 19:16:55,610 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-02919695:ctest-vn-56840490 virtual network link through opserver 10.0.0.38
2026-07-28 19:16:55,610 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-07-28 19:16:55,624 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-02919695:ctest-vn-56840490', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-02919695:ctest-vn-56840490?flat'}
2026-07-28 19:16:55,625 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-02919695:ctest-vn-56840490 is found in opserver
2026-07-28 19:16:55,641 - DEBUG - Do not have enough data to verify VN in agent
2026-07-28 19:16:55,647 - DEBUG - VRF ids for VN ctest-vn-56840490: {}
2026-07-28 19:16:55,708 - DEBUG - Services list from nova: [