2026-11-02 19:28:27,222 - INFO - Domain Default found not creating
2026-11-02 19:28:27,432 - INFO - Project ctest-TestBasicPolicy-25240860 not found, creating it
2026-11-02 19:28:27,946 - INFO - Created Project:ctest-TestBasicPolicy-25240860, ID : dbe0b384-d010-4606-a6c0-a61eadf6afa1
2026-11-02 19:28:29,768 - INFO - ================================================================================
2026-11-02 19:28:29,768 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-11-02 19:28:29,768 - 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-02 19:28:30,037 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2026-11-02 19:28:30,037 - INFO - Initial checks done. Running the testcase now
2026-11-02 19:28:30,037 - INFO -
2026-11-02 19:28:30,673 - DEBUG - Response for create_network : {'network': {'id': 'e598897d-881d-4c05-9ec8-9092f586e743', 'name': 'ctest-vn-48119119', 'tenant_id': 'dbe0b384d0104606a6c0a61eadf6afa1', 'project_id': 'dbe0b384d0104606a6c0a61eadf6afa1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-25240860', 'ctest-vn-48119119'], 'port_security_enabled': True, 'description': ''}}
2026-11-02 19:28:30,855 - DEBUG - Response for create_subnet : {'subnet': {'id': '4905607f-5611-4bda-95eb-965ebcae81e1', 'name': '', 'tenant_id': 'dbe0b384d0104606a6c0a61eadf6afa1', 'network_id': 'e598897d-881d-4c05-9ec8-9092f586e743', 'ip_version': 4, 'cidr': '92.50.249.192/26', 'allocation_pools': [{'start': '92.50.249.194', 'end': '92.50.249.254'}], 'gateway_ip': '92.50.249.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '92.50.249.194', 'tags': [], 'project_id': 'dbe0b384d0104606a6c0a61eadf6afa1'}}
2026-11-02 19:28:30,873 - INFO - Created VN ctest-vn-48119119
2026-11-02 19:28:30,931 - DEBUG - VN ctest-vn-48119119 UUID is e598897d-881d-4c05-9ec8-9092f586e743
2026-11-02 19:28:31,241 - DEBUG - Response for create_network : {'network': {'id': '83bd1db9-74a9-4f85-abee-d1536ab3a36e', 'name': 'ctest-vn-30794650', 'tenant_id': 'dbe0b384d0104606a6c0a61eadf6afa1', 'project_id': 'dbe0b384d0104606a6c0a61eadf6afa1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-25240860', 'ctest-vn-30794650'], 'port_security_enabled': True, 'description': ''}}
2026-11-02 19:28:31,458 - DEBUG - Response for create_subnet : {'subnet': {'id': '731f7ca8-ee17-4400-9e08-dff4b0082027', 'name': '', 'tenant_id': 'dbe0b384d0104606a6c0a61eadf6afa1', 'network_id': '83bd1db9-74a9-4f85-abee-d1536ab3a36e', 'ip_version': 4, 'cidr': '123.93.130.192/26', 'allocation_pools': [{'start': '123.93.130.194', 'end': '123.93.130.254'}], 'gateway_ip': '123.93.130.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '123.93.130.194', 'tags': [], 'project_id': 'dbe0b384d0104606a6c0a61eadf6afa1'}}
2026-11-02 19:28:31,476 - INFO - Created VN ctest-vn-30794650
2026-11-02 19:28:31,531 - DEBUG - VN ctest-vn-30794650 UUID is 83bd1db9-74a9-4f85-abee-d1536ab3a36e
2026-11-02 19:28:31,683 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-25240860:ctest-vn-48119119, 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-25240860:ctest-vn-30794650, 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-02 19:28:32,010 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e598897d-881d-4c05-9ec8-9092f586e743', 'name': 'ctest-vn-48119119', 'tenant_id': 'dbe0b384d0104606a6c0a61eadf6afa1', 'project_id': 'dbe0b384d0104606a6c0a61eadf6afa1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['4905607f-5611-4bda-95eb-965ebcae81e1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-25240860', 'ctest-vn-48119119'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-25240860', 'ctest-policy-allow-all-17950408']], 'subnet_ipam': [{'subnet_cidr': '92.50.249.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-11-02 19:28:32,253 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '83bd1db9-74a9-4f85-abee-d1536ab3a36e', 'name': 'ctest-vn-30794650', 'tenant_id': 'dbe0b384d0104606a6c0a61eadf6afa1', 'project_id': 'dbe0b384d0104606a6c0a61eadf6afa1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['731f7ca8-ee17-4400-9e08-dff4b0082027'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-25240860', 'ctest-vn-30794650'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-25240860', 'ctest-policy-allow-all-17950408']], 'subnet_ipam': [{'subnet_cidr': '123.93.130.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-11-02 19:28:32,412 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-11-02 19:28:32,791 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-11-02 19:28:32,824 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ff097619-f248-4178-8a91-adf0cb7d2f06
2026-11-02 19:28:32,837 - DEBUG - Requesting: http://10.0.0.38:8082/project/dbe0b384-d010-4606-a6c0-a61eadf6afa1
2026-11-02 19:28:32,934 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e598897d-881d-4c05-9ec8-9092f586e743
2026-11-02 19:28:32,945 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e598897d-881d-4c05-9ec8-9092f586e743
2026-11-02 19:28:32,954 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e0510c42-ec9e-4a4a-bbe7-fab13f04180e
2026-11-02 19:28:32,962 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e0510c42-ec9e-4a4a-bbe7-fab13f04180e
2026-11-02 19:28:32,970 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/f0856747-cf08-4ea9-a3d0-e0189f26e32f
2026-11-02 19:28:32,977 - DEBUG - Route Targets: ['target:64512:8000005']
2026-11-02 19:28:32,977 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e598897d-881d-4c05-9ec8-9092f586e743
2026-11-02 19:28:32,988 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e0510c42-ec9e-4a4a-bbe7-fab13f04180e
2026-11-02 19:28:33,005 - INFO - Verified VN network id 12 for VN e598897d-881d-4c05-9ec8-9092f586e743
2026-11-02 19:28:33,005 - INFO - Verifications in API Server for VN ctest-vn-48119119 passed
2026-11-02 19:28:33,005 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e598897d-881d-4c05-9ec8-9092f586e743
2026-11-02 19:28:33,016 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e0510c42-ec9e-4a4a-bbe7-fab13f04180e
2026-11-02 19:28:33,024 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e0510c42-ec9e-4a4a-bbe7-fab13f04180e
2026-11-02 19:28:33,032 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/f0856747-cf08-4ea9-a3d0-e0189f26e32f
2026-11-02 19:28:33,045 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-25240860:ctest-vn-48119119', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-25240860', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16544124403393055749', 'uuid-lslong': '11441553814193628995'}, 'enable': 'true', 'created': '2026-11-02T19:28:30', 'last-modified': '2026-11-02T19:28:31', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.062025'}
2026-11-02 19:28:33,053 - DEBUG - Route Targets: ['target:64512:8000005']
2026-11-02 19:28:33,053 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-48119119 passed
2026-11-02 19:28:33,053 - DEBUG - ====Verifying policy data for ctest-vn-48119119 in API_Server ======
2026-11-02 19:28:33,053 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-11-02 19:28:33,059 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ff097619-f248-4178-8a91-adf0cb7d2f06
2026-11-02 19:28:33,072 - DEBUG - Requesting: http://10.0.0.38:8082/project/dbe0b384-d010-4606-a6c0-a61eadf6afa1
2026-11-02 19:28:33,155 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e598897d-881d-4c05-9ec8-9092f586e743
2026-11-02 19:28:33,168 - DEBUG - ==>Verifying data for policy with id: 393feed3-cecf-42b9-a608-784742ed43eb, fqn: ['default-domain', 'ctest-TestBasicPolicy-25240860', 'ctest-policy-allow-all-17950408']
2026-11-02 19:28:33,168 - INFO - VN ctest-vn-48119119 Policy verification: verify_vn_policy_in_api_server, status: True
2026-11-02 19:28:33,168 - DEBUG - Verifying the vn in opserver
2026-11-02 19:28:33,168 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-25240860:ctest-vn-48119119 virtual network link through opserver 10.0.0.38
2026-11-02 19:28:33,168 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-11-02 19:28:33,559 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-11-02 19:28:33,629 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-25240860:ctest-vn-48119119', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-25240860:ctest-vn-48119119?flat'}
2026-11-02 19:28:33,629 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-25240860:ctest-vn-48119119 is found in opserver
2026-11-02 19:28:33,640 - DEBUG - Do not have enough data to verify VN in agent
2026-11-02 19:28:33,645 - DEBUG - VRF ids for VN ctest-vn-48119119: {}
2026-11-02 19:28:33,645 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-11-02 19:28:33,650 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ff097619-f248-4178-8a91-adf0cb7d2f06
2026-11-02 19:28:33,661 - DEBUG - Requesting: http://10.0.0.38:8082/project/dbe0b384-d010-4606-a6c0-a61eadf6afa1
2026-11-02 19:28:33,737 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/83bd1db9-74a9-4f85-abee-d1536ab3a36e
2026-11-02 19:28:33,749 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/83bd1db9-74a9-4f85-abee-d1536ab3a36e
2026-11-02 19:28:33,759 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8490a250-950b-4ac7-814a-0e05ddd9d167
2026-11-02 19:28:33,768 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8490a250-950b-4ac7-814a-0e05ddd9d167
2026-11-02 19:28:33,779 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/f3426c24-8a5f-4f80-a6a0-763d6ad3e036
2026-11-02 19:28:33,788 - DEBUG - Route Targets: ['target:64512:8000006']
2026-11-02 19:28:33,788 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/83bd1db9-74a9-4f85-abee-d1536ab3a36e
2026-11-02 19:28:33,799 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8490a250-950b-4ac7-814a-0e05ddd9d167
2026-11-02 19:28:33,819 - INFO - Verified VN network id 13 for VN 83bd1db9-74a9-4f85-abee-d1536ab3a36e
2026-11-02 19:28:33,819 - INFO - Verifications in API Server for VN ctest-vn-30794650 passed
2026-11-02 19:28:33,819 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/83bd1db9-74a9-4f85-abee-d1536ab3a36e
2026-11-02 19:28:33,831 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8490a250-950b-4ac7-814a-0e05ddd9d167
2026-11-02 19:28:33,840 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8490a250-950b-4ac7-814a-0e05ddd9d167
2026-11-02 19:28:33,846 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/f3426c24-8a5f-4f80-a6a0-763d6ad3e036
2026-11-02 19:28:33,859 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-25240860:ctest-vn-30794650', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-25240860', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9492776271930281861', 'uuid-lslong': '12389069781145461614'}, 'enable': 'true', 'created': '2026-11-02T19:28:31', 'last-modified': '2026-11-02T19:28:32', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.631016'}
2026-11-02 19:28:33,868 - DEBUG - Route Targets: ['target:64512:8000006']
2026-11-02 19:28:33,868 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-30794650 passed
2026-11-02 19:28:33,868 - DEBUG - ====Verifying policy data for ctest-vn-30794650 in API_Server ======
2026-11-02 19:28:33,868 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-11-02 19:28:33,876 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ff097619-f248-4178-8a91-adf0cb7d2f06
2026-11-02 19:28:33,888 - DEBUG - Requesting: http://10.0.0.38:8082/project/dbe0b384-d010-4606-a6c0-a61eadf6afa1
2026-11-02 19:28:33,963 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/83bd1db9-74a9-4f85-abee-d1536ab3a36e
2026-11-02 19:28:33,978 - DEBUG - ==>Verifying data for policy with id: 393feed3-cecf-42b9-a608-784742ed43eb, fqn: ['default-domain', 'ctest-TestBasicPolicy-25240860', 'ctest-policy-allow-all-17950408']
2026-11-02 19:28:33,978 - INFO - VN ctest-vn-30794650 Policy verification: verify_vn_policy_in_api_server, status: True
2026-11-02 19:28:33,978 - DEBUG - Verifying the vn in opserver
2026-11-02 19:28:33,978 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-25240860:ctest-vn-30794650 virtual network link through opserver 10.0.0.38
2026-11-02 19:28:33,978 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-11-02 19:28:33,992 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-25240860:ctest-vn-30794650', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-25240860:ctest-vn-30794650?flat'}
2026-11-02 19:28:33,992 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-25240860:ctest-vn-30794650 is found in opserver
2026-11-02 19:28:34,006 - DEBUG - Do not have enough data to verify VN in agent
2026-11-02 19:28:34,012 - DEBUG - VRF ids for VN ctest-vn-30794650: {}
2026-11-02 19:28:34,079 - DEBUG - Services list from nova: [