2026-11-04 13:45:48,781 - INFO - Domain Default found not creating
2026-11-04 13:45:49,095 - INFO - Project ctest-TestBasicPolicy-99936515 not found, creating it
2026-11-04 13:45:49,648 - INFO - Created Project:ctest-TestBasicPolicy-99936515, ID : 4c79c7a5-bf61-4103-b3ed-fee0470c4759
2026-11-04 13:45:51,597 - INFO - ================================================================================
2026-11-04 13:45:51,597 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-11-04 13:45:51,598 - 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-04 13:45:51,875 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2026-11-04 13:45:51,875 - INFO - Initial checks done. Running the testcase now
2026-11-04 13:45:51,875 - INFO -
2026-11-04 13:45:52,584 - DEBUG - Response for create_network : {'network': {'id': 'f9257864-bbaa-4654-be47-6a7e4af897a2', 'name': 'ctest-vn-55471826', 'tenant_id': '4c79c7a5bf614103b3edfee0470c4759', 'project_id': '4c79c7a5bf614103b3edfee0470c4759', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-99936515', 'ctest-vn-55471826'], 'port_security_enabled': True, 'description': ''}}
2026-11-04 13:45:52,807 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f112defc-45fc-4f46-9866-c4c2440e2d93', 'name': '', 'tenant_id': '4c79c7a5bf614103b3edfee0470c4759', 'network_id': 'f9257864-bbaa-4654-be47-6a7e4af897a2', 'ip_version': 4, 'cidr': '57.133.220.128/26', 'allocation_pools': [{'start': '57.133.220.130', 'end': '57.133.220.190'}], 'gateway_ip': '57.133.220.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '57.133.220.130', 'tags': [], 'project_id': '4c79c7a5bf614103b3edfee0470c4759'}}
2026-11-04 13:45:52,826 - INFO - Created VN ctest-vn-55471826
2026-11-04 13:45:52,879 - DEBUG - VN ctest-vn-55471826 UUID is f9257864-bbaa-4654-be47-6a7e4af897a2
2026-11-04 13:45:53,218 - DEBUG - Response for create_network : {'network': {'id': 'afccdbe2-4e69-4e90-b761-06611e1e785b', 'name': 'ctest-vn-41104417', 'tenant_id': '4c79c7a5bf614103b3edfee0470c4759', 'project_id': '4c79c7a5bf614103b3edfee0470c4759', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-99936515', 'ctest-vn-41104417'], 'port_security_enabled': True, 'description': ''}}
2026-11-04 13:45:53,433 - DEBUG - Response for create_subnet : {'subnet': {'id': '46beae0d-7f19-41b4-86e6-7c36ccda071c', 'name': '', 'tenant_id': '4c79c7a5bf614103b3edfee0470c4759', 'network_id': 'afccdbe2-4e69-4e90-b761-06611e1e785b', 'ip_version': 4, 'cidr': '87.184.117.0/26', 'allocation_pools': [{'start': '87.184.117.2', 'end': '87.184.117.62'}], 'gateway_ip': '87.184.117.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '87.184.117.2', 'tags': [], 'project_id': '4c79c7a5bf614103b3edfee0470c4759'}}
2026-11-04 13:45:53,450 - INFO - Created VN ctest-vn-41104417
2026-11-04 13:45:53,503 - DEBUG - VN ctest-vn-41104417 UUID is afccdbe2-4e69-4e90-b761-06611e1e785b
2026-11-04 13:45:53,616 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-99936515:ctest-vn-55471826, 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-99936515:ctest-vn-41104417, 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-04 13:45:53,931 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f9257864-bbaa-4654-be47-6a7e4af897a2', 'name': 'ctest-vn-55471826', 'tenant_id': '4c79c7a5bf614103b3edfee0470c4759', 'project_id': '4c79c7a5bf614103b3edfee0470c4759', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['f112defc-45fc-4f46-9866-c4c2440e2d93'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-99936515', 'ctest-vn-55471826'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-99936515', 'ctest-policy-allow-all-09746835']], 'subnet_ipam': [{'subnet_cidr': '57.133.220.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-11-04 13:45:54,192 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'afccdbe2-4e69-4e90-b761-06611e1e785b', 'name': 'ctest-vn-41104417', 'tenant_id': '4c79c7a5bf614103b3edfee0470c4759', 'project_id': '4c79c7a5bf614103b3edfee0470c4759', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['46beae0d-7f19-41b4-86e6-7c36ccda071c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-99936515', 'ctest-vn-41104417'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-99936515', 'ctest-policy-allow-all-09746835']], 'subnet_ipam': [{'subnet_cidr': '87.184.117.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-11-04 13:45:54,355 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-11-04 13:45:54,730 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-11-04 13:45:54,765 - DEBUG - Requesting: http://10.0.0.50:8082/domain/bc49a3a3-d16a-4402-8055-7ad60b86096b
2026-11-04 13:45:54,778 - DEBUG - Requesting: http://10.0.0.50:8082/project/4c79c7a5-bf61-4103-b3ed-fee0470c4759
2026-11-04 13:45:54,856 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f9257864-bbaa-4654-be47-6a7e4af897a2
2026-11-04 13:45:54,870 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f9257864-bbaa-4654-be47-6a7e4af897a2
2026-11-04 13:45:54,881 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/fb51f640-076c-46d0-96fc-601031333f3d
2026-11-04 13:45:54,890 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/fb51f640-076c-46d0-96fc-601031333f3d
2026-11-04 13:45:54,898 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/66196999-719a-4e57-a07b-f7f41d10edf8
2026-11-04 13:45:54,905 - DEBUG - Route Targets: ['target:64512:8000005']
2026-11-04 13:45:54,905 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f9257864-bbaa-4654-be47-6a7e4af897a2
2026-11-04 13:45:54,915 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/fb51f640-076c-46d0-96fc-601031333f3d
2026-11-04 13:45:54,933 - INFO - Verified VN network id 12 for VN f9257864-bbaa-4654-be47-6a7e4af897a2
2026-11-04 13:45:54,933 - INFO - Verifications in API Server for VN ctest-vn-55471826 passed
2026-11-04 13:45:54,933 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f9257864-bbaa-4654-be47-6a7e4af897a2
2026-11-04 13:45:54,944 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/fb51f640-076c-46d0-96fc-601031333f3d
2026-11-04 13:45:54,952 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/fb51f640-076c-46d0-96fc-601031333f3d
2026-11-04 13:45:54,960 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/66196999-719a-4e57-a07b-f7f41d10edf8
2026-11-04 13:45:54,974 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-99936515:ctest-vn-55471826', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-99936515', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17952887863622911572', 'uuid-lslong': '13711044681208993698'}, 'enable': 'true', 'created': '2026-11-04T13:45:52', 'last-modified': '2026-11-04T13:45:53', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.064276'}
2026-11-04 13:45:54,981 - DEBUG - Route Targets: ['target:64512:8000005']
2026-11-04 13:45:54,981 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-55471826 passed
2026-11-04 13:45:54,981 - DEBUG - ====Verifying policy data for ctest-vn-55471826 in API_Server ======
2026-11-04 13:45:54,981 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-11-04 13:45:54,988 - DEBUG - Requesting: http://10.0.0.50:8082/domain/bc49a3a3-d16a-4402-8055-7ad60b86096b
2026-11-04 13:45:55,001 - DEBUG - Requesting: http://10.0.0.50:8082/project/4c79c7a5-bf61-4103-b3ed-fee0470c4759
2026-11-04 13:45:55,084 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f9257864-bbaa-4654-be47-6a7e4af897a2
2026-11-04 13:45:55,096 - DEBUG - ==>Verifying data for policy with id: 50904ce4-5c54-4524-8afe-0e6445523f7b, fqn: ['default-domain', 'ctest-TestBasicPolicy-99936515', 'ctest-policy-allow-all-09746835']
2026-11-04 13:45:55,096 - INFO - VN ctest-vn-55471826 Policy verification: verify_vn_policy_in_api_server, status: True
2026-11-04 13:45:55,096 - DEBUG - Verifying the vn in opserver
2026-11-04 13:45:55,096 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-99936515:ctest-vn-55471826 virtual network link through opserver 10.0.0.50
2026-11-04 13:45:55,096 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-11-04 13:45:55,460 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-11-04 13:45:55,523 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-99936515:ctest-vn-55471826', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-99936515:ctest-vn-55471826?flat'}
2026-11-04 13:45:55,523 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-99936515:ctest-vn-55471826 is found in opserver
2026-11-04 13:45:55,536 - DEBUG - Do not have enough data to verify VN in agent
2026-11-04 13:45:55,541 - DEBUG - VRF ids for VN ctest-vn-55471826: {}
2026-11-04 13:45:55,541 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-11-04 13:45:55,547 - DEBUG - Requesting: http://10.0.0.50:8082/domain/bc49a3a3-d16a-4402-8055-7ad60b86096b
2026-11-04 13:45:55,559 - DEBUG - Requesting: http://10.0.0.50:8082/project/4c79c7a5-bf61-4103-b3ed-fee0470c4759
2026-11-04 13:45:55,630 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/afccdbe2-4e69-4e90-b761-06611e1e785b
2026-11-04 13:45:55,643 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/afccdbe2-4e69-4e90-b761-06611e1e785b
2026-11-04 13:45:55,654 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3fa273d4-ba2f-4d09-b189-70daa3a4570a
2026-11-04 13:45:55,663 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3fa273d4-ba2f-4d09-b189-70daa3a4570a
2026-11-04 13:45:55,671 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/ea61e212-4fe0-4467-94f8-b756222abf40
2026-11-04 13:45:55,677 - DEBUG - Route Targets: ['target:64512:8000006']
2026-11-04 13:45:55,677 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/afccdbe2-4e69-4e90-b761-06611e1e785b
2026-11-04 13:45:55,688 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3fa273d4-ba2f-4d09-b189-70daa3a4570a
2026-11-04 13:45:55,704 - INFO - Verified VN network id 13 for VN afccdbe2-4e69-4e90-b761-06611e1e785b
2026-11-04 13:45:55,705 - INFO - Verifications in API Server for VN ctest-vn-41104417 passed
2026-11-04 13:45:55,705 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/afccdbe2-4e69-4e90-b761-06611e1e785b
2026-11-04 13:45:55,716 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3fa273d4-ba2f-4d09-b189-70daa3a4570a
2026-11-04 13:45:55,725 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3fa273d4-ba2f-4d09-b189-70daa3a4570a
2026-11-04 13:45:55,733 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/ea61e212-4fe0-4467-94f8-b756222abf40
2026-11-04 13:45:55,747 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-99936515:ctest-vn-41104417', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-99936515', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12667741616910978704', 'uuid-lslong': '13213849795868653659'}, 'enable': 'true', 'created': '2026-11-04T13:45:53', 'last-modified': '2026-11-04T13:45:54', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.586777'}
2026-11-04 13:45:55,755 - DEBUG - Route Targets: ['target:64512:8000006']
2026-11-04 13:45:55,755 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-41104417 passed
2026-11-04 13:45:55,756 - DEBUG - ====Verifying policy data for ctest-vn-41104417 in API_Server ======
2026-11-04 13:45:55,756 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-11-04 13:45:55,762 - DEBUG - Requesting: http://10.0.0.50:8082/domain/bc49a3a3-d16a-4402-8055-7ad60b86096b
2026-11-04 13:45:55,774 - DEBUG - Requesting: http://10.0.0.50:8082/project/4c79c7a5-bf61-4103-b3ed-fee0470c4759
2026-11-04 13:45:55,852 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/afccdbe2-4e69-4e90-b761-06611e1e785b
2026-11-04 13:45:55,865 - DEBUG - ==>Verifying data for policy with id: 50904ce4-5c54-4524-8afe-0e6445523f7b, fqn: ['default-domain', 'ctest-TestBasicPolicy-99936515', 'ctest-policy-allow-all-09746835']
2026-11-04 13:45:55,865 - INFO - VN ctest-vn-41104417 Policy verification: verify_vn_policy_in_api_server, status: True
2026-11-04 13:45:55,865 - DEBUG - Verifying the vn in opserver
2026-11-04 13:45:55,865 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-99936515:ctest-vn-41104417 virtual network link through opserver 10.0.0.50
2026-11-04 13:45:55,865 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-11-04 13:45:55,877 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-99936515:ctest-vn-41104417', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-99936515:ctest-vn-41104417?flat'}
2026-11-04 13:45:55,877 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-99936515:ctest-vn-41104417 is found in opserver
2026-11-04 13:45:55,890 - DEBUG - Do not have enough data to verify VN in agent
2026-11-04 13:45:55,897 - DEBUG - VRF ids for VN ctest-vn-41104417: {}
2026-11-04 13:45:55,959 - DEBUG - Services list from nova: [