2025-12-18 02:11:54,401 - INFO - Domain Default found not creating
2025-12-18 02:11:54,614 - INFO - Project ctest-TestBasicPolicy-82949974 not found, creating it
2025-12-18 02:11:55,092 - INFO - Created Project:ctest-TestBasicPolicy-82949974, ID : 4e256732-0f07-4ef1-b547-a05a01b93837
2025-12-18 02:11:56,831 - INFO - ================================================================================
2025-12-18 02:11:56,831 - INFO - STARTING TEST : test_basic_policy_allow_deny
2025-12-18 02:11:56,831 - 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-12-18 02:11:57,110 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.18': '0'}} with
2025-12-18 02:11:57,110 - INFO - Initial checks done. Running the testcase now
2025-12-18 02:11:57,110 - INFO -
2025-12-18 02:11:58,052 - DEBUG - Response for create_network : {'network': {'id': 'b39397de-8292-436b-8eb0-7216f3b88d4e', 'name': 'ctest-vn-67338090', 'tenant_id': '4e2567320f074ef1b547a05a01b93837', 'project_id': '4e2567320f074ef1b547a05a01b93837', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-82949974', 'ctest-vn-67338090'], 'port_security_enabled': True, 'description': ''}}
2025-12-18 02:11:58,616 - DEBUG - Response for create_subnet : {'subnet': {'id': '102c0105-7602-49dc-bf10-20408f6b9ad1', 'name': '', 'tenant_id': '4e2567320f074ef1b547a05a01b93837', 'network_id': 'b39397de-8292-436b-8eb0-7216f3b88d4e', 'ip_version': 4, 'cidr': '166.73.196.192/26', 'allocation_pools': [{'start': '166.73.196.194', 'end': '166.73.196.254'}], 'gateway_ip': '166.73.196.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '166.73.196.194', 'tags': [], 'project_id': '4e2567320f074ef1b547a05a01b93837'}}
2025-12-18 02:11:58,644 - INFO - Created VN ctest-vn-67338090
2025-12-18 02:11:58,705 - DEBUG - VN ctest-vn-67338090 UUID is b39397de-8292-436b-8eb0-7216f3b88d4e
2025-12-18 02:11:59,062 - DEBUG - Response for create_network : {'network': {'id': 'f6962461-6c2b-43ef-9e0c-e01a40aa7c93', 'name': 'ctest-vn-25029454', 'tenant_id': '4e2567320f074ef1b547a05a01b93837', 'project_id': '4e2567320f074ef1b547a05a01b93837', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-82949974', 'ctest-vn-25029454'], 'port_security_enabled': True, 'description': ''}}
2025-12-18 02:11:59,284 - DEBUG - Response for create_subnet : {'subnet': {'id': '7b176ddd-7439-4895-b00f-994a8171a391', 'name': '', 'tenant_id': '4e2567320f074ef1b547a05a01b93837', 'network_id': 'f6962461-6c2b-43ef-9e0c-e01a40aa7c93', 'ip_version': 4, 'cidr': '209.50.14.0/26', 'allocation_pools': [{'start': '209.50.14.2', 'end': '209.50.14.62'}], 'gateway_ip': '209.50.14.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '209.50.14.2', 'tags': [], 'project_id': '4e2567320f074ef1b547a05a01b93837'}}
2025-12-18 02:11:59,308 - INFO - Created VN ctest-vn-25029454
2025-12-18 02:11:59,365 - DEBUG - VN ctest-vn-25029454 UUID is f6962461-6c2b-43ef-9e0c-e01a40aa7c93
2025-12-18 02:11:59,492 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-82949974:ctest-vn-67338090, 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-82949974:ctest-vn-25029454, 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-12-18 02:11:59,827 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b39397de-8292-436b-8eb0-7216f3b88d4e', 'name': 'ctest-vn-67338090', 'tenant_id': '4e2567320f074ef1b547a05a01b93837', 'project_id': '4e2567320f074ef1b547a05a01b93837', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['102c0105-7602-49dc-bf10-20408f6b9ad1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-82949974', 'ctest-vn-67338090'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-82949974', 'ctest-policy-allow-all-92092722']], 'subnet_ipam': [{'subnet_cidr': '166.73.196.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-12-18 02:12:00,082 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f6962461-6c2b-43ef-9e0c-e01a40aa7c93', 'name': 'ctest-vn-25029454', 'tenant_id': '4e2567320f074ef1b547a05a01b93837', 'project_id': '4e2567320f074ef1b547a05a01b93837', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7b176ddd-7439-4895-b00f-994a8171a391'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-82949974', 'ctest-vn-25029454'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-82949974', 'ctest-policy-allow-all-92092722']], 'subnet_ipam': [{'subnet_cidr': '209.50.14.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-12-18 02:12:00,249 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2025-12-18 02:12:00,552 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2025-12-18 02:12:00,597 - DEBUG - Requesting: http://10.0.0.141:8082/domain/9b654697-e595-4d3f-a56f-4bba6d6b8abe
2025-12-18 02:12:00,612 - DEBUG - Requesting: http://10.0.0.141:8082/project/4e256732-0f07-4ef1-b547-a05a01b93837
2025-12-18 02:12:00,687 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/b39397de-8292-436b-8eb0-7216f3b88d4e
2025-12-18 02:12:00,698 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/b39397de-8292-436b-8eb0-7216f3b88d4e
2025-12-18 02:12:00,709 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/0816d109-195e-4b71-862c-720a4a5e7825
2025-12-18 02:12:00,717 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/0816d109-195e-4b71-862c-720a4a5e7825
2025-12-18 02:12:00,726 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/e6d63094-0aa8-4d0e-a0ea-b0b03f95810b
2025-12-18 02:12:00,734 - DEBUG - Route Targets: ['target:64512:8000004']
2025-12-18 02:12:00,735 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/b39397de-8292-436b-8eb0-7216f3b88d4e
2025-12-18 02:12:00,748 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/0816d109-195e-4b71-862c-720a4a5e7825
2025-12-18 02:12:00,768 - INFO - Verified VN network id 12 for VN b39397de-8292-436b-8eb0-7216f3b88d4e
2025-12-18 02:12:00,768 - INFO - Verifications in API Server for VN ctest-vn-67338090 passed
2025-12-18 02:12:00,768 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/b39397de-8292-436b-8eb0-7216f3b88d4e
2025-12-18 02:12:00,781 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/0816d109-195e-4b71-862c-720a4a5e7825
2025-12-18 02:12:00,791 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/0816d109-195e-4b71-862c-720a4a5e7825
2025-12-18 02:12:00,801 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/e6d63094-0aa8-4d0e-a0ea-b0b03f95810b
2025-12-18 02:12:00,817 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-82949974:ctest-vn-67338090', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-82949974', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12939853136294724459', 'uuid-lslong': '10281843392190647630'}, 'enable': 'true', 'created': '2025-12-18T02:11:57', 'last-modified': '2025-12-18T02:11:59', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.022756'}
2025-12-18 02:12:00,823 - DEBUG - Route Targets: ['target:64512:8000004']
2025-12-18 02:12:00,823 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-67338090 passed
2025-12-18 02:12:00,824 - DEBUG - ====Verifying policy data for ctest-vn-67338090 in API_Server ======
2025-12-18 02:12:00,824 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2025-12-18 02:12:00,830 - DEBUG - Requesting: http://10.0.0.141:8082/domain/9b654697-e595-4d3f-a56f-4bba6d6b8abe
2025-12-18 02:12:00,843 - DEBUG - Requesting: http://10.0.0.141:8082/project/4e256732-0f07-4ef1-b547-a05a01b93837
2025-12-18 02:12:00,922 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/b39397de-8292-436b-8eb0-7216f3b88d4e
2025-12-18 02:12:00,936 - DEBUG - ==>Verifying data for policy with id: 3951984e-e55c-48d7-be56-32492d7a9b40, fqn: ['default-domain', 'ctest-TestBasicPolicy-82949974', 'ctest-policy-allow-all-92092722']
2025-12-18 02:12:00,936 - INFO - VN ctest-vn-67338090 Policy verification: verify_vn_policy_in_api_server, status: True
2025-12-18 02:12:00,936 - DEBUG - Verifying the vn in opserver
2025-12-18 02:12:00,936 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-82949974:ctest-vn-67338090 virtual network link through opserver 10.0.0.141
2025-12-18 02:12:00,936 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks
2025-12-18 02:12:01,257 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks
2025-12-18 02:12:01,342 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-82949974:ctest-vn-67338090', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-82949974:ctest-vn-67338090?flat'}
2025-12-18 02:12:01,342 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-82949974:ctest-vn-67338090 is found in opserver
2025-12-18 02:12:01,356 - DEBUG - Do not have enough data to verify VN in agent
2025-12-18 02:12:01,362 - DEBUG - VRF ids for VN ctest-vn-67338090: {}
2025-12-18 02:12:01,362 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2025-12-18 02:12:01,370 - DEBUG - Requesting: http://10.0.0.141:8082/domain/9b654697-e595-4d3f-a56f-4bba6d6b8abe
2025-12-18 02:12:01,385 - DEBUG - Requesting: http://10.0.0.141:8082/project/4e256732-0f07-4ef1-b547-a05a01b93837
2025-12-18 02:12:01,461 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/f6962461-6c2b-43ef-9e0c-e01a40aa7c93
2025-12-18 02:12:01,476 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/f6962461-6c2b-43ef-9e0c-e01a40aa7c93
2025-12-18 02:12:01,486 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/cd7e68a8-9ca8-44d1-a834-2d1203343975
2025-12-18 02:12:01,496 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/cd7e68a8-9ca8-44d1-a834-2d1203343975
2025-12-18 02:12:01,506 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/542bf78e-9e87-4730-9abd-3932bf2e8e05
2025-12-18 02:12:01,515 - DEBUG - Route Targets: ['target:64512:8000005']
2025-12-18 02:12:01,516 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/f6962461-6c2b-43ef-9e0c-e01a40aa7c93
2025-12-18 02:12:01,528 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/cd7e68a8-9ca8-44d1-a834-2d1203343975
2025-12-18 02:12:01,544 - INFO - Verified VN network id 13 for VN f6962461-6c2b-43ef-9e0c-e01a40aa7c93
2025-12-18 02:12:01,544 - INFO - Verifications in API Server for VN ctest-vn-25029454 passed
2025-12-18 02:12:01,544 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/f6962461-6c2b-43ef-9e0c-e01a40aa7c93
2025-12-18 02:12:01,557 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/cd7e68a8-9ca8-44d1-a834-2d1203343975
2025-12-18 02:12:01,566 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/cd7e68a8-9ca8-44d1-a834-2d1203343975
2025-12-18 02:12:01,576 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/542bf78e-9e87-4730-9abd-3932bf2e8e05
2025-12-18 02:12:01,591 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-82949974:ctest-vn-25029454', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-82949974', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17768429380682073071', 'uuid-lslong': '11388723961071828115'}, 'enable': 'true', 'created': '2025-12-18T02:11:59', 'last-modified': '2025-12-18T02:12:00', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.541089'}
2025-12-18 02:12:01,598 - DEBUG - Route Targets: ['target:64512:8000005']
2025-12-18 02:12:01,599 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-25029454 passed
2025-12-18 02:12:01,599 - DEBUG - ====Verifying policy data for ctest-vn-25029454 in API_Server ======
2025-12-18 02:12:01,599 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2025-12-18 02:12:01,606 - DEBUG - Requesting: http://10.0.0.141:8082/domain/9b654697-e595-4d3f-a56f-4bba6d6b8abe
2025-12-18 02:12:01,620 - DEBUG - Requesting: http://10.0.0.141:8082/project/4e256732-0f07-4ef1-b547-a05a01b93837
2025-12-18 02:12:01,716 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/f6962461-6c2b-43ef-9e0c-e01a40aa7c93
2025-12-18 02:12:01,727 - DEBUG - ==>Verifying data for policy with id: 3951984e-e55c-48d7-be56-32492d7a9b40, fqn: ['default-domain', 'ctest-TestBasicPolicy-82949974', 'ctest-policy-allow-all-92092722']
2025-12-18 02:12:01,727 - INFO - VN ctest-vn-25029454 Policy verification: verify_vn_policy_in_api_server, status: True
2025-12-18 02:12:01,727 - DEBUG - Verifying the vn in opserver
2025-12-18 02:12:01,727 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-82949974:ctest-vn-25029454 virtual network link through opserver 10.0.0.141
2025-12-18 02:12:01,727 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks
2025-12-18 02:12:01,739 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-82949974:ctest-vn-25029454', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-82949974:ctest-vn-25029454?flat'}
2025-12-18 02:12:01,739 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-82949974:ctest-vn-25029454 is found in opserver
2025-12-18 02:12:01,751 - DEBUG - Do not have enough data to verify VN in agent
2025-12-18 02:12:01,757 - DEBUG - VRF ids for VN ctest-vn-25029454: {}
2025-12-18 02:12:01,840 - DEBUG - Services list from nova: [