2026-02-16 14:18:37,051 - INFO - Domain Default found not creating
2026-02-16 14:18:37,233 - INFO - Project ctest-TestBasicPolicy-23018108 not found, creating it
2026-02-16 14:18:37,702 - INFO - Created Project:ctest-TestBasicPolicy-23018108, ID : 405ca84b-3f9c-470e-8db0-581c9a1b763b
2026-02-16 14:18:39,133 - INFO - ================================================================================
2026-02-16 14:18:39,133 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-16 14:18:39,133 - 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-16 14:18:39,391 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.254': '0'}} with
2026-02-16 14:18:39,391 - INFO - Initial checks done. Running the testcase now
2026-02-16 14:18:39,391 - INFO -
2026-02-16 14:18:39,920 - DEBUG - Response for create_network : {'network': {'id': '893d6f3f-c4e9-4341-b96a-00b32dbf2fcf', 'name': 'ctest-vn-36012256', 'tenant_id': '405ca84b3f9c470e8db0581c9a1b763b', 'project_id': '405ca84b3f9c470e8db0581c9a1b763b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23018108', 'ctest-vn-36012256'], 'port_security_enabled': True, 'description': ''}}
2026-02-16 14:18:40,086 - DEBUG - Response for create_subnet : {'subnet': {'id': '2efdf789-bef8-4a84-b46d-87e1f0ded4ad', 'name': '', 'tenant_id': '405ca84b3f9c470e8db0581c9a1b763b', 'network_id': '893d6f3f-c4e9-4341-b96a-00b32dbf2fcf', 'ip_version': 4, 'cidr': '91.18.33.192/26', 'allocation_pools': [{'start': '91.18.33.194', 'end': '91.18.33.254'}], 'gateway_ip': '91.18.33.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '91.18.33.194', 'tags': [], 'project_id': '405ca84b3f9c470e8db0581c9a1b763b'}}
2026-02-16 14:18:40,102 - INFO - Created VN ctest-vn-36012256
2026-02-16 14:18:40,154 - DEBUG - VN ctest-vn-36012256 UUID is 893d6f3f-c4e9-4341-b96a-00b32dbf2fcf
2026-02-16 14:18:40,453 - DEBUG - Response for create_network : {'network': {'id': '5db5656e-f633-4dbc-ace6-6a88768ce648', 'name': 'ctest-vn-18362496', 'tenant_id': '405ca84b3f9c470e8db0581c9a1b763b', 'project_id': '405ca84b3f9c470e8db0581c9a1b763b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23018108', 'ctest-vn-18362496'], 'port_security_enabled': True, 'description': ''}}
2026-02-16 14:18:40,627 - DEBUG - Response for create_subnet : {'subnet': {'id': '38330618-2741-4ad2-a501-5b0d58ae4980', 'name': '', 'tenant_id': '405ca84b3f9c470e8db0581c9a1b763b', 'network_id': '5db5656e-f633-4dbc-ace6-6a88768ce648', 'ip_version': 4, 'cidr': '139.0.156.192/26', 'allocation_pools': [{'start': '139.0.156.194', 'end': '139.0.156.254'}], 'gateway_ip': '139.0.156.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '139.0.156.194', 'tags': [], 'project_id': '405ca84b3f9c470e8db0581c9a1b763b'}}
2026-02-16 14:18:40,645 - INFO - Created VN ctest-vn-18362496
2026-02-16 14:18:40,694 - DEBUG - VN ctest-vn-18362496 UUID is 5db5656e-f633-4dbc-ace6-6a88768ce648
2026-02-16 14:18:40,838 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-23018108:ctest-vn-36012256, 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-23018108:ctest-vn-18362496, 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-16 14:18:41,113 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '893d6f3f-c4e9-4341-b96a-00b32dbf2fcf', 'name': 'ctest-vn-36012256', 'tenant_id': '405ca84b3f9c470e8db0581c9a1b763b', 'project_id': '405ca84b3f9c470e8db0581c9a1b763b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2efdf789-bef8-4a84-b46d-87e1f0ded4ad'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23018108', 'ctest-vn-36012256'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-23018108', 'ctest-policy-allow-all-87213080']], 'subnet_ipam': [{'subnet_cidr': '91.18.33.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-16 14:18:41,376 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5db5656e-f633-4dbc-ace6-6a88768ce648', 'name': 'ctest-vn-18362496', 'tenant_id': '405ca84b3f9c470e8db0581c9a1b763b', 'project_id': '405ca84b3f9c470e8db0581c9a1b763b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['38330618-2741-4ad2-a501-5b0d58ae4980'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23018108', 'ctest-vn-18362496'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-23018108', 'ctest-policy-allow-all-87213080']], 'subnet_ipam': [{'subnet_cidr': '139.0.156.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-16 14:18:41,534 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2026-02-16 14:18:41,877 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2026-02-16 14:18:41,905 - DEBUG - Requesting: http://10.0.0.242:8082/domain/dc25377f-0901-4fe2-b308-e1ee4e491d20
2026-02-16 14:18:41,916 - DEBUG - Requesting: http://10.0.0.242:8082/project/405ca84b-3f9c-470e-8db0-581c9a1b763b
2026-02-16 14:18:41,987 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/893d6f3f-c4e9-4341-b96a-00b32dbf2fcf
2026-02-16 14:18:41,999 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/893d6f3f-c4e9-4341-b96a-00b32dbf2fcf
2026-02-16 14:18:42,008 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/a81e671d-6099-40b2-9ad8-ab86b4d83ed2
2026-02-16 14:18:42,014 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/a81e671d-6099-40b2-9ad8-ab86b4d83ed2
2026-02-16 14:18:42,021 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/3b850b16-c2f0-4cd1-927e-dbe341bdc98d
2026-02-16 14:18:42,026 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-16 14:18:42,026 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/893d6f3f-c4e9-4341-b96a-00b32dbf2fcf
2026-02-16 14:18:42,034 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/a81e671d-6099-40b2-9ad8-ab86b4d83ed2
2026-02-16 14:18:42,048 - INFO - Verified VN network id 11 for VN 893d6f3f-c4e9-4341-b96a-00b32dbf2fcf
2026-02-16 14:18:42,048 - INFO - Verifications in API Server for VN ctest-vn-36012256 passed
2026-02-16 14:18:42,048 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/893d6f3f-c4e9-4341-b96a-00b32dbf2fcf
2026-02-16 14:18:42,056 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/a81e671d-6099-40b2-9ad8-ab86b4d83ed2
2026-02-16 14:18:42,063 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/a81e671d-6099-40b2-9ad8-ab86b4d83ed2
2026-02-16 14:18:42,069 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/3b850b16-c2f0-4cd1-927e-dbe341bdc98d
2026-02-16 14:18:42,080 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-23018108:ctest-vn-36012256', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-23018108', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9889182676452721473', 'uuid-lslong': '13360492014114648015'}, 'enable': 'true', 'created': '2026-02-16T14:18:39', 'last-modified': '2026-02-16T14:18:41', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.983160'}
2026-02-16 14:18:42,089 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-16 14:18:42,089 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-36012256 passed
2026-02-16 14:18:42,089 - DEBUG - ====Verifying policy data for ctest-vn-36012256 in API_Server ======
2026-02-16 14:18:42,089 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2026-02-16 14:18:42,095 - DEBUG - Requesting: http://10.0.0.242:8082/domain/dc25377f-0901-4fe2-b308-e1ee4e491d20
2026-02-16 14:18:42,107 - DEBUG - Requesting: http://10.0.0.242:8082/project/405ca84b-3f9c-470e-8db0-581c9a1b763b
2026-02-16 14:18:42,179 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/893d6f3f-c4e9-4341-b96a-00b32dbf2fcf
2026-02-16 14:18:42,189 - DEBUG - ==>Verifying data for policy with id: 568b06ca-7dc2-4aab-9cdf-eb302cf83d4b, fqn: ['default-domain', 'ctest-TestBasicPolicy-23018108', 'ctest-policy-allow-all-87213080']
2026-02-16 14:18:42,189 - INFO - VN ctest-vn-36012256 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-16 14:18:42,189 - DEBUG - Verifying the vn in opserver
2026-02-16 14:18:42,189 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-23018108:ctest-vn-36012256 virtual network link through opserver 10.0.0.242
2026-02-16 14:18:42,189 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks
2026-02-16 14:18:42,479 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks
2026-02-16 14:18:42,533 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-23018108:ctest-vn-36012256', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-23018108:ctest-vn-36012256?flat'}
2026-02-16 14:18:42,533 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-23018108:ctest-vn-36012256 is found in opserver
2026-02-16 14:18:42,541 - DEBUG - Do not have enough data to verify VN in agent
2026-02-16 14:18:42,545 - DEBUG - VRF ids for VN ctest-vn-36012256: {}
2026-02-16 14:18:42,545 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2026-02-16 14:18:42,549 - DEBUG - Requesting: http://10.0.0.242:8082/domain/dc25377f-0901-4fe2-b308-e1ee4e491d20
2026-02-16 14:18:42,559 - DEBUG - Requesting: http://10.0.0.242:8082/project/405ca84b-3f9c-470e-8db0-581c9a1b763b
2026-02-16 14:18:42,626 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/5db5656e-f633-4dbc-ace6-6a88768ce648
2026-02-16 14:18:42,637 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/5db5656e-f633-4dbc-ace6-6a88768ce648
2026-02-16 14:18:42,645 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/16b4939e-a7d3-47be-844d-0125152fc6c8
2026-02-16 14:18:42,651 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/16b4939e-a7d3-47be-844d-0125152fc6c8
2026-02-16 14:18:42,657 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/d0eaac41-47d5-4838-9ced-02b386c7d015
2026-02-16 14:18:42,663 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-16 14:18:42,663 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/5db5656e-f633-4dbc-ace6-6a88768ce648
2026-02-16 14:18:42,670 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/16b4939e-a7d3-47be-844d-0125152fc6c8
2026-02-16 14:18:42,682 - INFO - Verified VN network id 12 for VN 5db5656e-f633-4dbc-ace6-6a88768ce648
2026-02-16 14:18:42,682 - INFO - Verifications in API Server for VN ctest-vn-18362496 passed
2026-02-16 14:18:42,683 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/5db5656e-f633-4dbc-ace6-6a88768ce648
2026-02-16 14:18:42,691 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/16b4939e-a7d3-47be-844d-0125152fc6c8
2026-02-16 14:18:42,696 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/16b4939e-a7d3-47be-844d-0125152fc6c8
2026-02-16 14:18:42,702 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/d0eaac41-47d5-4838-9ced-02b386c7d015
2026-02-16 14:18:42,712 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-23018108:ctest-vn-18362496', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-23018108', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6752414743563292092', 'uuid-lslong': '12458762553504097864'}, 'enable': 'true', 'created': '2026-02-16T14:18:40', 'last-modified': '2026-02-16T14:18:41', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.399044'}
2026-02-16 14:18:42,717 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-16 14:18:42,717 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-18362496 passed
2026-02-16 14:18:42,717 - DEBUG - ====Verifying policy data for ctest-vn-18362496 in API_Server ======
2026-02-16 14:18:42,717 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2026-02-16 14:18:42,724 - DEBUG - Requesting: http://10.0.0.242:8082/domain/dc25377f-0901-4fe2-b308-e1ee4e491d20
2026-02-16 14:18:42,733 - DEBUG - Requesting: http://10.0.0.242:8082/project/405ca84b-3f9c-470e-8db0-581c9a1b763b
2026-02-16 14:18:42,798 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/5db5656e-f633-4dbc-ace6-6a88768ce648
2026-02-16 14:18:42,807 - DEBUG - ==>Verifying data for policy with id: 568b06ca-7dc2-4aab-9cdf-eb302cf83d4b, fqn: ['default-domain', 'ctest-TestBasicPolicy-23018108', 'ctest-policy-allow-all-87213080']
2026-02-16 14:18:42,807 - INFO - VN ctest-vn-18362496 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-16 14:18:42,807 - DEBUG - Verifying the vn in opserver
2026-02-16 14:18:42,807 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-23018108:ctest-vn-18362496 virtual network link through opserver 10.0.0.242
2026-02-16 14:18:42,807 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks
2026-02-16 14:18:42,816 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-23018108:ctest-vn-18362496', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-23018108:ctest-vn-18362496?flat'}
2026-02-16 14:18:42,816 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-23018108:ctest-vn-18362496 is found in opserver
2026-02-16 14:18:42,824 - DEBUG - Do not have enough data to verify VN in agent
2026-02-16 14:18:42,829 - DEBUG - VRF ids for VN ctest-vn-18362496: {}
2026-02-16 14:18:42,882 - DEBUG - Services list from nova: [