2026-06-02 15:15:44,341 - INFO - Domain Default found not creating
2026-06-02 15:15:44,529 - INFO - Project ctest-TestBasicPolicy-44319413 not found, creating it
2026-06-02 15:15:45,003 - INFO - Created Project:ctest-TestBasicPolicy-44319413, ID : 44995a40-f64a-4044-967f-a6621225e0d4
2026-06-02 15:15:46,503 - INFO - ================================================================================
2026-06-02 15:15:46,503 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-06-02 15:15:46,503 - 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-02 15:15:46,759 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.129': '0'}} with
2026-06-02 15:15:46,759 - INFO - Initial checks done. Running the testcase now
2026-06-02 15:15:46,759 - INFO -
2026-06-02 15:15:47,327 - DEBUG - Response for create_network : {'network': {'id': '51a83bda-55f0-4985-88f6-465c6081d91c', 'name': 'ctest-vn-93852443', 'tenant_id': '44995a40f64a4044967fa6621225e0d4', 'project_id': '44995a40f64a4044967fa6621225e0d4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-44319413', 'ctest-vn-93852443'], 'port_security_enabled': True, 'description': ''}}
2026-06-02 15:15:47,541 - DEBUG - Response for create_subnet : {'subnet': {'id': '4d4122b9-d1a6-4b76-87db-b395b564df5d', 'name': '', 'tenant_id': '44995a40f64a4044967fa6621225e0d4', 'network_id': '51a83bda-55f0-4985-88f6-465c6081d91c', 'ip_version': 4, 'cidr': '169.57.19.0/26', 'allocation_pools': [{'start': '169.57.19.2', 'end': '169.57.19.62'}], 'gateway_ip': '169.57.19.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '169.57.19.2', 'tags': [], 'project_id': '44995a40f64a4044967fa6621225e0d4'}}
2026-06-02 15:15:47,559 - INFO - Created VN ctest-vn-93852443
2026-06-02 15:15:47,612 - DEBUG - VN ctest-vn-93852443 UUID is 51a83bda-55f0-4985-88f6-465c6081d91c
2026-06-02 15:15:47,907 - DEBUG - Response for create_network : {'network': {'id': '687fb649-2913-4ccf-9907-d0ac27167c71', 'name': 'ctest-vn-54855582', 'tenant_id': '44995a40f64a4044967fa6621225e0d4', 'project_id': '44995a40f64a4044967fa6621225e0d4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-44319413', 'ctest-vn-54855582'], 'port_security_enabled': True, 'description': ''}}
2026-06-02 15:15:48,060 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f971deba-9767-4306-909a-4e35399d9164', 'name': '', 'tenant_id': '44995a40f64a4044967fa6621225e0d4', 'network_id': '687fb649-2913-4ccf-9907-d0ac27167c71', 'ip_version': 4, 'cidr': '13.146.65.0/26', 'allocation_pools': [{'start': '13.146.65.2', 'end': '13.146.65.62'}], 'gateway_ip': '13.146.65.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '13.146.65.2', 'tags': [], 'project_id': '44995a40f64a4044967fa6621225e0d4'}}
2026-06-02 15:15:48,078 - INFO - Created VN ctest-vn-54855582
2026-06-02 15:15:48,128 - DEBUG - VN ctest-vn-54855582 UUID is 687fb649-2913-4ccf-9907-d0ac27167c71
2026-06-02 15:15:48,252 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-44319413:ctest-vn-93852443, 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-44319413:ctest-vn-54855582, 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-02 15:15:48,556 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '51a83bda-55f0-4985-88f6-465c6081d91c', 'name': 'ctest-vn-93852443', 'tenant_id': '44995a40f64a4044967fa6621225e0d4', 'project_id': '44995a40f64a4044967fa6621225e0d4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4d4122b9-d1a6-4b76-87db-b395b564df5d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-44319413', 'ctest-vn-93852443'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-44319413', 'ctest-policy-allow-all-10413223']], 'subnet_ipam': [{'subnet_cidr': '169.57.19.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-06-02 15:15:48,794 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '687fb649-2913-4ccf-9907-d0ac27167c71', 'name': 'ctest-vn-54855582', 'tenant_id': '44995a40f64a4044967fa6621225e0d4', 'project_id': '44995a40f64a4044967fa6621225e0d4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f971deba-9767-4306-909a-4e35399d9164'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-44319413', 'ctest-vn-54855582'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-44319413', 'ctest-policy-allow-all-10413223']], 'subnet_ipam': [{'subnet_cidr': '13.146.65.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-06-02 15:15:48,964 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-06-02 15:15:49,259 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-06-02 15:15:49,295 - DEBUG - Requesting: http://10.0.0.22:8082/domain/081f3a97-01d2-4b0d-889f-2256dc5965a9
2026-06-02 15:15:49,307 - DEBUG - Requesting: http://10.0.0.22:8082/project/44995a40-f64a-4044-967f-a6621225e0d4
2026-06-02 15:15:49,382 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/51a83bda-55f0-4985-88f6-465c6081d91c
2026-06-02 15:15:49,393 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/51a83bda-55f0-4985-88f6-465c6081d91c
2026-06-02 15:15:49,402 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/5d8d54e4-4648-4a40-9a56-86153effa4ea
2026-06-02 15:15:49,409 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/5d8d54e4-4648-4a40-9a56-86153effa4ea
2026-06-02 15:15:49,416 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/4e946add-0399-49ee-927b-5b494ded76a5
2026-06-02 15:15:49,423 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-02 15:15:49,423 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/51a83bda-55f0-4985-88f6-465c6081d91c
2026-06-02 15:15:49,432 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/5d8d54e4-4648-4a40-9a56-86153effa4ea
2026-06-02 15:15:49,447 - INFO - Verified VN network id 11 for VN 51a83bda-55f0-4985-88f6-465c6081d91c
2026-06-02 15:15:49,447 - INFO - Verifications in API Server for VN ctest-vn-93852443 passed
2026-06-02 15:15:49,447 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/51a83bda-55f0-4985-88f6-465c6081d91c
2026-06-02 15:15:49,459 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/5d8d54e4-4648-4a40-9a56-86153effa4ea
2026-06-02 15:15:49,466 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/5d8d54e4-4648-4a40-9a56-86153effa4ea
2026-06-02 15:15:49,474 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/4e946add-0399-49ee-927b-5b494ded76a5
2026-06-02 15:15:49,491 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-44319413:ctest-vn-93852443', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-44319413', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5884018722090273157', 'uuid-lslong': '9869152995999078684'}, 'enable': 'true', 'created': '2026-06-02T15:15:47', 'last-modified': '2026-06-02T15:15:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.956343'}
2026-06-02 15:15:49,497 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-02 15:15:49,497 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-93852443 passed
2026-06-02 15:15:49,497 - DEBUG - ====Verifying policy data for ctest-vn-93852443 in API_Server ======
2026-06-02 15:15:49,498 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-06-02 15:15:49,504 - DEBUG - Requesting: http://10.0.0.22:8082/domain/081f3a97-01d2-4b0d-889f-2256dc5965a9
2026-06-02 15:15:49,514 - DEBUG - Requesting: http://10.0.0.22:8082/project/44995a40-f64a-4044-967f-a6621225e0d4
2026-06-02 15:15:49,587 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/51a83bda-55f0-4985-88f6-465c6081d91c
2026-06-02 15:15:49,598 - DEBUG - ==>Verifying data for policy with id: 533e63e9-b888-4a8b-92d4-9a7603896a41, fqn: ['default-domain', 'ctest-TestBasicPolicy-44319413', 'ctest-policy-allow-all-10413223']
2026-06-02 15:15:49,598 - INFO - VN ctest-vn-93852443 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-02 15:15:49,599 - DEBUG - Verifying the vn in opserver
2026-06-02 15:15:49,599 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-44319413:ctest-vn-93852443 virtual network link through opserver 10.0.0.22
2026-06-02 15:15:49,599 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks
2026-06-02 15:15:49,902 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks
2026-06-02 15:15:49,964 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-44319413:ctest-vn-93852443', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-44319413:ctest-vn-93852443?flat'}
2026-06-02 15:15:49,964 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-44319413:ctest-vn-93852443 is found in opserver
2026-06-02 15:15:49,974 - DEBUG - Do not have enough data to verify VN in agent
2026-06-02 15:15:49,979 - DEBUG - VRF ids for VN ctest-vn-93852443: {}
2026-06-02 15:15:49,979 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-06-02 15:15:49,984 - DEBUG - Requesting: http://10.0.0.22:8082/domain/081f3a97-01d2-4b0d-889f-2256dc5965a9
2026-06-02 15:15:49,998 - DEBUG - Requesting: http://10.0.0.22:8082/project/44995a40-f64a-4044-967f-a6621225e0d4
2026-06-02 15:15:50,071 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/687fb649-2913-4ccf-9907-d0ac27167c71
2026-06-02 15:15:50,082 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/687fb649-2913-4ccf-9907-d0ac27167c71
2026-06-02 15:15:50,091 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/7ce16ddc-17b9-439b-aecd-37e836b3e82d
2026-06-02 15:15:50,098 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/7ce16ddc-17b9-439b-aecd-37e836b3e82d
2026-06-02 15:15:50,104 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/7f4d9906-4ce0-4552-9963-fceffa8caf4b
2026-06-02 15:15:50,111 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-02 15:15:50,111 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/687fb649-2913-4ccf-9907-d0ac27167c71
2026-06-02 15:15:50,120 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/7ce16ddc-17b9-439b-aecd-37e836b3e82d
2026-06-02 15:15:50,136 - INFO - Verified VN network id 12 for VN 687fb649-2913-4ccf-9907-d0ac27167c71
2026-06-02 15:15:50,136 - INFO - Verifications in API Server for VN ctest-vn-54855582 passed
2026-06-02 15:15:50,136 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/687fb649-2913-4ccf-9907-d0ac27167c71
2026-06-02 15:15:50,146 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/7ce16ddc-17b9-439b-aecd-37e836b3e82d
2026-06-02 15:15:50,155 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/7ce16ddc-17b9-439b-aecd-37e836b3e82d
2026-06-02 15:15:50,162 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/7f4d9906-4ce0-4552-9963-fceffa8caf4b
2026-06-02 15:15:50,175 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-44319413:ctest-vn-54855582', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-44319413', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7529937527324757199', 'uuid-lslong': '11027011650448686193'}, 'enable': 'true', 'created': '2026-06-02T15:15:47', 'last-modified': '2026-06-02T15:15:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.400563'}
2026-06-02 15:15:50,181 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-02 15:15:50,182 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-54855582 passed
2026-06-02 15:15:50,182 - DEBUG - ====Verifying policy data for ctest-vn-54855582 in API_Server ======
2026-06-02 15:15:50,182 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-06-02 15:15:50,187 - DEBUG - Requesting: http://10.0.0.22:8082/domain/081f3a97-01d2-4b0d-889f-2256dc5965a9
2026-06-02 15:15:50,198 - DEBUG - Requesting: http://10.0.0.22:8082/project/44995a40-f64a-4044-967f-a6621225e0d4
2026-06-02 15:15:50,280 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/687fb649-2913-4ccf-9907-d0ac27167c71
2026-06-02 15:15:50,288 - DEBUG - ==>Verifying data for policy with id: 533e63e9-b888-4a8b-92d4-9a7603896a41, fqn: ['default-domain', 'ctest-TestBasicPolicy-44319413', 'ctest-policy-allow-all-10413223']
2026-06-02 15:15:50,288 - INFO - VN ctest-vn-54855582 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-02 15:15:50,288 - DEBUG - Verifying the vn in opserver
2026-06-02 15:15:50,288 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-44319413:ctest-vn-54855582 virtual network link through opserver 10.0.0.22
2026-06-02 15:15:50,288 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks
2026-06-02 15:15:50,298 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-44319413:ctest-vn-54855582', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-44319413:ctest-vn-54855582?flat'}
2026-06-02 15:15:50,298 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-44319413:ctest-vn-54855582 is found in opserver
2026-06-02 15:15:50,309 - DEBUG - Do not have enough data to verify VN in agent
2026-06-02 15:15:50,314 - DEBUG - VRF ids for VN ctest-vn-54855582: {}
2026-06-02 15:15:50,376 - DEBUG - Services list from nova: [