2026-02-12 01:43:42,278 - INFO - Domain Default found not creating
2026-02-12 01:43:42,427 - INFO - Project ctest-TestBasicPolicy-26687079 not found, creating it
2026-02-12 01:43:42,857 - INFO - Created Project:ctest-TestBasicPolicy-26687079, ID : ca491afa-4ea8-4409-bfd4-3c8a12498dd2
2026-02-12 01:43:44,276 - INFO - ================================================================================
2026-02-12 01:43:44,276 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-12 01:43:44,276 - 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-12 01:43:44,531 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2026-02-12 01:43:44,531 - INFO - Initial checks done. Running the testcase now
2026-02-12 01:43:44,531 - INFO -
2026-02-12 01:43:45,055 - DEBUG - Response for create_network : {'network': {'id': '45a725af-c03a-487e-befd-6b35f4351fa5', 'name': 'ctest-vn-20483129', 'tenant_id': 'ca491afa4ea84409bfd43c8a12498dd2', 'project_id': 'ca491afa4ea84409bfd43c8a12498dd2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-26687079', 'ctest-vn-20483129'], 'port_security_enabled': True, 'description': ''}}
2026-02-12 01:43:45,191 - DEBUG - Response for create_subnet : {'subnet': {'id': '7557cd5a-d2bc-4d89-8f7a-cabd5731bcbd', 'name': '', 'tenant_id': 'ca491afa4ea84409bfd43c8a12498dd2', 'network_id': '45a725af-c03a-487e-befd-6b35f4351fa5', 'ip_version': 4, 'cidr': '64.187.102.0/26', 'allocation_pools': [{'start': '64.187.102.2', 'end': '64.187.102.62'}], 'gateway_ip': '64.187.102.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '64.187.102.2', 'tags': [], 'project_id': 'ca491afa4ea84409bfd43c8a12498dd2'}}
2026-02-12 01:43:45,206 - INFO - Created VN ctest-vn-20483129
2026-02-12 01:43:45,258 - DEBUG - VN ctest-vn-20483129 UUID is 45a725af-c03a-487e-befd-6b35f4351fa5
2026-02-12 01:43:45,592 - DEBUG - Response for create_network : {'network': {'id': '45e054b3-bf8b-4ee4-9193-48cd69710a36', 'name': 'ctest-vn-86343429', 'tenant_id': 'ca491afa4ea84409bfd43c8a12498dd2', 'project_id': 'ca491afa4ea84409bfd43c8a12498dd2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-26687079', 'ctest-vn-86343429'], 'port_security_enabled': True, 'description': ''}}
2026-02-12 01:43:45,747 - DEBUG - Response for create_subnet : {'subnet': {'id': '93c16b38-44a9-4d6a-b14a-e718faa7a5ac', 'name': '', 'tenant_id': 'ca491afa4ea84409bfd43c8a12498dd2', 'network_id': '45e054b3-bf8b-4ee4-9193-48cd69710a36', 'ip_version': 4, 'cidr': '109.156.170.0/26', 'allocation_pools': [{'start': '109.156.170.2', 'end': '109.156.170.62'}], 'gateway_ip': '109.156.170.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '109.156.170.2', 'tags': [], 'project_id': 'ca491afa4ea84409bfd43c8a12498dd2'}}
2026-02-12 01:43:45,763 - INFO - Created VN ctest-vn-86343429
2026-02-12 01:43:45,814 - DEBUG - VN ctest-vn-86343429 UUID is 45e054b3-bf8b-4ee4-9193-48cd69710a36
2026-02-12 01:43:45,958 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-26687079:ctest-vn-20483129, 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-26687079:ctest-vn-86343429, 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-12 01:43:46,243 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '45a725af-c03a-487e-befd-6b35f4351fa5', 'name': 'ctest-vn-20483129', 'tenant_id': 'ca491afa4ea84409bfd43c8a12498dd2', 'project_id': 'ca491afa4ea84409bfd43c8a12498dd2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7557cd5a-d2bc-4d89-8f7a-cabd5731bcbd'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-26687079', 'ctest-vn-20483129'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-26687079', 'ctest-policy-allow-all-80740859']], 'subnet_ipam': [{'subnet_cidr': '64.187.102.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-12 01:43:46,452 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '45e054b3-bf8b-4ee4-9193-48cd69710a36', 'name': 'ctest-vn-86343429', 'tenant_id': 'ca491afa4ea84409bfd43c8a12498dd2', 'project_id': 'ca491afa4ea84409bfd43c8a12498dd2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['93c16b38-44a9-4d6a-b14a-e718faa7a5ac'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-26687079', 'ctest-vn-86343429'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-26687079', 'ctest-policy-allow-all-80740859']], 'subnet_ipam': [{'subnet_cidr': '109.156.170.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-12 01:43:46,614 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-12 01:43:46,905 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-12 01:43:46,933 - DEBUG - Requesting: http://10.0.0.50:8082/domain/5c282c6e-0e4d-4d57-b7a8-ca1ccf95106c
2026-02-12 01:43:46,944 - DEBUG - Requesting: http://10.0.0.50:8082/project/ca491afa-4ea8-4409-bfd4-3c8a12498dd2
2026-02-12 01:43:47,011 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/45a725af-c03a-487e-befd-6b35f4351fa5
2026-02-12 01:43:47,021 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/45a725af-c03a-487e-befd-6b35f4351fa5
2026-02-12 01:43:47,030 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8240764d-7618-4857-8638-14077261a76d
2026-02-12 01:43:47,043 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8240764d-7618-4857-8638-14077261a76d
2026-02-12 01:43:47,058 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/1fed4f3a-7b8d-409b-a357-909dc2635118
2026-02-12 01:43:47,064 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-12 01:43:47,064 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/45a725af-c03a-487e-befd-6b35f4351fa5
2026-02-12 01:43:47,072 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8240764d-7618-4857-8638-14077261a76d
2026-02-12 01:43:47,083 - INFO - Verified VN network id 11 for VN 45a725af-c03a-487e-befd-6b35f4351fa5
2026-02-12 01:43:47,083 - INFO - Verifications in API Server for VN ctest-vn-20483129 passed
2026-02-12 01:43:47,083 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/45a725af-c03a-487e-befd-6b35f4351fa5
2026-02-12 01:43:47,090 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8240764d-7618-4857-8638-14077261a76d
2026-02-12 01:43:47,095 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8240764d-7618-4857-8638-14077261a76d
2026-02-12 01:43:47,100 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/1fed4f3a-7b8d-409b-a357-909dc2635118
2026-02-12 01:43:47,109 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-26687079:ctest-vn-20483129', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-26687079', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5019021746502256766', 'uuid-lslong': '13762273915788664741'}, 'enable': 'true', 'created': '2026-02-12T01:43:45', 'last-modified': '2026-02-12T01:43:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.891340'}
2026-02-12 01:43:47,115 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-12 01:43:47,115 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-20483129 passed
2026-02-12 01:43:47,116 - DEBUG - ====Verifying policy data for ctest-vn-20483129 in API_Server ======
2026-02-12 01:43:47,116 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-12 01:43:47,121 - DEBUG - Requesting: http://10.0.0.50:8082/domain/5c282c6e-0e4d-4d57-b7a8-ca1ccf95106c
2026-02-12 01:43:47,130 - DEBUG - Requesting: http://10.0.0.50:8082/project/ca491afa-4ea8-4409-bfd4-3c8a12498dd2
2026-02-12 01:43:47,195 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/45a725af-c03a-487e-befd-6b35f4351fa5
2026-02-12 01:43:47,202 - DEBUG - ==>Verifying data for policy with id: 82a3c1b2-17d4-478a-9cf2-26df1af5b595, fqn: ['default-domain', 'ctest-TestBasicPolicy-26687079', 'ctest-policy-allow-all-80740859']
2026-02-12 01:43:47,202 - INFO - VN ctest-vn-20483129 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-12 01:43:47,202 - DEBUG - Verifying the vn in opserver
2026-02-12 01:43:47,202 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-26687079:ctest-vn-20483129 virtual network link through opserver 10.0.0.50
2026-02-12 01:43:47,203 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-02-12 01:43:47,492 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-02-12 01:43:47,548 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-26687079:ctest-vn-20483129', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-26687079:ctest-vn-20483129?flat'}
2026-02-12 01:43:47,548 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-26687079:ctest-vn-20483129 is found in opserver
2026-02-12 01:43:47,556 - DEBUG - Do not have enough data to verify VN in agent
2026-02-12 01:43:47,560 - DEBUG - VRF ids for VN ctest-vn-20483129: {}
2026-02-12 01:43:47,560 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-12 01:43:47,565 - DEBUG - Requesting: http://10.0.0.50:8082/domain/5c282c6e-0e4d-4d57-b7a8-ca1ccf95106c
2026-02-12 01:43:47,575 - DEBUG - Requesting: http://10.0.0.50:8082/project/ca491afa-4ea8-4409-bfd4-3c8a12498dd2
2026-02-12 01:43:47,641 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/45e054b3-bf8b-4ee4-9193-48cd69710a36
2026-02-12 01:43:47,651 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/45e054b3-bf8b-4ee4-9193-48cd69710a36
2026-02-12 01:43:47,660 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9335c2ef-c415-45fa-8646-e02d7ef2c442
2026-02-12 01:43:47,666 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9335c2ef-c415-45fa-8646-e02d7ef2c442
2026-02-12 01:43:47,672 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/bee9df40-e834-44d0-98f7-f2627801418f
2026-02-12 01:43:47,678 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-12 01:43:47,678 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/45e054b3-bf8b-4ee4-9193-48cd69710a36
2026-02-12 01:43:47,685 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9335c2ef-c415-45fa-8646-e02d7ef2c442
2026-02-12 01:43:47,696 - INFO - Verified VN network id 12 for VN 45e054b3-bf8b-4ee4-9193-48cd69710a36
2026-02-12 01:43:47,696 - INFO - Verifications in API Server for VN ctest-vn-86343429 passed
2026-02-12 01:43:47,696 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/45e054b3-bf8b-4ee4-9193-48cd69710a36
2026-02-12 01:43:47,706 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9335c2ef-c415-45fa-8646-e02d7ef2c442
2026-02-12 01:43:47,716 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9335c2ef-c415-45fa-8646-e02d7ef2c442
2026-02-12 01:43:47,724 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/bee9df40-e834-44d0-98f7-f2627801418f
2026-02-12 01:43:47,735 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-26687079:ctest-vn-86343429', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-26687079', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5035117514389671652', 'uuid-lslong': '10489808004150528566'}, 'enable': 'true', 'created': '2026-02-12T01:43:45', 'last-modified': '2026-02-12T01:43:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.299471'}
2026-02-12 01:43:47,740 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-12 01:43:47,740 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-86343429 passed
2026-02-12 01:43:47,740 - DEBUG - ====Verifying policy data for ctest-vn-86343429 in API_Server ======
2026-02-12 01:43:47,740 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-12 01:43:47,745 - DEBUG - Requesting: http://10.0.0.50:8082/domain/5c282c6e-0e4d-4d57-b7a8-ca1ccf95106c
2026-02-12 01:43:47,755 - DEBUG - Requesting: http://10.0.0.50:8082/project/ca491afa-4ea8-4409-bfd4-3c8a12498dd2
2026-02-12 01:43:47,824 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/45e054b3-bf8b-4ee4-9193-48cd69710a36
2026-02-12 01:43:47,831 - DEBUG - ==>Verifying data for policy with id: 82a3c1b2-17d4-478a-9cf2-26df1af5b595, fqn: ['default-domain', 'ctest-TestBasicPolicy-26687079', 'ctest-policy-allow-all-80740859']
2026-02-12 01:43:47,831 - INFO - VN ctest-vn-86343429 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-12 01:43:47,831 - DEBUG - Verifying the vn in opserver
2026-02-12 01:43:47,831 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-26687079:ctest-vn-86343429 virtual network link through opserver 10.0.0.50
2026-02-12 01:43:47,831 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-02-12 01:43:47,839 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-26687079:ctest-vn-86343429', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-26687079:ctest-vn-86343429?flat'}
2026-02-12 01:43:47,839 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-26687079:ctest-vn-86343429 is found in opserver
2026-02-12 01:43:47,848 - DEBUG - Do not have enough data to verify VN in agent
2026-02-12 01:43:47,851 - DEBUG - VRF ids for VN ctest-vn-86343429: {}
2026-02-12 01:43:47,902 - DEBUG - Services list from nova: [