2025-10-02 10:36:38,744 - INFO - Domain Default found not creating
2025-10-02 10:36:38,897 - INFO - Project ctest-TestBasicPolicy-97628381 not found, creating it
2025-10-02 10:36:39,401 - INFO - Created Project:ctest-TestBasicPolicy-97628381, ID : 9a167eca-de87-458f-9f06-4f498b932468
2025-10-02 10:36:40,905 - INFO - ================================================================================
2025-10-02 10:36:40,905 - INFO - STARTING TEST : test_basic_policy_allow_deny
2025-10-02 10:36:40,905 - 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
2025-10-02 10:36:41,184 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2025-10-02 10:36:41,184 - INFO - Initial checks done. Running the testcase now
2025-10-02 10:36:41,184 - INFO -
2025-10-02 10:36:41,771 - DEBUG - Response for create_network : {'network': {'id': '48c9cda5-4c21-4967-b329-f83b815ddea5', 'name': 'ctest-vn-41295371', 'tenant_id': '9a167ecade87458f9f064f498b932468', 'project_id': '9a167ecade87458f9f064f498b932468', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97628381', 'ctest-vn-41295371'], 'port_security_enabled': True, 'description': ''}}
2025-10-02 10:36:41,984 - DEBUG - Response for create_subnet : {'subnet': {'id': '75dcb0c5-aae2-4399-b2b3-055428adb965', 'name': '', 'tenant_id': '9a167ecade87458f9f064f498b932468', 'network_id': '48c9cda5-4c21-4967-b329-f83b815ddea5', 'ip_version': 4, 'cidr': '117.152.252.64/26', 'allocation_pools': [{'start': '117.152.252.66', 'end': '117.152.252.126'}], 'gateway_ip': '117.152.252.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '117.152.252.66', 'tags': [], 'project_id': '9a167ecade87458f9f064f498b932468'}}
2025-10-02 10:36:42,004 - INFO - Created VN ctest-vn-41295371
2025-10-02 10:36:42,056 - DEBUG - VN ctest-vn-41295371 UUID is 48c9cda5-4c21-4967-b329-f83b815ddea5
2025-10-02 10:36:42,340 - DEBUG - Response for create_network : {'network': {'id': '80ea528b-1d32-4745-a995-32e250cbe4ef', 'name': 'ctest-vn-93925784', 'tenant_id': '9a167ecade87458f9f064f498b932468', 'project_id': '9a167ecade87458f9f064f498b932468', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97628381', 'ctest-vn-93925784'], 'port_security_enabled': True, 'description': ''}}
2025-10-02 10:36:42,521 - DEBUG - Response for create_subnet : {'subnet': {'id': '06764db3-c80a-44ca-b540-e8d78d5128e6', 'name': '', 'tenant_id': '9a167ecade87458f9f064f498b932468', 'network_id': '80ea528b-1d32-4745-a995-32e250cbe4ef', 'ip_version': 4, 'cidr': '144.5.213.128/26', 'allocation_pools': [{'start': '144.5.213.130', 'end': '144.5.213.190'}], 'gateway_ip': '144.5.213.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '144.5.213.130', 'tags': [], 'project_id': '9a167ecade87458f9f064f498b932468'}}
2025-10-02 10:36:42,541 - INFO - Created VN ctest-vn-93925784
2025-10-02 10:36:42,592 - DEBUG - VN ctest-vn-93925784 UUID is 80ea528b-1d32-4745-a995-32e250cbe4ef
2025-10-02 10:36:42,725 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-97628381:ctest-vn-41295371, 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-97628381:ctest-vn-93925784, 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]
2025-10-02 10:36:43,020 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '48c9cda5-4c21-4967-b329-f83b815ddea5', 'name': 'ctest-vn-41295371', 'tenant_id': '9a167ecade87458f9f064f498b932468', 'project_id': '9a167ecade87458f9f064f498b932468', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['75dcb0c5-aae2-4399-b2b3-055428adb965'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97628381', 'ctest-vn-41295371'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-97628381', 'ctest-policy-allow-all-37894387']], 'subnet_ipam': [{'subnet_cidr': '117.152.252.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-10-02 10:36:43,250 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '80ea528b-1d32-4745-a995-32e250cbe4ef', 'name': 'ctest-vn-93925784', 'tenant_id': '9a167ecade87458f9f064f498b932468', 'project_id': '9a167ecade87458f9f064f498b932468', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['06764db3-c80a-44ca-b540-e8d78d5128e6'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97628381', 'ctest-vn-93925784'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-97628381', 'ctest-policy-allow-all-37894387']], 'subnet_ipam': [{'subnet_cidr': '144.5.213.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-10-02 10:36:43,424 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-10-02 10:36:43,733 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-10-02 10:36:43,767 - DEBUG - Requesting: http://10.0.0.38:8082/domain/86d76833-02f1-4e41-b822-96b155b48b0e
2025-10-02 10:36:43,783 - DEBUG - Requesting: http://10.0.0.38:8082/project/9a167eca-de87-458f-9f06-4f498b932468
2025-10-02 10:36:43,864 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/48c9cda5-4c21-4967-b329-f83b815ddea5
2025-10-02 10:36:43,875 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/48c9cda5-4c21-4967-b329-f83b815ddea5
2025-10-02 10:36:43,884 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6c750fe3-b834-44b5-ba18-0dfdb20d45e3
2025-10-02 10:36:43,892 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6c750fe3-b834-44b5-ba18-0dfdb20d45e3
2025-10-02 10:36:43,900 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/e30481bc-2f82-4c42-bc0a-26c57bc1236c
2025-10-02 10:36:43,907 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-02 10:36:43,907 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/48c9cda5-4c21-4967-b329-f83b815ddea5
2025-10-02 10:36:43,917 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6c750fe3-b834-44b5-ba18-0dfdb20d45e3
2025-10-02 10:36:43,936 - INFO - Verified VN network id 12 for VN 48c9cda5-4c21-4967-b329-f83b815ddea5
2025-10-02 10:36:43,936 - INFO - Verifications in API Server for VN ctest-vn-41295371 passed
2025-10-02 10:36:43,937 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/48c9cda5-4c21-4967-b329-f83b815ddea5
2025-10-02 10:36:43,946 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6c750fe3-b834-44b5-ba18-0dfdb20d45e3
2025-10-02 10:36:43,953 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6c750fe3-b834-44b5-ba18-0dfdb20d45e3
2025-10-02 10:36:43,961 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/e30481bc-2f82-4c42-bc0a-26c57bc1236c
2025-10-02 10:36:43,975 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-97628381:ctest-vn-41295371', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-97628381', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5244949350880201063', 'uuid-lslong': '12910122741291409061'}, 'enable': 'true', 'created': '2025-10-02T10:36:41', 'last-modified': '2025-10-02T10:36:42', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.972302'}
2025-10-02 10:36:43,982 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-02 10:36:43,982 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-41295371 passed
2025-10-02 10:36:43,982 - DEBUG - ====Verifying policy data for ctest-vn-41295371 in API_Server ======
2025-10-02 10:36:43,982 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-10-02 10:36:43,989 - DEBUG - Requesting: http://10.0.0.38:8082/domain/86d76833-02f1-4e41-b822-96b155b48b0e
2025-10-02 10:36:44,000 - DEBUG - Requesting: http://10.0.0.38:8082/project/9a167eca-de87-458f-9f06-4f498b932468
2025-10-02 10:36:44,076 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/48c9cda5-4c21-4967-b329-f83b815ddea5
2025-10-02 10:36:44,087 - DEBUG - ==>Verifying data for policy with id: 4553d1c5-0930-4059-927a-9eb14d903a37, fqn: ['default-domain', 'ctest-TestBasicPolicy-97628381', 'ctest-policy-allow-all-37894387']
2025-10-02 10:36:44,087 - INFO - VN ctest-vn-41295371 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-02 10:36:44,087 - DEBUG - Verifying the vn in opserver
2025-10-02 10:36:44,087 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-97628381:ctest-vn-41295371 virtual network link through opserver 10.0.0.38
2025-10-02 10:36:44,087 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2025-10-02 10:36:44,394 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2025-10-02 10:36:44,461 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-97628381:ctest-vn-41295371', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-97628381:ctest-vn-41295371?flat'}
2025-10-02 10:36:44,461 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-97628381:ctest-vn-41295371 is found in opserver
2025-10-02 10:36:44,472 - DEBUG - Do not have enough data to verify VN in agent
2025-10-02 10:36:44,477 - DEBUG - VRF ids for VN ctest-vn-41295371: {}
2025-10-02 10:36:44,477 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-10-02 10:36:44,483 - DEBUG - Requesting: http://10.0.0.38:8082/domain/86d76833-02f1-4e41-b822-96b155b48b0e
2025-10-02 10:36:44,494 - DEBUG - Requesting: http://10.0.0.38:8082/project/9a167eca-de87-458f-9f06-4f498b932468
2025-10-02 10:36:44,568 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/80ea528b-1d32-4745-a995-32e250cbe4ef
2025-10-02 10:36:44,582 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/80ea528b-1d32-4745-a995-32e250cbe4ef
2025-10-02 10:36:44,594 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c75e9a52-b3e3-443d-9a1b-4d5860dc1bd9
2025-10-02 10:36:44,603 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c75e9a52-b3e3-443d-9a1b-4d5860dc1bd9
2025-10-02 10:36:44,611 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/a13924a6-d370-4a86-b42d-27c7ee5f3601
2025-10-02 10:36:44,619 - DEBUG - Route Targets: ['target:64512:8000005']
2025-10-02 10:36:44,620 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/80ea528b-1d32-4745-a995-32e250cbe4ef
2025-10-02 10:36:44,630 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c75e9a52-b3e3-443d-9a1b-4d5860dc1bd9
2025-10-02 10:36:44,646 - INFO - Verified VN network id 13 for VN 80ea528b-1d32-4745-a995-32e250cbe4ef
2025-10-02 10:36:44,646 - INFO - Verifications in API Server for VN ctest-vn-93925784 passed
2025-10-02 10:36:44,646 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/80ea528b-1d32-4745-a995-32e250cbe4ef
2025-10-02 10:36:44,656 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c75e9a52-b3e3-443d-9a1b-4d5860dc1bd9
2025-10-02 10:36:44,665 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c75e9a52-b3e3-443d-9a1b-4d5860dc1bd9
2025-10-02 10:36:44,674 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/a13924a6-d370-4a86-b42d-27c7ee5f3601
2025-10-02 10:36:44,686 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-97628381:ctest-vn-93925784', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-97628381', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9289327938848835397', 'uuid-lslong': '12219729111539246319'}, 'enable': 'true', 'created': '2025-10-02T10:36:42', 'last-modified': '2025-10-02T10:36:43', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.458133'}
2025-10-02 10:36:44,692 - DEBUG - Route Targets: ['target:64512:8000005']
2025-10-02 10:36:44,692 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-93925784 passed
2025-10-02 10:36:44,692 - DEBUG - ====Verifying policy data for ctest-vn-93925784 in API_Server ======
2025-10-02 10:36:44,692 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-10-02 10:36:44,699 - DEBUG - Requesting: http://10.0.0.38:8082/domain/86d76833-02f1-4e41-b822-96b155b48b0e
2025-10-02 10:36:44,711 - DEBUG - Requesting: http://10.0.0.38:8082/project/9a167eca-de87-458f-9f06-4f498b932468
2025-10-02 10:36:44,791 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/80ea528b-1d32-4745-a995-32e250cbe4ef
2025-10-02 10:36:44,803 - DEBUG - ==>Verifying data for policy with id: 4553d1c5-0930-4059-927a-9eb14d903a37, fqn: ['default-domain', 'ctest-TestBasicPolicy-97628381', 'ctest-policy-allow-all-37894387']
2025-10-02 10:36:44,803 - INFO - VN ctest-vn-93925784 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-02 10:36:44,803 - DEBUG - Verifying the vn in opserver
2025-10-02 10:36:44,803 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-97628381:ctest-vn-93925784 virtual network link through opserver 10.0.0.38
2025-10-02 10:36:44,803 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2025-10-02 10:36:44,814 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-97628381:ctest-vn-93925784', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-97628381:ctest-vn-93925784?flat'}
2025-10-02 10:36:44,814 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-97628381:ctest-vn-93925784 is found in opserver
2025-10-02 10:36:44,825 - DEBUG - Do not have enough data to verify VN in agent
2025-10-02 10:36:44,829 - DEBUG - VRF ids for VN ctest-vn-93925784: {}
2025-10-02 10:36:44,892 - DEBUG - Services list from nova: [