2026-08-17 09:44:15,722 - INFO - Domain Default found not creating
2026-08-17 09:44:15,885 - INFO - Project ctest-TestBasicPolicy-01269889 not found, creating it
2026-08-17 09:44:16,378 - INFO - Created Project:ctest-TestBasicPolicy-01269889, ID : 8ae7e229-7abb-4a4f-9b8e-902ff80db1ac
2026-08-17 09:44:18,119 - INFO - ================================================================================
2026-08-17 09:44:18,119 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-08-17 09:44:18,119 - 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-08-17 09:44:18,394 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with
2026-08-17 09:44:18,394 - INFO - Initial checks done. Running the testcase now
2026-08-17 09:44:18,394 - INFO -
2026-08-17 09:44:19,061 - DEBUG - Response for create_network : {'network': {'id': 'ef2cc8f4-025b-4574-a5bd-ae94baeaef96', 'name': 'ctest-vn-02163542', 'tenant_id': '8ae7e2297abb4a4f9b8e902ff80db1ac', 'project_id': '8ae7e2297abb4a4f9b8e902ff80db1ac', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-01269889', 'ctest-vn-02163542'], 'port_security_enabled': True, 'description': ''}}
2026-08-17 09:44:19,283 - DEBUG - Response for create_subnet : {'subnet': {'id': '9ce4268d-105a-4776-b25f-5a05441d611f', 'name': '', 'tenant_id': '8ae7e2297abb4a4f9b8e902ff80db1ac', 'network_id': 'ef2cc8f4-025b-4574-a5bd-ae94baeaef96', 'ip_version': 4, 'cidr': '83.74.224.128/26', 'allocation_pools': [{'start': '83.74.224.130', 'end': '83.74.224.190'}], 'gateway_ip': '83.74.224.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '83.74.224.130', 'tags': [], 'project_id': '8ae7e2297abb4a4f9b8e902ff80db1ac'}}
2026-08-17 09:44:19,300 - INFO - Created VN ctest-vn-02163542
2026-08-17 09:44:19,352 - DEBUG - VN ctest-vn-02163542 UUID is ef2cc8f4-025b-4574-a5bd-ae94baeaef96
2026-08-17 09:44:19,697 - DEBUG - Response for create_network : {'network': {'id': 'ecc53018-d6a3-45a1-b5da-24fd08afa7f4', 'name': 'ctest-vn-42289159', 'tenant_id': '8ae7e2297abb4a4f9b8e902ff80db1ac', 'project_id': '8ae7e2297abb4a4f9b8e902ff80db1ac', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-01269889', 'ctest-vn-42289159'], 'port_security_enabled': True, 'description': ''}}
2026-08-17 09:44:19,873 - DEBUG - Response for create_subnet : {'subnet': {'id': '7f18b19c-7563-4a6c-87a2-eacf9f13b611', 'name': '', 'tenant_id': '8ae7e2297abb4a4f9b8e902ff80db1ac', 'network_id': 'ecc53018-d6a3-45a1-b5da-24fd08afa7f4', 'ip_version': 4, 'cidr': '25.101.2.0/26', 'allocation_pools': [{'start': '25.101.2.2', 'end': '25.101.2.62'}], 'gateway_ip': '25.101.2.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '25.101.2.2', 'tags': [], 'project_id': '8ae7e2297abb4a4f9b8e902ff80db1ac'}}
2026-08-17 09:44:19,897 - INFO - Created VN ctest-vn-42289159
2026-08-17 09:44:19,952 - DEBUG - VN ctest-vn-42289159 UUID is ecc53018-d6a3-45a1-b5da-24fd08afa7f4
2026-08-17 09:44:20,075 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-01269889:ctest-vn-02163542, 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-01269889:ctest-vn-42289159, 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-08-17 09:44:20,399 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ef2cc8f4-025b-4574-a5bd-ae94baeaef96', 'name': 'ctest-vn-02163542', 'tenant_id': '8ae7e2297abb4a4f9b8e902ff80db1ac', 'project_id': '8ae7e2297abb4a4f9b8e902ff80db1ac', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9ce4268d-105a-4776-b25f-5a05441d611f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-01269889', 'ctest-vn-02163542'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-01269889', 'ctest-policy-allow-all-62361227']], 'subnet_ipam': [{'subnet_cidr': '83.74.224.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-08-17 09:44:20,645 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ecc53018-d6a3-45a1-b5da-24fd08afa7f4', 'name': 'ctest-vn-42289159', 'tenant_id': '8ae7e2297abb4a4f9b8e902ff80db1ac', 'project_id': '8ae7e2297abb4a4f9b8e902ff80db1ac', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7f18b19c-7563-4a6c-87a2-eacf9f13b611'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-01269889', 'ctest-vn-42289159'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-01269889', 'ctest-policy-allow-all-62361227']], 'subnet_ipam': [{'subnet_cidr': '25.101.2.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-08-17 09:44:20,828 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-08-17 09:44:21,196 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-08-17 09:44:21,229 - DEBUG - Requesting: http://10.0.0.33:8082/domain/773cf3a6-4e29-495e-a118-7160e7920208
2026-08-17 09:44:21,242 - DEBUG - Requesting: http://10.0.0.33:8082/project/8ae7e229-7abb-4a4f-9b8e-902ff80db1ac
2026-08-17 09:44:21,324 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ef2cc8f4-025b-4574-a5bd-ae94baeaef96
2026-08-17 09:44:21,337 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ef2cc8f4-025b-4574-a5bd-ae94baeaef96
2026-08-17 09:44:21,346 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/5ab56a24-fba0-4a9f-841d-870c0b6dc99a
2026-08-17 09:44:21,353 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/5ab56a24-fba0-4a9f-841d-870c0b6dc99a
2026-08-17 09:44:21,361 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/afad60e7-40ac-41b1-b564-a8b9f76c38e3
2026-08-17 09:44:21,368 - DEBUG - Route Targets: ['target:64512:8000004']
2026-08-17 09:44:21,368 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ef2cc8f4-025b-4574-a5bd-ae94baeaef96
2026-08-17 09:44:21,378 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/5ab56a24-fba0-4a9f-841d-870c0b6dc99a
2026-08-17 09:44:21,393 - INFO - Verified VN network id 11 for VN ef2cc8f4-025b-4574-a5bd-ae94baeaef96
2026-08-17 09:44:21,393 - INFO - Verifications in API Server for VN ctest-vn-02163542 passed
2026-08-17 09:44:21,393 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ef2cc8f4-025b-4574-a5bd-ae94baeaef96
2026-08-17 09:44:21,403 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/5ab56a24-fba0-4a9f-841d-870c0b6dc99a
2026-08-17 09:44:21,411 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/5ab56a24-fba0-4a9f-841d-870c0b6dc99a
2026-08-17 09:44:21,420 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/afad60e7-40ac-41b1-b564-a8b9f76c38e3
2026-08-17 09:44:21,434 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-01269889:ctest-vn-02163542', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-01269889', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17234370824377156980', 'uuid-lslong': '11942893740670775190'}, 'enable': 'true', 'created': '2026-08-17T09:44:19', 'last-modified': '2026-08-17T09:44:20', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.065900'}
2026-08-17 09:44:21,441 - DEBUG - Route Targets: ['target:64512:8000004']
2026-08-17 09:44:21,441 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-02163542 passed
2026-08-17 09:44:21,441 - DEBUG - ====Verifying policy data for ctest-vn-02163542 in API_Server ======
2026-08-17 09:44:21,441 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-08-17 09:44:21,448 - DEBUG - Requesting: http://10.0.0.33:8082/domain/773cf3a6-4e29-495e-a118-7160e7920208
2026-08-17 09:44:21,460 - DEBUG - Requesting: http://10.0.0.33:8082/project/8ae7e229-7abb-4a4f-9b8e-902ff80db1ac
2026-08-17 09:44:21,535 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ef2cc8f4-025b-4574-a5bd-ae94baeaef96
2026-08-17 09:44:21,545 - DEBUG - ==>Verifying data for policy with id: 0dcf0222-3636-4405-88de-b0bcb3587f86, fqn: ['default-domain', 'ctest-TestBasicPolicy-01269889', 'ctest-policy-allow-all-62361227']
2026-08-17 09:44:21,545 - INFO - VN ctest-vn-02163542 Policy verification: verify_vn_policy_in_api_server, status: True
2026-08-17 09:44:21,545 - DEBUG - Verifying the vn in opserver
2026-08-17 09:44:21,545 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-01269889:ctest-vn-02163542 virtual network link through opserver 10.0.0.33
2026-08-17 09:44:21,545 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-08-17 09:44:21,918 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-08-17 09:44:21,981 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-01269889:ctest-vn-02163542', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-01269889:ctest-vn-02163542?flat'}
2026-08-17 09:44:21,981 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-01269889:ctest-vn-02163542 is found in opserver
2026-08-17 09:44:21,992 - DEBUG - Do not have enough data to verify VN in agent
2026-08-17 09:44:21,997 - DEBUG - VRF ids for VN ctest-vn-02163542: {}
2026-08-17 09:44:21,997 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-08-17 09:44:22,004 - DEBUG - Requesting: http://10.0.0.33:8082/domain/773cf3a6-4e29-495e-a118-7160e7920208
2026-08-17 09:44:22,016 - DEBUG - Requesting: http://10.0.0.33:8082/project/8ae7e229-7abb-4a4f-9b8e-902ff80db1ac
2026-08-17 09:44:22,092 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ecc53018-d6a3-45a1-b5da-24fd08afa7f4
2026-08-17 09:44:22,105 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ecc53018-d6a3-45a1-b5da-24fd08afa7f4
2026-08-17 09:44:22,114 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/3249aa0e-87ae-4e09-a9e2-7ce2a93f7dfe
2026-08-17 09:44:22,122 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/3249aa0e-87ae-4e09-a9e2-7ce2a93f7dfe
2026-08-17 09:44:22,129 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/6a0abee7-9501-4992-b09a-4c1e43c15444
2026-08-17 09:44:22,135 - DEBUG - Route Targets: ['target:64512:8000005']
2026-08-17 09:44:22,135 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ecc53018-d6a3-45a1-b5da-24fd08afa7f4
2026-08-17 09:44:22,144 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/3249aa0e-87ae-4e09-a9e2-7ce2a93f7dfe
2026-08-17 09:44:22,157 - INFO - Verified VN network id 12 for VN ecc53018-d6a3-45a1-b5da-24fd08afa7f4
2026-08-17 09:44:22,158 - INFO - Verifications in API Server for VN ctest-vn-42289159 passed
2026-08-17 09:44:22,158 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ecc53018-d6a3-45a1-b5da-24fd08afa7f4
2026-08-17 09:44:22,167 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/3249aa0e-87ae-4e09-a9e2-7ce2a93f7dfe
2026-08-17 09:44:22,173 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/3249aa0e-87ae-4e09-a9e2-7ce2a93f7dfe
2026-08-17 09:44:22,180 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/6a0abee7-9501-4992-b09a-4c1e43c15444
2026-08-17 09:44:22,194 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-01269889:ctest-vn-42289159', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-01269889', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17061095646601364897', 'uuid-lslong': '13103826734978934772'}, 'enable': 'true', 'created': '2026-08-17T09:44:19', 'last-modified': '2026-08-17T09:44:20', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.579633'}
2026-08-17 09:44:22,200 - DEBUG - Route Targets: ['target:64512:8000005']
2026-08-17 09:44:22,200 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-42289159 passed
2026-08-17 09:44:22,201 - DEBUG - ====Verifying policy data for ctest-vn-42289159 in API_Server ======
2026-08-17 09:44:22,201 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-08-17 09:44:22,207 - DEBUG - Requesting: http://10.0.0.33:8082/domain/773cf3a6-4e29-495e-a118-7160e7920208
2026-08-17 09:44:22,219 - DEBUG - Requesting: http://10.0.0.33:8082/project/8ae7e229-7abb-4a4f-9b8e-902ff80db1ac
2026-08-17 09:44:22,292 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ecc53018-d6a3-45a1-b5da-24fd08afa7f4
2026-08-17 09:44:22,302 - DEBUG - ==>Verifying data for policy with id: 0dcf0222-3636-4405-88de-b0bcb3587f86, fqn: ['default-domain', 'ctest-TestBasicPolicy-01269889', 'ctest-policy-allow-all-62361227']
2026-08-17 09:44:22,302 - INFO - VN ctest-vn-42289159 Policy verification: verify_vn_policy_in_api_server, status: True
2026-08-17 09:44:22,302 - DEBUG - Verifying the vn in opserver
2026-08-17 09:44:22,302 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-01269889:ctest-vn-42289159 virtual network link through opserver 10.0.0.33
2026-08-17 09:44:22,302 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-08-17 09:44:22,313 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-01269889:ctest-vn-42289159', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-01269889:ctest-vn-42289159?flat'}
2026-08-17 09:44:22,313 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-01269889:ctest-vn-42289159 is found in opserver
2026-08-17 09:44:22,325 - DEBUG - Do not have enough data to verify VN in agent
2026-08-17 09:44:22,331 - DEBUG - VRF ids for VN ctest-vn-42289159: {}
2026-08-17 09:44:22,395 - DEBUG - Services list from nova: [