2026-04-02 02:24:49,239 - INFO - Domain Default found not creating
2026-04-02 02:24:49,417 - INFO - Project ctest-TestBasicPolicy-99520373 not found, creating it
2026-04-02 02:24:49,881 - INFO - Created Project:ctest-TestBasicPolicy-99520373, ID : bbc0539c-c354-450d-96a2-4068a193d1e8
2026-04-02 02:24:51,436 - INFO - ================================================================================
2026-04-02 02:24:51,436 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-04-02 02:24:51,436 - 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-02 02:24:51,693 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.19': '0'}} with
2026-04-02 02:24:51,693 - INFO - Initial checks done. Running the testcase now
2026-04-02 02:24:51,694 - INFO -
2026-04-02 02:24:52,266 - DEBUG - Response for create_network : {'network': {'id': '9f225dd2-e44d-4406-ae77-801bac6b0167', 'name': 'ctest-vn-75789725', 'tenant_id': 'bbc0539cc354450d96a24068a193d1e8', 'project_id': 'bbc0539cc354450d96a24068a193d1e8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-99520373', 'ctest-vn-75789725'], 'port_security_enabled': True, 'description': ''}}
2026-04-02 02:24:52,421 - DEBUG - Response for create_subnet : {'subnet': {'id': '2d94e9d9-d8f1-4e2b-868d-fa5937062def', 'name': '', 'tenant_id': 'bbc0539cc354450d96a24068a193d1e8', 'network_id': '9f225dd2-e44d-4406-ae77-801bac6b0167', 'ip_version': 4, 'cidr': '177.225.2.64/26', 'allocation_pools': [{'start': '177.225.2.66', 'end': '177.225.2.126'}], 'gateway_ip': '177.225.2.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '177.225.2.66', 'tags': [], 'project_id': 'bbc0539cc354450d96a24068a193d1e8'}}
2026-04-02 02:24:52,443 - INFO - Created VN ctest-vn-75789725
2026-04-02 02:24:52,498 - DEBUG - VN ctest-vn-75789725 UUID is 9f225dd2-e44d-4406-ae77-801bac6b0167
2026-04-02 02:24:52,786 - DEBUG - Response for create_network : {'network': {'id': 'd3910de7-b4a4-446b-a07a-591dbac5f74b', 'name': 'ctest-vn-56522453', 'tenant_id': 'bbc0539cc354450d96a24068a193d1e8', 'project_id': 'bbc0539cc354450d96a24068a193d1e8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-99520373', 'ctest-vn-56522453'], 'port_security_enabled': True, 'description': ''}}
2026-04-02 02:24:52,972 - DEBUG - Response for create_subnet : {'subnet': {'id': '8c6fb97d-f172-448d-b6aa-56904c1b2700', 'name': '', 'tenant_id': 'bbc0539cc354450d96a24068a193d1e8', 'network_id': 'd3910de7-b4a4-446b-a07a-591dbac5f74b', 'ip_version': 4, 'cidr': '14.72.99.0/26', 'allocation_pools': [{'start': '14.72.99.2', 'end': '14.72.99.62'}], 'gateway_ip': '14.72.99.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '14.72.99.2', 'tags': [], 'project_id': 'bbc0539cc354450d96a24068a193d1e8'}}
2026-04-02 02:24:52,996 - INFO - Created VN ctest-vn-56522453
2026-04-02 02:24:53,050 - DEBUG - VN ctest-vn-56522453 UUID is d3910de7-b4a4-446b-a07a-591dbac5f74b
2026-04-02 02:24:53,163 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-99520373:ctest-vn-75789725, 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-99520373:ctest-vn-56522453, 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-02 02:24:53,470 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9f225dd2-e44d-4406-ae77-801bac6b0167', 'name': 'ctest-vn-75789725', 'tenant_id': 'bbc0539cc354450d96a24068a193d1e8', 'project_id': 'bbc0539cc354450d96a24068a193d1e8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2d94e9d9-d8f1-4e2b-868d-fa5937062def'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-99520373', 'ctest-vn-75789725'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-99520373', 'ctest-policy-allow-all-61068482']], 'subnet_ipam': [{'subnet_cidr': '177.225.2.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-04-02 02:24:53,714 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd3910de7-b4a4-446b-a07a-591dbac5f74b', 'name': 'ctest-vn-56522453', 'tenant_id': 'bbc0539cc354450d96a24068a193d1e8', 'project_id': 'bbc0539cc354450d96a24068a193d1e8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8c6fb97d-f172-448d-b6aa-56904c1b2700'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-99520373', 'ctest-vn-56522453'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-99520373', 'ctest-policy-allow-all-61068482']], 'subnet_ipam': [{'subnet_cidr': '14.72.99.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-04-02 02:24:53,870 - DEBUG - Requesting: http://10.0.0.49:8082/domains
2026-04-02 02:24:54,171 - DEBUG - Requesting: http://10.0.0.49:8082/domains
2026-04-02 02:24:54,203 - DEBUG - Requesting: http://10.0.0.49:8082/domain/de2cb42b-d05f-4089-9aef-6fc901e17e78
2026-04-02 02:24:54,216 - DEBUG - Requesting: http://10.0.0.49:8082/project/bbc0539c-c354-450d-96a2-4068a193d1e8
2026-04-02 02:24:54,291 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/9f225dd2-e44d-4406-ae77-801bac6b0167
2026-04-02 02:24:54,301 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/9f225dd2-e44d-4406-ae77-801bac6b0167
2026-04-02 02:24:54,310 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/e438009a-dee3-4146-bd04-b41602127c05
2026-04-02 02:24:54,317 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/e438009a-dee3-4146-bd04-b41602127c05
2026-04-02 02:24:54,323 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/b5f369ac-f184-41ba-b062-38d731b340b8
2026-04-02 02:24:54,329 - DEBUG - Route Targets: ['target:64512:8000004']
2026-04-02 02:24:54,329 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/9f225dd2-e44d-4406-ae77-801bac6b0167
2026-04-02 02:24:54,337 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/e438009a-dee3-4146-bd04-b41602127c05
2026-04-02 02:24:54,353 - INFO - Verified VN network id 11 for VN 9f225dd2-e44d-4406-ae77-801bac6b0167
2026-04-02 02:24:54,353 - INFO - Verifications in API Server for VN ctest-vn-75789725 passed
2026-04-02 02:24:54,353 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/9f225dd2-e44d-4406-ae77-801bac6b0167
2026-04-02 02:24:54,363 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/e438009a-dee3-4146-bd04-b41602127c05
2026-04-02 02:24:54,370 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/e438009a-dee3-4146-bd04-b41602127c05
2026-04-02 02:24:54,378 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/b5f369ac-f184-41ba-b062-38d731b340b8
2026-04-02 02:24:54,393 - DEBUG - Control-node 10.0.0.49 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-99520373:ctest-vn-75789725', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-99520373', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11466830761593488390', 'uuid-lslong': '12571657741173195111'}, 'enable': 'true', 'created': '2026-04-02T02:24:52', 'last-modified': '2026-04-02T02:24:53', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.949195'}
2026-04-02 02:24:54,400 - DEBUG - Route Targets: ['target:64512:8000004']
2026-04-02 02:24:54,401 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-75789725 passed
2026-04-02 02:24:54,401 - DEBUG - ====Verifying policy data for ctest-vn-75789725 in API_Server ======
2026-04-02 02:24:54,401 - DEBUG - Requesting: http://10.0.0.49:8082/domains
2026-04-02 02:24:54,407 - DEBUG - Requesting: http://10.0.0.49:8082/domain/de2cb42b-d05f-4089-9aef-6fc901e17e78
2026-04-02 02:24:54,419 - DEBUG - Requesting: http://10.0.0.49:8082/project/bbc0539c-c354-450d-96a2-4068a193d1e8
2026-04-02 02:24:54,490 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/9f225dd2-e44d-4406-ae77-801bac6b0167
2026-04-02 02:24:54,499 - DEBUG - ==>Verifying data for policy with id: 365fd222-f552-4fbb-9588-dcb123e7d632, fqn: ['default-domain', 'ctest-TestBasicPolicy-99520373', 'ctest-policy-allow-all-61068482']
2026-04-02 02:24:54,499 - INFO - VN ctest-vn-75789725 Policy verification: verify_vn_policy_in_api_server, status: True
2026-04-02 02:24:54,499 - DEBUG - Verifying the vn in opserver
2026-04-02 02:24:54,500 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-99520373:ctest-vn-75789725 virtual network link through opserver 10.0.0.49
2026-04-02 02:24:54,500 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks
2026-04-02 02:24:54,793 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks
2026-04-02 02:24:54,871 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-99520373:ctest-vn-75789725', 'href': 'http://10.0.0.49:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-99520373:ctest-vn-75789725?flat'}
2026-04-02 02:24:54,871 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-99520373:ctest-vn-75789725 is found in opserver
2026-04-02 02:24:54,881 - DEBUG - Do not have enough data to verify VN in agent
2026-04-02 02:24:54,886 - DEBUG - VRF ids for VN ctest-vn-75789725: {}
2026-04-02 02:24:54,886 - DEBUG - Requesting: http://10.0.0.49:8082/domains
2026-04-02 02:24:54,892 - DEBUG - Requesting: http://10.0.0.49:8082/domain/de2cb42b-d05f-4089-9aef-6fc901e17e78
2026-04-02 02:24:54,905 - DEBUG - Requesting: http://10.0.0.49:8082/project/bbc0539c-c354-450d-96a2-4068a193d1e8
2026-04-02 02:24:54,978 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/d3910de7-b4a4-446b-a07a-591dbac5f74b
2026-04-02 02:24:54,992 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/d3910de7-b4a4-446b-a07a-591dbac5f74b
2026-04-02 02:24:55,002 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/47515919-849c-4776-881b-1f8193f93918
2026-04-02 02:24:55,010 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/47515919-849c-4776-881b-1f8193f93918
2026-04-02 02:24:55,018 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/8daf1b30-eb46-486a-bcff-2ebac51b7366
2026-04-02 02:24:55,026 - DEBUG - Route Targets: ['target:64512:8000005']
2026-04-02 02:24:55,027 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/d3910de7-b4a4-446b-a07a-591dbac5f74b
2026-04-02 02:24:55,036 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/47515919-849c-4776-881b-1f8193f93918
2026-04-02 02:24:55,054 - INFO - Verified VN network id 12 for VN d3910de7-b4a4-446b-a07a-591dbac5f74b
2026-04-02 02:24:55,054 - INFO - Verifications in API Server for VN ctest-vn-56522453 passed
2026-04-02 02:24:55,054 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/d3910de7-b4a4-446b-a07a-591dbac5f74b
2026-04-02 02:24:55,066 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/47515919-849c-4776-881b-1f8193f93918
2026-04-02 02:24:55,074 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/47515919-849c-4776-881b-1f8193f93918
2026-04-02 02:24:55,083 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/8daf1b30-eb46-486a-bcff-2ebac51b7366
2026-04-02 02:24:55,095 - DEBUG - Control-node 10.0.0.49 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-99520373:ctest-vn-56522453', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-99520373', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15244981502445110379', 'uuid-lslong': '11563652977449629515'}, 'enable': 'true', 'created': '2026-04-02T02:24:52', 'last-modified': '2026-04-02T02:24:53', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.443737'}
2026-04-02 02:24:55,101 - DEBUG - Route Targets: ['target:64512:8000005']
2026-04-02 02:24:55,102 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-56522453 passed
2026-04-02 02:24:55,102 - DEBUG - ====Verifying policy data for ctest-vn-56522453 in API_Server ======
2026-04-02 02:24:55,102 - DEBUG - Requesting: http://10.0.0.49:8082/domains
2026-04-02 02:24:55,109 - DEBUG - Requesting: http://10.0.0.49:8082/domain/de2cb42b-d05f-4089-9aef-6fc901e17e78
2026-04-02 02:24:55,121 - DEBUG - Requesting: http://10.0.0.49:8082/project/bbc0539c-c354-450d-96a2-4068a193d1e8
2026-04-02 02:24:55,196 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/d3910de7-b4a4-446b-a07a-591dbac5f74b
2026-04-02 02:24:55,207 - DEBUG - ==>Verifying data for policy with id: 365fd222-f552-4fbb-9588-dcb123e7d632, fqn: ['default-domain', 'ctest-TestBasicPolicy-99520373', 'ctest-policy-allow-all-61068482']
2026-04-02 02:24:55,207 - INFO - VN ctest-vn-56522453 Policy verification: verify_vn_policy_in_api_server, status: True
2026-04-02 02:24:55,207 - DEBUG - Verifying the vn in opserver
2026-04-02 02:24:55,207 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-99520373:ctest-vn-56522453 virtual network link through opserver 10.0.0.49
2026-04-02 02:24:55,207 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks
2026-04-02 02:24:55,218 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-99520373:ctest-vn-56522453', 'href': 'http://10.0.0.49:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-99520373:ctest-vn-56522453?flat'}
2026-04-02 02:24:55,218 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-99520373:ctest-vn-56522453 is found in opserver
2026-04-02 02:24:55,233 - DEBUG - Do not have enough data to verify VN in agent
2026-04-02 02:24:55,241 - DEBUG - VRF ids for VN ctest-vn-56522453: {}
2026-04-02 02:24:55,314 - DEBUG - Services list from nova: [