2026-02-10 17:49:41,535 - INFO - Domain Default found not creating
2026-02-10 17:49:41,871 - INFO - Project ctest-TestBasicPolicy-21051013 not found, creating it
2026-02-10 17:49:42,503 - INFO - Created Project:ctest-TestBasicPolicy-21051013, ID : 6c84700c-bc07-4d28-ba25-3766201a45b9
2026-02-10 17:49:44,783 - INFO - ================================================================================
2026-02-10 17:49:44,784 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-10 17:49:44,784 - 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-02-10 17:49:45,127 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2026-02-10 17:49:45,127 - INFO - Initial checks done. Running the testcase now
2026-02-10 17:49:45,127 - INFO -
2026-02-10 17:49:45,918 - DEBUG - Response for create_network : {'network': {'id': '26d146ac-39a1-4291-bc4b-94fb0a0351c5', 'name': 'ctest-vn-59315676', 'tenant_id': '6c84700cbc074d28ba253766201a45b9', 'project_id': '6c84700cbc074d28ba253766201a45b9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21051013', 'ctest-vn-59315676'], 'port_security_enabled': True, 'description': ''}}
2026-02-10 17:49:46,173 - DEBUG - Response for create_subnet : {'subnet': {'id': '35b774ae-d79d-4d5f-ab22-89faf6d20255', 'name': '', 'tenant_id': '6c84700cbc074d28ba253766201a45b9', 'network_id': '26d146ac-39a1-4291-bc4b-94fb0a0351c5', 'ip_version': 4, 'cidr': '126.89.57.0/26', 'allocation_pools': [{'start': '126.89.57.2', 'end': '126.89.57.62'}], 'gateway_ip': '126.89.57.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '126.89.57.2', 'tags': [], 'project_id': '6c84700cbc074d28ba253766201a45b9'}}
2026-02-10 17:49:46,195 - INFO - Created VN ctest-vn-59315676
2026-02-10 17:49:46,250 - DEBUG - VN ctest-vn-59315676 UUID is 26d146ac-39a1-4291-bc4b-94fb0a0351c5
2026-02-10 17:49:46,733 - DEBUG - Response for create_network : {'network': {'id': '23d31a5c-898c-4aac-bed9-4e27c35a00b7', 'name': 'ctest-vn-42893003', 'tenant_id': '6c84700cbc074d28ba253766201a45b9', 'project_id': '6c84700cbc074d28ba253766201a45b9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21051013', 'ctest-vn-42893003'], 'port_security_enabled': True, 'description': ''}}
2026-02-10 17:49:46,989 - DEBUG - Response for create_subnet : {'subnet': {'id': '8673e4a8-21e8-4782-bd3d-7db4845559f2', 'name': '', 'tenant_id': '6c84700cbc074d28ba253766201a45b9', 'network_id': '23d31a5c-898c-4aac-bed9-4e27c35a00b7', 'ip_version': 4, 'cidr': '150.119.163.0/26', 'allocation_pools': [{'start': '150.119.163.2', 'end': '150.119.163.62'}], 'gateway_ip': '150.119.163.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '150.119.163.2', 'tags': [], 'project_id': '6c84700cbc074d28ba253766201a45b9'}}
2026-02-10 17:49:47,013 - INFO - Created VN ctest-vn-42893003
2026-02-10 17:49:47,077 - DEBUG - VN ctest-vn-42893003 UUID is 23d31a5c-898c-4aac-bed9-4e27c35a00b7
2026-02-10 17:49:47,264 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-21051013:ctest-vn-59315676, 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-21051013:ctest-vn-42893003, 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-02-10 17:49:47,722 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '26d146ac-39a1-4291-bc4b-94fb0a0351c5', 'name': 'ctest-vn-59315676', 'tenant_id': '6c84700cbc074d28ba253766201a45b9', 'project_id': '6c84700cbc074d28ba253766201a45b9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['35b774ae-d79d-4d5f-ab22-89faf6d20255'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21051013', 'ctest-vn-59315676'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-21051013', 'ctest-policy-allow-all-49941604']], 'subnet_ipam': [{'subnet_cidr': '126.89.57.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-10 17:49:48,026 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '23d31a5c-898c-4aac-bed9-4e27c35a00b7', 'name': 'ctest-vn-42893003', 'tenant_id': '6c84700cbc074d28ba253766201a45b9', 'project_id': '6c84700cbc074d28ba253766201a45b9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8673e4a8-21e8-4782-bd3d-7db4845559f2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21051013', 'ctest-vn-42893003'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-21051013', 'ctest-policy-allow-all-49941604']], 'subnet_ipam': [{'subnet_cidr': '150.119.163.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-10 17:49:48,190 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-10 17:49:48,557 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-10 17:49:48,596 - DEBUG - Requesting: http://10.0.0.38:8082/domain/21482288-41c2-47ec-b902-24353ba20b93
2026-02-10 17:49:48,622 - DEBUG - Requesting: http://10.0.0.38:8082/project/6c84700c-bc07-4d28-ba25-3766201a45b9
2026-02-10 17:49:48,720 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/26d146ac-39a1-4291-bc4b-94fb0a0351c5
2026-02-10 17:49:48,744 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/26d146ac-39a1-4291-bc4b-94fb0a0351c5
2026-02-10 17:49:48,768 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/75bc13d2-ad7c-4e1c-b1e8-05b85bd1216c
2026-02-10 17:49:48,783 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/75bc13d2-ad7c-4e1c-b1e8-05b85bd1216c
2026-02-10 17:49:48,791 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/3213eef6-73d8-4e7e-a16e-220f1c639fc6
2026-02-10 17:49:48,801 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-10 17:49:48,801 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/26d146ac-39a1-4291-bc4b-94fb0a0351c5
2026-02-10 17:49:48,816 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/75bc13d2-ad7c-4e1c-b1e8-05b85bd1216c
2026-02-10 17:49:48,836 - INFO - Verified VN network id 10 for VN 26d146ac-39a1-4291-bc4b-94fb0a0351c5
2026-02-10 17:49:48,836 - INFO - Verifications in API Server for VN ctest-vn-59315676 passed
2026-02-10 17:49:48,836 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/26d146ac-39a1-4291-bc4b-94fb0a0351c5
2026-02-10 17:49:48,850 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/75bc13d2-ad7c-4e1c-b1e8-05b85bd1216c
2026-02-10 17:49:48,861 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/75bc13d2-ad7c-4e1c-b1e8-05b85bd1216c
2026-02-10 17:49:48,871 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/3213eef6-73d8-4e7e-a16e-220f1c639fc6
2026-02-10 17:49:48,885 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-21051013:ctest-vn-59315676', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-21051013', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2797094549088977553', 'uuid-lslong': '13568102108309443013'}, 'enable': 'true', 'created': '2026-02-10T17:49:45', 'last-modified': '2026-02-10T17:49:47', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.218180'}
2026-02-10 17:49:48,900 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-10 17:49:48,900 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-59315676 passed
2026-02-10 17:49:48,900 - DEBUG - ====Verifying policy data for ctest-vn-59315676 in API_Server ======
2026-02-10 17:49:48,900 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-10 17:49:48,908 - DEBUG - Requesting: http://10.0.0.38:8082/domain/21482288-41c2-47ec-b902-24353ba20b93
2026-02-10 17:49:48,924 - DEBUG - Requesting: http://10.0.0.38:8082/project/6c84700c-bc07-4d28-ba25-3766201a45b9
2026-02-10 17:49:49,014 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/26d146ac-39a1-4291-bc4b-94fb0a0351c5
2026-02-10 17:49:49,028 - DEBUG - ==>Verifying data for policy with id: 12cbfe9d-1aee-42e6-85e1-722f277de70d, fqn: ['default-domain', 'ctest-TestBasicPolicy-21051013', 'ctest-policy-allow-all-49941604']
2026-02-10 17:49:49,028 - INFO - VN ctest-vn-59315676 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-10 17:49:49,028 - DEBUG - Verifying the vn in opserver
2026-02-10 17:49:49,028 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-21051013:ctest-vn-59315676 virtual network link through opserver 10.0.0.38
2026-02-10 17:49:49,028 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-02-10 17:49:49,334 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-02-10 17:49:49,418 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-21051013:ctest-vn-59315676', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-21051013:ctest-vn-59315676?flat'}
2026-02-10 17:49:49,418 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-21051013:ctest-vn-59315676 is found in opserver
2026-02-10 17:49:49,438 - DEBUG - Do not have enough data to verify VN in agent
2026-02-10 17:49:49,450 - DEBUG - VRF ids for VN ctest-vn-59315676: {}
2026-02-10 17:49:49,450 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-10 17:49:49,456 - DEBUG - Requesting: http://10.0.0.38:8082/domain/21482288-41c2-47ec-b902-24353ba20b93
2026-02-10 17:49:49,472 - DEBUG - Requesting: http://10.0.0.38:8082/project/6c84700c-bc07-4d28-ba25-3766201a45b9
2026-02-10 17:49:49,570 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/23d31a5c-898c-4aac-bed9-4e27c35a00b7
2026-02-10 17:49:49,590 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/23d31a5c-898c-4aac-bed9-4e27c35a00b7
2026-02-10 17:49:49,605 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/fb7c2633-e9ea-4a43-a62b-82239dc1e472
2026-02-10 17:49:49,616 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/fb7c2633-e9ea-4a43-a62b-82239dc1e472
2026-02-10 17:49:49,626 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/997325c4-a781-415a-a560-ae86333b54b5
2026-02-10 17:49:49,637 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-10 17:49:49,637 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/23d31a5c-898c-4aac-bed9-4e27c35a00b7
2026-02-10 17:49:49,653 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/fb7c2633-e9ea-4a43-a62b-82239dc1e472
2026-02-10 17:49:49,679 - INFO - Verified VN network id 11 for VN 23d31a5c-898c-4aac-bed9-4e27c35a00b7
2026-02-10 17:49:49,680 - INFO - Verifications in API Server for VN ctest-vn-42893003 passed
2026-02-10 17:49:49,680 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/23d31a5c-898c-4aac-bed9-4e27c35a00b7
2026-02-10 17:49:49,698 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/fb7c2633-e9ea-4a43-a62b-82239dc1e472
2026-02-10 17:49:49,711 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/fb7c2633-e9ea-4a43-a62b-82239dc1e472
2026-02-10 17:49:49,727 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/997325c4-a781-415a-a560-ae86333b54b5
2026-02-10 17:49:49,753 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-21051013:ctest-vn-42893003', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-21051013', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2581435996160412332', 'uuid-lslong': '13752108869840666807'}, 'enable': 'true', 'created': '2026-02-10T17:49:46', 'last-modified': '2026-02-10T17:49:47', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.777459'}
2026-02-10 17:49:49,765 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-10 17:49:49,765 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-42893003 passed
2026-02-10 17:49:49,765 - DEBUG - ====Verifying policy data for ctest-vn-42893003 in API_Server ======
2026-02-10 17:49:49,765 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-10 17:49:49,776 - DEBUG - Requesting: http://10.0.0.38:8082/domain/21482288-41c2-47ec-b902-24353ba20b93
2026-02-10 17:49:49,798 - DEBUG - Requesting: http://10.0.0.38:8082/project/6c84700c-bc07-4d28-ba25-3766201a45b9
2026-02-10 17:49:49,908 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/23d31a5c-898c-4aac-bed9-4e27c35a00b7
2026-02-10 17:49:49,921 - DEBUG - ==>Verifying data for policy with id: 12cbfe9d-1aee-42e6-85e1-722f277de70d, fqn: ['default-domain', 'ctest-TestBasicPolicy-21051013', 'ctest-policy-allow-all-49941604']
2026-02-10 17:49:49,921 - INFO - VN ctest-vn-42893003 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-10 17:49:49,921 - DEBUG - Verifying the vn in opserver
2026-02-10 17:49:49,921 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-21051013:ctest-vn-42893003 virtual network link through opserver 10.0.0.38
2026-02-10 17:49:49,922 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-02-10 17:49:49,936 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-21051013:ctest-vn-42893003', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-21051013:ctest-vn-42893003?flat'}
2026-02-10 17:49:49,937 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-21051013:ctest-vn-42893003 is found in opserver
2026-02-10 17:49:49,958 - DEBUG - Do not have enough data to verify VN in agent
2026-02-10 17:49:49,965 - DEBUG - VRF ids for VN ctest-vn-42893003: {}
2026-02-10 17:49:50,068 - DEBUG - Services list from nova: [