2026-12-01 12:24:53,718 - INFO - Domain Default found not creating
2026-12-01 12:24:53,895 - INFO - Project ctest-TestBasicPolicy-17597176 not found, creating it
2026-12-01 12:24:54,376 - INFO - Created Project:ctest-TestBasicPolicy-17597176, ID : 9a6b1486-7c0c-4db1-94cd-643e3ea3e3e6
2026-12-01 12:24:56,354 - INFO - ================================================================================
2026-12-01 12:24:56,354 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-12-01 12:24:56,354 - 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-12-01 12:24:56,642 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2026-12-01 12:24:56,642 - INFO - Initial checks done. Running the testcase now
2026-12-01 12:24:56,642 - INFO -
2026-12-01 12:24:57,254 - DEBUG - Response for create_network : {'network': {'id': '1a218f6d-f158-4d13-9e20-5962345d17e1', 'name': 'ctest-vn-03374498', 'tenant_id': '9a6b14867c0c4db194cd643e3ea3e3e6', 'project_id': '9a6b14867c0c4db194cd643e3ea3e3e6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-17597176', 'ctest-vn-03374498'], 'port_security_enabled': True, 'description': ''}}
2026-12-01 12:24:57,485 - DEBUG - Response for create_subnet : {'subnet': {'id': '35e98b05-b65d-4e6f-870f-9fd523765a7c', 'name': '', 'tenant_id': '9a6b14867c0c4db194cd643e3ea3e3e6', 'network_id': '1a218f6d-f158-4d13-9e20-5962345d17e1', 'ip_version': 4, 'cidr': '90.240.110.64/26', 'allocation_pools': [{'start': '90.240.110.66', 'end': '90.240.110.126'}], 'gateway_ip': '90.240.110.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '90.240.110.66', 'tags': [], 'project_id': '9a6b14867c0c4db194cd643e3ea3e3e6'}}
2026-12-01 12:24:57,502 - INFO - Created VN ctest-vn-03374498
2026-12-01 12:24:57,554 - DEBUG - VN ctest-vn-03374498 UUID is 1a218f6d-f158-4d13-9e20-5962345d17e1
2026-12-01 12:24:57,891 - DEBUG - Response for create_network : {'network': {'id': '07d7a789-2fc0-4ee7-a2da-0d3f4736da7f', 'name': 'ctest-vn-78726940', 'tenant_id': '9a6b14867c0c4db194cd643e3ea3e3e6', 'project_id': '9a6b14867c0c4db194cd643e3ea3e3e6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-17597176', 'ctest-vn-78726940'], 'port_security_enabled': True, 'description': ''}}
2026-12-01 12:24:58,064 - DEBUG - Response for create_subnet : {'subnet': {'id': '9a7c888b-b551-4b51-bef0-93bbd8509d9a', 'name': '', 'tenant_id': '9a6b14867c0c4db194cd643e3ea3e3e6', 'network_id': '07d7a789-2fc0-4ee7-a2da-0d3f4736da7f', 'ip_version': 4, 'cidr': '123.27.39.0/26', 'allocation_pools': [{'start': '123.27.39.2', 'end': '123.27.39.62'}], 'gateway_ip': '123.27.39.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '123.27.39.2', 'tags': [], 'project_id': '9a6b14867c0c4db194cd643e3ea3e3e6'}}
2026-12-01 12:24:58,080 - INFO - Created VN ctest-vn-78726940
2026-12-01 12:24:58,130 - DEBUG - VN ctest-vn-78726940 UUID is 07d7a789-2fc0-4ee7-a2da-0d3f4736da7f
2026-12-01 12:24:58,274 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-17597176:ctest-vn-03374498, 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-17597176:ctest-vn-78726940, 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-12-01 12:24:58,571 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1a218f6d-f158-4d13-9e20-5962345d17e1', 'name': 'ctest-vn-03374498', 'tenant_id': '9a6b14867c0c4db194cd643e3ea3e3e6', 'project_id': '9a6b14867c0c4db194cd643e3ea3e3e6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['35e98b05-b65d-4e6f-870f-9fd523765a7c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-17597176', 'ctest-vn-03374498'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-17597176', 'ctest-policy-allow-all-30582264']], 'subnet_ipam': [{'subnet_cidr': '90.240.110.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-12-01 12:24:58,796 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '07d7a789-2fc0-4ee7-a2da-0d3f4736da7f', 'name': 'ctest-vn-78726940', 'tenant_id': '9a6b14867c0c4db194cd643e3ea3e3e6', 'project_id': '9a6b14867c0c4db194cd643e3ea3e3e6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['9a7c888b-b551-4b51-bef0-93bbd8509d9a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-17597176', 'ctest-vn-78726940'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-17597176', 'ctest-policy-allow-all-30582264']], 'subnet_ipam': [{'subnet_cidr': '123.27.39.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-12-01 12:24:58,962 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-12-01 12:24:59,322 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-12-01 12:24:59,351 - DEBUG - Requesting: http://10.0.0.38:8082/domain/55141dd9-d9d9-4c90-9761-15e7b5359877
2026-12-01 12:24:59,363 - DEBUG - Requesting: http://10.0.0.38:8082/project/9a6b1486-7c0c-4db1-94cd-643e3ea3e3e6
2026-12-01 12:24:59,441 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1a218f6d-f158-4d13-9e20-5962345d17e1
2026-12-01 12:24:59,452 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1a218f6d-f158-4d13-9e20-5962345d17e1
2026-12-01 12:24:59,462 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a50d5b3b-8c8c-4871-b604-55257a5ac6d2
2026-12-01 12:24:59,470 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a50d5b3b-8c8c-4871-b604-55257a5ac6d2
2026-12-01 12:24:59,478 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/79f550bc-b6a7-4f05-8077-bb5f4a1b2cde
2026-12-01 12:24:59,484 - DEBUG - Route Targets: ['target:64512:8000005']
2026-12-01 12:24:59,484 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1a218f6d-f158-4d13-9e20-5962345d17e1
2026-12-01 12:24:59,494 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a50d5b3b-8c8c-4871-b604-55257a5ac6d2
2026-12-01 12:24:59,508 - INFO - Verified VN network id 12 for VN 1a218f6d-f158-4d13-9e20-5962345d17e1
2026-12-01 12:24:59,508 - INFO - Verifications in API Server for VN ctest-vn-03374498 passed
2026-12-01 12:24:59,508 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1a218f6d-f158-4d13-9e20-5962345d17e1
2026-12-01 12:24:59,519 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a50d5b3b-8c8c-4871-b604-55257a5ac6d2
2026-12-01 12:24:59,528 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a50d5b3b-8c8c-4871-b604-55257a5ac6d2
2026-12-01 12:24:59,536 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/79f550bc-b6a7-4f05-8077-bb5f4a1b2cde
2026-12-01 12:24:59,548 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-17597176:ctest-vn-03374498', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-17597176', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1882943821580881171', 'uuid-lslong': '11394205335567538145'}, 'enable': 'true', 'created': '2026-12-01T12:24:57', 'last-modified': '2026-12-01T12:24:58', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.999833'}
2026-12-01 12:24:59,554 - DEBUG - Route Targets: ['target:64512:8000005']
2026-12-01 12:24:59,554 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-03374498 passed
2026-12-01 12:24:59,554 - DEBUG - ====Verifying policy data for ctest-vn-03374498 in API_Server ======
2026-12-01 12:24:59,554 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-12-01 12:24:59,559 - DEBUG - Requesting: http://10.0.0.38:8082/domain/55141dd9-d9d9-4c90-9761-15e7b5359877
2026-12-01 12:24:59,570 - DEBUG - Requesting: http://10.0.0.38:8082/project/9a6b1486-7c0c-4db1-94cd-643e3ea3e3e6
2026-12-01 12:24:59,648 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1a218f6d-f158-4d13-9e20-5962345d17e1
2026-12-01 12:24:59,657 - DEBUG - ==>Verifying data for policy with id: 767f25a9-eb4c-4000-872c-9b8a042ae659, fqn: ['default-domain', 'ctest-TestBasicPolicy-17597176', 'ctest-policy-allow-all-30582264']
2026-12-01 12:24:59,657 - INFO - VN ctest-vn-03374498 Policy verification: verify_vn_policy_in_api_server, status: True
2026-12-01 12:24:59,657 - DEBUG - Verifying the vn in opserver
2026-12-01 12:24:59,657 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-17597176:ctest-vn-03374498 virtual network link through opserver 10.0.0.38
2026-12-01 12:24:59,657 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-12-01 12:25:00,018 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-12-01 12:25:00,070 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-17597176:ctest-vn-03374498', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-17597176:ctest-vn-03374498?flat'}
2026-12-01 12:25:00,070 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-17597176:ctest-vn-03374498 is found in opserver
2026-12-01 12:25:00,083 - DEBUG - Do not have enough data to verify VN in agent
2026-12-01 12:25:00,087 - DEBUG - VRF ids for VN ctest-vn-03374498: {}
2026-12-01 12:25:00,088 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-12-01 12:25:00,093 - DEBUG - Requesting: http://10.0.0.38:8082/domain/55141dd9-d9d9-4c90-9761-15e7b5359877
2026-12-01 12:25:00,104 - DEBUG - Requesting: http://10.0.0.38:8082/project/9a6b1486-7c0c-4db1-94cd-643e3ea3e3e6
2026-12-01 12:25:00,180 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/07d7a789-2fc0-4ee7-a2da-0d3f4736da7f
2026-12-01 12:25:00,191 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/07d7a789-2fc0-4ee7-a2da-0d3f4736da7f
2026-12-01 12:25:00,200 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/854e9c69-cdd7-4789-bef2-adf0559ee90e
2026-12-01 12:25:00,207 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/854e9c69-cdd7-4789-bef2-adf0559ee90e
2026-12-01 12:25:00,214 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/b7054411-4994-4318-b4ee-28c63579f09d
2026-12-01 12:25:00,219 - DEBUG - Route Targets: ['target:64512:8000006']
2026-12-01 12:25:00,220 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/07d7a789-2fc0-4ee7-a2da-0d3f4736da7f
2026-12-01 12:25:00,230 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/854e9c69-cdd7-4789-bef2-adf0559ee90e
2026-12-01 12:25:00,245 - INFO - Verified VN network id 13 for VN 07d7a789-2fc0-4ee7-a2da-0d3f4736da7f
2026-12-01 12:25:00,245 - INFO - Verifications in API Server for VN ctest-vn-78726940 passed
2026-12-01 12:25:00,245 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/07d7a789-2fc0-4ee7-a2da-0d3f4736da7f
2026-12-01 12:25:00,256 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/854e9c69-cdd7-4789-bef2-adf0559ee90e
2026-12-01 12:25:00,265 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/854e9c69-cdd7-4789-bef2-adf0559ee90e
2026-12-01 12:25:00,273 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/b7054411-4994-4318-b4ee-28c63579f09d
2026-12-01 12:25:00,285 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-17597176:ctest-vn-78726940', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-17597176', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '565104485911776999', 'uuid-lslong': '11734706344496126591'}, 'enable': 'true', 'created': '2026-12-01T12:24:57', 'last-modified': '2026-12-01T12:24:58', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.514669'}
2026-12-01 12:25:00,292 - DEBUG - Route Targets: ['target:64512:8000006']
2026-12-01 12:25:00,292 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-78726940 passed
2026-12-01 12:25:00,292 - DEBUG - ====Verifying policy data for ctest-vn-78726940 in API_Server ======
2026-12-01 12:25:00,292 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-12-01 12:25:00,297 - DEBUG - Requesting: http://10.0.0.38:8082/domain/55141dd9-d9d9-4c90-9761-15e7b5359877
2026-12-01 12:25:00,307 - DEBUG - Requesting: http://10.0.0.38:8082/project/9a6b1486-7c0c-4db1-94cd-643e3ea3e3e6
2026-12-01 12:25:00,380 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/07d7a789-2fc0-4ee7-a2da-0d3f4736da7f
2026-12-01 12:25:00,389 - DEBUG - ==>Verifying data for policy with id: 767f25a9-eb4c-4000-872c-9b8a042ae659, fqn: ['default-domain', 'ctest-TestBasicPolicy-17597176', 'ctest-policy-allow-all-30582264']
2026-12-01 12:25:00,389 - INFO - VN ctest-vn-78726940 Policy verification: verify_vn_policy_in_api_server, status: True
2026-12-01 12:25:00,389 - DEBUG - Verifying the vn in opserver
2026-12-01 12:25:00,389 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-17597176:ctest-vn-78726940 virtual network link through opserver 10.0.0.38
2026-12-01 12:25:00,389 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-12-01 12:25:00,399 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-17597176:ctest-vn-78726940', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-17597176:ctest-vn-78726940?flat'}
2026-12-01 12:25:00,399 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-17597176:ctest-vn-78726940 is found in opserver
2026-12-01 12:25:00,410 - DEBUG - Do not have enough data to verify VN in agent
2026-12-01 12:25:00,415 - DEBUG - VRF ids for VN ctest-vn-78726940: {}
2026-12-01 12:25:00,477 - DEBUG - Services list from nova: [