2026-09-02 00:26:07,155 - INFO - Domain Default found not creating
2026-09-02 00:26:07,301 - INFO - Project ctest-TestBasicPolicy-24505119 not found, creating it
2026-09-02 00:26:07,757 - INFO - Created Project:ctest-TestBasicPolicy-24505119, ID : 4b5193cd-5b21-4631-827d-31ec65766cb9
2026-09-02 00:26:09,292 - INFO - ================================================================================
2026-09-02 00:26:09,292 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-09-02 00:26:09,292 - 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-09-02 00:26:09,558 - DEBUG - Nothing to compare xmpp stats {'10.0.0.186': {'10.20.0.17': '0'}} with
2026-09-02 00:26:09,558 - INFO - Initial checks done. Running the testcase now
2026-09-02 00:26:09,558 - INFO -
2026-09-02 00:26:10,178 - DEBUG - Response for create_network : {'network': {'id': 'da05e4a1-c44e-44b3-a455-3c6e994a0f8c', 'name': 'ctest-vn-91051467', 'tenant_id': '4b5193cd5b214631827d31ec65766cb9', 'project_id': '4b5193cd5b214631827d31ec65766cb9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-24505119', 'ctest-vn-91051467'], 'port_security_enabled': True, 'description': ''}}
2026-09-02 00:26:10,370 - DEBUG - Response for create_subnet : {'subnet': {'id': '72295ec9-3892-43ef-860a-85d0e0ca2c84', 'name': '', 'tenant_id': '4b5193cd5b214631827d31ec65766cb9', 'network_id': 'da05e4a1-c44e-44b3-a455-3c6e994a0f8c', 'ip_version': 4, 'cidr': '150.91.109.128/26', 'allocation_pools': [{'start': '150.91.109.130', 'end': '150.91.109.190'}], 'gateway_ip': '150.91.109.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '150.91.109.130', 'tags': [], 'project_id': '4b5193cd5b214631827d31ec65766cb9'}}
2026-09-02 00:26:10,386 - INFO - Created VN ctest-vn-91051467
2026-09-02 00:26:10,439 - DEBUG - VN ctest-vn-91051467 UUID is da05e4a1-c44e-44b3-a455-3c6e994a0f8c
2026-09-02 00:26:10,778 - DEBUG - Response for create_network : {'network': {'id': '6690b85a-bd73-4909-879b-6fb9555492d8', 'name': 'ctest-vn-24584810', 'tenant_id': '4b5193cd5b214631827d31ec65766cb9', 'project_id': '4b5193cd5b214631827d31ec65766cb9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-24505119', 'ctest-vn-24584810'], 'port_security_enabled': True, 'description': ''}}
2026-09-02 00:26:11,018 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b94fd855-d2b7-4be0-a658-622f24e08d87', 'name': '', 'tenant_id': '4b5193cd5b214631827d31ec65766cb9', 'network_id': '6690b85a-bd73-4909-879b-6fb9555492d8', 'ip_version': 4, 'cidr': '172.60.255.64/26', 'allocation_pools': [{'start': '172.60.255.66', 'end': '172.60.255.126'}], 'gateway_ip': '172.60.255.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '172.60.255.66', 'tags': [], 'project_id': '4b5193cd5b214631827d31ec65766cb9'}}
2026-09-02 00:26:11,034 - INFO - Created VN ctest-vn-24584810
2026-09-02 00:26:11,087 - DEBUG - VN ctest-vn-24584810 UUID is 6690b85a-bd73-4909-879b-6fb9555492d8
2026-09-02 00:26:11,235 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-24505119:ctest-vn-91051467, 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-24505119:ctest-vn-24584810, 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-09-02 00:26:11,540 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'da05e4a1-c44e-44b3-a455-3c6e994a0f8c', 'name': 'ctest-vn-91051467', 'tenant_id': '4b5193cd5b214631827d31ec65766cb9', 'project_id': '4b5193cd5b214631827d31ec65766cb9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['72295ec9-3892-43ef-860a-85d0e0ca2c84'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-24505119', 'ctest-vn-91051467'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-24505119', 'ctest-policy-allow-all-84914657']], 'subnet_ipam': [{'subnet_cidr': '150.91.109.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-09-02 00:26:11,771 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6690b85a-bd73-4909-879b-6fb9555492d8', 'name': 'ctest-vn-24584810', 'tenant_id': '4b5193cd5b214631827d31ec65766cb9', 'project_id': '4b5193cd5b214631827d31ec65766cb9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['b94fd855-d2b7-4be0-a658-622f24e08d87'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-24505119', 'ctest-vn-24584810'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-24505119', 'ctest-policy-allow-all-84914657']], 'subnet_ipam': [{'subnet_cidr': '172.60.255.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-09-02 00:26:11,947 - DEBUG - Requesting: http://10.0.0.186:8082/domains
2026-09-02 00:26:12,282 - DEBUG - Requesting: http://10.0.0.186:8082/domains
2026-09-02 00:26:12,630 - DEBUG - Requesting: http://10.0.0.186:8082/domain/6cb0210c-1471-40eb-8716-e9a3f3d9da90
2026-09-02 00:26:12,644 - DEBUG - Requesting: http://10.0.0.186:8082/project/4b5193cd-5b21-4631-827d-31ec65766cb9
2026-09-02 00:26:12,732 - DEBUG - Requesting: http://10.0.0.186:8082/virtual-network/da05e4a1-c44e-44b3-a455-3c6e994a0f8c
2026-09-02 00:26:12,746 - DEBUG - Requesting: http://10.0.0.186:8082/virtual-network/da05e4a1-c44e-44b3-a455-3c6e994a0f8c
2026-09-02 00:26:12,755 - DEBUG - Requesting: http://10.0.0.186:8082/routing-instance/233d3384-f8b1-481f-baee-2d3473a8f27f
2026-09-02 00:26:12,763 - DEBUG - Requesting: http://10.0.0.186:8082/routing-instance/233d3384-f8b1-481f-baee-2d3473a8f27f
2026-09-02 00:26:12,770 - DEBUG - Requesting: http://10.0.0.186:8082/route-target/47781643-f5b7-40a0-b48c-7c281506945e
2026-09-02 00:26:12,776 - DEBUG - Route Targets: ['target:64512:8000005']
2026-09-02 00:26:12,776 - DEBUG - Requesting: http://10.0.0.186:8082/virtual-network/da05e4a1-c44e-44b3-a455-3c6e994a0f8c
2026-09-02 00:26:12,786 - DEBUG - Requesting: http://10.0.0.186:8082/routing-instance/233d3384-f8b1-481f-baee-2d3473a8f27f
2026-09-02 00:26:12,802 - INFO - Verified VN network id 12 for VN da05e4a1-c44e-44b3-a455-3c6e994a0f8c
2026-09-02 00:26:12,802 - INFO - Verifications in API Server for VN ctest-vn-91051467 passed
2026-09-02 00:26:12,802 - DEBUG - Requesting: http://10.0.0.186:8082/virtual-network/da05e4a1-c44e-44b3-a455-3c6e994a0f8c
2026-09-02 00:26:12,812 - DEBUG - Requesting: http://10.0.0.186:8082/routing-instance/233d3384-f8b1-481f-baee-2d3473a8f27f
2026-09-02 00:26:12,820 - DEBUG - Requesting: http://10.0.0.186:8082/routing-instance/233d3384-f8b1-481f-baee-2d3473a8f27f
2026-09-02 00:26:12,830 - DEBUG - Requesting: http://10.0.0.186:8082/route-target/47781643-f5b7-40a0-b48c-7c281506945e
2026-09-02 00:26:12,842 - DEBUG - Control-node 10.0.0.186 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-24505119:ctest-vn-91051467', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-24505119', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15710214258586174643', 'uuid-lslong': '11841437240956424076'}, 'enable': 'true', 'created': '2026-09-02T00:26:10', 'last-modified': '2026-09-02T00:26:11', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.328265'}
2026-09-02 00:26:12,851 - DEBUG - Route Targets: ['target:64512:8000005']
2026-09-02 00:26:12,851 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-91051467 passed
2026-09-02 00:26:12,851 - DEBUG - ====Verifying policy data for ctest-vn-91051467 in API_Server ======
2026-09-02 00:26:12,851 - DEBUG - Requesting: http://10.0.0.186:8082/domains
2026-09-02 00:26:12,858 - DEBUG - Requesting: http://10.0.0.186:8082/domain/6cb0210c-1471-40eb-8716-e9a3f3d9da90
2026-09-02 00:26:12,870 - DEBUG - Requesting: http://10.0.0.186:8082/project/4b5193cd-5b21-4631-827d-31ec65766cb9
2026-09-02 00:26:12,956 - DEBUG - Requesting: http://10.0.0.186:8082/virtual-network/da05e4a1-c44e-44b3-a455-3c6e994a0f8c
2026-09-02 00:26:12,973 - DEBUG - ==>Verifying data for policy with id: 1a39a28a-cc36-4d8c-bfc0-62941d044879, fqn: ['default-domain', 'ctest-TestBasicPolicy-24505119', 'ctest-policy-allow-all-84914657']
2026-09-02 00:26:12,973 - INFO - VN ctest-vn-91051467 Policy verification: verify_vn_policy_in_api_server, status: True
2026-09-02 00:26:12,973 - DEBUG - Verifying the vn in opserver
2026-09-02 00:26:12,973 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-24505119:ctest-vn-91051467 virtual network link through opserver 10.0.0.186
2026-09-02 00:26:12,974 - DEBUG - Requesting: http://10.0.0.186:8081/analytics/uves/virtual-networks
2026-09-02 00:26:13,344 - DEBUG - Requesting: http://10.0.0.186:8081/analytics/uves/virtual-networks
2026-09-02 00:26:13,414 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-24505119:ctest-vn-91051467', 'href': 'http://10.0.0.186:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-24505119:ctest-vn-91051467?flat'}
2026-09-02 00:26:13,414 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-24505119:ctest-vn-91051467 is found in opserver
2026-09-02 00:26:13,425 - DEBUG - Do not have enough data to verify VN in agent
2026-09-02 00:26:13,431 - DEBUG - VRF ids for VN ctest-vn-91051467: {}
2026-09-02 00:26:13,431 - DEBUG - Requesting: http://10.0.0.186:8082/domains
2026-09-02 00:26:13,437 - DEBUG - Requesting: http://10.0.0.186:8082/domain/6cb0210c-1471-40eb-8716-e9a3f3d9da90
2026-09-02 00:26:13,450 - DEBUG - Requesting: http://10.0.0.186:8082/project/4b5193cd-5b21-4631-827d-31ec65766cb9
2026-09-02 00:26:13,527 - DEBUG - Requesting: http://10.0.0.186:8082/virtual-network/6690b85a-bd73-4909-879b-6fb9555492d8
2026-09-02 00:26:13,540 - DEBUG - Requesting: http://10.0.0.186:8082/virtual-network/6690b85a-bd73-4909-879b-6fb9555492d8
2026-09-02 00:26:13,549 - DEBUG - Requesting: http://10.0.0.186:8082/routing-instance/be7c2f94-8f49-421e-a72b-b04e131f463a
2026-09-02 00:26:13,556 - DEBUG - Requesting: http://10.0.0.186:8082/routing-instance/be7c2f94-8f49-421e-a72b-b04e131f463a
2026-09-02 00:26:13,564 - DEBUG - Requesting: http://10.0.0.186:8082/route-target/34d45bb3-8120-47d1-a48e-cf2edccb9201
2026-09-02 00:26:13,571 - DEBUG - Route Targets: ['target:64512:8000006']
2026-09-02 00:26:13,571 - DEBUG - Requesting: http://10.0.0.186:8082/virtual-network/6690b85a-bd73-4909-879b-6fb9555492d8
2026-09-02 00:26:13,581 - DEBUG - Requesting: http://10.0.0.186:8082/routing-instance/be7c2f94-8f49-421e-a72b-b04e131f463a
2026-09-02 00:26:13,595 - INFO - Verified VN network id 13 for VN 6690b85a-bd73-4909-879b-6fb9555492d8
2026-09-02 00:26:13,595 - INFO - Verifications in API Server for VN ctest-vn-24584810 passed
2026-09-02 00:26:13,595 - DEBUG - Requesting: http://10.0.0.186:8082/virtual-network/6690b85a-bd73-4909-879b-6fb9555492d8
2026-09-02 00:26:13,605 - DEBUG - Requesting: http://10.0.0.186:8082/routing-instance/be7c2f94-8f49-421e-a72b-b04e131f463a
2026-09-02 00:26:13,611 - DEBUG - Requesting: http://10.0.0.186:8082/routing-instance/be7c2f94-8f49-421e-a72b-b04e131f463a
2026-09-02 00:26:13,619 - DEBUG - Requesting: http://10.0.0.186:8082/route-target/34d45bb3-8120-47d1-a48e-cf2edccb9201
2026-09-02 00:26:13,634 - DEBUG - Control-node 10.0.0.186 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-24505119:ctest-vn-24584810', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-24505119', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7390609688380000521', 'uuid-lslong': '9771526658301661912'}, 'enable': 'true', 'created': '2026-09-02T00:26:10', 'last-modified': '2026-09-02T00:26:11', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.894876'}
2026-09-02 00:26:13,641 - DEBUG - Route Targets: ['target:64512:8000006']
2026-09-02 00:26:13,641 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-24584810 passed
2026-09-02 00:26:13,642 - DEBUG - ====Verifying policy data for ctest-vn-24584810 in API_Server ======
2026-09-02 00:26:13,642 - DEBUG - Requesting: http://10.0.0.186:8082/domains
2026-09-02 00:26:13,648 - DEBUG - Requesting: http://10.0.0.186:8082/domain/6cb0210c-1471-40eb-8716-e9a3f3d9da90
2026-09-02 00:26:13,660 - DEBUG - Requesting: http://10.0.0.186:8082/project/4b5193cd-5b21-4631-827d-31ec65766cb9
2026-09-02 00:26:13,736 - DEBUG - Requesting: http://10.0.0.186:8082/virtual-network/6690b85a-bd73-4909-879b-6fb9555492d8
2026-09-02 00:26:13,745 - DEBUG - ==>Verifying data for policy with id: 1a39a28a-cc36-4d8c-bfc0-62941d044879, fqn: ['default-domain', 'ctest-TestBasicPolicy-24505119', 'ctest-policy-allow-all-84914657']
2026-09-02 00:26:13,745 - INFO - VN ctest-vn-24584810 Policy verification: verify_vn_policy_in_api_server, status: True
2026-09-02 00:26:13,746 - DEBUG - Verifying the vn in opserver
2026-09-02 00:26:13,746 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-24505119:ctest-vn-24584810 virtual network link through opserver 10.0.0.186
2026-09-02 00:26:13,746 - DEBUG - Requesting: http://10.0.0.186:8081/analytics/uves/virtual-networks
2026-09-02 00:26:13,755 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-24505119:ctest-vn-24584810', 'href': 'http://10.0.0.186:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-24505119:ctest-vn-24584810?flat'}
2026-09-02 00:26:13,755 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-24505119:ctest-vn-24584810 is found in opserver
2026-09-02 00:26:13,765 - DEBUG - Do not have enough data to verify VN in agent
2026-09-02 00:26:13,772 - DEBUG - VRF ids for VN ctest-vn-24584810: {}
2026-09-02 00:26:13,831 - DEBUG - Services list from nova: [